]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix MIPS _ABIO64 -Werror=undef build.
[thirdparty/glibc.git] / ChangeLog
1 2015-02-16 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4
5 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6 [defined _COMPILING_NEWLIB].
7 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
9
10 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11 [!defined __mips_isa_rev || __mips_isa_rev < 6].
12
13 2015-02-16 Torvald Riegel <triegel@redhat.com>
14
15 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16 acquired.
17
18 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
19
20 [BZ #17792]
21 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23 HOST_STACK_END_ADDR): Likewise.
24
25 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
26
27 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30
31 2015-02-13 Roland McGrath <roland@hack.frob.com>
32
33 * sysdeps/generic/c++-types.data: New file.
34 * sysdeps/generic/ld.abilist: New file.
35 * sysdeps/generic/libBrokenLocale.abilist: New file.
36 * sysdeps/generic/libanl.abilist: New file.
37 * sysdeps/generic/libc.abilist: New file.
38 * sysdeps/generic/libcrypt.abilist: New file.
39 * sysdeps/generic/libdl.abilist: New file.
40 * sysdeps/generic/libm.abilist: New file.
41 * sysdeps/generic/libpthread.abilist: New file.
42 * sysdeps/generic/libresolv.abilist: New file.
43 * sysdeps/generic/librt.abilist: New file.
44
45 2015-02-13 Joseph Myers <joseph@codesourcery.com>
46
47 [BZ #17569]
48 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
49 Compute absolute value of x as modified by fmod, not original
50 value of x.
51 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
52 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
53 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
54 RUN_TEST_ffI_f1_mod8.
55 (remquo_test_data): Add more tests.
56
57 2015-02-13 Roland McGrath <roland@hack.frob.com>
58
59 * sysdeps/init_array/pt-crti.S: New file.
60
61 2015-02-13 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #17967]
64 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
65 __builtin_fmaf instead of relying on contraction of a * b + c.
66
67 2015-02-12 J William Piggott <elseifthen@gmx.com>
68
69 [BZ #17969]
70 * manual/time.texi: correct the zoneinfo path in the TZ Variable
71 node.
72
73 2015-02-12 Joseph Myers <joseph@codesourcery.com>
74
75 [BZ #17964]
76 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
77 __builtin_fma instead of relying on contraction of a * b + c.
78
79 2015-02-12 Roland McGrath <roland@hack.frob.com>
80
81 * Makeconfig (ASFLAGS): Add -Werror=undef.
82 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
83 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
84 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
85
86 * Makeconfig (after-link): New variable.
87 (+link-pie, +link-pie-tests): Use it.
88 (+link-static, +link-static-tests): Likewise.
89 (+link, +link-tests): Likewise.
90 * Makerules (build-module, build-module-asneeded): Likewise.
91 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
92 Likewise.
93 * elf/Makefile ($(objpfx)ld.so): Likewise.
94
95 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
96
97 [BZ #17965]
98 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
99 both struct timeval and struct timespec.
100
101 2015-02-12 Joseph Myers <joseph@codesourcery.com>
102
103 [BZ #16560]
104 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
105 and redefine.
106 (__ieee754_exp2l): Do not multiply small fractional parts by
107 M_LN2l.
108 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
109 small argument.
110 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
111 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
112 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
113 * math/auto-libm-test-in: Add more tests of exp2.
114 * math/auto-libm-test-out: Regenerated.
115
116 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
117
118 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
119 unaligned path.
120
121 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
124 little endian.
125
126 2015-02-12 Andreas Schwab <schwab@suse.de>
127
128 [BZ #15790]
129 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
130 Filter out elision flags from value returned in kind.
131 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
132 * nptl/tst-pthread-mutexattr.c: New file.
133
134 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
135
136 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
137 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
138 into gnu-gnu, and update comment to refer to abi-tags.
139
140 2015-02-11 Joseph Myers <joseph@codesourcery.com>
141
142 [BZ #15467]
143 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
144 (__sincos): Set errno to EDOM for infinite argument.
145 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
146 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
148 (__sincosl): Set errno to EDOM for infinite argument.
149 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
150 (__sincosl): Set errno to EDOM for infinite argument.
151 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
152 (__sincosl): Set errno to EDOM for infinite argument.
153 * math/libm-test.inc (sincos_test_data): Test errno setting.
154
155 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
156
157 * string/strxfrm_l.c: Remove #define STRCMP.
158 * string/strcoll_l.c: Remove #define STRLEN.
159 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
160 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
161
162 2015-02-10 Joseph Myers <joseph@codesourcery.com>
163
164 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
165 * sysdeps/mips/mips32/sfp-machine.h: ... here.
166 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
167 * sysdeps/mips/mips64/Makefile: ... here.
168 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
169 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
170 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
171 * sysdeps/mips/mips64/sfp-machine.h: ... here.
172 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
173 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
174 * sysdeps/mips/mips64/n64/Implies: Likewise.
175
176 2015-02-10 Roland McGrath <roland@hack.frob.com>
177
178 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
179 <sys/time.h>, <string.h>, and <errno.h>.
180 (dest_offset, dest_address, value, zero): Remove unused variables.
181 (ldouble): Remove typedef.
182 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
183 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
184 1). Fix code style.
185 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
186 (check): Function removed.
187 (CHECK): New macro.
188 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
189 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
190 Don't call set_sigaction_FP and remove_sigaction_FP here.
191 (ldouble_test): Just use 'long double' as macro argument, no need for
192 the 'ldouble' typedef.
193 (do_test): Set up SIGFPE handler at start, using plain signal rather
194 than sigaction. Fix code style.
195
196 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
197
198 [BZ #17949]
199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
200 jump label.
201
202 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
203
204 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
205 * sysdeps/powerpc/powerpc32/configure: Regenerated.
206
207 * sysdeps/powerpc/configure.ac: Remove file.
208 * sysdeps/powerpc/configure: Likewise.
209
210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
211 [sysdep_routines]: Remove wordcopy-power6 object.
212 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
213 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
215 (__memmove_ppc32): Likewise.
216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
217 file.
218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
220 Remove preprocessor.
221
222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
223 [sysdep_routines]: Remove wide chars objects.
224 [wcsmbs]: New rule for wide char objects.
225
226 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
227 Remove wordcopy-power6 obejct.
228 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
229 Use local call for wordcopy and memcpy symbols.
230 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
232 implementation for loader.
233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
234
235 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
236 Remove wordcopy-power7 object.
237 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
238 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
239 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
240 (_wordcopy_fwd_dest_aligned): Likewise.
241 (_wordcopy_bwd_aligned): Likewise.
242 (_wordcopy_bwd_dest_aligned): Likewise.
243
244 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
245 Rewrite to call __memmove_ppc instead of include default
246 implementation.
247
248 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
249 Remove wide chars objects.
250 [wcsmbs]: New rule for wide char objects.
251
252 2015-02-09 Andreas Schwab <schwab@suse.de>
253
254 [BZ #17912]
255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
256 in terms of __O_DIRECTORY.
257
258 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
259
260 * time/getdate.c: Include <stdbool.h>.
261 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
262 call PTR_MANGLE.
263 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
264 PTR_DEMANGLE.
265
266 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
267
268 Add ersatz _Static_assert on older C hosts
269 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
270 pre-C11 C platform that is not known to support _Static_assert.
271
272 2015-02-07 Richard Braun <rbraun@sceen.net>
273
274 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
275 sigstate.
276 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
277
278 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
279
280 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
281 priority against unexistent AIO_PRIO_DELTA_MAX.
282 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
283 instead of int.
284 * misc/fchflags.c (fchflags): Likewise.
285 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
286 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
287 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
288 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
289 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
290 Declare macros.
291 [__USE_MISC] (chflags, fchflags): Declare functions.
292 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
293 EINVAL when nfds is greater than FD_SETSIZE.
294 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
295 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
296 45.
297 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
298 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
299 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
300 MACH_RCV_TIMED_OUT.
301 * hurd/hurd/signal.h (_hurd_self_sigstate,
302 _hurd_critical_section_lock, _hurd_critical_section_unlock):
303 Explicit casts from void *.
304 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
305 * abi-tags: Rename gnu-gnu os into gnu.
306
307 [BZ #4719]
308 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
309 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
310 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
311 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
312 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
313 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
314
315 [BZ #17944]
316 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
317 duplicates ADDR->sun_path with sockaddr LEN limitation.
318 * sysdeps/mach/hurd/connect.c: Include <string.h>
319 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
320 * sysdeps/mach/hurd/sendmsg.c: Likewise.
321 * sysdeps/mach/hurd/sendto.c: Likewise.
322 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
323 implementing it by hand.
324
325 2015-02-06 Roland McGrath <roland@hack.frob.com>
326
327 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
328 Use sfi_breg on ldr.
329 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
330 Likewise.
331
332 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
333 it's defined.
334 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
335 Test SIGSETXID only if it's defined.
336
337 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
338
339 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
340 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
341
342 * nptl/tst-align2.c: Moved ...
343 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
344 * nptl/Makefile (tests): Remove tst-align2.
345 * sysdeps/unix/sysv/linux/Makefile
346 [$(subdir) = nptl] (tests): Add tst-align-clone.
347 * nptl/tst-getpid1.c: Moved ...
348 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
349 * nptl/tst-getpid2.c: Moved ...
350 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
351 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
352 * sysdeps/unix/sysv/linux/Makefile
353 [$(subdir) = nptl] (tests): ... here.
354 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
355 * sysdeps/unix/sysv/linux/Makefile
356 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
357
358 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
359 Drop trailing \n from perror argument. Use return rather than exit.
360
361 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
362 on [SA_SIGINFO].
363 * nptl/tst-cancel21.c (do_test): Likewise.
364 * debug/tst-backtrace6.c: Include <signal.h> first thing.
365 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
366 [!SA_SIGINFO]: Make it a stub test.
367
368 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
369 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
370
371 * posix/tst-getlogin.c: Move to ...
372 * login/tst-getlogin.c: ... here.
373 * posix/Makefile (tests): Move tst-getlogin to ...
374 * login/Makefile (tests): ... here.
375
376 * libio/tst-atime.c (do_test): Move local variables SV and E
377 inside [ST_NOATIME] conditional.
378
379 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
380
381 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
382
383 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
384 (wait_code): New function replaces macro.
385 Call nanosleep rather than syscall.
386
387 * nptl/pt-system.c: Rewritten. Put everything under
388 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
389 Use IFUNC to redirect when possible.
390
391 * nptl/pt-longjmp.c: Rewritten. Put everything under
392 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
393 Use IFUNC to redirect when possible.
394
395 * nptl/pt-fork.c: Rewritten. Put everything under
396 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
397 Use IFUNC to redirect when possible.
398 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
399
400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
401 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
402 unconditionally nowadays. This included the only reference to
403 __vdso_clock_gettime that appears outside libc proper.
404 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
405 Remove version set (containing only __vdso_clock_gettime).
406 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
407 Add attribute_hidden.
408 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
409 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
410 libc_hidden_data_def.
411 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
413
414 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
415 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
416 setrpcent, and getrpcport to ...
417 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
418 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
419 getrpcbynumber_r, and getrpcent_r to ...
420 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
421 * inet/getrpcbyname.c: Moved ...
422 * sunrpc/getrpcbyname.c: ... here.
423 * inet/getrpcbyname_r.c: Moved ...
424 * sunrpc/getrpcbyname_r.c: ... here.
425 * inet/getrpcbynumber.c: Moved ...
426 * sunrpc/getrpcbynumber.c: ... here.
427 * inet/getrpcbynumber_r.c: Moved ...
428 * sunrpc/getrpcbynumber_r.c: ... here.
429 * inet/getrpcent.c: Moved ...
430 * sunrpc/getrpcent.c: ... here.
431 * inet/getrpcent_r.c: Moved ...
432 * sunrpc/getrpcent_r.c: ... here.
433 * inet/Makefile (routines): Move those to ...
434 * sunrpc/Makefile (routines): ... here.
435 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
436 the $(subdirs) list.
437 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
438 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
439 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
440 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
441
442 * elf/Makefile (routines): Include $(all-dl-routines), not just
443 $(dl-routines).
444 (rtld-routines): Likewise. Use = rather than :=.
445 * sysdeps/aarch64/Makefile [$(subdir) = elf]
446 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
447 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
448 * sysdeps/arm/Makefile: Likewise.
449 * sysdeps/i386/Makefile: Likewise.
450 * sysdeps/x86_64/Makefile: Likewise.
451 * sysdeps/hppa/Makefile [$(subdir) = elf]
452 (sysdep_routines, sysdep-rtld-routines): Don't add
453 $(sysdep-dl-routines) to these.
454 * sysdeps/ia64/Makefile: Likewise.
455 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
456 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
457 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
458 Don't add dl-static to these; sysdep-dl-routines alone is enough.
459 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
460 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
462 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
463 * sysdeps/powerpc/Makefile [$(subdir) = elf]
464 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
465 these; sysdep-dl-routines alone is enough.
466
467 2015-02-06 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #17932]
470 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
471 where multiplication results in zero and third argument is finite
472 and nonzero.
473 * math/auto-libm-test-in: Add more tests of fma.
474 * math/auto-libm-test-out: Regenerated.
475
476 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
477 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
478 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
479 (_FP_CMP_EQ): Likewise.
480 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
481
482 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
483 extra argument CHECK_NAN. Redefine as wrapper around
484 _FP_EXTEND_CNAN.
485
486 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
487
488 * version.h (RELEASE): Set to "stable".
489 (VERSION): Set to "2.21"
490 * include/features.h (__GLIBC_MINOR__): Set to 21.
491
492 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
493
494 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
495 Paul Eggert <eggert@cs.ucla.edu>
496
497 [BZ #16618]
498 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
499 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
500 size in bytes. Store needed elements in wpmax. Use needed size
501 in bytes for extend_alloca.
502
503 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
504
505 * manual/install.texi: Latest tested versions are GCC 4.9.2,
506 binutls 2.25, and texinfo 5.2.
507 * INSTALL: Regenerate.
508 * sysdeps/nios2/configure: Regenerate.
509 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
510 * manual/contrib.texi: Update.
511 * po/be.po: Update.
512 * po/bg.po: Update.
513 * po/ca.po: Update.
514 * po/cs.po: Update.
515 * po/da.po: Update.
516 * po/de.po: Update.
517 * po/el.po: Update.
518 * po/eo.po: Update.
519 * po/es.po: Update.
520 * po/fi.po: Update.
521 * po/fr.po: Update.
522 * po/gl.po: Update.
523 * po/hr.po: Update.
524 * po/hu.po: Update.
525 * po/ia.po: Update.
526 * po/id.po: Update.
527 * po/it.po: Update.
528 * po/ja.po: Update.
529 * po/ko.po: Update.
530 * po/lt.po: Update.
531 * po/nb.po: Update.
532 * po/nl.po: Update.
533 * po/pl.po: Update.
534 * po/pt_BR.po: Update.
535 * po/ru.po: Update.
536 * po/rw.po: Update.
537 * po/sk.po: Update.
538 * po/sl.po: Update.
539 * po/sv.po: Update.
540 * po/tr.po: Update.
541 * po/uk.po: Update.
542 * po/vi.po: Update.
543 * po/zh_CN.po: Update.
544 * po/zh_TW.po: Update.
545
546 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
547 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
548 * sysdeps/hppa/dl-irel.h: Remove #warning.
549 * sysdeps/hppa/entry.h: Provide prototype for
550 __canonicalize_funcptr_for_compare and cast argument.
551 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
552 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
553 * sysdeps/hppa/sotruss-lib.c: New file.
554 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
555 (atomic_compare_and_exchange_val_acq): Use __typeof__.
556 (atomic_compare_and_exchange_bool_acq): Likewise.
557 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
558 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
559
560 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
561 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
562 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
563
564 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
565
566 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
567 called function in non-PIC case.
568
569 2015-01-31 David S. Miller <davem@davemloft.net>
570
571 * sysdeps/sparc/sparc32/bits/atomic.h
572 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
573 unlock not after it.
574 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
575 volatile register usage warnings from the compiler.
576
577 * sysdeps/sparc/nptl/sem_init.c: Delete.
578 * sysdeps/sparc/nptl/sem_post.c: Delete.
579 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
580 * sysdeps/sparc/nptl/sem_wait.c: Delete.
581 * sysdeps/sparc/sparc32/sem_init.c: New file.
582 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
583 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
584 padding explicitly initialized.
585 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
586 padding for in-semaphore spinlock.
587 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
588 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
589 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
590 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
591 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
592 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
593 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
594 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
595 version.
596 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
597 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
598
599 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
600
601 [BZ #17801]
602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
603 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
604 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
605 New.
606 (index_AVX_Fast_Unaligned_Load): Likewise.
607 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
608 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
609 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
610 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
611 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
612 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
613 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
614 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
615 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
616
617 2015-01-29 Andreas Schwab <schwab@suse.de>
618
619 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
620
621 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
622
623 [BZ #17892]
624 * nscd/nscd_stat.c (send_stats): Initialize DATA.
625
626 2015-01-28 Martin Sebor <msebor@redhat.com>
627
628 * math/README.libm-test: Clarify. Add "How to read the test output."
629
630 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
631
632 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
633 Define to 0.
634
635 2015-01-28 Joseph Myers <joseph@codesourcery.com>
636
637 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
638 (__HAVE_64B_ATOMICS): Define to 0.
639
640 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
641
642 [BZ #17885]
643 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
644 value to set as new flag.
645
646 [BZ #16576]
647 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
648 and use _ARCH_PPCSQ instead.
649 (__ieee754_sqrt): Likewise.
650 (__ieee754_sqrtf): Likewise.
651 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
652 _ARCH_PPCSQ is defined.
653 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
654 fsqrt instruction.
655 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
656 _ARCH_PPCSQ is defined.
657 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
658 fsqrts instruction.
659 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
660
661 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
662
663 * iconv/loop.c: Suppress array out of bound warning caused by GCC
664 bug (GCC BZ #64739).
665
666 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
667
668 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
669 Mark _retval as used.
670 (lll_futex_wake_unlock): Likewise.
671 (lll_futex_timed_wait_requeue_pi): Likewise.
672
673 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
674 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
675 register variables.
676
677 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
678 libm_hidden_def.
679
680 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
681 (__bswap_64): Mark as __always_inline.
682
683 2015-01-25 Bram <bug_rh@spam.wizbit.be>
684
685 [BZ #15378]
686 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
687 when none of the search directories exist.
688
689 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
690
691 [BZ #17869]
692 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
693 power8 in .machine directive.
694
695 [BZ #17868]
696 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
697 set dependency from opd value.
698
699 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
700
701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
702 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
703 architecture.
704
705 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
706
707 [BZ #17870]
708 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
709 with uint64_t.
710 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
711 (uint64_t) 1.
712 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
713 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
714 Replace 1UL with (uint64_t) 1.
715 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
716 int with uint64_t.
717
718 2015-01-23 Roland McGrath <roland@hack.frob.com>
719
720 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
721 (if_freenameindex): Likewise.
722
723 * resource/getrlimit64.c: Add missing libc_hidden_def.
724
725 2015-01-22 Joseph Myers <joseph@codesourcery.com>
726
727 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
728 __label__.
729 (_FP_FMA): Likewise.
730 (_FP_TO_INT_ROUND): Likewise.
731 (_FP_FROM_INT): Likewise.
732
733 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734
735 [BZ #16418]
736 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
737 Make code racy and cancel safe.
738
739 2015-01-21 Carlos O'Donell <carlos@redhat.com>
740
741 * sysdeps/arm/unwind-resume.h: Fix copyright year.
742 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
743 attribution.
744
745 * pwd/tst-getpw.c: Rewrite.
746
747 [BZ #17702]
748 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
749 (modules-names): Add moddummy1 and moddummy2.
750 ($(objpfx)tst-rec-dlopen): Define.
751 * dlfcn/moddummy1.c: New file.
752 * dlfcn/moddummy2.c: New file.
753 * dlfcn/tst-rec-dlopen.c: New file.
754 * elf/dl-cache.c (_dl_load_cache_lookup):
755 Return char*. Copy result with alloca/strcpy/strdup.
756 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
757 returns char*. Free cached. If not saving realname
758 free cached.
759 * elf/dl-open.c (dl_open_worker): Do not assert that
760 _r_debug->r_state is RT_CONSISTENT.
761 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
762 returns char*.
763
764 2015-01-21 Torvald Riegel <triegel@redhat.com>
765 Carlos O'Donell <carlos@redhat.com>
766
767 [BZ #12674]
768 * nptl/sem_waitcommon.c: New file.
769 * nptl/sem_wait.c: Include sem_waitcommon.c.
770 (__sem_wait_cleanup, do_futex_wait): Remove.
771 (__new_sem_wait): Adapt.
772 (__new_sem_trywait): New function.
773 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
774 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
775 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
776 (sem_timedwait): Adapt.
777 * nptl/sem_post.c (__new_sem_post): Adapt.
778 (futex_wake): New function.
779 (__old_sem_post): Add release MO fence.
780 * nptl/sem_open.c (sem_open): Adapt.
781 * nptl/sem_init.c (__new_sem_init): Adapt.
782 (futex_private_if_supported): New function.
783 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
784 (__old_sem_getvalue): Add using previous code.
785 * sysdeps/nptl/internaltypes.h: Adapt.
786 * nptl/tst-sem13.c (do_test): Adapt.
787 * nptl/tst-sem11.c (main): Adapt.
788 * nptl/sem_trywait.c: Remove.
789 * nptl/DESIGN-sem.txt: Remove.
790 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
791 (gen-as-const-headers): Remove structsem.sym.
792 * nptl/structsem.sym: Remove.
793 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
794 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
795 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
796 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
797 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
798 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
799 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
800 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
801 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
802 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
803 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
804 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
805 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
806 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
807 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
808 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
809 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
810 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
811 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
812 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
813 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
814 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
815
816 2015-01-20 Carlos O'Donell <carlos@redhat.com>
817
818 * INSTALL: Regenerated.
819
820 * po/libc.pot: Regenerated.
821
822 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
823 Sandra Loosemore <sandra@codesourcery.com>
824 Andrew Jenner <andrew@codesourcery.com>
825 Joseph Myers <joseph@codesourcery.com>
826 Nathan Sidwell <nathan@codesourcery.com>
827
828 * NEWS: Mention new Nios II port.
829 * sysdeps/nios2/Implies: New file.
830 * sysdeps/nios2/Makefile: New file.
831 * sysdeps/nios2/Subdirs: New file.
832 * sysdeps/nios2/Versions: New file.
833 * sysdeps/nios2/__longjmp.S: New file.
834 * sysdeps/nios2/abort-instr.h: New file.
835 * sysdeps/nios2/backtrace.c: New file.
836 * sysdeps/nios2/bits/endian.h: New file.
837 * sysdeps/nios2/bits/fenv.h: New file.
838 * sysdeps/nios2/bits/link.h: New file.
839 * sysdeps/nios2/bits/setjmp.h: New file.
840 * sysdeps/nios2/bsd-_setjmp.S: New file.
841 * sysdeps/nios2/bsd-setjmp.S: New file.
842 * sysdeps/nios2/configure: New generated file.
843 * sysdeps/nios2/configure.ac: New file.
844 * sysdeps/nios2/crti.S: New file.
845 * sysdeps/nios2/crtn.S: New file.
846 * sysdeps/nios2/dl-init.c: New file.
847 * sysdeps/nios2/dl-machine.h: New file.
848 * sysdeps/nios2/dl-sysdep.h: New file.
849 * sysdeps/nios2/dl-tls.h: New file.
850 * sysdeps/nios2/dl-trampoline.S: New file.
851 * sysdeps/nios2/gccframe.h: New file.
852 * sysdeps/nios2/gmp-mparam.h: New file.
853 * sysdeps/nios2/jmpbuf-offsets.h: New file.
854 * sysdeps/nios2/jmpbuf-unwind.h: New file.
855 * sysdeps/nios2/ldsodefs.h: New file.
856 * sysdeps/nios2/libc-tls.c: New file.
857 * sysdeps/nios2/libm-test-ulps: New file.
858 * sysdeps/nios2/machine-gmon.h: New file.
859 * sysdeps/nios2/math-tests.h: New file.
860 * sysdeps/nios2/math_private.h: New file.
861 * sysdeps/nios2/memusage.h: New file.
862 * sysdeps/nios2/nptl/Makefile: New file.
863 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
864 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
865 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
866 * sysdeps/nios2/nptl/pthreaddef.h: New file.
867 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
868 * sysdeps/nios2/nptl/tls.h: New file.
869 * sysdeps/nios2/preconfigure: New file.
870 * sysdeps/nios2/s_fma.c: New file.
871 * sysdeps/nios2/s_fmaf.c: New file.
872 * sysdeps/nios2/setjmp.S: New file.
873 * sysdeps/nios2/sfp-machine.h: New file.
874 * sysdeps/nios2/sotruss-lib.c: New file.
875 * sysdeps/nios2/stackguard-macros.h: New file.
876 * sysdeps/nios2/stackinfo.h: New file.
877 * sysdeps/nios2/start.S: New file.
878 * sysdeps/nios2/sysdep.h: New file.
879 * sysdeps/nios2/tls-macros.h: New file.
880 * sysdeps/nios2/tst-audit.h: New file.
881 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
882 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
883 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
884 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
885 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
886 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
887 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
888 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
889 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
890 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
891 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
892 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
893 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
894 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
895 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
896 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
897 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
898 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
899 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
900 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
901 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
902 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
903 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
904 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
905 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
906 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
907 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
908 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
909 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
910 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
911 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
912 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
913 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
914 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
915 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
916 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
917 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
918 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
919 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
920 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
921 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
922 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
923 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
924 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
925
926 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
927
928 [BZ #17844]
929 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
930 (getutent): Use weak_alias in non SHARED case
931 and default_symbol_version in SHARED case.
932 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
933 (getutent_r, pututline): Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
935 (getutid): Likewise.
936 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
937 (getutid_r): Likewise.
938 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
939 (getutline): Likewise.
940 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
941 (getutline_r): Likewise.
942 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
943 (updwtmp): Likewise.
944
945 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
946
947 [BZ #17848]
948 * sysdeps/s390/s390-32/memcmp.S
949 (memcmp_g5): Rename to __memcmp_g5.
950 * sysdeps/s390/s390-32/memcpy.S
951 (memcpy_g5): Rename to __memcpy_g5.
952 Jump to __memcpy_mvcle instead of memcpy_mvcle.
953 (memcpy_mvcle) Rename to __memcpy_mvcle.
954 * sysdeps/s390/s390-32/memset.S
955 (memset_g5): Rename to __memset_g5.
956 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
957 (IFUNC_RESOLVE): Prefix ifunc-resolve function
958 and use prefixed functions.
959 * sysdeps/s390/s390-32/multiarch/memcmp.S
960 (memcmp_z196): Rename to __memcmp_z196.
961 (memcmp_z10): Rename to __memcmp_z10.
962 (memcmp): Set alias to __memcmp_g5.
963 (bcmp): Set alias to __memcmp_g5.
964 * sysdeps/s390/s390-32/multiarch/memcpy.S
965 (memcpy_z196): Rename to __memcpy_z196.
966 Jump to __memcpy_mvcle instead of memcpy_mvcle.
967 (memcpy_z10): Rename to __memcpy_z10.
968 Jump to __memcpy_mvcle instead of memcpy_mvcle.
969 (memcpy): Set alias to __memcpy_g5.
970 * sysdeps/s390/s390-32/multiarch/memset.S
971 (memset_z196): Rename to __memset_z196.
972 Jump to __memset_mvcle instead of memset_mvcle.
973 (memset_z10): Rename to __memset_z10.
974 Jump to __memset_mvcle instead of memset_mvcle.
975 (memset_mvcle) Rename to __memset_mvcle.
976 (memset): Set alias to __memset_g5.
977 * sysdeps/s390/s390-64/memcmp.S
978 (memcmp_z900): Rename to __memcmp_z900.
979 * sysdeps/s390/s390-64/memcpy.S
980 (memcpy_z900): Rename to __memcpy_z900.
981 Jump to __memcpy_mvcle instead of memcpy_mvcle.
982 (memcpy_mvcle) Rename to __memcpy_mvcle.
983 * sysdeps/s390/s390-64/memset.S
984 (memset_z900): Rename to __memset_z900.
985 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
986 (IFUNC_RESOLVE): Prefix ifunc-resolve function
987 and use prefixed functions.
988 * sysdeps/s390/s390-64/multiarch/memcmp.S
989 (memcmp_z196): Rename to __memcmp_z196.
990 (memcmp_z10): Rename to __memcmp_z10.
991 (memcmp): Set alias to __memcmp_z900.
992 (bcmp): Set alias to __memcmp_z900.
993 * sysdeps/s390/s390-64/multiarch/memcpy.S
994 (memcpy_z196): Rename to __memcpy_z196.
995 Jump to __memcpy_mvcle instead of memcpy_mvcle.
996 (memcpy_z10): Rename to __memcpy_z10.
997 Jump to __memcpy_mvcle instead of memcpy_mvcle.
998 (memcpy): Set alias to __memcpy_z900.
999 * sysdeps/s390/s390-64/multiarch/memset.S
1000 (memset_z196): Rename to __memset_z196.
1001 Jump to __memset_mvcle instead of memset_mvcle.
1002 (memset_z10): Rename to __memset_z10.
1003 Jump to __memset_mvcle instead of memset_mvcle.
1004 (memset_mvcle) Rename to __memset_mvcle.
1005 (memset): Set alias to __memset_z900.
1006
1007 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1008
1009 [BZ #17748]
1010 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1011 __fesetenv instead of fesetenv.
1012
1013 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1014
1015 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1016 macro.
1017
1018 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1021 regression on LE.
1022
1023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1024 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1025 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1026 strncmp-power8 object.
1027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1028 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1029 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1030 * NEWS: Update.
1031
1032 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1033 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1036 trailing byte check.
1037
1038 2015-01-13 David S. Miller <davem@davemloft.net>
1039
1040 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1041
1042 2015-01-13 Roland McGrath <roland@hack.frob.com>
1043
1044 * login/logout.c (logout): Use memset rather than bzero.
1045 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1046 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1047 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1048 (_gethtbyaddr): Likewise.
1049 * locale/programs/simple-hash.c (bcopy): Macro removed.
1050
1051 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052
1053 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1054 Add strcmp-power8 object.
1055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1056 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1057 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1058 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1059 __strcmp_power8 implementation.
1060 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1061 * NEWS: Update.
1062
1063 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1064 Add strncpy-power8 and stpncpy-power8 objects.
1065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1066 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1067 implementations.
1068 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1069 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1070 __stpncpy_power8 implementation.
1071 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1072 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1073 __strncpy_power8 implementation.
1074 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1075 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1076 * NEWS: Update.
1077
1078 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1080 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1081
1082 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1083 strncat-power8 object.
1084 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1085 __strcat_power8 implementation.
1086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1087 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1088 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1089 optimized strcat for power8.
1090
1091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1092 strcpy-power8 and stpcpy-power8 objects.
1093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1094 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1095 implementations.
1096 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1097 multiarch stpcpy implementation for POWER8.
1098 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1099 multiarch strcpy implementation for POWER8.
1100 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1101 __strcpy_power8 function.
1102 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1103 stpcpy for POWER8.
1104 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1105 strcpy for POWER8.
1106 * NEWS: Update.
1107
1108 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1109
1110 [BZ #16009]
1111 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1112 weights and rules. Use do_xfrm_cached if data fits in cache,
1113 do_xfrm otherwise. Moved former main loop to...
1114 * (do_xfrm_cached): New function.
1115 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1116 find_idx, find_position and stack_push.
1117 * (find_idx): New function.
1118 * (find_position): Likewise.
1119 * localedata/sort-test.sh: Added test run for do_xfrm.
1120 * localedata/xfrm-test.c (main): Added command line option
1121 -nocache to run the test with strings that are too large for
1122 the STRXFRM cache.
1123
1124 2015-01-13 Torvald Riegel <triegel@redhat.com>
1125
1126 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1127 variable to lll_futex_wake call, not the value itself.
1128
1129 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #17803]
1132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1133 twom64. Adjust value to 0x1p-64L.
1134 (__scalblnl): Only return standard underflowing result for K <=
1135 -64 not K <= -63; adjust exponent for underflowing result by 64
1136 not 63.
1137 * math/libm-test.inc (scalbn_test_data): Add more tests.
1138 (scalbln_test_data): Likewise.
1139
1140 [BZ #17834]
1141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1142 0x1p63L.
1143 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1144 not HX.
1145 * math/libm-test.inc (scalbn_test_data): Add more tests.
1146 (scalbln_test_data): Likewise.
1147
1148 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1149 Stefani Seibold <stefani@seibold.net>
1150
1151 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1152 (sysdep_routines): Add dl-vdso here, ...
1153 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1154 (sysdep_routines): ... not here.
1155 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1156 fallback when vDSO is not presented.
1157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1158 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1159 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1160 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1161 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1163 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1165 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1167 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1168 fallback configurable symbol when vDSO is not available.
1169 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1170 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1171 be able to redefine fallback symbol when vDSO is not available.
1172 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1173 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1174
1175 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1176
1177 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1178 (TLS_INIT_TP): Add tm_capable initialization.
1179 (TLS_DEFINE_INIT_TP): Likewise.
1180 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1181 TCB.
1182 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1183 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1184 calculation.
1185 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1186 transactoion is lock elision is built and TCB tm_capable is set.
1187 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1189 (INTERNAL_SYSCALL_NCS): Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1191 (INTERNAL_SYSCALL_NCS): Likewise.
1192 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1193
1194 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1195 for powerpc.
1196 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1197 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1198 and remove it for 32 bits case.
1199 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1201 initialization.
1202 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1203 Disable lock elision with rdlocks if elision is not available.
1204
1205 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1206 (sysdep_routines): Add lock elision objects.
1207 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1208 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1209 [pthread_mutex_t] (__elision): Add field.
1210 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1211 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1212 elision definitions for powerpc.
1213 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1214 implementation of lock elision for powerpc.
1215 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1216 implementation of timed lock elision for powerpc.
1217 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1218 implementation of trylock with lock elision for powerpc.
1219 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1220 implementaion of unlock for lock elision for powerpc.
1221 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1222 automatic enable lock elision for mutexes.
1223 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1224 transaction execution definitions for powerpc.
1225 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1226 definitions.
1227 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1228 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1229 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1230 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1231 * NEWS: Update.
1232
1233 2015-01-09 Roland McGrath <roland@hack.frob.com>
1234
1235 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1236 for #include of <shm-directory.h>.
1237
1238 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1239
1240 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1241 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1242
1243 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1244
1245 [BZ #17791]
1246 * NEWS: Mention bug fix.
1247 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1248 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1249 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1250
1251 2015-01-09 Torvald Riegel <triegel@redhat.com>
1252
1253 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1254
1255 2015-01-09 Torvald Riegel <triegel@redhat.com>
1256
1257 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1258
1259 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1260
1261 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1262 pointer and cast to uintptr_t.
1263
1264 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1265
1266 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1267 removed.
1268 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1269
1270 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1271
1272 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1273 of 0.
1274
1275 2015-01-08 Roland McGrath <roland@hack.frob.com>
1276
1277 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1278 <nptl/pthreadP.h> instead.
1279 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1280
1281 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1282 already defined.
1283 [__SIGRTMIN] (init): Function removed.
1284 [__SIGRTMIN] (initialized): Variable removed.
1285 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1286 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1287 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1288 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1289 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1290 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1291 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1292 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1293 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1294 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1295 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1296 * sysdeps/nptl/allocrtsig.c: New file.
1297 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1298 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1299 * sysdeps/generic/testrtsig.h: File removed.
1300
1301 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1302 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1303
1304 * nptl/nptl-init.c (pthread_functions): Conditionalize
1305 .ptr__nptl_setxid initialization on [SIGSETXID].
1306
1307 * sysdeps/nptl/sys/procfs.h: New file.
1308 * nptl_db/Makefile (headers): Add it.
1309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1310
1311 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1312 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1313 * nptl/pthread_attr_setaffinity.c: Include it.
1314 * nptl/pthread_setattr_default_np.c: Likewise.
1315 * nptl/check-cpuset.h: New file.
1316
1317 2015-01-08 Richard Henderson <rth@redhat.com>
1318
1319 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1320 (CFLAGS-tst-execstack-prog.c): Likewise.
1321 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1322
1323 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1324 Sandra Loosemore <sandra@codesourcery.com>
1325 Andrew Jenner <andrew@codesourcery.com>
1326 Joseph Myers <joseph@codesourcery.com>
1327 Nathan Sidwell <nathan@codesourcery.com>
1328
1329 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1330 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1331 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1332 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1333 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1334 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1335 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1336 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1337 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1338 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1339 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1340 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1341 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1342 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1343 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1344 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1345 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1346
1347 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1348
1349 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1350 timespec struct member in syscall macro.
1351 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1352 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1353 first timeval struct member in syscall macro.
1354 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1355
1356 2015-01-07 Joseph Myers <joseph@codesourcery.com>
1357
1358 [BZ #17748]
1359 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1360 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1361 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1362 __feupdateenv and define as weak alias of __feupdateenv. Use
1363 libm_hidden_weak.
1364 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1365 libm_hidden_def.
1366 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1367 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1368 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1369 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1370 libm_hidden_def.
1371 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1372 __feupdateenv and define as weak alias of __feupdateenv. Use
1373 libm_hidden_weak.
1374 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1375 libm_hidden_def.
1376 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1377 __feupdateenv and define as weak alias of __feupdateenv. Use
1378 libm_hidden_weak.
1379 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1380 libm_hidden_def.
1381 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1382 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1383 (__feupdateenv): Likewise.
1384 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1385 __feupdateenv and define as weak alias of __feupdateenv. Use
1386 libm_hidden_weak.
1387 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1388 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1389 libm_hidden_def.
1390 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1391 function.
1392 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1393 libm_hidden_def.
1394 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1395 __feupdateenv instead of feupdateenv.
1396 (default_libc_feupdateenv_test): Likewise.
1397 (libc_feresetround_ctx): Likewise.
1398
1399 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400
1401 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1402 prototype.
1403
1404 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1405
1406 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1407 COLL_SYM in a couple of places to avoid uninitialized variable
1408 wanings on tilegx gcc 4.8.2.
1409
1410 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1411
1412 * sysdeps/aarch64/strcpy.S: New file.
1413 * sysdeps/aarch64/stpcpy.S: New file.
1414 * NEWS: Updated.
1415
1416 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
1417
1418 * sysdeps/aarch64/strrchr.S: New file.
1419 * NEWS: Updated.
1420
1421 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
1422
1423 [BZ #17658]
1424 * stdlib/setenv.c: Fix memory leak when setting large,
1425 duplicate string.
1426
1427 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1428
1429 [BZ #17273]
1430 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1431 and tabs from buffer before parsing fstab entry.
1432 * misc/tst-mntent.c (main): Add test for mount entry with
1433 trailing spaces and tabs.
1434
1435 2015-01-06 Joseph Myers <joseph@codesourcery.com>
1436
1437 [BZ #17748]
1438 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1439 * math/fesetround.c (fesetround): Rename to __fesetround and
1440 define as weak alias of __fesetround. Use libm_hidden_weak.
1441 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1442 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1443 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1444 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1445 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1446 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1447 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1448 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1449 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1450 __fesetround_inline.
1451 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1452 __fesetround_inline instead of __fesetround.
1453 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1454 __fesetround and define as weak alias of __fesetround. Use
1455 libm_hidden_weak. Call __fesetround_inline instead of
1456 __fesetround.
1457 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1458 __fesetround and define as weak alias of __fesetround. Use
1459 libm_hidden_weak.
1460 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1461 Likewise.
1462 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1463 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1464 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1465 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1466 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1467 __fesetround and define as weak alias of __fesetround. Use
1468 libm_hidden_weak.
1469 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1470 __fesetround instead of fesetround.
1471 (default_libc_feholdexcept_setround): Likewise.
1472 (libc_feholdsetround_ctx): Likewise.
1473 (libc_feholdsetround_noex_ctx): Likewise.
1474
1475 [BZ #17748]
1476 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1477 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1479 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1480 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1481 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1482 define as weak alias of __fesetenv. Use libm_hidden_weak.
1483 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1484 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1485 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1486 define as weak alias of __fesetenv. Use libm_hidden_weak.
1487 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1488 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1489 define as weak alias of __fesetenv. Use libm_hidden_weak.
1490 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1491 libm_hidden_def.
1492 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1493 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1494 Likewise.
1495 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1496 define as weak alias of __fesetenv. Use libm_hidden_weak.
1497 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1498 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1499 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1500 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1501 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1502 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1503 __fesetenv instead of fesetenv.
1504 (libc_feresetround_noex_ctx): Likewise.
1505 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1506 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1507 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1508 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1509 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1510 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1511 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1512 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1513 (__feupdateenv): Likewise.
1514 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1515 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1516 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1517 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1518
1519 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1520
1521 [BZ #17806]
1522 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1523 addresses have been freed.
1524
1525 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1526
1527 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1528 and nservall.
1529
1530 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
1531
1532 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1533 Clean up check_pf allocation pattern. addresses
1534
1535 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1536
1537 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1538 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1539 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1540 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1541 * nptl/pthread_join.c (pthread_join): Likewise.
1542 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1543 * sysdeps/posix/waitid.c (__waitid): Likewise.
1544 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1545 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1546 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1547 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1548 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1549 Likewise.
1550 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1551 (__libc_pread64): Likewise.
1552 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1553 (__libc_pwrite): Likewise.
1554 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1555 (__libc_pwrite64): Likewsie.
1556 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1557 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1558 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1559 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1560 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1561 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1562 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1564 Likewise.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1566 (__libc_pread64): Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1570 (__libc_pwrite64): Likewise.
1571 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1572 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1573 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1574 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1575 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1576 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1577 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1578 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1579 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1580 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1581 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1582 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1583 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1584 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1585 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1586 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1587 Likewise.
1588
1589 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1590
1591 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1592 (CFLAGS-test-double.c): Likewise.
1593 (CFLAGS-test-ldouble.c): Likewise.
1594 (CPPFLAGS-test-ifloat.c): Likewise.
1595 (CPPFLAGS-test-idouble.c): Likewise.
1596 (CPPFLAGS-test-ildoubl.c): Likewise.
1597 (CFLAGS-test-test-fenv.c): Remove variable.
1598 (CFLAGS-test-misc.c): Likewise.
1599
1600 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1601
1602 [BZ #17797]
1603 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1604 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1605 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1606 CLOCKS_PER_SEC == 1000000.
1607 * time/clocktest.c (main): Replace %ld with %jd and cast to
1608 intmax_t.
1609
1610 2015-01-05 Roland McGrath <roland@hack.frob.com>
1611
1612 * sysdeps/generic/unwind-resume.h: New file.
1613 * sysdeps/gnu/unwind-resume.c: Include it.
1614 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1615 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1616 argument list.
1617 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1618 global rather than static.
1619 (_Unwind_Resume): Update user.
1620 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1621 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1622 rather than static. Add __attribute__ ((cold)).
1623 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1624 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1625 * sysdeps/arm/arm-unwind-resume.S: New file.
1626 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1627 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1628 * sysdeps/arm/Makefile [$(subdir) = csu]
1629 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1630 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1631 Add rt-arm-unwind-resume.
1632 [$(subdir) = nptl]
1633 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1634 Add pt-arm-unwind-resume.
1635 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1636 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1637
1638 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #17748]
1641 * include/fenv.h (__feholdexcept): Declare. Use
1642 libm_hidden_proto.
1643 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1644 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1645 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1646 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1647 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1648 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1649 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1650 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1651 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1652 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1653 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1654 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1655 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1656 (feholdexcept): Likewise.
1657 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1658 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1659 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1660 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1661 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1662 __feholdexcept instead of feholdexcept.
1663 (default_libc_feholdexcept_setround): Likewise.
1664
1665 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1666
1667 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1668 to avoid using stl/str to align destination.
1669
1670 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1671
1672 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1673
1674 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #17796]
1677 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1678 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1679 Define as weak alias not strong alias.
1680
1681 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
1682
1683 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1684 bltzal with addiupc.
1685 (RTLD_START): Ditto.
1686
1687 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1688
1689 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1690 for __vdso_* functions in declarations.
1691 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1692 definitions.
1693 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1694 INTERNAL_VSYSCALL): Use struct return types to check for error.
1695
1696 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1697 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1698 function with cast from llround().
1699 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1700 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1701 Define.
1702
1703 2015-01-05 Joseph Myers <joseph@codesourcery.com>
1704
1705 [BZ #17793]
1706 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1707 Define as weak alias not strong alias.
1708
1709 [BZ #17635]
1710 * ctype/ctype-c99.c: New file. isblank implementation moved from
1711 ...
1712 * ctype/ctype-extn.c: ... here.
1713 (__isblank_l): Move to ...
1714 * ctype/ctype-c99_l.c: ... here. New file.
1715 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1716 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1717 Remove variable.
1718 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1719 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1720 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1721 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1722 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1723
1724 [BZ #17777]
1725 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1726 (posix_fadvise64): Define as weak alias not strong alias.
1727 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1728 (posix_fallocate64): Likewise.
1729 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1730 Remove variable.
1731 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1732 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1733 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1734 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1735 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1736
1737 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1738
1739 [BZ #16191]
1740 * NEWS: Mention bug fix.
1741 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1742 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1743 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1744 (HOST_STACK_END_ADDR): Likewise.
1745
1746 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1747
1748 [BZ #17748]
1749 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1750 * math/fegetround.c (fegetround): Rename to __fegetround and
1751 define as weak alias of __fegetround. Use libm_hidden_weak.
1752 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1753 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1754 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1755 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1756 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1757 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1758 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1759 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1760 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1761 Undefine after rather than before function definition; use
1762 parentheses around function name in definition.
1763 (__fegetround): Also undefine macro after function definition.
1764 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1765 __fegetround and define as weak alias of __fegetround. Use
1766 libm_hidden_weak. Do not undefine as macro.
1767 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1768 Likewise.
1769 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1770 __fegetround and define as weak alias of __fegetround. Use
1771 libm_hidden_weak.
1772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1773 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1774 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1775 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1776 __fegetround and define as weak alias of __fegetround. Use
1777 libm_hidden_weak.
1778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1779 __fegetround instead of fegetround.
1780
1781 [BZ #17782]
1782 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1783 Condition macro definition on [__USE_MISC].
1784
1785 [BZ #17781]
1786 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1787 (struct sigaction): Change type of sa_flags field to int.
1788
1789 [BZ #17780]
1790 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1791 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1792 __glibc_reserved0.
1793
1794 * nptl/version.c (banner): Use single year in copyright notice.
1795
1796 * NEWS: Update copyright dates.
1797 * catgets/gencat.c (print_version): Likewise.
1798 * csu/version.c (banner): Likewise.
1799 * debug/catchsegv.sh: Likewise.
1800 * debug/pcprofiledump.c (print_version): Likewise.
1801 * debug/xtrace.sh (do_version): Likewise.
1802 * elf/ldconfig.c (print_version): Likewise.
1803 * elf/ldd.bash.in: Likewise.
1804 * elf/pldd.c (print_version): Likewise.
1805 * elf/sotruss.sh: Likewise.
1806 * elf/sprof.c (print_version): Likewise.
1807 * iconv/iconv_prog.c (print_version): Likewise.
1808 * iconv/iconvconfig.c (print_version): Likewise.
1809 * locale/programs/locale.c (print_version): Likewise.
1810 * locale/programs/localedef.c (print_version): Likewise.
1811 * login/programs/pt_chown.c (print_version): Likewise.
1812 * malloc/memusage.sh (do_version): Likewise.
1813 * malloc/memusagestat.c (print_version): Likewise.
1814 * malloc/mtrace.pl: Likewise.
1815 * manual/libc.texinfo: Likewise.
1816 * nptl/version.c (banner): Likewise.
1817 * nscd/nscd.c (print_version): Likewise.
1818 * nss/getent.c (print_version): Likewise.
1819 * nss/makedb.c (print_version): Likewise.
1820 * posix/getconf.c (main): Likewise.
1821 * scripts/test-installation.pl: Likewise.
1822 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1823
1824 2015-01-02 Will Newton <will.newton@linaro.org>
1825
1826 * sysdeps/arm/armv7/configure: Removed.
1827 * sysdeps/arm/armv7/configure.ac: Likewise.
1828
1829 2015-01-02 Joseph Myers <joseph@codesourcery.com>
1830
1831 * All files with FSF copyright notices: Update copyright dates
1832 using scripts/update-copyrights.
1833 * intl/plural.c: Regenerated.
1834 * locale/programs/charmap-kw.h: Likewise.
1835 * locale/programs/locfile-kw.h: Likewise.
1836
1837 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1838
1839 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1840
1841 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #17748]
1844 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1845 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1846 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1847 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1848 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1849 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1850 define as weak alias of __fegetenv. Use libm_hidden_weak.
1851 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1852 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1853 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1854 define as weak alias of __fegetenv. Use libm_hidden_weak.
1855 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1856 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1857 define as weak alias of __fegetenv. Use libm_hidden_weak.
1858 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1859 libm_hidden_def.
1860 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1862 Likewise.
1863 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1864 define as weak alias of __fegetenv. Use libm_hidden_weak.
1865 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1866 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1867 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1868 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1869 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1870 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1871 __fegetenv instead of fegetenv.
1872 (libc_feholdsetround_noex_ctx): Likewise.
1873
1874 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1875
1876 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1877 (Elf_MIPS_ABIFlags_v0): New structure.
1878 (EF_MIPS_FP64): Define.
1879 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1880 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1881 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1882 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1883 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1884 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1885 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1886 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1887 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1888 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1889 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1890 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1891 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1892 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1893 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1894 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1895 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1896 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1897 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1898 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1899 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1900 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1901 field.
1902 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1903 EF_MIPS_FP64.
1904 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1905 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1906 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1907 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1908 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1909 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1910 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1911 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1912 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1913 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1914 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1915 record the current FP ABI extension.
1916 (mips-mode-switch): Define to show if kernel headers support mode
1917 switching.
1918 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1919 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1920 supported SYSV ABI version to 3.
1921 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1922 feature.
1923
1924 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1925 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926
1927 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1928 path.
1929 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1930
1931 2014-12-31 Joseph Myers <joseph@codesourcery.com>
1932
1933 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1934 __fegetround and redefine to call __fegetround. Remove condition
1935 on [!__NO_MATH_INLINES].
1936 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1937 function.
1938 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1939 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1940 Remove macro.
1941 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1942 instead of <fenv_libc.h>.
1943 (__llrintl): Call fegetround instead of __fegetround.
1944 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1945 instead of <fenv_libc.h>.
1946 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1947 (__lrintl): Call fegetround instead of __fegetround.
1948 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1949 instead of <fenv_libc.h>.
1950 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1951 (__rintl): Call fegetround instead of __fegetround.
1952
1953 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1954
1955 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1956 arrays.
1957
1958 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1959
1960 [BZ #17775]
1961 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1962 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1963 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1964
1965 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1966
1967 * sysdeps/i386/tls-macros.h: Include <features.h>.
1968 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1969 (TLS_IE): Likewise.
1970 (TLS_LD): Likewise.
1971 (TLS_GD): Likewise.
1972 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1973 define for GCC >= 5.0.
1974
1975 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1976
1977 * math/test-fenv.c (test_single_exception, set_single_exc,
1978 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1979 feexcp_mask_test, feenable_test, fe_single_test): Add
1980 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1981 case where they are not used.
1982 * math/libm-test.inc: Likewise.
1983 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1984 unused in the absence of FP rounding/exception support.
1985 * stdio-common/tst-printf-round.c: Likewise.
1986 * stdlib/tst-strtod-round.c: Likewise.
1987 * stdlib/tst-strtod-underflow.c: Likewise.
1988
1989 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1990
1991 [BZ #17723]
1992 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1993 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1994 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1995 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1996 libm_hidden_weak.
1997 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1998 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1999 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2000 libm_hidden_def.
2001 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2002 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2003 libm_hidden_weak.
2004 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2005 Likewise.
2006 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2007 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2008 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2009 libm_hidden_weak.
2010 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2011 libm_hidden_def.
2012 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2013 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2014 (__feraiseexcept): Likewise.
2015 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2016 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2017 libm_hidden_weak.
2018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2019 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2020 libm_hidden_def.
2021 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2022 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2023 Use libm_hidden_def.
2024 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2025 libm_hidden_def.
2026 (feraiseexcept): Define as weak not strong alias. Use
2027 libm_hidden_weak.
2028 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2029 New inline function. Factored out of ...
2030 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2031 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2032 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2033 feraiseexcept.
2034 * math/w_acos.c (__acos): Likewise.
2035 * math/w_asin.c (__asin): Likewise.
2036 * math/w_ilogb.c (__ilogb): Likewise.
2037 * math/w_j0.c (y0): Likewise.
2038 * math/w_j1.c (y1): Likewise.
2039 * math/w_jn.c (yn): Likewise.
2040 * math/w_log.c (__log): Likewise.
2041 * math/w_log10.c (__log10): Likewise.
2042 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2043 * sysdeps/aarch64/fpu/math_private.h
2044 (libc_feupdateenv_test_aarch64): Likewise.
2045 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2046 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2047 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2048 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2049 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2050 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2051 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2052 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2053 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2054 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2055
2056 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2057
2058 [BZ #17732]
2059 * io/test-utime.c (main): Replace %ld with %jd and cast to
2060 intmax_t.
2061 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2062 * nptl/tst-mutex5.c: Include <stdint.h>.
2063 (do_test): Replace %ld with %jd and cast to intmax_t.
2064 * posix/tst-regex.c (run_test): Likewise.
2065 (run_test_backwards): Likewise.
2066 * rt/tst-clock.c: Include <stdint.h>.
2067 (clock_test): Replace %ld with %jd and cast to intmax_t.
2068 * rt/tst-cpuclock1.c: Include <stdint.h>.
2069 (do_test): Replace %lu with %ju and cast to uintmax_t.
2070 * rt/tst-cpuclock2.c: Include <stdint.h>.
2071 (do_test): Replace %lu with %ju and cast to uintmax_t.
2072 * rt/tst-mqueue1.c: Include <stdint.h>.
2073 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2074 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2075 intmax_t.
2076 * rt/tst-mqueue4.c (do_test): Likewise.
2077 * rt/tst-timer4.c: Include <stdint.h>.
2078 (check_ts): Replace %ld with %jd and cast to intmax_t.
2079 (do_test): Likewise.
2080 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2081 and cast to intmax_t.
2082 * sysdeps/pthread/tst-timer.c (main): Likewise.
2083 * time/clocktest.c (main): Likewise.
2084 * time/tst-posixtz.c (do_test): Likewise.
2085 * timezone/tst-timezone.c (main): Likewise.
2086
2087 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2088 H.J. Lu <hongjiu.lu@intel.com>
2089
2090 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2091 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2092 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2093 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2094 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2095 version if bit_Fast_Unaligned_Load is set.
2096 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2097 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2098 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2099 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2100 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2101 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2103 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2104 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2105 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2106 to 4.
2107 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2108 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2109 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2110 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2111
2112 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2113
2114 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2115 instead of #if to avoid a Wundef warning.
2116 * stdlib/tst-limits.c (do_test): Likewise.
2117
2118 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2119 parallel other exception macros.
2120 (fegetenv): Convert from macro to extern inline so that it applies
2121 retroactively to inline functions already seen by the compiler.
2122 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2123
2124 * posix/Makefile (before-compile): Use $(objpfx) for
2125 posix-conf-vars-def.h.
2126
2127 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2128
2129 * posix/getconf.c (main): Use size_t for type of I.
2130 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2131 NSPEC.
2132
2133 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2134 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2135 * posix/posix-envs.def: Likewise.
2136 * sysdeps/posix/sysconf.c: Likewise.
2137 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2138 (specs): Remove array.
2139 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2140 array.
2141
2142 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2143 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2144 (__sysconf): Use CONF_IS_* macros.
2145
2146 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2147 ($(objpfx)posix-conf-vars-def.h): New target.
2148 * posix/posix-conf-vars.list: New file.
2149 * posix/posix-conf-vars.h: New file.
2150 * posix/confstr.c: Include posix-conf-vars.h.
2151 (confstr): Use CONF_IS_* macros.
2152 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2153 CONF_IS_* macros.
2154 * scripts/gen-posix-conf-vars.awk: New file.
2155
2156 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2157
2158 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2159 fegetround): Add no-op macros to avoid linknamespace issues.
2160
2161 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2162 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2163
2164 * sysdeps/unix/sysv/linux/tile/sysdep.h
2165 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2166 assembly-specific section to avoid a redefinition warning.
2167
2168 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2169 long before casting to pointer to avoid a cast warning.
2170
2171 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2172
2173 * sysdeps/tile/tilegx/Implies: New file.
2174
2175 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2176
2177 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2178
2179 2014-12-23 Florian Weimer <fweimer@redhat.com>
2180
2181 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2182
2183 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2184
2185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2186 not define.
2187 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2188 <kernel-features.h>.
2189 (__utimes) [__NR_utimes]: Make code unconditional.
2190 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2191 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2192 (__ASSUME_UTIMES): Do not undefine.
2193 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2194 (__ASSUME_UTIMES): Likewise.
2195 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2196 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2197 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2198 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2199
2200 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2201
2202 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2203
2204 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2205
2206 [BZ #17747]
2207 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2208 alias to weak alias for j0l, y0l.
2209 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2210 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2211
2212 [BZ #17746]
2213 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2214 conversion.
2215
2216 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2217
2218 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2219 to zero if not already defined.
2220
2221 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2222
2223 [BZ #17724]
2224 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2225 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2226 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2227 (char *) casts added.
2228 * sysdeps/ieee754/k_standardf.c: New file.
2229 * sysdeps/ieee754/k_standardl.c: Likewise.
2230 * math/Makefile (libm-support): Remove k_standard.
2231 (libm-calls): Add k_standard.
2232
2233 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2234
2235 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2236 Optimize to avoid an unnecessary FPCR read.
2237
2238 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2239
2240 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2241 Optimize to reduce FPCR/FPSR accesses.
2242
2243 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2244
2245 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2246 Call libc_fetestexcept_aarch64.
2247
2248 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2249
2250 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2251 Call libc_fesetround_aarch64.
2252
2253 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2254
2255 [BZ #17733]
2256 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2257 (__bind): Do not define as weak alias.
2258 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2259 define.
2260 (__getsockname): Do not define as weak alias.
2261
2262 2014-12-22 Will Newton <will.newton@linaro.org>
2263
2264 * manual/install.texi: Document that we require bison 2.7
2265 or above.
2266 * INSTALL: Regenerate.
2267 * configure.ac: Use AC_CHECK_PROG_VER instead of
2268 AC_PATH_PROG when checking for bison and check for
2269 version 2.7 or above.
2270 * configure: Regenerate.
2271
2272 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2273
2274 [BZ #17745]
2275 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2276 * sysdeps/tile/ffsll.c (ffsll): To here.
2277
2278 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2279
2280 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2281
2282 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2283 if not defined.
2284 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2285 definition.
2286 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2287 hidden ___tls_get_addr.
2288 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2289 hidden __tls_get_addr.
2290 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2291 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2292 Likewise.
2293
2294 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2295
2296 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2297 _dl_init call.
2298
2299 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2302 from "call _dl_init@PLT".
2303 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2304
2305 2014-12-21 Anders Kaseorg <andersk@mit.edu>
2306
2307 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2308 guarantees.
2309
2310 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2311
2312 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2313
2314 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2315
2316 [BZ #17744]
2317 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2318 strnlen.
2319
2320 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2321
2322 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2323 of multu on MIPSr6.
2324 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2325 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2326 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2327 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2328 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2329
2330 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
2331
2332 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2333 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2334 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2335 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2336 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2337 mips32r6/mips64r6.
2338 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2339
2340 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
2341
2342 * string/strncat.c (STRNCAT): Simplify implementation.
2343
2344 2014-12-19 David S. Miller <davem@davemloft.net>
2345
2346 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2347 access the quad as both a long double and as a series of 4 words.
2348
2349 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2350 link_map->l_info array access.
2351
2352 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2353
2354 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2355
2356 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2357 * math/atest-exp2.c (TIMEOUT): Likewise.
2358 * math/atest-sincos.c (TIMEOUT): Likewise.
2359
2360 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2363 -Wno-error with -fno-builtin-lround.
2364
2365 2014-12-19 Torvald Riegel <triegel@redhat.com>
2366
2367 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2368 Contains futex constants and functions moved over from ...
2369 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2370 <lowlevellock-futex.h>.
2371 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2372 (lll_timedwait_tid): Add comments and parentheses around macro
2373 arguments.
2374
2375 2014-12-19 Torvald Riegel <triegel@redhat.com>
2376
2377 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2378 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2379 (__lll_private_flag): Remove.
2380 (lll_futex_wait): Likewise.
2381 (lll_futex_timed_wait): Likewise.
2382 (lll_futex_wake): Likewise.
2383 (lll_futex_requeue): Likewise.
2384 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2385 (__lll_timedwait_tid): Spell out argument names.
2386 (lll_timedwait_tid): Add comments and parentheses around macro
2387 arguments.
2388 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2389 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2390
2391 2014-12-19 Torvald Riegel <triegel@redhat.com>
2392
2393 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2394 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2395 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2396 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2397 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2398 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2399 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2400 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2401 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2402 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2403 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2405 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2406 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2407 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2408 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2409 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2410 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2411 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2412
2413 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 * sysdeps/x86_64/x32/Makefile: New file.
2416
2417 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2418
2419 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2420 1L with (mp_limb_t) 1.
2421
2422 2014-12-17 Roland McGrath <roland@hack.frob.com>
2423
2424 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2425 * nptl/libc_pthread_init.c: ... here.
2426 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2427 * nptl/register-atfork.c: ... here.
2428
2429 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2430 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2431 Use assert_perror to check its return value.
2432 (__gai_create_helper_thread): Likewise.
2433
2434 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2435
2436 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2437
2438 2014-12-17 Joseph Myers <joseph@codesourcery.com>
2439
2440 [BZ #17725]
2441 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2442 __profil_counter.
2443 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2446 Likewise.
2447 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2448 Likewise.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2450 (profil_counter): Likewise.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2452 (profil_counter): Likewise.
2453 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2454 Likewise.
2455 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2456 Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2458 (profil_counter): Likewise.
2459 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2460 Likewise.
2461 [!__profil_counter] (profil_counter): Define as weak alias of
2462 __profil_counter.
2463 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2464 (profil_counter): Rename to __profil_counter.
2465 [!__profil_counter] (profil_counter): Define as weak alias of
2466 __profil_counter.
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2468 (profil_counter): Rename to __profil_counter.
2469 [!__profil_counter] (profil_counter): Define as weak alias of
2470 __profil_counter.
2471 * sysdeps/posix/profil.c: Update comment referring to
2472 profil_counter.
2473 (__profil): Use __profil_counter instead of profil_counter.
2474 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2475 __profil_counter. Use __profil_counter_ushort and
2476 __profil_counter_uint in definitions.
2477 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2478 instead of profil_counter_uint and profil_counter_ushort.
2479
2480 [BZ #17722]
2481 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2482 define as weak alias of __inet_makeaddr.
2483 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2484 as weak alias of __inet_addr.
2485 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2486 as weak alias of __inet_pton. Use libc_hidden_weak.
2487 * include/arpa/inet.h (__inet_pton): Declare. Use
2488 libc_hidden_proto.
2489 (inet_makeaddr): Don't use libc_hidden_proto.
2490 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2491 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2492 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2493 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2494 Remove variable.
2495 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2496 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2497
2498 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
2499
2500 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2501
2502 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2503
2504 * stdio-common/bug-vfprintf-nargs.c (do_test):
2505 Cast value to intptr_t to avoid format warning
2506 for usage with PRIdPTR printing macro.
2507
2508 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2509
2510 * libio/tst-widetext.c (do_test):
2511 Use format type %td instead of %Zd for ptrdiff_t
2512 in order to avoid format warning.
2513
2514 2014-12-17 Andreas Schwab <schwab@suse.de>
2515
2516 * nscd/mem.c (gc): Add size_t cast to match printf format.
2517
2518 2014-12-16 Roland McGrath <roland@hack.frob.com>
2519
2520 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2521 (init): Apply PTR_MANGLE to pointers before storing them.
2522 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2523 before using them.
2524
2525 2014-12-16 Joseph Myers <joseph@codesourcery.com>
2526
2527 [BZ #17719]
2528 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2529 define as weak alias of __memrchr.
2530 (__memrchr): Do not define as strong alias of memrchr.
2531 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2532 Remove variable.
2533 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2534 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2535 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2536
2537 [BZ #17717]
2538 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2539 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2540 (if_indextoname): Rename to __if_indextoname and define as weak
2541 alias of __if_indextoname. Use libc_hidden_weak.
2542 (if_freenameindex): Rename to __if_freenameindex and define as
2543 weak alias of __if_freenameindex.
2544 (if_nameindex): Rename to __if_nameindex and define as weak alias
2545 of __if_nameindex.
2546 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2547 __if_nametoindex and define as weak alias of __if_nametoindex.
2548 Use libc_hidden_weak.
2549 (if_freenameindex): Rename to __if_freenameindex and define as
2550 weak alias of __if_freenameindex.
2551 (if_nameindex): Rename to __if_nameindex and define as weak alias
2552 of __if_nameindex.
2553 (if_indextoname): Rename to __if_indextoname and define as weak
2554 alias of __if_indextoname. Use libc_hidden_weak.
2555 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2556 __if_nametoindex and define as weak alias of __if_nametoindex.
2557 Use libc_hidden_weak.
2558 (if_freenameindex): Rename to __if_freenameindex and define as
2559 weak alias of __if_freenameindex. Use libc_hidden_weak.
2560 (if_nameindex_netlink): Use __if_freenameindex instead of
2561 if_freenameindex.
2562 (if_nameindex): Rename to __if_nameindex and define as weak alias
2563 of __if_nameindex. Use libc_hidden_weak.
2564 (if_indextoname): Rename to __if_indextoname and define as weak
2565 alias of __if_indextoname. Use libc_hidden_weak.
2566 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2567 libc_hidden_proto.
2568 [!_ISOMAC] (__if_freenameindex): Likewise.
2569 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2570 if_nametoindex.
2571 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2572 variable.
2573 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2574 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2575 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2576 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2577 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2578 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2579 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2580
2581 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2582 Remove variable.
2583 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2584 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2585
2586 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2587
2588 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2589 subscript above bounds'
2590
2591 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2592 bounds.
2593
2594 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
2595
2596 * libio/tst-fopenloc.c: Use test-skeleton.c.
2597
2598 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2599 (entry): Rename to ITEM.
2600 (do_test, comp): Adjust.
2601
2602 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2603
2604 2014-12-16 Torvald Riegel <triegel@redhat.com>
2605
2606 * string/tester.c: Include <libc-internal.h>.
2607 (test_memset): Ignore -Wmemset-transposed-args.
2608
2609 2014-12-16 Torvald Riegel <triegel@redhat.com>
2610
2611 * misc/tst-mntent2.c (do_test): Fix warning.
2612
2613 2014-12-16 Torvald Riegel <triegel@redhat.com>
2614
2615 * elf/tst-unique4lib.cc(a): Mark as used.
2616
2617 2014-12-16 Florian Weimer <fweimer@redhat.com>
2618
2619 [BZ #17630]
2620 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2621 names.
2622
2623 2014-12-16 Allan McRae <allan@archlinux.org>
2624
2625 * stdio-common/Makefile (tests): Re-add bug26.
2626
2627 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
2628
2629 [BZ #17657]
2630 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2631 static array.
2632
2633 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2634
2635 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2636 (__lll_lock_wait): Likewise.
2637 (__lll_timedlock_wait): Likewise.
2638 (__lll_timedwait_tid): Likewise.
2639 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2640 (__lll_robust_timedlock_wait): Likewise.
2641 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2642 (lll_cond_trylock): Likewise.
2643 (__lll_lock): Likewise.
2644 (__lll_robust_lock): Likewise.
2645 (__lll_cond_lock): Likewise.
2646 (lll_robust_cond_lock): Likewise.
2647 (__lll_timedlock): Likewise.
2648 (__lll_robust_timedlock): Likewise.
2649 (__lll_unlock): Likewise.
2650 (__lll_robust_unlock): Likewise.
2651 (lll_wait_tid): Likewise.
2652 (lll_timedwait_tid): Likewise.
2653
2654 2014-12-15 Torvald Riegel <triegel@redhat.com>
2655
2656 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2657
2658 2014-12-15 Torvald Riegel <triegel@redhat.com>
2659
2660 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2661
2662 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2663
2664 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2665 * stdio-common/tst-sprintf.c: Likewise.
2666
2667 2014-12-15 Torvald Riegel <triegel@redhat.com>
2668
2669 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2670
2671 2014-12-15 Jeff Law <law@redhat.com>
2672
2673 [BZ #16617]
2674 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2675 on the heap. (CVE-2012-3406)
2676 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2677 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2678 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2679
2680 2014-12-15 Will Newton <will.newton@linaro.org>
2681
2682 * manual/install.texi: Bump required version of texinfo
2683 to 4.7 from 4.5.
2684 * INSTALL: Regenerated.
2685 * configure.ac: Check for makeinfo version 4.7 and above.
2686 * configure: Regenerated.
2687
2688 2014-12-12 Roland McGrath <roland@hack.frob.com>
2689
2690 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2691 PREFIX, string constant to insert between directory and name.
2692 * sysdeps/posix/shm_open.c: Update caller.
2693 * sysdeps/posix/shm_unlink.c: Likewise.
2694 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2695 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2696 (SEM_SHM_PREFIX): New macro.
2697 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2698 [$(have-thread-library) = no].
2699 * nptl/Makefile (libpthread-routines): Add shm-directory.
2700 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2701 * sysdeps/nptl/shm-directory.h: New file.
2702 * sysdeps/posix/shm-directory.c
2703 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2704 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2705 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2706 INTERNAL_SYSCALL.
2707 (__where_is_shmfs): Function removed.
2708 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2709 Variables removed.
2710 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2711 Use SHM_GET_NAME.
2712 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2713
2714 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2715 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2716 unconditional for use inside libpthread.
2717 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2718
2719 2014-12-12 Roland McGrath <roland@hack.frob.com>
2720
2721 * nptl/pthread_getaffinity.c: New file.
2722 * nptl/pthread_setaffinity.c: New file.
2723 * nptl/pthread_getname.c: New file.
2724 * nptl/pthread_setname.c: New file.
2725
2726 * nptl/pthread_create.c (START_THREAD_DEFN)
2727 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2728
2729 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2730 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2731
2732 * resolv/res_send.c (send_vc): Disable warning resplen may
2733 be used uninitialized.
2734
2735 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2736
2737 * nptl/tst-mutex6.c
2738 (ATTR_NULL): New define checks ATTR against NULL.
2739 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2740 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2741
2742 2014-12-11 James Lemke <jwlemke@codesourcery.com>
2743
2744 [BZ #17581]
2745 * malloc/hooks.c
2746 (mem2mem_check): Revert my previous change.
2747 (malloc_check_get_size): Revert my previous change.
2748 (mem2chunk_check): Revert my previous change.
2749
2750 2014-12-11 Roland McGrath <roland@hack.frob.com>
2751
2752 * sysdeps/posix/shm-directory.c: New file.
2753 * sysdeps/posix/shm-directory.h: New file.
2754 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2755 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2756 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2757 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2758 Transmute EPERM to EACCES.
2759 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2760 from ...
2761 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2762 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2763
2764 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2765
2766 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2767 pointer and cast to uintptr_t.
2768 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2769 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2770 Add cast to avoid warning.
2771 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2772
2773 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2774
2775 * nptl/semaphore.h: Move to ...
2776 * sysdeps/pthread/semaphore.h: ... here.
2777 * Makefile (installed-headers): Change nptl/semaphore.h to
2778 sysdeps/pthread/semaphore.h.
2779
2780 2014-12-11 Roland McGrath <roland@hack.frob.com>
2781
2782 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2783 generated error format strings.
2784
2785 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2786 -Wformat-extra-args warnings for scanf formats.
2787 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2788 test of zero-length format (duh).
2789 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2790 corner-case scanf format test.
2791 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2792 generated fprintf format string.
2793 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2794 corner-case sprintf format tests.
2795 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2796 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2797 -Wformat-extra-args warnings throughout.
2798 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2799 (CFLAGS-scanf4.c): Likewise.
2800 (CFLAGS-scanf7.c): Likewise.
2801 (CFLAGS-tst-sprintf.c): Likewise.
2802 (CFLAGS-tst-printf.c): Likewise.
2803 (CFLAGS-tst-printfsz.c): Likewise.
2804
2805 2014-12-11 Joseph Myers <joseph@codesourcery.com>
2806
2807 * include/cpio.h: New file.
2808 * include/fmtmsg.h: Likewise.
2809
2810 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2811 corresponding format argument to size_t.
2812 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2813 arguments.
2814 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2815 corresponding format argument to size_t.
2816 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2817 arguments.
2818 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2819 corresponding format argument to size_t.
2820 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2821 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2822 (CFLAGS-tst-mbswcs2.c): Likewise.
2823 (CFLAGS-tst-mbswcs3.c): Likewise.
2824 (CFLAGS-tst-mbswcs4.c): Likewise.
2825 (CFLAGS-tst-mbswcs5.c): Likewise.
2826 (CFLAGS-tst-trans.c): Likewise
2827
2828 2014-12-11 Roland McGrath <roland@hack.frob.com>
2829
2830 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2831 rather than assuming they won't contain any '%'s.
2832
2833 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2834
2835 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2836 inhibit_loop_to_libcall to avoid recursive calls.
2837 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2838 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2839
2840 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2841
2842 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2843 prototype.
2844
2845 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2846
2847 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2848 integer value instead of boolean.
2849
2850 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
2851
2852 * malloc/malloc.c: Fix powerof2 check.
2853
2854 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2855
2856 * locale/programs/locfile.h (maybe_swap_uint32):
2857 Remove inline and add unused attribute.
2858
2859 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2860
2861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2862 Truncating assembler expression to a .long expression.
2863
2864 2014-12-11 Andreas Schwab <schwab@suse.de>
2865
2866 * elf/rtld.c (struct map_args): Constify str member.
2867 (do_preload): Constify fname argument.
2868
2869 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2872 constants definition.
2873
2874 2014-12-11 Andreas Schwab <schwab@suse.de>
2875
2876 [BZ #16657]
2877 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2878 FORCE_ELISION instead of DO_ELISION.
2879 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2880 Remove.
2881 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2882 Likewise.
2883
2884 * iconvdata/gconv-modules: Remove duplicate entry.
2885
2886 2014-12-11 Will Newton <will.newton@linaro.org>
2887
2888 Merge gettext 0.19.3 into intl/.
2889
2890 This involves a number of cosmetic changes to comments
2891 and ANSI function definitions and prototypes throughout
2892 all the files. The gettext copyright header is used but
2893 with the date ranges taken from the glibc copy.
2894
2895 * NEWS: Add gettext merge to 2.21.
2896 * intl/bindtextdom.c: Switch to gettext copyright.
2897 Use ANSI definitions and prototypes.
2898 Use gl_* locking primitives rather than __libc_* ones.
2899 Use __builtin_expect rather than __glibc_likely/unlikely.
2900 * intl/dcgettext.c: Switch to gettext copyright.
2901 Use ANSI definitions and prototypes.
2902 * intl/dcigettext.c: Switch to gettext copyright.
2903 Use ANSI definitions and prototypes.
2904 (INTDIV0_RAISES_SIGFPE): New define.
2905 Use gl_* locking primitives rather than __libc_* ones.
2906 Include eval-plural.h instead of plural-eval.c.
2907 Use __builtin_expect rather than __glibc_likely/unlikely.
2908 * intl/dcngettext.c: Switch to gettext copyright.
2909 Use ANSI definitions and prototypes.
2910 * intl/dgettext.c: Likewise.
2911 * intl/dngettext.c: Likewise.
2912 * intl/plural-eval.c: Renamed to...
2913 * intl/eval-plural.h: ...this.
2914 * intl/explodename.c: Switch to gettext copyright.
2915 Use ANSI definitions and prototypes.
2916 (_nl_explode_name): Use strchr instead of __rawmemchr.
2917 * intl/finddomain.c: Switch to gettext copyright.
2918 Use ANSI definitions and prototypes.
2919 Use gl_* locking primitives rather than __libc_* ones.
2920 (_nl_find_domain): Use malloc rather than alloca for
2921 allocation of temporary locale name.
2922 * intl/gettext.c: Switch to gettext copyright.
2923 Use ANSI definitions and prototypes.
2924 * intl/gettextP.h: Switch to gettext copyright.
2925 Use ANSI definitions and prototypes.
2926 Use gl_* locking primitives rather than __libc_* ones.
2927 * intl/gmo.h: Switch to gettext copyright.
2928 (struct sysdep_string): Move struct segment_pair outside of
2929 struct definition.
2930 * intl/hash-string.c: Use ANSI definitions and prototypes.
2931 * intl/hash-string.h: Switch to gettext copyright.
2932 Use ANSI definitions and prototypes.
2933 * intl/l10nflist.c: Switch to gettext copyright.
2934 Use ANSI definitions and prototypes.
2935 (_nl_normalize_codeset): Avoid integer overflow.
2936 * intl/loadinfo.h: Switch to gettext copyright.
2937 Use ANSI definitions and prototypes.
2938 (LIBINTL_DLL_EXPORTED): New define.
2939 (PATH_SEPARATOR): New define.
2940 * intl/loadmsgcat.c: Switch to gettext copyright.
2941 * intl/localealias.c: Switch to gettext copyright.
2942 Use ANSI definitions and prototypes.
2943 (_nl_expand_alias): Use PATH_SEPARATOR.
2944 * intl/ngettext.c: Switch to gettext copyright.
2945 Use ANSI definitions and prototypes.
2946 * intl/plural-exp.c: Likewise.
2947 * intl/plural-exp.h: Switch to gettext copyright.
2948 Use ANSI definitions and prototypes.
2949 (struct expression): Move definition of enum operator outside
2950 of struct definition.
2951 * intl/plural.c: Regenerate.
2952 * intl/plural.y: Switch to gettext copyright.
2953 Use ANSI definitions and prototypes.
2954 Port to bison 3.0.
2955 * intl/textdomain.c: Switch to gettext copyright.
2956 Use ANSI definitions and prototypes.
2957 Use gl_* locking primitives rather than __libc_* ones.
2958
2959 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2960
2961 * debug/warning-nop.c: Add used atrribute.
2962
2963 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2964
2965 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2966
2967 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2968 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2969 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2970
2971 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2972 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973
2974 [BZ #17634]
2975 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2976 Undefine after defining function. Define as weak alias of
2977 __wcschr. Use libc_hidden_weak.
2978 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2979 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2980 (libc_hidden_def): Also define __GI___wcschr alias.
2981 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2982 __wcschr and define as weak alias of __wcschr.
2983 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2984 __wcschr.
2985 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2986 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2987 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2988 libc_hidden_weak. Do not use libc_hidden_def.
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2990 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2991 __GI___wcschr alias.
2992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2993 [IS_IN (libc)] (wcschr): Define as macro expanding to
2994 __redirect_wcschr.
2995 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2996 [IS_IN (libc)] (__wcschr_power6): Likewise.
2997 [IS_IN (libc)] (__wcschr_power7): Likewise.
2998 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2999 instead of wcschr.
3000 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3001 __libc_wcschr.
3002 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3003 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3004 __wcschr and define as weak alias of __wcschr. Use
3005 libc_hidden_builtin_def.
3006 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3007 as weak alias of __wcschr. Use libc_hidden_weak.
3008 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3009 wcschr.
3010 * time/era.c (_nl_init_era_entries): Likewise.
3011 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3012 variable.
3013 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3014 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3015
3016 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3017
3018 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3019 format for long int variable.
3020
3021 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3022
3023 [BZ #10672]
3024 * manual/search.texi: (Array Sort Function): Remove claim how to make
3025 qsort stable.
3026
3027 2014-12-10 Andreas Schwab <schwab@suse.de>
3028
3029 [BZ #12847]
3030 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3031 user-controlled locks.
3032
3033 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3034
3035 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3036 register.
3037
3038 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3039
3040 * configure.ac (--disable-werror): New configure option.
3041 (enable_werror): New AC_SUBST.
3042 * configure: Regenerated.
3043 * config.make.in (enable-werror): New variable.
3044 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3045 -Wno-error=undef.
3046 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3047 * manual/install.texi (Configuring and compiling): Document
3048 --disable-werror.
3049 * INSTALL: Regenerated.
3050 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3051 (CFLAGS-tst-chk2.c): Likewise.
3052 (CFLAGS-tst-chk3.c): Likewise.
3053 (CFLAGS-tst-chk4.cc): Likewise.
3054 (CFLAGS-tst-chk5.cc): Likewise.
3055 (CFLAGS-tst-chk6.cc): Likewise.
3056 (CFLAGS-tst-lfschk1.c): Likewise.
3057 (CFLAGS-tst-lfschk2.c): Likewise.
3058 (CFLAGS-tst-lfschk3.c): Likewise.
3059 (CFLAGS-tst-lfschk4.cc): Likewise.
3060 (CFLAGS-tst-lfschk5.cc): Likewise.
3061 (CFLAGS-tst-lfschk6.cc): Likewise.
3062
3063 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3064 (main): Disable -Wdeprecated-declarations around calls to
3065 register_printf_function.
3066
3067 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3068 (do_test): Disable -Wdiv-by-zero around some calls to
3069 fwrite_unlocked and fread_unlocked.
3070
3071 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3072 (DIAG_POP_NEEDS_COMMENT): Likewise.
3073 (_DIAG_STR1): Likewise.
3074 (_DIAG_STR): Likewise.
3075 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3076 * stdio-common/bug21.c: Include <libc-internal.h>.
3077 (do_test): Disable -Wformat around call to sscanf.
3078 * stdio-common/scanf14.c: Include <libc-internal.h>.
3079 (main): Disable -Wformat around some calls to scanf functions.
3080
3081 2014-12-09 Torvald Riegel <triegel@redhat.com>
3082
3083 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3084
3085 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086
3087 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3088 stack variable alignment.
3089
3090 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3091
3092 [BZ #17682]
3093 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3094 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3095 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3096 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3097 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3098 __getrlimit instead of getrlimit.
3099 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3100 __gettimeofday instead of gettimeofday.
3101 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3102 Likewise.
3103 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3104 Likewise.
3105 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3106 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3107 Remove variable.
3108 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3109 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3110
3111 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3112
3113 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3114 for wide-character tests.
3115
3116 2014-12-04 Roland McGrath <roland@hack.frob.com>
3117
3118 * io/openat64.c: #include <libc-internal.h>
3119 (__openat64): Prototypify. Use ignore_value on MODE.
3120 * io/openat.c: Likewise.
3121 * misc/reboot.c: #include <libc-internal.h>
3122 (reboot): Prototypify. Use ignore_value on HOWTO.
3123 * misc/ptrace.c: #include <libc-internal.h>
3124 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3125
3126 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3127
3128 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3129 XPG4, UNIX98 and XOPEN2K.
3130 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3131 Remove variable.
3132 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3133
3134 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3135
3136 * libio/fileops.c: Use ISO C style for function definitions.
3137 * libio/iofopen.c: Likewise.
3138 * libio/wfileops.c: Likewise.
3139
3140 [BZ #17653]
3141 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3142 offset on EOF.
3143 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3144 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3145 (fgets_func): Function pointer to fgets and fgetws.
3146 (do_ftell_test): Add test to verify ftell value after read
3147 EOF.
3148 (do_test): Set fgets_func.
3149
3150 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3151 O_TRUNC flag for w and w+ modes.
3152 (do_rewind_test): Likewise.
3153 (do_ftell_test): Likewise.
3154 (do_write_test): Likewise.
3155
3156 [BZ #17647]
3157 * libio/fileops.c (do_ftell): Seek only when there are
3158 unflushed writes.
3159 * libio/wfileops.c (do_ftell_wide): Likewise.
3160 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3161 test case.
3162 (do_one_test): Call it.
3163
3164 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3165
3166 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3167 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3168 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3169 Remove variable.
3170 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3171 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3172 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3173
3174 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3175
3176 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3177 Remove variable.
3178 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3179
3180 [BZ #17668]
3181 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3182 as weak alias of __getifaddrs. Use libc_hidden_weak.
3183 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3184 __freeifaddrs. Use libc_hidden_weak.
3185 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3186 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3187 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3188 __freeifaddrs. Use libc_hidden_weak.
3189 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3190 __getifaddrs and define as weak alias of __getifaddrs. Use
3191 libc_hidden_weak.
3192 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3193 __freeifaddrs. Use libc_hidden_weak.
3194 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3195 Remove variable.
3196 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3197 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3198
3199 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3200
3201 [BZ #17601]
3202 * sysdeps/mips/start.S (__start): Use indirect jump to call
3203 __libc_start_main.
3204
3205 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3206
3207 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3208
3209 * nptl/tst-mutex1.c: Include <stdbool.h>.
3210 [!ATTR] (ATTR_NULL): New macro.
3211 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3212 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3213 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3214
3215 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3216 to char *.
3217
3218 [BZ #17665]
3219 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3220 Change conditional to [__USE_MISC].
3221
3222 [BZ #17664]
3223 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3224 fgets_unlocked.
3225 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3226 __fgets_unlocked.
3227 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3228 fgets_unlocked.
3229 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3230 Remove variable.
3231 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3232 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3233 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3234 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3235 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3236 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3237 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3238 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3239 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3240
3241 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3242
3243 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
3245 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3246 Remove strpbrk objects.
3247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3248 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3250 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3251 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3252 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3253
3254 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3255 Remove strcspn objects.
3256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3257 (__libc_ifunc_impl_list): Remove strcspn implementation.
3258 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3259 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3260 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3261 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3262
3263 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3264 Remove strspn objetcs.
3265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3266 (__libc_ifunc_impl_list): Remove strspn implementation.
3267 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3268 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3269 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3270 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3271
3272 2014-12-01 James Lemke <jwlemke@codesourcery.com>
3273
3274 [BZ #17581]
3275 * malloc/hooks.c
3276 (mem2mem_check): Add a terminator to the chain of checking blocks.
3277 (malloc_check_get_size): Use it here.
3278 (mem2chunk_check): Ditto.
3279
3280 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3281
3282 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3283 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3284
3285 2014-11-29 Carlos O'Donell <carlos@redhat.com>
3286
3287 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3288
3289 * nptl/nptl-init.c: Include libc-internal.h.
3290 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3291
3292 * elf/ldconfig.c (search_dir): Expand comment.
3293
3294 2014-11-29 Joseph Myers <joseph@codesourcery.com>
3295
3296 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3297 variable.
3298 (linknamespace-symlist-stdlibs-tests): Likewise.
3299 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3300 instead of $(objpfx)symlist-stdlibs.
3301 (linknamespace-libs-isoc): New variable.
3302 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3303 (linknamespace-libs-ISO): New variable.
3304 (linknamespace-libs-ISO99): Likewise.
3305 (linknamespace-libs-ISO11): Likewise.
3306 (linknamespace-libs-XPG3): Likewise.
3307 (linknamespace-libs-XPG4): Likewise.
3308 (linknamespace-libs-POSIX): Likewise.
3309 (linknamespace-libs-UNIX98): Likewise.
3310 (linknamespace-libs-XOPEN2K): Likewise.
3311 (linknamespace-libs-POSIX2008): Likewise.
3312 (linknamespace-libs-XOPEN2K8): Likewise.
3313 ($(objpfx)symlist-stdlibs): Replace by
3314 $(linknamespace-symlist-stdlibs-tests). Use
3315 $(linknamespace-libs-$*) as set of libraries.
3316 ($(linknamespace-header-tests)): Update dependencies. Use
3317 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3318 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3319 * conform/linknamespace.pl: Remove comment about considering
3320 definitions of symbols from irrelevant libraries.
3321
3322 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3323
3324 [BZ #13862]
3325 * elf/dl-tls.c: Include <atomic.h>.
3326 (oom): Remove #ifdef SHARED/#endif.
3327 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3328 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3329 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3330 big enough.
3331 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3332 * nptl/Makefile (tests): Add tst-stack4.
3333 (modules-names): Add tst-stack4mod.
3334 ($(objpfx)tst-stack4): New.
3335 (tst-stack4mod.sos): Likewise.
3336 ($(objpfx)tst-stack4.out): Likewise.
3337 ($(tst-stack4mod.sos)): Likewise.
3338 (clean): Likewise.
3339 * nptl/tst-stack4.c: New file.
3340 * nptl/tst-stack4mod.c: Likewise.
3341
3342 2014-11-27 J. Brown <jb999@gmx.de>
3343
3344 * sysdeps/x86/bits/string.h: Add recent CPUs.
3345
3346 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3347
3348 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3349 sigblock.
3350
3351 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3352 feof.
3353
3354 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3355 variable.
3356
3357 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3358
3359 * nscd/connections.c: Include libc-internal.h because of macro
3360 usage ignore_value.
3361
3362 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 * string/bits/string3.h (__warn_memset_zero_len): Don't
3365 declare for gcc newer than 5.0.
3366 (memset): Don't test for zero-length __LEN for gcc newer than
3367 5.0.
3368
3369 2014-11-27 Joseph Myers <joseph@codesourcery.com>
3370
3371 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3372 size_t for %zu format.
3373
3374 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3375 difference, not %ju.
3376
3377 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3378
3379 * include/libc-internal.h (ignore_value): New macro.
3380 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3381 with ignore_value.
3382
3383 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3384 definition.
3385
3386 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3387 pthread_cleanup_push to void *.
3388
3389 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3390 Undefine.
3391
3392 [BZ #16619]
3393 [BZ #16740]
3394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3395 instead of 1L << 52.
3396
3397 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3398 * libio/bug-rewind2.c (do_test): Likewise.
3399
3400 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3401 * debug/test-strcpy_chk-ifunc.c: Likewise.
3402 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3403 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3404 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3405 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3406 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3407 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3408 * Rules [$(multi-arch) = no] (tests): Do not filter out
3409 $(tests-ifunc).
3410 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3411 * debug/Makefile (tests-ifunc): Remove variable.
3412 (tests): Do not add $(tests-ifunc).
3413 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3414 (tests): Do not add $(tests-ifunc).
3415 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3416 [TEST_IFUNC]: Remove conditionals.
3417 * string/test-string.h (TEST_IFUNC): Remove macro.
3418 [TEST_IFUNC]: Remove conditionals.
3419
3420 * string/test-strchr.c [!WIDE] (L): New macro.
3421 [WIDE] (L): Likewise.
3422 (check1): Use CHAR instead of char. Use L on string and character
3423 constants.
3424
3425 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3426
3427 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3428 tests.
3429 * sysdeps/powerpc/bits/atomic.h
3430 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3431 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3432 (atomic_exchange_and_add_acq): Likewise.
3433 (atomic_exchange_and_add_rel): Likewise.
3434 * sysdeps/powerpc/powerpc32/bits/atomic.h
3435 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3436 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3437 * sysdeps/powerpc/powerpc64/bits/atomic.h
3438 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3439 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3440
3441 2014-11-26 Torvald Riegel <triegel@redhat.com>
3442
3443 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3444 Change synchronization of __sched_fifo_min_prio and
3445 __sched_fifo_max_prio.
3446 * nptl/pthread_mutexattr_getprioceiling.c
3447 (pthread_mutexattr_getprioceiling): Likewise.
3448 * nptl/pthread_mutexattr_setprioceiling.c
3449 (pthread_mutexattr_setprioceiling): Likewise.
3450 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3451 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3452 Likewise.
3453
3454 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3455
3456 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3457 void.
3458
3459 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3460
3461 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3462 third argument const.
3463
3464 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3465
3466 fnmatch: work around GCC compiler warning bug with uninit var
3467 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3468 This works around a bug with x86-64 GCC 4.9.2 and earlier
3469 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3470 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3471 used uninitialized in this function [-Wmaybe-uninitialized]".
3472
3473 2014-11-25 Joseph Myers <joseph@codesourcery.com>
3474
3475 * posix/bug-regex31.c (main): Return RES not 0.
3476
3477 2014-11-25 Anton Blanchard <anton@samba.org>
3478
3479 * sysdeps/powerpc/bits/atomic.h
3480 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3481
3482 2014-11-24 Sterling Augustine <saugustine@google.com>
3483
3484 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3485
3486 2014-11-24 Ryan Cumming <etaoins@gmail.com>
3487
3488 [BZ #17608]
3489 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3490
3491 2014-11-24 Joseph Myers <joseph@codesourcery.com>
3492
3493 [BZ #17633]
3494 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3495 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3496 variable.
3497 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3498 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3499
3500 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3501
3502 * string/strncpy.c (strncpy): Improve performance by using memset.
3503
3504 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3505
3506 * string/strcpy.c (strcpy):
3507 Improve performance by using strlen and memcpy.
3508
3509 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
3510
3511 * string/strcoll_l.c (get_next_seq): __always_inline.
3512 * string/strcoll_l.c (do_compare): __always_inline.
3513
3514 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
3516 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3517 defined.
3518 * include/mqueue.h: Likewise.
3519 * include/stdlib.h: Likewise.
3520
3521 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3522 (get_null_defines): Adjust.
3523 * sunrpc/Makefile: Adjust comment.
3524 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3525 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3526 (CFLAGS-interp.c): Likewise.
3527 (CFLAGS-ldconfig.c): Likewise.
3528 (CPPFLAGS-.os): Likewise.
3529 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3530 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3531 * extra-modules.mk (extra-modules.mk): Likewise.
3532 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3533 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3534 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3535 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3536 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3537 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3538 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3539 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3540 * iconvdata/Makefile (CPPFLAGS): Likewise.
3541 (cpp-srcs-left): Add libof for all iconvdata routines.
3542 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3543 * include/assert.h: Likewise.
3544 * include/ctype.h: Likewise.
3545 * include/errno.h: Likewise.
3546 * include/libc-symbols.h: Likewise.
3547 * include/math.h: Likewise.
3548 * include/netdb.h: Likewise.
3549 * include/resolv.h: Likewise.
3550 * include/stdio.h: Likewise.
3551 * include/stdlib.h: Likewise.
3552 * include/string.h: Likewise.
3553 * include/sys/stat.h: Likewise.
3554 * include/wctype.h: Likewise.
3555 * intl/l10nflist.c: Likewise.
3556 * libidn/idn-stub.c: Likewise.
3557 * libio/libioP.h: Likewise.
3558 * nptl/libc_multiple_threads.c: Likewise.
3559 * nptl/pthreadP.h: Likewise.
3560 * posix/regex_internal.h: Likewise.
3561 * resolv/res_hconf.c: Likewise.
3562 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3563 * sysdeps/arm/memmove.S: Likewise.
3564 * sysdeps/arm/sysdep.h: Likewise.
3565 * sysdeps/generic/_itoa.h: Likewise.
3566 * sysdeps/generic/symbol-hacks.h: Likewise.
3567 * sysdeps/gnu/errlist.awk: Likewise.
3568 * sysdeps/gnu/errlist.c: Likewise.
3569 * sysdeps/i386/i586/memcpy.S: Likewise.
3570 * sysdeps/i386/i586/memset.S: Likewise.
3571 * sysdeps/i386/i686/memcpy.S: Likewise.
3572 * sysdeps/i386/i686/memmove.S: Likewise.
3573 * sysdeps/i386/i686/mempcpy.S: Likewise.
3574 * sysdeps/i386/i686/memset.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3592 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3622 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3627 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3630 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3633 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3636 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3637 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3638 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3639 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3640 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3641 * sysdeps/posix/closedir.c: Likewise.
3642 * sysdeps/posix/opendir.c: Likewise.
3643 * sysdeps/posix/readdir.c: Likewise.
3644 * sysdeps/posix/rewinddir.c: Likewise.
3645 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3647 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3648 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3649 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3655 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3656 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3660 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3666 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3667 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3668 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3669 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3671 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3673 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3680 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3681 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3682 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3683 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3684 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3685 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3686 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3687 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3690 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3691 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3693 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3694 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3695 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3696 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3697 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3699 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3700 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3701 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3702 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3703 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3704 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3705 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3707 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3708 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3709 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3710 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3711 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3712 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3713 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3714 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3715 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3717 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3718 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3719 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3720 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3721 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3722 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3723 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3724 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3725 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3729 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3731 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3732 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3733 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3735 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3736 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3737 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3741 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3743 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3744 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3746 * sysdeps/unix/alpha/sysdep.S: Likewise.
3747 * sysdeps/unix/alpha/sysdep.h: Likewise.
3748 * sysdeps/unix/make-syscalls.sh: Likewise.
3749 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3751 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3752 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3753 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3754 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3755 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3756 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3757 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3758 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3759 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3760 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3762 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3763 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3764 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3765 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3766 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3767 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3768 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3769 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3770 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3771 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3772 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3773 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3774 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3775 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3778 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3779 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3783 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3787 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3788 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3789 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3790 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3791 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3792 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3793 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3799 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3800 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3801 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3802 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3807 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3808 * sysdeps/x86_64/memcpy.S: Likewise.
3809 * sysdeps/x86_64/memmove.c: Likewise.
3810 * sysdeps/x86_64/memset.S: Likewise.
3811 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3813 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3814 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3815 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3817 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3818 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3819 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3820 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3821 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3822 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3823 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3824 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3825 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3826 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3827 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3828 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3829 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3830 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3831 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3832 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3835 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3836 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3837 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3838 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3839 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3840 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3841 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3842 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3843 * sysdeps/x86_64/strcmp.S: Likewise.
3844
3845 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3846
3847 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3848 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3849 * elf/rtld-Rules: Likewise.
3850 * elf/setup-vdso.h: Likewise.
3851 * include/assert.h: Likewise.
3852 * include/bits/stdlib-float.h: Likewise.
3853 * include/errno.h: Likewise.
3854 * include/sys/stat.h: Likewise.
3855 * include/unistd.h: Likewise.
3856 * sysdeps/aarch64/setjmp.S: Likewise.
3857 * sysdeps/alpha/setjmp.S: Likewise.
3858 * sysdeps/arm/__longjmp.S: Likewise.
3859 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3860 * sysdeps/arm/setjmp.S: Likewise.
3861 * sysdeps/arm/sysdep.h: Likewise.
3862 * sysdeps/generic/_itoa.h: Likewise.
3863 * sysdeps/generic/dl-sysdep.h: Likewise.
3864 * sysdeps/generic/ldsodefs.h: Likewise.
3865 * sysdeps/i386/dl-tls.h: Likewise.
3866 * sysdeps/i386/setjmp.S: Likewise.
3867 * sysdeps/m68k/setjmp.c: Likewise.
3868 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3869 * sysdeps/mach/hurd/opendir.c: Likewise.
3870 * sysdeps/posix/getcwd.c: Likewise.
3871 * sysdeps/posix/opendir.c: Likewise.
3872 * sysdeps/posix/profil.c: Likewise.
3873 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3876 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3877 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3879 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3880 * sysdeps/s390/dl-tls.h: Likewise.
3881 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3882 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3883 * sysdeps/sh/sh3/setjmp.S: Likewise.
3884 * sysdeps/sh/sh4/setjmp.S: Likewise.
3885 * sysdeps/unix/alpha/sysdep.h: Likewise.
3886 * sysdeps/unix/arm/sysdep.S: Likewise.
3887 * sysdeps/unix/i386/sysdep.S: Likewise.
3888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3889 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3890 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3891 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3892 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3893 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3894 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3895 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3896 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3897 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3898 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3899 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3900 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3903 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3906 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3911 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3912 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3913 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3915 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3916 * sysdeps/x86_64/setjmp.S: Likewise.
3917
3918 * include/math.h: Use IS_IN instead of IS_IN_libm.
3919 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3931 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3939 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3940 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3941 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3942 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3943 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3944 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3946 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3947 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3948 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3949 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3950 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3953 Likewise.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3955 Likewise.
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3957 Likewise.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3959 Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3961 Likewise.
3962 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3964 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3965 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3973 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3976 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3977 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3978 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3980 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3986 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3988 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3989
3990 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3991 * nptl/pthreadP.h: Likewise.
3992 * nptl_db/structs.def: Likewise.
3993 * sysdeps/arm/sysdep.h: Likewise.
3994 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3995 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3996 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3997 * sysdeps/unix/alpha/sysdep.h: Likewise.
3998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4000 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4001 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4002 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4003 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4004 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4005 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4006 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4007 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4008 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4009 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4010 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4011 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4015 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4016 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4019 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4020 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4021 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4022 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4023 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4024
4025 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4026 * nptl/pthreadP.h: Likewise.
4027 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4028 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4029 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4030 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4031 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4032 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4033 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4034 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4035 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4036 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4037 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4038 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4040 Likewise.
4041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4042 Likewise.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4045 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4048 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4049 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4050 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4051
4052 * dlfcn/dladdr.c: Use IS_IN.
4053 * dlfcn/dladdr1.c: Likewise.
4054 * dlfcn/dlclose.c: Likewise.
4055 * dlfcn/dlerror.c: Likewise.
4056 * dlfcn/dlinfo.c: Likewise.
4057 * dlfcn/dlmopen.c: Likewise.
4058 * dlfcn/dlopen.c: Likewise.
4059 * dlfcn/dlsym.c: Likewise.
4060 * dlfcn/dlvsym.c: Likewise.
4061
4062 * include/ifaddrs.h: Use IS_IN.
4063 * inet/check_pf.c: Likewise.
4064 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4065 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4066
4067 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4068 IS_IN_ldconfig.
4069 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4070 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4071
4072 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4073 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4074 IS_IN (libc).
4075
4076 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4077
4078 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4079 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4080 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4081 * include/libc-symbols.h (IS_IN_LIB): New macro.
4082 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4083 * include/netdb.h: Likewise.
4084 * include/stap-probe.h: Remove all uses of IN_LIB.
4085
4086 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4087 instead of IN_MODULE.
4088 * include/libc-symbols.h (IN_MODULE): Define using
4089 MODULE_NAME.
4090 (PASTE_NAME, PASTE_NAME1): New macros.
4091 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4092 of IN_LIB.
4093 (STAP_PROBE_ASM): Likewise.
4094
4095 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4096
4097 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4098 __mach_init in dlopened libc.
4099
4100 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4101
4102 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4103 * sysdeps/arm/preconfigure: Regenerate.
4104
4105 2014-11-21 Roland McGrath <roland@hack.frob.com>
4106
4107 * nptl/pthread_create.c (__pthread_create_2_1): Set
4108 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4109 when copying values from IATTR into PD.
4110
4111 2014-11-21 Will Newton <will.newton@linaro.org>
4112 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4113
4114 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4115 Refactor inline-asm. Also add comment.
4116
4117 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4118 ElfW macro instead of hardcoded Elf64 types.
4119 (la_aarch64_gnu_pltenter): Likewise.
4120 * sysdeps/aarch64/dl-machine.h
4121 (elf_machine_runtime_setup): Use ElfW(Addr).
4122
4123 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4124 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4125 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4126 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4127 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4128 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4129 (R_AARCH64_TLS_DTPMOD): This.
4130 (R_AARCH64_TLS_DTPREL64): Rename to ...
4131 (R_AARCH64_TLS_DTPREL): This.
4132 (R_AARCH64_TLS_TPREL64): Rename to ...
4133 (R_AARCH64_TLS_TPREL): This.
4134 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4135 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4136 R_AARCH64_TLS_TPREL64.
4137 (elf_machine_rela): Likewise.
4138
4139 2014-11-21 Torvald Riegel <triegel@redhat.com>
4140
4141 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4142 by setting it to 0. 64b atomics are not supported currently.
4143
4144 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4145
4146 [BZ #16469]
4147 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4148 search domain names.
4149
4150 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4151
4152 [BZ #16469]
4153 * NEWS: Update.
4154 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4155 trailing dot.
4156 * posix/tst-getaddrinfo5.c: New.
4157 * posix/Makefile (tests): Add it.
4158
4159 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4160
4161 [BZ #14498]
4162 * NEWS: Fixed.
4163 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4164 after parsing line but before break_if_match.
4165 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4166 if there is a protocol mismatch.
4167
4168 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4169
4170 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4171 because the potential race is on the user-supplied stream.
4172
4173 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4174
4175 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4176 string literal if not passed a buffer.
4177 * manual/job.texi (ctermid): Update reasoning, note deviation
4178 from posix, suggest mtasurace when not passed a buffer, for
4179 future non-preliminary safety notes.
4180
4181 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4182
4183 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4184 of not passing it a buffer.
4185 Reported by Peng Haitao.
4186
4187 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4188
4189 * manual/Makefile ($(objpfx)stamp-summary): Require
4190 check-safety.sh to pass.
4191 * manual/check-safety.sh: Wish for verification that every
4192 @deftypefn and @deftypefun is followed by a @safety remark.
4193
4194 2014-11-20 Roland McGrath <roland@hack.frob.com>
4195
4196 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4197
4198 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4199 PTHREAD_CANCEL_ASYNCHRONOUS.
4200 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4201 send SIGCANCEL.
4202
4203 * nptl/default-sched.h: New file.
4204 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4205 * nptl/pthread_create.c: Include it.
4206 (__pthread_create_2_1): Use collect_default_sched instead of making
4207 Linux syscalls here directly.
4208
4209 2014-11-20 Torvald Riegel <triegel@redhat.com>
4210
4211 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4212 __pthread_once): Use C11 atomics.
4213
4214 2014-11-20 Torvald Riegel <triegel@redhat.com>
4215
4216 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4217
4218 2014-11-20 Torvald Riegel <triegel@redhat.com>
4219
4220 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4221 atomic_thread_fence_acquire, atomic_thread_fence_release,
4222 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4223 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4224 atomic_compare_exchange_weak_relaxed,
4225 atomic_compare_exchange_weak_acquire,
4226 atomic_compare_exchange_weak_release,
4227 atomic_exchange_acquire, atomic_exchange_release,
4228 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4229 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4230 atomic_fetch_and_acquire,
4231 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4232
4233 2014-11-20 Torvald Riegel <triegel@redhat.com>
4234
4235 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4236 USE_ATOMIC_COMPILER_BUILTINS): Define.
4237 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4238 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4239 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4241 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4243 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4245 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4247 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4249 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4251 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4253 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4255 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4256 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4257 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4259 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4260 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4262 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4263 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4265 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4266 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4267 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4269 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4271 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4272 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4273 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4275 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4277
4278 2014-11-19 Roland McGrath <roland@hack.frob.com>
4279
4280 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4281 the sched_priority value here. It was already checked when the user
4282 called pthread_attr_setschedparam.
4283
4284 * nptl/tst-bad-schedattr.c: New file.
4285 * nptl/Makefile (tests): Add it.
4286
4287 2014-11-19 Carlos O'Donell <carlos@redhat.com>
4288 Florian Weimer <fweimer@redhat.com>
4289 Joseph Myers <joseph@codesourcery.com>
4290 Adam Conrad <adconrad@0c3.net>
4291 Andreas Schwab <schwab@suse.de>
4292 Brooks <bmoses@google.com>
4293
4294 [BZ #17625]
4295 * wordexp-test.c (__dso_handle): Add prototype.
4296 (__register_atfork): Likewise.
4297 (__app_register_atfork): New function.
4298 (registered_forks): New global.
4299 (register_fork): New function.
4300 (test_case): Add 3 new tests for WRDE_CMDSUB.
4301 (main): Call __app_register_atfork.
4302 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4303 fork count is non-zero fail the test.
4304 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4305 is set.
4306 (parse_dollars): Remove check for WRDE_NOCMD.
4307 (parse_dquote): Likewise.
4308
4309 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4310
4311 * Makeconfig (built-modules): List non-library modules to be
4312 built.
4313 (module-cppflags): Include libc-modules.h for
4314 everything except shlib-versions.v.i.
4315 (CPPFLAGS): Use it.
4316 (before-compile): Add libc-modules.h.
4317 ($(common-objpfx)libc-modules.h,
4318 $(common-objpfx)libc-modules.stmp): New targets.
4319 (common-generated): Add libc-modules.h and libc-modules.stmp.
4320 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4321 * include/libc-symbols.h: Don't include libc-modules.h.
4322 * include/libc-modules.h: Remove file.
4323 * scripts/gen-libc-modules.awk: New script to generate
4324 libc-modules.h.
4325 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4326 Depend on libc-modules.stmp.
4327
4328 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4329
4330 * Makeconfig (in-module): Get value of libof set for the
4331 translation unit.
4332 (CPPFLAGS): Use $(in-module).
4333 * Makerules: Don't suffix routine names for nonlib.
4334 * include/libc-modules.h: New file.
4335 * include/libc-symbols.h: Include libc-modules.h
4336 (IS_IN): New macro to replace IS_IN_* macros.
4337 * elf/Makefile: Set libof-* for each routine.
4338 * elf/rtld-Rules: Likewise.
4339 * extra-modules.mk: Likewise.
4340 * iconv/Makefile: Likewise.
4341 * iconvdata/Makefile: Likewise.
4342 * locale/Makefile: Likewise.
4343 * malloc/Makefile: Likewise.
4344 * nss/Makefile: Likewise.
4345 * sysdeps/gnu/Makefile: Likewise.
4346 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4347 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4348 * sysdeps/s390/s390-64/Makefile: Likewise.
4349 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4350 CPPFLAGS for nscd instead of nonlib.
4351
4352 2014-11-18 Roland McGrath <roland@hack.frob.com>
4353
4354 * nptl/createthread.c: New file.
4355
4356 * nptl/createthread.c: Moved ...
4357 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4358
4359 * nptl/createthread.c: Add proper top-line comment.
4360 (do_clone): Folded into ...
4361 (create_thread): ... here. Take new arguments STOPPED_START and
4362 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4363 increment __nptl_threads, do event-reporting logic, do
4364 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4365 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4366 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4367 just send SIGCANCEL.
4368 * nptl/pthread_create.c: Forward-declare create_thread before
4369 including createthread.c.
4370 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4371 declaration, and new macro START_THREAD_SELF to replace argument.
4372 Remove return statement.
4373 (report_thread_creation): New function.
4374 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4375 synchronization logic, and __nptl_nthreads increment here, around
4376 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4377 PD->parent_cancelhandling here, before create_thread. When
4378 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4379 __deallocate_stack, and ENOMEM translation here.
4380
4381 2014-11-18 Joseph Myers <joseph@codesourcery.com>
4382
4383 [BZ #17616]
4384 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4385 (mptwo): Rename to __mptwo.
4386 (__inv): Use __mptwo instead of mptwo.
4387 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4388 (mptwo): Rename to __mptwo.
4389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4390 of mpone and __mptwo instead of mptwo.
4391 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4392 instead of mpone.
4393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4394 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4395 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4396 of mpone and __mptwo instead of mptwo.
4397 (__mpranred): Use __mpone instead of mpone.
4398 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4399 variable.
4400 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4401 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4402 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4403 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4404 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4405 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4406 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4407 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4408 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4409 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4410 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4411 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4412 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4413 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4414 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4415 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4416 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4417 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4418 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4419
4420 2014-11-18 Tom de Vries <tom@codesoucery.com>
4421
4422 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4423 replace BSD Handler xref with BSD Signal Handling.
4424
4425 2014-11-17 Richard Henderson <rth@redhat.com>
4426
4427 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4428 (_FP_PACK_RAW_2): Remove.
4429 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4430 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4431 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4432 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4433 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4434 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4435 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4436 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4437 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4438 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4439 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4440 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4441 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4442 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4443 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4444 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4445
4446 2014-11-14 Roland McGrath <roland@hack.frob.com>
4447
4448 * signal/signal.h [__USE_MISC]
4449 (struct sigvec): Remove type.
4450 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4451 (sigvec): Remove declaration.
4452 * sysdeps/posix/sigvec.c: Moved ...
4453 * signal/sigvec.c: ... here, replacing old file.
4454 (struct sigvec): New type, copied from old signal.h definition.
4455 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4456 (__sigvec): Convert definition to prototype.
4457 (sigvec): Replace weak_alias with compat_symbol.
4458 * signal/Versions (libc: GLIBC_2.21): New version set.
4459 * include/signal.h: Remove __sigvec declaration.
4460 * sysdeps/unix/bsd/sigvec.c: Remove file.
4461 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4462 * manual/signal.texi (BSD Handler): Remove subsection.
4463 Move siginterrupt up to ...
4464 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4465 (Blocking in BSD): Fold subsection into its parent.
4466 * NEWS: Mention sigvec removal.
4467
4468 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4469
4470 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4471 (DLA_FMS): Make definition conditional only on [__FMA4__].
4472 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4473 definition.
4474
4475 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4476 Make definition conditional only on [PROF].
4477 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4478 definition.
4479 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4480 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4481
4482 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4483 !__GNUC__].
4484 * include/signal.h (__sigpause): Move declaration above call to
4485 libc_hidden_proto.
4486 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4487 variable.
4488 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4489 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4490
4491 2014-11-14 David S. Miller <davem@davemloft.net>
4492
4493 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4494 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4495
4496 2014-11-14 Joseph Myers <joseph@codesourcery.com>
4497
4498 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4499 * configure: Regenerated.
4500 * manual/install.texi (Tools for Compilation): Document a
4501 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4502 compiler verified to work.
4503 * INSTALL: Regenerated.
4504
4505 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4506 redeclare with asm name.
4507 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4508 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4509 including <string.h>.
4510 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4511 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4512 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4513 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4514 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4515 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4516 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4517
4518 2014-11-13 Joseph Myers <joseph@codesourcery.com>
4519
4520 * stdlib/strtol.c (__strtol): Use prototype definition.
4521
4522 [BZ #17594]
4523 * stdlib/strtol.c (SYM__): New macro.
4524 (SYM__1): Likewise.
4525 (__strtol): Likewise.
4526 (strtol): Rename to __strtol and define as weak alias of
4527 __strtol. Use libc_hidden_weak.
4528
4529 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4530
4531 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4532 Use numbered labels in inline assembly.
4533
4534 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4535
4536 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4537 Add setjmp LIBC_PROBE.
4538 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4539 Likewise.
4540 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4541 Add longjmp, longjmp_target LIBC_PROBE.
4542 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4543 Likewise.
4544
4545 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4546
4547 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4548 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4549 to get rid of unused variable warning.
4550
4551 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4552
4553 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4554 Check for unwind_backtrace == NULL only in SHARED case.
4555 (__backchain_backtrace): Compile only in SHARED case.
4556 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4557 Likewise.
4558 (__backchain_backtrace): Declare as static.
4559
4560 2014-11-12 Roland McGrath <roland@hack.frob.com>
4561
4562 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4563 (__libc_multiple_threads_ptr): Variable moved ...
4564 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4565
4566 2014-11-12 Joseph Myers <joseph@codesourcery.com>
4567
4568 * conform/GlibcConform.pm: New file.
4569 * conform/conformtest.pl: Use GlibcConform module.
4570 * conform/linknamespace.pl: New file.
4571 * conform/list-header-symbols.pl: Likewise.
4572 * conform/Makefile (linknamespace-symlists-base): New variable.
4573 (linknamespace-symlists-tests): Likewise.
4574 (linknamespace-header-base): Likewise.
4575 (linknamespace-header-tests): Likewise.
4576 (tests-special): Add new tests.
4577 ($(linknamespace-symlists-tests)): New rule.
4578 (linknamespace-libs): New variable.
4579 ($(objpfx)symlist-stdlibs): New rule.
4580 ($(linknamespace-header-tests)): Likewise.
4581 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4582 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4583 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4584 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4585 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4586 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4587 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4588 (test-xfail-ISO/math.h/linknamespace): Likewise.
4589 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4590 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4591 (test-xfail-ISO/time.h/linknamespace): Likewise.
4592 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4593 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4594 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4595 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4596 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4597 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4598 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4599 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4600 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4601 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4602 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4603 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4604 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4605 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4606 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4607 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4608 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4609 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4610 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4611 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4612 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4613 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4614 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4615 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4616 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4617 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4618 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4619 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4620 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4621 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4622 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4623 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4624 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4625 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4626 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4627 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4628 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4629 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4630 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4631 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4632 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4633 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4634 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4635 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4636 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4637 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4638 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4639 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4640 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4641 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4642 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4643 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4644 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4645 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4646 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4647 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4648 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4649 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4650 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4651 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4652 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4653 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4654 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4655 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4656 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4657 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4658 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4659 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4660 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4661 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4662 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4663 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4664 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4665 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4666 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4667 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4668 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4669 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4670 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4673 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4684 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4686 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4687 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4688 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4689 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4690 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4691 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4692 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4693 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4694 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4695 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4696 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4697 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4698 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4699 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4700 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4701 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4702 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4703 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4704 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4705 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4706 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4707 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4708 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4709 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4710 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4711 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4712 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4713 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4714 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4715 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4716 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4717 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4718 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4719 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4720 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4721 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4722 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4723 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4724 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4725 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4726 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4727 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4728 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4729 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4730 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4731 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4732 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4733 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4734 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4735 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4736 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4737 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4738 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4739 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4740 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4741 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4742
4743 [BZ #17589]
4744 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4745 of fgets_unlocked.
4746
4747 [BZ #17585]
4748 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4749 (memmem): Rename to __memmem and define as weak alias of
4750 __memmem. Use libc_hidden_weak.
4751 (__memmem): Use libc_hidden_def.
4752 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4753 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4754 memmem.
4755
4756 [BZ #17582]
4757 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4758 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4759 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4760 and define as weak alias of __fgets_unlocked. Use
4761 libc_hidden_weak.
4762 (__fgets_unlocked): Use libc_hidden_def.
4763 * include/stdio.h (__fgets_unlocked): Declare. Use
4764 libc_hidden_proto.
4765 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4766 __fgets_unlocked instead of fgets_unlocked.
4767 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4768 (GET_NPROCS_CONF_PARSER): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4770 (GET_NPROCS_CONF_PARSER): Likewise.
4771
4772 [BZ #17574]
4773 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4774 weak alias of __wmemset. Use libc_hidden_weak.
4775 (__wmemset): Use libc_hidden_def.
4776 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4777 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4778 of wmemset.
4779
4780 [BZ #17573]
4781 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4782 with asm name __mempcpy.
4783 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4784
4785 [BZ #17572]
4786 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4787 and define as weak alias of __rawmemchr.
4788 (__rawmemchr): Do not define as strong alias of rawmemchr.
4789
4790 [BZ #17571]
4791 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4792 alias of __qsort_r.
4793 (qsort): Call __qsort_r instead of qsort_r.
4794 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4795 (__qsort_r): Declare. Call libc_hidden_proto.
4796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4797 instead of qsort_r.
4798 * nscd/gai.c (__qsort_r): Define to qsort_r.
4799 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4800 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4801 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4802
4803 [BZ #17570]
4804 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4805 define as weak alias of __malloc_info.
4806
4807 [BZ #17584]
4808 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4809 as weak alias of __rewinddir. Don't use libc_hidden_def.
4810 (__rewinddir): Use libc_hidden_def.
4811 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4812 as weak alias of __rewinddir. Don't use libc_hidden_def.
4813 (__rewinddir): Use libc_hidden_def.
4814 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4815 weak alias of __rewinddir. Don't use libc_hidden_def.
4816 (__rewinddir): Use libc_hidden_def.
4817 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4818 (__rewinddir): Use libc_hidden_proto.
4819 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4820 rewinddir.
4821 (__getcwd): Use __rewinddir instead of rewinddir.
4822
4823 [BZ #17583]
4824 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4825 alias of __fileno. Use libc_hidden_weak.
4826 (__fileno): Use libc_hidden_def.
4827 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4828 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4829 alias of __ftello.
4830 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4831 __ftello.
4832 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4833 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4834 libc_hidden_def.
4835 (fread_unlocked): Don't use libc_hidden_ver.
4836 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4837 and define as weak alias of __fread_unlocked. Don't use
4838 libc_hidden_def.
4839 (__fread_unlocked): Use libc_hidden_def.
4840 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4841 (ftello): Don't use libc_hidden_proto.
4842 (__ftello): Declare. Use libc_hidden_proto.
4843 (fread_unlocked): Don't use libc_hidden_proto.
4844 (__fread_unlocked): Declare. Use libc_hidden_proto.
4845 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4846 and __ftello instead of fileno, fread_unlocked and ftello.
4847
4848 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4849
4850 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4851 GOT12.
4852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4853 Likewise.
4854 (_dl_start_user): Likewise.
4855 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4856
4857 2014-11-12 Carlos O'Donell <carlos@redhat.com>
4858 Siddhesh Poyarekar <siddhesh@redhat.com>
4859
4860 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4861 Move argv and envp down instead of moving argc up.
4862 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4863
4864 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
4865
4866 [BZ #17506]
4867 * test-skeleton.c (main): Return successful if one of
4868 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4869 * string/tst-strcoll-overflow.c: Define expected status.
4870
4871 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4872
4873 [BZ #17475]
4874 * locale/iso-639.def: Define Bhili and Tulu language codes.
4875
4876 2014-11-11 Alan Hayward <alan.hayward@arm.com>
4877
4878 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4879
4880 2014-11-10 Renlin Li <Renlin.Li@arm.com>
4881
4882 [BZ #17555]
4883 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4884
4885 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4886
4887 * configure.ac: Updated check of minimal required version to
4888 2.22.
4889 * manual/install.texi (Tools for Compilation): Updated version
4890 number.
4891 * configure: Regenerated.
4892 * INSTALL: Likewise.
4893
4894 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4895
4896 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4897 __tls_get_addr.
4898
4899 2014-11-07 Joseph Myers <joseph@codesourcery.com>
4900
4901 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4902 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4903 (__waitpid): Don't define as alias. Use libc_hidden_def not
4904 libc_hidden_weak.
4905 (waitpid): Define as alias of __waitpid.
4906 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4907 __waitpid.
4908 (__waitpid): Don't define as alias. Use libc_hidden_def not
4909 libc_hidden_weak.
4910 (waitpid): Define as alias of __waitpid.
4911 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4912 __libc_waitpid alias.
4913 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4915 Likewise.
4916 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4918 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4919 alias.
4920 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4921 __waitpid.
4922 (__waitpid): Don't define as alias. Use libc_hidden_def not
4923 libc_hidden_weak.
4924 (waitpid): Define as alias of __waitpid.
4925
4926 2014-11-06 Carlos O'Donell <carlos@redhat.com>
4927
4928 * manual/llio.texi: Add comment that write safety has been
4929 fixed in Linux.
4930
4931 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4932 (localplt-build-dso): Add elf/ld.so.
4933 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4934 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4935 and free for ld.so.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4937 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4939 Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4941 Likewise.
4942 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4943 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4944 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4945 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4946 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4947 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4948 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4949 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4950 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4953
4954 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4955
4956 [BZ #14132]
4957 * include/libc-symbols.h (INTUSE): Remove macro.
4958 (INTDEF): Likewise.
4959 (INTVARDEF): Likewise.
4960 (_INTVARDEF): Likewise.
4961 (INTDEF2): Likewise.
4962 (INTVARDEF2): Likewise.
4963 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4964 rtld_hidden_def instead of INTVARDEF.
4965 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4966 (_dl_starting_up_internal): Remove declaration.
4967 (_dl_starting_up): Use rtld_hidden_proto.
4968 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4969 declaration.
4970 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4971 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4972 _dl_starting_up.
4973 * elf/dl-writev.h (_dl_writev): Likewise.
4974 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4975 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4976 _dl_starting_up_internal.
4977
4978 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4979
4980 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4981 test-skeleton.c.
4982
4983 2014-11-05 Will Newton <will.newton@linaro.org>
4984
4985 * benchtests/Makefile: (bench-malloc): Add malloc thread
4986 scalability benchmark.
4987 * benchtests/bench-malloc-threads.c: New file.
4988
4989 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4990
4991 * sysdeps/aarch64/strchrnul.S: New file.
4992
4993 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4994
4995 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4996 definition.
4997 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4998 Likwise.
4999 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5000 Likewise.
5001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5002 Likewise.
5003 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5004 Likewise.
5005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5006 Likewise.
5007
5008 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5009
5010 * catgets/test-gencat.c: Use test-skeleton.c.
5011 * catgets/tst-catgets.c: Likewise.
5012 * csu/tst-empty.c: Likewise.
5013 * elf/tst-audit2.c: Likewise.
5014 * elf/tst-global1.c: Likewise.
5015 * elf/tst-pathopt.c: Likewise.
5016 * elf/tst-piemod1.c: Likewise.
5017 * elf/tst-tls10.c: Likewise.
5018 * elf/tst-tls11.c: Likewise.
5019 * elf/tst-tls12.c: Likewise.
5020 * gnulib/tst-gcc.c: Likewise.
5021 * iconvdata/tst-e2big.c: Likewise.
5022 * iconvdata/tst-loading.c: Likewise.
5023 * iconv/tst-iconv1.c: Likewise.
5024 * iconv/tst-iconv2.c: Likewise.
5025 * inet/test-inet6_opt.c: Likewise.
5026 * inet/tst-gethnm.c: Likewise.
5027 * inet/tst-network.c: Likewise.
5028 * inet/tst-ntoa.c: Likewise.
5029 * intl/tst-codeset.c: Likewise.
5030 * intl/tst-gettext2.c: Likewise.
5031 * intl/tst-gettext3.c: Likewise.
5032 * intl/tst-ngettext.c: Likewise.
5033 * intl/tst-translit.c: Likewise.
5034 * io/test-stat.c: Likewise.
5035 * libio/test-fmemopen.c: Likewise.
5036 * libio/tst-freopen.c: Likewise.
5037 * libio/tst-sscanf.c: Likewise.
5038 * libio/tst-ungetwc1.c: Likewise.
5039 * libio/tst-ungetwc2.c: Likewise.
5040 * libio/tst-widetext.c: Likewise.
5041 * localedata/tst-ctype.c: Likewise.
5042 * localedata/tst-digits.c: Likewise.
5043 * localedata/tst-leaks.c: Likewise.
5044 * localedata/tst-mbswcs1.c: Likewise.
5045 * localedata/tst-mbswcs2.c: Likewise.
5046 * localedata/tst-mbswcs3.c: Likewise.
5047 * localedata/tst-mbswcs4.c: Likewise.
5048 * localedata/tst-mbswcs5.c: Likewise.
5049 * localedata/tst-setlocale.c: Likewise.
5050 * localedata/tst-trans.c: Likewise.
5051 * localedata/tst-wctype.c: Likewise.
5052 * localedata/tst-xlocale1.c: Likewise.
5053 * login/tst-grantpt.c: Likewise.
5054 * malloc/tst-calloc.c: Likewise.
5055 * malloc/tst-malloc.c: Likewise.
5056 * malloc/tst-mallocstate.c: Likewise.
5057 * malloc/tst-mcheck.c: Likewise.
5058 * malloc/tst-mtrace.c: Likewise.
5059 * malloc/tst-obstack.c: Likewise.
5060 * math/atest-exp2.c: Likewise.
5061 * math/atest-exp.c: Likewise.
5062 * math/atest-sincos.c: Likewise.
5063 * math/test-matherr.c: Likewise.
5064 * math/test-misc.c: Likewise.
5065 * math/test-powl.c: Likewise.
5066 * math/tst-definitions.c: Likewise.
5067 * misc/tst-dirname.c: Likewise.
5068 * misc/tst-efgcvt.c: Likewise.
5069 * misc/tst-fdset.c: Likewise.
5070 * misc/tst-hsearch.c: Likewise.
5071 * misc/tst-mntent2.c: Likewise.
5072 * nptl/tst-sem7.c: Likewise.
5073 * nptl/tst-sem8.c: Likewise.
5074 * nptl/tst-sem9.c: Likewise.
5075 * nss/test-netdb.c: Likewise.
5076 * posix/tst-fnmatch.c: Likewise.
5077 * posix/tst-getlogin.c: Likewise.
5078 * posix/tst-gnuglob.c: Likewise.
5079 * posix/tst-mmap.c: Likewise.
5080 * pwd/tst-getpw.c: Likewise.
5081 * resolv/tst-inet_ntop.c: Likewise.
5082 * rt/tst-timer.c: Likewise.
5083 * stdio-common/test-fseek.c: Likewise.
5084 * stdio-common/test-popen.c: Likewise.
5085 * stdio-common/test-vfprintf.c: Likewise.
5086 * stdio-common/tst-cookie.c: Likewise.
5087 * stdio-common/tst-fileno.c: Likewise.
5088 * stdio-common/tst-gets.c: Likewise.
5089 * stdio-common/tst-obprintf.c: Likewise.
5090 * stdio-common/tst-perror.c: Likewise.
5091 * stdio-common/tst-sprintf2.c: Likewise.
5092 * stdio-common/tst-sprintf3.c: Likewise.
5093 * stdio-common/tst-sprintf.c: Likewise.
5094 * stdio-common/tst-swprintf.c: Likewise.
5095 * stdio-common/tst-tmpnam.c: Likewise.
5096 * stdio-common/tst-unbputc.c: Likewise.
5097 * stdio-common/tst-wc-printf.c: Likewise.
5098 * stdlib/tst-environ.c: Likewise.
5099 * stdlib/tst-fmtmsg.c: Likewise.
5100 * stdlib/tst-limits.c: Likewise.
5101 * stdlib/tst-rand48-2.c: Likewise.
5102 * stdlib/tst-rand48.c: Likewise.
5103 * stdlib/tst-random2.c: Likewise.
5104 * stdlib/tst-random.c: Likewise.
5105 * stdlib/tst-strtol.c: Likewise.
5106 * stdlib/tst-strtoll.c: Likewise.
5107 * stdlib/tst-tls-atexit.c: Likewise.
5108 * stdlib/tst-xpg-basename.c: Likewise.
5109 * string/test-ffs.c: Likewise.
5110 * string/tst-bswap.c: Likewise.
5111 * string/tst-inlcall.c: Likewise.
5112 * string/tst-strtok.c: Likewise.
5113 * string/tst-strxfrm.c: Likewise.
5114 * sysdeps/x86_64/tst-audit10.c: Likewise.
5115 * sysdeps/x86_64/tst-audit3.c: Likewise.
5116 * sysdeps/x86_64/tst-audit4.c: Likewise.
5117 * sysdeps/x86_64/tst-audit5.c: Likewise.
5118 * time/tst-ftime_l.c: Likewise.
5119 * time/tst-getdate.c: Likewise.
5120 * time/tst-mktime3.c: Likewise.
5121 * time/tst-mktime.c: Likewise.
5122 * time/tst-posixtz.c: Likewise.
5123 * time/tst-strptime2.c: Likewise.
5124 * time/tst-strptime3.c: Likewise.
5125 * wcsmbs/tst-btowc.c: Likewise.
5126 * wcsmbs/tst-mbrtowc.c: Likewise.
5127 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5128 * wcsmbs/tst-wchar-h.c: Likewise.
5129 * wcsmbs/tst-wcpncpy.c: Likewise.
5130 * wcsmbs/tst-wcrtomb.c: Likewise.
5131 * wcsmbs/tst-wcsnlen.c: Likewise.
5132 * wcsmbs/tst-wcstof.c: Likewise.
5133
5134 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5135
5136 [BZ #14132]
5137 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5138 INTDEF.
5139 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5140 declaration.
5141 (_dl_mcount): Use rtld_hidden_proto.
5142 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5143 _dl_mcount.
5144 * elf/rtld.c (_rtld_global_ro): Likewise.
5145
5146 [BZ #14132]
5147 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5148 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5149 of _dl_init_internal.
5150 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5151 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5152 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5153 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5154 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5155 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5156 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5157 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5158 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5159 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5160 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5161 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5162 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5163 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5164 * sysdeps/tile/dl-start.S (_start): Likewise.
5165 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5166 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5167
5168 [BZ #14132]
5169 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5170 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5171 (rtld_progname): Make macro definition unconditional.
5172 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5173 INTDEF.
5174 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5175 (dl_main): Likewise.
5176 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5177 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5178 instead of _dl_argv_internal.
5179 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5180 __GI__dl_argv instead of INTUSE(_dl_argv).
5181 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5182 __GI__dl_argv instead of _dl_argv_internal.
5183
5184 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5185 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5186 macro.
5187 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5188 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5189 New macro.
5190 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5191 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5192 macro.
5193 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5194 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5195
5196 2014-11-04 Andreas Schwab <schwab@suse.de>
5197
5198 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5199
5200 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5203 mtvsrd instruction in binary form.
5204
5205 2014-11-03 Andreas Schwab <schwab@suse.de>
5206
5207 [BZ #17522]
5208 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5209 for less than MB_LEN_MAX use a local buffer of that size.
5210 * libio/tst-fputws.c: New file.
5211 * libio/Makefile (tests): Add tst-fputws.
5212
5213 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5214
5215 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5216 the size of the fpu_fr.fpu_dregs[] array.
5217
5218 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5219
5220 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5221 (__nanosleep): Do not define as alias.
5222 (nanosleep): Define as alias of __nanosleep.
5223 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5224 __libc_nanosleep name.
5225
5226 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5227
5228 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5229 install.texi in comment.
5230
5231 2014-10-31 Torvald Riegel <triegel@redhat.com>
5232
5233 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5234 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5235 ... add here and use lwsync or sync ...
5236 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5237 ... and add here using lwsync.
5238
5239 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5240
5241 * elf/dl-machine-reject-phdr.h: New file.
5242 * elf/dl-load.c: #include that.
5243 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5244 if that returned true.
5245
5246 2014-10-31 Roland McGrath <roland@hack.frob.com>
5247
5248 [BZ #17496]
5249 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5250 gen-as-const-headers chunk. Add a big scare comment after the last
5251 safe place to touch before-compile.
5252
5253 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5254
5255 * manual/install.texi (Tools for Compilation): Update autoconf
5256 version requirements.
5257 * INSTALL: Regenerated.
5258
5259 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5260 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5261 (__libc_pselect): Likewise.
5262
5263 [BZ #14138]
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5268
5269 2014-10-31 Torvald Riegel <triegel@redhat.com>
5270
5271 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5272 correct barrier instruction.
5273 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5274 Likewise.
5275 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5276 Likewise.
5277
5278 2014-10-30 Roland McGrath <roland@hack.frob.com>
5279
5280 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5281 after defining inlines. Instead, just use parens to defeat macro
5282 expansion of __isctype in its declaration.
5283
5284 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5285
5286 * include/sys/uio.h (__libc_readv): Remove declaration.
5287 (__libc_writev): Likewise.
5288 * misc/readv.c (__libc_readv): Rename to __readv.
5289 (__readv): Do not define as alias.
5290 (readv): Define as alias of __readv.
5291 * misc/writev.c (__libc_writev): Rename to __writev.
5292 (__writev): Do not define as alias.
5293 (writev): Define as alias of __writev.
5294 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5295 (__readv): Do not define as alias.
5296 (readv): Define unconditionally as alias of __readv.
5297 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5298 (__writev): Do not define as alias.
5299 (writev): Define unconditionally as alias of __writev.
5300 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5301 name.
5302 (writev): Do not define __libc_writev name.
5303
5304 2014-10-30 Roland McGrath <roland@hack.frob.com>
5305
5306 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5307 (convert_charseq): New function, broken out of ...
5308 (use_from_charmap): ... here. Call it.
5309 (use_to_charmap): Use convert_charseq and free instead of duplicating
5310 its code with a variable-length stack struct.
5311
5312 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5313
5314 * include/fcntl.h (__libc_creat): Remove declaration.
5315 * io/creat.c (__libc_creat): Rename to creat.
5316 (creat): Do not define as alias.
5317 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5318 of creat instead of __libc_creat.
5319 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5320 to creat.
5321 (creat): Do not define as alias.
5322 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5323 __libc_creat.
5324 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5325 __libc_creat name.
5326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5327 Likewise.
5328
5329 2014-10-29 Carlos O'Donell <carlos@redhat.com>
5330
5331 * manual/llio.texi: Add comments discussing why write() may be
5332 considered MT-unsafe on Linux.
5333
5334 2014-10-28 Carlos O'Donell <carlos@redhat.com>
5335
5336 * dl-load.c (local_strdup): Remove.
5337 (expand_dynamic_string_token): Use __strdup.
5338 (decompose_rpath): Likewise.
5339 (_dl_map_object): Likewise.
5340
5341 2014-10-28 Joseph Myers <joseph@codesourcery.com>
5342
5343 [BZ #14132]
5344 * sysdeps/generic/unwind-dw2-fde.c
5345 (__register_frame_info_bases_internal): Do not declare.
5346 (__register_frame_info_table_bases_internal): Likewise.
5347 (__deregister_frame_info_bases_internal): Likewise.
5348 (__register_frame_info_bases): Declare and use hidden_proto before
5349 definition. Use hidden_def instead of INTDEF.
5350 (__register_frame_info_table_bases): Likewise.
5351 (__deregister_frame_info_bases): Likewise.
5352 (__register_frame_info): Do not use INTUSE.
5353 (__register_frame): Likewise.
5354 (__register_frame_info_table): Likewise.
5355 (__register_frame_table): Likewise.
5356 (__deregister_frame_info): Likewise.
5357 (__deregister_frame): Likewise.
5358
5359 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5360
5361 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5362 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5363 not undefine.
5364 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5365 Likewise.
5366 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5367 Likewise.
5368
5369 2014-10-27 Joseph Myers <joseph@codesourcery.com>
5370
5371 [BZ #14138]
5372 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5373 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5374 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5375 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5376 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5377 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5380 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5381 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5382 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5383 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5384 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5385 syscall.
5386 (setfsuid): Likewise.
5387 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5388 (setfsuid): Likewise.
5389 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5390 (setfsuid): Likewise.
5391 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5392 Likewise.
5393 (setfsuid): Likewise.
5394 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5395 (setfsuid): Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5397 Likewise.
5398 (setfsuid): Likewise.
5399
5400 2014-10-27 Andreas Schwab <schwab@suse.de>
5401
5402 [BZ #17501]
5403 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5404 check for Slow_SSE4_2 feature bit.
5405 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5406 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5407 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5408 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5409
5410 2014-10-24 Roland McGrath <roland@hack.frob.com>
5411
5412 * configure.ac: Validate compiler version with a empirical test of
5413 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5414 $CC -v output.
5415 * configure: Regenerated.
5416
5417 * inet/htons.c (htons): Prototypify.
5418 * inet/htonl.c (htonl): Likewise.
5419
5420 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5421
5422 * string/strncat.c (strncat): Improve performance by using strlen.
5423
5424 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5425
5426 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5427
5428 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5429
5430 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5431 Call libc_fetestexcept_aarch64.
5432
5433 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5434
5435 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5436 Call libc_feholdexcept_aarch64.
5437
5438 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5439
5440 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5441 Call get_rounding_mode.
5442
5443 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5444
5445 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5446 Simplify logic.
5447
5448 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5449
5450 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5451 Simplify logic.
5452
5453 2014-10-24 Joseph Myers <joseph@codesourcery.com>
5454
5455 [BZ #14138]
5456 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5457 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5458 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5459 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5460 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5461 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5462 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5463 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5464 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5465 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5467 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5468 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5469 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5470 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5471 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5472 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5473 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5474 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5475 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5476 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5477 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5478 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5479 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5480 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5481 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5482 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5483 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5484 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5485 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5486 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5487 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5488 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5489 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5490 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5493 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5494 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5495 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5496 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5497 syscall.
5498 (geteuid): Likewise.
5499 (getgid): Likewise.
5500 (getuid): Likewise.
5501 (getresgid): Likewise.
5502 (getresuid): Likewise.
5503 (getgroups): Likewise.
5504 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5505 (geteuid): Likewise.
5506 (getgid): Likewise.
5507 (getuid): Likewise.
5508 (getresgid): Likewise.
5509 (getresuid): Likewise.
5510 (getgroups): Likewise.
5511 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5512 (geteuid): Likewise.
5513 (getgid): Likewise.
5514 (getuid): Likewise.
5515 (getresgid): Likewise.
5516 (getresuid): Likewise.
5517 (getgroups): Likewise.
5518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5519 Likewise.
5520 (geteuid): Likewise.
5521 (getgid): Likewise.
5522 (getuid): Likewise.
5523 (getresgid): Likewise.
5524 (getresuid): Likewise.
5525 (getgroups): Likewise.
5526 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5527 (geteuid): Likewise.
5528 (getgid): Likewise.
5529 (getuid): Likewise.
5530 (getresgid): Likewise.
5531 (getresuid): Likewise.
5532 (getgroups): Likewise.
5533 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5534 Likewise.
5535 (geteuid): Likewise.
5536 (getgid): Likewise.
5537 (getuid): Likewise.
5538 (getgroups): Likewise.
5539
5540 [BZ #14138]
5541 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5542 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5543 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5546 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5547 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5548 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5549 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5550 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5552 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5553 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5554 __chown.
5555 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5556 (lchown): Likewise.
5557 (fchown): Likewise.
5558 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5559 Likewise.
5560 (lchown): Likewise.
5561 (fchown): Likewise.
5562 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5563 (lchown): Likewise.
5564 (fchown): Likewise.
5565 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5566 Likewise.
5567 (lchown): Likewise.
5568 (fchown): Likewise.
5569
5570 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5571
5572 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5573 Simplify logic.
5574
5575 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5576
5577 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5578 Cleanup logic.
5579
5580 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5581
5582 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5583 Remove unused include.
5584
5585 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5586
5587 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5588 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5589 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5590 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5591
5592 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5593 Helge Deller <deller@gmx.de>
5594
5595 [BZ #17508]
5596 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5597 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5598 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5599
5600 2014-10-23 Joseph Myers <joseph@codesourcery.com>
5601
5602 [BZ #14132]
5603 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5604 Remove macro definition.
5605 (__ashrdi3_v_glibc20): Likewise.
5606 (__lshrdi3_v_glibc20): Likewise.
5607 (__cmpdi2_v_glibc20): Likewise.
5608 (__ucmpdi2_v_glibc20): Likewise.
5609 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5610 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5611 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5612 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5613 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5614 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5615
5616 2014-10-22 Roland McGrath <roland@hack.frob.com>
5617
5618 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5619 old GNU extension [0] syntax.
5620 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5621 alloca rather than an array member with variable length.
5622 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5623 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5624 (parse_opt): ... here. Likewise use alloca there.
5625 Validate the -i argument before checking for rootness.
5626 (send_shutdown): New function, broken out of ...
5627 (parse_opt): ... here.
5628
5629 2014-10-22 Roland McGrath <roland@hack.frob.com>
5630
5631 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5632 macro to get at the _rt_local_ro field.
5633 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5634 ([PIC] case) or _dl_hwcap ([!PIC] case).
5635 * sysdeps/arm/setjmp.S: Likewise.
5636
5637 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5638 * sysdeps/arm/configure.ac: New check to define it.
5639 * sysdeps/arm/configure: Regenerated.
5640 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5641 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5642 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5643 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5644 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5645 Use move/movt pair instead of a load.
5646 (LDST_GLOBAL): Macro removed.
5647 (LDR_GLOBAL): New macro replaces it.
5648 (LDR_HIDDEN): New macro.
5649 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5650 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5651
5652 * setjmp/tst-setjmp-static.c: New file.
5653 * setjmp/Makefile (tests): Add it.
5654 (tests-static): New variable.
5655
5656 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5657
5658 [BZ #17485]
5659 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5660
5661 2014-10-21 Joseph Myers <joseph@codesourcery.com>
5662
5663 [BZ #14132]
5664 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5665
5666 2014-10-21 Roland McGrath <roland@hack.frob.com>
5667
5668 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5669
5670 2014-10-20 Roland McGrath <roland@hack.frob.com>
5671
5672 * io/fts.c (dirent_not_directory): New function.
5673 (fts_build): Call it.
5674
5675 2014-10-20 Roland McGrath <roland@hack.frob.com>
5676
5677 * nptl/version.c (__nptl_main): Use normal __write rather than
5678 INTERNAL_SYSCALL.
5679 (banner): Update copyright years.
5680
5681 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5682 gettimeofday.
5683 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5684 * nptl/pthread_cond_timedwait.c: Likewise.
5685 * nptl/pthread_mutex_timedlock.c: Likewise.
5686 * nptl/sem_timedwait.c: Likewise.
5687
5688 * sysdeps/nptl/bits/libc-lock.h
5689 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5690 (__libc_lock_init_recursive): Return void, not 0.
5691 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5692 (__libc_rwlock_init): Likewise.
5693 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5694
5695 2014-10-20 Torvald Riegel <triegel@redhat.com>
5696
5697 [BZ #15215]
5698 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5699 (__pthread_once_slow): ... here.
5700 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5701 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5702
5703 2014-10-20 Torvald Riegel <triegel@redhat.com>
5704
5705 [BZ #15215]
5706 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5707 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5708 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5709 * nptl/pthread_once.c (__pthread_once): Likewise.
5710 Update comments.
5711
5712 2014-10-20 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #14138]
5715 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5716 name.
5717 (writev): Use __libc_writev as strong name.
5718 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5719 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5720
5721 2014-10-17 Roland McGrath <roland@hack.frob.com>
5722
5723 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5724
5725 * sysdeps/i386/nptl/tls.h
5726 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5727 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5728 New macros.
5729 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5730 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5731 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5732 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5733 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5734 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5735
5736 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5737 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5738 on [__NR_futex].
5739 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5740 broken out of ...
5741 (__pthread_mutex_init): ... here. Call it.
5742 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5743 Conditionalize PI cases on [__NR_futex].
5744 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5745 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5746 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5747
5748 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5749 conditional on [SIGSETXID].
5750 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5751 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5752 is defined. Likewise for SIGSETXID.
5753 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5754 Conditionalize definitions on [SIGSETXID].
5755 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5756 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5757 unblocking on [SIGCANCEL].
5758
5759 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5760 [__NR_set_robust_list].
5761
5762 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5763
5764 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5765 (do_compare): Likewise.
5766
5767 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
5768
5769 [BZ #15884]
5770 * string/strcoll_l.c: Don't include stdio.h.
5771 (coll_seq): Remove members idxarr and rulearr.
5772 (get_next_seq_cached): Remove function.
5773 (get_next_seq): Likewise.
5774 (get_next_seq_nocache): Rename to get_next_seq.
5775 (do_compare): Remove function.
5776 (do_compare_nocache): Rename to do_compare.
5777 (STRCOLL): Remove weight and rules cache.
5778
5779 2014-10-16 Roland McGrath <roland@hack.frob.com>
5780
5781 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5782 * sysdeps/arm/sfp-machine.h: ... to here.
5783 * sysdeps/arm/Implies: Remove arm/soft-fp.
5784
5785 2014-10-14 Joseph Myers <joseph@codesourcery.com>
5786
5787 * conform/data/sys/utsname.h-data (*_t): Allow.
5788 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5789 [POSIX] (WEXITED): Do not expect constant.
5790 [POSIX] (WSTOPPED): Likewise.
5791 [POSIX] (WNOHANG): Likewise.
5792 [POSIX] (WNOWAIT): Likewise.
5793 [POSIX] (siginfo_t): Do not expect type or elements.
5794 [POSIX] (pid_t): Do not expect type.
5795 [POSIX] (signal.h): Do not allow header.
5796 [POSIX] (sys/resource.h): Likewise.
5797 [POSIX] (si_*): Do not allow pattern.
5798 [POSIX] (W*): Likewise.
5799 [POSIX] (P_*): Likewise.
5800 [POSIX] (BUS_*): Likewise.
5801 [POSIX] (CLD_*): Likewise.
5802 [POSIX] (FPE_*): Likewise.
5803 [POSIX] (ILL_*): Likewise.
5804 [POSIX] (POLL_*): Likewise.
5805 [POSIX] (SEGV_*): Likewise.
5806 [POSIX] (SI_*): Likewise.
5807 [POSIX] (TRAP_*): Likewise.
5808 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5809 variable.
5810
5811 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5812
5813 [BZ #12926]
5814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5815 infinite loop when __recvmsg returns 0.
5816
5817 2014-10-10 Joseph Myers <joseph@codesourcery.com>
5818
5819 * CANCEL-FCT-WAIVE: Remove file.
5820 * CANCEL-FILE-WAIVE: Likewise.
5821
5822 [BZ #14132]
5823 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5824 instead of INTVARDEF.
5825 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5826 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5827 rtld_hidden_data_def instead of INTVARDEF.
5828 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5829 * elf/dl-deps.c (expand_dst): Likewise.
5830 * elf/dl-load.c (_dl_dst_count): Likewise.
5831 (_dl_dst_substitute): Likewise.
5832 (decompose_rpath): Likewise.
5833 (_dl_init_paths): Likewise.
5834 (open_path): Likewise.
5835 (_dl_map_object): Likewise.
5836 * elf/rtld.c (dl_main): Likewise.
5837 (process_dl_audit): Likewise.
5838 (process_envvars): Likewise.
5839 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5840 Remove declaration.
5841 (__libc_enable_secure): Use rtld_hidden_proto.
5842
5843 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5844
5845 * elf/dl-load.c
5846 (add_path): New function broken out of _dl_rtld_di_serinfo.
5847 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5848
5849 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5850
5851 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5852 parentheses around macro arguments.
5853 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5864 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5866 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5867 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5868 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5869 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5872 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5873 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5882 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5884 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5885 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5887 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5888 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5889 Likewise.
5890 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5894 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5895 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5897 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5898 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5899 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5900 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5901 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5902 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5903 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5904 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5907 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5908 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5911 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5912 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5913 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5914 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5915 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5916 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5917 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5918 (_FP_FRAC_SRS_1): Likewise.
5919 (_FP_FRAC_CLZ_1): Likewise.
5920 (_FP_MUL_MEAT_1_imm): Likewise.
5921 (_FP_MUL_MEAT_1_wide): Likewise.
5922 (_FP_MUL_MEAT_1_hard): Likewise.
5923 (_FP_SQRT_MEAT_1): Likewise.
5924 (_FP_FRAC_ASSEMBLE_1): Likewise.
5925 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5926 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5927 (__FP_CLZ_2): Likewise.
5928 (_FP_MUL_MEAT_2_wide): Likewise.
5929 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5930 (_FP_MUL_MEAT_2_gmp): Likewise.
5931 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5932 (_FP_SQRT_MEAT_2): Likewise.
5933 (_FP_FRAC_ASSEMBLE_2): Likewise.
5934 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5935 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5936 (_FP_FRAC_CLZ_4): Likewise.
5937 (_FP_MUL_MEAT_4_wide): Likewise.
5938 (_FP_MUL_MEAT_4_gmp): Likewise.
5939 (_FP_SQRT_MEAT_4): Likewise.
5940 (_FP_FRAC_ASSEMBLE_4): Likewise.
5941 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5942 * soft-fp/op-common.h (_FP_CMP): Likewise.
5943 (_FP_CMP_EQ): Likewise.
5944 (_FP_CMP_UNORD): Likewise.
5945 (_FP_TO_INT): Likewise.
5946 (_FP_FROM_INT): Likewise.
5947 [!__FP_CLZ] (__FP_CLZ): Likewise.
5948 (_FP_DIV_HELP_imm): Likewise.
5949 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5950 Likewise.
5951 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5952 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5953 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5954 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5955 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5956 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5957 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5958 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5959 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5961 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5962 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5963 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5964 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5965 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5966 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5967 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5968 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5969 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5970 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5971 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5972 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5973 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5974 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5975 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5976 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5977 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5978 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5979 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5980 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5981 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5982 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5983 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5984 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5985 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5986 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5987 (FP_UNPACK_RAW_SP): Likewise.
5988 (FP_PACK_RAW_S): Likewise.
5989 (FP_PACK_RAW_SP): Likewise.
5990 (FP_UNPACK_S): Likewise.
5991 (FP_UNPACK_SP): Likewise.
5992 (FP_UNPACK_SEMIRAW_S): Likewise.
5993 (FP_UNPACK_SEMIRAW_SP): Likewise.
5994 (FP_PACK_S): Likewise.
5995 (FP_PACK_SP): Likewise.
5996 (FP_PACK_SEMIRAW_S): Likewise.
5997 (FP_PACK_SEMIRAW_SP): Likewise.
5998 (_FP_SQRT_MEAT_S): Likewise.
5999 (FP_CMP_S): Likewise.
6000 (FP_CMP_EQ_S): Likewise.
6001 (FP_CMP_UNORD_S): Likewise.
6002 (FP_TO_INT_S): Likewise.
6003 (FP_FROM_INT_S): Likewise.
6004
6005 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6006
6007 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6008 (FP_EX_INVALID_IMZ): Likewise.
6009 (FP_EX_INVALID_IMZ_FMA): Likewise.
6010 (FP_EX_INVALID_ISI): Likewise.
6011 (FP_EX_INVALID_ZDZ): Likewise.
6012 (FP_EX_INVALID_IDI): Likewise.
6013 (FP_EX_INVALID_SQRT): Likewise.
6014 (FP_EX_INVALID_CVI): Likewise.
6015 (FP_EX_INVALID_VC): Likewise.
6016 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6017 "invalid" exceptions.
6018 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6019 (_FP_ADD_INTERNAL): Likewise.
6020 (_FP_MUL): Likewise.
6021 (_FP_FMA): Likewise.
6022 (_FP_DIV): Likewise.
6023 (_FP_CMP_CHECK_NAN): Likewise.
6024 (_FP_SQRT): Likewise.
6025 (_FP_TO_INT): Likewise.
6026 (FP_EXTEND): Likewise.
6027
6028 2014-10-09 Allan McRae <allan@archlinux.org>
6029
6030 * po/fr.po: Update French translation from translation project.
6031
6032 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6033
6034 [BZ #14132]
6035 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6036 of INTDEF.
6037 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6038 (__cxa_atexit): Use libc_hidden_proto.
6039 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6040
6041 [BZ #14132]
6042 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6043 declaration.
6044 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6045 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6046 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6047 [!_ISOMAC] (__iswctype_internal): Likewise.
6048 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6049 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6050 alias.
6051 (fcntl): Remove __fcntl_internal alias.
6052 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6053 __connect_internal alias.
6054 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6055 Likewise.
6056
6057 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6058 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6059 FP_DENORM_ZERO.
6060 (_FP_CHECK_FLUSH_ZERO): New macro.
6061 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6062 (_FP_CMP): Likewise.
6063 (_FP_CMP_EQ): Likewise.
6064 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6065 FP_DENORM_ZERO.
6066 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6067 (FP_TRUNC): Likewise.
6068
6069 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6070 treated as invalid conversion, not as normal exponent.
6071
6072 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6073 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6074 (_FP_CMP_EQ): Likewise.
6075 (_FP_CMP_UNORD): Likewise.
6076 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6077 (FP_CMP_EQ_D): Likewise.
6078 (FP_CMP_UNORD_D): Likewise.
6079 * soft-fp/extended.h (FP_CMP_E): Likewise.
6080 (FP_CMP_EQ_E): Likewise.
6081 (FP_CMP_UNORD_E): Likewise.
6082 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6083 (FP_CMP_EQ_Q): Likewise.
6084 (FP_CMP_UNORD_Q): Likewise.
6085 * soft-fp/single.h (FP_CMP_S): Likewise.
6086 (FP_CMP_EQ_S): Likewise.
6087 (FP_CMP_UNORD_S): Likewise.
6088 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6089 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6090 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6091 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6092 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6093 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6094 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6095 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6096 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6097 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6098 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6099 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6100 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6101 to FP_CMP_Q.
6102 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6103 FP_CMP_Q.
6104 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6105 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6106 FP_CMP_EQ_Q.
6107 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6108 FP_CMP_Q.
6109 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6110 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6111 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6112 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6113 FP_CMP_EQ_Q.
6114 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6115 FP_CMP_Q.
6116 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6117 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6118 FP_CMP_EQ_Q.
6119 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6120 FP_CMP_Q.
6121 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6122 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6123 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6124 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6125 FP_CMP_EQ_Q.
6126
6127 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6128 a subnormal result, set the underflow exception if trapping on
6129 underflow is enabled.
6130 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6131 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6132 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6133 redefine to 0.
6134 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6135 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6136 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6137 * soft-fp/extendxftf2.c (__extendxftf2): Use
6138 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6139
6140 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6141 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6142 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6143 FP_HANDLE_EXCEPTIONS.
6144 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6145 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6146 FP_HANDLE_EXCEPTIONS.
6147 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6148 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6149 FP_HANDLE_EXCEPTIONS.
6150 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6151 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6152 FP_HANDLE_EXCEPTIONS.
6153
6154 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6155
6156 [BZ #14132]
6157 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6158 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6159 use INTUSE.
6160 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6161 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6162 Remove alias.
6163 (__adjtimex): Define using libc_hidden_ver.
6164 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6165 Remove declaration.
6166 (ntp_gettime): Call __adjtimex directly.
6167 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6168 Remove declaration.
6169 (ntp_gettimex): Call __adjtimex directly.
6170 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6171 __adjtimex_internal alias.
6172
6173 2014-10-08 Roland McGrath <roland@hack.frob.com>
6174
6175 [BZ #17460]
6176 * nscd/nscd.c (more_help): Rewrite list of tables collection
6177 using xstrdup and asprintf.
6178
6179 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6180
6181 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6182 Roland McGrath <roland@hack.frob.com>
6183
6184 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6185 (do_lookup_unique): ... local function 'enter' here; update callers.
6186
6187 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6188
6189 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6190 compat_symbol calls on [SHARED].
6191 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6192 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6193 Remove.
6194 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6195 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6196 (oldsetrlimit): Remove.
6197 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6199 (lchown): New syscall entry.
6200 (oldsetrlimit): Remove.
6201 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6203 (oldsetrlimit): Remove.
6204 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6205
6206 [BZ #14138]
6207 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6208 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6209 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6210 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6212 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6213 (fchown): Likewise.
6214 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6215 (fchown): Likewise.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6217 Likewise.
6218
6219 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
6221 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6222 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6223 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6224 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6225 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6226 Likewise.
6227 (__old_sem_post): Likewise.
6228
6229 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6230
6231 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6232 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6233 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6234 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6235 Use INLINE_VSYSCALL macro.
6236 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6237 __vdso_clock_gettime.
6238 * sysdeps/unix/sysv/linux/tile/init-first.c
6239 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6240 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6241 __vdso_clock_gettime.
6242
6243 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6244 to set up frame more cleanly.
6245
6246 * sysdeps/tile/memcmp.c: New file.
6247
6248 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6249
6250 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6251 * sysdeps/tile/tilegx/strcasestr.c: New file.
6252 * sysdeps/tile/tilegx/strnlen.c: New file.
6253 * sysdeps/tile/tilegx/strstr.c: New file.
6254
6255 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6256
6257 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
6258
6259 * nptl/tst-setuid3.c: Write errors to stdout.
6260
6261 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6262
6263 * elf/dl-deps.c
6264 (preload): New functions broken out of _dl_map_object_deps.
6265 (_dl_map_object_deps): Remove a nested function. Update call sites.
6266
6267 2014-10-01 Joseph Myers <joseph@codesourcery.com>
6268
6269 [BZ #14138]
6270 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6271 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6272
6273 2014-10-01 Steve Ellcey <sellcey@mips.com>
6274
6275 * sysdeps/mips/strcmp.S: New.
6276
6277 2014-09-30 Joseph Myers <joseph@codesourcery.com>
6278
6279 [BZ #14138]
6280 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6281 (linkat): Likewise.
6282 (mkdirat): Likewise.
6283 (readlinkat): Likewise.
6284 (renameat): Likewise.
6285 (symlinkat): Likewise.
6286 (unlinkat): Likewise.
6287 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6288 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6289 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6290 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6291 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6292 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6293 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6294
6295 2014-09-30 Will Newton <will.newton@linaro.org>
6296
6297 * math/math.h: Define long double math functions if
6298 _LIBC_TEST is defined.
6299 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6300
6301 * localedata/Makefile: Move assignment to tests-special
6302 into an ifdef testing run-built-tests.
6303 * timezone/Makefile: Likewise.
6304
6305 2014-09-29 Joseph Myers <joseph@codesourcery.com>
6306
6307 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6308 with $(BASH) not $(SHELL).
6309
6310 2014-09-29 Carlos O'Donell <carlos@redhat.com>
6311 Matthew LeGendre <legendre1@llnl.gov>
6312
6313 [BZ #17411]
6314 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6315 l_reloc_result.
6316
6317 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6318
6319 * stdio-common/printf_fp.c
6320 (hack_digit): New function, broken out of ...
6321 (__printf_fp): ... local function here. Update call sites.
6322 hack_digit now takes an additional parameter that is a pointer
6323 to a struct of the referenced locals. Those locals moved inside
6324 the struct and references updated.
6325
6326 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 * aclocal.m4: Require autoconf 2.69.
6329 * configure: Regenerated.
6330 * sysdeps/aarch64/configure: Likewise.
6331 * sysdeps/alpha/configure: Likewise.
6332 * sysdeps/arm/armv7/configure: Likewise.
6333 * sysdeps/arm/configure: Likewise.
6334 * sysdeps/ia64/configure: Likewise.
6335 * sysdeps/mach/configure: Likewise.
6336 * sysdeps/mips/configure: Likewise.
6337 * sysdeps/s390/configure: Likewise.
6338 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6340
6341 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6342 file.
6343 * sysdeps/ia64/configure.ac: Likewise.
6344
6345 2014-09-26 Joseph Myers <joseph@codesourcery.com>
6346
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6348 specify symbol version for ld.so. Do not include entry for
6349 libpthread.
6350 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6351 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6353
6354 [BZ #14171]
6355 * Makeconfig [$(build-shared) = yes]
6356 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6357 makefiles.
6358 [$(build-shared) = yes && $(soversions.mk-done) = t]
6359 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6360 [$(build-shared) = yes && $(soversions.mk-done) = t]
6361 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6362 to Makerules.
6363 [$(build-shared) = yes && $(soversions.mk-done) = t]
6364 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6365 here.
6366 [$(build-shared) = yes && $(soversions.mk-done) = t]
6367 (common-generated): Don't append gnu/lib-names.h and
6368 gnu/lib-names.stmp here.
6369 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6370 (lib-names-h-abi): New variable.
6371 [$(build-shared) = yes && $(soversions.mk-done) = t]
6372 (lib-names-stmp-abi): Likewise.
6373 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6374 abi-variants] (before-compile): Append
6375 $(common-objpfx)$(lib-names-h-abi).
6376 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6377 abi-variants] (common-generated): Append gnu/lib-names.h.
6378 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6379 abi-variants] (install-others-nosubdir): Depend on
6380 $(inst_includedir)/$(lib-names-h-abi).
6381 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6382 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6383 [$(build-shared) = yes && $(soversions.mk-done) = t]
6384 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6385 [$(build-shared) = yes && $(soversions.mk-done) = t]
6386 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6387 [$(build-shared) = yes && $(soversions.mk-done) = t]
6388 (common-generated): Append $(lib-names-h-abi) and
6389 $(lib-names-stmp-abi).
6390 * scripts/lib-names.awk: Do not handle multi being set.
6391 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6392 Remove variable.
6393 (abi-lp64_be-ld-soname): Likewise.
6394 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6395 Likewise.
6396 (abi-hard-ld-soname): Likewise.
6397 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6398 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6399 Remove variable.
6400 (abi-o32_hard-ld-soname): Likewise.
6401 (abi-o32_soft_2008-ld-soname): Likewise.
6402 (abi-o32_hard_2008-ld-soname): Likewise.
6403 (abi-n32_soft-ld-soname): Likewise.
6404 (abi-n32_hard-ld-soname): Likewise.
6405 (abi-n32_soft_2008-ld-soname): Likewise.
6406 (abi-n32_hard_2008-ld-soname): Likewise.
6407 (abi-n64_soft-ld-soname): Likewise.
6408 (abi-n64_hard-ld-soname): Likewise.
6409 (abi-n64_soft_2008-ld-soname): Likewise.
6410 (abi-n64_hard_2008-ld-soname): Likewise.
6411 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6412 Likewise.
6413 (abi-64-v2-ld-soname): Likewise.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6415 ld.so entries.
6416 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6417 variable.
6418 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6419 entry.
6420 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6421 variable.
6422 (abi-64-ld-soname): Likewise.
6423 (abi-x32-ld-soname): Likewise.
6424 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6425 entry.
6426 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6427
6428 2014-09-23 Joseph Myers <joseph@codesourcery.com>
6429
6430 [BZ #14138]
6431 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6432 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6433 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6434 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6435 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6437 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6438 syscall entry for GLIBC_2.2 symbol version.
6439 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6440 Likewise.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6442 (setrlimit): Likewise.
6443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6444 Likewise.
6445
6446 2014-09-23 Will Newton <will.newton@linaro.org>
6447
6448 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6449 _LINUX_ARM_SYSDEP_H include guard too.
6450 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6451 define.
6452
6453 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6454
6455 * sysdeps/unix/sysv/linux/eventfd.c:
6456 Make first argument unsigned.
6457 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6458 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6459
6460 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
6461
6462 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6463 * socket/sys/socket.h: Likewise
6464 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6465
6466 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6467
6468 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6469
6470 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
6471
6472 * time/tst-ftime.c: New test.
6473 * time/Makefile (tests): Add tst-ftime.
6474
6475 2014-09-17 Joseph Myers <joseph@codesourcery.com>
6476
6477 * soft-fp/extended.h: Fix comment formatting.
6478 * soft-fp/op-1.h: Likewise.
6479 * soft-fp/op-2.h: Likewise.
6480 * soft-fp/op-4.h: Likewise.
6481 * soft-fp/op-8.h: Likewise.
6482 * soft-fp/op-common.h: Likewise.
6483 * soft-fp/soft-fp.h: Likewise.
6484
6485 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6486
6487 2014-09-16 Joseph Myers <joseph@codesourcery.com>
6488
6489 [BZ #6652]
6490 * Makeconfig (soversions-default-setname): Remove variable.
6491 ($(common-objpfx)soversions.i): Don't pass default_setname to
6492 soversions.awk.
6493 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6494 oldest_abi to abi-versions.awk.
6495 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6496 * config.make.in (oldest-abi): Remove variable.
6497 * configure.ac (--enable-oldest-abi): Remove configure option.
6498 * configure: Regenerated.
6499 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6500 text.
6501 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6502 * scripts/soversions.awk: Do not handle default_setname variable.
6503 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6504 variable.
6505 * sysdeps/mach/hurd/configure: Regenerated.
6506 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6507 variable.
6508 * sysdeps/unix/sysv/linux/configure: Regenerated.
6509
6510 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6511
6512 * elf/Makefile (CFLAGS-interp.c): Remove.
6513 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6514 path string.
6515 * elf/interp.c: Include generated runtime-linker.h
6516
6517 * Makerules (lib%.so): Don't include $(+interp) in
6518 prerequisites.
6519 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6520 * dlfcn/eval.c: Remove file.
6521
6522 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6523 macros.
6524
6525 [BZ #17266]
6526 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6527 4.2 and newer.
6528
6529 [BZ #17370]
6530 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6531
6532 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6533 Jakub Jelinek <jakub@redhat.com>
6534
6535 [BZ #17266]
6536 * libio/stdio.h: Check definition of __fortify_function
6537 instead of __extern_always_inline to include bits/stdio2.h.
6538 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6539 check if __extern_always_inline is defined.
6540 [__USE_MISC || __USE_XOPEN]: Likewise.
6541 [__USE_ISOC99] Likewise.
6542 * misc/sys/cdefs.h (__fortify_function): Define only if
6543 __extern_always_inline is defined.
6544 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6545 __extern_always_inline and __extern_inline only for g++-4.3
6546 and newer or a compatible gcc.
6547
6548 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6549
6550 [BZ #17371]
6551 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6552 last change to handle zero prefix length.
6553
6554 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
6556 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6557 _SC_REGEX_VERSION.
6558
6559 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6560 _POSIX_RAW_SOCKETS.
6561
6562 2014-09-13 Allan McRae <allan@archlinux.org>
6563
6564 * po/ru.po: Update Russian translation from translation project.
6565
6566 2014-09-12 Roland McGrath <roland@hack.frob.com>
6567
6568 * locale/programs/locale.c (show_locale_vars): Inline local function
6569 into its sole call site. Clean up some style nits.
6570 (print_item): New function, broken out of ...
6571 (show_info): ... local function here. Clean up style nits.
6572
6573 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6574 out of ...
6575 (set_class_defaults): ... local function set_default here.
6576 Define set_default as a macro locally to pass constant parameters.
6577 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6578 rather than a shared local.
6579
6580 * stdlib/rpmatch.c (try): New function, broken out of ...
6581 (rpmatch): ... local function here. Also, prototypify definition.
6582
6583 2014-09-12 Joseph Myers <joseph@codesourcery.com>
6584
6585 * scripts/soversions.awk: Do not handle configuration names.
6586 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6587 vendor and os variables to soversions.awk.
6588 * configure.ac: Do not modify gnu-* host_os.
6589 * configure: Regenerated
6590 * shlib-versions: Remove first column with configuration names.
6591 * nptl/shlib-versions: Likewise.
6592 * nptl_db/shlib-versions: Likewise.
6593 * sysdeps/hppa/shlib-versions: Likewise.
6594 * sysdeps/m68k/shlib-versions: Likewise.
6595 * sysdeps/mach/hurd/shlib-versions: Likewise.
6596 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6597 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6598 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6599 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6600 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6601 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6602 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6603 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6605 Likewise.
6606 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6607 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6608 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6610 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6611 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6612 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6613 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6614
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6616 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6618 Regenerated.
6619 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6621 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6622
6623 * shlib-versions: Remove OS-specific entries. Moved to files in
6624 sysdeps.
6625 * sysdeps/mach/hurd/shlib-versions: New file.
6626 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6627
6628 * nptl/shlib-versions: Remove architecture-specific entries.
6629 Moved to files in sysdeps.
6630 * shlib-versions: Likewise.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6632 file.
6633 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6634 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6637
6638 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6639 (UDP_NO_CHECK6_RX): Likewise.
6640
6641 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6642
6643 * sysdeps/posix/sysconf.c (__sysconf): Spell
6644 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6645
6646 2014-08-12 Florian Weimer <fweimer@redhat.com>
6647
6648 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6649 loading.
6650 * iconv/Versions (__gconv_transliterate): Export for use from
6651 gconv modules.
6652 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6653 (struct __gconv_trans_data, __gconv_trans_fct,
6654 __gconv_trans_context_fct, __gconv_trans_query_fct,
6655 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6656 definitions.
6657 (struct __gconv_step_data): Remove __trans member.
6658 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6659 longer hidden. Remove unused trans_data argument.
6660 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6661 (__gconv_translit_find): Remove declaration.
6662 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6663 prototype.
6664 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6665 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6666 trans_data argument. Add hidden definition.
6667 (__gconv_translit_find): Remove.
6668 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6669 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6670 * iconv/skeleton.c: Remove transliteration initialization.
6671 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6672 __gconv_step_data initialization.
6673 * libio/iofwide.c (__libio_translit_): Remove.
6674 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6675 * wcsmbs/btowc.c (__btowc): Likewise.
6676 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6677 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6678 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6679 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6680 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6681 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6682 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6683 * wcsmbs/wctob.c (wctob): Likewise.
6684
6685 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6686
6687 [BZ #16194]
6688 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6689 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6690 register usage.
6691 * sysdeps/x86/Makefile: Adjust.
6692
6693 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6694 Roland McGrath <roland@hack.frob.com>
6695
6696 * locale/weight.h: Add include guard.
6697 (findidx): Make static rather than auto; take new parameters
6698 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6699 * locale/weightwc.h: Likewise.
6700 * posix/fnmatch_loop.c
6701 (FCT): Change type of EXTRA from int32_t to wint_t.
6702 Don't include either header inside the function.
6703 Call FINDIDX rather than findidx, and pass new arguments.
6704 #undef FINDIDX at the end of the file.
6705 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6706 FINDIDX before including fnmatch_loop.c for the non-wide version.
6707 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6708 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6709 for the wide version.
6710 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6711 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6712 Pass new arguments to findidx.
6713 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6714 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6715 Don't #include it inside the function. Pass new arguments to findidx.
6716 * posix/regex_internal.h
6717 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6718 (re_string_elem_size_at): Don't #include it inside the function.
6719 Pass new arguments to findidx.
6720 * string/strcoll_l.c: #include WEIGHT_H at top level.
6721 (get_next_seq): Don't #include it inside the function.
6722 Pass new arguments to findidx.
6723 (get_next_seq_nocache): Likewise.
6724 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6725 (STRXFRM): Don't #include it inside the function.
6726 Pass new arguments to findidx.
6727
6728 2014-09-11 Florian Weimer <fweimer@redhat.com>
6729
6730 [BZ #17344]
6731 * malloc/malloc.c (unlink): Turn asserts into a call to
6732 malloc_printerr.
6733
6734 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
6735
6736 [BZ #17370]
6737 * libio/wfileops (do_ftell_wide): Free OUT.
6738
6739 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6740
6741 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6742
6743 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6744
6745 [BZ #17363]
6746 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6747 group if the current group is empty.
6748
6749 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6750
6751 * benchtests/bench-memset.c (test_main): Add more test from size
6752 from 32 to 512 bytes.
6753 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6754 Add POWER8 memset object.
6755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6756 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6757 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6758 implementation.
6759 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6760 Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6762 multiarch POWER8 memset optimization.
6763 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6764 POWER8 memset optimization.
6765
6766 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6767 Remove bzero multiarch objects.
6768 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6769 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6771 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6772 Remove define.
6773 [__bzero]: Redefine to specific name.
6774 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6775 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6776 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6777 define.
6778 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6779 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6780
6781 2014-09-10 Florian Weimer <fweimer@redhat.com>
6782
6783 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6784 warnings into errors.
6785
6786 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6787 __cxa_thread_atexit_impl prototype.
6788
6789 2014-09-09 Steve Ellcey <sellcey@mips.com>
6790
6791 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6792 Fix capitalization of error message.
6793
6794 2014-09-09 Steve Ellcey <sellcey@mips.com>
6795
6796 * sysdeps/mips/preconfigure: Modify ABI tests.
6797
6798 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6799
6800 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6801
6802 2014-09-07 Roland McGrath <roland@hack.frob.com>
6803 Carlos O'Donell <carlos@systemhalted.org>
6804
6805 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6806 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6807 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6808 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6809 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6810 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6811 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6812 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6813 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6814 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6815 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6816 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6817 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6818 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6819 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6820 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6821 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6822 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6823 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6824 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6825 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6826 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6827 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6828 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6829 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6830 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6831 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6832 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6833 Deconditionalize the code that was previously under [RESET_PID].
6834 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6835 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6836 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6837 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6838 include sysdep.h.
6839
6840 2014-09-08 Allan McRae <allan@archlinux.org>
6841
6842 * version.h (RELEASE): Set to "development".
6843 (VERSION): Set to "2.20.90"
6844
6845 2014-09-07 Allan McRae <allan@archlinux.org
6846
6847 * version.h (RELEASE): Set to "stable".
6848 (VERSION): Set to "2.20"
6849 * include/features.h (__GLIBC_MINOR__): Set to 20.
6850
6851 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6852 Liebler.
6853
6854 * po/ko.po: Update Korean translation from translation project.
6855
6856 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6857
6858 [BZ #17354]
6859 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6860 macro for handling signed relocations.
6861
6862 2014-09-03 Florian Weimer <fweimer@redhat.com>
6863
6864 [BZ #17325]
6865 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6866 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6867 assert.
6868 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6869 * iconvdata/ibm935.c (BODY): Likewise.
6870 * iconvdata/ibm937.c (BODY): Likewise.
6871 * iconvdata/ibm939.c (BODY): Likewise.
6872 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6873 assert.
6874 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6875 script.
6876 * iconvdata/run-iconv-test.sh: New test loop for checking for
6877 decoder crashers.
6878
6879 2014-09-02 Khem Raj <raj.khem@gmail.com>
6880
6881 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6882 libm_hidden_ver.
6883
6884 2014-09-01 Allan McRae <allan@archlinux.org>
6885
6886 * po/eo.po: Update Esperanto translation from translation project.
6887
6888 * po/ca.po: Update Catalan translation from translation project.
6889
6890 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6891
6892 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6893 __proc_dostop call.
6894
6895 2014-08-27 Mark Wielaard <mjw@redhat.com>
6896
6897 [BZ #17319]
6898 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6899 to call set_thread_area instead of hand written asm.
6900 (__NR_set_thread_area): Removed define.
6901 (TLS_FLAG_WRITABLE): Likewise.
6902 (__ASSUME_SET_THREAD_AREA): Remove check.
6903 (TLS_EBX_ARG): Remove define.
6904 (TLS_LOAD_EBX): Likewise.
6905
6906 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6907
6908 Simplify atomicity of socket creation in bind.
6909
6910 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6911 looking up the name after linking the file.
6912
6913 2014-08-27 Allan McRae <allan@archlinux.org>
6914
6915 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6916
6917 2014-08-26 Florian Weimer <fweimer@redhat.com>
6918
6919 [BZ #17187]
6920 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6921 trans_compare, open_translit, __gconv_translit_find):
6922 Remove module loading code.
6923
6924 2014-08-26 Allan McRae <allan@archlinux.org>
6925
6926 * po/vi.po: Update Vietnamese translation from translation project.
6927
6928 * po/uk.po: Update Ukrainian translation from translation project.
6929
6930 * po/fr.po: Update French translation from translation project.
6931
6932 * po/ru.po: Update Russian translation from translation project.
6933
6934 * po/pl.po: Update Polish translation from translation project.
6935
6936 * po/cs.po: Update Czech translation from translation project.
6937
6938 * po/de.po: Update German translation from translation project.
6939
6940 * po/bg.po: Update Bulgarian translation from translation project.
6941
6942 * po/sv.po: Update Sweedish translation from translation project.
6943
6944 * po/nl.po: Update Dutch translation from translation project.
6945
6946 * po/es.po: Update Spanish translation from translation project.
6947
6948 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6949
6950 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6951
6952 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6953 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6954 (CPPFLAGS-iconvconfig): Likewise.
6955 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6956
6957 * include/libc-symbols.h: Remove unnecessary check for
6958 NOT_IN_libc.
6959 * nptl/pthreadP.h: Likewise.
6960 * sysdeps/aarch64/setjmp.S: Likewise.
6961 * sysdeps/alpha/setjmp.S: Likewise.
6962 * sysdeps/arm/sysdep.h: Likewise.
6963 * sysdeps/i386/setjmp.S: Likewise.
6964 * sysdeps/m68k/setjmp.c: Likewise.
6965 * sysdeps/posix/getcwd.c: Likewise.
6966 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6967 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6968 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6969 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6970 * sysdeps/sh/sh3/setjmp.S: Likewise.
6971 * sysdeps/sh/sh4/setjmp.S: Likewise.
6972 * sysdeps/unix/alpha/sysdep.h: Likewise.
6973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6975 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6976 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6981 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6984 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6986 * sysdeps/x86_64/setjmp.S: Likewise.
6987
6988 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6989
6990 [BZ #17263]
6991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6992 <stdint.h>.
6993 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6994 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6995
6996 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6997
6998 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6999
7000 [BZ #17262]
7001 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7002 and __x86_64__ when disabling x87 inline functions.
7003
7004 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7005
7006 [BZ #17259]
7007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7008 asm statement with __cpuid_count.
7009
7010 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7011
7012 * configure.ac: Change __ehdr_start code to dereference the struct.
7013 Run readelf on the output to look for relocations.
7014 * configure: Regenerated.
7015
7016 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7017
7018 [BZ #17261]
7019 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7020 value to 0.
7021 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7022
7023 2014-08-12 Roland McGrath <roland@hack.frob.com>
7024
7025 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7026
7027 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7028
7029 [BZ #16892]
7030 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7031 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7032
7033 2014-08-12 Sean Anderson <seanga2@gmail.com>
7034
7035 * malloc/malloc.c: Fix typo in comment.
7036
7037 2014-08-09 Allan McRae <allan@archlinux.org>
7038
7039 * Regenerate libc.po.
7040
7041 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7042
7043 * intl/tst-gettext2.sh: Check every lang file for creation.
7044
7045 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7046
7047 * sysdeps/aarch64/fpu/math_private.h
7048 (libc_feholdsetround_noex_aarch64_ctx): New function.
7049
7050 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7051
7052 * sysdeps/arm/armv6/strcpy.S (strcpy):
7053 Fix performance issue in misaligned cases.
7054
7055 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7056
7057 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7058 Move definition from termios.h.
7059 (struct termio): Likewise.
7060 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7061 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7062 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7063 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7064 Likewise.
7065 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7066 Move definition to ioctl-types.h
7067 (struct termio): Likewise.
7068 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7069 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7070 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7071 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7072 Likewise.
7073
7074 2014-08-05 Richard Henderson <rth@redhat.com>
7075
7076 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7077 exceptions.
7078 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7079 Add fraiseexcpt.
7080 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7081 Use __feraiseexcept.
7082 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7083 Protect libm symbols with IS_IN_libm.
7084
7085 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7086
7087 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7088
7089 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7090
7091 2014-08-04 Will Newton <will.newton@linaro.org>
7092
7093 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7094 file.
7095
7096 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7097
7098 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7099 variants for each function.
7100
7101 2014-08-04 Roland McGrath <roland@hack.frob.com>
7102
7103 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7104 appended ...
7105 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7106 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7107 appended ...
7108 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7110 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7114 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7115 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7116 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7117 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7118 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7120 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7121 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7122 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7123 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7124 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7126 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7138 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7140 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7144 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7145 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7146 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7147 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7148 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7149 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7150 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7151 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7152 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7153 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7154 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7155 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7156 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7157 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7158 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7159 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7160 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7161 Update #include.
7162 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7163 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7164
7165 2014-08-04 Roland McGrath <roland@hack.frob.com>
7166
7167 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7168 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7169 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7170 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7171 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7172 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7173
7174 2014-08-04 Roland McGrath <roland@hack.frob.com>
7175
7176 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7177 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7178 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7179 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7180
7181 2014-08-04 Roland McGrath <roland@hack.frob.com>
7182
7183 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7184 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7185 (__libc_vfork): Define function under this name.
7186 (__vfork): Define as an alias.
7187 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7188 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7189
7190 2014-08-04 Roland McGrath <roland@hack.frob.com>
7191
7192 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7193 that was previously under [RESET_PID].
7194 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7195
7196 2014-08-04 Andreas Schwab <schwab@suse.de>
7197
7198 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7199
7200 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7201
7202 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7203 (main): Likewise.
7204
7205 2014-08-01 Roland McGrath <roland@hack.frob.com>
7206
7207 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7208
7209 2014-08-01 Richard Henderon <rth@redhat.com>
7210
7211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7212 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7213 typo in exact zero test.
7214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7217
7218 2014-08-01 Roland McGrath <roland@hack.frob.com>
7219
7220 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7221 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7222 * sysdeps/arm/sysdep.h: ... here.
7223 [!__ASSEMBLER__]: Include <stdint.h>.
7224
7225 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7226
7227 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7228 (HAVE_WCTYPE_H): Likewise.
7229 (HAVE_ISWCTYPE): Likewise.
7230 (ENABLE_NLS): Likewise.
7231 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7232 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7233
7234 * posix/regex_internal.c: Check if DEBUG is defined and is
7235 set.
7236
7237 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7238 (HAVE_MBSRTOWCS): Likewise.
7239 * posix/fnmatch.c: Include string.h unconditionally.
7240
7241 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7242
7243 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7244 reversal.
7245
7246 2014-07-31 Roland McGrath <roland@hack.frob.com>
7247
7248 * sysdeps/generic/safe-fatal.h: New file.
7249 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7250 * nptl/forward.c: Include it.
7251 (__pthread_unwind): Use __safe_fatal as default action, rather
7252 than a bogus use of INTERNAL_SYSCALL that could never work.
7253
7254 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7255 * configure.ac (libc_cv_builtin_trap): New test.
7256 * configure: Regenerated.
7257 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7258 (ABORT_INSTRUCTION): Define using __builtin_trap.
7259
7260 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7261 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7262 * sysdeps/nptl/nptl-signals.h: New file.
7263 * nptl/pthreadP.h: Include <nptl-signals.h>.
7264
7265 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7266
7267 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7268 (ONE_DIRECTION): Define.
7269 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7270 (ONE_DIRECTION): Define.
7271 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7272 (ONE_DIRECTION): Define.
7273
7274 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7275
7276 * sysdeps/s390/Makefile: Delete file.
7277 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7278 * sysdeps/s390/__longjmp.c: Delete file.
7279 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7280 Remove fields __flags and __reserved.
7281 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7282 and add versioning.
7283 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7284 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7285 * sysdeps/s390/rtld-setjmp.S: Likewise.
7286 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7287 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7288 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7289 * sysdeps/s390/s390-32/setjmp.S: ... here.
7290 Add versioning.
7291 (__sigsetjmp): Remove setting __flags field.
7292 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7293 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7294 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7295 * sysdeps/s390/s390-64/setjmp.S: ... here.
7296 Add versioning.
7297 (__sigsetjmp): Remove setting __flags field.
7298 * sysdeps/s390/setjmp.S: Delete file.
7299 * sysdeps/s390/sigjmp.c: Likewise.
7300 * sysdeps/s390/v1-longjmp.c: Likewise.
7301 * sysdeps/s390/v1-setjmp.h: Likewise.
7302 * sysdeps/s390/v1-sigjmp.c: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7304 Remove v1-longjmp_chk.
7305 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7306 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7307 Include debug/longjmp_chk.c and add versioning.
7308 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7309 Include nptl/pt-longjmp.c and add versioning.
7310 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7311 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7312 Include __longjmp.c.
7313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7314 Move to ...
7315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7316 (__getcontext): Remove setting __flags field.
7317 Add versioning.
7318 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7319 Don't restore upper high grps.
7320 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7321 Likewise.
7322 (__swapcontext): Remove setting uc_flags field.
7323 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7324 Delete file.
7325 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7326 Include __longjmp.c.
7327 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7328 Move to ...
7329 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7330 (__getcontext): Remove setting __flags field.
7331 Add versioning.
7332 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7333 (__swapcontext): Remove setting uc_flags field.
7334 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7336 Remove fields uc_high_gprs and __reserved.
7337 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7338 New file with reverted content.
7339 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7341 Regenerated.
7342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7343 Regenerated.
7344
7345 2014-07-31 Andreas Schwab <schwab@suse.de>
7346
7347 * config.h.in (HAVE_IFUNC): Define to 0.
7348 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7349 definedness.
7350
7351 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7352
7353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7354 memmove-avx-unaligned, memcpy-avx-unaligned and
7355 mempcpy-avx-unaligned.
7356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7357 Add tests for AVX memcpy functions.
7358 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7359 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7360 memcpy_chk.
7361 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7362 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7363 memmove_chk.
7364 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7366 mempcpy_chk.
7367 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7368 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7369 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7370
7371 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372
7373 [BZ #17213]
7374 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7375 powerpc64le.
7376
7377 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
7378
7379 [BZ #16839]
7380 * manual/llio.texi: Add section about open file description locks.
7381 * manual/examples/ofdlocks.c: Example of open file description
7382 lock usage.
7383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7384 F_OFD_SETLK, and F_OFD_SETLKW.
7385
7386 2014-07-23 Allan McRae <allan@archlinux.org>
7387
7388 * po/es.po: Update Spanish translation from translation project.
7389
7390 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7391
7392 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7393
7394 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7395
7396 [BZ #17078]
7397 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7398 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7399 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7400
7401 2014-07-17 Joseph Myers <joseph@codesourcery.com>
7402
7403 [BZ #17088]
7404 * math/fesetenv.c (__fesetenv)
7405 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7406 * math/feupdateenv.c (__feupdateenv)
7407 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7408
7409 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7410 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7411 (__ASSUME_SOCKETCALL): Do not define.
7412
7413 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7414 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7415 (__ASSUME_SOCKETCALL): Do not define.
7416 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7417 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7418 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7419 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7420 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7421 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7422 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7423 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7424
7425 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7426 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7427 (__ASSUME_SOCKETCALL): Do not define.
7428 (__ASSUME_IPC64): Define unconditionally.
7429 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7430 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7431 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7432 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7433 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7434 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7435 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7436 Likewise.
7437
7438 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7439 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7440 (__ASSUME_SOCKETCALL): Do not define.
7441 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7442 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7443 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7444 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7445 (__ASSUME_REQUEUE_PI): Define unconditionally.
7446 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7447 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7448 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7449 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7450 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7451 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7452
7453 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7454 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7455 (__ASSUME_SOCKETCALL): Do not define.
7456 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7457 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7458 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7459 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7460 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7461 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7462
7463 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7464 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7465 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7466 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7467 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7468 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7469 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7470 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7471 (__ASSUME_GETCPU_SYSCALL): Likewise.
7472
7473 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7474 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7475 cases for individual architectures.
7476 * sysdeps/gnu/configure: Regenerated.
7477 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7478 LIBC_SLIBDIR_RTLDDIR.
7479 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7480 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7481 LIBC_SLIBDIR_RTLDDIR.
7482 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7484 LIBC_SLIBDIR_RTLDDIR.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7486 Regenerated.
7487 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7488 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7489 file.
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7491 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7492 file.
7493 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7494 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7495 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7496 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7497
7498 * sysdeps/aarch64/shlib-versions: Move to ...
7499 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7500 * sysdeps/alpha/shlib-versions: Move to ...
7501 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7502 * sysdeps/arm/shlib-versions: Move to ...
7503 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7504 * sysdeps/hppa/shlib-versions: Move all contents except for
7505 libgcc_s entry to ...
7506 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7507 entry from ...
7508 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7509 * sysdeps/ia64/shlib-versions: Move to ...
7510 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7511 entry from ...
7512 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7513 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7514 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7515 * sysdeps/microblaze/shlib-versions: Move to ...
7516 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7517 * sysdeps/mips/shlib-versions: Move to ...
7518 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7519 entry from ...
7520 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7521 * sysdeps/tile/shlib-versions: Move to ...
7522 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7523 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7524 from ...
7525 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7526 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7527 entry from ...
7528 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7529
7530 2014-07-17 Will Newton <will.newton@linaro.org>
7531
7532 * sysdeps/arm/bits/atomic.h
7533 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7534 (__arch_compare_and_exchange_bool_16_int): Likewise.
7535 (__arch_compare_and_exchange_bool_64_int): Likewise.
7536
7537 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7538 into an #else block.
7539
7540 2014-07-16 Roland McGrath <roland@hack.frob.com>
7541
7542 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7543 just Linux configurations. Test empirically that the compiler sets
7544 __ARM_EABI__, rather than using the tuple to decide.
7545 * sysdeps/arm/preconfigure: Regenerated.
7546 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7547 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7548 contents appended ...
7549 * sysdeps/arm/configure.ac: ... here.
7550 * sysdeps/arm/configure: Regenerated.
7551
7552 2014-07-15 Roland McGrath <roland@hack.frob.com>
7553
7554 * nptl/pthread_kill.c: New file.
7555 * nptl/pthread_sigmask.c: New file.
7556 * nptl/pthread_sigqueue.c: New file.
7557
7558 * sysdeps/nptl/lowlevellock.h: New file.
7559 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7560 * sysdeps/nptl/lowlevellock-futex.h: New file.
7561
7562 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7563 Remove dead declarations.
7564
7565 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7568 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7569 config-cflags-avx2.
7570 * sysdeps/x86_64/configure.ac: Likewise.
7571 * sysdeps/i386/configure: Regenerated.
7572 * sysdeps/x86_64/configure: Likewise.
7573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7574 memset-avx2 only if config-cflags-avx2 is yes.
7575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7576 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7577 defined.
7578 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7579 only if HAVE_AVX2_SUPPORT is defined.
7580 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7581
7582 2014-07-14 Alan Modra <amodra@gmail.com>
7583
7584 [BZ #17153]
7585 * elf/elf.h (DT_PPC64_NUM): Correct value.
7586 * NEWS: Add to fixed bug list.
7587
7588 2014-07-13 Jim Meyering <meyering@fb.com>
7589
7590 [BZ 17150]
7591 regex: don't deref NULL upon heap allocation failure
7592 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7593 failure in one more place.
7594 To trigger the segfault, configure grep -with-included-regex,
7595 build it, and run these commands:
7596 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7597
7598 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7599
7600 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7601
7602 2014-07-11 Richard Henderson <rth@redhat.com>
7603
7604 * sysdeps/aarch64/libm-test-ulps: Update.
7605
7606 2014-07-10 Florian Weimer <fweimer@redhat.com>
7607
7608 [BZ #17135]
7609 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7610 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7611 (__nptl_setxid): Initialize error member. Call
7612 __nptl_setxid_error.
7613 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7614 * nptl/descr.h (struct xid_command): Add error member.
7615 * nptl/tst-setuid3.c: New file.
7616 * nptl/Makefile (tests): Add it.
7617
7618 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7619
7620 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7621 New define.
7622 (__lll_trylock): Use __lll_base_trylock.
7623 (__lll_cond_trylock): Likewise.
7624
7625 2014-07-10 Roland McGrath <roland@hack.frob.com>
7626
7627 * nptl/pthread_create.c (start_thread): Use atomic_or and
7628 lll_futex_wake directly rather than lll_robust_dead.
7629 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7630 (lll_robust_dead): Macro removed.
7631 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7632 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7633 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7634 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7635 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7636 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7637 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7638 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7639 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7640 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7641 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7642 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7643 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7644 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7645 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7646
7647 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7648 Use atomic_compare_and_exchange_val_acq directly rather than
7649 lll_robust_trylock.
7650 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7651 (__lll_robust_trylock, lll_robust_trylock): Removed.
7652 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7653 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7654 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7656 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7657 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7658 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7659 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7661 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7662 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7663 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7664 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7666
7667 2014-07-02 Florian Weimer <fweimer@redhat.com>
7668
7669 * manual/locale.texi (Locale Names): New section documenting
7670 locale name syntax. Adjust menu and node chaining accordingly.
7671 (Choosing Locale): Reference Locale Names, Locale Categories.
7672 Mention setting LC_ALL=C. Reflect that name syntax is now
7673 documented.
7674 (Locale Categories): New section title. Reference Locale Names.
7675 LC_ALL is an environment variable, but not a category.
7676 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7677 description, now in Locale Name. Reference that section. Locale
7678 name syntax is now documented.
7679
7680 2014-07-02 Florian Weimer <fweimer@redhat.com>
7681
7682 [BZ #17137]
7683 * locale/findlocale.c (name_present, valid_locale_name): New
7684 functions.
7685 (_nl_find_locale): Use the loc_name variable to store name
7686 candidates. Call name_present and valid_locale_name to check and
7687 validate locale names. Return an error if the locale is invalid.
7688
7689 2014-07-02 Florian Weimer <fweimer@redhat.com>
7690
7691 * locale/setlocale.c (setlocale): Use strdup for allocating
7692 composite name copy.
7693
7694 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7695
7696 Sync up with gnulib.
7697 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7698 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7699 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7700 and _GL_ARG_NONNULL.
7701 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7702 [!_LIBC]: Include code for Windows and Cygwin.
7703 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7704 Include prototype for int strerror_r.
7705 [!_LIBC] (is_open): New function.
7706 (flush_stdout): New function.
7707 (print_errno_message): Use it.
7708 (error): Likewise.
7709 (error_at_line): Likewise.
7710 (error_tail) Add function attribute macros. Use
7711 __builtin_expect.
7712
7713 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7714
7715 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7716
7717 * io/ftw.c: Include sys/param.h unconditionally.
7718
7719 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7720
7721 [BZ #17125]
7722 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7723 libc_freeres_ptr.
7724 (freecache): New function to free CACHE on exit.
7725
7726 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7727 initialization.
7728
7729 2014-07-09 David S. Miller <davem@davemloft.net>
7730
7731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7732
7733 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7734 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7735 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7736 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7737 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7738 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7739 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7740 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7741 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7742 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7743 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7744 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7745 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7746
7747 2014-07-09 Andreas Schwab <schwab@suse.de>
7748
7749 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7750 output.
7751 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7752 (do_test): Likewise.
7753
7754 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7755
7756 2014-07-09 Will Newton <will.newton@linaro.org>
7757
7758 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7759 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7760 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7761 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7762 * sysdeps/hppa/start.S (_start): Likewise.
7763
7764 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7765
7766 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7767
7768 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7769 defined.
7770
7771 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7772
7773 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7774 after checking that it is non-NULL.
7775
7776 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7777
7778 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779
7780 * sysdeps/powerpc/memmove.c: Remove file.
7781 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7782 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7783 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7784 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7786 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7787 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7788 string memmove instead of removed powerpc one.
7789
7790 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7791 [weak_alias]: Fix compiler warning due trailing data.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7793 [weak_alias]: Likewise.
7794 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7795 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7796
7797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7798 (__libc_ifunc_impl_list): Add memmove functions.
7799
7800 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7801
7802 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7803 Remove code.
7804 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7805 Likewise
7806 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7807 Likewise
7808 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7809 Likewise
7810 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7811 Likewise
7812 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7813 Likewise
7814 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7815 Likewise
7816 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7817 Likewise
7818 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7819 Likewise
7820 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7821 Likewise
7822 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7823 Likewise
7824 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7825 Likewise
7826 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7827 Likewise
7828 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7829 Likewise
7830 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7831 Likewise
7832 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7833 Likewise
7834 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7835 Likewise
7836
7837 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7838
7839 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7840 to avoid alignment traps in non-cacheable memory.
7841 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7842
7843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7844 multiarch objects.
7845 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7846 file: multiarch power7 memmove.
7847 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7848 multiarch default memmove.
7849 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7850 multiarch memove for powerpc32/power4.
7851
7852 * string/bcopy.c: Use full path to include memmove.c.
7853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7854 multiarch objects.
7855 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7856 bcopy for powerpc64.
7857 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7858 bcopy for powerpc64.
7859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7860 and memmove implementations.
7861 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7862 optimized multiarch memmove for POWER7/powerpc64.
7863 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7864 default multiarch memmove for powerpc64.
7865 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7866 multiarch for powerpc64.
7867 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7868 for POWER7/powerpc64.
7869 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7870 memmove for POWER7/powerpc64.
7871
7872 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7873 glibc default one.
7874
7875 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7876 __ELF_NATIVE_CLASS equal to 64.
7877
7878 2014-07-07 Roland McGrath <roland@hack.frob.com>
7879
7880 * sysdeps/nptl/lowlevellock.h: File removed.
7881
7882 * NEWS: NPTL is no longer an add-on!
7883 * nptl/internaltypes.h: Moved ...
7884 * sysdeps/nptl/internaltypes.h: ... here.
7885 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7886 * sysdeps/nptl/fork.c: Likewise.
7887 * sysdeps/nptl/gai_misc.h: Likewise.
7888 * sysdeps/nptl/librt-cancellation.c: Likewise.
7889 * sysdeps/nptl/jmp-unwind.c: Likewise.
7890 * sysdeps/nptl/setxid.h: Likewise.
7891 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7892 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7893 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7894 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7895 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7896 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7897 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7898 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7899 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7900 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7901 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7902 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7903 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7904 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7905 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7906 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7907 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7908 * nptl/Makeconfig: Moved ...
7909 * sysdeps/nptl/Makeconfig: ... here.
7910 * nptl/configure: File removed.
7911 * nptl/ANNOUNCE: File removed.
7912 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7913 * sysdeps/unix/sysv/linux/configure: Regenerated.
7914
7915 * nptl/Makefile (routines): Add libc_pthread_init,
7916 libc_multiple_threads, register-atfork and unregister-atfork.
7917 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7918 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7919 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7920 pthread-pi-defines.sym, structsem.sym.
7921 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7922 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7923 [$(subdir) = nptl] (tests): Add tst-setgetname.
7924 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7925 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7926 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7927 [!LIBC_SIGACTION]: Remove aliases.
7928 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7929 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7930 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7931 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7932 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7936 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7937 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7938 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7939 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7940 __libc_allocate_rtsig_private.
7941 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7942 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7943 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7944 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7945 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7946 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7947 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7948 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7949 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7950 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7951 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7952 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7953 * nptl/internaltypes.h: ... here.
7954 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7955 * sysdeps/nptl/jmp-unwind.c: ... here.
7956 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7957 * nptl/libc-lowlevellock.c: ... here.
7958 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7959 * nptl/libc_multiple_threads.c: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7961 * nptl/libc_pthread_init.c: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7963 * nptl/lowlevelbarrier.sym: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7965 * nptl/lowlevelcond.sym: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7967 * nptl/lowlevellock.c: ... here.
7968 * nptl/lowlevellock.h: Moved ...
7969 * sysdeps/nptl/lowlevellock.h: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7971 * nptl/lowlevelrobustlock.c: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7973 * nptl/lowlevelrobustlock.sym: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7975 * nptl/lowlevelrwlock.sym: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7977 * nptl/pt-fork.c: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7979 * nptl/pthread-pi-defines.sym: ... here.
7980 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7981 * nptl/pthread_attr_getaffinity.c: ... here.
7982 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7983 * nptl/pthread_attr_setaffinity.c: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7985 * nptl/pthread_mutex_cond_lock.c: ... here.
7986 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7987 Update #include.
7988 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7989 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7990 * nptl/pthread_once.c: ... here, replacing old file.
7991 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7992 * nptl/pthread_yield.c: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7994 * nptl/register-atfork.c: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7996 * nptl/sem_post.c: ... here.
7997 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7998 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7999 * nptl/sem_timedwait.c: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8001 * nptl/sem_trywait.c: ... here.
8002 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8003 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8004 * nptl/sem_wait.c: ... here.
8005 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8006 * nptl/structsem.sym: ... here.
8007 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8008 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8009 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8010 * nptl/unregister-atfork.c: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8012 * nptl/unwindbuf.sym: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8014 * sysdeps/nptl/fork.c: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8016 * sysdeps/nptl/fork.h: ... here.
8017 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8018 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8019 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8020 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8021 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8022 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8023 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8025 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8027 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8028 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8029 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8030 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8031 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8032 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8033 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8034 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8035 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8036 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8037 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8038 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8039 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8040 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8041 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8042 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8043 * sysdeps/unix/sysv/linux/raise.c: ... here.
8044 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8045 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8046 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8047 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8048 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8049 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8050 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8051 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8052 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8053 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8054 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8055 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8056 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8057 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8058 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8059
8060 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
8062 * sysdeps/generic/memcopy.h: Add comment for
8063 MEMCPY_OK_FOR_FWD_MEMMOVE.
8064
8065 2014-07-04 Will Newton <will.newton@linaro.org>
8066
8067 * string/memchr.c: Merge from gnulib.
8068 [_LIBC]: Remove conditionals.
8069 (__ptr_t): Remove define.
8070 (LONG_MAX_32_BITS): Likewise.
8071 (LONG_MAX): Likewise.
8072 (MEMCHR): Use ANSI prototype and optimize algorithm.
8073
8074 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8075
8076 2014-07-03 Roland McGrath <roland@hack.frob.com>
8077
8078 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8079 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8080
8081 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8082 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8083 in a bare environment with no <stdlib.h> installed.
8084 * sysdeps/nptl/configure: Regenerated.
8085
8086 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8087
8088 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8089 AC_EGREP_CPP for kernel header checks, so they only succeed if
8090 including <linux/version.h> actually works right.
8091 * sysdeps/unix/sysv/linux/configure: Regenerated.
8092
8093 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8094 value so it's not diagnosed as unused.
8095
8096 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8097 thing) with "ifeq ($(subdir),rt)".
8098
8099 2014-07-03 Richard Henderson <rth@redhat.com>
8100
8101 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8102 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8103 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8104
8105 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8106 (math_force_eval): New.
8107
8108 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8109 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8110
8111 * sysdeps/alpha/fpu/s_round.c: Remove file.
8112 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8113
8114 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8115 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8116 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8117 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8118 (_dl_start, print_statistics): Likewise.
8119 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8120 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8121
8122 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8123 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8124 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8125 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8127 (HP_SMALL_TIMING_AVAIL): Define.
8128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8130 (HP_SMALL_TIMING_AVAIL): Define.
8131 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8132 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8133
8134 * sysdeps/aarch64/hp-timing.h: New file.
8135
8136 * sysdeps/generic/hp-timing.h: Remove dead comment.
8137 * sysdeps/generic/hp-timing-common.h: New file.
8138 * sysdeps/alpha/hp-timing.h: Include it.
8139 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8140 * sysdeps/i386/i686/hp-timing.h: Likewise.
8141 * sysdeps/ia64/hp-timing.h: Likewise.
8142 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8143 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8144 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8145 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8146 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8147 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8148 (hp_timing_t): New.
8149
8150 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8151 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8152 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8153 * elf/rtld.c (_dl_start_final): Likewise.
8154 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8155 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8156 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8157 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8158 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8160 (HP_TIMING_DIFF_INIT): Remove.
8161 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8163 (HP_TIMING_DIFF_INIT): Remove.
8164 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8165 * sysdeps/i386/i686/hp-timing.c: Remove file.
8166 * sysdeps/x86_64/hp-timing.c: Remove file.
8167 * sysdeps/ia64/hp-timing.c: Remove file.
8168 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8169 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8170 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8171 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8172
8173 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8174 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8175 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8176 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8178 (HP_TIMING_ACCUM): Remove.
8179 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8180 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8181 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8182
8183 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8184 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8185 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8186 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8187 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8188 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8189 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8190 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8191
8192 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8193
8194 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8195
8196 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8197
8198 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
8200 Sync up with gettext.
8201 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8202 [_MSC_VER]: Include malloc.h
8203 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8204 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8205 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8206 TEMP_FAILURE_RETRY. Cast return of alloca.
8207 [!_LIBC] Call gl_rwlock_init.
8208 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8209
8210 2014-07-02 Roland McGrath <roland@hack.frob.com>
8211
8212 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8213 before checking its value.
8214
8215 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8216
8217 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8218
8219 * debug/memcpy_chk.c: Don't include pagecopy.h.
8220 * debug/mempcpy_chk.c: Likewise.
8221 * string/memcpy.c: Likewise.
8222 * string/memmove.c: Likewise.
8223 * sysdeps/powerpc/memmove.c: Likewise.
8224 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8225 definition of PAGE_COPY_FWD_MAYBE here...
8226 * sysdeps/generic/pagecopy.h: ... from here.
8227 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8228
8229 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8230 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8231
8232 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8234 optimizations.
8235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8236 (__libc_ifunc_impl_list): Likewise.
8237 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8238 multiarch strcat for PPC64.
8239 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8240 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8241
8242 2014-07-02 Roland McGrath <roland@hack.frob.com>
8243
8244 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8245
8246 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8247
8248 * intl/loadmsgcat.c: Remove declaration of
8249 get_sysdep_segment_value.
8250 (get_sysdep_segment_value): Use ISO C style.
8251 (_nl_load_domain): Use ISO C style. Get rid of redundant
8252 semicolon. Fix typo and formatting in comment.
8253 (_nl_unload_domain): Use ISO C style.
8254
8255 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8256
8257 2014-07-02 Will Newton <will.newton@linaro.org>
8258
8259 * malloc/obstack.c: Merge from gnulib master.
8260 [HAVE_CONFIG_H]: Remove conditional code.
8261 [!_LIBC]: Include config.h.
8262 [!ELIDE_CODE]: Don't include inttypes.h, include
8263 stdint.h unconditionally.
8264 (print_and_abort): Mark as _Noreturn.
8265 (_obstack_allocated_p): Mark as __attribute_pure__.
8266 (obstack_free): Rename to __obstack_free.
8267 [!__attribute__]: Remove conditional code.
8268 * malloc/obstack.h: Merge from gnulib master.
8269 [__cplusplus]: Move conditional down.
8270 [!__attribute_pure__]: Define __attribute_pure__ here
8271 if it is not already defined.
8272 (_obstack_memory_used): Mark as __attribute_pure__.
8273 [!__obstack_free]: Define as obstack_free.
8274 [__GNUC__]: Remove check for ancient NeXT gcc.
8275
8276 2014-07-02 Will Newton <will.newton@linaro.org>
8277 Paul Eggert <eggert@cs.ucla.edu>
8278
8279 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8280
8281 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
8283 * resolv/gethnamaddr.c: Add comment warning that the file is
8284 not maintained.
8285
8286 2014-07-01 Carlos O'Donell <carlos@redhat.com>
8287
8288 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8289 entries.
8290
8291 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8292 entry for aio_cancel and aio_cancel64.
8293 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8294 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8295 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8296 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8297 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8298 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8299 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8300 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8301 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8302 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8303 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8304 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8305 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8306
8307 2014-07-01 Roland McGrath <roland@hack.frob.com>
8308
8309 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8310 * nptl/pthread_mutex_lock.c: Likewise.
8311 * nptl/pthread_mutex_timedlock.c: Likewise.
8312 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8313
8314 2014-07-01 Richard henderson <rth@redhat.com>
8315
8316 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8317 (__isnan, __isnanl): Remove.
8318 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8319
8320 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8321
8322 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8323
8324 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8325
8326 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * resolv/nss_dns/dns-host.c (getanswer_r)
8329 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8330
8331 2014-07-01 Joseph Myers <joseph@codesourcery.com>
8332
8333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8334 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8335 undefine.
8336 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8337 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8338
8339 2014-07-01 Roland McGrath <roland@hack.frob.com>
8340
8341 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8342 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8343
8344 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8345 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8346
8347 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8348 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8349 ... here.
8350 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8351 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8352
8353 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8354 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8355 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8356 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8357
8358 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8359 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8360 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8363 Moved ...
8364 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8365 ... here.
8366 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8375 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8377 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8379 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8383 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8385 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8386 ... here.
8387 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8388 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8389 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8390 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8391 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8392 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8393 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8394 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8395
8396 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8397
8398 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8399 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8400 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8401 Add sysdep.
8402
8403 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404
8405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406
8407 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8408
8409 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8410 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8411
8412 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8413
8414 * sysdeps/arm/libm-test-ulps: Regenerated.
8415
8416 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8417 Roland McGrath <roland@hack.frob.com>
8418
8419 * test-skeleton.c (signal_handler): Kill the whole process group
8420 before killing the child individually.
8421 (main): Report any failure on `setpgid'.
8422
8423 2014-06-30 Roland McGrath <roland@hack.frob.com>
8424
8425 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8426 from _TLS_H to _ARM_NPTL_TLS_H.
8427 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8428 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8429
8430 2014-06-30 Joseph Myers <joseph@codesourcery.com>
8431
8432 [BZ #16539]
8433 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8434 (__expm1l): Return argument unchanged when small but not
8435 subnormal.
8436
8437 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8438 include macro name.
8439 (_FP_UNPACK_RAW_1_P): Likewise.
8440 (_FP_PACK_RAW_1): Likewise.
8441 (_FP_PACK_RAW_1_P): Likewise.
8442 (_FP_MUL_MEAT_1_wide): Likewise.
8443 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8444 (_FP_MUL_MEAT_1_hard): Likewise.
8445 (_FP_DIV_MEAT_1_imm): Likewise.
8446 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8447 (_FP_DIV_MEAT_1_udiv): Likewise.
8448 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8449 (_FP_UNPACK_RAW_2): Likewise.
8450 (_FP_UNPACK_RAW_2_P): Likewise.
8451 (_FP_PACK_RAW_2): Likewise.
8452 (_FP_PACK_RAW_2_P): Likewise.
8453 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8454 (_FP_MUL_MEAT_2_wide): Likewise.
8455 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8456 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8457 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8458 (_FP_MUL_MEAT_2_gmp): Likewise.
8459 (_FP_DIV_MEAT_2_udiv): Likewise.
8460 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8461 (_FP_FRAC_SRL_4): Likewise.
8462 (_FP_FRAC_SRST_4): Likewise.
8463 (_FP_FRAC_SRS_4): Likewise.
8464 (_FP_UNPACK_RAW_4): Likewise.
8465 (_FP_UNPACK_RAW_4_P): Likewise.
8466 (_FP_PACK_RAW_4): Likewise.
8467 (_FP_PACK_RAW_4_P): Likewise.
8468 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8469 (_FP_MUL_MEAT_4_wide): Likewise.
8470 (_FP_MUL_MEAT_4_gmp): Likewise.
8471 (umul_ppppmnnn): Likewise.
8472 (_FP_DIV_MEAT_4_udiv): Likewise.
8473 (__FP_FRAC_ADD_4): Likewise.
8474 (__FP_FRAC_SUB_3): Likewise.
8475 (__FP_FRAC_SUB_4): Likewise.
8476 (__FP_FRAC_DEC_3): Likewise.
8477 (__FP_FRAC_DEC_4): Likewise.
8478 (__FP_FRAC_ADDI_4): Likewise.
8479 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8480 (_FP_FRAC_SRL_8): Likewise.
8481 (_FP_FRAC_SRS_8): Likewise.
8482
8483 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8484 include macro name.
8485 (FP_UNPACK_RAW_EP): Likewise.
8486 (FP_PACK_RAW_E): Likewise.
8487 (FP_PACK_RAW_EP): Likewise.
8488 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8489 (_FP_ISSIGNAN): Likewise.
8490 (_FP_ADD_INTERNAL): Likewise.
8491 (_FP_FMA): Likewise.
8492 (_FP_CMP): Likewise.
8493 (_FP_SQRT): Likewise.
8494 (_FP_TO_INT): Likewise.
8495 (_FP_FROM_INT): Likewise.
8496 (FP_EXTEND): Likewise.
8497 (_FP_DIV_MEAT_N_loop): Likewise.
8498
8499 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8500
8501 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8502 throughout.
8503
8504 2014-06-29 Joseph Myers <joseph@codesourcery.com>
8505
8506 [BZ #17097]
8507 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8508 result with correct sign in case of exponents that produce
8509 overflow except for X very close to 1.
8510
8511 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8512
8513 mktime: merge #if/#ifdef usage from glibc
8514 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8515 as that works with both Glibc's and Gnulib's style.
8516 See thread starting at Siddhesh Poyarekar's bug report at:
8517 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8518
8519 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8520
8521 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8522 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8523 * sysdeps/tile/tilegx/memmove.c: Remove file.
8524
8525 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8526
8527 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8528 abi-name definition.
8529 * scripts/soversions.awk: Do not handle or generate ABI lines.
8530 * shlib-versions: Remove ABI entries.
8531 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8532 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8533
8534 2014-06-27 Roland McGrath <roland@hack.frob.com>
8535
8536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8537 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8538 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8539 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8541 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8543 Moved ...
8544 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8545 ... here.
8546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8547 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8549 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8553 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8555 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8557 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8559 Moved ...
8560 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8564 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8566 Moved ...
8567 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8569 Moved ...
8570 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8572 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8574 Moved ...
8575 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8583 Moved ...
8584 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8586 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8588 Moved ...
8589 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8591 Moved ...
8592 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8593 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8594 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8596 Moved ...
8597 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8598 ... here.
8599 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8600 Identical file removed.
8601 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8602 Moved ...
8603 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8604 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8605 Identical file removed.
8606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8607 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8609 Moved ...
8610 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8612 Identical file removed.
8613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8616 Identical file removed.
8617 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8620 Identical file removed.
8621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8624 Identical file removed.
8625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8626 Moved ...
8627 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8629 Identical file removed.
8630 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8631 Moved ...
8632 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8636 Identical file removed.
8637 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8638 Moved ...
8639 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8640 ... here.
8641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8642 Identical file removed.
8643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8644 Moved ...
8645 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8647 Identical file removed.
8648 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8649 Moved ...
8650 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8651 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8652 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8653 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8654 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8656 Moved ...
8657 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8659 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8660
8661 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8662 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8663 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8664 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8665 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8666
8667 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
8668
8669 [BZ #17092]
8670 * nscd/nscd.c (monitor_child): Return exit status of child
8671 instead of return value from wait syscall.
8672
8673 2014-06-27 Joseph Myers <joseph@codesourcery.com>
8674
8675 * configure.ac (libc_commonpagesize): Remove variable.
8676 (libc_relro_required): Likewise.
8677 (libc_cv_z_relro): Remove configure test.
8678 * configure: Regenerated.
8679 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8680 variable.
8681 (libc_relro_required): Likewise.
8682 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8683 (libc_relro_required): Likewise.
8684 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8685 (libc_relro_required): Likewise.
8686 * sysdeps/arm/preconfigure: Regenerated.
8687 * sysdeps/ia64/preconfigure: Remove file.
8688 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8689 variable.
8690 (libc_relro_required): Likewise.
8691
8692 [BZ #16561]
8693 [BZ #16562]
8694 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8695 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8696 recompute overflowing results in original rounding mode.
8697 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8698 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8699 recompute overflowing results in original rounding mode.
8700 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8701 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8702 recompute overflowing results in original rounding mode.
8703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8704 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8705 recompute overflowing results in original rounding mode.
8706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8707 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8708 recompute overflowing results in original rounding mode.
8709 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8710 (libc_feholdsetround_ctx): New macro.
8711 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8714
8715 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8716
8717 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8718 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8719 corresponding .cpsetup call.
8720
8721 2014-06-26 Roland McGrath <roland@hack.frob.com>
8722
8723 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8724 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8725 * sysdeps/arm/Makefile [$(subdir) = csu]
8726 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8727 (static-only-routines): Add aeabi_read_tp here.
8728 (shared-only-routines): Add libc-aeabi_read_tp here.
8729 (CFLAGS-libc-start.c): Add -fexceptions here.
8730 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8731 (sysdep_routines, static-only-routines, shared-only-routines):
8732 Don't add to these here.
8733 (CFLAGS-libc-start.c): Likewise.
8734
8735 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8736 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8737 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8738 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8739 * sysdeps/arm/Makefile [$(subdir) = rt]
8740 (librt-sysdep_routines, librt-shared-only-routines):
8741 Append rt-aeabi_unwind_cpp_pr1 here.
8742 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8743 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8744 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8745 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8746 Append nptl-aeabi_unwind_cpp_pr1 here.
8747 (tests): Filter out tst-cleanupx4 here.
8748 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8749 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8750 Don't do those here.
8751
8752 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8753
8754 * scripts/list-sources.sh: Do not handle ports specially.
8755
8756 2014-06-26 Roland McGrath <roland@hack.frob.com>
8757
8758 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8759 * sysdeps/arm/feupdateenv.c: Likewise.
8760
8761 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8762
8763 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8764
8765 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8766 trailing whitespace removed.
8767 * scripts/config.guess: Update to version 2014-03-23.
8768 * scripts/config.sub: Update to version 2014-05-01
8769 * scripts/install-sh: Update to version 2013-12-25.23.
8770 * scripts/move-if-change: Update from gnulib.
8771
8772 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8773
8774 * debug/memmove_chk.c: Remove pagecopy.h include.
8775
8776 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8777
8778 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8779 identical to gnulib mktime.
8780
8781 2014-06-26 Joseph Myers <joseph@codesourcery.com>
8782
8783 * configure.ac: Do not test for machine being rs6000. Do not test
8784 for powerpc*-*soft.
8785 * configure: Regenerated.
8786
8787 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8788 test.
8789 * configure: Regenerated.
8790 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8791 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8792 Remove configure test.
8793 * sysdeps/arm/configure: Regenerated.
8794 * sysdeps/nptl/configure.ac: Do not check
8795 libc_cv_asm_cfi_directives.
8796 * sysdeps/nptl/configure: Regenerated.
8797 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8798 * sysdeps/x86_64/nptl/configure: Remove generated file.
8799 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8800 unconditional.
8801 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8802
8803 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
8805 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8806 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8807 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8808 it is defined.
8809
8810 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8811 instead of whether it is defined.
8812 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8813 * sysdeps/hppa/dl-machine.h: Likewise.
8814 * sysdeps/ia64/dl-machine.h: Likewise.
8815 * sysdeps/m68k/dl-machine.h: Likewise.
8816 * sysdeps/microblaze/dl-machine.h: Likewise.
8817 * sysdeps/mips/dl-machine.: Likewise.
8818 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8819 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8820 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8821 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8822 * sysdeps/sh/dl-machine.h: Likewise.
8823 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8824 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8825 * sysdeps/tile/dl-machine.h: Likewise.
8826 * sysdeps/x86_64/dl-machine.h: Likewise.
8827
8828 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8829 code.
8830 (verify_persistent_db): Likewise.
8831
8832 2014-06-26 Roland McGrath <roland@hack.frob.com>
8833
8834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8835 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8839 Moved ...
8840 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8841 ... here.
8842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8845 Identical file removed.
8846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8857 Moved ...
8858 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8860 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8862 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8864 Moved ...
8865 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8869 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8871 Identical file removed.
8872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8873 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8875 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8877 Moved ...
8878 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8879 ... here.
8880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8881 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8883 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8887 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8891 Moved ...
8892 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8894 Moved ...
8895 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8897 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8899 Moved ...
8900 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8903
8904 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8905 folded into ...
8906 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8907 * sysdeps/unix/sysv/linux/s390/Versions
8908 (libpthread: GLIBC_2.19): New version set.
8909 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8910 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8911 (librt: GLIBC_2.3.3): New version set.
8912 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8913 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8914 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8915 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8916 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8917 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8918 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8919 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8920 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8922 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8924 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8925 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8926 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8927 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8928 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8929 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8930 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8931 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8932 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8933 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8934 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8936 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8937 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8938 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8940 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8941 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8942 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8943 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8945 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8947 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8948 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8950 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8953 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8954 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8955 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8956 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8957
8958 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8959 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8960 (__libc_vfork): Define the function under this name.
8961 [!NOT_IN_libc] (__vfork): Make this an alias.
8962 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8964 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8965 (__libc_vfork): Define the function under this name.
8966 [!NOT_IN_libc] (__vfork): Make this an alias.
8967 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8968 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8969 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8970 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8972 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8973
8974 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8975 code that was previously under [RESET_PID].
8976 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8977 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8978 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8979
8980 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8981 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8982 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8983 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8984 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8985 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8986 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8987 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8988 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8989 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8990 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8991 Moved ...
8992 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9004 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9006 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9007 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9008 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9009 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9010 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9014 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9015 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9016 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9017 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9018 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9019 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9020 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9021
9022 2014-06-25 Roland McGrath <roland@hack.frob.com>
9023
9024 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9025 that was previously under [RESET_PID].
9026 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9027
9028 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9029
9030 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9031 not undefine and redefine.
9032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9033 [O_CLOEXEC]: Make code unconditional.
9034 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9035 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9036 <kernel-features.h>.
9037 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9038 conditional variable definition.
9039 (shm_open) [O_CLOEXEC]: Make code unconditional.
9040 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9041 code.
9042
9043 * configure.ac (USE_REGPARMS): Don't define here.
9044 * configure: Regenerated.
9045 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9046 * sysdeps/i386/configure: Regenerated.
9047
9048 * nptl/createthread.c: Don't include kernel-features.h.
9049 * nptl/pthread_cancel.c: Likewise.
9050 * nptl/pthread_condattr_setclock.c: Likewise.
9051 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9052 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9053 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9054 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9055 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9056 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9057 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9058 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9059 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9060 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9061 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9062 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9063 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9064 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9065 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9066 * nscd/gai.c: Likewise.
9067 * nss/nss_db/db-open.c: Likewise.
9068 * sysdeps/generic/ldsodefs.h: Likewise.
9069 * sysdeps/sh/nptl/tls.h: Likewise.
9070 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9071 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9072 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9073 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9074 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9075 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9076 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9077 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9079 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9080 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9081 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9082 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9083 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9084 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9085 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9086 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9087 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9088 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9089 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9090 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9091 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9093 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9094 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9095 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9096 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9097 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9098 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9099 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9100 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9101 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9102 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9103 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9104 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9105 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9106 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9107 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9108 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9109 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9110 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9111 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9112 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9113 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9114 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9115 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9116 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9117 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9118 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9119 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9120 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9121 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9122 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9123 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9124 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9125 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9126 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9150 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9151 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9152 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9153 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9154 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9155 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9156 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9157 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9158 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9159 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9160 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9161 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9162 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9163 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9164 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9165 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9168 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9169 * sysdeps/unix/sysv/linux/system.c: Likewise.
9170 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9171 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9172 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9173 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9174 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9175 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9176 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9177
9178 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9179 * configure: Regenerated.
9180 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9181
9182 * configure.ac (base_machine): Do not set specially for particular
9183 machines here.
9184 * configure: Regenerated.
9185 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9186 settings from configure.ac.
9187 * sysdeps/i386/preconfigure: New file.
9188 * sysdeps/s390/preconfigure: Likewise.
9189 * sysdeps/sh/preconfigure: Likewise.
9190 * sysdeps/sparc/preconfigure: Likewise.
9191
9192 2014-06-25 Roland McGrath <roland@hack.frob.com>
9193
9194 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9195 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9196 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9197 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9198 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9199 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9200 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9201 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9202 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9203 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9204 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9205 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9206 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9207 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9208 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9209 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9211 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9212 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9213
9214 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9215 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9216 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9217 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9218 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9219 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9220 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9221 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9222 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9223 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9224 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9225 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9226 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9227 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9228 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9229 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9230 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9231 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9232 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9233 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9234 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9235 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9236 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9237 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9238 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9239 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9240 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9241 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9242 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9243 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9244 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9245 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9246 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9247 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9248 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9249 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9250 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9251 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9252
9253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9254 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9256 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9258 Moved ...
9259 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9260 ... here.
9261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9262 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9264 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9266 Moved ...
9267 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9275 Moved ...
9276 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9278 Moved ...
9279 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9283 Moved ...
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9288 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9290 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9292 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9294 Moved ...
9295 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9296 ... here.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9300 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9302 Moved ...
9303 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9311 Moved ...
9312 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9314 Moved ...
9315 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9319 Moved ...
9320 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9324 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9325
9326 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9327
9328 * timezone/checktab.awk: Update from tzcode 2014e.
9329 * timezone/private.h: Likewise.
9330 * timezone/tzfile.h: Likewise.
9331 * timezone/zdump.c: Likewise.
9332 * timezone/zic.c: Likewise.
9333
9334 * sysdeps/unix/sysv/linux/kernel-features.h
9335 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9336 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9337 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9338 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9339 Remove conditional code.
9340
9341 2014-06-25 Will Newton <will.newton@linaro.org>
9342
9343 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9344 (_dl_arm_cap_flags): Add HWCAP2 values.
9345 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9346 (_DL_HWCAP_COUNT): Increase to 37.
9347 (_DL_HWCAP_LAST): New define.
9348 (_DL_HWCAP2_LAST): New define.
9349 (_dl_procinfo): Add support for printing
9350 AT_HWCAP2 entries.
9351 (_dl_string_hwcap): Use _dl_hwcap_string.
9352
9353 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9354
9355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9356
9357 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9358
9359 * README: Do not mention ports directory.
9360
9361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9362 Remove macro.
9363 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9364 <kernel-features.h>.
9365 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9366 conditional variable definition.
9367 (__futimes): Update comment.
9368 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9369 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9370
9371 [BZ #16560]
9372 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9373 arguments close to 0.
9374 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9375 Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9377 Likewise.
9378 * math/auto-libm-test-in: Add more tests of exp10.
9379 * math/auto-libm-test-out: Regenerated.
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9381
9382 * sysdeps/unix/sysv/linux/kernel-features.h
9383 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9384 * sysdeps/unix/sysv/linux/readv.c: Do not include
9385 <kernel-features.h>.
9386 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9387 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9388 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9389 unconditional.
9390 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9391 conditional code.
9392 * sysdeps/unix/sysv/linux/writev.c: Do not include
9393 <kernel-features.h>.
9394 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9395 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9396 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9397 unconditional.
9398 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9399 conditional code.
9400
9401 2014-06-25 Will Newton <will.newton@linaro.org>
9402
9403 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9404 comment changes throughout the file. Remove checks
9405 for HAVE_*_H definitions that are not required.
9406 (__gen_tempname): Call abort if an unknown kind value is
9407 passed.
9408
9409 2014-06-25 Andreas Schwab <schwab@suse.de>
9410
9411 [BZ #17086]
9412 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9413 scalbln, scalblnf, scalblnl in libc.
9414
9415 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9416
9417 [BZ #17086]
9418 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9419 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9420 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9421
9422 2014-06-24 Roland McGrath <roland@hack.frob.com>
9423
9424 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9425 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9426 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9427 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9428 Update #include.
9429 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9430 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9431 Update #include.
9432 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9433 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9434 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9435 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9436 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9437 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9438 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9439 * sysdeps/x86/bits/semaphore.h: ... here.
9440 * sysdeps/x86/nptl/elide.h: Moved ...
9441 * sysdeps/x86/elide.h: ... here.
9442 * sysdeps/x86_64/nptl/Implies: File removed.
9443 * sysdeps/i386/nptl/Implies: File removed.
9444
9445 2014-06-24 Joseph Myers <joseph@codesourcery.com>
9446
9447 [BZ #16539]
9448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9449 return the argument for normal arguments with exponent below -64.
9450 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9451 Likewise.
9452 * math/auto-libm-test-in: Add another test of expm1.
9453 * math/auto-libm-test-out: Regenerated.
9454
9455 [BZ #16287]
9456 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9457 calling __erfcl for arguments at least 16.
9458 * math/auto-libm-test-in: Add more tests of erf.
9459 * math/auto-libm-test-out: Regenerated.
9460
9461 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9462 individual architectures.
9463 * sysdeps/unix/sysv/linux/configure: Regenerated.
9464 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9465 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9466 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9467 (ldd_rewrite_script): Define variable.
9468 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9470 file.
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9472 generated file.
9473 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9474 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9475 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9476 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9477 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9478 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9479 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9480 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9481
9482 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9483
9484 [BZ #17084]
9485 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9486 Rename member __data.d to __data.__elision_data.
9487
9488 2014-06-24 Wilco <wdijkstr@arm.com>
9489
9490 * NEWS: Add 16918 to fixed bug list.
9491
9492 2014-06-24 Wilco <wdijkstr@arm.com>
9493
9494 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9495
9496 2014-06-24 Wilco <wdijkstr@arm.com>
9497
9498 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9499 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9500 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9501 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9502 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9503 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9504 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9505 Use _FPU_MASK_RM.
9506
9507 2014-06-24 Wilco <wdijkstr@arm.com>
9508
9509 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9510
9511 2014-06-24 Wilco <wdijkstr@arm.com>
9512
9513 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9514 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9515 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9516 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9517
9518 2014-06-24 Wilco <wdijkstr@arm.com>
9519
9520 [BZ #16918]
9521 * sysdeps/arm/feupdateenv.c (feupdateenv):
9522 Rewrite to reduce FPSCR accesses and fix return value.
9523
9524 2014-06-24 Wilco <wdijkstr@arm.com>
9525
9526 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9527 Optimize to avoid unnecessary FPSCR writes.
9528 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9529 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9530 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9531 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9532
9533 2014-06-24 Wilco <wdijkstr@arm.com>
9534
9535 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9536 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9537 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9538 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9539 Call libc_fetestexcept_vfp.
9540 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9541 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9542 __SOFTFP__ ifdef so that they can be built for softfp.
9543
9544 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9545
9546 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9547 argument type signed char.
9548
9549 * Makerules (check-abi): Dump diff of symlist if the test
9550 fails.
9551
9552 2014-06-23 Roland McGrath <roland@hack.frob.com>
9553
9554 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9555 using abort.
9556
9557 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9558 Remove unused variable ST.
9559
9560 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9561
9562 [BZ #16354]
9563 [BZ #17061]
9564 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9565 small arguments before calling __expm1.
9566 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9567 small arguments before calling __expm1f.
9568 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9569 small arguments before calling __expm1l.
9570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9571 Likewise.
9572 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9573 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9574 spurious underflow for some cosh tests.
9575 * math/auto-libm-test-out: Regenerated.
9576 * sysdeps/i386/fpu/libm-test-ulps: Update.
9577
9578 [BZ #17050]
9579 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9580 (__ieee754_y1): Set errno if return value overflows.
9581 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9582 (__ieee754_y1f): Set errno if return value overflows.
9583 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9584 (__ieee754_y1l): Set errno if return value overflows.
9585 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9586 (__ieee754_y1l): Set errno if return value overflows.
9587 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9588 * math/auto-libm-test-out: Regenerated.
9589
9590 * math/gen-auto-libm-tests.c: Document use of
9591 ignore-zero-inf-sign.
9592 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9593 (input_flags): Add ignore-zero-inf-sign.
9594 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9595 * math/gen-libm-test.pl (generate_testfile): Handle
9596 ignore-zero-inf-sign.
9597 * math/auto-libm-test-in: Mark some cpow tests with
9598 ignore-zero-inf-sign and some with xfail-rounding.
9599 * math/auto-libm-test-out: Regenerated.
9600 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9601 * sysdeps/i386/fpu/libm-test-ulps: Update.
9602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9603
9604 [BZ #16315]
9605 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9606 overflowing or underflowing operations take place with sign of
9607 result.
9608 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9609 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9610 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9611 (__ieee754_pow): Recompute overflowing and underflowing results in
9612 original rounding mode.
9613 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9614 (__powl_helper): Allow negative argument X and scale negated value
9615 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9616 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9617 overflowing or underflowing operations take place with sign of
9618 result.
9619 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9620 Include <math.h>.
9621 * math/auto-libm-test-in: Add more tests of pow.
9622 * math/auto-libm-test-out: Regenerated.
9623 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9624 (pow_tonearest_test_data): Remove.
9625 (pow_test_tonearest): Likewise.
9626 (pow_towardzero_test_data): Likewise.
9627 (pow_test_towardzero): Likewise.
9628 (pow_downward_test_data): Likewise.
9629 (pow_test_downward): Likewise.
9630 (pow_upward_test_data): Likewise.
9631 (pow_test_upward): Likewise.
9632 (main): Don't call removed functions.
9633 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9635
9636 2014-06-23 Roland McGrath <roland@hack.frob.com>
9637
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9639 Moved ...
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9642 Moved ...
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9645 Moved ...
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9648 Moved ...
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9651 File removed.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9653 File removed.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9655 File removed.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9657 File removed.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9659 File removed.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9661 File removed.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9663 File removed.
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9665 File removed.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9667 File removed.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9669 File removed.
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9671 File removed.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9673 File removed.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9675 Moved ...
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9678 Moved ...
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9680 ... here.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9682 Moved ...
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9685 Moved ...
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9688 Moved ...
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9691 Moved ...
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9697 Moved ...
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9700 Moved ...
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9704 ... here.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9706 Moved ...
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9711 ... here.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9715 ... here.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9719 ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9724 Moved ...
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9729 Moved ...
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9731 ... here.
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9733 Moved ...
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9735 ... here.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9737 Moved ...
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9743 Moved ...
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9749 Moved ...
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9751 ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9756 Moved ...
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9759 Moved ...
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9767 Moved ...
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9770 Moved ...
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9773 Moved ...
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9775 ... here.
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9777 Moved ...
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9779 ... here.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9781 Moved ...
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9783 ... here.
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9785 Moved ...
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9788 Moved ...
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9791 Moved ...
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9794 Moved ...
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9796 ... here.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9798 Moved ...
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9800 ... here.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9802 Moved ...
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9804 ... here.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9806 Moved ...
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9811
9812 2014-06-23 Will Newton <will.newton@linaro.org>
9813 Wilco <wdijkstr@arm.com>
9814
9815 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9816 implementation. Include get-rounding-mode.h.
9817 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9818 [!libc_feholdsetround_noex_ctx]: Define
9819 libc_feholdsetround_noex_ctx.
9820 [!libc_feholdsetround_noexf_ctx]: Define
9821 libc_feholdsetround_noexf_ctx.
9822 [!libc_feholdsetround_noexl_ctx]: Define
9823 libc_feholdsetround_noexl_ctx.
9824 (libc_feholdsetround_ctx): New function.
9825 (libc_feresetround_ctx): New function.
9826 (libc_feholdsetround_noex_ctx): New function.
9827 (libc_feresetround_noex_ctx): New function.
9828
9829 2014-06-23 Roland McGrath <roland@hack.frob.com>
9830
9831 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9832 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9833 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9834 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9835 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9836 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9837
9838 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9839 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9840 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9841 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9842 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9843 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9844 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9845 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9846 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9849 Moved ...
9850 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9851 ... here.
9852 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9857 Moved ...
9858 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9866 Moved ...
9867 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9869 Moved ...
9870 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9874 Moved ...
9875 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9876 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9877 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9879 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9880 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9881 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9882 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9885 Moved ...
9886 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9887 ... here.
9888 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9895 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9901 Moved ...
9902 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9904 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9908 Moved ...
9909 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9911 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9913 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9914
9915 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9916 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9917 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9920 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9924 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9926 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9927 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9930 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9934 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9943
9944 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9945
9946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9947 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9948 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9949 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9950 (IPV6_PMTUDISC_INTERFACE): Likewise.
9951 (IPV6_PMTUDISC_OMIT): Likewise.
9952
9953 2014-06-23 Andreas Schwab <schwab@suse.de>
9954
9955 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9956 Remove unused errout label.
9957
9958 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959
9960 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9961 macro: hardware supports Vector Crypto instructions.
9962
9963 2014-06-23 Will Newton <will.newton@linaro.org>
9964
9965 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9966 rather than __builtin_expect.
9967
9968 * elf/dl-lookup.c (undefined_msg): Remove variable.
9969 (_dl_lookup_symbol_x): Replace undefined_msg with string
9970 literal.
9971
9972 * elf/dl-lookup.c (do_lookup_unique): New function.
9973 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9974 to a separate function.
9975
9976 2014-06-23 Andreas Schwab <schwab@suse.de>
9977
9978 [BZ #17079]
9979 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9980 before reading the next line.
9981
9982 2014-06-23 Will Newton <will.newton@linaro.org>
9983
9984 * test-skeleton.c (signal_handler): Use printf and %m
9985 rather than perror. Use printf rather than fprintf to
9986 stderr. Use puts rather than fputs to stderr.
9987 (main): Likewise.
9988
9989 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9990
9991 * nscd/nscd.c (thread_info_t): Remove typedef.
9992 (thread_info): Remove variable.
9993
9994 2014-06-21 Allan McRae <allan@archlinux.org>
9995
9996 * NEWS: Mention CVE-2014-4043.
9997
9998 2014-06-20 Roland McGrath <roland@hack.frob.com>
9999
10000 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10001 * nptl/smp.h: ... here.
10002
10003 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10004
10005 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10006 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10007 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10008 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10009
10010 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10011 * nptl/stack-aliasing.h: New file.
10012 * sysdeps/i386/i686/stack-aliasing.h: New file.
10013 * sysdeps/i386/i686/nptl/Makefile: File removed.
10014 * sysdeps/x86_64/stack-aliasing.h: New file.
10015 * sysdeps/x86_64/nptl/Makefile
10016 (CFLAGS-pthread_create.c): Variable removed.
10017
10018 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10019 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10020 old file.
10021 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10022 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10023 old file.
10024
10025 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10026
10027 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10028 (__ASSUME_SIGFRAME_V2): Remove macro.
10029 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10030 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10031 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10032 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10033 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10034 Declare as function. Remove conditional macro definitions.
10035 (__default_rt_sa_restorer): Likewise.
10036 (__default_sa_restorer_v1): Remove declaration.
10037 (__default_sa_restorer_v2): Likewise.
10038 (__default_rt_sa_restorer_v1): Likewise.
10039 (__default_rt_sa_restorer_v2): Likewise.
10040 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10041 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10042 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10043
10044 2014-06-20 Roland McGrath <roland@hack.frob.com>
10045
10046 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10047 (libpthread-routines): Add sysdep.
10048 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10049 * sysdeps/unix/sysv/linux/sparc/Versions
10050 (libpthread: GLIBC_2.3.3): New version set.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10052 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10053 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10054 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10055 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10056 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10057 Moved ...
10058 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10060 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10062 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10064 * sysdeps/sparc/nptl/sem_init.c: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10066 * sysdeps/sparc/nptl/sem_post.c: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10068 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10070 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10072 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10073 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10074 (libpthread-routines): Add cpu_relax.
10075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10076 File removed.
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10078 (librt: GLIBC_2.3.3): New version set.
10079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10080 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10081 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10082 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10085 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10087 Moved ...
10088 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10090 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10092 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10094 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10096 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10098 Moved ...
10099 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10100 Update #include.
10101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10102 Moved ...
10103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10104 Update #include.
10105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10106 Moved ...
10107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10108 Update #include.
10109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10110 Moved ...
10111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10112 Update #include.
10113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10114 Moved ...
10115 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10116 Update #include.
10117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10118 Moved ...
10119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10120 Update #include.
10121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10122 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10128 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10130 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10132 Moved ...
10133 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10135 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10137 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10138
10139 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10140
10141 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10142 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10143 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10144 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10145 * nscd/nscd.c: Likewise.
10146 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10147 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10148 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10149 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10150
10151 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10152 <kernel-features.h>.
10153 (init_mq_netlink): Remove conditional have_sock_cloexec
10154 definitions. Remove code conditional on have_sock_cloexec < 0.
10155 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10156 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10157 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10158 <kernel-features.h>.
10159 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10160 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10161
10162 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10165 Add tests for memset_chk and memset.
10166
10167 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10168 with AVX2_Usable.
10169
10170 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10171
10172 [BZ #16046]
10173 * elf/tst-dl-iter-static.c: New file.
10174 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10175
10176 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10177 error.
10178
10179 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10180
10181 * sysdeps/unix/sysv/linux/kernel-features.h
10182 (__ASSUME_F_GETOWN_EX): Remove macro.
10183 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10184 <kernel-features.h>.
10185 (miss_F_GETOWN_EX): Remove variable or macro.
10186 (do_fcntl): Do not check miss_F_GETOWN_EX.
10187 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10188
10189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10190 Remove macro.
10191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10192 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10193 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10194
10195 * sysdeps/unix/sysv/linux/kernel-features.h
10196 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10197 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10198 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10199 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10200
10201 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10202
10203 [BZ #17075]
10204 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10205 Fix calculation of the symbol's value.
10206 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10207 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10208 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10209 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10210 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10211 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10212 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10213 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10214 (modules-names): Add `tst-armtlsdescmod',
10215 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10216 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10217 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10218 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10219 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10220 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10221 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10222 ($(objpfx)tst-armtlsdescloc): New dependency.
10223 ($(objpfx)tst-armtlsdescextnow): Likewise.
10224 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10225 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10226 TLS scheme support.
10227 * sysdeps/arm/configure: Regenerate.
10228
10229 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10230
10231 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10232 (__atfct_seterrno_2): Likewise.
10233 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10234 <kernel-features.h>.
10235 (__ASSUME_ATFCTS): Do not undefine and redefine.
10236 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10237 (__have_atfcts): Remove conditional definition.
10238 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10239 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10240 unreachable if [__ASSUME_ATFCTS].
10241 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10242 not undefine and redefine.
10243 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10244 <kernel-features.h>.
10245 (faccessat) [__NR_faccessat]: Make code unconditional.
10246 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10247 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10248 <kernel-features.h>.
10249 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10250 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10251 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10252 <kernel-features.h>.
10253 (fchownat) [__NR_fchownat]: Make code unconditional.
10254 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10255 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10256 <kernel-features.h>.
10257 (futimesat) [__NR_futimesat]: Make code unconditional.
10258 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10259 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10260 <kernel-features.h>.
10261 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10262 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10263 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10264 <kernel-features.h>.
10265 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10266 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10267 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10268 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10269 <kernel-features.h>.
10270 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10271 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10272 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10273 <kernel-features.h>.
10274 (linkat) [__NR_linkat]: Make code unconditional.
10275 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10276 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10277 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10278 <kernel-features.h>.
10279 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10280 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10281 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10282 <kernel-features.h>.
10283 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10284 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10285 * sysdeps/unix/sysv/linux/openat.c: Do not include
10286 <kernel-features.h>.
10287 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10288 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10289 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10290 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10291 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10292 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10293 <kernel-features.h>.
10294 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10295 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10296 result of INLINE_SYSCALL directly, not via int variable.
10297 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10298 <kernel-features.h>.
10299 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10300 (renameat) [__NR_renameat]: Make code unconditional.
10301 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10302 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10303 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10304 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10305 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10306 (__ASSUME_ATFCTS): Do not undefine and redefine.
10307 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10308 <kernel-features.h>.
10309 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10310 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10311 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10312 <kernel-features.h>.
10313 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10314 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10315 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10316 (__ASSUME_ATFCTS): Do not undefine and redefine.
10317 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10318 <kernel-features.h>.
10319 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10320 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10321 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10322 <kernel-features.h>.
10323 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10324 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10325
10326 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10327
10328 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10329
10330 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10331
10332 [BZ #17069]
10333 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10334 constructed tree before returning error.
10335 * posix/bug-regexp36.c: Expand test case.
10336
10337 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10338
10339 [BZ #6803]
10340 * math/libm-test.inc (scalbln_test_date):
10341 Add errno expectations.
10342 * math/w_scalblnf.c: New File.
10343 Add wrapper which checks for setting errno to ERANGE.
10344 Add weak_alias for corresponding scalbln function.
10345 * math/w_scalbln.c: Likewise.
10346 * math/w_scalblnl.c: Likewise.
10347 * math/Makefile (libm-calls): Add w_scalbln.
10348 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10349 Remove weak_alias for corresponding scalbln function.
10350 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10354 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10355 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10356 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10357 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10358 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10359 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10360 Remove long_double_symbol for scalblnl function in libm, libc.
10361 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10362 Add wrapper which checks for setting errno to ERANGE.
10363 Add long_double_symbol for scalblnl function in libm, libc.
10364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10365 Remove long_double_symbol for scalblnl in libm.
10366 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10367 Add wrapper which checks for setting errno to ERANGE.
10368 Add long_double_symbol for scalblnl function in libm.
10369 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10370 Do not use wrapper because of own implementation.
10371
10372 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10375 3 bytes for __pad1 for x32.
10376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10377
10378 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10379 H.J. Lu <hongjiu.lu@intel.com>
10380
10381 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10382 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10385 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10386
10387 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10388
10389 [BZ #17069]
10390 * posix/regcomp.c (parse_expression): Deallocate partially
10391 constructed tree before returning error.
10392 * posix/Makefile.c (tests): Add bug-regex36.
10393 (generated): Add bug-regex36.mtrace.
10394 (tests-special): Add $(objpfx)bug-regex36-mem.out
10395 (bug-regex36-ENV): New variable.
10396 ($(objpfx)bug-regex36-mem.out): New rule.
10397 * posix/bug-regex36.c: New file.
10398
10399 2014-06-19 Will Newton <will.newton@linaro.org>
10400
10401 * malloc/malloc.c (systrim): If extra is zero then return
10402 early.
10403
10404 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10405
10406 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10407
10408 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
10409
10410 * sysdeps/aarch64/strchr.S: New file.
10411
10412 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10413
10414 [BZ #17022]
10415 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10416 from arguments -2 or below.
10417 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10418 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10419
10420 2014-06-18 Andreas Schwab <schwab@suse.de>
10421
10422 [BZ #17062]
10423 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10424 of a bracket expr not to run off the end of the string.
10425 * posix/Makefile (tests): Add tst-fnmatch3.
10426 * posix/tst-fnmatch3.c: New file.
10427
10428 2014-06-18 Joseph Myers <joseph@codesourcery.com>
10429
10430 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10431 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10432 [$(cross-compiling) = no]: Likewise.
10433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10434 [$(cross-compiling) = no]: Likewise.
10435
10436 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10437
10438 [BZ #17031]
10439 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10440 double, adjusted for any remainder from the high double.
10441 * math/libm-test.inc (nearbyint): Add tests.
10442 (rint): Likewise.
10443
10444 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10445
10446 * nptl/sysdeps/powerpc/Makefile: Moved ...
10447 * sysdeps/powerpc/nptl/Makefile: ... here.
10448 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10449 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10450 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10451 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10452 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10453 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10454 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10455 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10456 * nptl/sysdeps/powerpc/tls.h: Moved ...
10457 * sysdeps/powerpc/nptl/tls.h: ... here.
10458
10459 2014-06-16 Joseph Myers <joseph@codesourcery.com>
10460
10461 [BZ #16681]
10462 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10463 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10464 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10465 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10466 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10467 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10468 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10469 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10470 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10471
10472 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10473
10474 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10475
10476 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10477
10478 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10479 defined operator.
10480
10481 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10482 $TIMEOUTFACTOR.
10483
10484 2014-06-16 Florian Weimer <fweimer@redhat.com>
10485
10486 [BZ #17058]
10487 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10488 non-executed part of the test.
10489
10490 2014-06-16 Andreas Schwab <schwab@suse.de>
10491
10492 * string/bits/string2.h (strdup, strndup): Update feature guard.
10493
10494 2014-06-14 David S. Miller <davem@davemloft.net>
10495
10496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10497
10498 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10499
10500 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10501 that was previously under [RESET_PID].
10502 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10503
10504 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10505 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10506 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10507 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10508 (__libc_vfork): New strong alias.
10509 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10510
10511 2014-06-14 Andi Kleen <ak@linux.intel.com>
10512
10513 * sysdeps/generic/elide.h: New file.
10514
10515 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10516
10517 * Makefile (installed-headers): Adjust path of pthread.h header.
10518
10519 2014-06-13 Roland McGrath <roland@hack.frob.com>
10520
10521 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10522 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10523 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10524 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10525
10526 * nptl/sysdeps/s390/Makefile: Moved ...
10527 * sysdeps/s390/nptl/Makefile: ... here.
10528 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10529 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10530 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10531 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10532 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10533 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10534 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10535 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10536 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10537 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10538 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10539 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10540 * nptl/sysdeps/s390/tls.h: Moved ...
10541 * sysdeps/s390/nptl/tls.h: ... here.
10542
10543 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10544 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10545
10546 2014-06-13 David S. Miller <davem@davemloft.net>
10547
10548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10551 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10555 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10556 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10557 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10558 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10559 Remove RESET_PID cpp guards.
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10561 Remove RESET_PID cpp guards.
10562 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10563
10564 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10565
10566 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10567 __sp to uintptr_t.
10568
10569 2014-06-13 Andi Kleen <ak@linux.intel.com>
10570
10571 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10572 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10576 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10577 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10578 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10581 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10582 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10583 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10586 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10588 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10590 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10591
10592 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10593 (pthread_rwlock_rdlock): Add elision.
10594 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10595 (pthread_rwlock_wrlock): Add elision.
10596 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10597 (pthread_rwlock_trywrlock): Add elision.
10598 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10599 (pthread_rwlock_tryrdlock): Add elision.
10600 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10601 (pthread_rwlock_tryrdlock): Add elision unlock.
10602 * nptl/sysdeps/pthread/pthread.h:
10603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10604 (PTHREAD_RWLOCK_INITIALIZER,
10605 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10606 Handle new elision field.
10607 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10608 * sysdeps/arm/nptl/bits/pthreadtypes.h
10609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10610 * sysdeps/sh/nptl/bits/pthreadtypes.h
10611 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10612 * sysdeps/tile/nptl/bits/pthreadtypes.h
10613 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10614 * sysdeps/a/nptl/bits/pthreadtypes.h
10615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10616 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10617 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10619 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10620 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10622 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10623 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10624 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10625 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10626 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10627 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10628 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10629 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10630 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10631 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10632 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10633 (elision_init): Set try_xbegin to zero when no RTM.
10634 * sysdeps/x86/nptl/bits/pthreadtypes.h
10635 (pthread_rwlock_t): Change __pad1 to __rwelision.
10636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10637
10638 2014-06-13 Andi Kleen <ak@linux.intel.com>
10639
10640 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10641 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10642 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10643 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10644
10645 2014-06-13 Meador Inge <meadori@codesourcery.com>
10646
10647 [BZ #16996]
10648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10649 that the cached result has been set before returning it.
10650
10651 2014-06-12 Roland McGrath <roland@hack.frob.com>
10652
10653 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10654 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10655 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10656 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10657 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10658 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10659
10660 * nptl/sysdeps/sparc/Makefile: Moved ...
10661 * sysdeps/sparc/nptl/Makefile: ... here.
10662 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10663 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10664 * nptl/sysdeps/sparc/tls.h: Moved ...
10665 * sysdeps/sparc/nptl/tls.h: ... here.
10666 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10667 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10668 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10669 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10670 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10671 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10672 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10673 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10674 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10675 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10676 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10677 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10678 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10679 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10680 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10681 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10682 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10683 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10684 Update #include.
10685 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10686 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10687 Update #include.
10688 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10690 Update #include.
10691 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10693 Update #include.
10694
10695 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10696
10697 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10698 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10699
10700 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10701 (struct list_links): Type removed.
10702 (struct thread_node, struct timer_node): Replace struct list_links
10703 with struct list_head.
10704 (list_unlink_ip): Likewise.
10705 * sysdeps/pthread/timer_routines.c
10706 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10707 (list_append, list_insbefore): Likewise.
10708 (list_init): Function removed.
10709 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10710 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10711 * sysdeps/pthread/Makefile: ... here, new file.
10712
10713 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10714 * sysdeps/nptl/Implies: ... here.
10715 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10716 * nptl/sysdeps/pthread/list.h: Moved ...
10717 * include/list.h: ... here.
10718 * nptl/sysdeps/pthread/createthread.c: Moved ...
10719 * nptl/createthread.c: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10721 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10722 * nptl/pt-longjmp.c: ... here.
10723 * nptl/sysdeps/pthread/Makefile: Moved ...
10724 * sysdeps/nptl/Makefile: ... here.
10725 * nptl/sysdeps/pthread/Subdirs: Moved ...
10726 * sysdeps/nptl/Subdirs: ... here.
10727 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10728 * sysdeps/nptl/aio_misc.h: ... here.
10729 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10730 * sysdeps/nptl/bits/libc-lock.h: ... here.
10731 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10732 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10733 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10734 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10735 * nptl/sysdeps/pthread/configure: Moved ...
10736 * sysdeps/nptl/configure: ... here.
10737 * nptl/sysdeps/pthread/configure.ac: Moved ...
10738 * sysdeps/nptl/configure.ac: ... here.
10739 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10740 * sysdeps/nptl/gai_misc.h: ... here.
10741 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10742 * sysdeps/nptl/librt-cancellation.c: ... here.
10743 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10744 * sysdeps/nptl/malloc-machine.h: ... here.
10745 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10746 * sysdeps/nptl/pthread-functions.h: ... here.
10747 * nptl/sysdeps/pthread/pthread.h: Moved ...
10748 * sysdeps/nptl/pthread.h: ... here.
10749 * nptl/sysdeps/pthread/setxid.h: Moved ...
10750 * sysdeps/nptl/setxid.h: ... here.
10751 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10752 * sysdeps/nptl/sigfillset.c: ... here.
10753 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10754 * sysdeps/nptl/tcb-offsets.h: ... here.
10755 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10756 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10757 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10758 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10759 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10760 * sysdeps/pthread/allocalim.h: ... here.
10761 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10762 * sysdeps/pthread/bits/sigthread.h: ... here.
10763 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10764 * sysdeps/pthread/flockfile.c: ... here.
10765 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10766 * sysdeps/pthread/ftrylockfile.c: ... here.
10767 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10768 * sysdeps/pthread/funlockfile.c: ... here.
10769 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10770 * sysdeps/pthread/posix-timer.h: ... here.
10771 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10772 * sysdeps/pthread/timer_create.c: ... here.
10773 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10774 * sysdeps/pthread/timer_delete.c: ... here.
10775 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10776 * sysdeps/pthread/timer_getoverr.c: ... here.
10777 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10778 * sysdeps/pthread/timer_gettime.c: ... here.
10779 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10780 * sysdeps/pthread/timer_routines.c: ... here.
10781 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10782 * sysdeps/pthread/timer_settime.c: ... here.
10783 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10784 * sysdeps/pthread/tst-timer.c: ... here.
10785 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10786 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10787
10788 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10789 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10790
10791 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10792 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10793 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10794 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10795 Update #include target.
10796 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10797 * sysdeps/i386/i686/nptl/Makefile: ... here.
10798 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10799 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10800 Update #include target.
10801 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10802 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10803 * nptl/sysdeps/i386/Makefile: Moved ...
10804 * sysdeps/i386/nptl/Makefile: ... here.
10805 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10806 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10807 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10808 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10809 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10810 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10811 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10812 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10813 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10814 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10815 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10816 * nptl/sysdeps/i386/tls.h: Moved ...
10817 * sysdeps/i386/nptl/tls.h: ... here.
10818
10819 * sysdeps/sh/Makefile [$(subdir) = csu]
10820 (gen-as-const-headers): Add tcb-offsets.sym.
10821 * nptl/sysdeps/sh/Makefile: File removed.
10822 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10823 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10824 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10825 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10826 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10827 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10828 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10829 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10830 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10831 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10832 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10833 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10834 * nptl/sysdeps/sh/tls.h: Moved ...
10835 * sysdeps/sh/nptl/tls.h: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10837 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10839 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10841 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10843 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10844 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10845 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10847 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10848 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10849 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10850 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10851 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10852 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10853 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10854 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10855 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10856 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10857 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10858 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10859 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10860 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10861 Moved ...
10862 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10863 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10864 Moved ...
10865 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10867 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10868 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10869 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10871 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10873 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10874 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10875 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10877 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10879 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10880 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10881 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10882 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10883 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10884
10885 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10886
10887 * posix/spawn_faction_addopen.c: Include string.h.
10888
10889 2014-06-11 Roland McGrath <roland@hack.frob.com>
10890
10891 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10892 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10893 * nptl/sysdeps/x86_64/Makefile: Moved ...
10894 * sysdeps/x86_64/nptl/Makefile: ... here.
10895 * nptl/sysdeps/x86_64/configure: Moved ...
10896 * sysdeps/x86_64/nptl/configure: ... here.
10897 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10898 * sysdeps/x86_64/nptl/configure.ac: ... here.
10899 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10900 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10901 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10902 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10903 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10904 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10905 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10906 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10907 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10908 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10909 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10910 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10911 * nptl/sysdeps/x86_64/tls.h: Moved ...
10912 * sysdeps/x86_64/nptl/tls.h: ... here.
10913 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10914 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10915 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10916 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10917
10918 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10919
10920 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10921
10922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10923
10924 2014-06-11 Joseph Myers <joseph@codesourcery.com>
10925
10926 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10927 type.
10928 [POSIX] (off_t): Likewise.
10929 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10930 [POSIX] (S_ISBLK): Require macro.
10931 [POSIX] (S_ISCHR): Likewise.
10932 [POSIX] (S_ISDIR): Likewise.
10933 [POSIX] (S_ISFIFO): Likewise.
10934 [POSIX] (S_ISREG): Likewise.
10935 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10936 optional-macro.
10937 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10938 type.
10939 [POSIX] (time_t): Likewise.
10940 [POSIX] (timer_t): Likewise.
10941
10942 2014-06-11 Florian Weimer <fweimer@redhat.com>
10943
10944 [BZ #17048]
10945 * posix/spawn_int.h (struct __spawn_action): Make the path string
10946 non-const to support deallocation.
10947 * posix/spawn_faction_addopen.c
10948 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10949 * posix/spawn_faction_destroy.c
10950 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10951 path in all spawn_do_open actions.
10952 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10953 posix_spawn_file_actions_addopen.
10954
10955 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10956
10957 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10958 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10959 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10960 conditional code always true.
10961 (__libc_vfork): New alias.
10962
10963 2014-06-11 Roland McGrath <roland@hack.frob.com>
10964
10965 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10966 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10967
10968 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10969
10970 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10971 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10972
10973 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10974 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10975
10976 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10977 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10978
10979 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10980
10981 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10982 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10983 multiarch strcmp for PPC64.
10984 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10987 multiarch optimizations.
10988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10989 (__libc_ifunc_impl_list): Likewise.
10990
10991 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10992
10993 * benchtests/scripts/validate_benchout.py: New script.
10994 * benchtests/Makefile (bench-func): Call it.
10995 * benchtests/scripts/benchout.schema.json: New file.
10996
10997 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10998
10999 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11000 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11001 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11002 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11003 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11004 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11005 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11006 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11007 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11008 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11009 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11010 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11011 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11012 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11013 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11014 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11016 Moved ...
11017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11018 ... here.
11019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11020 Moved ...
11021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11023 Moved ...
11024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11025 ... here.
11026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11027 Moved ...
11028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11029 ... here.
11030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11031 Moved ...
11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11034 Moved ...
11035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11036 ... here.
11037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11038 Moved ...
11039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11040 ... here.
11041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11042 Moved ...
11043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11045 Moved ...
11046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11047 ... here.
11048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11049 Moved ...
11050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11051 ... here.
11052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11053 Moved ...
11054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11055 ... here.
11056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11057 Moved ...
11058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11060 Moved ...
11061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11062 ... here.
11063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11064 Moved ...
11065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11066 ... here.
11067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11068 Moved ...
11069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11070 ... here.
11071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11072 Moved ...
11073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11075 Moved ...
11076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11077 ... here.
11078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11079 Moved ...
11080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11081 ... here.
11082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11083 Moved ...
11084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11086 Moved ...
11087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11088 ... here.
11089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11090 Moved ...
11091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11093 Moved ...
11094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11098 ... here.
11099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11100 Moved ...
11101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11102 ... here.
11103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11104 Moved ...
11105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11106 ... here.
11107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11108 Moved ...
11109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11111 Moved ...
11112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11113 ... here.
11114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11115 Moved ...
11116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11117 ... here.
11118 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11119 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11120 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11121 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11123 Moved ...
11124 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11125 ... here.
11126 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11127 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11128 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11129 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11130 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11131 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11133 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11136 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11137 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11139 Moved ...
11140 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11147 Moved ...
11148 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11150 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11151 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11152 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11153 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11154 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11155
11156 2014-06-10 Wilco <wdijkstr@arm.com>
11157
11158 * math/test-fenv-return.c: New file.
11159 * math/Makefile: Add new test test-fenv-return.
11160
11161 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11162
11163 [BZ #17042]
11164 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11165 when x - 1 is zero.
11166 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11167 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11168 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11169 0.0L for an argument of 1.0L.
11170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11171 Likewise.
11172 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11173 value when x - 1 is zero.
11174 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11177
11178 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11179
11180 [BZ #15119]
11181 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11182
11183 2014-06-09 Roland McGrath <roland@hack.frob.com>
11184
11185 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11186 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11187
11188 2014-06-09 Roland McGrath <roland@hack.frob.com>
11189
11190 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11191 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11192
11193 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11194 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11195
11196 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11197 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11198
11199 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11200 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11201
11202 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11203 if not already defined.
11204 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11205 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11206 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11207 (TLS_INIT_TP): Use it.
11208 (TLS_DEFINE_INIT_TP): New macro.
11209 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11210
11211 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11212
11213 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11214 constant.
11215 [POSIX] (IXANY): Likewise.
11216 [POSIX] (OLCUC): Likewise.
11217 [POSIX || POSIX2008] (CBAUD): Do not allow.
11218 [POSIX || POSIX2008] (DEFECHO): Likewise.
11219 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11220 [POSIX || POSIX2008] (ECHOKE): Likewise.
11221 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11222 [POSIX || POSIX2008] (EXTA): Likewise.
11223 [POSIX || POSIX2008] (EXTB): Likewise.
11224 [POSIX || POSIX2008] (FLUSHO): Likewise.
11225 [POSIX || POSIX2008] (LOBLK): Likewise.
11226 [POSIX || POSIX2008] (PENDIN): Likewise.
11227 [POSIX || POSIX2008] (SWTCH): Likewise.
11228 [POSIX || POSIX2008] (VDISCARD): Likewise.
11229 [POSIX || POSIX2008] (VDSUSP): Likewise.
11230 [POSIX || POSIX2008] (VLNEXT): Likewise.
11231 [POSIX || POSIX2008] (VREPRINT): Likewise.
11232 [POSIX || POSIX2008] (VSTATUS): Likewise.
11233 [POSIX || POSIX2008] (VWERASE): Likewise.
11234 (B*): Change to B[0123456789]*.
11235 * conform/data/time.h-data [POSIX || UNIX98]
11236 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11237 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11238 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11239 [POSIX] (tm_*): Do not allow.
11240
11241 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11242
11243 * Makefile (install): Don't set LANGUAGE.
11244 * Makefile.in (install): Likewise.
11245 * assert/Makefile (test-assert-ENV): Remove variable.
11246 (test-assert-perr-ENV): Likewise.
11247 * elf/Makefile (neededtest4-ENV): Likewise.
11248 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11249 [$(cross-compiling) = no]: Don't set LANGUAGE.
11250 * io/ftwtest-sh (LANG): Remove variable.
11251 * libio/Makefile (tst-widetext-ENV): Likewise.
11252 * manual/install.texi (Running make install): Don't refer to
11253 environment settings for make install.
11254 * INSTALL: Regenerated.
11255 * nptl/tst-tls6.sh: Don't set LANG.
11256 * posix/globtest.sh (LANG): Remove variable.
11257 * string/Makefile (tester-ENV): Likewise.
11258 (inl-tester-ENV): Likewise.
11259 (noinl-tester-ENV): Likewise.
11260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11261 [$(cross-compiling) = no]: Don't set LANGUAGE.
11262 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11263 without explicit environment settings.
11264
11265 2014-06-06 Roland McGrath <roland@hack.frob.com>
11266
11267 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11268 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11270 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11271
11272 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11273
11274 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11275 other files in the crypt directory.
11276 * crypt/crypt.c: Remove duplicate includes.
11277 * crypt/crypt-entry.c: Likewise.
11278 * crypt/crypt_util.c: Likewise.
11279
11280 2014-06-06 Joseph Myers <joseph@codesourcery.com>
11281
11282 * Makeconfig (run-program-env): New variable.
11283 (run-program-prefix-before-env): Likewise.
11284 (run-program-prefix-after-env): Likewise.
11285 (run-program-prefix): Define in terms of new variables.
11286 (built-program-cmd-before-env): New variable.
11287 (built-program-cmd-after-env): Likewise.
11288 (built-program-cmd): Define in terms of new variables.
11289 (test-program-prefix-before-env): New variable.
11290 (test-program-prefix-after-env): Likewise.
11291 (test-program-prefix): Define in terms of new variables.
11292 (test-program-cmd-before-env): New variable.
11293 (test-program-cmd-after-env): Likewise.
11294 (test-program-cmd): Define in terms of new variables.
11295 * Rules (make-test-out): Use $(run-program-env).
11296 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11297 (help): Do not mention environment variables. Mention
11298 --timeoutfactor option.
11299 (timeoutfactor): New variable.
11300 (blacklist_exports): Remove function.
11301 (exports): Remove variable.
11302 (command): Do not include ${exports}.
11303 * manual/install.texi (Configuring and compiling): Do not mention
11304 test wrappers preserving environment variables. Mention that last
11305 assignment to a variable must take precedence.
11306 * INSTALL: Regenerated.
11307 * benchtests/Makefile (run-bench): Use $(run-program-env).
11308 * catgets/Makefile ($(objpfx)test1.cat): Use
11309 $(built-program-cmd-before-env), $(run-program-env) and
11310 $(built-program-cmd-after-env).
11311 ($(objpfx)test2.cat): Do not specify environment variables
11312 explicitly.
11313 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11314 $(run-program-env) and $(built-program-cmd-after-env).
11315 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11316 $(run-program-env) and $(test-program-cmd-after-env).
11317 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11318 explicitly.
11319 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11320 run_program_env and test_program_cmd_after_env arguments.
11321 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11322 * elf/tst-pathopt.sh: Use run_program_env argument.
11323 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11324 $(test-wrapper-env) and $(run-program-env).
11325 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11326 run_program_env arguments.
11327 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11328 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11329 $(test-program-prefix-before-env), $(run-program-env) and
11330 $(test-program-prefix-after-env).
11331 ($(objpfx)tst-gettext2.out): Likewise.
11332 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11333 run_program_env and test_program_prefix_after_env arguments.
11334 * intl/tst-gettext2.sh: Likewise.
11335 * intl/tst-gettext4.sh: Do not set environment variables
11336 explicitly.
11337 * intl/tst-gettext6.sh: Likewise.
11338 * intl/tst-translit.sh: Likewise.
11339 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11340 $(test-program-prefix-before-env), $(run-program-env) and
11341 $(test-program-prefix-after-env).
11342 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11343 run_program_env and test_program_prefix_after_env arguments.
11344 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11345 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11346 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11347 explicitly with each use of ${test_wrapper_env}.
11348 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11349 $(test-program-prefix-before-env), $(run-program-env) and
11350 $(test-program-prefix-after-env).
11351 * posix/tst-getconf.sh: Do not set environment variables
11352 explicitly.
11353 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11354 run_program_env and test_program_prefix_after_env arguments.
11355 * stdio-common/tst-printf.sh: Do not set environment variables
11356 explicitly.
11357 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11358 $(test-program-prefix-before-env), $(run-program-env) and
11359 $(test-program-prefix-after-env).
11360 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11361 run_program_env and test_program_prefix_after_env arguments.
11362 Split $test calls into $test_pre and $test.
11363 * timezone/Makefile (build-testdata): Use
11364 $(built-program-cmd-before-env), $(run-program-env) and
11365 $(built-program-cmd-after-env).
11366
11367 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11368
11369 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11370 strlen for non SHARED builds.
11371
11372 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
11374 * nptl/allocatestack.c (check_list): Inlined function...
11375 (__reclaim_stacks): ... here.
11376
11377 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11378
11379 [BZ #15698]
11380 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11381 memory overrun.
11382
11383 2014-06-05 Joseph Myers <joseph@codesourcery.com>
11384
11385 * Rules (make-test-out): Include
11386 LOCPATH=$(common-objpfx)localedata in default environment.
11387 * debug/Makefile (tst-chk1-ENV): Remove variable.
11388 (tst-chk2-ENV): Likewise.
11389 (tst-chk3-ENV): Likewise.
11390 (tst-chk4-ENV): Likewise.
11391 (tst-chk5-ENV): Likewise.
11392 (tst-chk6-ENV): Likewise.
11393 (tst-lfschk1-ENV): Likewise.
11394 (tst-lfschk2-ENV): Likewise.
11395 (tst-lfschk3-ENV): Likewise.
11396 (tst-lfschk4-ENV): Likewise.
11397 (tst-lfschk5-ENV): Likewise.
11398 (tst-lfschk6-ENV): Likewise.
11399 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11400 (tst-iconv7-ENV): Likewise.
11401 * intl/Makefile (LOCPATH-ENV): Likewise.
11402 (tst-codeset-ENV): Likewise.
11403 (tst-gettext3-ENV): Likewise.
11404 (tst-gettext5-ENV): Likewise.
11405 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11406 (tst-fopenloc-ENV): Likewise.
11407 (tst-fgetws-ENV): Remove variable.
11408 (tst-ungetwc1-ENV): Likewise.
11409 (tst-ungetwc2-ENV): Likewise.
11410 (bug-ungetwc2-ENV): Likewise.
11411 (tst-swscanf-ENV): Likewise.
11412 (bug-ftell-ENV): Likewise.
11413 (tst-fgetwc-ENV): Likewise.
11414 (tst-fseek-ENV): Likewise.
11415 (tst-ftell-partial-wide-ENV): Likewise.
11416 (tst-ftell-active-handler-ENV): Likewise.
11417 (tst-ftell-append-ENV): Likewise.
11418 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11419 (tst-regexloc-ENV): Likewise.
11420 (bug-regex1-ENV): Likewise.
11421 (tst-regex-ENV): Likewise.
11422 (tst-regex2-ENV): Likewise.
11423 (bug-regex5-ENV): Likewise.
11424 (bug-regex6-ENV): Likewise.
11425 (bug-regex17-ENV): Likewise.
11426 (bug-regex18-ENV): Likewise.
11427 (bug-regex19-ENV): Likewise.
11428 (bug-regex20-ENV): Likewise.
11429 (bug-regex22-ENV): Likewise.
11430 (bug-regex23-ENV): Likewise.
11431 (bug-regex25-ENV): Likewise.
11432 (bug-regex26-ENV): Likewise.
11433 (bug-regex30-ENV): Likewise.
11434 (bug-regex32-ENV): Likewise.
11435 (bug-regex33-ENV): Likewise.
11436 (bug-regex34-ENV): Likewise.
11437 (bug-regex35-ENV): Likewise.
11438 (tst-rxspencer-ENV): Likewise.
11439 (tst-rxspencer-no-utf8-ENV): Likewise.
11440 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11441 (tst-sscanf-ENV): Likewise.
11442 (tst-swprintf-ENV): Likewise.
11443 (tst-swscanf-ENV): Likewise.
11444 (test-vfprintf-ENV): Likewise.
11445 (scanf13-ENV): Likewise.
11446 (bug14-ENV): Likewise.
11447 (tst-grouping-ENV): Likewise.
11448 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11449 (tst-strtod3-ENV): Likewise.
11450 (tst-strtod4-ENV): Likewise.
11451 (tst-strtod5-ENV): Likewise.
11452 (testmb2-ENV): Likewise./
11453 * string/Makefile (tst-strxfrm-ENV): Likewise.
11454 (tst-strxfrm2-ENV): Likewise.
11455 (bug-strcoll1-ENV): Likewise.
11456 (test-strcasecmp-ENV): Likewise.
11457 (test-strncasecmp-ENV): Likewise.
11458 * time/Makefile (tst-strptime-ENV): Likewise.
11459 (tst-ftime_l-ENV): Likewise.
11460 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11461 (tst-mbrtowc-ENV): Likewise.
11462 (tst-wcrtomb-ENV): Likewise.
11463 (tst-mbrtowc2-ENV): Likewise.
11464 (tst-c16c32-1-ENV): Likewise.
11465 (tst-mbsnrtowcs-ENV): Likewise.
11466
11467 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
11468
11469 * manual/resource.texi (How to get information about the memory
11470 subsystem?): Fix typo.
11471 Reported by Peon de la Parra Ivan <peon@keba.com>
11472
11473 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11474
11475 [BZ #16882]
11476 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11477 (pthread_spin_lock): Branch out of spin loop to proper location.
11478 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11479 (pthread_spin_lock): Likewise.
11480
11481 * nptl/tst-spin4.c: New test.
11482 * nptl/Makefile (tests): Add tst-spin4.
11483
11484 2014-06-03 Andreas Schwab <schwab@suse.de>
11485
11486 [BZ #15946]
11487 * resolv/res_send.c (send_dg): Reload file descriptor after
11488 calling reopen.
11489
11490 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11491
11492 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11493
11494 2014-06-03 Richard Henderson <rth@redhat.com>
11495
11496 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11497 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11498 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11499 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11500 in the SAVE_PID block.
11501 (__libc_vfork): New alias.
11502 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11503
11504 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11505 child in registers, not on the stack. Remove RESET_PID conditionals.
11506 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11507
11508 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11509
11510 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11511
11512 2014-06-03 Wilco <wdijkstr@arm.com>
11513
11514 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11515 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11516 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11517 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11518 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11519 Likewise.
11520
11521 2014-06-03 Wilco <wdijkstr@arm.com>
11522
11523 * sysdeps/aarch64/fpu/math_private.h
11524 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11525 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11526 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11527 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11528 Fix declarations.
11529
11530 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11531
11532 * crypt/crypt-private.h: Include ufc-crypt.h.
11533 (__b64_from_24bit): Declare extern.
11534 * crypt/crypt_util.c(__b64_from_24bit): New function.
11535 (b64t): New static const variable.
11536 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11537 (b64t): Remove variable.
11538 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11539 * crypt/sha256-crypt.c: Include crypt-private.h.
11540 (b64t): Remove variable.
11541 (__sha256_crypt_r): Remove b64_from_24bit and replace
11542 with __b64_from_24bit.
11543 * crypt/sha512-crypt.c: Likewise.
11544
11545 2014-06-02 Roland McGrath <roland@hack.frob.com>
11546
11547 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11548 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11549 Label the code __libc_vfork rather than __vfork.
11550 [!NOT_IN_libc] (vfork): Define as weak alias.
11551 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11552 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11553 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11554
11555 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11556
11557 * malloc/malloc.c (malloc_info): Fix format specifier for
11558 n_mmaps.
11559
11560 2014-06-02 Wilco <wdijkstr@arm.com>
11561
11562 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11563 FPCR write.
11564
11565 2014-06-02 Wilco <wdijkstr@arm.com>
11566
11567 [BZ #17009]
11568 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11569 Rewrite to reduce FPCR/FPSR accesses.
11570
11571 2014-06-01 David S. Miller <davem@davemloft.net>
11572
11573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11574
11575 2014-05-31 David S. Miller <davem@davemloft.net>
11576
11577 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11578 to occur in round to nearest mode when |x| >= 2.0
11579
11580 2014-05-30 Richard Henderson <rth@twiddle.net>
11581
11582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11583 (PSEUDO_RET_NOERRNO): Remove.
11584 (ret): Don't redefine.
11585 (ret_NOERRNO): Define in terms of ret.
11586 (ret_ERRVAL): Likewise.
11587
11588 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11589 use of PSEUDO_RET; perform the error check directly.
11590
11591 2014-05-30 Marko Myllynen <myllynen@redhat.com>
11592
11593 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11594 with __int128_t.
11595
11596 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11597
11598 * malloc/malloc (malloc_info): Fix formatting.
11599
11600 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 Roland McGrath <roland@hack.frob.com>
11602
11603 * malloc/malloc (malloc_info): Also print mmapped statistics.
11604
11605 2014-05-30 Roland McGrath <roland@hack.frob.com>
11606
11607 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11608 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11609
11610 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
11611
11612 * malloc/malloc.c (malloc_info): Inline mi_arena.
11613
11614 2014-05-29 Richard Henderson <rth@twiddle.net>
11615
11616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11617 Remove comma before expanding ASM_ARGS_##nr.
11618 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11619 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11620 of ASM_ARGS_##nr.
11621 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11622 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11623 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11624 (ASM_ARGS_1): Add leading comma.
11625
11626 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11627 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11628 to __errno_location.
11629 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11630 Remove the expected plt for __errno_location.
11631
11632 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11633 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11634 call to __read_tp.
11635
11636 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11637 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11638 it and break it down.
11639 (DOCARGS_0, DOCARGS_1): Do nothing.
11640 (DOCARGS_2): Update to store into the new stack frame.
11641 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11642 (UNDOCARGS_1): Update to restore from the new stack frame.
11643 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11644 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11645
11646 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11647 (SINGLE_THREAD_P): New parameter for result regno.
11648 (PSEUDO): Update to match; use cbz instead of beq.
11649
11650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11651 Use ENTRY to define the _nocancel entry point. Share the syscall
11652 and syscall error check paths with the cancel path.
11653 (PSEUDO_END): New.
11654
11655 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11656 whitespace; tabs before and after asm mnemonics.
11657
11658 2014-05-29 Eric Wong <normalperson@yhbt.net>
11659
11660 [BZ #15132]
11661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11662 Call fstat64 or stat64 internally, depending on arguments passed.
11663 Replace stat buffer argument with file descriptor argument.
11664 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11665 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11666 Pass fd to __internal_statvfs instead of calling fstat64.
11667 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11668 Pass fd to __internal_statvfs64 instead of calling fstat64.
11669 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11670 Pass -1 to __internal_statvfs instead of calling stat64.
11671 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11672 Pass -1 to __internal_statvfs64 instead of calling stat64.
11673
11674 2014-05-28 Roland McGrath <roland@hack.frob.com>
11675
11676 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11677 that was previously under [RESET_PID].
11678 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11679
11680 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11681 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11682
11683 2014-05-27 Roland McGrath <roland@hack.frob.com>
11684
11685 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11686
11687 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11688 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11689
11690 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
11691
11692 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11693
11694 2014-05-27 Andreas Schwab <schwab@suse.de>
11695
11696 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11697 TLS_INIT_TP macro.
11698 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11699 * elf/rtld.c (init_tls, dl_main): Likewise.
11700 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11701 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11702 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11703 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11704 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11705 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11706 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11707 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11708 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11709 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11710 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11711 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11712 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11713 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11714 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11715 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11716 * sysdeps/generic/tls.h: Update description.
11717
11718 2014-05-27 Will Newton <will.newton@linaro.org>
11719
11720 [BZ #16990]
11721 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11722 and restore r2 rather than just restoring.
11723
11724 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11725
11726 [BZ #16724]
11727 * libio/tst-ftell-append.c: New test case.
11728 * libio/Makefile (tests): Add test case.
11729 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11730 append mode.
11731 * libio/wfileops.c (do_ftell_wide): Likewise.
11732
11733 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11734
11735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11736
11737 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11738 ...
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11741 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11742 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11744 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11745 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11748 Moved ...
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11751 Moved ...
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11753 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11754 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11755 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11756 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11757 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11758 ...
11759 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11760 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11761 Moved ...
11762 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11763 here.
11764 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11765 ...
11766 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11768 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11769
11770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11771 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11773 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11774
11775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11776 merge into ...
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11779 ...
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11782 ...
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11785 Moved ...
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11787 here.
11788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11789 Moved ...
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11792 Moved ...
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11794
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11796 conditional [RESET_PID].
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11799 removed.
11800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11801 removed.
11802
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11804 <tcb-offsets.h>.
11805 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11806 (__libc_vfork): New strong alias.
11807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11808 removed.
11809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11810 Removed.
11811
11812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11813 <tcb-offsets.h>.
11814 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11815 (__libc_vfork): New strong alias.
11816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11817 removed.
11818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11819 removed.
11820
11821 2014-05-26 Carlos O'Donell <carlos@redhat.com>
11822
11823 * malloc/malloc.c (mi_arena): New function.
11824 (malloc_info): Remove nested function mi_arena. Call non-nosted
11825 function mi_arena.
11826
11827 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11828
11829 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11830 by insrwi.
11831 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11832 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11833 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11834 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11836 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11837 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11838
11839 2014-05-26 Andreas Schwab <schwab@suse.de>
11840
11841 [BZ #16984]
11842 * locale/programs/repertoire.c (repertoire_read): Add slash
11843 between I18NPATH element and file name.
11844 * locale/programs/locfile.c (locfile_read): Likewise.
11845
11846 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11847
11848 * nptl/pthread_mutexattr_settype.c
11849 (__pthread_mutexattr_settype):
11850 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11851
11852 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11853
11854 * nptl/tst-mutex5 (do_test):
11855 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11856
11857 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11858
11859 * benchtests/README: Document 'init' directive.
11860 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11861 BENCH_INIT.
11862 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11863 (parse_file): Recognize 'init' directive.
11864
11865 2014-05-26 Kyle McMartin <kyle@redhat.com>
11866
11867 [BZ #16796]
11868 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11869 alignment of struct pthread.
11870
11871 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11872
11873 [BZ #16878]
11874 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11875 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11876 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11877 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11878
11879 2014-05-25 Richard Henderson <rth@twiddle.net>
11880
11881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11882 (SINGLE_THREAD_P_PIC): Remove.
11883 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11884 (SINGLE_THREAD_P_PIC): Remove.
11885
11886 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11887 branch to syscall error ...
11888 (PSEUDO): ... here.
11889 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11890 from __local_syscall_error to .Lsyscall_error.
11891 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11892 (SYSCALL_ERROR): Update label name.
11893
11894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11895 Do not use DOARGS/UNDOARGS.
11896 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11897 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11898 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11899 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11900 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11901
11902 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11903 block comment.
11904
11905 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11906 define if !NOT_IN_libc.
11907 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11908 define with non-default symbol versions.
11909
11910 2014-05-23 Richard Henderson <rth@twiddle.net>
11911
11912 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11913 (vfork, __vfork): Define via compat_symbol.
11914
11915 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11916 [!HAVE_IFUNC] (vfork_compat): Remove.
11917 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11918
11919 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11920
11921 [BZ #16978]
11922 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11923 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11924 variable.
11925
11926 2014-05-23 Richard Henderson <rth@twiddle.net>
11927
11928 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11929 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11930 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11931 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11932
11933 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11934 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11936 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11937 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11938 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11939 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11940 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11941 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11942 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11944 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11945 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11948 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11950 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11951 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11952 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11953 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11954 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11955 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11956 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11957 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11958 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11960 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11961 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11962 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11963 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11964 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11965 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11966 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11967 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11968 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11969 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11970 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11971 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11972 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11973 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11974 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11975 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11976 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11977 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11978 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11979 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11980 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11981 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11982 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11983 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11984 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11985 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11986 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11987 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11988 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11989
11990 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11991 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11992 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11993 before exiting on error.
11994 (__libc_vfork): New strong alias.
11995 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11996 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11997
11998 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11999 that was previously under [RESET_PID].
12000 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12001
12002 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12003
12004 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12005
12006 [BZ #16977]
12007 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12008 value when x - 1 is zero.
12009 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12010 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12011 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12012 0.0L for an argument of 1.0L.
12013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12014 Likewise.
12015 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12016 value when x - 1 is zero.
12017 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12018 * sysdeps/i386/fpu/libm-test-ulps: Update.
12019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12020
12021 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12022
12023 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12024 alphasort and versionsort.
12025
12026 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12027
12028 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12029 macro.
12030 [copysignf]: Likewise.
12031
12032 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12033
12034 * crypt/md5-crypt.c: Fix formatting.
12035
12036 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12037
12038 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12039 (b64_from_24bit): New function.
12040
12041 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12042
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12044 libc_hidden_builtin_def to ifunc.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12046 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12047
12048 2014-05-21 Roland McGrath <roland@hack.frob.com>
12049
12050 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12051 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12052
12053 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12054
12055 * nscd/Depend (linuxthreads): Remove.
12056 (nptl): Add.
12057 * resolv/Depend (linuxthreads): Remove.
12058 * rt/Depend (linuxthreads): Remove.
12059
12060 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12061 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12062 $(common-objpfx)elf/.
12063 (link-libc-before-gnulib): Likewise.
12064 (elfobjdir): Remove variable.
12065 * Makefile (install): Use $(elf-objpfx) instead of
12066 $(common-objpfx)elf/.
12067 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12068 $(elfobjdir)/.
12069 (link-libc-deps): Likewise.
12070 ($(common-objpfx)libc.so): Likewise.
12071 ($(common-objpfx)linkobj/libc.so): Likewise.
12072 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12073 instead of $(common-objpfx)elf/.
12074 (symbolic-link-list): Likewise.
12075 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12076 [$(cross-compiling) = no]: Likewise.
12077 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12078 $(elfobjdir)/.
12079 (static-gnulib-arch): Likewise.
12080 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12081 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12082 $(common-objpfx)elf/.
12083
12084 2014-05-21 Richard Henderson <rth@redhat.com>
12085
12086 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12087 (SINGLE_THREAD_P): Use the correct width load. Fold
12088 into the ldr offset.
12089
12090 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12091 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12092
12093 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12094
12095 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12096 (libgcc_s_resume): Use __attribute_used__.
12097 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12098 Likewise.
12099
12100 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12101
12102 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12103 optimization when used with float constants.
12104
12105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12106
12107 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12108
12109 [BZ #16915]
12110 * locale/nl_langinfo_l.c: Make direct reference to every
12111 _nl_current_CATEGORY symbol.
12112 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12113 (tests-static): Add tst-langinfo-static.
12114 (tests-special): Add tst-langinfo-static.out.
12115 ($(objpfx)tst-langinfo.out): Redirect output.
12116 ($(objpfx)tst-langinfo-static.out): New.
12117 * localedata/tst-langinfo.sh: Send output to stdout.
12118 * localedata/tst-langinfo-static.c: New file.
12119
12120 [BZ #16965]
12121 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12122 when the shift amount is modulo the limb size.
12123
12124 2014-05-20 Richard Henderson <rth@redhat.com>
12125
12126 [BZ #16967]
12127 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12128 Change type of sa_flags from unsigned int to int.
12129
12130 [BZ #16966]
12131 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12132
12133 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12134
12135 2014-05-20 Will Newton <will.newton@linaro.org>
12136
12137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12138 Test the return value of the system call in the nocancel case.
12139
12140 2014-05-20 Will Newton <will.newton@linaro.org>
12141 Yvan Roux <yvan.roux@linaro.org>
12142
12143 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12144 #include of asm/ptrace.h.
12145 (PTRACE_GET_THREAD_AREA): Remove #undef.
12146 (PTRACE_GETHBPREGS): Likewise.
12147 (PTRACE_SETHBPREGS): Likewise.
12148 (struct user_regs_struct): New structure.
12149 (struct user_fpsimd_struct): New structure.
12150 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12151 #include of asm/ptrace.h and second #include of sys/user.h.
12152 (PTRACE_GET_THREAD_AREA): Remove #undef.
12153 (PTRACE_GETHBPREGS): Likewise.
12154 (PTRACE_SETHBPREGS): Likewise.
12155 (ELF_NGREG): Use new struct user_regs_struct.
12156 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12157
12158 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12159
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12162
12163 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12164
12165 [BZ #16958]
12166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12167 membar to avoid block loads/stores to overlap previous stores.
12168
12169 2014-05-17 Richard Henderson <rth@redhat.com>
12170
12171 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12172 Create the __##syscall_name##_nocancel entry point.
12173 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12174 Remove; let the sysdep-cancel.h code create it.
12175
12176 2014-05-17 David S. Miller <davem@davemloft.net>
12177
12178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12179 Protect with __USE_GNU.
12180 (TIOCSET_TEMPT): Likewise.
12181 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12182 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12183 these are already provided in bits/ioctl-types.h
12184
12185 2014-05-16 Roland McGrath <roland@hack.frob.com>
12186
12187 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12188 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12189
12190 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12191 Use wait4 regardless of [__NR_waitpid].
12192
12193 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12194
12195 PR libgcc/60166
12196 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12197 (_FP_NANSIGN_Q): Set the quiet bit.
12198
12199 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12200
12201 * benchtests/Makefile
12202 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12203 not $(common-objpfx)math/libm.so.
12204 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12205 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12206 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12207 $(common-objpfx)dlfcn/libdl.so.
12208 ($(objpfx)tst-audit8): Depend on $(libm), not
12209 $(common-objpfx)math/libm.so.
12210 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12211 not $(common-objpfx)dlfcn/libdl.so.
12212 * math/Makefile
12213 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12214 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12215 [$(build-shared) = yes].
12216 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12217 $(common-objpfx)nptl/libpthread.so.
12218 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12219 $(common-objpfx)math/libm.so$(libm.so-version) or
12220 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12221 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12222 $(common-objpfx)dlfcn/libdl.so.
12223 * setjmp/Makefile (link-libm): Remove variable.
12224 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12225 * stdio-common/Makefile (link-libm): Remove variable.
12226 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12227 * stdlib/Makefile (link-libm): Remove variable.
12228 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12229 ($(objpfx)tst-strtod-round): Likewise.
12230 ($(objpfx)tst-tininess): Likewise.
12231 ($(objpfx)tst-strtod-underflow): Likewise.
12232 ($(objpfx)tst-strtod6): Likewise.
12233 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12234 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12235 $(common-objpfx)dlfcn/libdl.so.
12236
12237 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238
12239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12240 BSD terminal modes definitions.
12241
12242 2014-05-16 Roland McGrath <roland@hack.frob.com>
12243
12244 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12245 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12246
12247 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12248 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12249 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12250 Don't do #include_next.
12251 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12252 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12253 Don't do #include_next.
12254 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12255 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12256 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12257 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12258
12259 2014-05-16 Allan McRae <allan@archlinux.org>
12260
12261 * po/sv.po: Update Swedish translation from translation project.
12262
12263 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12264 in sed expression.
12265
12266 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12267
12268 [BZ #16917]
12269 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12270 errno if the TIOCGPTN ioctl fails with an error different than
12271 EINVAL.
12272 * login/tst-ptsname.c: New file.
12273 * login/Makefile (tests): Add tst-ptsname.
12274
12275 [BZ #16943]
12276 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12277 and prlimit64.
12278
12279 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12280
12281 [BZ #16849]
12282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12283 herrno to return EAI_AGAIN.
12284
12285 2014-05-14 Roland McGrath <roland@hack.frob.com>
12286
12287 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12288 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12289 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12290 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12292 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12294 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12296 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12304 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12306 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12310 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12311 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12312 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12313 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12316 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12318 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12320 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12322 Moved ...
12323 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12325 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12327 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12329 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12331 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12335 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12337 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12339 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12341 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12343 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12345 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12347 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12349 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12351 Moved ...
12352 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12354 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12356 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12358 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12360 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12362 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12364 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12366 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12368 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12370 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12372 Moved ...
12373 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12375 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12376
12377 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12378 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12379 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12380 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12381 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12383 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12385 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12387 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12389 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12391 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12393 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12395 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12396 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12397 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12398 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12399 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12401 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12403 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12405 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12407 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12408
12409 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12410 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12411
12412 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12413 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12414 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12415 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12416 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12418 Moved ...
12419 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12421 Moved ...
12422 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12424 Moved ...
12425 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12427 Moved ...
12428 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12429 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12430 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12431 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12432 Moved ...
12433 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12435 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12437 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12438 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12439 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12440 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12441 Moved ...
12442 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12444 Moved ...
12445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12446 ... here.
12447 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12448 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12450 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12452 Moved ...
12453 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12454 ... here.
12455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12456 Moved ...
12457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12459 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12461 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12463 Moved ...
12464 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12466 Moved ...
12467 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12469 Moved ...
12470 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12472 Moved ...
12473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12477 Moved ...
12478 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12480 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12482 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12484 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12485 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12486 Moved ...
12487 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12489 Moved ...
12490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12491 ... here.
12492 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12493 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12495 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12497 Moved ...
12498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12499 ... here.
12500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12501 Moved ...
12502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12504 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12506 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12507 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12508 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12509 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12510 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12512 Moved ...
12513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12515 Moved ...
12516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12518 Moved ...
12519 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12521 Moved ...
12522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12524 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12526 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12528 Moved ...
12529 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12531 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12533 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12535 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12537 Moved ...
12538 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12540 Moved ...
12541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12542 ... here.
12543 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12544 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12545 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12546 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12548 Moved ...
12549 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12550 ... here.
12551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12552 Moved ...
12553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12555 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12556 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12557 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12559 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12561 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12563 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12564
12565 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12566 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12567
12568 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12569 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12570
12571 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12572 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12573 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12575 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12577 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12579 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12582 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12583 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12585 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12587 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12589 Moved ...
12590 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12591 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12592 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12594 Moved ...
12595 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12597 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12599 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12601 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12602 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12603 Moved ...
12604 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12606 Moved ...
12607 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12609 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12611 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12613 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12614 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12615 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12616 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12617 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12618 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12619 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12620 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12621 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12622 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12623 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12624
12625 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12626 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12627 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12628 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12629 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12630
12631 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12632 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12634 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12635 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12636 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12637 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12638 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12639 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12640 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12641
12642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12644
12645 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12646 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12647 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12648 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12649 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12650 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12651 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12652 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12653 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12654 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12655 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12656 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12657 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12658 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12659 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12660 Update #include.
12661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12662 Likewise.
12663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12664 Likewise.
12665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12666 Likewise.
12667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12668 Likewise.
12669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12670 Likewise.
12671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12672 Likewise.
12673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12674 Likewise.
12675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12676 Likewise.
12677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12678 Likewise.
12679 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12681 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12684 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12685 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12687 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12689 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12691 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12693 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12694
12695 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12696 that was previously under [RESET_PID].
12697 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12698 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12699 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12700
12701 * sysdeps/i386/nptl/Implies: New file.
12702 * sysdeps/x86_64/nptl/Implies: New file.
12703 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12704 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12705 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12706 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12707
12708 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12709 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12710 (__libc_vfork): New strong alias.
12711 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12712 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12713
12714 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12715 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12716 (__libc_vfork): New strong alias.
12717 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12718 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12719
12720 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12721 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12722 (__libc_vfork): New strong alias.
12723 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12724 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12725 * nptl/pt-vfork.c: New file.
12726 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12727 (libpthread: GLIBC_2.20): New version set (empty).
12728
12729 2014-05-14 Will Newton <will.newton@linaro.org>
12730
12731 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12732 rather than #if.
12733
12734 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #16564]
12737 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12738 arguments with exponent 65 or above.
12739 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12740 arguments 0x1p113L or above.
12741 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12742 to arguments 0x1p107L or above.
12743 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12744 positive arguments with exponent 65 or above.
12745 * math/auto-libm-test-in: Add more tests of log1p.
12746 * math/auto-libm-test-out: Regenerated.
12747
12748 [BZ #16928]
12749 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12750 non-finite arguments is +0.
12751 * math/s_cacosf.c (__cacosf): Likewise.
12752 * math/s_cacosl.c (__cacosl): Likewise.
12753 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12754 * sysdeps/i386/fpu/libm-test-ulps: Update.
12755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12756
12757 [BZ #16927]
12758 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12759 value.
12760 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12761 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12762 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12763 for explicit high bit of mantissa when testing for argument equal
12764 to 1.
12765 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12766 * sysdeps/i386/fpu/libm-test-ulps: Update.
12767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12768
12769 [BZ #16516]
12770 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12771 (__erf): Scale by 16 instead of 8 in potentially underflowing
12772 case. Ensure exception if result actually underflows.
12773 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12774 (__erff): Scale by 16 instead of 8 in potentially underflowing
12775 case. Ensure exception if result actually underflows.
12776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12777 (efx8): Remove variable.
12778 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12779 case. Ensure exception if result actually underflows.
12780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12781 (efx8): Remove variable.
12782 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12783 case. Ensure exception if result actually underflows.
12784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12785 (efx8): Remove variable.
12786 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12787 case. Ensure exception if result actually underflows.
12788 * math/auto-libm-test-in: Add more tests of erf.
12789 * math/auto-libm-test-out: Regenerated.
12790
12791 2014-05-14 Andreas Schwab <schwab@suse.de>
12792
12793 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12794 Remove code conditionalized on USE___THREAD.
12795
12796 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12797 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12798 not definedness.
12799
12800 2014-05-14 Joseph Myers <joseph@codesourcery.com>
12801
12802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12803 Define unconditionally.
12804 (__ASSUME_O_CLOEXEC): Likewise.
12805 (__ASSUME_SOCK_CLOEXEC): Likewise.
12806 (__ASSUME_IN_NONBLOCK): Likewise.
12807 (__ASSUME_PIPE2): Likewise.
12808 (__ASSUME_EVENTFD2): Likewise.
12809 (__ASSUME_SIGNALFD4): Likewise.
12810 (__ASSUME_DUP3): Likewise.
12811 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12812 (__ASSUME_DUP3): Do not define.
12813 (__ASSUME_EVENTFD2): Likewise.
12814 (__ASSUME_IN_NONBLOCK): Likewise.
12815 (__ASSUME_O_CLOEXEC): Likewise.
12816 (__ASSUME_PIPE2): Likewise.
12817 (__ASSUME_SIGNALFD4): Likewise.
12818 (__ASSUME_SOCK_CLOEXEC): Likewise.
12819 (__ASSUME_UTIMES): Undefine.
12820 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12821 (__ASSUME_UTIMES): Do not define.
12822 (__ASSUME_O_CLOEXEC): Likewise.
12823 (__ASSUME_SOCK_CLOEXEC): Likewise.
12824 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12825 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12826 0x020621].
12827 (__ASSUME_PIPE2): Likewise.
12828 (__ASSUME_EVENTFD2): Likewise.
12829 (__ASSUME_SIGNALFD4): Likewise.
12830 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12831 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12832 Do not define.
12833 (__ASSUME_EVENTFD2): Likewise.
12834 (__ASSUME_SIGNALFD4): Likewise.
12835 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12836 (__ASSUME_32BITUIDS): Likewise.
12837 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12838 (__ASSUME_IPC64): Likewise.
12839 (__ASSUME_ST_INO_64_BIT): Likewise.
12840 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12841 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12842 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12843 (__ASSUME_UTIMES): Do not define.
12844 (__ASSUME_PSELECT): Likewise.
12845 (__ASSUME_PPOLL): Likewise.
12846 (__ASSUME_O_CLOEXEC): Likewise.
12847 (__ASSUME_SOCK_CLOEXEC): Likewise.
12848 (__ASSUME_IN_NONBLOCK): Likewise.
12849 (__ASSUME_PIPE2): Likewise.
12850 (__ASSUME_EVENTFD2): Likewise.
12851 (__ASSUME_SIGNALFD4): Likewise.
12852 (__ASSUME_DUP3): Likewise.
12853 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12854 (__ASSUME_UTIMES): Likewise.
12855 (__ASSUME_O_CLOEXEC): Likewise.
12856 (__ASSUME_SOCK_CLOEXEC): Likewise.
12857 (__ASSUME_IN_NONBLOCK): Likewise.
12858 (__ASSUME_PIPE2): Likewise.
12859 (__ASSUME_EVENTFD2): Likewise.
12860 (__ASSUME_SIGNALFD4): Likewise.
12861 (__ASSUME_DUP3): Likewise.
12862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12863 (__ASSUME_UTIMES): Likewise.
12864 (__ASSUME_O_CLOEXEC): Likewise.
12865 (__ASSUME_SOCK_CLOEXEC): Likewise.
12866 (__ASSUME_IN_NONBLOCK): Likewise.
12867 (__ASSUME_PIPE2): Likewise.
12868 (__ASSUME_EVENTFD2): Likewise.
12869 (__ASSUME_SIGNALFD4): Likewise.
12870 (__ASSUME_DUP3): Likewise.
12871 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12872 Likewise.
12873 (__ASSUME_UTIMES): Likewise.
12874 (__ASSUME_EVENTFD2): Likewise.
12875 (__ASSUME_SIGNALFD4): Likewise.
12876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12877 (__ASSUME_O_CLOEXEC): Likewise.
12878 (__ASSUME_SOCK_CLOEXEC): Likewise.
12879 (__ASSUME_IN_NONBLOCK): Likewise.
12880 (__ASSUME_PIPE2): Likewise.
12881 (__ASSUME_EVENTFD2): Likewise.
12882 (__ASSUME_SIGNALFD4): Likewise.
12883 (__ASSUME_DUP3): Likewise.
12884 (__ASSUME_UTIMES): Undefine.
12885
12886 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12887 feclearexcept. Remove symbol versioning code.
12888 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12889 symbol versioning code.
12890 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12891 symbol versioning code.
12892 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12893 feupdateenv. Remove symbol versioning code.
12894 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12895 fegetexceptflag. Remove symbol versioning code.
12896 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12897 fesetexceptflag. Remove symbol versioning code.
12898 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12899 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12900 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12901 (__posix_fadvise64_l32): Remove prototype.
12902 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12903 code.
12904
12905 2014-05-13 Roland McGrath <roland@hack.frob.com>
12906
12907 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12908 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12909 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12910 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12911
12912 2014-05-13 Sami Kerola <kerolasa@iki.fi>
12913
12914 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12915 current working directory
12916
12917 2014-05-13 Roland McGrath <roland@hack.frob.com>
12918
12919 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12920 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12921 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12922 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12923 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12924 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12925 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12938 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12939 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12940 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12950 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12952 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12953 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12954 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12955 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12956 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12957 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12958 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12959 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12961
12962 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12963 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12964
12965 * sysdeps/unix/sysv/linux/arm/Makefile
12966 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12967 Add rt-aeabi_unwind_cpp_pr1.
12968 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12969 Add nptl-aeabi_unwind_cpp_pr1.
12970 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12971 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12972 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12973 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12974 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12975 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12976
12977 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12978 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12979 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12980 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12981
12982 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12983 Deconditionalize the code that was previously under [RESET_PID].
12984 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12985
12986 * sysdeps/generic/exit-thread.h: New file.
12987 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12988 * include/unistd.h (__exit_thread): Remove declaration.
12989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12990 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12991 * csu/libc-start.c: Include <exit-thread.h>.
12992 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12993 * nptl/pthread_create.c: Include <exit-thread.h>.
12994 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12995 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12996 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12997 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12998 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12999 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13000 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13001 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13002 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13003 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13004 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13005 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13006 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13007 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13008 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13009 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13010 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13011
13012 2014-05-13 Andreas Schwab <schwab@suse.de>
13013
13014 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13015
13016 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13017
13018 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13019 (__ASSUME_UTIMES): Do not condition on kernel version.
13020 (__ASSUME_PSELECT): Define unconditionally.
13021 (__ASSUME_PPOLL): Likewise.
13022 (__ASSUME_ATFCTS): Likewise.
13023 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13024 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13025 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13026 (__ASSUME_UTIMENSAT): Define unconditionally.
13027 (__ASSUME_PRIVATE_FUTEX): Likewise.
13028 (__ASSUME_FALLOCATE): Likewise.
13029 (__ASSUME_O_CLOEXEC): Likewise.
13030 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13031 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13032 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13033 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13034 (__ASSUME_IN_NONBLOCK): Likewise.
13035 (__ASSUME_PIPE2): Likewise.
13036 (__ASSUME_EVENTFD2): Likewise.
13037 (__ASSUME_SIGNALFD4): Likewise.
13038 (__ASSUME_DUP3): Likewise.
13039 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13040 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13041 (__ASSUME_AT_RANDOM): Likewise.
13042 (__ASSUME_PREADV): Likewise.
13043 (__ASSUME_PWRITEV): Likewise.
13044 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13045 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13046 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13048 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13049 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13050 (__ASSUME_O_CLOEXEC): Define unconditionally.
13051 (__ASSUME_PSELECT): Do not undefine conditionally.
13052 (__ASSUME_PPOLL): Likewise.
13053 (__ASSUME_ATFCTS): Likewise.
13054 (__ASSUME_SET_ROBUST_LIST): Likewise.
13055 (__ASSUME_UTIMENSAT): Likewise.
13056 (__ASSUME_FDATASYNC): Define unconditionally.
13057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13058 (__ASSUME_SIGFRAME_V2): Likewise.
13059 )__ASSUME_EVENTFD2): Likewise.
13060 (__ASSUME_SIGNALFD4): Likewise.
13061 (__ASSUME_PSELECT): Do not undefine conditionally.
13062 (__ASSUME_PPOLL): Likewise.
13063 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13064 (__ASSUME_PSELECT): Define unconditionally.
13065 (__ASSUME_PPOLL): Likewise.
13066 (__ASSUME_O_CLOEXEC): Likewise.
13067 (__ASSUME_SOCK_CLOEXEC): Likewise.
13068 (__ASSUME_IN_NONBLOCK): Likewise.
13069 (__ASSUME_PIPE2): Likewise.
13070 (__ASSUME_EVENTFD2): Likewise.
13071 (__ASSUME_SIGNALFD4): Likewise.
13072 (__ASSUME_DUP3): Likewise.
13073 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13074 (__ASSUME_O_CLOEXEC): Likewise.
13075 (__ASSUME_SOCK_CLOEXEC): Likewise.
13076 (__ASSUME_IN_NONBLOCK): Likewise.
13077 (__ASSUME_PIPE2): Likewise.
13078 (__ASSUME_EVENTFD2): Likewise.
13079 (__ASSUME_SIGNALFD4): Likewise.
13080 (__ASSUME_DUP3): Likewise.
13081 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13082 (__ASSUME_EVENTFD2): Likewise.
13083 (__ASSUME_SIGNALFD4): Likewise.
13084 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13085
13086 2014-05-12 Andreas Schwab <schwab@suse.de>
13087
13088 [BZ #16932]
13089 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13090 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13091 than maximum RPC packet size.
13092 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13093 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13094 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13095 (_nss_nis_getservbyport_r): Likewise.
13096
13097 2014-05-12 Will Newton <will.newton@linaro.org>
13098
13099 * malloc/Makefile (tests): Add tst-mallopt.
13100 * malloc/tst-mallopt.c: New file.
13101
13102 2014-05-09 Roland McGrath <roland@hack.frob.com>
13103
13104 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13105 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13106
13107 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13108
13109 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13110 (tst-tlsmod6.so): Likewise.
13111
13112 2014-05-09 Roland McGrath <roland@hack.frob.com>
13113
13114 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13115
13116 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13117
13118 [BZ #16064]
13119 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13120 and <dl-procinfo.h>.
13121 (__fegetenv): Save SSE state in envp->__eip if supported.
13122 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13123 envp->__eip if supported.
13124 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13125 and <dl-procinfo.h>.
13126 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13127 __data_offset and __data_selector in environment to 0. Set SSE
13128 state if supported.
13129 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13130 test-fenv-sse.
13131 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13132 -mfpmath=sse.
13133 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13134
13135 2014-05-09 Will Newton <will.newton@linaro.org>
13136
13137 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13138 and libc_relro_required for ARM.
13139 * sysdeps/arm/preconfigure: Regenerate.
13140
13141 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13142 Stefan Liebler <stli@linux.vnet.ibm.com>
13143
13144 * config.make.in (enable-lock-elision): New Makefile variable.
13145 * configure.ac: Likewise.
13146 * configure: Regenerate.
13147 * sysdeps/s390/configure.ac:
13148 Add check for gcc transactions support.
13149 * sysdeps/s390/configure: Regenerate.
13150 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13151 Build elision files if enabled.
13152 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13153 Add lock elision support for s390.
13154 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13155 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13156 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13157 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13158 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13159 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13160 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13161 Likewise.
13162 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13163 Likewise.
13164 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13165 Likewise.
13166 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13167 Likewise.
13168 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13169 (__lll_timedlock_elision, __lll_lock_elision)
13170 (__lll_unlock_elision, __lll_trylock_elision)
13171 (lll_timedlock_elision, lll_lock_elision)
13172 (lll_unlock_elision, lll_trylock_elision): Add.
13173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13174 (pthread_mutex_t): Add lock elision support for s390.
13175
13176 2014-05-14 Wilco <wdijkstr@arm.com>
13177
13178 * sysdeps/arm/fclrexcpt.c: Cleanup.
13179 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13180 * sysdeps/arm/feenablxcpt.c: Cleanup.
13181 * sysdeps/arm/fegetenv.c: Cleanup.
13182 * sysdeps/arm/fegetexcept.c: Cleanup.
13183 * sysdeps/arm/fegetround.c: Cleanup.
13184 * sysdeps/arm/feholdexcpt.c: Cleanup.
13185 * sysdeps/arm/fesetenv.c: Cleanup.
13186 * sysdeps/arm/fesetround.c: Cleanup.
13187 * sysdeps/arm/feupdateenv.c: Cleanup.
13188 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13189 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13190 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13191 * sysdeps/arm/ftestexcept.c: Cleanup.
13192 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13193 * sysdeps/arm/setfpucw.c: Cleanup.
13194
13195 2014-05-09 Will Newton <will.newton@linaro.org>
13196
13197 * sysdeps/arm/armv7/strcmp.S: New file.
13198 * NEWS: Mention addition of ARMv7 optimized strcmp.
13199
13200 2014-05-08 Roland McGrath <roland@hack.frob.com>
13201
13202 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13203 look for %.ac rather than %.in.
13204
13205 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13206 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13207 * sysdeps/mach/hurd/configure: Regenerated.
13208 * sysdeps/unix/sysv/linux/configure: Regenerated.
13209
13210 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13211
13212 2014-05-07 Steve Ellcey <sellcey@mips.com>
13213
13214 [BZ# 16922]
13215 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13216 (LONG_SUB): Ditto.
13217 (PTR_SUB): Ditto.
13218
13219 2014-05-07 Andreas Schwab <schwab@suse.de>
13220
13221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13222 when skipping over non-matching result from nscd.
13223
13224 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13225
13226 [BZ #16876]
13227 * nptl/sockperf.c (client): Check socket return value.
13228
13229 [BZ #16877]
13230 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13231 nscd security class.
13232
13233 2014-05-06 Roland McGrath <roland@hack.frob.com>
13234
13235 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13236 * sysdeps/arm/unwind.h: ... here.
13237
13238 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13239
13240 [BZ# 16916]
13241 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13242 Define.
13243
13244 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13245
13246 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13247 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13248 multiarch strncpy for PPC64.
13249 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13250 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13252 multiarch optimizations.
13253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13254 (__libc_ifunc_impl_list): Likewise.
13255 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13256 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13257 multiarch stpncpy for PPC64.
13258 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13259 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13260
13261 2014-05-06 Andreas Schwab <schwab@suse.de>
13262
13263 [BZ #16912]
13264 * gmon/mcount.c (_MCOUNT_DECL): Use
13265 atomic_compare_and_exchange_bool_acq instead of
13266 catomic_compare_and_exchange_bool_acq.
13267
13268 2014-05-05 Roland McGrath <roland@hack.frob.com>
13269
13270 * elf/Makefile (others, install-bin): Remove pldd.
13271 (pldd-modules): Variable removed.
13272 ($(objpfx)pldd): Target removed.
13273 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13274 (others, install-bin): Append pldd here.
13275 ($(objpfx)pldd): New target.
13276
13277 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13278 to 0, so the first #if test emitted later doesn't see it undefined.
13279 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13280 * sysdeps/gnu/errlist.c: Regenerated.
13281
13282 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13283
13284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13285 [libc_hidden_builtin_def]: Define to empty value.
13286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13287 [libc_hidden_builtin_def]: Likewise.
13288 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13289 [libc_hidden_builtin_def]: Likewise.
13290 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13291 [libc_hidden_builtin_def]: Likewise.
13292 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13293 __redirect_memcpy and define ifunc as default hidden symbol.
13294 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13295 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13296
13297 2014-05-04 Adam Conrad <adconrad@0c3.net>
13298
13299 * locale/iso-4217.def: Reintroduce XDR currency.
13300
13301 2014-05-04 Allan McRae <allan@archlinux.org>
13302
13303 * po/eo.po: Update Esperanto translation from translation project.
13304
13305 2014-05-02 Carlos O'Donell <carlos@redhat.com>
13306
13307 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13308 and FEATURE_INDEX_MAX to 1.
13309 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13310
13311 2014-05-01 Steve Ellcey <sellcey@mips.com>
13312
13313 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13314 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13315 * iconvdata/big5.c (ONE_DIRECTION): Define.
13316 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13317 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13318 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13319 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13320 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13321 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13322 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13323 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13324 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13325 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13326 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13327 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13328 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13329 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13330 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13331 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13332 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13333 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13334 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13335 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13336 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13337 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13338 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13339 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13340 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13341 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13342 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13343 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13344 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13345 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13346 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13347 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13348 * iconvdata/johab.c (ONE_DIRECTION): Define.
13349 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13350 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13351 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13352 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13353 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13354 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13355 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13356 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13357 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13358 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13359
13360 2014-05-01 Roland McGrath <roland@hack.frob.com>
13361
13362 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13363 (_IO_JUMPS_OFFSET): Define to 0.
13364
13365 * nptl/sysdeps/pthread/bits/libc-lock.h
13366 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13367 (__libc_lock_define_initialized_recursive): Always define using
13368 initializer. Modern compilers treat uninitialized (implicit zero) and
13369 explicit zero initializers the same (i.e. put the datum in bss).
13370
13371 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13372
13373 * nscd/nscd-client.h: Include <string.h>.
13374
13375 2014-05-01 David S. Miller <davem@davemloft.net>
13376
13377 [BZ #16885]
13378 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13379 multiple zero bytes exist at the end of a string.
13380 Reported by Aurelien Jarno <aurelien@aurel32.net>
13381
13382 * string/test-strcmp.c (check): Add explicit test for situations where
13383 there are multiple zero bytes after the first.
13384
13385 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13386
13387 [BZ #16890]
13388 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13389 when compiling wprintf.
13390 * stdio-common/tstdiomisc.c (t3): New function.
13391 (main): Call it.
13392
13393 2014-05-01 Steve Ellcey <sellcey@mips.com>
13394
13395 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13396 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13397 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13398 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13399
13400 2014-05-01 Steve Ellcey <sellcey@mips.com>
13401
13402 * stdlib/longlong.h: Updated from GCC.
13403
13404 2014-05-01 Will Newton <will.newton@linaro.org>
13405 Bernard Ogden <bernie.ogden@linaro.org>
13406
13407 * NEWS: Update fixed bug list.
13408
13409 [BZ #15119]
13410 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13411
13412 2014-04-30 David S. Miller <davem@davemloft.net>
13413
13414 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13415 (libc_feholdexcept_setround_sparc_ctx): New function.
13416 (libc_fesetenv_sparc_ctx): Likewise.
13417 (libc_feupdateenv_sparc_ctx): Likewise.
13418 (libc_feholdsetround_sparc_ctx): Likewise.
13419 (libc_feholdexcept_setround_ctx): Define.
13420 (libc_feholdexcept_setroundf_ctx): Likewise.
13421 (libc_feholdexcept_setroundl_ctx): Likewise.
13422 (libc_fesetenv_ctx): Likewise.
13423 (libc_fesetenvf_ctx): Likewise.
13424 (libc_fesetenvl_ctx): Likewise.
13425 (libc_feupdateenv_ctx): Likewise.
13426 (libc_feupdateenvf_ctx): Likewise.
13427 (libc_feupdateenvl_ctx): Likewise.
13428 (libc_feresetround_ctx): Likewise.
13429 (libc_feresetroundf_ctx): Likewise.
13430 (libc_feresetroundl_ctx): Likewise.
13431 (libc_feholdsetround_ctx): Likewise.
13432 (libc_feholdsetroundf_ctx): Likewise.
13433 (libc_feholdsetroundl_ctx): Likewise.
13434
13435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13436 with __USE_GNU instead of XOPEN cpp guards.
13437
13438 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13439 0.
13440
13441 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13442 with XOPEN cpp guards.
13443
13444 2014-04-30 Julian Brown <julian@codesourcery.com>
13445
13446 [BZ #16888]
13447 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13448 handling.
13449
13450 2014-04-30 Joseph Myers <joseph@codesourcery.com>
13451
13452 [BZ #9894]
13453 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13454 Change to 2.6.32.
13455 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13456 * sysdeps/unix/sysv/linux/configure: Regenerated.
13457 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13458 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13459 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13460 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13461 * README: Update reference to required Linux kernel version.
13462 * manual/install.texi (Linux): Update reference to required Linux
13463 kernel headers version.
13464 * INSTALL: Regenerated.
13465
13466 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13467 header inclusion.
13468 [POSIX] (limits.h): Likewise.
13469 [POSIX] (math.h): Likewise.
13470 [POSIX] (sys/wait.h): Likewise.
13471 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13472 function.
13473 [POSIX] (stddef.h): Do not allow header inclusion.
13474
13475 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13478
13479 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13480
13481 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13482 Return immediately after lll_futex_wake.
13483
13484 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13485
13486 [BZ #16791]
13487 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13488 structure.
13489 (datahead_init_pos): Call datahead_init_common early.
13490 (datahead_init_neg): Likewise.
13491
13492 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13493 datahead_init_neg): New functions.
13494 * nscd/aicache.c (addhstaiX): Use them.
13495 * nscd/grpcache.c (cache_addgr): Likewise.
13496 * nscd/hstcache.c (cache_addhst): Likewise.
13497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13498 * nscd/netgroupcache.c (do_notfound): Likewise.
13499 (addgetnetgrentX): Likewise.
13500 (addinnetgrX): Likewise.
13501 * nscd/pwdcache.c (cache_addpw): Likewise.
13502 * nscd/servicescache.c (cache_addserv): Likewise.
13503
13504 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13505 Atsushi Onoe <atsushi@onoe.org>
13506
13507 [BZ #14308]
13508 [BZ #12994]
13509 [BZ #13651]
13510 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13511 one response is valid.
13512 * resolv/res_send.c (send_dg): Check for validity of other
13513 response if the current response is a referral.
13514
13515 2014-04-29 Steve Ellcey <sellcey@mips.com>
13516
13517 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13518
13519 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13520
13521 [BZ #16823]
13522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13523 Always divide by positive zero when computing -Inf result.
13524 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13525 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13526
13527 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13528
13529 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13530 FPSCR if value do not change.
13531 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13532 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13533 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13534 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13535 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13537 function.
13538
13539 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13540
13541 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13542 * sysdeps/unix/sysv/linux/hppa: Move directory from
13543 ports/systeps/unix/sysv/linux/hppa.
13544 * README: Update listing for hppa-*-linux-gnu.
13545
13546 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
13547
13548 [BZ #16754]
13549 * manual/stdio.texi (Hook functions): Fix types of stream hook
13550 functions.
13551 [BZ #16854]
13552 * socket/sys/socket.h: Fix typo in comment.
13553
13554 2014-04-28 Wilco <wdijkstr@arm.com>
13555
13556 * sysdeps/arm/fenv_private.h: New file.
13557 * sysdeps/arm/math_private.h: New file.
13558 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13559
13560 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13561
13562 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13563 with __int128_t.
13564 (La_x86_64_retval): Likewise.
13565
13566 2014-04-24 Ian Bolton <ian.bolton@arm.com>
13567
13568 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13569 fpsr if value didn't change.
13570 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13571 to fpcr if value didn't change.
13572 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13573 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13574 fpsr or fpcr if value didn't change.
13575 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13576 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13577 fpcr if value didn't change.
13578 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13579 to fpsr if value didn't change.
13580
13581 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13582
13583 * nptl/tst-sem3.c: Use test-skeleton.c
13584 (main): Rename to do_test. Use return instead of
13585 exit.
13586 * nptl/tst-sem4.c: Use test-skeleton.c
13587 (main): Rename to do_test.
13588
13589 2014-04-22 David S. Miller <davem@davemloft.net>
13590
13591 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13592 (struct sigaction): New struct member __glibc_reserved0, change
13593 type of sa_flags to int.
13594
13595 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13596
13597 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13598 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13599
13600 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13601
13602 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13603 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13604
13605 2014-04-22 Will Newton <will.newton@linaro.org>
13606 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13607
13608 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13609 (__longjmp): Add longjmp and longjmp_target SystemTap
13610 probes.
13611 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13612 (__sigsetjmp): Add setjmp SystemTap probe.
13613
13614 2014-04-17 Carlos O'Donell <carlos@redhat.com>
13615
13616 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13617 match manual order.
13618
13619 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13620
13621 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13622
13623 * sysdeps/powerpc/fpu/fenv_private.h
13624 (libc_feholdexcept_setroundl_ctx): Define to
13625 libc_feholdexcept_setround_ppc_ctx.
13626 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13627 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13628 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13629 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13630
13631 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13632
13633 * sysdeps/aarch64/math-tests.h: New file.
13634
13635 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13636
13637 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13638 New.
13639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13640 Check and set bit_AVX2_Usable.
13641 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13642 macro.
13643 (bit_AVX2): Likewise.
13644 (index_AVX2_Usable): Likewise.
13645 (CPUID_AVX2): Likewise.
13646 (HAS_AVX2): Likewise.
13647
13648 2014-04-17 Will Newton <will.newton@linaro.org>
13649
13650 * manual/setjmp.texi (System V contexts): Add note that
13651 calling setcontext on a context created by a call to a
13652 signal handler is undefined. Update text to note that
13653 setcontext from a signal handler is possible but not
13654 recommended.
13655
13656 [BZ #16629]
13657 * stdlib/tst-setcontext.c: Include signal.h.
13658 (main): Check that the signal stack before and
13659 after swapcontext is the same.
13660
13661 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13662 Re-implement to restore registers in user code and avoid
13663 rt_sigreturn system call.
13664
13665 2014-04-17 Wilco <wdijkstr@arm.com>
13666
13667 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13668 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13669 * math/test-fenv.c: Skip exception trap tests on targets which only
13670 support non-stop mode.
13671
13672 2014-04-17 Ian Bolton <ian.bolton@arm.com>
13673 Wilco Dijkstra <wilco.dijkstra@arm.com>
13674
13675 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13676 (libc_feholdsetround_aarch64_ctx)
13677 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13678 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13679 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13680 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13681 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13682 (libc_feresetround_noexl_ctx): Define.
13683
13684 2014-04-16 Richard Henderson <rth@redhat.com>
13685
13686 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13687
13688 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13689 unwind tables.
13690
13691 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13692 const from the non-libc, non-ldso copy.
13693
13694 * sysdeps/alpha/libm-test-ulps: Regenerate.
13695
13696 2014-04-16 Ian Bolton <ian.bolton@arm.com>
13697 Wilco Dijkstra <wilco.dijkstra@arm.com>
13698
13699 * sysdeps/aarch64/fpu/math_private.h: New file.
13700
13701 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13702
13703 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13704
13705 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13706
13707 [BZ #16275]
13708 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13709 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13711 Intel MPX bound registers before _dl_profile_fixup.
13712 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13713 registers after _dl_profile_fixup. Save and restore bound
13714 registers bnd0/bnd1 when calling _dl_call_pltexit.
13715 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13716 (LR_BND_OFFSET): Likewise.
13717 (LRV_BND0_OFFSET): Likewise.
13718 (LRV_BND1_OFFSET): Likewise.
13719
13720 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13721
13722 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13723 to...
13724 * sysdeps/mach/hurd/i386/tls.h: ... here.
13725 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13726 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13727 fields.
13728
13729 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13730
13731 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13732
13733 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13734
13735 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13736
13737 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13738
13739 [BZ #14770]
13740 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13741 * sysdeps/s390/configure: Regenerate.
13742
13743 [BZ #16824]
13744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13745 Set round-to-nearest internally to reduce error accumulation.
13746
13747 2014-04-16 Alan Modra <amodra@gmail.com>
13748
13749 [BZ #16740]
13750 [BZ #16619]
13751 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13752 * math/libm-test.inc (frexp_test_data): Add tests.
13753 * NEWS: Update fixed bug list.
13754
13755 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13756
13757 * benchtests/Makefile: Depend on libraries in build directory.
13758 (bench-math): Separate out math tests.
13759 (bench-pthread): Separate out pthread tests.
13760 (bench): Include math and pthread tests.
13761
13762 2014-04-14 Carlos O'Donell <carlos@redhat.com>
13763
13764 [BZ #16831]
13765 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13766 _dl_debug_initialize.
13767
13768 * configure.ac: Remove SELinux header check.
13769 * configure: Regenerate.
13770 * nscd/selinux.c (perms): Array of const char* to permission names.
13771 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13772 default policy. Call string_to_security_class and string_to_av_perm to
13773 translate strings. Enforce default policy and call avs_has_perm with
13774 results of translated strings.
13775
13776 2014-04-13 David S. Miller <davem@davemloft.net>
13777
13778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13779
13780 2014-04-12 Allan McRae <allan@archlinux.org>
13781
13782 [BZ #16838]
13783 * manual/string.texi (Collation Functions): Fix qsort argument
13784 order in example.
13785 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13786
13787 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13788
13789 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13790 Make the test a no-op if there are no exceptions defined.
13791
13792 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13793
13794 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13795 enable-hardcoded-path-in-tests
13796
13797 2014-04-11 Will Newton <will.newton@linaro.org>
13798
13799 * benchtests/Makefile (extra-objs): Add json-lib.o.
13800 (bench-func): Tidy up JSON output.
13801 * benchtests/bench-skeleton.c: Include json-lib.h.
13802 (main): Use JSON library functions to do output of
13803 benchmark results.
13804 * benchtests/bench-timing-type.c (main): Output the
13805 timing type simply, leaving formatting to the user.
13806 * benchtests/json-lib.c: New file.
13807 * benchtests/json-lib.h: Likewise.
13808
13809 2014-04-11 Torvald Riegel <triegel@redhat.com>
13810
13811 [BZ #15215]
13812 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13813 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13814 memory barriers. Add comments.
13815 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13816 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13817 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13818 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13819 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13820 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13821
13822 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13823
13824 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13825 * sysdeps/s390/s390-64/configure.ac: ... this ...
13826 * sysdeps/s390/configure.ac: ... to here.
13827 * sysdeps/s390/s390-32/configure: Delete file.
13828 * sysdeps/s390/s390-64/configure: Delete file.
13829 * sysdeps/s390/configure: Regenerate.
13830
13831 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13832
13833 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13834
13835 2014-04-11 Will Newton <will.newton@linaro.org>
13836
13837 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13838 to zero if it is not defined elsewhere. (mtrim): Test
13839 the value of MALLOC_DEBUG with #if rather than #ifdef.
13840
13841 2014-04-10 Torvald Riegel <triegel@redhat.com>
13842
13843 * benchtests/pthread_once-inputs: New file.
13844 * benchtests/pthread_once-source.c: New file.
13845 * benchtests/README: Update documentation.
13846
13847 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13848 H.J. Lu <hongjiu.lu@intel.com>
13849
13850 [BZ #16275]
13851 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13852 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13853 * sysdeps/x86_64/configure: Regenerated.
13854 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13855 macro.
13856 (REGISTER_SAVE_RAX): Likewise.
13857 (REGISTER_SAVE_RCX): Likewise.
13858 (REGISTER_SAVE_RDX): Likewise.
13859 (REGISTER_SAVE_RSI): Likewise.
13860 (REGISTER_SAVE_RDI): Likewise.
13861 (REGISTER_SAVE_R8): Likewise.
13862 (REGISTER_SAVE_R9): Likewise.
13863 (REGISTER_SAVE_BND0): Likewise.
13864 (REGISTER_SAVE_BND1): Likewise.
13865 (REGISTER_SAVE_BND2): Likewise.
13866 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13867 bound registers when calling _dl_fixup.
13868
13869 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870
13871 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13872 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13873 of its definition.
13874 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13875 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13876 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13877 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13878 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13879 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13880 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13881
13882 2014-04-09 Peter Brett <peter@peter-b.co.uk>
13883
13884 [BZ #15514]
13885 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13886 pathconf(_PC_NAME_MAX).
13887
13888 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13889
13890 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13891 Remove macro usage.
13892 (__PTHREAD_SPINS): Move definition to ...
13893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13894 (__PTHREAD_SPINS): ... here.
13895 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13896 (__PTHREAD_SPIN): Likewise.
13897 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13898 (__PTHREAD_SPIN): Likewise.
13899 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13900 (__PTHREAD_SPIN): Likewise.
13901 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13902 (__PTHREAD_SPIN): Likewise.
13903 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13904 (__PTHREAD_SPIN): Likewise.
13905 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13906 (__PTHREAD_SPIN): Likewise.
13907 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13908 (__PTHREAD_SPIN): Likewise.
13909 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13910 (__PTHREAD_SPIN): Likewise.
13911 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13912 (__PTHREAD_SPIN): Likewise.
13913 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13914 (__PTHREAD_SPIN): Likewise.
13915 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13916 (__PTHREAD_SPIN): Likewise.
13917 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13918 (__PTHREAD_SPIN): Likewise.
13919
13920 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13921 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13922 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13924 imply folder.
13925 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13926 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13927 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13928 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13929 correct imply path.
13930 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13931 strlen symbol for non multi-arch builds.
13932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13933 missing hidden_def and weak_alias.
13934
13935 2014-04-08 Carlos O'Donell <carlos@redhat.com>
13936
13937 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13938
13939 2014-04-07 Will Newton <will.newton@linaro.org>
13940
13941 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13942 and contents. [!_LIBC] Remove #ifndef and contents.
13943 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13944 * string/memccpy.c (__memccpy): Use ANSI prototype.
13945 * string/memfrob.c (memfrob): Likewise.
13946 * string/strcoll.c (STRCOLL): Likewise.
13947 * string/strlen.c (strlen): Likewise.
13948 * string/strtok.c (STRTOK): Likewise.
13949 * string/strcat.c: Remove unused #include of memcopy.h.
13950 (strcat): Use ANSI prototype.
13951 * string/strchr.c: Remove unused #include of memcopy.h.
13952 (strchr): Use ANSI prototype.
13953 * string/strcmp.c: Remove unused #include of memcopy.h.
13954 (strcmp): Use ANSI prototype.
13955 * string/strcpy.c: Remove unused #include of memcopy.h.
13956 (strcpy): Use ANSI prototype.
13957
13958 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959
13960 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13961 * config.make.in (config-extra-cppflags): Set it from
13962 libc_extra_cppflags.
13963 * configure.ac (libc_extra_cflags): Make it accumulate over
13964 configure fragments.
13965 (libc_extra_cppflags): New flag.
13966 * configure. Regenerate.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13968 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13969 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13971
13972 [BZ #16815]
13973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13974 result for FE_DOWNWARD rounding mode.
13975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13976 Likewise.
13977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13978
13979 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13980
13981 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13982 in function argument name.
13983
13984 2014-04-03 David Svoboda <svoboda@cert.org>
13985
13986 [BZ #5666]
13987 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13988 explicitly.
13989
13990 2014-04-03 Roland McGrath <roland@hack.frob.com>
13991
13992 * elf/dl-unmap-segments.h: New file.
13993 * sysdeps/generic/ldsodefs.h
13994 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13995 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13996 * elf/dl-fptr.c: Likewise.
13997 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13998 * sysdeps/aarch64/tlsdesc.c: Likewise.
13999 * sysdeps/arm/tlsdesc.c: Likewise.
14000 * sysdeps/i386/tlsdesc.c: Likewise.
14001 * sysdeps/tile/dl-runtime.c: Likewise.
14002 * sysdeps/x86_64/tlsdesc.c: Likewise.
14003 * elf/dl-load.h: New file.
14004 * elf/dl-load.c: Include it.
14005 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14006 Macros moved to dl-load.h.
14007 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14008 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14009 Use _dl_unmap_segments in place of __munmap.
14010 Break out segment-mapping loop into ...
14011 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14012
14013 2014-04-03 Will Newton <will.newton@linaro.org>
14014
14015 * elf/dl-lookup.c (do_lookup_x): Remove comment
14016 referring to nested function and move variable
14017 declarations down to before first use.
14018
14019 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #16799]
14022 [BZ #16800]
14023 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14024 with 0 numerator.
14025 * math/s_catanf.c (__catanf): Likewise.
14026 * math/s_catanh.c (__catanh): Likewise.
14027 * math/s_catanhf.c (__catanhf): Likewise.
14028 * math/s_catanhl.c (__catanhl): Likewise.
14029 * math/s_catanl.c (__catanl): Likewise.
14030 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14031 by positive zero when computing -Inf result.
14032 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14033 (catanh_test): Likewise.
14034 * sysdeps/i386/fpu/libm-test-ulps: Update.
14035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036
14037 [BZ #16789]
14038 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14039 instead of using underflowing value in computing result.
14040 * math/s_clog10.c (__clog10): Likewise.
14041 * math/s_clog10f.c (__clog10f): Likewise.
14042 * math/s_clog10l.c (__clog10l): Likewise.
14043 * math/s_clogf.c (__clogf): Likewise.
14044 * math/s_clogl.c (__clogl): Likewise.
14045 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14046 (clog10_test): Likewise.
14047 * sysdeps/i386/fpu/libm-test-ulps: Update.
14048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049
14050 2014-04-02 Alan Modra <amodra@gmail.com>
14051
14052 [BZ #16739]
14053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14054 output when value is near a power of two. Use int64_t for lx and
14055 remove casts. Use decimal rather than hex exponent constants.
14056 Don't use long double multiplication when double will suffice.
14057 * math/libm-test.inc (nextafter_test_data): Add tests.
14058 * NEWS: Add 16739 and 16786 to bug list.
14059
14060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14061
14062 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14063
14064 2014-04-01 Will Newton <will.newton@linaro.org>
14065
14066 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14067 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14068
14069 2014-04-01 Florian Weimer <fweimer@redhat.com>
14070
14071 [BZ #13347]
14072 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14073 * nptl/tst-setuid2.c: New file.
14074 * nptl/Makefile (xtests): Add tst-setuid2.
14075
14076 2014-04-01 Alan Modra <amodra@gmail.com>
14077
14078 [BZ #16786]
14079 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14080
14081 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14082
14083 [BZ #6803]
14084 [BZ #6804]
14085 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14086 set errno as appropriate.
14087 * math/w_scalbf.c (__scalbf): Likewise.
14088 * math/w_scalbl.c (__scalbl): Likewise.
14089 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14090 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14091 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14092 Add more NaN tests.
14093
14094 [BZ #16349]
14095 * math/w_atan2.c: Include <errno.h>.
14096 (__atan2): Set errno for result underflowing to zero.
14097 * math/w_atan2f.c: Include <errno.h>.
14098 (__atan2f): Set errno for result underflowing to zero.
14099 * math/w_atan2l.c: Include <errno.h>.
14100 (__atan2l): Set errno for result underflowing to zero.
14101 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14102 tests.
14103 * math/auto-libm-test-out: Regenerated.
14104
14105 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14106
14107 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14108 Encode instruction correctly in little endian.
14109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14110 Likewise.
14111 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14112 Likewise.
14113 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14114 Likewise.
14115 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14116 Likewise.
14117
14118 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14119
14120 [BZ #9894]
14121 * sysdeps/unix/sysv/linux/kernel-features.h
14122 [__sparc__ && !__arch64__ && !__sparc_v9__]
14123 (__ASSUME_SET_ROBUST_LIST): Do not define.
14124 [__sparc__ && !__arch64__ && !__sparc_v9__]
14125 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14126 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14127 Likewise.
14128 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14129 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14130 (__ASSUME_REQUEUE_PI): Likewise.
14131 (__ASSUME_SET_ROBUST_LIST): Likewise.
14132 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14133 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14134 Undefine.
14135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14136 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14137 Likewise.
14138 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14139 Likewise.
14140 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14141 Likewise.
14142 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14143 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14144 Undefine.
14145 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14146 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14147 Likewise.
14148
14149 [BZ #16648]
14150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14151 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14152 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14153
14154 2014-03-31 Will Newton <will.newton@linaro.org>
14155
14156 * benchtests/Makefile (bench): Add ffs and ffsll to list
14157 of tests.
14158 * benchtests/ffs-inputs: New file.
14159 * benchtests/ffsll-inputs: Likewise.
14160
14161 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14162
14163 [BZ #16770]
14164 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14165 too large before casting to int.
14166 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14167 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14168 * math/libm-test.inc (scalb_test_data): Add more tests.
14169
14170 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14171
14172 * benchtests/Makefile (DETAILED_OPT): New make option.
14173 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14174 set.
14175 * benchtests/bench-skeleton.c: Include stdbool.h.
14176 (main): Store and print timings per input.
14177 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14178 member to each argument value.
14179 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14180 (_print_arg_data): Initialize per-input timing to 0.
14181
14182 * benchtests/Makefile (timing-type): New binary.
14183 (bench-clean): Also remove bench-timing-type.
14184 (bench): New target for timing-type.
14185 (bench-func): Print output in JSON format.
14186 * benchtests/bench-skeleton.c (main): Print output in JSON
14187 format.
14188 * benchtests/bench-timing-type.c: New file.
14189 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14190 (TIMING_PRINT_STATS): Remove.
14191 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14192 name separately.
14193
14194 * benchtests/bench-modf.c: Remove.
14195 * benchtests/modf-inputs: New inputs file.
14196
14197 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #16362]
14200 * math/s_clog10.c (M_PI_LOG10E): New macro.
14201 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14202 imaginary parts are 0.
14203 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14204 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14205 imaginary parts are 0.
14206 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14207 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14208 imaginary parts are 0.
14209 * math/libm-test.inc (clog10_test_data): Update expected results
14210 for when real and imaginary parts are 0.
14211
14212 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14213
14214 * elf/dl-load.c: Finish conversion of __builtin_expect into
14215 __glibc_{un}likely.
14216
14217 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14218
14219 [BZ #16348]
14220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14221 1+x for argument with exponent below -67.
14222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14223 Likewise.
14224 * math/auto-libm-test-in: Add more tests of exp.
14225 * math/auto-libm-test-out: Regenerated.
14226
14227 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14228
14229 [BZ #16759]
14230 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14231 (nscd_getnetgrent): Use it.
14232
14233 [BZ #16760]
14234 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14235 of stpcpy.
14236
14237 2014-03-27 Andi Kleen <ak@linux.intel.com>
14238
14239 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14240 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14241 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14242 (lll_robust_unlock): Remove out of line section. Use cfi
14243 intrinsics.
14244 (LLL_STUB_UNWIND_INFO*): Remove.
14245 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14246 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14247 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14248 (lll_robust_unlock): Remove out of line section. Use cfi
14249 intrinsics.
14250 (LLL_STUB_UNWIND_INFO*): Remove.
14251
14252 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14253
14254 [BZ #16758]
14255 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14256 blank values.
14257
14258 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14259
14260 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14261
14262 2014-03-26 Joseph Myers <joseph@codesourcery.com>
14263
14264 [BZ #16198]
14265 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14266 fnstenv.
14267 * math/test-fenv-preserve.c: New file.
14268 * math/Makefile (tests): Add test-fenv-preserve.
14269
14270 2014-03-26 Will Newton <will.newton@linaro.org>
14271
14272 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14273
14274 2014-03-25 Roland McGrath <roland@hack.frob.com>
14275
14276 * scripts/versionlist.awk: Partition the version sets and emit all
14277 GLIBC_* (sorted) before all others (sorted).
14278
14279 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14280
14281 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14282 GLIBC_2.2.5 version.
14283
14284 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14285
14286 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14287 calls.
14288
14289 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14290 previous change.
14291
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14293
14294 2014-03-25 Andreas Schwab <schwab@suse.de>
14295
14296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14297 label to be used after in6ailist is initialized.
14298
14299 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14300
14301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14302 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14303
14304 2014-03-25 Joseph Myers <joseph@codesourcery.com>
14305
14306 [BZ #16357]
14307 [BZ #16599]
14308 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14309 min_plus_half.
14310 (fp_formats): Update initializers.
14311 (init_fp_formats): Initialize new field.
14312 (output_for_one_input_case): Allow underflow for results up to
14313 min_plus_half.
14314 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14315 * math/auto-libm-test-in: Don't mark some underflows from asin and
14316 atanh as spurious.
14317 * math/auto-libm-test-out: Regenerated.
14318 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14320
14321 2014-03-25 Andreas Schwab <schwab@suse.de>
14322
14323 * libio/Makefile (tst-ftell-partial-wide-ENV)
14324 (tst-ftell-active-handler-ENV): Define.
14325
14326 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14327
14328 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14329
14330 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14331
14332 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14333
14334 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14335
14336 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14337 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14338 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14339
14340 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14341
14342 [BZ #16634]
14343 * elf/dl-load.c (open_verify): Add mode parameter.
14344 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14345 (open_path): Change from boolean 'secure' to complete flag 'mode'
14346 (_dl_map_object): Adjust.
14347 * elf/Makefile (tests): Add tst-dlopen-aout.
14348 * elf/tst-dlopen-aout.c: New test.
14349
14350 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14351
14352 [BZ #16714]
14353 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14354 (struct stat): Rename member pad0 to __glibc_reserved0.
14355
14356 [BZ #16712]
14357 * sysdeps/s390/s390-32/bits/wordsize.h
14358 (__WORDSIZE32_SIZE_ULONG): New define.
14359 * sysdeps/s390/s390-64/bits/wordsize.h
14360 (__WORDSIZE32_SIZE_ULONG): Likewise.
14361 * sysdeps/generic/stdint.h (SIZE_MAX):
14362 Define as UL if __WORDSIZE32_SIZE_ULONG.
14363
14364 [BZ #16713]
14365 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14366 (__glibc_reserved0): New variable.
14367 (sa_flags): Change type to int.
14368
14369 * posix/Makefile (before-compile): Use += before-compile instead
14370 of a :=.
14371
14372 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14373 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14374
14375 2014-03-20 Andreas Schwab <schwab@suse.de>
14376
14377 [BZ #16743]
14378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14379 non-matching result from nscd.
14380
14381 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14382
14383 * scripts/bench.py: Moved to ...
14384 * benchtests/scripts/bench.py: ... here.
14385 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14386
14387 2014-03-24 Andreas Schwab <schwab@suse.de>
14388
14389 [BZ #16002]
14390 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14391 alloca_account and account alloca use for struct in6ailist.
14392
14393 2014-03-24 Joseph Myers <joseph@codesourcery.com>
14394
14395 [BZ #16284]
14396 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14397 rounding mode to recompute results that overflow to infinity or
14398 underflow to zero.
14399 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14400 bug 16284.
14401 * math/auto-libm-test-out: Regenerated.
14402 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14403 (ccosh_test): Likewise.
14404 (csin_test_data): Use plus_oflow.
14405 (csin_test): Use ALL_RM_TEST.
14406 (csinh_test_data): Use plus_oflow.
14407 (csinh_test): Use ALL_RM_TEST.
14408 * sysdeps/i386/fpu/libm-test-ulps: Update.
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14410
14411 2014-03-21 Joseph Myers <joseph@codesourcery.com>
14412
14413 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14414 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14415 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14416
14417 [BZ #16731]
14418 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14419 when x - 1 is zero.
14420 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14421 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14422 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14424 argument is 1.
14425 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14426 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14427 zero.
14428 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14429 * sysdeps/i386/fpu/libm-test-ulps: Update.
14430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431
14432 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14433
14434 * scripts/bench.pl: Remove file.
14435 * scripts/bench.py: New benchmark script.
14436 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14437 * benchtests/README: Mention python dependency.
14438 * scripts/pylintrc: New file.
14439 * scripts/pylint: New file.
14440
14441 * bits/mathdef.h: Use #ifdef instead of #if.
14442 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14443 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14444 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14445 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14446 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14447 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14448
14449 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14450 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14451
14452 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14454 and strpbrk-ppc64 objects.
14455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14456 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14457 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14458 multiarch strpbrk for POWER7.
14459 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14460 multiarch strpbrk for PPC64.
14461 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14462 ifunc selector.
14463 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14464 strpbrk for POWER7.
14465
14466 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14467
14468 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14469 (atan_test): Likewise.
14470 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14471 (atanh_test): Use ALL_RM_TEST.
14472 (atan2_test_data): Likewise.
14473 (cabs_test): Likewise.
14474 (cacosh_test): Likewise.
14475 (carg_test): Likewise.
14476 (casin_test): Likewise.
14477 (casinh_test): Likewise.
14478 (cbrt_test): Likewise.
14479 (csqrt_test): Likewise.
14480 (erf_test): Likewise.
14481 (erfc_test): Likewise.
14482 (pow10_test): Likewise.
14483 (exp2_test): Likewise.
14484 (hypot_test): Likewise.
14485 (j0_test): Likewise.
14486 (j1_test): Likewise.
14487 (lgamma_test): Likewise.
14488 (gamma_test): Likewise.
14489 (sincos_test): Likewise.
14490 (tanh_test): Likewise.
14491 (y0_test): Likewise.
14492 (y1_test): Likewise.
14493 * sysdeps/i386/fpu/libm-test-ulps: Update.
14494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14495
14496 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14497
14498 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14500 and strcspn-ppc64 objects.
14501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14502 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14503 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14504 multiarch strcspn for POWER7.
14505 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14506 multiarch strcspn for PPC64.
14507 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14508 ifunc selector.
14509 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14510 strcspn for POWER7.
14511
14512 2014-03-20 Joseph Myers <joseph@codesourcery.com>
14513
14514 * math/gen-libm-test.pl (generate_testfile): Expect only function
14515 name as argument to AUTO_TESTS_* and pass results for all rounding
14516 modes to parse_args.
14517 (parse_auto_input): Separate inputs of automatic tests from
14518 outputs before storing in %auto_tests.
14519 * math/libm-test.inc (acos_test_data): Update call to
14520 AUTO_TESTS_f_f.
14521 (acos_test): Use ALL_RM_TEST.
14522 (acos_tonearest_test_data): Remove.
14523 (acos_test_tonearest): Likewise.
14524 (acos_towardzero_test_data): Likewise.
14525 (acos_test_towardzero): Likewise.
14526 (acos_downward_test_data): Likewise.
14527 (acos_test_downward): Likewise.
14528 (acos_upward_test_data): Likewise.
14529 (acos_test_upward): Likewise.
14530 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14531 (asin_test_data): Likewise.
14532 (asin_test): Use ALL_RM_TEST.
14533 (asin_tonearest_test_data): Remove.
14534 (asin_test_tonearest): Likewise.
14535 (asin_towardzero_test_data): Likewise.
14536 (asin_test_towardzero): Likewise.
14537 (asin_downward_test_data): Likewise.
14538 (asin_test_downward): Likewise.
14539 (asin_upward_test_data): Likewise.
14540 (asin_test_upward): Likewise.
14541 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14542 (atan_test_data): Likewise.
14543 (atanh_test_data): Likewise.
14544 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14545 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14546 (carg_test_data): Likewise.
14547 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14548 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14549 (ccosh_test_data): Likewise.
14550 (cexp_test_data): Likewise.
14551 (clog_test_data): Likewise.
14552 (clog10_test_data): Likewise.
14553 (cos_test_data): Update call to AUTO_TESTS_f_f.
14554 (cos_test): Use ALL_RM_TEST.
14555 (cos_tonearest_test_data): Remove.
14556 (cos_test_tonearest): Likewise.
14557 (cos_towardzero_test_data): Likewise.
14558 (cos_test_towardzero): Likewise.
14559 (cos_downward_test_data): Likewise.
14560 (cos_test_downward): Likewise.
14561 (cos_upward_test_data): Likewise.
14562 (cos_test_upward): Likewise.
14563 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14564 (cosh_test): Use ALL_RM_TEST.
14565 (cosh_tonearest_test_data): Remove.
14566 (cosh_test_tonearest): Likewise.
14567 (cosh_towardzero_test_data): Likewise.
14568 (cosh_test_towardzero): Likewise.
14569 (cosh_downward_test_data): Likewise.
14570 (cosh_test_downward): Likewise.
14571 (cosh_upward_test_data): Likewise.
14572 (cosh_test_upward): Likewise.
14573 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14574 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14575 (ctan_test_data): Likewise.
14576 (ctan_test): Use ALL_RM_TEST.
14577 (ctan_tonearest_test_data): Remove.
14578 (ctan_test_tonearest): Likewise.
14579 (ctan_towardzero_test_data): Likewise.
14580 (ctan_test_towardzero): Likewise.
14581 (ctan_downward_test_data): Likewise.
14582 (ctan_test_downward): Likewise.
14583 (ctan_upward_test_data): Likewise.
14584 (ctan_test_upward): Likewise.
14585 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14586 (ctanh_test): Use ALL_RM_TEST.
14587 (ctanh_tonearest_test_data): Remove.
14588 (ctanh_test_tonearest): Likewise.
14589 (ctanh_towardzero_test_data): Likewise.
14590 (ctanh_test_towardzero): Likewise.
14591 (ctanh_downward_test_data): Likewise.
14592 (ctanh_test_downward): Likewise.
14593 (ctanh_upward_test_data): Likewise.
14594 (ctanh_test_upward): Likewise.
14595 (erf_test_data): Update call to AUTO_TESTS_f_f.
14596 (erfc_test_data): Likewise.
14597 (exp_test_data): Likewise.
14598 (exp_test): Use ALL_RM_TEST.
14599 (exp_tonearest_test_data): Remove.
14600 (exp_test_tonearest): Likewise.
14601 (exp_towardzero_test_data): Likewise.
14602 (exp_test_towardzero): Likewise.
14603 (exp_downward_test_data): Likewise.
14604 (exp_test_downward): Likewise.
14605 (exp_upward_test_data): Likewise.
14606 (exp_test_upward): Likewise.
14607 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14608 (exp10_test): Use ALL_RM_TEST.
14609 (exp10_tonearest_test_data): Remove.
14610 (exp10_test_tonearest): Likewise.
14611 (exp10_towardzero_test_data): Likewise.
14612 (exp10_test_towardzero): Likewise.
14613 (exp10_downward_test_data): Likewise.
14614 (exp10_test_downward): Likewise.
14615 (exp10_upward_test_data): Likewise.
14616 (exp10_test_upward): Likewise.
14617 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14618 (expm1_test_data): Likewise.
14619 (expm1_test): Use ALL_RM_TEST.
14620 (expm1_tonearest_test_data): Remove.
14621 (expm1_test_tonearest): Likewise.
14622 (expm1_towardzero_test_data): Likewise.
14623 (expm1_test_towardzero): Likewise.
14624 (expm1_downward_test_data): Likewise.
14625 (expm1_test_downward): Likewise.
14626 (expm1_upward_test_data): Likewise.
14627 (expm1_test_upward): Likewise.
14628 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14629 (fma_test): Use ALL_RM_TEST.
14630 (fma_towardzero_test_data): Remove.
14631 (fma_test_towardzero): Likewise.
14632 (fma_downward_test_data): Likewise.
14633 (fma_test_downward): Likewise.
14634 (fma_upward_test_data): Likewise.
14635 (fma_test_upward): Likewise.
14636 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14637 (j0_test_data): Update call to AUTO_TESTS_f_f.
14638 (j1_test_data): Likewise.
14639 (jn_test_data): Update call to AUTO_TESTS_if_f.
14640 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14641 (log_test_data): Update call to AUTO_TESTS_f_f.
14642 (log10_test_data): Likewise.
14643 (log1p_test_data): Likewise.
14644 (log2_test_data): Likewise.
14645 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14646 (pow_tonearest_test_data): Likewise.
14647 (sin_test_data): Update call to AUTO_TESTS_f_f.
14648 (sin_test): Use ALL_RM_TEST.
14649 (sin_tonearest_test_data): Remove.
14650 (sin_test_tonearest): Likewise.
14651 (sin_towardzero_test_data): Likewise.
14652 (sin_test_towardzero): Likewise.
14653 (sin_downward_test_data): Likewise.
14654 (sin_test_downward): Likewise.
14655 (sin_upward_test_data): Likewise.
14656 (sin_test_upward): Likewise.
14657 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14658 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14659 (sinh_test): Use ALL_RM_TEST.
14660 (sinh_tonearest_test_data): Remove.
14661 (sinh_test_tonearest): Likewise.
14662 (sinh_towardzero_test_data): Likewise.
14663 (sinh_test_towardzero): Likewise.
14664 (sinh_downward_test_data): Likewise.
14665 (sinh_test_downward): Likewise.
14666 (sinh_upward_test_data): Likewise.
14667 (sinh_test_upward): Likewise.
14668 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14669 (sqrt_test): Use ALL_RM_TEST.
14670 (sqrt_tonearest_test_data): Remove.
14671 (sqrt_test_tonearest): Likewise.
14672 (sqrt_towardzero_test_data): Likewise.
14673 (sqrt_test_towardzero): Likewise.
14674 (sqrt_downward_test_data): Likewise.
14675 (sqrt_test_downward): Likewise.
14676 (sqrt_upward_test_data): Likewise.
14677 (sqrt_test_upward): Likewise.
14678 (tan_test_data): Update call to AUTO_TESTS_f_f.
14679 (tan_test): Use ALL_RM_TEST.
14680 (tan_tonearest_test_data): Remove.
14681 (tan_test_tonearest): Likewise.
14682 (tan_towardzero_test_data): Likewise.
14683 (tan_test_towardzero): Likewise.
14684 (tan_downward_test_data): Likewise.
14685 (tan_test_downward): Likewise.
14686 (tan_upward_test_data): Likewise.
14687 (tan_test_upward): Likewise.
14688 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14689 (tgamma_test_data): Likewise.
14690 (y0_test_data): Likewise.
14691 (y1_test_data): Likewise.
14692 (yn_test_data): Update call to AUTO_TESTS_if_f.
14693 (main): Do not call removed functions.
14694
14695 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14696
14697 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14698 (ldexp_test_data): Remove.
14699 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14700 scalbn_test_data.
14701 (scalb_test): Use ALL_RM_TEST.
14702
14703 2014-03-19 Andreas Schwab <schwab@suse.de>
14704
14705 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14706
14707 2014-03-19 Joseph Myers <joseph@codesourcery.com>
14708
14709 [BZ #16649]
14710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14711 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14712 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14714 (__ASSUME_PREADV): Undefine.
14715 (__ASSUME_PWRITEV): Likewise.
14716
14717 2014-03-18 Roland McGrath <roland@hack.frob.com>
14718
14719 * bits/mman-linux.h: Add comment about non-Linux use.
14720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14721 bits/mman-linux.h resting place.
14722
14723 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14724 * bits/mman-linux.h: ... here.
14725
14726 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14727
14728 * conform/conformtest.pl: Add standard definition when calling C
14729 preprocessor on data files.
14730 (checknamespace): Remove unused variable.
14731
14732 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14733
14734 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14735 minus_oflow, plus_uflow and minus_uflow in expected results.
14736 * math/libm-test.inc (scalbn_test_data): Add more tests of
14737 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14738 minus_uflow.
14739 (scalbn_test): Use ALL_RM_TEST.
14740 (scalbln_test_data): Add more tests of negative arguments. Use
14741 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14742 (scalbln_test): Use ALL_RM_TEST.
14743
14744 2014-03-18 Roland McGrath <roland@hack.frob.com>
14745
14746 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14747
14748 2014-03-18 Will Newton <will.newton@linaro.org>
14749
14750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14751 inaccurate comment.
14752
14753 2014-03-18 Joseph Myers <joseph@codesourcery.com>
14754
14755 * Makerules [!subdir] (check-abi): Exit with error status if a
14756 test failed.
14757
14758 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14759
14760 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14761 for rint. Include results for all rounding modes.
14762 (nearbyint_test): Use ALL_RM_TEST.
14763 (rint_test_data): Include all tests used for nearbyint.
14764
14765 2014-03-17 Will Newton <will.newton@linaro.org>
14766
14767 * nptl/sysdeps/pthread/pthread.h: Revert previous
14768 change.
14769
14770 * sysdeps/generic/ldsodefs.h: Revert previous
14771 change.
14772
14773 * libio/genops.c: Revert previous change.
14774 * libio/libioP.h: Likewise.
14775 * stdio-common/vfprintf.c: Likewise.
14776
14777 * sysdeps/generic/math_private.h: Revert previous
14778 change.
14779
14780 * sysdeps/generic/math_private.h: Check whether
14781 HAVE_RM_CTX is defined with #ifdef rather
14782 than #if.
14783
14784 * argp/argp-fmtstream.h: Check whether
14785 __STRICT_ANSI__ is defined with #ifdef rather
14786 than #if.
14787 * argp/argp.h: Likewise.
14788
14789 * libio/genops.c: Check whether
14790 _IO_JUMPS_OFFSET is defined with #ifdef rather
14791 than #if.
14792 * libio/libioP.h: Likewise.
14793 * stdio-common/vfprintf.c: Likewise.
14794
14795 * sysdeps/generic/ldsodefs.h: Check whether
14796 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14797 than #if.
14798
14799 * nptl/sysdeps/pthread/pthread.h: Check
14800 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14801 its value.
14802
14803 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14804
14805 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14806 setting O_APPEND.
14807 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14808 test case.
14809
14810 [BZ #16680]
14811 * libio/fileops.c (_IO_file_open): Seek to end of file but
14812 don't cache the offset.
14813 (get_file_offset): Remove function.
14814 (do_ftell): Use cached offset when available.
14815 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14816 don't cache the offset.
14817 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14818 case.
14819 (do_one_test): Call it.
14820 (do_ftell_test): Fix up expected old offset for a+ mode.
14821 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14822 available.
14823
14824 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14825 up test status with function return status.
14826 (do_write_test): Likewise.
14827 (do_append_test): Likewise.
14828
14829 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14830 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14831 Remove.
14832
14833 2014-03-17 Joseph Myers <joseph@codesourcery.com>
14834
14835 * math/gen-libm-test.pl (parse_args): Handle results specified for
14836 each rounding mode separately.
14837 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14838 tests and results from lrint_tonearest_test_data,
14839 lrint_towardzero_test_data, lrint_downward_test_data and
14840 lrint_upward_test_data.
14841 (lrint_test): Use ALL_RM_TEST.
14842 (lrint_tonearest_test_data): Remove.
14843 (lrint_test_tonearest): Likewise.
14844 (lrint_towardzero_test_data): Likewise.
14845 (lrint_test_towardzero): Likewise.
14846 (lrint_downward_test_data): Likewise.
14847 (lrint_test_downward): Likewise.
14848 (lrint_upward_test_data): Likewise.
14849 (lrint_test_upward): Likewise.
14850 (llrint_test_data): Merge in per-rounding-mode tests and results
14851 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14852 llrint_downward_test_data and llrint_upward_test_data.
14853 (llrint_test): Use ALL_RM_TEST.
14854 (llrint_tonearest_test_data): Remove.
14855 (llrint_test_tonearest): Likewise.
14856 (llrint_towardzero_test_data): Likewise.
14857 (llrint_test_towardzero): Likewise.
14858 (llrint_downward_test_data): Likewise.
14859 (llrint_test_downward): Likewise.
14860 (llrint_upward_test_data): Likewise.
14861 (llrint_test_upward): Likewise.
14862 (rint_test_data): Merge in per-rounding-mode tests and results
14863 from rint_tonearest_test_data, rint_towardzero_test_data,
14864 rint_downward_test_data and rint_upward_test_data. Add
14865 per-rounding-mode results for tests not in those arrays.
14866 (rint_test): Use ALL_RM_TEST.
14867 (rint_tonearest_test_data): Remove.
14868 (rint_test_tonearest): Likewise.
14869 (rint_towardzero_test_data): Likewise.
14870 (rint_test_towardzero): Likewise.
14871 (rint_downward_test_data): Likewise.
14872 (rint_test_downward): Likewise.
14873 (rint_upward_test_data): Likewise.
14874 (rint_test_upward): Likewise.
14875 (main): Don't call removed functions.
14876
14877 2014-03-14 Roland McGrath <roland@hack.frob.com>
14878
14879 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14880 "Compiled on ..." crapola. It is anti-useful.
14881
14882 2014-03-14 Joseph Myers <joseph@codesourcery.com>
14883
14884 * scripts/evaluate-test.sh: Handle fourth argument to determine
14885 whether test run should stop on failure.
14886 * Makeconfig (stop-on-test-failure): New variable.
14887 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14888 $(stop-on-test-failure).
14889 * Makefile (tests): Give a summary of results from testing and
14890 exit with failure status if they include an ERROR or FAIL.
14891 (xtests): Likewise.
14892 * manual/install.texi (Configuring and compiling): Mention
14893 stop-on-test-failure=y.
14894 * INSTALL: Regenerated.
14895
14896 2014-03-14 Roland McGrath <roland@hack.frob.com>
14897
14898 * scripts/versionlist.awk: New file.
14899 * Makerules [$(build-shared) = yes]
14900 (postclean-generated): Add Versions.def, not Versions.def.v and
14901 Versions.def.v.i.
14902 ($(common-objpfx)Versions.def.v.i): Target removed.
14903 ($(common-objpfx)Versions.def): New target.
14904 ($(common-objpfx)Versions.all): Depend on that rather that
14905 $(common-objpfx)Versions.def.v.
14906 * Versions.def: File removed.
14907
14908 * Makeconfig (+gccwarn): Add -Wundef.
14909 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14910 a dl-sysdep.h breaking its contract.
14911 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14912 * include/stackinfo.h: New file.
14913 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14914 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14915 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14916 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14917 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14918 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14919 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14920 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14921 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14922 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14923 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14924 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14925 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14926 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14927 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14928
14929 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14930
14931 [BZ #16707]
14932 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14933 implementation.
14934 * math/libm-test.inc (round_test_data): Add more tests.
14935
14936 [BZ #16706]
14937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14938 implementation.
14939 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14940
14941 [BZ #16701]
14942 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14943 implementation.
14944 * math/libm-test.inc (ceil_test_data): Add more tests.
14945
14946 * math/libm-test.inc (trunc_test_data): Add more tests related to
14947 BZ#16414.
14948
14949 2014-03-14 Roland McGrath <roland@hack.frob.com>
14950
14951 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14952 with #if rather than #ifdef.
14953 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14954
14955 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14956
14957 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14958 first. Disable AVX-512 GCC support if assembler doesn't support
14959 it.
14960 * sysdeps/x86_64/configure: Regenerated.
14961
14962 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14963
14964 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14965 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14966 (__old_pthread_attr_setstack): Likewise.
14967 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14968 [!_STACK_GROWS_DOWN]: Likewise.
14969
14970 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14971
14972 * config.make.in (have-bash2): Delete.
14973 * configure.ac (libc_cv_have_bash2): Delete.
14974 * configure: Regenerate.
14975 * elf/Makefile (common-ldd-rewrite): Rename to ...
14976 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14977 (sh-ldd-rewrite): Delete.
14978 (bash-ldd-rewrite): Delete.
14979 (have-bash2): Delete checks.
14980 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14981 ldd-rewrite.
14982
14983 * config.make.in (have-ksh): Delete.
14984 (KSH): Delete.
14985 * configure.ac (libc_cv_have_ksh): Delete.
14986 * configure: Regenerate.
14987
14988 * elf/Makefile: Delete $(have-ksh) check.
14989 ($(objpfx)sotruss): Change KSH to BASH.
14990 * elf/sotruss.ksh: Rename to ...
14991 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14992 function style to match POSIX. Drop ksh vim mode setting.
14993
14994 * manual/time.texi (Specifying the Time Zone with TZ): Change
14995 Tuesday to Thursday.
14996
14997 * debug/tst-longjmp_chk2.c: Update header comment.
14998 (stackoverflow_handler): Add comment. Call assert on pass value.
14999
15000 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15001
15002 [BZ #16194]
15003 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15004 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15005 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15006 (La_x86_64_vector): Add zmm.
15007 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15008 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15009 ($(objpfx)tst-audit10): New target.
15010 ($(objpfx)tst-audit10.out): Likewise.
15011 (tst-audit10-ENV): New.
15012 (AVX512-CFLAGS): Likewise.
15013 (CFLAGS-tst-audit10.c): Likewise.
15014 (CFLAGS-tst-auditmod10a.c): Likewise.
15015 (CFLAGS-tst-auditmod10b.c): Likewise.
15016 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15017 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15018 * sysdeps/x86_64/configure: Regenerated.
15019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15020 AVX-512 zmm register support.
15021 (_dl_x86_64_save_sse): Likewise.
15022 (_dl_x86_64_restore_sse): Likewise.
15023 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15024 size vector registers.
15025 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15026 (ZMM_SIZE): Likewise.
15027 * sysdeps/x86_64/tst-audit10.c: New file.
15028 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15029 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15030
15031 2014-03-13 Roland McGrath <roland@hack.frob.com>
15032
15033 * configure.ac (HAVE_EHDR_START): New check.
15034 * configure: Regenerated.
15035 * config.h.in (HAVE_EHDR_START): New #undef.
15036 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15037 assuming the lowest-addressed segment maps the start of the file.
15038
15039 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15040
15041 * INSTALL: Regenerated.
15042
15043 2014-03-13 Will Newton <will.newton@linaro.org>
15044
15045 * manual/setjmp.texi (System V contexts): Improve
15046 clarity and grammar of documentation.
15047
15048 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15049
15050 [BZ #16381]
15051 * elf/Makefile (tests): Add tst-pie2.
15052 (tests-pie): Add tst-pie2.
15053 * elf/tst-pie2.c: New file.
15054 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15055 for ET_EXEC.
15056 * elf/rtld.c (map_doit): Load executable as lt_executable.
15057 (dl_main): Likewise.
15058
15059 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15060
15061 [BZ #16642]
15062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15063 (__ASSUME_PSELECT): Undefine.
15064
15065 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15066
15067 [BZ #16689]
15068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15069 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15070 static build.
15071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15072 selector for static builds.
15073
15074 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15075
15076 [BZ #16695]
15077 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15078 key in the buffer.
15079
15080 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15081
15082 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15083 IFUNC selector for static builds.
15084
15085 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15086
15087 * sysdeps/mips/math_private.h [__mips_hard_float]
15088 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15089 libc_feresetround_mips_ctx.
15090 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15091 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15092 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15093
15094 [BZ #16677]
15095 * math/s_nextafter.c (__nextafter): Do not return value from
15096 overflowing computation.
15097 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15098 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15100 Likewise.
15101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15102 Likewise.
15103 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15104 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15105
15106 2014-03-11 Roland McGrath <roland@hack.frob.com>
15107
15108 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15109 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15110 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15111 the new mov targetting sp.
15112
15113 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114
15115 [BZ #16683]
15116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15117 Define it for static builds as well.
15118 (NO_BZERO_IMPL): Likewise.
15119
15120 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15121
15122 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15123 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15124 multiarch strspn for PPC64.
15125 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15126 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15128 (__libc_ifunc_impl_list): Likewise.
15129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15130 multiarch optimizations
15131 * string/strspn.c (strspn): Using macro to redefine symbol name.
15132
15133 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15134 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15135
15136 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15137 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15138 multiarch strncat for PPC64.
15139 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15140 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15142 (__libc_ifunc_impl_list): Likewise.
15143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15144 multiarch optimizations
15145
15146 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15147
15148 [BZ #16639]
15149 * nscd/nscd.service: Make service type forking.
15150
15151 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15152
15153 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15154 sign in non default rounding modes.
15155 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15156
15157 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15158
15159 * math/libm-test.inc (ALL_RM_TEST): New macro.
15160 (ceil_test): Use ALL_RM_TEST.
15161 (cimag_test): Likewise.
15162 (conj_test): Likewise.
15163 (copysign_test): Likewise.
15164 (cproj_test): Likewise.
15165 (creal_test): Likewise.
15166 (fabs_test): Likewise.
15167 (floor_test): Likewise.
15168 (fmax_test): Likewise.
15169 (fmin_test): Likewise.
15170 (fmod_test): Likewise.
15171 (fpclassify_test): Likewise.
15172 (frexp_test): Likewise.
15173 (ilogb_test): Likewise.
15174 (isfinite_test): Likewise.
15175 (finite_test): Likewise.
15176 (isgreater_test): Likewise.
15177 (isgreaterequal_test): Likewise.
15178 (isinf_test): Likewise.
15179 (isless_test): Likewise.
15180 (islessequal_test): Likewise.
15181 (islessgreater_test): Likewise.
15182 (isnan_test): Likewise.
15183 (isnormal_test): Likewise.
15184 (issignaling_test): Likewise.
15185 (isunordered_test): Likewise.
15186 (logb_test): Likewise.
15187 (logb_downward_test_data): Remove.
15188 (logb_test_downward): Likewise.
15189 (lround_test): Use ALL_RM_TEST.
15190 (llround_test): Likewise.
15191 (modf_test): Likewise.
15192 (nexttoward_test): Likewise.
15193 (remainder_test): Likewise.
15194 (drem_test): Likewise.
15195 (remainder_tonearest_test_data): Likewise.
15196 (remainder_test_tonearest): Likewise.
15197 (drem_test_tonearest): Likewise.
15198 (remainder_towardzero_test_data): Likewise.
15199 (remainder_test_towardzero): Likewise.
15200 (drem_test_towardzero): Likewise.
15201 (remainder_downward_test_data): Likewise.
15202 (remainder_test_downward): Likewise.
15203 (drem_test_downward): Likewise.
15204 (remainder_upward_test_data): Likewise.
15205 (remainder_test_upward): Likewise.
15206 (drem_test_upward): Likewise.
15207 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15208 (round_test): Use ALL_RM_TEST.
15209 (signbit_test): Likewise.
15210 (trunc_test): Likewise.
15211 (significand_test): Likewise.
15212 (main): Don't call removed functions.
15213
15214 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15215
15216 [BZ #16674]
15217 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15218 || __USE_XOPEN2K8].
15219 (ILL_ILLOPN): Likewise.
15220 (ILL_ILLADR): Likewise.
15221 (ILL_ILLTRP): Likewise.
15222 (ILL_PRVOPC): Likewise.
15223 (ILL_PRVREG): Likewise.
15224 (ILL_COPROC): Likewise.
15225 (ILL_BADSTK): Likewise.
15226 (FPE_INTDIV): Likewise.
15227 (FPE_INTOVF): Likewise.
15228 (FPE_FLTDIV): Likewise.
15229 (FPE_FLTOVF): Likewise.
15230 (FPE_FLTUND): Likewise.
15231 (FPE_FLTRES): Likewise.
15232 (FPE_FLTINV): Likewise.
15233 (FPE_FLTSUB): Likewise.
15234 (SEGV_MAPERR): Likewise.
15235 (SEGV_ACCERR): Likewise.
15236 (BUS_ADRALN): Likewise.
15237 (BUS_ADRERR): Likewise.
15238 (BUS_OBJERR): Likewise.
15239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15240 (TRAP_TRACE): Likewise.
15241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15242 __USE_XOPEN2K8].
15243 (CLD_KILLED): Likewise.
15244 (CLD_DUMPED): Likewise.
15245 (CLD_TRAPPED): Likewise.
15246 (CLD_STOPPED): Likewise.
15247 (CLD_CONTINUED): Likewise.
15248 (POLL_IN): Likewise.
15249 (POLL_OUT): Likewise.
15250 (POLL_MSG): Likewise.
15251 (POLL_ERR): Likewise.
15252 (POLL_PRI): Likewise.
15253 (POLL_HUP): Likewise.
15254 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15255 Likewise.
15256 (ILL_ILLOPN): Likewise.
15257 (ILL_ILLADR): Likewise.
15258 (ILL_ILLTRP): Likewise.
15259 (ILL_PRVOPC): Likewise.
15260 (ILL_PRVREG): Likewise.
15261 (ILL_COPROC): Likewise.
15262 (ILL_BADSTK): Likewise.
15263 (FPE_INTDIV): Likewise.
15264 (FPE_INTOVF): Likewise.
15265 (FPE_FLTDIV): Likewise.
15266 (FPE_FLTOVF): Likewise.
15267 (FPE_FLTUND): Likewise.
15268 (FPE_FLTRES): Likewise.
15269 (FPE_FLTINV): Likewise.
15270 (FPE_FLTSUB): Likewise.
15271 (SEGV_MAPERR): Likewise.
15272 (SEGV_ACCERR): Likewise.
15273 (BUS_ADRALN): Likewise.
15274 (BUS_ADRERR): Likewise.
15275 (BUS_OBJERR): Likewise.
15276 (BUS_MCEERR_AR): Likewise.
15277 (BUS_MCEERR_AO): Likewise.
15278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15279 (TRAP_TRACE): Likewise.
15280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15281 __USE_XOPEN2K8].
15282 (CLD_KILLED): Likewise.
15283 (CLD_DUMPED): Likewise.
15284 (CLD_TRAPPED): Likewise.
15285 (CLD_STOPPED): Likewise.
15286 (CLD_CONTINUED): Likewise.
15287 (POLL_IN): Likewise.
15288 (POLL_OUT): Likewise.
15289 (POLL_MSG): Likewise.
15290 (POLL_ERR): Likewise.
15291 (POLL_PRI): Likewise.
15292 (POLL_HUP): Likewise.
15293 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15294 (ILL_ILLOPN): Likewise.
15295 (ILL_ILLADR): Likewise.
15296 (ILL_ILLTRP): Likewise.
15297 (ILL_PRVOPC): Likewise.
15298 (ILL_PRVREG): Likewise.
15299 (ILL_COPROC): Likewise.
15300 (ILL_BADSTK): Likewise.
15301 (FPE_INTDIV): Likewise.
15302 (FPE_INTOVF): Likewise.
15303 (FPE_FLTDIV): Likewise.
15304 (FPE_FLTOVF): Likewise.
15305 (FPE_FLTUND): Likewise.
15306 (FPE_FLTRES): Likewise.
15307 (FPE_FLTINV): Likewise.
15308 (FPE_FLTSUB): Likewise.
15309 (SEGV_MAPERR): Likewise.
15310 (SEGV_ACCERR): Likewise.
15311 (BUS_ADRALN): Likewise.
15312 (BUS_ADRERR): Likewise.
15313 (BUS_OBJERR): Likewise.
15314 (BUS_MCEERR_AR): Likewise.
15315 (BUS_MCEERR_AO): Likewise.
15316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15317 (TRAP_TRACE): Likewise.
15318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15319 __USE_XOPEN2K8].
15320 (CLD_KILLED): Likewise.
15321 (CLD_DUMPED): Likewise.
15322 (CLD_TRAPPED): Likewise.
15323 (CLD_STOPPED): Likewise.
15324 (CLD_CONTINUED): Likewise.
15325 (POLL_IN): Likewise.
15326 (POLL_OUT): Likewise.
15327 (POLL_MSG): Likewise.
15328 (POLL_ERR): Likewise.
15329 (POLL_PRI): Likewise.
15330 (POLL_HUP): Likewise.
15331 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15332 Likewise.
15333 (ILL_ILLOPN): Likewise.
15334 (ILL_ILLADR): Likewise.
15335 (ILL_ILLTRP): Likewise.
15336 (ILL_PRVOPC): Likewise.
15337 (ILL_PRVREG): Likewise.
15338 (ILL_COPROC): Likewise.
15339 (ILL_BADSTK): Likewise.
15340 (ILL_BADIADDR): Likewise.
15341 (ILL_BREAK): Likewise.
15342 (FPE_INTDIV): Likewise.
15343 (FPE_INTOVF): Likewise.
15344 (FPE_FLTDIV): Likewise.
15345 (FPE_FLTOVF): Likewise.
15346 (FPE_FLTUND): Likewise.
15347 (FPE_FLTRES): Likewise.
15348 (FPE_FLTINV): Likewise.
15349 (FPE_FLTSUB): Likewise.
15350 (FPE_DECOVF): Likewise.
15351 (FPE_DECDIV): Likewise.
15352 (FPE_DECERR): Likewise.
15353 (FPE_INVASC): Likewise.
15354 (FPE_INVDEC): Likewise.
15355 (SEGV_MAPERR): Likewise.
15356 (SEGV_ACCERR): Likewise.
15357 (SEGV_PSTKOVF): Likewise.
15358 (BUS_ADRALN): Likewise.
15359 (BUS_ADRERR): Likewise.
15360 (BUS_OBJERR): Likewise.
15361 (BUS_MCEERR_AR): Likewise.
15362 (BUS_MCEERR_AO): Likewise.
15363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15364 (TRAP_TRACE): Likewise.
15365 (TRAP_BRANCH): Likewise.
15366 (TRAP_HWBKPT): Likewise.
15367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15368 __USE_XOPEN2K8].
15369 (CLD_KILLED): Likewise.
15370 (CLD_DUMPED): Likewise.
15371 (CLD_TRAPPED): Likewise.
15372 (CLD_STOPPED): Likewise.
15373 (CLD_CONTINUED): Likewise.
15374 (POLL_IN): Likewise.
15375 (POLL_OUT): Likewise.
15376 (POLL_MSG): Likewise.
15377 (POLL_ERR): Likewise.
15378 (POLL_PRI): Likewise.
15379 (POLL_HUP): Likewise.
15380 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15381 (ILL_ILLOPN): Likewise.
15382 (ILL_ILLADR): Likewise.
15383 (ILL_ILLTRP): Likewise.
15384 (ILL_PRVOPC): Likewise.
15385 (ILL_PRVREG): Likewise.
15386 (ILL_COPROC): Likewise.
15387 (ILL_BADSTK): Likewise.
15388 (FPE_INTDIV): Likewise.
15389 (FPE_INTOVF): Likewise.
15390 (FPE_FLTDIV): Likewise.
15391 (FPE_FLTOVF): Likewise.
15392 (FPE_FLTUND): Likewise.
15393 (FPE_FLTRES): Likewise.
15394 (FPE_FLTINV): Likewise.
15395 (FPE_FLTSUB): Likewise.
15396 (SEGV_MAPERR): Likewise.
15397 (SEGV_ACCERR): Likewise.
15398 (BUS_ADRALN): Likewise.
15399 (BUS_ADRERR): Likewise.
15400 (BUS_OBJERR): Likewise.
15401 (BUS_MCEERR_AR): Likewise.
15402 (BUS_MCEERR_AO): Likewise.
15403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15404 (TRAP_TRACE): Likewise.
15405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15406 __USE_XOPEN2K8].
15407 (CLD_KILLED): Likewise.
15408 (CLD_DUMPED): Likewise.
15409 (CLD_TRAPPED): Likewise.
15410 (CLD_STOPPED): Likewise.
15411 (CLD_CONTINUED): Likewise.
15412 (POLL_IN): Likewise.
15413 (POLL_OUT): Likewise.
15414 (POLL_MSG): Likewise.
15415 (POLL_ERR): Likewise.
15416 (POLL_PRI): Likewise.
15417 (POLL_HUP): Likewise.
15418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15419 (ILL_ILLOPN): Likewise.
15420 (ILL_ILLADR): Likewise.
15421 (ILL_ILLTRP): Likewise.
15422 (ILL_PRVOPC): Likewise.
15423 (ILL_PRVREG): Likewise.
15424 (ILL_COPROC): Likewise.
15425 (ILL_BADSTK): Likewise.
15426 (FPE_INTDIV): Likewise.
15427 (FPE_INTOVF): Likewise.
15428 (FPE_FLTDIV): Likewise.
15429 (FPE_FLTOVF): Likewise.
15430 (FPE_FLTUND): Likewise.
15431 (FPE_FLTRES): Likewise.
15432 (FPE_FLTINV): Likewise.
15433 (FPE_FLTSUB): Likewise.
15434 (SEGV_MAPERR): Likewise.
15435 (SEGV_ACCERR): Likewise.
15436 (BUS_ADRALN): Likewise.
15437 (BUS_ADRERR): Likewise.
15438 (BUS_OBJERR): Likewise.
15439 (BUS_MCEERR_AR): Likewise.
15440 (BUS_MCEERR_AO): Likewise.
15441 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15442 (TRAP_TRACE): Likewise.
15443 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15444 __USE_XOPEN2K8].
15445 (CLD_KILLED): Likewise.
15446 (CLD_DUMPED): Likewise.
15447 (CLD_TRAPPED): Likewise.
15448 (CLD_STOPPED): Likewise.
15449 (CLD_CONTINUED): Likewise.
15450 (POLL_IN): Likewise.
15451 (POLL_OUT): Likewise.
15452 (POLL_MSG): Likewise.
15453 (POLL_ERR): Likewise.
15454 (POLL_PRI): Likewise.
15455 (POLL_HUP): Likewise.
15456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15457 (ILL_ILLOPN): Likewise.
15458 (ILL_ILLADR): Likewise.
15459 (ILL_ILLTRP): Likewise.
15460 (ILL_PRVOPC): Likewise.
15461 (ILL_PRVREG): Likewise.
15462 (ILL_COPROC): Likewise.
15463 (ILL_BADSTK): Likewise.
15464 (FPE_INTDIV): Likewise.
15465 (FPE_INTOVF): Likewise.
15466 (FPE_FLTDIV): Likewise.
15467 (FPE_FLTOVF): Likewise.
15468 (FPE_FLTUND): Likewise.
15469 (FPE_FLTRES): Likewise.
15470 (FPE_FLTINV): Likewise.
15471 (FPE_FLTSUB): Likewise.
15472 (SEGV_MAPERR): Likewise.
15473 (SEGV_ACCERR): Likewise.
15474 (BUS_ADRALN): Likewise.
15475 (BUS_ADRERR): Likewise.
15476 (BUS_OBJERR): Likewise.
15477 (BUS_MCEERR_AR): Likewise.
15478 (BUS_MCEERR_AO): Likewise.
15479 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15480 (TRAP_TRACE): Likewise.
15481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15482 __USE_XOPEN2K8].
15483 (CLD_KILLED): Likewise.
15484 (CLD_DUMPED): Likewise.
15485 (CLD_TRAPPED): Likewise.
15486 (CLD_STOPPED): Likewise.
15487 (CLD_CONTINUED): Likewise.
15488 (POLL_IN): Likewise.
15489 (POLL_OUT): Likewise.
15490 (POLL_MSG): Likewise.
15491 (POLL_ERR): Likewise.
15492 (POLL_PRI): Likewise.
15493 (POLL_HUP): Likewise.
15494 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15495 (ILL_ILLOPN): Likewise.
15496 (ILL_ILLADR): Likewise.
15497 (ILL_ILLTRP): Likewise.
15498 (ILL_PRVOPC): Likewise.
15499 (ILL_PRVREG): Likewise.
15500 (ILL_COPROC): Likewise.
15501 (ILL_BADSTK): Likewise.
15502 (ILL_DBLFLT): Likewise.
15503 (ILL_HARDWALL): Likewise.
15504 (FPE_INTDIV): Likewise.
15505 (FPE_INTOVF): Likewise.
15506 (FPE_FLTDIV): Likewise.
15507 (FPE_FLTOVF): Likewise.
15508 (FPE_FLTUND): Likewise.
15509 (FPE_FLTRES): Likewise.
15510 (FPE_FLTINV): Likewise.
15511 (FPE_FLTSUB): Likewise.
15512 (SEGV_MAPERR): Likewise.
15513 (SEGV_ACCERR): Likewise.
15514 (BUS_ADRALN): Likewise.
15515 (BUS_ADRERR): Likewise.
15516 (BUS_OBJERR): Likewise.
15517 (BUS_MCEERR_AR): Likewise.
15518 (BUS_MCEERR_AO): Likewise.
15519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15520 (TRAP_TRACE): Likewise.
15521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15522 __USE_XOPEN2K8].
15523 (CLD_KILLED): Likewise.
15524 (CLD_DUMPED): Likewise.
15525 (CLD_TRAPPED): Likewise.
15526 (CLD_STOPPED): Likewise.
15527 (CLD_CONTINUED): Likewise.
15528 (POLL_IN): Likewise.
15529 (POLL_OUT): Likewise.
15530 (POLL_MSG): Likewise.
15531 (POLL_ERR): Likewise.
15532 (POLL_PRI): Likewise.
15533 (POLL_HUP): Likewise.
15534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15535 (ILL_ILLOPN): Likewise.
15536 (ILL_ILLADR): Likewise.
15537 (ILL_ILLTRP): Likewise.
15538 (ILL_PRVOPC): Likewise.
15539 (ILL_PRVREG): Likewise.
15540 (ILL_COPROC): Likewise.
15541 (ILL_BADSTK): Likewise.
15542 (FPE_INTDIV): Likewise.
15543 (FPE_INTOVF): Likewise.
15544 (FPE_FLTDIV): Likewise.
15545 (FPE_FLTOVF): Likewise.
15546 (FPE_FLTUND): Likewise.
15547 (FPE_FLTRES): Likewise.
15548 (FPE_FLTINV): Likewise.
15549 (FPE_FLTSUB): Likewise.
15550 (SEGV_MAPERR): Likewise.
15551 (SEGV_ACCERR): Likewise.
15552 (BUS_ADRALN): Likewise.
15553 (BUS_ADRERR): Likewise.
15554 (BUS_OBJERR): Likewise.
15555 (BUS_MCEERR_AR): Likewise.
15556 (BUS_MCEERR_AO): Likewise.
15557 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15558 (TRAP_TRACE): Likewise.
15559 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15560 __USE_XOPEN2K8].
15561 (CLD_KILLED): Likewise.
15562 (CLD_DUMPED): Likewise.
15563 (CLD_TRAPPED): Likewise.
15564 (CLD_STOPPED): Likewise.
15565 (CLD_CONTINUED): Likewise.
15566 (POLL_IN): Likewise.
15567 (POLL_OUT): Likewise.
15568 (POLL_MSG): Likewise.
15569 (POLL_ERR): Likewise.
15570 (POLL_PRI): Likewise.
15571 (POLL_HUP): Likewise.
15572 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15573 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15574
15575 [BZ #16670]
15576 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15577 before #include of <time.h>.
15578 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15579 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15580 (test-xfail-UNIX98/sched.h/conform): Likewise.
15581
15582 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15583
15584 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15585 error absence of trapping exception support.
15586 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15587
15588 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15589
15590 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15591 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15592 * timezone/Makefile (testdata): Move definition above include of
15593 Rules.
15594 (test-zones): New variable.
15595 (tests-special): Add zone files.
15596 (build-testdata): Use $(evaluate-test).
15597
15598 * elf/Makefile (tests-special): Rename tests to end with .out.
15599 ($(objpfx)noload-mem): Likewise.
15600 ($(objpfx)tst-leaks1-mem): Likewise.
15601 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15602 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15603 $(objpfx)test-iconvconfig.out.
15604 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15605 set -e inside subshell and redirect output to file.
15606 * iconvdata/Makefile (generated): Rename tests to end with .out.
15607 Correct type.
15608 (tests-special): Rename tests to end with .out.
15609 ($(objpfx)mtrace-tst-loading): Likewise.
15610 * intl/Makefile (generated): Likewise.
15611 (tests-special): Likewise.
15612 ($(objpfx)mtrace-tst-gettext): Likewise.
15613 * misc/Makefile (generated): Likewise.
15614 (tests-special): Likewise.
15615 ($(objpfx)tst-error1-mem): Likewise.
15616 * nptl/Makefile (tests-special): Likewise.
15617 ($(objpfx)tst-stack3-mem): Likewise.
15618 (generated): Likewise.
15619 * posix/Makefile (generated): Likewise.
15620 (tests-special): Likewise.
15621 (xtests-special): Likewise.
15622 ($(objpfx)tst-fnmatch-mem): Likewise.
15623 ($(objpfx)bug-regex2-mem): Likewise.
15624 ($(objpfx)bug-regex14-mem): Likewise.
15625 ($(objpfx)bug-regex21-mem): Likewise.
15626 ($(objpfx)bug-regex31-mem): Likewise.
15627 ($(objpfx)tst-vfork3-mem): Likewise.
15628 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15629 ($(objpfx)tst-pcre-mem): Likewise.
15630 ($(objpfx)tst-boost-mem): Likewise.
15631 ($(objpfx)bug-ga2-mem): Likewise.
15632 ($(objpfx)bug-glob2-mem): Likewise.
15633 * resolv/Makefile (generate): Likewise.
15634 (tests-special): Likewise.
15635 (xtests-special): Likewise.
15636 (generated): Likewise.
15637 ($(objpfx)mtrace-tst-leaks): Likewise.
15638 ($(objpfx)mtrace-tst-leaks2): Likewise.
15639
15640 * scripts/merge-test-results.sh: New file.
15641 * Makefile (tests-special-notdir): New variable.
15642 (tests): Run merge-test-results.sh.
15643 (xtests): Likewise.
15644 * Rules (tests-special-notdir): New variable.
15645 (xtests-special-notdir): Likewise.
15646 (tests): Run merge-test-results.sh
15647 (xtests): Likewise.
15648
15649 * Makeconfig (test-xfail-name): New variable.
15650 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15651 compute variable name for expected failures.
15652 * conform/Makefile (conformtest-headers-data): New variable.
15653 (conformtest-standards): Likewise.
15654 (conformtest-headers-ISO): Likewise.
15655 (conformtest-headers-ISO99): Likewise.
15656 (conformtest-headers-ISO11): Likewise.
15657 (conformtest-headers-POSIX): Likewise.
15658 (conformtest-headers-XPG3): Likewise.
15659 (conformtest-headers-XPG4): Likewise.
15660 (conformtest-headers-UNIX98): Likewise.
15661 (conformtest-headers-XOPEN2K): Likewise.
15662 (conformtest-headers-POSIX2008): Likewise.
15663 (conformtest-headers-XOPEN2K8): Likewise.
15664 (conformtest-header-list-base): Likewise.
15665 (conformtest-header-list-tests): Likewise.
15666 (conformtest-header-base): Likewise.
15667 (conformtest-header-tests): Likewise.
15668 (tests-special): Add $(conformtest-header-list-tests). If
15669 [$(fast-check) && !$(cross-compiling)], add
15670 $(conformtest-header-tests) instead of
15671 $(objpfx)run-conformtest.out.
15672 (generated): Add $(conformtest-header-list-base). If
15673 [$(fast-check) && !$(cross-compiling)], add
15674 $(conformtest-header-base). Remove previous setting.
15675 ($(conformtest-header-list-tests)): New target.
15676 (test-xfail-run-conformtest): Remove variable.
15677 ($(objpfx)run-conformtest.out): Remove target.
15678 (test-xfail-ISO11/complex.h/conform): New variable.
15679 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15680 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15681 (test-xfail-XPG3/varargs.h/conform): Likewise.
15682 (test-xfail-XPG4/varargs.h/conform): Likewise.
15683 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15684 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15685 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15686 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15687 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15688 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15689 (test-xfail-XPG3/ftw.h/conform): Likewise.
15690 (test-xfail-XPG3/grp.h/conform): Likewise.
15691 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15692 (test-xfail-XPG3/limits.h/conform): Likewise.
15693 (test-xfail-XPG3/pwd.h/conform): Likewise.
15694 (test-xfail-XPG3/search.h/conform): Likewise.
15695 (test-xfail-XPG3/signal.h/conform): Likewise.
15696 (test-xfail-XPG3/stdio.h/conform): Likewise.
15697 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15698 (test-xfail-XPG3/string.h/conform): Likewise.
15699 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15700 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15701 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15702 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15703 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15704 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15705 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15706 (test-xfail-XPG3/termios.h/conform): Likewise.
15707 (test-xfail-XPG3/time.h/conform): Likewise.
15708 (test-xfail-XPG3/unistd.h/conform): Likewise.
15709 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15710 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15711 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15712 (test-xfail-XPG4/netdb.h/conform): Likewise.
15713 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15714 (test-xfail-XPG4/signal.h/conform): Likewise.
15715 (test-xfail-XPG4/stdio.h/conform): Likewise.
15716 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15717 (test-xfail-XPG4/stropts.h/conform): Likewise.
15718 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15719 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15720 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15721 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15722 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15723 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15724 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15725 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15726 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15727 (test-xfail-XPG4/termios.h/conform): Likewise.
15728 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15729 (test-xfail-XPG4/unistd.h/conform): Likewise.
15730 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15731 (test-xfail-POSIX/sched.h/conform): Likewise.
15732 (test-xfail-POSIX/signal.h/conform): Likewise.
15733 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15734 (test-xfail-POSIX/tar.h/conform): Likewise.
15735 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15736 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15737 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15738 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15739 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15740 (test-xfail-UNIX98/sched.h/conform): Likewise.
15741 (test-xfail-UNIX98/signal.h/conform): Likewise.
15742 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15743 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15744 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15745 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15746 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15747 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15748 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15749 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15750 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15751 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15752 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15753 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15754 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15755 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15756 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15757 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15758 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15759 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15760 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15761 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15762 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15763 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15764 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15765 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15766 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15767 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15768 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15769 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15770 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15771 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15772 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15773 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15774 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15775 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15776 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15777 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15778 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15779 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15780 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15781 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15782 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15783 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15784 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15785 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15786 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15787 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15788 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15789 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15790 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15791 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15792 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15793 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15794 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15795 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15796 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15797 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15798 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15799 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15800 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15801 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15802 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15803 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15804 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15805 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15806 (conformtest-cc-flags): Likewise.
15807 ($(conformtest-header-tests): New target.
15808 * conform/check-header-lists.sh: New file.
15809 * conform/run-conformtest.sh: Remove.
15810
15811 * conform/conformtest.pl: Allow ' and \ in values given for
15812 constants.
15813 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15814 inclusion.
15815 [POSIX] (sys/types.h): Likewise.
15816 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15817 inclusion.
15818 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15819 inclusion.
15820 * conform/data/signal.h-data (SIGIO): Remove expectation.
15821 [XPG3] (SIGBUS): Do not expect.
15822 [POSIX || XPG3] (SIGPOLL): Likewise.
15823 [POSIX || XPG3] (SIGPROF): Likewise.
15824 [POSIX || XPG3] (SIGSYS): Likewise.
15825 [XPG3] (SIGTRAP): Likewise.
15826 [POSIX || XPG3] (SIGURG): Likewise.
15827 [POSIX || XPG3] (SIGVTALRM): Likewise.
15828 [POSIX || XPG3] (SIGXCPU): Likewise.
15829 [POSIX || XPG3] (SIGXFSZ): Likewise.
15830 [POSIX] (SA_SIGINFO): Expect.
15831 [XPG3] (siginfo_t): Do not expect type or contents.
15832 [POSIX] (si_pid): Do not expect element.
15833 [POSIX] (si_uid): Likewise.
15834 [POSIX] (si_addr): Likewise.
15835 [POSIX] (si_status): Likewise.
15836 [POSIX] (si_band): Likewise.
15837 [XPG4] (si_value): Likewise.
15838 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15839 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15840 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15841 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15842 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15843 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15844 [POSIX || XPG3] (ILL_COPROC): Likewise.
15845 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15846 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15847 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15848 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15849 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15850 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15851 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15852 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15853 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15854 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15855 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15856 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15857 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15858 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15859 [POSIX || XPG3] (CLD_EXITED): Likewise.
15860 [POSIX || XPG3] (CLD_KILLED): Likewise.
15861 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15862 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15863 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15864 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15865 [POSIX || XPG3] (POLL_IN): Likewise.
15866 [POSIX || XPG3] (POLL_OUT): Likewise.
15867 [POSIX || XPG3] (POLL_MSG): Likewise.
15868 [POSIX || XPG3] (POLL_ERR): Likewise.
15869 [POSIX || XPG3] (POLL_PRI): Likewise.
15870 [POSIX || XPG3] (POLL_HUP): Likewise.
15871 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15872 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15873 (SIG*): Do not allow.
15874 [XPG3] (si_*): Likewise.
15875 [XPG3] (SI_*): Likewise.
15876 [XPG3 || XPG4] (sigev_*): Likewise.
15877 [XPG3 || XPG4] (SIGEV_*): Likewise.
15878 [XPG3 || XPG4] (sival_*): Likewise.
15879 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15880 [POSIX || XPG3] (BUS_*): Likewise.
15881 [POSIX || XPG3] (CLD_*): Likewise.
15882 [POSIX || XPG3] (FPE_*): Likewise.
15883 [POSIX || XPG3] (ILL_*): Likewise.
15884 [POSIX || XPG3] (POLL_*): Likewise.
15885 [POSIX || XPG3] (SEGV_*): Likewise.
15886 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15887 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15888 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15889 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15890 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15891 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15892 Specify type and value.
15893 (TVERSLEN): Likewise.
15894 (REGTYPE): Likewise.
15895 (AREGTYPE): Likewise.
15896 (LNKTYPE): Likewise.
15897 (SYMTYPE): Likewise.
15898 (CHRTYPE): Likewise.
15899 (BLKTYPE): Likewise.
15900 (DIRTYPE): Likewise.
15901 (FIFOTYPE): Likewise.
15902 (CONTTYPE): Likewise.
15903 (TSUID): Likewise.
15904 (TSGID): Likewise.
15905 (TSVTX): Likewise.
15906 (TUREAD): Likewise.
15907 (TUWRITE): Likewise.
15908 (TUEXEC): Likewise.
15909 (TGREAD): Likewise.
15910 (TGWRITE): Likewise.
15911 (TGEXEC): Likewise.
15912 (TOREAD): Likewise.
15913 (TOWRITE): Likewise.
15914 (TOEXEC): Likewise.
15915 [POSIX] (TSVTX): Expect constant.
15916
15917 2014-03-06 Joseph Myers <joseph@codesourcery.com>
15918
15919 * Makefile (tests): Change dependencies to ....
15920 (tests-special): ... additions to this variable.
15921 (tests): Depend on $(tests-special).
15922 * Makerules (check-abi-list): New variable.
15923 (check-abi): Depend on $(check-abi-list).
15924 [$(subdir) = elf] (tests-special): Add
15925 $(objpfx)check-abi-libc.out.
15926 [$(build-shared) = yes && subdir] (tests-special): Add
15927 $(check-abi-list).
15928 [$(build-shared) = yes && subdir] (tests): Do not depend on
15929 check-abi.
15930 * Rules (tests): Depend on $(tests-special).
15931 (xtests): Depend on $(xtests-special).
15932 * catgets/Makefile (tests): Change dependencies to ....
15933 (tests-special): ... additions to this variable.
15934 * conform/Makefile (tests): Change dependencies to ....
15935 (tests-special): ... additions to this variable.
15936 * elf/Makefile (tests): Change dependencies to ....
15937 (tests-special): ... additions to this variable.
15938 * grp/Makefile (tests): Change dependencies to ....
15939 (tests-special): ... additions to this variable.
15940 * iconv/Makefile (xtests): Change dependencies to ....
15941 (xtests-special): ... additions to this variable.
15942 * iconvdata/Makefile (tests): Change dependencies to ....
15943 (tests-special): ... additions to this variable.
15944 * intl/Makefile (tests): Change dependencies to ....
15945 (tests-special): ... additions to this variable. Also add
15946 $(objpfx)tst-gettext.out.
15947 * io/Makefile (tests): Change dependencies to ....
15948 (tests-special): ... additions to this variable.
15949 * libio/Makefile (tests): Change dependencies to ....
15950 (tests-special): ... additions to this variable.
15951 * malloc/Makefile (tests): Change dependencies to ....
15952 (tests-special): ... additions to this variable.
15953 * misc/Makefile (tests): Change dependencies to ....
15954 (tests-special): ... additions to this variable.
15955 * nptl/Makefile (tests): Change dependencies to ....
15956 (tests-special): ... additions to this variable.
15957 * nptl_db/Makefile (tests): Change dependencies to ....
15958 (tests-special): ... additions to this variable.
15959 * posix/Makefile (tests): Change dependencies to ....
15960 (tests-special): ... additions to this variable.
15961 (xtests): Change dependencies to ....
15962 (xtests-special): ... additions to this variable.
15963 * resolv/Makefile (tests): Change dependencies to ....
15964 (tests-special): ... additions to this variable.
15965 (xtests): Change dependencies to ....
15966 (xtests-special): ... additions to this variable.
15967 * stdio-common/Makefile (tests): Change dependencies to ....
15968 (tests-special): ... additions to this variable.
15969 (do-tst-unbputc): Remove target.
15970 (do-tst-printf): Likewise.
15971 * stdlib/Makefile (tests): Change dependencies to ....
15972 (tests-special): ... additions to this variable.
15973 * string/Makefile (tests): Change dependencies to ....
15974 (tests-special): ... additions to this variable.
15975 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15976 (tests-special): ... additions to this variable.
15977
15978 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15979 whole file.
15980 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15981 whole file.
15982 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15983 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15984
15985 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15986 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15987 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15988 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15989 * conform/data/libgen.h-data [XPG3]: Likewise.
15990 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15991 * conform/data/ndbm.h-data [XPG3]: Likewise.
15992 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15993 * conform/data/netdb.h-data [XPG3]: Likewise.
15994 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15995 * conform/data/poll.h-data [XPG3]: Likewise.
15996 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15997 * conform/data/strings.h-data [XPG3]: Likewise.
15998 * conform/data/stropts.h-data [XPG3]: Likewise.
15999 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16000 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16001 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16002 Likewise.
16003 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16004 * conform/data/sys/time.h-data [XPG3]: Likewise.
16005 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16006 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16007 * conform/data/sys/un.h-data [XPG3]: Likewise.
16008 * conform/data/syslog.h-data [XPG3]: Likewise.
16009 * conform/data/ucontext.h-data [XPG3]: Likewise.
16010 * conform/data/utmpx.h-data [XPG3]: Likewise.
16011 * conform/data/varargs.h-data [UNIX98]: Enable file.
16012
16013 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16014
16015 * math/libm-test.inc (struct test_f_f_data): Move expected results
16016 into structure for each rounding mode.
16017 (struct test_ff_f_data): Likewise.
16018 (struct test_ff_f_data_nexttoward): Likewise.
16019 (struct test_fi_f_data): Likewise.
16020 (struct test_fl_f_data): Likewise.
16021 (struct test_if_f_data): Likewise.
16022 (struct test_fff_f_data): Likewise.
16023 (struct test_c_f_data): Likewise.
16024 (struct test_f_f1_data): Likewise.
16025 (struct test_fF_f1_data): Likewise.
16026 (struct test_ffI_f1_data): Likewise.
16027 (struct test_c_c_data): Likewise.
16028 (struct test_cc_c_data): Likewise.
16029 (struct test_f_i_data): Likewise.
16030 (struct test_ff_i_data): Likewise.
16031 (struct test_f_l_data): Likewise.
16032 (struct test_f_L_data): Likewise.
16033 (struct test_fFF_11_data): Likewise.
16034 (RM_): New macro.
16035 (RM_FE_DOWNWARD): Likewise.
16036 (RM_FE_TONEAREST): Likewise.
16037 (RM_FE_TOWARDZERO): Likewise.
16038 (RM_FE_UPWARD): Likewise.
16039 (RUN_TEST_LOOP_f_f): Update references to expected results.
16040 (RUN_TEST_LOOP_2_f): Likewise.
16041 (RUN_TEST_LOOP_fff_f): Likewise.
16042 (RUN_TEST_LOOP_c_f): Likewise.
16043 (RUN_TEST_LOOP_f_f1): Likewise.
16044 (RUN_TEST_LOOP_fF_f1): Likewise.
16045 (RUN_TEST_LOOP_fI_f1): Likewise.
16046 (RUN_TEST_LOOP_ffI_f1): Likewise.
16047 (RUN_TEST_LOOP_c_c): Likewise.
16048 (RUN_TEST_LOOP_cc_c): Likewise.
16049 (RUN_TEST_LOOP_f_i): Likewise.
16050 (RUN_TEST_LOOP_f_i_tg): Likewise.
16051 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16052 (RUN_TEST_LOOP_f_b): Likewise.
16053 (RUN_TEST_LOOP_f_b_tg): Likewise.
16054 (RUN_TEST_LOOP_f_l): Likewise.
16055 (RUN_TEST_LOOP_f_L): Likewise.
16056 (RUN_TEST_LOOP_fFF_11): Likewise.
16057 * math/gen-libm-test.pl (parse_args): Output four copies of
16058 expected results for each test.
16059
16060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16061 (__ASSUME_UTIMES): Remove.
16062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16063 (__ASSUME_UTIMES): Likewise.
16064
16065 * math/gen-auto-libm-tests.c: Update comment on output format.
16066 (output_for_one_input_case): Generate before-rounding and
16067 after-rounding information as conditions on output flags not
16068 floating-point format.
16069 * math/auto-libm-test-out: Regenerated.
16070 * math/gen-libm-test.pl (cond_value): New function.
16071 (or_cond_value): Use cond_value.
16072 (generate_testfile): Handle conditional exceptions.
16073
16074 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16075
16076 * math/libm-test.inc (max_valid_error): New variable.
16077 (init_max_error): Take new argument specifying whether function
16078 results are exactly determined. Set max_valid_error and bound
16079 other variables for errors based on this argument.
16080 (set_max_error): Do not record results above max_valid_error.
16081 (check_float_internal): Only accept errors of up to 0.5ulps if
16082 also at most max_valid_error.
16083 (START): Take new argument EXACT and pass it to init_max_error.
16084 (acos_test): Update call to START.
16085 (acos_test_tonearest): Likewise.
16086 (acos_test_towardzero): Likewise.
16087 (acos_test_downward): Likewise.
16088 (acos_test_upward): Likewise.
16089 (acosh_test): Likewise.
16090 (asin_test): Likewise.
16091 (asin_test_tonearest): Likewise.
16092 (asin_test_towardzero): Likewise.
16093 (asin_test_downward): Likewise.
16094 (asin_test_upward): Likewise.
16095 (asinh_test): Likewise.
16096 (atan_test): Likewise.
16097 (atanh_test): Likewise.
16098 (atan2_test): Likewise.
16099 (cabs_test): Likewise.
16100 (cacos_test): Likewise.
16101 (cacosh_test): Likewise.
16102 (carg_test): Likewise.
16103 (casin_test): Likewise.
16104 (casinh_test): Likewise.
16105 (catan_test): Likewise.
16106 (catanh_test): Likewise.
16107 (cbrt_test): Likewise.
16108 (ccos_test): Likewise.
16109 (ccosh_test): Likewise.
16110 (ceil_test): Likewise.
16111 (cexp_test): Likewise.
16112 (cimag_test): Likewise.
16113 (clog_test): Likewise.
16114 (clog10_test): Likewise.
16115 (conj_test): Likewise.
16116 (copysign_test): Likewise.
16117 (cos_test): Likewise.
16118 (cos_test_tonearest): Likewise.
16119 (cos_test_towardzero): Likewise.
16120 (cos_test_downward): Likewise.
16121 (cos_test_upward): Likewise.
16122 (cosh_test): Likewise.
16123 (cosh_test_tonearest): Likewise.
16124 (cosh_test_towardzero): Likewise.
16125 (cosh_test_downward): Likewise.
16126 (cosh_test_upward): Likewise.
16127 (cpow_test): Likewise.
16128 (cproj_test): Likewise.
16129 (creal_test): Likewise.
16130 (csin_test): Likewise.
16131 (csinh_test): Likewise.
16132 (csqrt_test): Likewise.
16133 (ctan_test): Likewise.
16134 (ctan_test_tonearest): Likewise.
16135 (ctan_test_towardzero): Likewise.
16136 (ctan_test_downward): Likewise.
16137 (ctan_test_upward): Likewise.
16138 (ctanh_test): Likewise.
16139 (ctanh_test_tonearest): Likewise.
16140 (ctanh_test_towardzero): Likewise.
16141 (ctanh_test_downward): Likewise.
16142 (ctanh_test_upward): Likewise.
16143 (erf_test): Likewise.
16144 (erfc_test): Likewise.
16145 (exp_test): Likewise.
16146 (exp_test_tonearest): Likewise.
16147 (exp_test_towardzero): Likewise.
16148 (exp_test_downward): Likewise.
16149 (exp_test_upward): Likewise.
16150 (exp10_test): Likewise.
16151 (exp10_test_tonearest): Likewise.
16152 (exp10_test_towardzero): Likewise.
16153 (exp10_test_downward): Likewise.
16154 (exp10_test_upward): Likewise.
16155 (pow10_test): Likewise.
16156 (exp2_test): Likewise.
16157 (expm1_test): Likewise.
16158 (expm1_test_tonearest): Likewise.
16159 (expm1_test_towardzero): Likewise.
16160 (expm1_test_downward): Likewise.
16161 (expm1_test_upward): Likewise.
16162 (fabs_test): Likewise.
16163 (fdim_test): Likewise.
16164 (floor_test): Likewise.
16165 (fma_test): Likewise.
16166 (fma_test_towardzero): Likewise.
16167 (fma_test_downward): Likewise.
16168 (fma_test_upward): Likewise.
16169 (fmax_test): Likewise.
16170 (fmin_test): Likewise.
16171 (fmod_test): Likewise.
16172 (fpclassify_test): Likewise.
16173 (frexp_test): Likewise.
16174 (hypot_test): Likewise.
16175 (ilogb_test): Likewise.
16176 (isfinite_test): Likewise.
16177 (finite_test): Likewise.
16178 (isgreater_test): Likewise.
16179 (isgreaterequal_test): Likewise.
16180 (isinf_test): Likewise.
16181 (isless_test): Likewise.
16182 (islessequal_test): Likewise.
16183 (islessgreater_test): Likewise.
16184 (isnan_test): Likewise.
16185 (isnormal_test): Likewise.
16186 (issignaling_test): Likewise.
16187 (isunordered_test): Likewise.
16188 (j0_test): Likewise.
16189 (j1_test): Likewise.
16190 (jn_test): Likewise.
16191 (ldexp_test): Likewise.
16192 (lgamma_test): Likewise.
16193 (gamma_test): Likewise.
16194 (lrint_test): Likewise.
16195 (lrint_test_tonearest): Likewise.
16196 (lrint_test_towardzero): Likewise.
16197 (lrint_test_downward): Likewise.
16198 (lrint_test_upward): Likewise.
16199 (llrint_test): Likewise.
16200 (llrint_test_tonearest): Likewise.
16201 (llrint_test_towardzero): Likewise.
16202 (llrint_test_downward): Likewise.
16203 (llrint_test_upward): Likewise.
16204 (log_test): Likewise.
16205 (log10_test): Likewise.
16206 (log1p_test): Likewise.
16207 (log2_test): Likewise.
16208 (logb_test): Likewise.
16209 (logb_test_downward): Likewise.
16210 (lround_test): Likewise.
16211 (llround_test): Likewise.
16212 (modf_test): Likewise.
16213 (nearbyint_test): Likewise.
16214 (nextafter_test): Likewise.
16215 (nexttoward_test): Likewise.
16216 (pow_test): Likewise.
16217 (pow_test_tonearest): Likewise.
16218 (pow_test_towardzero): Likewise.
16219 (pow_test_downward): Likewise.
16220 (pow_test_upward): Likewise.
16221 (remainder_test): Likewise.
16222 (drem_test): Likewise.
16223 (remainder_test_tonearest): Likewise.
16224 (drem_test_tonearest): Likewise.
16225 (remainder_test_towardzero): Likewise.
16226 (drem_test_towardzero): Likewise.
16227 (remainder_test_downward): Likewise.
16228 (drem_test_downward): Likewise.
16229 (remainder_test_upward): Likewise.
16230 (drem_test_upward): Likewise.
16231 (remquo_test): Likewise.
16232 (rint_test): Likewise.
16233 (rint_test_tonearest): Likewise.
16234 (rint_test_towardzero): Likewise.
16235 (rint_test_downward): Likewise.
16236 (rint_test_upward): Likewise.
16237 (round_test): Likewise.
16238 (scalb_test): Likewise.
16239 (scalbn_test): Likewise.
16240 (scalbln_test): Likewise.
16241 (signbit_test): Likewise.
16242 (sin_test): Likewise.
16243 (sin_test_tonearest): Likewise.
16244 (sin_test_towardzero): Likewise.
16245 (sin_test_downward): Likewise.
16246 (sin_test_upward): Likewise.
16247 (sincos_test): Likewise.
16248 (sinh_test): Likewise.
16249 (sinh_test_tonearest): Likewise.
16250 (sinh_test_towardzero): Likewise.
16251 (sinh_test_downward): Likewise.
16252 (sinh_test_upward): Likewise.
16253 (sqrt_test): Likewise.
16254 (sqrt_test_tonearest): Likewise.
16255 (sqrt_test_towardzero): Likewise.
16256 (sqrt_test_downward): Likewise.
16257 (sqrt_test_upward): Likewise.
16258 (tan_test): Likewise.
16259 (tan_test_tonearest): Likewise.
16260 (tan_test_towardzero): Likewise.
16261 (tan_test_downward): Likewise.
16262 (tan_test_upward): Likewise.
16263 (tanh_test): Likewise.
16264 (tgamma_test): Likewise.
16265 (trunc_test): Likewise.
16266 (y0_test): Likewise.
16267 (y1_test): Likewise.
16268 (yn_test): Likewise.
16269 (significand_test): Likewise.
16270
16271 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16272 individual tests in comment.
16273 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16274 (prev_max_error): New variable.
16275 (prev_real_max_error): Likewise.
16276 (prev_imag_max_error): Likewise.
16277 (compare_ulp_data): Don't refer to test names in comment.
16278 (find_test_ulps): Remove function.
16279 (find_function_ulps): Likewise.
16280 (find_complex_function_ulps): Likewise.
16281 (init_max_error): Take function name as argument. Look up ulps
16282 for that function.
16283 (print_ulps): Remove function.
16284 (print_max_error): Use prev_max_error instead of calling
16285 find_function_ulps.
16286 (print_complex_max_error): Use prev_real_max_error and
16287 prev_imag_max_error instead of calling find_complex_function_ulps.
16288 (check_float_internal): Take max_ulp parameter instead of calling
16289 find_test_ulps. Don't call print_ulps.
16290 (check_float): Update call to check_float_internal.
16291 (check_complex): Update calls to check_float_internal.
16292 (START): Pass argument to init_max_error.
16293 * math/gen-libm-test.pl (%results): Don't include "kind"
16294 information.
16295 (parse_ulps): Don't handle ulps of individual tests.
16296 (print_ulps_file): Likewise.
16297 (output_ulps): Likewise.
16298 * math/README.libm-test: Update.
16299 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16300 individual tests.
16301 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16302 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16303 * sysdeps/arm/libm-test-ulps: Likewise.
16304 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16305 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16306 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16307 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16308 * sysdeps/microblaze/libm-test-ulps: Likewise.
16309 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16310 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16312 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16313 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16314 * sysdeps/sh/libm-test-ulps: Likewise.
16315 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16316 * sysdeps/tile/libm-test-ulps: Likewise.
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16318
16319 2014-03-04 Joseph Myers <joseph@codesourcery.com>
16320
16321 * math/libm-test.inc (print_complex_max_error): Check separately
16322 whether real and imaginary errors are within allowed range and
16323 pass 0 to print_complex_function_ulps instead of value within
16324 allowed range.
16325
16326 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16327
16328 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16329 formatting.
16330 (get_handles_fopen): Likewise.
16331 (do_write_test): Likewise.
16332
16333 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16334
16335 * libio/fileops.c (do_ftell): Use cached offset when
16336 available.
16337 * libio/iofwide.c (do_ftell_wide): Likewise.
16338 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16339 _IO_file_attach.
16340 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16341
16342 [BZ #16532]
16343 * libio/libioP.h (get_file_offset): New function.
16344 * libio/fileops.c (get_file_offset): Likewise.
16345 (do_ftell): Likewise.
16346 (_IO_new_file_seekoff): Split out ftell logic.
16347 * libio/wfileops.c (do_ftell_wide): Likewise.
16348 (_IO_wfile_seekoff): Split out ftell logic.
16349 * libio/tst-ftell-active-handler.c: New test case.
16350 * libio/Makefile (tests): Add it.
16351
16352 2014-03-03 Roland McGrath <roland@hack.frob.com>
16353
16354 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16355 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16356
16357 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16358
16359 [BZ #16639]
16360 * nscd/connections.c (nscd_init): Call do_exit.
16361 (start_threads): Call do_exit and notify_parent.
16362 (begin_drop_privileges): Call do_exit.
16363 (finish_drop_privileges): Likewise.
16364 * nscd/selinux.c (preserve_capabilities): Likewise.
16365 (install_real_capabilities): Likewise.
16366 (nscd_selinux_enabled): Likewise.
16367 (avc_create_thread): Likewise.
16368 (avc_alloc_lock): Likewise.
16369 (nscd_avc_init): Likewise.
16370 * nscd/nscd.c (parent_fd): New static variable.
16371 (main): Create a pipe between parent and child processes.
16372 Skip closing parent_fd.
16373 (monitor_child): New function.
16374 (do_exit): Likewise.
16375 (notify_parent): Likewise.
16376 * nscd/nscd.h (notify_parent): Likewise.
16377 (do_exit): Likewise.
16378
16379 2014-03-03 Carlos O'Donell <carlos@redhat.com>
16380
16381 * malloc/malloc.c (__libc_calloc): Revert last change.
16382
16383 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16384
16385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16386
16387 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16388
16389 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16391 implementation.
16392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16393 (__libc_ifunc_impl_list): Likewise.
16394 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16395 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16396 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16397 * string/strrchr.c: Define STRRCHR.
16398
16399 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
16400
16401 * benchtest/bench-strtok.c (simple_strtok): Delete.
16402 (strtok_string): Use as benchmark.
16403 * string/strtok (STRTOK): New macro.
16404
16405 2014-02-28 Carlos O'Donell <carlos@redhat.com>
16406
16407 * manual/threads.texi: Add header and standard comments to all
16408 functions.
16409
16410 * elf/dl-lookup.c (check_match): New function.
16411 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16412 (do_lookup_x): Remove nested function check_match. Use non-nested
16413 function check_match.
16414
16415 2014-02-28 Roland McGrath <roland@hack.frob.com>
16416
16417 * csu/Makefile (generated, before-compile): Use += rather than =.
16418 * catgets/Makefile (generated, generated-dirs): Likewise.
16419 * debug/Makefile (generated): Likewise.
16420 * dlfcn/Makefile (generated): Likewise.
16421 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16422 * iconvdata/Makefile (before-compile, generated): Likewise.
16423 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16424 * libio/Makefile (generated): Likewise.
16425 * malloc/Makefile (generated): Likewise.
16426 * manual/Makefile (generated, generated-dirs): Likewise.
16427 * misc/Makefile (generated): Likewise.
16428 * posix/Makefile (generated): Likewise.
16429 * resolv/Makefile (generated): Likewise.
16430 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16431 * timezone/Makefile (generated, generated-dirs): Likewise.
16432
16433 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16434
16435 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436
16437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16438 power8 implementation.
16439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16440 file: POWER8 llround ifunc implementation.
16441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16442 (__lllround): Add POWER8 implementation.
16443 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16444 POWER8 llround implementation.
16445
16446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16447 power8 implementation.
16448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16449 file: POWER8 llrint ifunc implementation.
16450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16451 Add POWER8 implementation.
16452 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16453 POWER8 llrint implementation.
16454
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16456 power8 implementation.
16457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16458 file: POWER8 finite ifunc implementation.
16459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16460 Add POWER8 implementation.
16461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16462 Likewise.
16463 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16464 POWER8 finite implementation.
16465 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16466
16467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16468 power8 implementation.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16470 file: POWER8 isinf ifunc implementation.
16471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16472 POWER8 implementation.
16473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16474 Likewise.
16475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16476 isinf implementation.
16477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16478
16479 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16480 (INIT_ARCH): Add hwcap2 initialization.
16481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16482 power8 implementation.
16483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16484 file: POWER8 isnan ifunc implementation.
16485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16486 POWER8 implementation.
16487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16488 Likewise.
16489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16490 isnan implementation.
16491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16492
16493 2014-02-27 Joey Ye <joey.ye@arm.com>
16494
16495 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16496 (_FP_NANFRAC_Q): Set to zero.
16497
16498 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16499
16500 [BZ #16623]
16501 * math/auto-libm-test-in: New test inputs.
16502 * math/auto-libm-test-out: Regenerate.
16503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16504 and DA.
16505 (__cos): Likewise.
16506 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16507
16508 2014-02-27 Joseph Myers <joseph@codesourcery.com>
16509
16510 * scripts/evaluate-test.sh: Take new argument indicating whether
16511 failure is expected.
16512 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16513 indicating whether failure is expected.
16514 * conform/Makefile (test-xfail-run-conformtest): New variable.
16515 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16516 level.
16517 * posix/Makefile (test-xfail-annexc): New variable.
16518 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16519
16520 2014-02-26 Joseph Myers <joseph@codesourcery.com>
16521
16522 * argp/Makefile: Include Makeconfig immediately after defining
16523 subdir.
16524 * assert/Makefile: Likewise.
16525 * benchtests/Makefile: Likewise.
16526 * catgets/Makefile: Likewise.
16527 * conform/Makefile: Likewise.
16528 * crypt/Makefile: Likewise.
16529 * csu/Makefile: Likewise.
16530 (all): Remove target.
16531 * ctype/Makefile: Include Makeconfig immediately after defining
16532 subdir.
16533 * debug/Makefile: Likewise.
16534 * dirent/Makefile: Likewise.
16535 * dlfcn/Makefile: Likewise.
16536 * gmon/Makefile: Likewise.
16537 * gnulib/Makefile: Likewise.
16538 * grp/Makefile: Likewise.
16539 * gshadow/Makefile: Likewise.
16540 * hesiod/Makefile: Likewise.
16541 * hurd/Makefile: Likewise.
16542 (all): Remove target.
16543 * iconvdata/Makefile: Include Makeconfig immediately after
16544 defining subdir.
16545 * inet/Makefile: Likewise.
16546 * intl/Makefile: Likewise.
16547 * io/Makefile: Likewise.
16548 * libio/Makefile: Likewise.
16549 (all): Remove target.
16550 * locale/Makefile: Include Makeconfig immediately after defining
16551 subdir.
16552 * login/Makefile: Likewise.
16553 * mach/Makefile: Likewise.
16554 (all): Remove target.
16555 * malloc/Makefile: Include Makeconfig immediately after defining
16556 subdir.
16557 (all): Remove target.
16558 * manual/Makefile: Include Makeconfig immediately after defining
16559 subdir.
16560 * math/Makefile: Likewise.
16561 * misc/Makefile: Likewise.
16562 * nis/Makefile: Likewise.
16563 * nss/Makefile: Likewise.
16564 * po/Makefile: Likewise.
16565 (all): Remove target.
16566 * posix/Makefile: Include Makeconfig immediately after defining
16567 subdir.
16568 * pwd/Makefile: Likewise.
16569 * resolv/Makefile: Likewise.
16570 * resource/Makefile: Likewise.
16571 * rt/Makefile: Likewise.
16572 * setjmp/Makefile: Likewise.
16573 * shadow/Makefile: Likewise.
16574 * signal/Makefile: Likewise.
16575 * socket/Makefile: Likewise.
16576 * soft-fp/Makefile: Likewise.
16577 * stdio-common/Makefile: Likewise.
16578 * stdlib/Makefile: Likewise.
16579 * streams/Makefile: Likewise.
16580 * string/Makefile: Likewise.
16581 * sunrpc/Makefile: Likewise.
16582 (all): Remove target.
16583 * sysvipc/Makefile: Include Makeconfig immediately after defining
16584 subdir.
16585 * termios/Makefile: Likewise.
16586 * time/Makefile: Likewise.
16587 * timezone/Makefile: Likewise.
16588 (all): Remove target.
16589 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16590 subdir.
16591 * wctype/Makefile: Likewise.
16592
16593 2014-02-26 Steve Ellcey <sellcey@mips.com>
16594
16595 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16596 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16597 (libc_feholdexcept_setround_mips): Ditto.
16598 (libc_feholdsetround): New.
16599 (libc_feholdsetroundf): New.
16600 (libc_feholdsetroundl): New.
16601 (libc_feupdateenv_test_mips): New.
16602 (libc_feupdateenv_test): New.
16603 (libc_feupdateenv_testf): New.
16604 (libc_feupdateenv_testl): New.
16605 (libc_feresetround): New.
16606 (libc_feresetroundf): New.
16607 (libc_feresetroundl): New.
16608 (libc_fetestexcept_mips): New.
16609 (libc_fetestexcept): New.
16610 (libc_fetestexceptf): New.
16611 (libc_fetestexceptl): New.
16612 (HAVE_RM_CTX): New.
16613 (libc_feholdexcept_setround_mips_ctx): New.
16614 (libc_feholdexcept_setround_ctx): New.
16615 (libc_feholdexcept_setroundf_ctx): New.
16616 (libc_feholdexcept_setroundl_ctx): New.
16617 (libc_fesetenv_mips_ctx): New.
16618 (libc_fesetenv_ctx): New.
16619 (libc_fesetenv_ctxf): New.
16620 (libc_fesetenv_ctxl): New.
16621 (libc_feupdateenv_mips_ctx): New.
16622 (libc_feupdateenv_ctx): New.
16623 (libc_feupdateenvf_ctx): New.
16624 (libc_feupdateenvl_ctx): New.
16625 (libc_feholdsetround_mips_ctx): New.
16626 (libc_feholdsetround_ctx): New.
16627 (libc_feholdsetroundf_ctx): New.
16628 (libc_feholdsetroundl_ctx): New.
16629 (libc_feresetround_mips_ctx): New.
16630 (libc_feresetround_ctx): New.
16631 (libc_feresetroundf_ctx): New.
16632 (libc_feresetroundl_ctx): New.
16633
16634 2014-02-26 Carlos O'Donell <carlos@redhat.com>
16635
16636 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16637
16638 * manual/ipc.texi: New file.
16639 * manual/Makefile (chapters): Add ipc.
16640 * manual/job.texi: Add "Inter-Process Communication" to next.
16641 * manual/process.texi: Add "Inter-Process Communication" to prev.
16642
16643 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16644
16645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16646
16647 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
16648
16649 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16650
16651 * manual/arith.texi: Fix spaces after sentences.
16652 * manual/charset.texi: Likewise.
16653 * manual/errno.texi: Likewise.
16654 * manual/install.texi: Likewise.
16655 * manual/llio.texi: Likewise.
16656 * manual/locale.texi: Likewise.
16657 * manual/maint.texi: Likewise.
16658 * manual/math.texi: Likewise.
16659 * manual/memory.texi: Likewise.
16660 * manual/message.texi: Likewise.
16661 * manual/probes.texi: Likewise.
16662 * manual/resource.texi: Likewise.
16663 * manual/signal.texi: Likewise.
16664 * manual/socket.texi: Likewise.
16665 * manual/stdio.texi: Likewise.
16666 * manual/string.texi: Likewise.
16667 * manual/time.texi: Likewise.
16668 * manual/users.texi: Likewise.
16669
16670 2014-02-25 Carlos O'Donell <carlos@redhat.com>
16671
16672 [BZ #16632]
16673 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16674 _DEFAULT_SOURCE is defined.
16675
16676 2014-02-25 Ulrich Drepper <drepper@gmail.com>
16677 Carlos O'Donell <carlos@redhat.com>
16678
16679 [BZ #16613]
16680 * elf/dl-tls.c (_dl_count_modids): New function.
16681 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16682 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16683 audit library and increment generation counter.
16684 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16685 * elf/tst-audit9.c: New file.
16686 * elf/tst-auditmod9a.c: New file.
16687 * elf/tst-auditmod9b.c: New file.
16688 * elf/Makefile: Add rules to build and run tst-audit9.
16689
16690 2014-02-25 Florian Weimer <fweimer@redhat.com>
16691
16692 [BZ #15347]
16693 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16694
16695 2014-02-25 Will Newton <will.newton@linaro.org>
16696
16697 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16698 (__longjmp): Restore sp and lr before restoring callee
16699 saved registers. Add longjmp and longjmp_target
16700 SystemTap probe point.
16701 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16702 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16703 Define to zero to match jmpbuf layout.
16704 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16705 (__sigsetjmp): Save sp and lr before saving callee
16706 saved registers. Add setjmp SystemTap probe point.
16707
16708 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16709
16710 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16711
16712 2014-02-24 Andreas Schwab <schwab@suse.de>
16713
16714 [BZ #15804]
16715 * elf/pldd.c (wait_for_ptrace_stop): New function.
16716 (main): Call it after attaching.
16717
16718 2014-02-22 Roland McGrath <roland@hack.frob.com>
16719
16720 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16721 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16722 Versions files is now verboten.
16723 * hurd/Versions (libc: GLIBC_2.0):
16724 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16725 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16726 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16727 * mach/Versions: Likewise.
16728
16729 * csu/Versions: Remove unused %include.
16730 * resolv/Versions: Likewise.
16731
16732 2014-02-21 Joseph Myers <joseph@codesourcery.com>
16733
16734 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16735 ($(objpfx)check-local-headers.out): Likewise.
16736 ($(objpfx)begin-end-check.out): Likewise.
16737 * Makerules (check-abi-%.out): Likewise.
16738 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16739 ($(objpfx)test2.cat): Likewise.
16740 ($(objpfx)de/libc.cat): Likewise.
16741 ($(objpfx)test-gencat.out): Likewise.
16742 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16743 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16744 ($(objpfx)noload-mem): Likewise.
16745 ($(objpfx)tst-pathopt.out): Likewise.
16746 ($(objpfx)tst-rtld-load-self.out): Likewise.
16747 ($(objpfx)tst-array1-cmp.out): Likewise.
16748 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16749 ($(objpfx)tst-array2-cmp.out): Likewise.
16750 ($(objpfx)tst-array3-cmp.out): Likewise.
16751 ($(objpfx)tst-array4-cmp.out): Likewise.
16752 ($(objpfx)tst-array5-cmp.out): Likewise.
16753 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16754 ($(objpfx)check-textrel.out): Likewise.
16755 ($(objpfx)check-execstack.out): Likewise.
16756 ($(objpfx)check-localplt.out): Likewise.
16757 ($(objpfx)order2-cmp.out): Likewise.
16758 ($(objpfx)tst-leaks1-mem): Likewise.
16759 ($(objpfx)tst-leaks1-static-mem): Likewise.
16760 ($(objpfx)tst-initorder-cmp.out): Likewise.
16761 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16762 ($(objpfx)tst-unused-dep.out): Likewise.
16763 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16765 * iconv/Makefile (test-iconvconfig): Likewise.
16766 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16767 ($(objpfx)iconv-test.out): Likewise.
16768 ($(objpfx)tst-tables.out): Likewise.
16769 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16770 ($(objpfx)tst-gettext.out): Likewise.
16771 ($(objpfx)tst-translit.out): Likewise.
16772 ($(objpfx)tst-gettext2.out): Likewise.
16773 ($(objpfx)tst-gettext4.out): Likewise.
16774 ($(objpfx)tst-gettext6.out): Likewise.
16775 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16776 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16777 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16778 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16779 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16780 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16781 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16782 ($(objpfx)wordexp-tst.out): Likewise.
16783 ($(objpfx)annexc.out): Likewise.
16784 ($(objpfx)tst-fnmatch-mem): Likewise.
16785 ($(objpfx)bug-regex2-mem): Likewise.
16786 ($(objpfx)bug-regex14-mem): Likewise.
16787 ($(objpfx)bug-regex21-mem): Likewise.
16788 ($(objpfx)bug-regex31-mem): Likewise.
16789 ($(objpfx)tst-vfork3-mem): Likewise.
16790 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16791 ($(objpfx)tst-pcre-mem): Likewise.
16792 ($(objpfx)tst-boost-mem): Likewise.
16793 ($(objpfx)tst-getconf.out): Likewise.
16794 ($(objpfx)bug-ga2-mem): Likewise.
16795 ($(objpfx)bug-glob2-mem): Likewise.
16796 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16797 ($(objpfx)mtrace-tst-leaks2): Likewise.
16798 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16799 ($(objpfx)tst-printf.out): Likewise.
16800 ($(objpfx)tst-setvbuf1.out): Likewise.
16801 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16802 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16803 ($(objpfx)tst-fmtmsg.out): Likewise.
16804 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16805 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16806
16807 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16808 * bits/sigaction.h [__USE_MISC]: Likewise.
16809 * bits/waitstatus.h: Update #endif comments.
16810 * ctype/ctype.h: Likewise.
16811 * dirent/dirent.h: Likewise.
16812 [__USE_MISC]: Remove redundant conditionals.
16813 * grp/grp.h: Update #endif comments.
16814 [__USE_GNU]: Remove redundant conditionals.
16815 [__USE_MISC]: Likewise.
16816 * inet/netinet/in.h [__USE_GNU]: Likewise.
16817 * io/sys/stat.h [__USE_MISC]: Likewise.
16818 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16819 * libio/bits/stdio.h: Update #endif comments.
16820 [__USE_MISC]: Remove redundant conditionals.
16821 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16822 * libio/stdio.h: Update #endif comments.
16823 [__USE_MISC]: Remove redundant conditionals.
16824 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16825 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16826 * math/math.h: Update #else and #endif comments.
16827 [__USE_MISC]: Remove redundant conditionals.
16828 * misc/sys/uio.h: Update #endif comments.
16829 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16830 * posix/glob.h [__USE_MISC]: Likewise.
16831 * posix/sys/types.h: Update #endif comments.
16832 [__USE_MISC]: Remove redundant conditionals.
16833 * posix/sys/wait.h: Update #endif comments.
16834 [__USE_MISC]: Remove redundant conditionals.
16835 * posix/unistd.h: Update #endif comments.
16836 [__USE_MISC]: Remove redundant conditionals.
16837 * pwd/pwd.h [__USE_GNU]: Likewise.
16838 [__USE_MISC]: Likewise.
16839 * resolv/netdb.h [__USE_GNU]: Likewise.
16840 * signal/signal.h: Update #endif comments.
16841 [__USE_MISC]: Remove redundant conditionals.
16842 * stdlib/stdlib.h: Update #else and #endif comments.
16843 [__USE_MISC]: Remove redundant conditionals.
16844 [__USE_GNU]: Likewise.
16845 * string/bits/string2.h [__USE_MISC]: Likewise.
16846 * string/string.h: Update #endif comments.
16847 [__USE_MISC]: Remove redundant conditionals.
16848 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16849 Likewise.
16850 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16851 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16852 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16853 Likewise.
16854 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16855 Likewise.
16856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16857 comments.
16858 [__USE_MISC]: Remove redundant conditionals.
16859 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16860 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16861 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16862 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16863 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16864 Likewise.
16865 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16866 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16867 Likewise.
16868 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16869 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16870 Likewise.
16871 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16872 Likewise.
16873 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16874 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16875 Likewise.
16876 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16877 Likewise.
16878 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16879 * sysdeps/x86/bits/string.h: Update #endif comments.
16880 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16881 conditionals.
16882 * time/sys/time.h: Update #endif comments.
16883 * time/time.h: Likewise.
16884 [__USE_MISC]: Remove redundant conditionals.
16885
16886 2014-02-21 Yury Gribov <y.gribov@samsung.com>
16887
16888 [BZ #16600]
16889 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16890
16891 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16892
16893 * Versions.def (librt): Add GLIBC_2.17.
16894
16895 2014-02-21 Adam Conrad <adconrad@0c3.net>
16896
16897 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16898 synonym for _SYS_AUXV_H to allow direct inclusion.
16899 * sysdeps/sparc/bits/hwcap.h: Likewise.
16900 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16901 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16902 * sysdeps/sparc/sysdep.h: Likewise.
16903
16904 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16907
16908 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16909
16910 * benchtests/bench-strrchr.c: Print length instead of position.
16911
16912 2014-02-20 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #16611]
16915 * sysdeps/unix/sysv/linux/kernel-features.h
16916 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16917 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16918 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16919 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16920 Likewise.
16921 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16922 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16923 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16924 (__ASSUME_SENDMMSG): Define instead of using previous
16925 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16927 (__ASSUME_SENDMMSG_SYSCALL): Define.
16928 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16929 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16930 Likewise.
16931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16933 Likewise.
16934 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16935 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16936 Likewise.
16937 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16938 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16939 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16940 [__ASSUME_SENDMMSG]: Change conditionals to
16941 [__ASSUME_SENDMMSG_SOCKETCALL].
16942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16943 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16944 Define.
16945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16946 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16947 Likewise.
16948 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16949 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16950 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16951 [!__ASSUME_SENDMMSG]: Change conditional to
16952 [!__ASSUME_SENDMMSG_SOCKETCALL].
16953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16955 Define.
16956
16957 [BZ #16610]
16958 * sysdeps/unix/sysv/linux/kernel-features.h
16959 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16960 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16961 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16962 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16963 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16964 [__i386__ || __sparc__]
16965 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16966 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16967 (__ASSUME_RECVMMSG): Define instead of using previous
16968 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16969 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16970 (__ASSUME_RECVMMSG_SYSCALL): Define.
16971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16973 Likewise.
16974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16976 Likewise.
16977 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16978 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16981 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16982 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16983 [__ASSUME_RECVMMSG]: Change condition to
16984 [__ASSUME_RECVMMSG_SOCKETCALL].
16985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16986 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16987 Define.
16988 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16989 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16991 Likewise.
16992 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16993 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16994 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16995 [!__ASSUME_RECVMMSG]: Change condition to
16996 [!__ASSUME_RECVMMSG_SOCKETCALL].
16997 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16998 (__ASSUME_RECVMMSG_SYSCALL): Define.
16999
17000 [BZ #16609]
17001 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17002 __powerpc__ || __s390__ || __sh__ || __sparc__]
17003 (__ASSUME_SOCKETCALL): Define.
17004 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17005 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17006 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17007 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17008 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17009 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17010 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17011 (__ASSUME_ACCEPT4): Define instead of using previous
17012 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17013 __powerpc__ || __sparc__ || __s390__)] condition.
17014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17015 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17016 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17017 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17018 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17019 [!__ASSUME_ACCEPT4]: Change condition to
17020 [!__ASSUME_ACCEPT4_SOCKETCALL].
17021 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17022 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17023 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17024 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17025 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17026 __ASSUME_ACCEPT4_SYSCALL.
17027 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17028 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17029 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17030 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17031 __ASSUME_ACCEPT4_SYSCALL.
17032 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17033 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17034 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17035 [__ASSUME_ACCEPT4]: Change condition to
17036 [__ASSUME_ACCEPT4_SOCKETCALL].
17037 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17038 (__ASSUME_SOCKETCALL): Define.
17039 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17041 (__ASSUME_SOCKETCALL): Define.
17042 (__ASSUME_ACCEPT4): Remove.
17043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17044 Define.
17045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17046 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17047 Likewise.
17048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17049 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17050
17051 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17052 macro.
17053 (HWCAP_ARM_LPAE): Likewise.
17054 (HWCAP_ARM_EVTSTRM): Likewise.
17055 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17056 Add vpfd32, lpae and evtstrm.
17057 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17058 Increase to 22.
17059
17060 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17061
17062 * math/auto-libm-test-in: Add tests of clog10.
17063 * math/auto-libm-test-out: Regenerated.
17064 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17067
17068 2014-02-18 Andreas Schwab <schwab@suse.de>
17069
17070 [BZ #16574]
17071 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17072 Store non-zero if the second buffer was newly allocated.
17073 (send_dg): Likewise.
17074 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17075 to send_vc and send_dg.
17076 (res_nsend): Pass NULL for ansp2_malloced.
17077 * resolv/res_query.c (__libc_res_nquery): Add parameter
17078 answerp2_malloced and pass it down to __libc_res_nsend.
17079 (res_nquery): Pass additional NULL to __libc_res_nquery.
17080 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17081 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17082 second answer buffer if answerp2_malloced was set.
17083 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17084 (__libc_res_nquerydomain): Add parameter
17085 answerp2_malloced and pass it down to __libc_res_nquery.
17086 (res_nquerydomain): Pass additional NULL to
17087 __libc_res_nquerydomain.
17088 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17089 additional NULL to __libc_res_nsend and __libc_res_nquery.
17090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17091 additional NULL to __libc_res_nsearch.
17092 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17093 parameter of __libc_res_nsearch to check for separately allocated
17094 second buffer.
17095 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17096 __libc_res_nquery.
17097 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17098 additional NULL to __libc_res_nquery.
17099 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17100 __libc_res_nsearch.
17101 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17102 * include/resolv.h: Update prototypes of __libc_res_nquery,
17103 __libc_res_nsearch, __libc_res_nsend.
17104
17105 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17106
17107 * math/auto-libm-test-in: Add tests of fma.
17108 * math/auto-libm-test-out: Regenerated.
17109 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17110 (fma_towardzero_test_data): Likewise.
17111 (fma_downward_test_data): Likewise.
17112 (fma_upward_test_data): Likewise.
17113 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17114 mpc_mode.
17115 (rounding_modes): Add values for new field.
17116 (func_calc_method): Add value mpfr_fff_f.
17117 (func_calc_desc): Add mpfr_fff_f union field.
17118 (test_function): Add field exact_args.
17119 (FUNC): Add macro argument EXACT_ARGS.
17120 (FUNC_mpfr_f_f): Update call to FUNC.
17121 (FUNC_mpfr_f_f): Likewise.
17122 (FUNC_mpfr_ff_f): Likewise.
17123 (FUNC_mpfr_if_f): Likewise.
17124 (FUNC_mpc_c_f): Likewise.
17125 (FUNC_mpc_c_c): Likewise.
17126 (test_functions): Add fma. Update calls to FUNC.
17127 (handle_input_arg): Add argument exact_args.
17128 (add_test): Update call to handle_input_arg.
17129 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17130 (output_for_one_input_case): Update call to calc_generic_results.
17131 Recalculate exact zero results in each rounding mode.
17132
17133 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17134 non-negative before setting low bit.
17135 * math/auto-libm-test-in: Mark one asin test possibly having
17136 spurious underflow.
17137 * math/auto-libm-test-out: Regenerated.
17138 * sysdeps/i386/fpu/libm-test-ulps: Update.
17139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17140
17141 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17142
17143 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17144 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17145 ports/sysdeps/unix/sysv/linux/microblaze.
17146 * README: Add missing listing for microblaze*-*-linux-gnu.
17147
17148 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17149
17150 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17151 duplicate code
17152
17153 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17154
17155 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17156 * sysdeps/unix/sysv/linux/ia64: Move directory from
17157 ports/sysdeps/unix/sysv/linux/ia64.
17158 * README: Update listing for ia64-*-linux-gnu.
17159
17160 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17161 Joseph Myers <joseph@codesourcery.com>
17162
17163 * Makeconfig (test-name): New variable.
17164 (evaluate-test): Likewise.
17165 * Makerules (do-test-clean): Remove .test-result files.
17166 (common-mostlyclean): Likewise.
17167 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17168 * scripts/evaluate-test.sh: New file.
17169
17170 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17171
17172 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17173 separate $(objpfx)tst-fopenloc-cmp.out and
17174 $(objpfx)tst-fopenloc-mem.out targets.
17175 (tests): Update dependencies.
17176 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17177 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17178 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17179 (tst-rxspencer-no-utf8-ARGS): New variable.
17180 (tst-rxspencer-no-utf8-ENV): Likewise.
17181 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17182 instead of $(objpfx)tst-rxspencer-mem.
17183 ($(objpfx)tst-rxspencer-mem): Change target to
17184 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17185 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17186 * posix/tst-rxspencer-no-utf8.c: New file.
17187
17188 * elf/Makefile ($(objpfx)order.out): Remove rule.
17189 [$(run-built-tests) = yes] (tests): Depend on
17190 $(objpfx)order-cmp.out.
17191 ($(objpfx)order-cmp.out): New rule.
17192 [$(run-built-tests) = yes] (tests): Depend on
17193 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17194 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17195 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17196 $(objpfx)tst-array5-static-cmp.out.
17197 ($(objpfx)tst-array1.out): Remove rule.
17198 ($(objpfx)tst-array1-cmp.out): New rule.
17199 ($(objpfx)tst-array1-static.out): Remove rule.
17200 ($(objpfx)tst-array1-static-cmp.out): New rule.
17201 ($(objpfx)tst-array2.out): Remove rule.
17202 ($(objpfx)tst-array2-cmp.out): New rule.
17203 ($(objpfx)tst-array3.out): Remove rule.
17204 ($(objpfx)tst-array3-cmp.out): New rule.
17205 ($(objpfx)tst-array4.out): Remove rule.
17206 ($(objpfx)tst-array4-cmp.out): New rule.
17207 ($(objpfx)tst-array5.out): Remove rule.
17208 ($(objpfx)tst-array5-cmp.out): New rule.
17209 ($(objpfx)tst-array5-static.out): Remove rule.
17210 ($(objpfx)tst-array5-static-cmp.out): New rule.
17211 [$(run-built-tests) = yes] (tests): Depend on
17212 $(objpfx)order2-cmp.out.
17213 ($(objpfx)order2.out): Remove rule.
17214 ($(objpfx)order2-cmp.out): New rule.
17215 ($(objpfx)tst-initorder.out): Remove rule.
17216 [$(run-built-tests) = yes] (tests): Depend on
17217 $(objpfx)tst-initorder-cmp.out.
17218 ($(objpfx)tst-initorder-cmp.out): New rule.
17219 ($(objpfx)tst-initorder2.out): Remove rule.
17220 [$(run-built-tests) = yes] (tests): Depend on
17221 $(objpfx)tst-initorder2-cmp.out.
17222 ($(objpfx)tst-initorder2-cmp.out): New rule.
17223 [$(run-built-tests) = yes] (tests): Depend on
17224 $(objpfx)tst-unused-dep-cmp.out.
17225 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17226 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17227 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17228 on $(objpfx)tst-setvbuf1-cmp.out.
17229 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17230 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17231 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17232 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17233 ($(objpfx)tst-svc.out): Remove rule.
17234 ($(objpfx)tst-svc-cmp.out): New rule.
17235
17236 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17237
17238 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17239 * ctype/ctype.h [__USE_MISC]: Likewise.
17240 * dirent/dirent.h [__USE_MISC]: Likewise.
17241 * grp/grp.h [__USE_MISC]: Likewise.
17242 * io/fcntl.h [__USE_MISC]: Likewise.
17243 * io/sys/stat.h [__USE_MISC]: Likewise.
17244 * libio/stdio.h [__USE_MISC]: Likewise.
17245 * posix/unistd.h [__USE_MISC]: Likewise.
17246 * pwd/pwd.h [__USE_MISC]: Likewise.
17247 * stdlib.h [__USE_MISC]: Likewise.
17248 * string/bits/string2.h [__USE_MISC]: Likewise.
17249 * string/string.h [__USE_MISC]: Likewise.
17250 * time/time.h [__USE_MISC]: Likewise.
17251
17252 2014-02-13 Andreas Schwab <schwab@suse.de>
17253
17254 [BZ #16574]
17255 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17256 second answer buffer if it was separately allocated.
17257
17258 2014-02-12 Joseph Myers <joseph@codesourcery.com>
17259
17260 * sysdeps/mips/math-tests.h: Include <features.h>.
17261 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17262 (ROUNDING_TESTS_long_double): Do not define.
17263 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17264 (EXCEPTION_TESTS_long_double): Likewise.
17265 * sysdeps/mips/mips64/libm-test-ulps: Update.
17266
17267 * include/features.h (__USE_BSD): Remove macro definitions.
17268 (__USE_SVID): Likewise.
17269 (_BSD_SOURCE): Likewise.
17270 (_SVID_SOURCE): Likewise.
17271 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17272 from definition of _DEFAULT_SOURCE.
17273 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17274 [_DEFAULT_SOURCE].
17275 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17276 * bits/mman.h [__USE_BSD]: Likewise.
17277 * bits/termios.h [__USE_BSD]: Likewise.
17278 * bits/waitstatus.h [__USE_BSD]: Likewise.
17279 * ctype/ctype.h [__USE_SVID]: Likewise.
17280 * dirent/dirent.h [__USE_BSD]: Likewise.
17281 * grp/grp.h [__USE_SVID]: Likewise.
17282 [__USE_BSD]: Likewise.
17283 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17284 * io/fcntl.h [__USE_BSD]: Likewise.
17285 * io/ftw.h [__USE_BSD]: Likewise.
17286 * io/sys/stat.h [__USE_BSD]: Likewise.
17287 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17288 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17289 * libio/stdio.h [__USE_SVID]: Likewise.
17290 [__USE_BSD]: Likewise.
17291 * math/math.h [__USE_SVID]: Likewise.
17292 [__USE_BSD]: Likewise.
17293 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17294 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17295 * misc/search.h [__USE_SVID]: Likewise.
17296 * misc/sys/mman.h [__USE_BSD]: Likewise.
17297 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17298 * misc/sys/uio.h [__USE_BSD]: Likewise.
17299 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17300 * posix/glob.h [__USE_BSD]: Likewise.
17301 * posix/regex.h [__USE_BSD]: Likewise.
17302 * posix/sys/types.h [__USE_BSD]: Likewise.
17303 [__USE_SVID]: Likewise.
17304 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17305 * posix/sys/wait.h [__USE_BSD]: Likewise.
17306 [__USE_SVID]: Likewise.
17307 * posix/unistd.h [__USE_BSD]: Likewise.
17308 [__USE_SVID]: Likewise.
17309 * pwd/pwd.h [__USE_SVID]: Likewise.
17310 * resolv/netdb.h [__USE_BSD]: Likewise.
17311 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17312 * signal/signal.h [__USE_BSD]: Likewise.
17313 [__USE_SVID]: Likewise.
17314 * socket/sys/socket.h [__USE_BSD]: Likewise.
17315 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17316 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17317 [__USE_SVID]: Likewise.
17318 * string/bits/string2.h [__USE_BSD]: Likewise.
17319 [__USE_SVID]: Likewise.
17320 * string/bits/string3.h [__USE_BSD]: Likewise.
17321 * string/endian.h [__USE_BSD]: Likewise.
17322 * string/string.h [__USE_SVID]: Likewise.
17323 [__USE_BSD]: Likewise.
17324 * string/strings.h [__USE_BSD]: Likewise.
17325 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17326 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17328 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17329 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17330 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17331 Likewise.
17332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17333 Likewise.
17334 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17335 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17336 Likewise.
17337 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17338 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17339 Likewise.
17340 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17341 Likewise.
17342 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17343 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17344 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17345 Likewise.
17346 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17347 Likewise.
17348 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17349 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17350 * termios/termios.h [__USE_BSD]: Likewise.
17351 * time/sys/time.h [__USE_BSD]: Likewise.
17352 * time/time.h [__USE_BSD]: Likewise.
17353 [__USE_SVID]: Likewise.
17354
17355 * Makefile (subdir_targets): Remove subdir_lint.out.
17356
17357 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17358 (do-tst-printf): Likewise.
17359 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17360 $(objpfx)tst-printf.out.
17361
17362 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17363
17364 * Makerules (check-abi-%): Change target to
17365 $(objpfx)check-abi-%.out.
17366 (check-abi target): Update dependencies.
17367 (check-abi-pattern variable): Redirect output of diff to $@.
17368 (check-abi variable): Likewise.
17369 * elf/Makefile (check-abi): Update dependencies.
17370
17371 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17372 unused.
17373 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17374 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17375 subnormal range.
17376 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17377 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17378 value has largest subnormal exponent.
17379 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17380 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17381 * sysdeps/aarch64/soft-fp/sfp-machine.h
17382 (_FP_TININESS_AFTER_ROUNDING): New macro.
17383 * sysdeps/alpha/soft-fp/sfp-machine.h
17384 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17385 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17386 Likewise.
17387 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17388 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17389 * sysdeps/mips/soft-fp/sfp-machine.h
17390 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17391 * sysdeps/powerpc/soft-fp/sfp-machine.h
17392 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17393 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17394 Likewise.
17395 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17396 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17398 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17399 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17400 Likewise.
17401
17402 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
17403
17404 [BZ #16545]
17405 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17406 model 1.
17407
17408 2014-02-12 Richard Henderson <rth@redhat.com>
17409
17410 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17411 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17412 * sysdeps/unix/sysv/linux/alpha: Move directory from
17413 ports/sysdeps/unix/sysv/linux/alpha.
17414 * README: Update listing for alpha-*-linux-gnu.
17415
17416 2014-02-11 Joseph Myers <joseph@codesourcery.com>
17417
17418 * include/features.h: Update comment documenting feature test
17419 macros.
17420 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17421 _DEFAULT_SOURCE.
17422 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17423 (_SVID_SOURCE): Likewise.
17424 (_DEFAULT_SOURCE): Update description of default features.
17425 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17426 with _GNU_SOURCE.
17427 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17428 (S_ISVTX): Likewise.
17429 * manual/math.texi (Mathematical Constants): Likewise.
17430 * manual/signal.texi (Interrupted Primitives): Likewise.
17431 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17432 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17433 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17434 Don't refer to _SVID_SOURCE in warning text.
17435
17436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17437
17438 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17439 already defined.
17440 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17441 * sysdeps/mips/dl-lookup.c: Remove.
17442 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17443
17444 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17445
17446 [BZ #16447]
17447 * math/auto-libm-test-in: Add testcase for expl.
17448 * math/auto-libm-test-out: Regenerate.
17449 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17450 calculation of unsafe.
17451 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17452
17453 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17454
17455 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17456 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17457 ports/sysdeps/unix/sysv/linux/aarch64.
17458 * README: Update listing for aarch64*-*-linux-gnu.
17459
17460 2014-02-11 Will Newton <will.newton@linaro.org>
17461
17462 * manual/probes.texi (Mathematical Function Probes): Use
17463 "triggered" instead of "hit".
17464
17465 * manual/probes.texi (Internal Probes): Add documentation
17466 of setjmp, longjmp and longjmp_target probes.
17467
17468 * include/stap-probe.h: Add comment about probe argument
17469 format.
17470
17471 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17472 definition. (tr_where, tr_freehook, tr_mallochook,
17473 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17474
17475 2014-02-11 David S. Miller <davem@davemloft.net>
17476
17477 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17478 processing int_tests.
17479
17480 2014-02-10 Joseph Myers <joseph@codesourcery.com>
17481
17482 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17483 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17484 * sysdeps/unix/sysv/linux/mips: Move directory from
17485 ports/sysdeps/unix/sysv/linux/mips.
17486 * README: Update listing for mips-*-linux-gnu and
17487 mips64-*-linux-gnu.
17488
17489 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17490
17491 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17492 * sysdeps/unix/sysv/linux/m68k: Move directory from
17493 ports/sysdeps/unix/sysv/linux/m68k.
17494 * README: Update listing for m68k-*-linux-gnu.
17495
17496 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17497
17498 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17499 * sysdeps/unix/sysv/linux/generic: Move directory from
17500 ports/sysdeps/unix/sysv/linux/generic.
17501 * sysdeps/unix/sysv/linux/tile: Move directory from
17502 ports/sysdeps/unix/sysv/linux/tile.
17503 * README: Update listing for tile*-*-linux-gnu.
17504
17505 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
17506
17507 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17508 __builtin_expect.
17509 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17510 * catgets/open_catalog.c (__open_catalog): Likewise.
17511 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17512 * debug/confstr_chk.c: Likewise.
17513 * debug/fread_chk.c (__fread_chk): Likewise.
17514 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17515 * debug/getgroups_chk.c: Likewise.
17516 * debug/mbsnrtowcs_chk.c: Likewise.
17517 * debug/mbsrtowcs_chk.c: Likewise.
17518 * debug/mbstowcs_chk.c: Likewise.
17519 * debug/memcpy_chk.c: Likewise.
17520 * debug/memmove_chk.c: Likewise.
17521 * debug/mempcpy_chk.c: Likewise.
17522 * debug/memset_chk.c: Likewise.
17523 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17524 * debug/strcat_chk.c (__strcat_chk): Likewise.
17525 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17526 * debug/strncat_chk.c (__strncat_chk): Likewise.
17527 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17528 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17529 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17530 * debug/wcpncpy_chk.c: Likewise.
17531 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17532 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17533 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17534 * debug/wcsncpy_chk.c: Likewise.
17535 * debug/wcsnrtombs_chk.c: Likewise.
17536 * debug/wcsrtombs_chk.c: Likewise.
17537 * debug/wcstombs_chk.c: Likewise.
17538 * debug/wmemcpy_chk.c: Likewise.
17539 * debug/wmemmove_chk.c: Likewise.
17540 * debug/wmempcpy_chk.c: Likewise.
17541 * debug/wmemset_chk.c: Likewise.
17542 * dirent/scandirat.c (SCANDIRAT): Likewise.
17543 * dlfcn/dladdr1.c (dladdr1): Likewise.
17544 * dlfcn/dladdr.c (dladdr): Likewise.
17545 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17546 * dlfcn/dlerror.c (__dlerror): Likewise.
17547 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17548 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17549 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17550 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17551 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17552 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17553 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17554 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17555 Likewise.
17556 * elf/dl-conflict.c: Likewise.
17557 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17558 * elf/dl-dst.h: Likewise.
17559 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17560 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17561 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17562 * elf/dl-init.c (call_init, _dl_init): Likewise.
17563 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17564 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17565 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17566 Likewise.
17567 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17568 Likewise.
17569 * elf/dl-minimal.c (__libc_memalign): Likewise.
17570 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17571 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17572 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17573 * elf/dl-sym.c (do_sym): Likewise.
17574 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17575 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17576 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17577 * elf/dl-writev.h (_dl_writev): Likewise.
17578 * elf/ldconfig.c (search_dir): Likewise.
17579 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17580 (dl_main): Likewise.
17581 * elf/setup-vdso.h (setup_vdso): Likewise.
17582 * grp/compat-initgroups.c (compat_call): Likewise.
17583 * grp/fgetgrent.c (fgetgrent): Likewise.
17584 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17585 * grp/putgrent.c (putgrent): Likewise.
17586 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17587 Likewise.
17588 * hurd/hurdinit.c: Likewise.
17589 * iconvdata/8bit-gap.c (struct): Likewise.
17590 * iconvdata/ansi_x3.110.c : Likewise.
17591 * iconvdata/big5.c : Likewise.
17592 * iconvdata/big5hkscs.c : Likewise.
17593 * iconvdata/cp1255.c: Likewise.
17594 * iconvdata/cp1258.c : Likewise.
17595 * iconvdata/cp932.c : Likewise.
17596 * iconvdata/euc-cn.c: Likewise.
17597 * iconvdata/euc-jisx0213.c : Likewise.
17598 * iconvdata/euc-jp.c: Likewise.
17599 * iconvdata/euc-jp-ms.c : Likewise.
17600 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17601 * iconvdata/gb18030.c : Likewise.
17602 * iconvdata/gbbig5.c (const): Likewise.
17603 * iconvdata/gbgbk.c: Likewise.
17604 * iconvdata/gbk.c : Likewise.
17605 * iconvdata/ibm1364.c : Likewise.
17606 * iconvdata/ibm930.c : Likewise.
17607 * iconvdata/ibm932.c: Likewise.
17608 * iconvdata/ibm933.c : Likewise.
17609 * iconvdata/ibm935.c : Likewise.
17610 * iconvdata/ibm937.c : Likewise.
17611 * iconvdata/ibm939.c : Likewise.
17612 * iconvdata/ibm943.c: Likewise.
17613 * iconvdata/iso_11548-1.c: Likewise.
17614 * iconvdata/iso-2022-cn.c : Likewise.
17615 * iconvdata/iso-2022-cn-ext.c : Likewise.
17616 * iconvdata/iso-2022-jp-3.c: Likewise.
17617 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17618 * iconvdata/iso-2022-kr.c : Likewise.
17619 * iconvdata/iso646.c (gconv_end): Likewise.
17620 * iconvdata/iso_6937-2.c : Likewise.
17621 * iconvdata/iso_6937.c : Likewise.
17622 * iconvdata/iso8859-1.c: Likewise.
17623 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17624 * iconvdata/shift_jisx0213.c : Likewise.
17625 * iconvdata/sjis.c : Likewise.
17626 * iconvdata/t.61.c : Likewise.
17627 * iconvdata/tcvn5712-1.c : Likewise.
17628 * iconvdata/tscii.c: Likewise.
17629 * iconvdata/uhc.c : Likewise.
17630 * iconvdata/unicode.c (gconv_end): Likewise.
17631 * iconvdata/utf-16.c (gconv_end): Likewise.
17632 * iconvdata/utf-32.c (gconv_end): Likewise.
17633 * iconvdata/utf-7.c (base64): Likewise.
17634 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17635 * iconv/gconv_close.c (__gconv_close): Likewise.
17636 * iconv/gconv_open.c (__gconv_open): Likewise.
17637 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17638 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17639 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17640 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17641 (ucs4le_internal_loop_single): Likewise.
17642 * iconv/iconv.c (iconv): Likewise.
17643 * iconv/iconv_close.c: Likewise.
17644 * iconv/loop.c (SINGLE): Likewise.
17645 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17646 * include/atomic.h: Likewise.
17647 * inet/inet6_option.c (option_alloc): Likewise.
17648 * intl/bindtextdom.c (set_binding_values): Likewise.
17649 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17650 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17651 * intl/localealias.c (read_alias_file): Likewise.
17652 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17653 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17654 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17655 * libio/fmemopen.c (fmemopen): Likewise.
17656 * libio/iofgets.c (_IO_fgets): Likewise.
17657 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17658 * libio/iofgetws.c (fgetws): Likewise.
17659 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17660 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17661 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17662 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17663 * locale/findlocale.c (_nl_find_locale): Likewise.
17664 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17665 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17666 Likewise.
17667 * locale/setlocale.c (setlocale): Likewise.
17668 * login/programs/pt_chown.c (main): Likewise.
17669 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17670 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17671 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17672 (mmap, mmap64, mremap, munmap): Likewise.
17673 * math/e_exp2l.c: Likewise.
17674 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17675 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17676 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17677 * math/s_catan.c (__catan): Likewise.
17678 * math/s_catanf.c (__catanf): Likewise.
17679 * math/s_catanh.c (__catanh): Likewise.
17680 * math/s_catanhf.c (__catanhf): Likewise.
17681 * math/s_catanhl.c (__catanhl): Likewise.
17682 * math/s_catanl.c (__catanl): Likewise.
17683 * math/s_ccosh.c (__ccosh): Likewise.
17684 * math/s_ccoshf.c (__ccoshf): Likewise.
17685 * math/s_ccoshl.c (__ccoshl): Likewise.
17686 * math/s_cexp.c (__cexp): Likewise.
17687 * math/s_cexpf.c (__cexpf): Likewise.
17688 * math/s_cexpl.c (__cexpl): Likewise.
17689 * math/s_clog10.c (__clog10): Likewise.
17690 * math/s_clog10f.c (__clog10f): Likewise.
17691 * math/s_clog10l.c (__clog10l): Likewise.
17692 * math/s_clog.c (__clog): Likewise.
17693 * math/s_clogf.c (__clogf): Likewise.
17694 * math/s_clogl.c (__clogl): Likewise.
17695 * math/s_csin.c (__csin): Likewise.
17696 * math/s_csinf.c (__csinf): Likewise.
17697 * math/s_csinh.c (__csinh): Likewise.
17698 * math/s_csinhf.c (__csinhf): Likewise.
17699 * math/s_csinhl.c (__csinhl): Likewise.
17700 * math/s_csinl.c (__csinl): Likewise.
17701 * math/s_csqrt.c (__csqrt): Likewise.
17702 * math/s_csqrtf.c (__csqrtf): Likewise.
17703 * math/s_csqrtl.c (__csqrtl): Likewise.
17704 * math/s_ctan.c (__ctan): Likewise.
17705 * math/s_ctanf.c (__ctanf): Likewise.
17706 * math/s_ctanh.c (__ctanh): Likewise.
17707 * math/s_ctanhf.c (__ctanhf): Likewise.
17708 * math/s_ctanhl.c (__ctanhl): Likewise.
17709 * math/s_ctanl.c (__ctanl): Likewise.
17710 * math/w_pow.c: Likewise.
17711 * math/w_powf.c: Likewise.
17712 * math/w_powl.c: Likewise.
17713 * math/w_scalb.c (sysv_scalb): Likewise.
17714 * math/w_scalbf.c (sysv_scalbf): Likewise.
17715 * math/w_scalbl.c (sysv_scalbl): Likewise.
17716 * misc/error.c (error_tail): Likewise.
17717 * misc/pselect.c (__pselect): Likewise.
17718 * nis/nis_callback.c (__nis_create_callback): Likewise.
17719 * nis/nis_call.c (__nisfind_server): Likewise.
17720 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17721 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17722 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17723 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17724 * nis/nis_lookup.c (nis_lookup): Likewise.
17725 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17726 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17727 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17728 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17729 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17730 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17731 * nis/nss_compat/compat-initgroups.c (add_group)
17732 (internal_getgrent_r): Likewise.
17733 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17734 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17735 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17736 (internal_getspnam_r): Likewise.
17737 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17738 (_nss_nis_getaliasbyname_r): Likewise.
17739 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17740 (_nss_nis_getntohost_r): Likewise.
17741 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17742 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17743 (_nss_nis_getgrgid_r): Likewise.
17744 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17745 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17746 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17747 (_nss_nis_gethostbyname4_r): Likewise.
17748 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17749 (initgroups_netid): Likewise.
17750 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17751 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17752 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17753 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17754 (_nss_nis_getprotobynumber_r): Likewise.
17755 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17756 (_nss_nis_getsecretkey): Likewise.
17757 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17758 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17759 (_nss_nis_getpwuid_r): Likewise.
17760 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17761 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17762 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17763 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17764 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17765 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17766 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17767 Likewise.
17768 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17769 (_nss_nisplus_getntohost_r): Likewise.
17770 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17771 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17772 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17773 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17774 Likewise.
17775 * nis/nss_nisplus/nisplus-initgroups.c
17776 (_nss_nisplus_initgroups_dyn): Likewise.
17777 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17778 (_nss_nisplus_getnetbyaddr_r): Likewise.
17779 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17780 (_nss_nisplus_getprotobynumber_r): Likewise.
17781 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17782 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17783 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17784 Likewise.
17785 * nis/nss_nisplus/nisplus-service.c
17786 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17787 (_nss_nisplus_getservbyport_r): Likewise.
17788 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17789 (_nss_nisplus_getspnam_r): Likewise.
17790 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17791 Likewise.
17792 * nscd/aicache.c (addhstaiX): Likewise.
17793 * nscd/cache.c (cache_search, prune_cache): Likewise.
17794 * nscd/connections.c (register_traced_file, send_ro_fd)
17795 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17796 (main_loop_epoll): Likewise.
17797 * nscd/grpcache.c (addgrbyX): Likewise.
17798 * nscd/hstcache.c (addhstbyX): Likewise.
17799 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17800 * nscd/mem.c (gc, mempool_alloc): Likewise.
17801 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17802 (addinnetgrX): Likewise.
17803 * nscd/nscd-client.h (__nscd_acquire_maplock)
17804 (__nscd_drop_map_ref): Likewise.
17805 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17806 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17807 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17808 Likewise.
17809 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17810 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17811 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17812 (__nscd_get_map_ref): Likewise.
17813 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17814 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17815 Likewise.
17816 * nscd/pwdcache.c (addpwbyX): Likewise.
17817 * nscd/selinux.c (preserve_capabilities): Likewise.
17818 * nscd/servicescache.c (addservbyX): Likewise.
17819 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17820 * posix/fnmatch.c (fnmatch): Likewise.
17821 * posix/getopt.c (_getopt_internal_r): Likewise.
17822 * posix/glob.c (glob, glob_in_dir): Likewise.
17823 * posix/wordexp.c (exec_comm_child): Likewise.
17824 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17825 (getanswer_r, gaih_getanswer_slice): Likewise.
17826 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17827 * resolv/res_init.c: Likewise.
17828 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17829 * resolv/res_query.c (__libc_res_nquery): Likewise.
17830 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17831 Likewise.
17832 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17833 * stdio-common/perror.c (perror): Likewise.
17834 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17835 * stdio-common/tmpnam.c (tmpnam): Likewise.
17836 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17837 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17838 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17839 Likewise.
17840 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17841 * stdlib/putenv.c (putenv): Likewise.
17842 * stdlib/setenv.c (__add_to_environ): Likewise.
17843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17844 * stdlib/strtol_l.c (INTERNAL): Likewise.
17845 * string/memmem.c (memmem): Likewise.
17846 * string/strerror.c (strerror): Likewise.
17847 * string/strnlen.c (__strnlen): Likewise.
17848 * string/test-memmem.c (simple_memmem): Likewise.
17849 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17850 * sunrpc/pm_getport.c (__get_socket): Likewise.
17851 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17852 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17853 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17854 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17855 Likewise.
17856 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17857 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17858 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17859 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17860 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17861 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17862 Likewise.
17863 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17864 Likewise.
17865 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17866 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17867 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17868 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17869 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17871 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17872 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17873 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17874 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17875 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17876 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17877 Likewise.
17878 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17879 Likewise.
17880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17881 Likewise.
17882 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17884 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17885 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17886 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17887 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17888 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17891 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17892 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17894 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17895 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17897 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17898 Likewise.
17899 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17900 Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17902 Likewise.
17903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17904 Likewise.
17905 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17907 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17908 Likewise.
17909 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17910 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17911 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17912 * sysdeps/posix/sleep.c: Likewise.
17913 * sysdeps/posix/tempname.c: Likewise.
17914 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17915 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17916 Likewise.
17917 * sysdeps/powerpc/powerpc32/dl-machine.h
17918 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17919 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17921 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17923 Likewise.
17924 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17926 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17928 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17929 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17930 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17931 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17932 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17933 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17934 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17935 (elf_machine_lazy_rel): Likewise.
17936 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17938 (elf_machine_lazy_rel): Likewise.
17939 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17940 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17941 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17942 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17943 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17944 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17947 Likewise.
17948 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17949 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17950 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17951 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17952 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17953 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17954 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17955 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17957 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17958 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17959 Likewise.
17960 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17961 (__posix_fallocate64_l64): Likewise.
17962 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17963 (posix_fallocate): Likewise.
17964 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17965 Likewise.
17966 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17967 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17968 (getifaddrs_internal): Likewise.
17969 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17971 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17972 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17973 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17974 (__posix_fallocate64_l64): Likewise.
17975 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17976 Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17978 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17979 (__get_clockfreq): Likewise.
17980 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17981 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17982 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17985 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17986 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17987 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17988 Likewise.
17989 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17990 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17991 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17992 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17994 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17995 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17996 Likewise.
17997 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17998 (posix_fallocate): Likewise.
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18000 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18001 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18002 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18003 (elf_machine_rela, elf_machine_rela_relative)
18004 (elf_machine_lazy_rel): Likewise.
18005 * time/asctime.c (asctime_internal): Likewise.
18006 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18007 * time/tzset.c (__tzset_parse_tz): Likewise.
18008 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18009 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18010 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18011 * wcsmbs/wcsmbsload.h: Likewise.
18012
18013 [BZ #15894]
18014 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18015
18016 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18017 (arena_get2): Remove THREAD_STATS conditionals.
18018 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18019 (__malloc_stats, int): Likewise.
18020
18021 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18022
18023 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18024 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18025
18026 * manual/setjmp.texi: Fix typos/grammar errors.
18027
18028 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18029 Only return early when n is <= 0. Delete unused return statement.
18030
18031 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18032 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18033 * debug/tst-longjmp_chk3.c: New file.
18034
18035 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18036 (test_main): Replace code with set_fortify_handler call.
18037 * debug/test-strcpy_chk.c: Likewise.
18038 * debug/tst-chk1.c: Likewise.
18039 * debug/tst-longjmp_chk.c: Likewise.
18040 * test-skeleton.c: Include fcntl.h & paths.h
18041 (set_fortify_handler): Define.
18042
18043 * debug/tst-longjmp_chk.c: Add header comment and include
18044 ../test-skeleton.c.
18045 (do_test): Mark static.
18046 (TEST_FUNCTION): Define.
18047
18048 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18049 (IP_PMTUDISC_INTERFACE): Likewise.
18050 (IP_MULTICAST_IF): Likewise.
18051 (IP_MULTICAST_TTL): Likewise.
18052 (IP_MULTICAST_LOOP): Likewise.
18053 (IP_ADD_MEMBERSHIP): Likewise.
18054 (IP_DROP_MEMBERSHIP): Likewise.
18055 (IP_UNBLOCK_SOURCE): Likewise.
18056 (IP_BLOCK_SOURCE): Likewise.
18057 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18058 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18059 (IP_MSFILTER): Likewise.
18060 (MCAST_JOIN_GROUP): Likewise.
18061 (MCAST_BLOCK_SOURCE): Likewise.
18062 (MCAST_UNBLOCK_SOURCE): Likewise.
18063 (MCAST_LEAVE_GROUP): Likewise.
18064 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18065 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18066 (MCAST_MSFILTER): Likewise.
18067 (IP_MULTICAST_ALL): Likewise.
18068 (IP_UNICAST_IF): Likewise.
18069
18070 * timezone/Makefile: Delete $(have-ksh) check.
18071 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18072 * timezone/tzselect.ksh: Add +x mode bits.
18073
18074 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18075 (ANON_INODE_FS_MAGIC): Likewise.
18076 (BDEVFS_MAGIC): Likewise.
18077 (BINFMTFS_MAGIC): Likewise.
18078 (BTRFS_TEST_MAGIC): Likewise.
18079 (CRAMFS_MAGIC_WEND): Likewise.
18080 (DEBUGFS_MAGIC): Likewise.
18081 (ECRYPTFS_SUPER_MAGIC): Likewise.
18082 (EXT3_SUPER_MAGIC): Likewise.
18083 (EXT4_SUPER_MAGIC): Likewise.
18084 (FUTEXFS_SUPER_MAGIC): Likewise.
18085 (HOSTFS_SUPER_MAGIC): Likewise.
18086 (HUGETLBFS_MAGIC): Likewise.
18087 (MINIX3_SUPER_MAGIC): Likewise.
18088 (MTD_INODE_FS_MAGIC): Likewise.
18089 (NILFS_SUPER_MAGIC): Likewise.
18090 (OPENPROM_SUPER_MAGIC): Likewise.
18091 (PIPEFS_MAGIC): Likewise.
18092 (PSTOREFS_MAGIC): Likewise.
18093 (QNX6_SUPER_MAGIC): Likewise.
18094 (RAMFS_MAGIC): Likewise.
18095 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18096 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18097 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18098 (SECURITYFS_MAGIC): Likewise.
18099 (SELINUX_MAGIC): Likewise.
18100 (SMACK_MAGIC): Likewise.
18101 (SOCKFS_MAGIC): Likewise.
18102 (SQUASHFS_MAGIC): Likewise.
18103 (STACK_END_MAGIC): Likewise.
18104 (TMPFS_MAGIC): Likewise.
18105 (USBDEVICE_SUPER_MAGIC): Likewise.
18106 (V9FS_MAGIC): Likewise.
18107 (XENFS_SUPER_MAGIC): Likewise.
18108 (CRAMFS_MAGIC): Fix typo in comment.
18109 (EXT2_SUPER_MAGIC): Update comment.
18110 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18111
18112 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18113
18114 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18115 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18116 * sysdeps/unix/sysv/linux/arm: Move directory from
18117 ports/sysdeps/unix/sysv/linux/arm.
18118 * README: Update listing for arm-*-linux-gnueabi.
18119
18120 * README: Remove mention of am33.
18121
18122 2014-02-07 Roland McGrath <roland@hack.frob.com>
18123
18124 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18125 than the comma operator, to avoid "rhs of comma has no effect"
18126 compiler warnings.
18127 (__sigfillset, __sigandset, __sigorset): Likewise.
18128 * include/signal.h (__sigemptyset): Likewise.
18129 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18130
18131 2014-02-07 Allan McRae <allan@archlinux.org>
18132
18133 * version.h (RELEASE): Set to "development".
18134 (VERSION): Set to "2.19.90"
18135 * NEWS: Add 2.20 section.
18136
18137 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18138
18139 [BZ #16529]
18140 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18141
18142 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18143
18144 * manual/contrib.texi: Update entry for Carlos O'Donell,
18145 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18146
18147 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18148
18149 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18150
18151 * sysdeps/unix/sysv/linux/kernel-features.h
18152 [__LINUX_KERNEL_VERSION >= 0x020621]
18153 (__ASSUME_PROC_PID_TASK_COMM): Define.
18154
18155 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18156
18157 [BZ #16398]
18158 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18159 conversion when destination buffer does not have enough space.
18160 * libio/tst-ftell-partial-wide.c: New test case.
18161 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18162
18163 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18164 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18165 Leonard and Allan McRae.
18166
18167 2014-02-04 David S. Miller <davem@davemloft.net>
18168
18169 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18170 32-bit.
18171
18172 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18173
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18175 New file
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18177 New file
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18179 New file.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18181 New file.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18183 New file.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18185 New file.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18187 New file.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18189 New file.
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18191 New file.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18193 New file.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18195 New file.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18197 New file.
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18199 New file.
18200
18201 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18202
18203 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18204 * shlib-versions: Likewise.
18205
18206 2014-02-04 Roland McGrath <roland@hack.frob.com>
18207 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18208
18209 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18210 (abilist-pattern): New variable, set to %-le.abilist.
18211
18212 * Makerules (abilist-pattern): New variable.
18213 (vpath): Use $(abilist-pattern) in place of %.abilist.
18214 (check-abi-% pattern rule): Likewise.
18215 (check-abi, update-abi): Likewise.
18216
18217 2014-02-04 Eric Wong <normalperson@yhbt.net>
18218
18219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18220
18221 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18222
18223 * manual/startup.texi: Add next, previous, and top entries for
18224 the `Program Arguments' and `Environment Variables' nodes.
18225
18226 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18227
18228 * manual/macros.texi: Add comments before MTASC-safety macros.
18229
18230 * manual/users.texi: Document MTASC-safety properties.
18231
18232 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18233 (pthread_getspecific, pthread_setspecific): Format with
18234 @deftypefun, and add @safety note.
18235 * manual/signal.texi: Move comments that analyze the above
18236 functions to their home place.
18237
18238 2014-02-03 Allan McRae <allan@archlinux.org>
18239
18240 * po/sl.po: Update Slovenian translation from translation project.
18241
18242 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18243
18244 * manual/time.texi (timegm): Add missing blank after @c.
18245 Reported by Joseph Myers <joseph@codesourcery.com>.
18246
18247 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
18248
18249 * manual/check-safety.sh: New.
18250 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18251
18252 * manual/terminal.texi: Document MTASC-safety properties.
18253
18254 * manual/filesys.texi: Document MTASC-safety properties.
18255
18256 * manual/errno.texi: Document MTASC-safety properties.
18257
18258 * manual/intro.texi: Document safety identifiers and
18259 conditionals.
18260
18261 * manual/string.texi (wcstok): Fix prototype.
18262 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18263
18264 * manual/time.texi: Document MTASC-safety properties.
18265
18266 * manual/string.texi: Document MTASC-safety properties.
18267
18268 * manual/threads.texi: Document MTASC-safety properties.
18269
18270 * manual/stdio.texi: Document MTASC-safety properties.
18271
18272 * manual/syslog.texi: Document MTASC-safety properties.
18273
18274 * manual/sysinfo.texi: Document MTASC-safety properties.
18275
18276 * manual/startup.texi: Document MTASC-safety properties.
18277
18278 * manual/socket.texi: Document MTASC-safety properties.
18279
18280 * manual/signal.texi: Document MTASC-safety properties.
18281
18282 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18283
18284 * manual/setjmp.texi: Document MTASC-safety properties.
18285
18286 * manual/search.texi: Document MTASC-safety properties.
18287
18288 * manual/resource.texi: Document MTASC-safety properties.
18289
18290 * manual/process.texi: Document MTASC-safety properties.
18291
18292 * manual/platform.texi: Document MTASC-safety properties.
18293
18294 * manual/pipe.texi: Document MTASC-safety properties.
18295
18296 * manual/pattern.texi: Document MTASC-safety properties.
18297
18298 * manual/message.texi: Document MTASC-safety properties.
18299
18300 [BZ #12751]
18301 * manual/memory.texi: Document MTASC-safety properties.
18302
18303 * manual/math.texi: Document MTASC-safety properties.
18304
18305 * manual/locale.texi: Document MTASC-safety properties.
18306
18307 * manual/llio.texi: Document MTASC-safety properties.
18308
18309 * manual/libdl.texi: New.
18310
18311 * manual/lang.texi: Document MTASC-safety properties.
18312
18313 * manual/job.texi: Document MTASC-safety properties.
18314
18315 * manual/getopt.texi: Document MTASC-safety properties.
18316
18317 * manual/ctype.texi: Document MTASC-safety properties.
18318
18319 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18320
18321 [BZ #16046]
18322 * csu/libc-tls.c (static_map): Remove variable.
18323 (__libc_setup_tls): Use main executable's link map for TLS data.
18324 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18325 casing for LM_ID_BASE and GL(dl_nns).
18326 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18327 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18328 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18329 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18330 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18331 member.
18332 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18333 l_phnum members.
18334
18335 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
18336
18337 * manual/debug.texi: Document MTASC-safety properties.
18338
18339 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18340
18341 [BZ #16510]
18342 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18343 of __x86_64__ when disabling x87 inline functions.
18344
18345 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
18346
18347 * manual/charset.texi: Document MTASC-safety properties.
18348
18349 * manual/crypt.texi: Document MTASC-safety properties.
18350
18351 * manual/conf.texi: Document MTASC-safety properties.
18352
18353 * manual/arith.texi: Document MTASC-safety properties.
18354
18355 * manual/argp.texi: Document MTASC-safety properties.
18356
18357 * manual/macros.texi: Introduce macros to document multi
18358 thread, asynchronous signal and asynchronous cancellation
18359 safety properties.
18360 * manual/intro.texi: Introduce the properties themselves.
18361
18362 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18363
18364 * sysdeps/sh/sh4/Makefile: New file.
18365
18366 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18367
18368 * math/gen-libm-test.pl ($srcdir): New variable.
18369 ($auto_input): Use it.
18370
18371 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18372
18373 [BZ #16506]
18374 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18375 access beyond array bounds when parsing netgroups file.
18376
18377 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18378 the old buffer before realloc.
18379
18380 2014-01-27 Allan McRae <allan@archlinux.org>
18381
18382 * po/fr.po: Update French translation from translation project.
18383
18384 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18385
18386 * sysdeps/sh/libm-test-ulps: Regenerate.
18387
18388 2014-01-24 David S. Miller <davem@davemloft.net>
18389
18390 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18391
18392 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18393
18394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18395 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18396
18397 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18398
18399 [BZ #16474]
18400 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18401 string pointers after reallocation.
18402
18403 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18404
18405 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18406 __SH4A__ instead of __SH_FPU_ANY__.
18407
18408 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18409
18410 * sysdeps/sh/fpu_control.h: New file.
18411 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18412 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18413 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18414 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18415 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18416 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18417 * sysdeps/sh/sys/ucontext.h: Remove.
18418 * sysdeps/sh/sys: Remove directory.
18419
18420 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18421
18422 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18423 s390/sys/ucontext.h.
18424 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18426
18427 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18428
18429 [BZ #15605]
18430 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18431
18432 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18433
18434 [BZ#16431]
18435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18436 Adjust the vDSO correctly for internal calls.
18437 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18438
18439 2014-01-20 Allan McRae <allan@archlinux.org>
18440
18441 * po/ca.po: Update Catalan translation from translation project.
18442
18443 2014-01-16 Mike Frysinger <vapier@gentoo.org>
18444
18445 * sysdeps/s390/sotruss-lib.c: New file.
18446
18447 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18448
18449 [BZ#16430]
18450 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18451 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18452 local calls issues by not having a PLT stub required for IFUNC calls.
18453 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18454
18455 2014-01-16 Joseph Myers <joseph@codesourcery.com>
18456
18457 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18458 * math/test-fpucw-static.c: Likewise.
18459
18460 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18461
18462 [BZ #16453]
18463 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18464
18465 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18466
18467 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18468 implementation for powerpc.
18469
18470 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
18471
18472 [BZ #14782]
18473 * sysdeps/posix/system.c (__libc_system): Do not enable
18474 asynchronous cancellation.
18475
18476 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18477
18478 [BZ #16427]
18479 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18480 handling only for numbers special also in the IEEE case.
18481
18482 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18483
18484 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18485
18486 2014-01-11 Allan McRae <allan@archlinux.org>
18487
18488 * po/bg.po: Update Bulgarian translation from translation project.
18489
18490 * po/de.po: Update German translation from translation project.
18491
18492 2014-01-10 Roland McGrath <roland@hack.frob.com>
18493
18494 * sysdeps/generic/gcc-compat.h: New file.
18495
18496 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18497
18498 * benchtests/asin-inputs: Correct slow inputs.
18499 * benchtests/acos-inputs: Likewise.
18500
18501 2014-01-10 Allan McRae <allan@archlinux.org>
18502
18503 * po:sv.po: Update Swedish translation from translation project.
18504
18505 * po/vi.po: Update Vietnamese translation from translation project.
18506
18507 * po/eo.po: Update Esperanto translation from translation project.
18508
18509 * po/cs.po: Update Czech translation from translation project.
18510
18511 * po/nl.po: Update Dutch translation from translation project.
18512
18513 * po/pl.po: Update Polish translation from translation project.
18514
18515 * po/ru.po: Update Russian translation from translation project.
18516
18517 * po/uk.po: Update Ukrainian translation from translation project.
18518
18519 2014-01-08 Brooks Moses <bmoses@google.com>
18520
18521 * elf/dl-load.c: Fix comment typo.
18522
18523 2014-01-08 Carlos O'Donell <carlos@redhat.com>
18524
18525 * po/header.pot: Rename to...
18526 * po/pot.header: ... this.
18527 * po/Makefile: Use pot.header.
18528
18529 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18530 Maxim Kuvyrkov <maxim@kugelworks.com>
18531
18532 [BZ #16394]
18533 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18534 SRC and DEST against LEN.
18535
18536 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18537
18538 [BZ #16414]
18539 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18540 implementation.
18541 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18542
18543 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18544
18545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18546
18547 2014-01-08 Joseph Myers <joseph@codesourcery.com>
18548
18549 [BZ #16408]
18550 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18551 for large positive arguments.
18552
18553 2014-01-07 Joseph Myers <joseph@codesourcery.com>
18554
18555 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18556
18557 * math/auto-libm-test-in: Mark various tests with
18558 xfail-rounding:ldbl-128ibm.
18559 * math/auto-libm-test-out: Regenerated.
18560
18561 [BZ #16407]
18562 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18563 Increase overflow threshold.
18564
18565 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
18566
18567 [BZ #14286]
18568 * stdio-common/vfprintf.c: Check for integer overflow.
18569
18570 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18571
18572 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18573 the first argument and return value of __tls_get_addr_internal.
18574
18575 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18576
18577 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18578 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18579
18580 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18581
18582 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18583 * sysdeps/s390/rtld-global-offsets.sym: New file.
18584 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18585 GLIBC_2.19 symbol.
18586 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18587 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18588 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18589 ... this.
18590 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18591 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18592 ... this.
18593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18594 Regenerate.
18595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18596 Regenerate.
18597 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18598 halfs of GPRs for high_gprs contexts.
18599 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18600 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18601 field.
18602 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18603 uc_flags field.
18604 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18605 64 bit versions:
18606 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18607 for high GPRs (uc_high_gprs) and for future extensions
18608 (__reserved).
18609 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18610 for future extensions (__reserved).
18611 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18612 64 bit versions:
18613 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18614 SC_HIGHGPRS offset definition.
18615 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18616 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18617
18618 * Versions.def: Add GLIBC_2.19 for libpthread.
18619 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18620 siglongjmp for libpthread with GLIBC_2.19 symver.
18621 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18622 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18623 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18624 * sysdeps/s390/__longjmp.c: New file.
18625 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18626 * sysdeps/s390/longjmp.c: New file.
18627 * sysdeps/s390/setjmp.S: New file.
18628 * sysdeps/s390/sigjmp.S: New file.
18629 * sysdeps/s390/v1-longjmp.c: New file.
18630 * sysdeps/s390/v1-setjmp.h: New file.
18631 * sysdeps/s390/v1-sigjmp.c: New file.
18632 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18633 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18634 GLIBC_2.19 version.
18635 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18636 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18637 versioned symbols for ____longjmp_chk.
18638 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18639 Likewise.
18640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18641 Regenerate.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18643 Regenerate.
18644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18645 Regenerate.
18646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18647 Regenerate.
18648 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18649 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18650 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18651 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18652 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18653 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18654 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18655 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18656 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18657 * sysdeps/s390/rtld-__longjmp.c: New file.
18658 * sysdeps/s390/rtld-setjmp.S: New file.
18659
18660 2014-01-06 Joseph Myers <joseph@codesourcery.com>
18661
18662 [BZ #16400]
18663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18664 Return -__logl (x) for small positive arguments without evaluating
18665 a polynomial.
18666
18667 2014-01-06 Mike Frysinger <vapier@gentoo.org>
18668
18669 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18670 Rename to ...
18671 (__ptrace_peeksiginfo_args): ... this.
18672 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18675
18676 2014-01-06 Allan McRae <allan@archlinux.org>
18677
18678 * inet/netinet/in.h: Fix typo in comment.
18679
18680 2014-01-05 Andreas Jaeger <aj@suse.de>
18681
18682 * sysdeps/i386/fpu/libm-test-ulps: Update.
18683
18684 2014-01-05 Allan McRae <allan@archlinux.org>
18685
18686 * po/libc.pot: Regenerated.
18687
18688 * malloc/memusagestat.c: Fix gettext call formatting.
18689
18690 2014-01-04 Sami Kerola <kerolasa@iki.fi>
18691
18692 * nscd/nscd.c: Improve usage() output.
18693
18694 2014-01-04 Mike Frysinger <vapier@gentoo.org>
18695
18696 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18697 * sysdeps/unix/sysv/linux/configure: Regenerated.
18698 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18699 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18700
18701 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18702
18703 [BZ #16390]
18704 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18705 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18706
18707 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18708
18709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18710 extra tokens at end of #undef directive.
18711 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18712 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18713 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18714
18715 2014-01-03 Joseph Myers <joseph@codesourcery.com>
18716
18717 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18718
18719 * math/auto-libm-test-in: Mark various tests with
18720 xfail-rounding:ldbl-128ibm.
18721 * math/auto-libm-test-out: Regenerated.
18722
18723 2014-01-02 Joseph Myers <joseph@codesourcery.com>
18724
18725 [BZ #16386]
18726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18727 numbers with subnormal high part when calculating exponent.
18728
18729 [BZ #16385]
18730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18731 fabs.
18732
18733 [BZ #16384]
18734 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18735 M_LN2l.
18736 (__ieee754_acoshl): Use __log1pl not __log1p.
18737
18738 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
18739
18740 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18741 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18742 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18743 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18744 (reused_arena, arena_get2): Convert to GNU style.
18745 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18746 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18747 (memalign_check, __malloc_set_state): Likewise.
18748 * malloc/mallocbug.c (main): Likewise.
18749 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18750 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18751 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18752 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18753 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18754 (__posix_memalign, malloc_info): Likewise.
18755 * malloc/malloc.h: Likewise.
18756 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18757 (mallochook, memalignhook, reallochook, mabort): Likewise.
18758 * malloc/mcheck.h: Likewise.
18759 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18760 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18761 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18762 * malloc/morecore.c (__default_morecore): Likewise.
18763 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18764 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18765 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18766 (print_and_abort): Likewise.
18767 * malloc/obstack.h: Likewise.
18768 * malloc/set-freeres.c (__libc_freeres): Likewise.
18769 * malloc/tst-mallocstate.c (main): Likewise.
18770 * malloc/tst-mtrace.c (main): Likewise.
18771 * malloc/tst-realloc.c (do_test): Likewise.
18772
18773 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18774
18775 [BZ #16366]
18776 * nscd/netgroupcache.c (do_notfound): New function.
18777 (addgetnetgrentX): Use it.
18778
18779 [BZ # 16365]
18780 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18781 NSS_STATUS_NOTFOUND.
18782
18783 2014-01-01 Joseph Myers <joseph@codesourcery.com>
18784
18785 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18787
18788 2014-01-01 Allan McRae <allan@archlinux.org>
18789
18790 * scripts/update-copyrights: Update configure input file suffix.
18791
18792 * NEWS: Update copyright year.
18793 * catgets/gencat.c: Likewise.
18794 * csu/version.c: Likewise.
18795 * debug/catchsegv.sh: Likewise.
18796 * debug/pcprofiledump.c: Likewise.
18797 * debug/xtrace.sh: Likewise.
18798 * elf/ldconfig.c: Likewise.
18799 * elf/ldd.bash.in: Likewise.
18800 * elf/pldd.c: Likewise.
18801 * elf/sotruss.ksh: Likewise.
18802 * elf/sprof.c: Likewise.
18803 * iconv/iconv_prog.c: Likewise.
18804 * iconv/iconvconfig.c: Likewise.
18805 * locale/programs/locale.c: Likewise.
18806 * locale/programs/localedef.c: Likewise.
18807 * login/programs/pt_chown.c: Likewise.
18808 * malloc/memusage.sh: Likewise.
18809 * malloc/memusagestat.c: Likewise.
18810 * malloc/mtrace.pl: Likewise.
18811 * manual/libc.texinfo: Likewise.
18812 * nscd/nscd.c: Likewise.
18813 * nss/getent.c: Likewise.
18814 * nss/makedb.c: Likewise.
18815 * posix/getconf.c: Likewise.
18816 * scripts/test-installation.pl: Likewise.
18817
18818 * All files with FSF copyright notices: Update copyright dates
18819 using scripts/update-copyrights.
18820 * intl/plural.c: Regenerated.
18821 * locale/programs/charmap-kw.h: Likewise.
18822 * locale/programs/locfile-kw.h: Likewise.
18823
18824 2013-12-31 Mike Frysinger <vapier@gentoo.org>
18825
18826 * sysdeps/unix/sysv/linux/configure: Regenerated.
18827 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18828 the linux/fanotify.h header.
18829 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18830 HAVE_LINUX_FANOTIFY_H is defined.
18831
18832 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18833
18834 * benchtests/cos-inputs: New inputs.
18835 * benchtests/sin-inputs: Likewise.
18836
18837 * benchtests/atan-inputs: New inputs. Fix name of multiple
18838 precision fallback inputs.
18839
18840 * benchtests/atanh-inputs: New inputs.
18841 * benchtests/tanh-inputs: Likewise.
18842
18843 * benchtests/acosh-inputs: New inputs.
18844 * benchtests/asinh-inputs: Likewise.
18845
18846 * benchtests/cosh-inputs: New inputs.
18847 * benchtests/sinh-inputs: Likewise.
18848
18849 * benchtests/acos-inputs: Add more inputs.
18850 * benchtests/asin-inputs: Likewise.
18851
18852 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
18853
18854 [BZ #16375]
18855 * manual/arith.texi: Fix spelling.
18856 * manual/charset.texi: Likewise.
18857 * manual/errno.texi: Likewise.
18858 * manual/filesys.texi: Likewise.
18859 * manual/lang.texi: Likewise.
18860 * manual/llio.texi: Likewise.
18861 * manual/locale.texi: Likewise.
18862 * manual/message.texi: Likewise.
18863 * manual/resource.texi: Likewise.
18864 * manual/search.texi: Likewise.
18865 * manual/setjmp.texi: Likewise.
18866 * manual/stdio.texi: Likewise.
18867 * manual/string.texi: Likewise.
18868 * manual/sysinfo.texi: Likewise.
18869 * manual/time.texi: Likewise.
18870
18871 2013-12-27 Carlos O'Donell <carlos@redhat.com>
18872
18873 * po/sl.po: New file.
18874
18875 2013-12-27 Mike Frysinger <vapier@gentoo.org>
18876
18877 * .gitignore: Add core/.gdbinit/.gdb_history.
18878
18879 2013-12-27 Allan McRae <allan@archlinux.org>
18880
18881 [BZ #16369]
18882 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18883 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18884
18885 2013-12-24 Brooks Moses <bmoses@google.com>
18886
18887 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18888 all compilers that claim C++98 compliance, not just GCC.
18889 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18890 Likewise.
18891
18892 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18893
18894 * NEWS: Restore accidentally deleted bug-fix entries.
18895
18896 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18897 Ondřej Bílka <neleai@seznam.cz>
18898
18899 [BZ #15073]
18900 * malloc/malloc.c (_int_free): Perform sanity check only if we
18901 have_lock.
18902
18903 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
18904
18905 [BZ #12986]
18906 * manual/stdio.texi (String Input Conversions): Clarify that character
18907 classes are not supported.
18908
18909 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18910
18911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18912
18913 2013-12-22 Joseph Myers <joseph@codesourcery.com>
18914
18915 [BZ #16337]
18916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18917 Calculate results for small negative arguments directly rather
18918 than using reflection formula with special underflow handling.
18919
18920 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18921 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18922 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18923 (fchflags): Likewise.
18924 (revoke): Likewise.
18925 (setlogin): Likewise.
18926 (sigaltstack): Likewise.
18927 (wait4): Likewise.
18928 (sigblock): Remove.
18929 (sigsetmask): Likewise.
18930 (wait3): Likewise.
18931 (waitpid): Likewise.
18932 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18933 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18934 file.
18935 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18936 * sysdeps/unix/bsd/Makefile: ... here.
18937 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18938 * sysdeps/unix/bsd/Versions: ... here.
18939 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18940 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18941 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18942 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18943 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18944 * sysdeps/unix/bsd/sigblock.c: ... here.
18945 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18946 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18947 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18948 * sysdeps/unix/bsd/sigvec.c: ... here.
18949 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18950 * sysdeps/unix/bsd/tcdrain.c: ... here.
18951 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18952 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18953 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18954 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18955 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18956 * sysdeps/unix/bsd/wait.c: ... here.
18957 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18958 * sysdeps/unix/bsd/wait3.c: ... here.
18959 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18960 * sysdeps/unix/bsd/waitpid.c: ... here.
18961
18962 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18963
18964 [BZ #16356]
18965 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18966 round-to-nearest for [!USE_AS_EXPM1L].
18967 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18968 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18969 more tests of exp and exp10. Expect some exp10 tests to miss
18970 exceptions or fail in directed rounding modes.
18971 * math/auto-libm-test-out: Regenerated.
18972 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18973 (exp10_test_tonearest): New function.
18974 (exp10_towardzero_test_data): New array.
18975 (exp10_test_towardzero): New function.
18976 (exp10_downward_test_data): New array.
18977 (exp10_test_downward): New function.
18978 (exp10_upward_test_data): New array.
18979 (exp10_test_upward): New function.
18980 (main): Call the new functions.
18981 * sysdeps/i386/fpu/libm-test-ulps: Update.
18982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983
18984 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18985
18986 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18987 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18988 * math/auto-libm-test-out: Regenerated.
18989 * math/libm-test.inc (acosh_test_data): Add more tests.
18990 (atanh_test_data): Likewise.
18991 (ceil_test_data): Likewise.
18992 (copysign_test_data): Likewise.
18993 * sysdeps/i386/fpu/libm-test-ulps: Update.
18994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18995
18996 * timezone/checktab.awk: Update from tzcode 2013i.
18997 * timezone/private.h: Likewise.
18998 * timezone/scheck.c: Likewise.
18999 * timezone/tzfile.h: Likewise.
19000 * timezone/tzselect.ksh: Likewise.
19001 * timezone/zdump.c: Likewise.
19002 * timezone/zic.c: Likewise.
19003
19004 * math/auto-libm-test-in: Add tests of cpow.
19005 * math/auto-libm-test-out: Regenerated.
19006 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19007 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19008 mpc_cc_c.
19009 (func_calc_desc): Add mpc_cc_c union field.
19010 (test_functions): Add cpow.
19011 (special_fill_2pi): New function.
19012 (special_real_inputs): Add 2pi.
19013 (calc_generic_results): Handle mpc_cc_c.
19014 * sysdeps/i386/fpu/libm-test-ulps: Update.
19015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19016
19017 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19018 csqrt, ctan and ctanh.
19019 * math/auto-libm-test-out: Regenerated.
19020 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19021 (TEST_COND_x86): Likewise.
19022 (ccos_test_data): Use AUTO_TESTS_c_c.
19023 (ccosh_test_data): Likewise.
19024 (cexp_test_data): Likewise.
19025 (clog_test_data): Likewise.
19026 (csqrt_test_data): Likewise.
19027 (ctan_test_data): Likewise.
19028 (ctan_tonearest_test_data): Likewise.
19029 (ctan_towardzero_test_data): Likewise.
19030 (ctan_downward_test_data): Likewise.
19031 (ctan_upward_test_data): Likewise.
19032 (ctanh_test_data): Likewise.
19033 (ctanh_tonearest_test_data): Likewise.
19034 (ctanh_towardzero_test_data): Likewise.
19035 (ctanh_downward_test_data): Likewise.
19036 (ctanh_upward_test_data): Likewise.
19037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19038 mpc_c_c.
19039 (func_calc_desc): Add mpc_c_c union field.
19040 (FUNC_mpc_c_c): New macro.
19041 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19042 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19043 ctanh.
19044 (special_fill_min_subnorm_p120): New function.
19045 (special_real_inputs): Add min_subnorm_p120.
19046 (calc_generic_results): Handle mpc_c_c.
19047 * sysdeps/i386/fpu/libm-test-ulps: Update.
19048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049
19050 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19051
19052 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19053 (do_sin_slow): New functions.
19054 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19055 (cslow2, csloww1, csloww2): Use the new functions.
19056
19057 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19058 Use M to change sign of result instead of X. Assume X is
19059 positive.
19060 (csloww1): Likewise.
19061 (__sin): Adjust.
19062 (__cos): Adjust.
19063
19064 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19065 arguments A and DA.
19066 (__sin): Adjust.
19067 (__cos): Likewise.
19068
19069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19070 (__cos): Likewise.
19071 (sloww1): Don't adjust sign of DX.
19072 (csloww1): Likewise.
19073 (sloww2): Use X directly and don't adjust sign of DX.
19074 (csloww2): Likewise.
19075
19076 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19077
19078 * math/auto-libm-test-in: Add tests of cabs and carg.
19079 * math/auto-libm-test-out: Regenerated.
19080 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19081 (carg_test_data): Likewise.
19082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19083 mpc_c_f.
19084 (func_calc_desc): Add mpc_c_f union field.
19085 (test_functions): Add cabs and carg.
19086 (calc_generic_results): Handle mpc_c_f.
19087
19088 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19089 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19090 as a macro and a compat symbol.
19091 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19092 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19093 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19094 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19095 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19096 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19097 not use .hidden.
19098 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19099 Likewise.
19100 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19101 Likewise.
19102 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19103 Likewise.
19104 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19105 Likewise.
19106 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19107 Likewise.
19108 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19109 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19110 from GLIBC_2.3.2.
19111
19112 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19113
19114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19115
19116 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19117
19118 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19119 trailing whitespace removed.
19120 * scripts/config.guess: Update to version 2013-11-29.
19121 * scripts/config.sub: Update to version 2013-10-01.
19122
19123 * math/auto-libm-test-in: Add tests of sincos.
19124 * math/auto-libm-test-out: Regenerated.
19125 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19126 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19127 mpfr_f_11.
19128 (func_calc_desc): Add mpfr_f_11 union field.
19129 (test_functions): Add sincos.
19130 (calc_generic_results): Handle mpfr_f_11.
19131 * sysdeps/i386/fpu/libm-test-ulps: Update.
19132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19133
19134 2013-12-19 Andreas Schwab <schwab@suse.de>
19135
19136 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19137 CALL_MCOUNT.
19138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19140 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19141
19142 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19143
19144 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19145 * sysdeps/i386/fpu/libm-test-ulps: Update.
19146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19147
19148 [BZ #16293]
19149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19150 round-to-nearest mode when using frndint.
19151 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19152 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19154 Likewise.
19155 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19156 sinh test to fail.
19157 * math/auto-libm-test-out: Regenerated.
19158 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19159 (TEST_COND_x86): Likewise.
19160 (expm1_tonearest_test_data): New array.
19161 (expm1_test_tonearest): New function.
19162 (expm1_towardzero_test_data): New array.
19163 (expm1_test_towardzero): New function.
19164 (expm1_downward_test_data): New array.
19165 (expm1_test_downward): New function.
19166 (expm1_upward_test_data): New array.
19167 (expm1_test_upward): New function.
19168 (main): Run the new test functions.
19169 * sysdeps/i386/fpu/libm-test-ulps: Update.
19170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19171
19172 * include/features.h: Update comment documenting feature test
19173 macros. Mention _DEFAULT_SOURCE in comment.
19174 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19175 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19176 _BSD_SOURCE and _SVID_SOURCE.
19177 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19178 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19179 !_SVID_SOURCE]: Likewise.
19180 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19181 (__USE_POSIX_IMPLICITLY): Define.
19182 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19183 (_POSIX_SOURCE): Undefine and redefine.
19184 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19185 (_POSIX_C_SOURCE): Likewise.
19186 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19187 (Feature Test Macros): Update documentation of default features.
19188
19189 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19190
19191 * benchtests/Makefile: Add bench-strtok.
19192 * benchtests/bench-strtok.c: New file: strtok benchtest.
19193
19194 2013-12-19 Allan McRae <allan@archlinux.org>
19195
19196 * manual/install.texi: Suppress menu for plain text output.
19197 * INSTALL: Regenerated.
19198
19199 2013-12-18 Brooks Moses <bmoses@google.com>
19200
19201 [BZ #15846]
19202 * misc/getauxval.c: Include errno.h.
19203 (__getauxval): Set errno to ENOENT if the requested type is not
19204 found.
19205 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19206 don't declare with __attribute_const__.
19207 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19208 * manual/startup.texi: Document that getauxval sets errno.
19209
19210 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19211
19212 * math/auto-libm-test-in: Add tests of jn and yn.
19213 * math/auto-libm-test-out: Regenerated.
19214 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19215 (yn_test_data): Likewise.
19216 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19217 mpfr_if_f.
19218 (func_calc_desc): Add mpfr_if_f union field.
19219 (FUNC_mpfr_if_f): New macro.
19220 (test_functions): Add jn and yn.
19221 (calc_generic_results): Assert type of second input for
19222 mpfr_ff_f. Handle mpfr_if_f.
19223 (output_for_one_input_case): Disable all checking for arguments
19224 fitting floating-point types in case of an integer argument.
19225 * sysdeps/i386/fpu/libm-test-ulps: Update.
19226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19227
19228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19229 Don't expect fegetround reference in libm.so.
19230
19231 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19232
19233 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19234 $(config-cflags-nofma).
19235
19236 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19237
19238 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19239 * math/auto-libm-test-out: Regenerated.
19240
19241 [BZ #16338]
19242 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19243 to determine exponent and adjust argument to have exponent of -1.
19244 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19245 log2.
19246 * math/auto-libm-test-out: Regenerated.
19247 * sysdeps/i386/fpu/libm-test-ulps: Update.
19248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249
19250 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
19251
19252 * manual/probes.texi: Remove cases when per-thread arenas are
19253 disabled.
19254
19255 2013-12-18 Andreas Schwab <schwab@suse.de>
19256
19257 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19258 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19259 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19260 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19261 * sysdeps/i386/i686/multiarch/Makefile: Update.
19262 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19263
19264 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19265
19266 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19267 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19268
19269 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19270
19271 [BZ #15968]
19272 Support TZ transition times < 00:00:00.
19273 This is needed for version-3 tz-format files; it supports time
19274 stamps past 2037 for America/Godthab (the only entry in the tz
19275 database for which this change is relevant).
19276 * manual/time.texi (TZ Variable): Document transition times
19277 from -167:59:59 through -00:00:01.
19278 * time/tzset.c (tz_rule): Time of day is now signed.
19279 (__tzset_parse_tz): Parse negative time of day.
19280
19281 Document TZ transition times >= 25:00:00.
19282 * manual/time.texi (TZ Variable): Document transition times from
19283 25:00:00 through 167:59:59. These are already supported, and this
19284 support will help with version-3 tz-format files.
19285
19286 * manual/time.texi (TZ Variable): Modernize North America example
19287 to reflect current (i.e., 2007-and-later) daylight saving rules.
19288
19289 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19290
19291 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19292
19293 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19294 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19297 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19298 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19299 * sysdeps/unix/bsd/clock.c: Likewise.
19300 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19301 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19302 * sysdeps/unix/bsd/init-posix.c: Likewise.
19303 * sysdeps/unix/bsd/poll.c: Likewise.
19304 * sysdeps/unix/bsd/ptsname.c: Likewise.
19305 * sysdeps/unix/bsd/seekdir.c: Likewise.
19306 * sysdeps/unix/bsd/setegid.c: Likewise.
19307 * sysdeps/unix/bsd/seteuid.c: Likewise.
19308 * sysdeps/unix/bsd/setgid.c: Likewise.
19309 * sysdeps/unix/bsd/setrgid.c: Likewise.
19310 * sysdeps/unix/bsd/setruid.c: Likewise.
19311 * sysdeps/unix/bsd/setsid.c: Likewise.
19312 * sysdeps/unix/bsd/setuid.c: Likewise.
19313 * sysdeps/unix/bsd/sigaction.c: Likewise.
19314 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19315 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19316 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19317 * sysdeps/unix/bsd/telldir.c: Likewise.
19318 * sysdeps/unix/bsd/times.c: Likewise.
19319 * sysdeps/unix/bsd/usleep.c: Likewise.
19320
19321 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19322 ($(objpfx)libbsd-compat.a): Remove rule.
19323
19324 * include/features.h (__FAVOR_BSD): Do not define.
19325 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19326 features conflicting with POSIX.
19327 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19328 (_BSD_SOURCE): Remove description of not being a subset of other
19329 feature test macros.
19330 * manual/job.texi (getpgrp): Do not document BSD version.
19331 (getpgid): Do not document by reference to BSD getpgrp.
19332 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19333 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19334 * signal/signal.h [__FAVOR_BSD]: Likewise.
19335 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19336 instead of making contents conditional on [__FAVOR_BSD].
19337 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19338
19339 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340
19341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19342
19343 2013-12-17 Joseph Myers <joseph@codesourcery.com>
19344
19345 [BZ #16314]
19346 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19347 values below 2**-450, not 2**-500.
19348 * math/auto-libm-test-in: Don't allow spurious underflow from
19349 hypot.
19350 * math/auto-libm-test-out: Regenerated.
19351
19352 [BZ #16316]
19353 [BZ #16330]
19354 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19355 values of ha and hb and sort them after adjusting subnormal
19356 arguments.
19357 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19358 Likewise.
19359 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19360 values of ea and eb and sort them after adjusting subnormal
19361 arguments.
19362 * math/auto-libm-test-in: Do not expect some hypot tests of
19363 subnormals to fail. Add more hypot tests.
19364 * math/auto-libm-test-out: Regenerated.
19365
19366 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19367
19368 [BZ #13304]
19369 * sysdeps/sh/s_fma.c: New file.
19370 * sysdeps/sh/s_fmaf.c: New file.
19371 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19372 version.
19373 * sysdeps/sh/Implies: Add sh/soft-fp.
19374
19375 2013-12-16 Roland McGrath <roland@hack.frob.com>
19376
19377 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19378 level of indirection to members `objname', `errstring', `malloced'.
19379 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19380 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19381 it as the __longjmp argument (just pass 1 instead).
19382 (_dl_catch_error): Initialize C with argument pointers and address of
19383 volatile local ERRCODE rather than copying values out of C at return.
19384
19385 2013-12-16 Joseph Myers <joseph@codesourcery.com>
19386
19387 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19388 * math/auto-libm-test-out: Regenerated.
19389 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19390 (hypot_test_data): Likewise.
19391 (pow_test_data): Likewise.
19392 (pow_tonearest_test_data): Likewise.
19393 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19394 mpfr_ff_f.
19395 (func_calc_desc): Add mpfr_ff_f union field.
19396 (FUNC_mpfr_ff_f): New macro.
19397 (test_functions): Add atan2, hypot and pow.
19398 (special_fill_min): New function.
19399 (special_fill_minus_min): Likewise.
19400 (special_fill_min_subnorm): Likewise.
19401 (special_fill_minus_min_subnorm): Likewise.
19402 (special_real_inputs): Add min, -min, min_subnorm and
19403 -min_subnorm.
19404 (calc_generic_results): Handle mpfr_ff_f.
19405 * sysdeps/i386/fpu/libm-test-ulps: Update.
19406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19407
19408 2013-12-16 Will Newton <will.newton@linaro.org>
19409
19410 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19411 (Aligned Memory Blocks): Add documentation for aligned_alloc
19412 and suggest it as an alternative to posix_memalign.
19413 (Hooks for Malloc): Document __memalign_hook is also called
19414 for aligned_alloc. (Summary of Malloc): Add summary for
19415 aligned alloc. Document __memalign_hook is also called
19416 for aligned_alloc.
19417
19418 2013-12-16 Will Newton <will.newton@linaro.org>
19419
19420 * manual/memory.texi (Malloc Examples): Clarify default
19421 alignment documentation. Suggest posix_memalign rather
19422 than memalign or valloc.
19423 (Aligned Memory Blocks): Remove suggestion to use memalign
19424 or valloc. Remove obsolete comment about BSD.
19425 Document memalign errno values and mark the function obsolete.
19426 Document posix_memalign returned error codes. Mark valloc
19427 as obsolete. (Hooks for Malloc): __memalign_hook is also
19428 called for posix_memalign and valloc.
19429 (Summary of Malloc): Add posix_memalign to function summary.
19430 __memalign_hook is also called for posix_memalign and valloc.
19431
19432 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19433
19434 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19435 TAYLOR_SIN.
19436 (__sin): Adjust.
19437 (__cos): Likewise.
19438 (sloww): Use mynumber union. Expand ternary operator into
19439 if-else statements.
19440 (cslow): use mynumber union.
19441
19442 2013-12-16 Allan McRae <allan@archlinux.org>
19443
19444 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19445 * configure: Regenerated.
19446
19447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19448
19449 [BZ #14120]
19450 * configure.ac: Added --enable-maintainer-mode. Check for
19451 autoconf when enabled.
19452 * configure: Regenerated.
19453
19454 * nscd/nscd.service: New file.
19455 * nscd/nscd.tmpfiles: New file.
19456
19457 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
19458
19459 [BZ #12100]
19460 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19461 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19462 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19463 (strstr): Add __strstr_sse2_unaligned ifunc.
19464 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19465 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19466 (strcasestr): Remove __strcasestr_sse42 ifunc.
19467 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19470
19471 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19472
19473 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19474 * sysdeps/sh/bits/fenv.h: ... here.
19475 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19476
19477 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19478
19479 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19480
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19482 hypotf multiarch implementations.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19485 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19486 multiarch hypot for PPC64.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19490 multiarch hypotf for PPC64.
19491
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19493 modff multiarch implementations.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19497 multiarch modf for PPC64.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19501 multiarch modff for PPC64.
19502
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19504 and logl multiarch implementations.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19508 multiarch logb for PPC64.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19512 multiarch logb for PPC64.
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19516 multiarch logb for PPC64.
19517
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19519 isinff multiarch implementation.
19520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19521 file.
19522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19524 multiarch isinf for PPC64.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19526 file.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19528 multiarch isinff for PPC64.
19529
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19531 finitef multiarch implementation.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19533 file.
19534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19536 multiarch finite for PPC64.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19538 file.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19540 multiarch finitef for PPC64.
19541
19542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19543 lrint multiarch implementation.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19545 file.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19548 multiarch llrint for PPC64.
19549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19550 multiarch lrint for PPC64.
19551
19552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19553 copysignf multiarch implementation.
19554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19555 file.
19556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19557 file.
19558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19559 multiarch copysign for PPC64.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19561 multiarch copysignf for PPC64.
19562
19563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19564 multiarch implementation.
19565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19566 file.
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19568 file.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19572 file.
19573 multiarch llround for PPC64.
19574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19575 multiarch trunc for PPC64.
19576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19577 multiarch truncf for PPC64.
19578
19579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19580 multiarch implementation.
19581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19582 file.
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19584 file.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19586 file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19588 file.
19589 multiarch llround for PPC64.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19591 multiarch round for PPC64.
19592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19593 multiarch roundf for PPC64.
19594
19595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19596 multiarch implementation.
19597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19598 file.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19600 file.
19601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19602 file.
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19604 file.
19605 multiarch llround for PPC64.
19606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19607 multiarch floor for PPC64.
19608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19609 multiarch floorf for PPC64.
19610
19611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19612 multiarch implementation.
19613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19614 file.
19615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19616 file.
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19618 file.
19619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19620 file.
19621 multiarch llround for PPC64.
19622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19623 multiarch ceil for PPC64.
19624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19625 multiarch ceilf for PPC64.
19626
19627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19628 multiarch implementation.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19630 file.
19631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19632 file.
19633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19634 file.
19635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19636 multiarch llround for PPC64.
19637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19638 multiarch lround for PPC64.
19639
19640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19641 multiarch implementation.
19642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19645 file.
19646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19649 multiarch isnan for PPC64.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19651 multiarch isnanf for PPC64.
19652
19653 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19654 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19655 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19656 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19657 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19659
19660 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19661 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19664
19665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19666 multiarch implementations.
19667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19668 (__libc_ifunc_impl_list): Likewise.
19669 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19670 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19671 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19672 multiarch stpcpy for PPC64.
19673
19674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19675 multiarch implementations.
19676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19677 (__libc_ifunc_impl_list): Likewise.
19678 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19679 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19680 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19681 multiarch strcpy for PPC64.
19682
19683 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19684 redefine function name.
19685 (_wordcopy_fwd_dest_aligned): Likewise.
19686 (_wordcopy_bwd_aligned): Likewise.
19687 (_wordcopy_bwd_dest_aligned): Likewise.
19688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19689 multiarch implementations.
19690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19691 (__libc_ifunc_impl_list): Likewise.
19692 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19695 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19696 multiarch wcscpy for PPC64.
19697
19698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19699 multiarch implementations.
19700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19701 (__libc_ifunc_impl_list): Likewise.
19702 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19703 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19704 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19705 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19706 multiarch wcscpy for PPC64.
19707
19708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19709 multiarch implementations.
19710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19711 (__libc_ifunc_impl_list): Likewise.
19712 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19714 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19715 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19716 multiarch wcsrchr for PPC64.
19717
19718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19719 multiarch implementations.
19720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19721 (__libc_ifunc_impl_list): Likewise.
19722 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19723 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19724 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19726 multiarch wcschr for PPC64.
19727
19728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19729 multiarch implementations.
19730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19731 (__libc_ifunc_impl_list): Likewise.
19732 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19733 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19734 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19735 multiarch strchrnul for PPC64.
19736
19737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19738 implementations.
19739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19740 (__libc_ifunc_impl_list): Likewise.
19741 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19742 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19743 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19744 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19745 strchr for PPC64.
19746
19747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19748 implementations.
19749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19750 (__libc_ifunc_impl_list): Likewise.
19751 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19752 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19754 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19755 strncmp for PPC64.
19756
19757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19758 multiarch implementations.
19759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19760 (__libc_ifunc_impl_list): Likewise.
19761 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19762 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19763 strncasecmp for PPC64.
19764 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19765 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19766 multiarch strncasecmp_l for PPC64.
19767
19768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19769 multiarch implementations.
19770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19771 (__libc_ifunc_impl_list): Likewise.
19772 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19773 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19774 multiarch strcasecmp for PPC64.
19775 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19776 file.
19777 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19778 multiarch strcasecmp_l for PPC64.
19779
19780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19781 implementations.
19782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19783 (__libc_ifunc_impl_list): Likewise.
19784 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19785 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19786 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19787 strnlen for PPC64.
19788
19789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19790 implementations.
19791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19792 (__libc_ifunc_impl_list): Likewise.
19793 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19794 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19796 strlen for PPC64.
19797
19798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19799 implementations.
19800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19801 (__libc_ifunc_impl_list): Likewise.
19802 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19803 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19804 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19805 rawmemrchr for PPC64.
19806
19807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19808 implementation.
19809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19810 (__libc_ifunc_impl_list): Likewise.
19811 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19812 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19813 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19814 memrchr for PPC64.
19815
19816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19817 implementation.
19818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19819 (__libc_ifunc_impl_list): Likewise.
19820 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19821 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19822 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19823 memchr for PPC64.
19824
19825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19826 implementation.
19827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19828 (__libc_ifunc_impl_list): Likewise.
19829 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19830 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19831 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19832 mempcpy for PPC64.
19833
19834 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19835 avoid cretion of __bzero symbol.
19836 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19837 Likewise.
19838 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19839 Likewise.
19840 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19841 Likewise.
19842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19843 multiarch implementations.
19844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19845 (__libc_ifunc_impl_list): Likewise.
19846 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19847 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19848 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19849 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19850 bzero for PPC32.
19851 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19852 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19853 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19854 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19855 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19856 memset for PPC64.
19857 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19858
19859 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19861 implementations.
19862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19863 (__libc_ifunc_impl_list): Likewise.
19864 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19865 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19866 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19867 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19868 memcmp for PPC64.
19869
19870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19871 multiarch for POWER/PPC64.
19872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19873 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19874 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19875 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19876 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19877 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19878 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19880 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19881 memcpy for PPC64.
19882
19883 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19885 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19886 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19887 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19888 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19889 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19890 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19891 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19892 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19893 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19894 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19895 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19896 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19897 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19905
19906 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19907
19908 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19909
19910 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19911
19912 * benchtests/Makefile (bench): Add exp2 and log2.
19913 (LDLIBS-bench-exp2): Add -lm.
19914 (LDLIBS-bench-log2): Likewise.
19915 * benchtests/exp2-inputs: New inputs file.
19916 * benchtests/log2-inputs: New inputs file.
19917 * benchtests/log-inputs: Add new inputs.
19918 * benchtests/tan-inputs: Likewise.
19919
19920 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19921
19922 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19923 definition...
19924 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19925 (csloww2): ... from here.
19926
19927 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19928 instead of structures.
19929 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19930 (POLYNOMIAL): Likewise.
19931 (TAYLOR_SLOW): Likewise.
19932 (__sin): Likewise.
19933 (__cos): Likewise.
19934 (slow1): Likewise.
19935 (slow2): Likewise.
19936 (sloww): Likewise.
19937 (sloww1); Likewise.
19938 (sloww2): Likewise.
19939 (bsloww1): Likewise.
19940 (bsloww2): Likewise.
19941 (cslow2): Likewise.
19942 (csloww): Likewise.
19943 (csloww1): Likewise.
19944 (csloww2): Likewise.
19945
19946 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19947
19948 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19949 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19950 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19951 * malloc/hooks.c (realloc_check): Likewise.
19952
19953 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19954 * malloc/arena.c: Remove PER_THREAD conditional.
19955 [!PER_THREAD]: Remove code.
19956 (ptmalloc_unlock_all2): Likewise.
19957 (ptmalloc_init): Likewise.
19958 (_int_new_arena): Likewise.
19959 (arena_get2): Likewise.
19960 * malloc/hooks.c (__malloc_get_state): Likewise.
19961 (__malloc_set_state): Likewise.
19962 * malloc/malloc.c: Likewise.
19963 (struct malloc_state): Likewise.
19964 (struct malloc_par): Likewise.
19965 (__libc_realloc): Likewise.
19966 (__libc_mallopt): Likewise.
19967
19968 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19969
19970 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19971
19972 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19973
19974 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19975 macro to a function. Check for zero perturb_byte.
19976 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19977
19978 * malloc/malloc.c: (force_reg): Remove.
19979 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19980 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19981 force_reg by atomic_forced_read.
19982 * malloc/arena.c (ptmalloc_init): Likewise.
19983 * malloc/hooks.c (top_check): Likewise.
19984
19985 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19986
19987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19988
19989 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19990
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19992
19993 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19994
19995 * math/auto-libm-test-in: Add tests of lgamma.
19996 * math/auto-libm-test-out: Regenerated.
19997 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19998 (M_LOG_2_SQRT_PIl): Likewise.
19999 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20000 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20001 mpfr_f_f1.
20002 (func_calc_desc): Add mpfr_f_f1 union field.
20003 (ARGS1): New macro.
20004 (ARGS2): Likewise.
20005 (ARGS3): Likewise.
20006 (ARGS4): Likewise.
20007 (RET1): Likewise.
20008 (RET2): Likewise.
20009 (CALC): Likewise.
20010 (FUNC): Likewise.
20011 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20012 (test_functions): Add lgamma.
20013 (calc_generic_results): Handle mpfr_f_f1.
20014 * sysdeps/i386/fpu/libm-test-ulps: Update.
20015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20016
20017 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20018
20019 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20020 __mpn_add_n for PowerPC64/POWER7.
20021 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20022 __mpn_sub_n for PowerPC64/POWER7.
20023
20024 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20025 __mpn_addmul_1 for PowerPC64.
20026 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20027 __mpn_submul_1 for PowerPC64.
20028 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20029 for PowerPC64.
20030 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20031 for PowerPC64.
20032
20033 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20034
20035 [BZ #15089]
20036 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20037
20038 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20039
20040 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20041
20042 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20043 add multiarch folders.
20044 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20045 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20046 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20047 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20048 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20049 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20050 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20051 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20052 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20053 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20054 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20061
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20063 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20065 New file.
20066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20067 New file.
20068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20069 multiarch __ieee754_hypot for PowerPC32.
20070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20071 New file.
20072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20073 New file.
20074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20075 multiarch __ieee754_hypotf for PowerPC32.
20076
20077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20078 long_double_symbol only if __logbl is defined.
20079 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20080 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20082 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20084 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20085 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20086 path for implementation.
20087 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20090 logb, and logbl multiarch implementations for PowerPC32.
20091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20092 file.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20094 file.
20095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20096 multiarch logb for PowerPC32.
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20098 file.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20100 file.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20102 multiarch logbf for PowerPC32.
20103 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20105 file.
20106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20107 multiarch logbl implementation for PowerPC32.
20108
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20110 and modff multiarch implementations.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20112 New file.
20113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20114 New file.
20115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20116 multiarch modf for PowerPC32.
20117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20118 New file.
20119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20120 New file.
20121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20122 multiarch modff for PowerPC32.
20123
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20125 and lrintf multiarch implementations.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20127 New file.
20128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20129 New file.
20130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20131 multiarch lrint for PowerPC32.
20132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20133 file: multiarch lrintf for PowerPC32.
20134
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20136 and lroundf multiarch implementations.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20138 New file.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20140 New file.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20142 New file.
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20144 multiarch lround for PowerPC32.
20145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20146 file: multiarch lroundf for PowerPC32.
20147
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20149 copysign and copysignf multiarch implementations.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20151 New file.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20153 New file.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20155 file: multiarch copysign for PowerPC32.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20157 file: multiarch copysignf for PowerPC32.
20158
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20160 and truncf multiarch implementations.
20161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20162 New file.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20164 file.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20166 multiarch trunc for PowerPC32.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20168 New file.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20170 New file.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20172 multiarch truncf for PowerPC32.
20173
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20175 and roundf multiarch implementations.
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20177 New file.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20179 file.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20181 multiarch round for PowerPC32.
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20183 New file.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20185 New file.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20187 multiarch roundf for PowerPC32.
20188
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20190 and floorf multiarch implementations.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20192 New file.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20194 file.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20196 multiarch floor for PowerPC32.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20198 New file.
20199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20200 New file.
20201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20202 multiarch floorf for PowerPC32.
20203
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20205 and ceilf multiarch implementations.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20207 New file.
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20209 file.
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20211 multiarch ceil for PowerPC32.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20213 New file.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20215 file.
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20217 multiarch ceilf for PowerPC32.
20218
20219 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20220 is defined.
20221 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20222 FINITEF is defined.
20223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20224 and finitef multiarch implementations.
20225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20226 New file.
20227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20228 file.
20229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20230 multiarch finite for PowerPC32.
20231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20232 New file.
20233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20234 file: multiarch finitef for PowerPC32.
20235
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20237 and isinff multiarch implementations.
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20239 file.
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20241 file.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20243 multiarch isinf for PowerPC32.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20245 New file.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20247 multiarch isinff for PowerPC32.
20248
20249 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20250 alias when __isnan is defined.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20252 and isnanf multiarch implementations.
20253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20254 file.
20255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20256 file.
20257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20258 file.
20259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20260 file.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20262 multiarch isnan for PowerPC32.
20263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20264 New file.
20265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20266 New file.
20267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20268 multiarch isnanf for PowerPC32.
20269
20270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20271 and sqrtf multiarch implementations.
20272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20273 file.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20275 file.
20276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20277 multiarch sqrt for PowerPC32.
20278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20279 file.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20281 file.
20282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20283 multiarch sqrtf for PowerPC32.
20284
20285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20286 and llroundf multiarch implementations.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20288 New file.
20289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20290 New file.
20291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20292 New file.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20294 file: multiarch llround for PowerPC32.
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20296 file: multiarch llroundf for PowerPC32.
20297
20298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20299 multiarch PowerPC32 fpu implementations.
20300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20301 New file.
20302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20303 New file.
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20305 multiarch llrint for PowerPC32.
20306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20307 New file.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20309 New file.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20311 file.
20312
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20314
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20316 file.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20318 file.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20320 file.
20321 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20322 multiarch wordcopy for PPC32.
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20324 wordcopy objects.
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20326 (__libc_ifunc_impl_list): Likewise.
20327 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20328 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20329 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20330 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20331 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20332 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20333
20334 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20336 file.
20337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20338 file.
20339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20340 file.
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20342 multiarch wcscpy for PPC32.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20344 multiarch objects.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20346 (__libc_ifunc_impl_list): Likewise.
20347 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20348 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20349 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20350 sysdeps/powerpc/power6/wcscpy.c.
20351
20352 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20354 file.
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20356 file.
20357 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20358 file.
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20360 multiarch wcsrchr for PPC32.
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20362 multiarch objects.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20364 (__libc_ifunc_impl_list): Likewise.
20365 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20366 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20367 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20368 sysdeps/powerpc/power6/wcsrchr.c.
20369
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20371 file.
20372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20373 file.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20376 multiarch wcschr for PPc32.
20377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20378 multiarch objects.
20379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20380 (__libc_ifunc_impl_list): Likewise.
20381 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20382 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20383 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20384 sysdeps/powerpc/power6/wcschr.c.
20385
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20388 file.
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20390 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20391 file: multiarch strchr for PPC32.
20392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20393 multiarch objects.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20395 (__libc_ifunc_impl_list): Likewise.
20396
20397 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20398 name.
20399 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20400 file.
20401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20402 file.
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20404 multiarch strchrnul for PPC32.
20405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20406 multiarch objects.
20407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20408 (__libc_ifunc_impl_list): Likewise.
20409
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20411 file.
20412 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20413 multiarch strncasecmp for PPC32.
20414 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20415 file.
20416 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20417 multiarch strncasecmp_l for PPC32.
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20419 strncasecmp multiarch objects.
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20421 (__libc_ifunc_impl_list): Likewise.
20422
20423 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20424 file.
20425 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20426 multiarch strncasecmp for PPC32.
20427 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20428 New file.
20429 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20430 multiarch strcasecmp_l for PPC32.
20431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20432 multiarch objects.
20433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20434 (__libc_ifunc_impl_list): Likewise.
20435
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20437 file.
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20439 file.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20441 multiarch strncmp for PPC32.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20443 multiarch objects.
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20445 (__libc_ifunc_impl_list): Likewise.
20446
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20448 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20449 file.
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20453 multiarch objects.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20455 (__libc_ifunc_impl_list): Likewise.
20456
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20458 file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20460 file.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20463 multiarch objects.
20464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20465 (__libc_ifunc_impl_list): Likewise.
20466
20467 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20468 file.
20469 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20470 file.
20471 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20472 multiarch rawmemchr for PPC32.
20473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20474 multiarch objects.
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20476 (__libc_ifunc_impl_list): Likewise.
20477
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20479 file.
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20481 file.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20483 file: memrchr multiarch for PPC32.
20484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20485 multiarch objects.
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20487 (__libc_ifunc_impl_list): Likewise.
20488
20489 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20490 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20491 file.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20494 multiarch memchr for PPC32.
20495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20496 multiarch objects.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20498 (__libc_ifunc_impl_list): Likewise.
20499
20500 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20502 file.
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20504 file.
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20506 file: multiarch mempcpy for PPC32.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20508 multiarch objects.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20510 (__libc_ifunc_impl_list): Likewise.
20511
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20513 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20515 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20516 multiarch bzero for PPC32.
20517 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20518 file.
20519 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20520 file.
20521 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20522 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20523 file: multiarch memset for PPC32.
20524 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20526 memset multiarch objects.
20527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20528 (__libc_ifunc_impl_list): Likewise.
20529
20530 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20531 file.
20532 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20534 memcmp for PPC32.
20535 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20537 multiarch objects.
20538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20539 (__libc_ifunc_impl_list): Likewise.
20540
20541 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20543 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20544 file.
20545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20546 file.
20547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20548 file.
20549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20550 multiarch memcpy for PPC32.
20551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20552 multiarch objects.
20553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20554 (__libc_ifunc_impl_list): Likewise.
20555
20556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20557 support multiarch for POWER/PPC32.
20558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20559 Likewise.
20560 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20562 Implies file to make multiarch folder appers before the fpu and
20563 default folder for power4 configuration.
20564
20565 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20566
20567 * scripts/bench.pl: Append volatile keyword to type.
20568
20569 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20570
20571 * sysdeps/sh/sotruss-lib.c: New file.
20572 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20573
20574 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20575
20576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20577
20578 2013-12-05 Joseph Myers <joseph@codesourcery.com>
20579
20580 [BZ #6810]
20581 * math/w_tgamma.c: Include <errno.h>.
20582 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20583 * math/w_tgammaf.c: Include <errno.h>.
20584 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20585 * math/w_tgammal.c: Include <errno.h>.
20586 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20587 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20588 underflow. Add more tgamma tests.
20589 * math/auto-libm-test-out: Regenerated.
20590 * sysdeps/i386/fpu/libm-test-ulps: Update.
20591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20592
20593 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20594 sin, sinh, tan, tanh, tgamma, y0 and y1.
20595 * math/auto-libm-test-out: Regenerated.
20596 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20597 (TEST_COND_x86): Likewise.
20598 (M_E2l): Remove macro.
20599 (M_E3l): Likewise.
20600 (M_2_SQRT_PIl): Likewise.
20601 (M_SQRT_PIl): Likewise.
20602 (M_1_DIV_El): Likewise.
20603 (log_test_data): Use AUTO_TESTS_f_f.
20604 (log10_test_data): Likewise.
20605 (log1p_test_data): Likewise.
20606 (log2_test_data): Likewise.
20607 (sin_test_data): Likewise.
20608 (sin_tonearest_test_data): Likewise.
20609 (sin_towardzero_test_data): Likewise.
20610 (sin_downward_test_data): Likewise.
20611 (sin_upward_test_data): Likewise.
20612 (sinh_test_data): Likewise.
20613 (sinh_tonearest_test_data): Likewise.
20614 (sinh_towardzero_test_data): Likewise.
20615 (sinh_downward_test_data): Likewise.
20616 (sinh_upward_test_data): Likewise.
20617 (tan_test_data): Likewise.
20618 (tan_tonearest_test_data): Likewise.
20619 (tan_towardzero_test_data): Likewise.
20620 (tan_downward_test_data): Likewise.
20621 (tan_upward_test_data): Likewise.
20622 (tanh_test_data): Likewise.
20623 (tgamma_test_data): Likewise.
20624 (y0_test_data): Likewise.
20625 (y1_test_data): Likewise.
20626 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20627 (special_real_inputs): Add pi/4.
20628 * sysdeps/i386/fpu/libm-test-ulps: Update.
20629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20630
20631 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20632
20633 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20634 "longjmp_target" static probes.
20635 (__longjmp): Rename to __longjmp_symbol.
20636 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20637 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20638 on which longjmp to generate.
20639 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20640 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20641 probe.
20642 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20643 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20644 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20645 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20646 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20647 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20649 __longjmp_symbol based on which __longjmp to generate.
20650 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20651 probe.
20652 (setjmp): Rename to setjmp_symbol.
20653 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20654 (_setjmp): Rename to _setjmp_symbol.
20655 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20656 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20657 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20658 which setjmp to generate.
20659 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20660 "longjmp_target" static probes.
20661
20662 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20663
20664 * benchtests/README: Add note about output arguments.
20665 * benchtests/bench-sincos.c: Remove file.
20666 * benchtests/sincos-inputs: New file.
20667 * scripts/bench.pl: Identify output arguments and define
20668 static variables for them.
20669
20670 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20671
20672 [BZ #15941]
20673 * Makefile (INSTALL): Add install-plain.texi as the primary
20674 dependency.
20675 * manual/install-plain.texi: New file.
20676 * manual/install.texi: Include node directive only for
20677 non-plaintext output.
20678
20679 2013-12-04 Joseph Myers <joseph@codesourcery.com>
20680
20681 * stdlib/longlong.h: Update from GCC.
20682
20683 [BZ #6807]
20684 [BZ #15901]
20685 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20686 * math/w_j0f.c (y0f): Likewise.
20687 * math/w_j0l.c (__y0l): Likewise.
20688 * math/w_j1.c (y1): Likewise.
20689 * math/w_j1f.c (y1f): Likewise.
20690 * math/w_j1l.c (__y1l): Likewise
20691 * math/w_jn.c (yn): Likewise.
20692 * math/w_jnf.c (ynf): Likewise.
20693 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20694 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20695 value for Bessel function domain errors outside _SVID_ mode.
20696 Adjust sign of return value for yn (negative integer, 0).
20697 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20698 by zero in return for negative x and set sign appropriately for
20699 negative n.
20700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20701 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20702 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20703 expectations in error cases.
20704 (y1_test_data): Likewise.
20705 (yn_test_data): Likewise.
20706 * sysdeps/i386/fpu/libm-test-ulps: Update.
20707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20708
20709 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20710
20711 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20712 "64" to "64-v1". Add "64-v2".
20713 (abi-64-options): Rename to ...
20714 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20715 (abi-64-condition): Rename to ...
20716 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20717 (abi-64-ld-soname): Rename to ...
20718 (abi-64-v1-ld-soname): ... this.
20719 (abi-64-v2-options): Define.
20720 (abi-64-v2-condition): Likewise.
20721 (abi-64-v2-ld-soname): Likewise.
20722 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20723 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20727
20728 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20729 Alan Modra <amodra@gmail.com>
20730
20731 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20732 New versions for use with the ELFv2 ABI.
20733 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20734 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20735 declaration.
20736 (struct La_ppc64v2_retval): Likewise.
20737 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20738 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20739 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20740 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20741 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20742 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20743 Do not save or restore CR.
20744 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20745 (_dl_profile_resolve): Do no save or restore CR. Support extended
20746 return values for ELFv2 ABI. Fix location of FPR return registers.
20747 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20748 updated values for _CALL_ELF == 2.
20749 (La_regs, La_retval, int_retval): Likewise.
20750
20751 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20752
20753 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20754 (FRAME_MIN_SIZE_PARM): Likewise.
20755 (FRAME_BACKCHAIN): Likewise.
20756 (FRAME_CR_SAVE): Likewise.
20757 (FRAME_LR_SAVE): Likewise.
20758 (FRAME_TOC_SAVE): Likewise.
20759 (FRAME_PARM_SAVE): Likewise.
20760 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20761 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20762 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20763 (call_mcount_parm_offset): New macro.
20764 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20765 (PROF): Use symbolic stack frame offsets.
20766 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20767 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20768 Redefine in terms of FRAME_MIN_SIZE.
20769 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20770 (_dl_profile_resolve): Likewise. Update comment.
20771 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20772 symbols stack frame offsets.
20773 (__sigsetjmp): Likewise.
20774 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20775 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20776 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20777 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20778
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20780 (FRAME_BACKCHAIN): Remove.
20781 (FRAME_CR_SAVE): Likewise.
20782 (FRAME_LR_SAVE): Likewise.
20783 (FRAME_COMPILER_DW): Likewise.
20784 (FRAME_LINKER_DW): Likewise.
20785 (FRAME_TOC_SAVE): Likewise.
20786 (FRAME_PARM_SAVE): Likewise.
20787 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20788 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20789 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20791 (CHECK_SP): Use symbolic stack frame offsets.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20793 zone" instead of caller's parameter save area for temp storage.
20794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20795 Likewise. Also, use symbolic stack frame offsets.
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20797 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20798 our own stack frame instead of the caller's.
20799 (__socket): Use symbolic stack frame offsets.
20800
20801 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20802 Alan Modra <amodra@gmail.com>
20803
20804 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20805 Define.
20806 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20807 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20808 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20809 New function.
20810 (elf_machine_fixup_plt): Call it.
20811 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20812 reloc arguments.
20813 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20814 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20815 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20816 r2 before calling target.
20817
20818 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20819 Alan Modra <amodra@gmail.com>
20820
20821 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20822 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20823 versions of macros to support ELFv2 ABI.
20824 (LOCALENTRY): New macro.
20825 (ENTRY, EALIGN): Use it.
20826 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20827 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20828 fall through into ENTRY entry point.
20829 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20830 Only define if _CALL_ELF != 2.
20831
20832 (elf_machine_matches_host): Verify ABI version matches.
20833 (RTLD_START): Use LOCALENTRY.
20834 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20835 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20836 (PLT_ENTRY_WORDS): New macro.
20837 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20838 (elf_machine_runtime_setup): Support ELFv2 ABI.
20839 (elf_machine_fixup_plt): Likewise.
20840 (elf_machine_plt_conflict): Likewise.
20841 (resolve_ifunc): Likewise.
20842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20843 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20844 Likewise.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20846 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20848 (makecontext): Support ELFv2 ABI.
20849 * elf/elf.h (EF_PPC64_ABI): Define.
20850
20851 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20852
20853 * sysdeps/powerpc/powerpc64/sysdep.h
20854 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20855 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20856 (ENTRY) [ASSEMBLER]: ... but instead here ...
20857 (EALIGN) [ASSEMBLER]: ... and here.
20858 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20859 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20860 (ENTRY_2) [!ASSEMBLER]: Use it.
20861 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20862 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20863 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20864 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20865 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20867 Use PPC64_LOAD_FUNCPTR.
20868
20869 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20870
20871 2013-12-04 Alan Modra <amodra@gmail.com>
20872
20873 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20874 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20875 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20876 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20877
20878 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20879 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20880 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20881 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20882 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20883 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20884
20885 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20886
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20888 (__makecontext): Fix incorrect CFI when backtracing out of
20889 context created via makecontext.
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20891 (__setcontext): Fix incorrect CFI during switch to new context.
20892 (__novec_setcontext): Likewise.
20893
20894 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20895
20896 [BZ #4772]
20897 * time/strptime_l.c (__strptime_internal): Allow modifiers
20898 in strptime.
20899 * time/tst-strptime.c (day_tests): Add testcase.
20900
20901 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20902
20903 * scripts/bench.pl: Skip over blank lines.
20904
20905 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20906
20907 [BZ #926]
20908 * manual/time.texi (Calendar Time): Clarify what timezone functions
20909 use.
20910
20911 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20912
20913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20914
20915 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
20916
20917 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20918 implementation.
20919 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20920 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20921 * debug/memset_chk.c (__memset_chk): Likewise.
20922 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20923 * debug/strncpy_chk.c: Likewise.
20924
20925 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20926
20927 [BZ #15268]
20928 [BZ #15425]
20929 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20930 (__ieee754_exp): For possibly underflowing results, check size of
20931 result and force underflow exception if required.
20932 * math/auto-libm-test-in: Add more tests of exp.
20933 * math/auto-libm-test-out: Regenerated.
20934 * sysdeps/i386/fpu/libm-test-ulps: Update.
20935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20936
20937 [BZ #16283]
20938 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20939 * math/w_exp2f.c (__exp2f): Likewise.
20940 * math/w_exp2l.c (__exp2l): Likewise.
20941 * math/auto-libm-test-in: Do not allow missing errno on exp2
20942 underflow.
20943 * math/auto-libm-test-out: Regenerated.
20944
20945 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20946
20947 [BZ #16274]
20948 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20949 handle filename validation.
20950 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20951 (do_open): Delete.
20952
20953 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20954
20955 [BZ #6786]
20956 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20957 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20958 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20959 <float.h>.
20960 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20961 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20962 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20964 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20965 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20966 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20967 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20968 Add more erfc tests.
20969 * math/auto-libm-test-out: Regenerated.
20970 * sysdeps/i386/fpu/libm-test-ulps: Update.
20971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20972
20973 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20974 exp2, expm1, j0 and j1.
20975 * math/auto-libm-test-out: Regenerated.
20976 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20977 (erfc_test_data): Likewise.
20978 (exp_test_data): Likewise.
20979 (exp_tonearest_test_data): Likewise.
20980 (exp_towardzero_test_data): Likewise.
20981 (exp_downward_test_data): Likewise.
20982 (exp_upward_test_data): Likewise.
20983 (exp10_test_data): Likewise.
20984 (exp2_test_data): Likewise.
20985 (expm1_test_data): Likewise.
20986 (j0_test_data): Likewise.
20987 (j1_test_data): Likewise.
20988 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20989 (input_flag_type): Add flag_xfail_rounding.
20990 (input_flags): Add xfail-rounding.
20991 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20992 (output_for_one_input_case): Handle flag_xfail_rounding.
20993 * sysdeps/i386/fpu/libm-test-ulps: Update.
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20995
20996 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20997
20998 [BZ #16289]
20999 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21000 division by 0.
21001
21002 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21003
21004 [BZ #16195]
21005 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21006 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21007 (STAP_PROBE0): New macro.
21008 (STAP_PROBE1): Likewise.
21009 (STAP_PROBE2): Likewise.
21010 (STAP_PROBE3): Likewise.
21011 (STAP_PROBE4): Likewise.
21012
21013 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21014
21015 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21016
21017 2013-12-02 Steve Ellcey <sellcey@mips.com>
21018
21019 * benchtests/Makefile (bench): Add sqrt.
21020 (LDLIBS-bench-sqrt): New.
21021 * benchtests/sqrt-input: New.
21022
21023 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21024
21025 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21026 (GAIH_EAI): Likewise.
21027 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21028 (gaih_inet): Likewise.
21029 (getaddrinfo): Don't use GAIH_EAI.
21030
21031 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21032 (struct gaih): Remove definition.
21033
21034 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21035
21036 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21037 Use HERRNOP directly.
21038
21039 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21040
21041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21042
21043 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21044
21045 * math/gen-auto-libm-tests.c (test_functions): Add more
21046 single-argument functions.
21047 (special_fill_pi_2): New function.
21048 (special_fill_minus_pi_2): Likewise.
21049 (special_fill_pi_6): Likewise.
21050 (special_fill_minus_pi_6): Likewise.
21051 (special_fill_pi_3): Likewise.
21052 (special_fill_2pi_3): Likewise.
21053 (special_fill_e): Likewise.
21054 (special_fill_1_e): Likewise.
21055 (special_fill_e_minus_1): Likewise.
21056 (special_real_inputs): Add more special inputs.
21057 (output_for_one_input_case): Do not require ERANGE on underflow to
21058 zero if round-to-nearest result does not underflow to zero, unless
21059 exact results required.
21060 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21061 atan, atanh, cbrt, cos and cosh.
21062 * math/auto-libm-test-out: Regenerated.
21063 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21064 (acos_tonearest_test_data): Likewise.
21065 (acos_towardzero_test_data): Likewise.
21066 (acos_downward_test_data): Likewise.
21067 (acos_upward_test_data): Likewise.
21068 (acosh_test_data): Likewise.
21069 (asin_test_data): Likewise.
21070 (asin_tonearest_test_data): Likewise.
21071 (asin_towardzero_test_data): Likewise.
21072 (asin_upward_test_data): Likewise.
21073 (asinh_test_data): Likewise.
21074 (atan_test_data): Likewise.
21075 (atanh_test_data): Likewise.
21076 (cbrt_test_data): Likewise.
21077 (cos_test_data): Likewise.
21078 (cos_tonearest_test_data): Likewise.
21079 (cos_towardzero_test_data): Likewise.
21080 (cos_downward_test_data): Likewise.
21081 (cos_upward_test_data): Likewise.
21082 (cosh_test_data): Likewise.
21083 (cosh_tonearest_test_data): Likewise.
21084 (cosh_towardzero_test_data): Likewise.
21085 (cosh_downward_test_data): Likewise.
21086 (cosh_upward_test_data): Likewise.
21087 * sysdeps/i386/fpu/libm-test-ulps: Update.
21088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21089
21090 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21091
21092 [BZ #6787]
21093 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21094 * math/w_exp10f.c (__exp10f): Likewise.
21095 * math/w_exp10l.c (__exp10l): Likewise.
21096 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21097 errno settings in existing tests.
21098
21099 [BZ #14032]
21100 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21101 precision control set to double precision.
21102 * sysdeps/i386/fpu/w_sqrt.c: New file.
21103 * math/auto-libm-test-in: Add more tests.
21104 * math/auto-libm-test-out: Update.
21105
21106 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21107 (sqrt_test_tonearest): New function.
21108 (sqrt_towardzero_test_data): New variable.
21109 (sqrt_test_towardzero): New function.
21110 (sqrt_downward_test_data): New variable.
21111 (sqrt_test_downward): New function.
21112 (sqrt_upward_test_data): New variable.
21113 (sqrt_test_upward): New function.
21114 (main): Call the new functions.
21115
21116 * math/gen-auto-libm-tests.c: New file.
21117 * math/auto-libm-test-in: Likewise.
21118 * math/auto-libm-test-out: New generated file.
21119 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21120 variables.
21121 (%beautify): Add generated representations of zero.
21122 (top level): Set $auto_input and call parse_auto_input.
21123 (beautify): Remove trailing "f" from hex float constants.
21124 (parse_args): Handle XFAIL_TEST.
21125 (convert_condition): New function.
21126 (or_value): Likewise.
21127 (or_cond_value): Likewise.
21128 (generate_testfile): Handle AUTO_TESTS_* lines.
21129 (parse_auto_input): New function.
21130 * math/libm-test.inc (XFAIL_TEST): New macro.
21131 (ERRNO_UNCHANGED): Update value.
21132 (ERRNO_EDOM): Likewise.
21133 (ERRNO_ERANGE): Likewise.
21134 (IGNORE_RESULT): Likewise.
21135 (TEST_COND_flt_32): New macro.
21136 (TEST_COND_dbl_64): Likewise.
21137 (TEST_COND_ldbl_96_intel): Likewise.
21138 (TEST_COND_ldbl_96_m68k): Likewise.
21139 (TEST_COND_ldbl_128): Likewise.
21140 (TEST_COND_ldbl_128ibm): Likewise.
21141 (TEST_COND_long32): Likewise.
21142 (TEST_COND_long64): Likewise.
21143 (TEST_COND_before_rounding): Likewise.
21144 (TEST_COND_after_rounding): Likewise.
21145 (enable_test): Handle XFAIL_TEST flag.
21146 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21147 with finite results.
21148 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21149 auto-libm-test-out.
21150
21151 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21152 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21153
21154 [BZ #16214]
21155 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21156 __tls_get_addr_internal instead of __tls_get_offset in order to
21157 avoid GOT pointer dependency. Make rtld export
21158 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21159 __tls_get_addr since we are a __tls_get_offset platform.
21160 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21161 GOT pointer being set up before.
21162 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21163
21164 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21165
21166 * manual/math.texi (Errors in Math Functions): Document accuracy
21167 goals.
21168
21169 [BZ #15004]
21170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21171 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21174 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21176 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21186
21187 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21188 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21189 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21190 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21191 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21192 Likewise.
21193 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21194 Likewise.
21195 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21196 Likewise.
21197 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21198 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21199 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21200 atomic-feupdateenv and flt-rounds.
21201 * sysdeps/powerpc/nofpu/Versions (libc): Add
21202 __atomic_feholdexcept, __atomic_feclearexcept,
21203 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21204 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21205 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21206 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21207 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21208 here.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21210 Update.
21211
21212 * manual/arith.texi (FP Exceptions): Document that exceptions may
21213 not be raised when matherr is used.
21214 (Math Error Reporting): Document overflow in directed rounding
21215 modes. Document that errno may not be set when finite values are
21216 returned on overflow. Document intent to set errno on underflow
21217 only for underflow to zero.
21218
21219 [BZ #16271]
21220 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21221 round-to-nearest then adjust result for other rounding modes.
21222 * include/fenv.h (fegetround): Use libm_hidden_proto.
21223 * math/fegetround.c (fegetround): Use libm_hidden_def.
21224 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21225 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21226 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21227 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21228 Likewise.
21229 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21231 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21232 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21233
21234 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21235
21236 [BZ #16077]
21237 * nss/Versions (libnss_files): Add
21238 _nss_files_gethostbyname3_r.
21239 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21240 New function.
21241 (HOST_DB_LOOKUP): Remove macro.
21242 (_nss_files_gethostbyname_r): Implement function without the
21243 HOST_DB_LOOKUP macro.
21244 (_nss_files_gethostbyname2_r): Likewise.
21245
21246 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
21247
21248 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21249
21250 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
21251
21252 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21253 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21254 warning.
21255
21256 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21257
21258 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21259 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21260 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21261 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21262 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21263 __fe_nomask_env_priv and attribute_hidden.
21264 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21265 (libc_feupdateenv_test_ppc): Likewise.
21266 (libc_feresetround_ppc): Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21268 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21269 compat_symbol macro.
21270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21271 (__fe_nomask_env): Likewise.
21272 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21273
21274 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21275
21276 * string/Makefile: Remove ifunc tests.
21277 * string/test-string.h: Define TEST_IFUNC.
21278 * string/test-bcopy-ifunc.c: Remove.
21279 * string/test-bzero-ifunc.c: Likewise.
21280 * string/test-memccpy-ifunc.c: Likewise.
21281 * string/test-memchr-ifunc.c: Likewise.
21282 * string/test-memcmp-ifunc.c: Likewise.
21283 * string/test-memcpy-ifunc.c: Likewise.
21284 * string/test-memmem-ifunc.c: Likewise.
21285 * string/test-memmove-ifunc.c: Likewise.
21286 * string/test-mempcpy-ifunc.c: Likewise.
21287 * string/test-memrchr-ifunc.c: Likewise.
21288 * string/test-memset-ifunc.c: Likewise.
21289 * string/test-rawmemchr-ifunc.c: Likewise.
21290 * string/test-stpcpy-ifunc.c: Likewise.
21291 * string/test-stpncpy-ifunc.c: Likewise.
21292 * string/test-strcasecmp-ifunc.c: Likewise.
21293 * string/test-strcasestr-ifunc.c: Likewise.
21294 * string/test-strcat-ifunc.c: Likewise.
21295 * string/test-strchr-ifunc.c: Likewise.
21296 * string/test-strchrnul-ifunc.c: Likewise.
21297 * string/test-strcmp-ifunc.c: Likewise.
21298 * string/test-strcpy-ifunc.c: Likewise.
21299 * string/test-strcspn-ifunc.c: Likewise.
21300 * string/test-strlen-ifunc.c: Likewise.
21301 * string/test-strncasecmp-ifunc.c: Likewise.
21302 * string/test-strncat-ifunc.c: Likewise.
21303 * string/test-strncmp-ifunc.c: Likewise.
21304 * string/test-strncpy-ifunc.c: Likewise.
21305 * string/test-strnlen-ifunc.c: Likewise.
21306 * string/test-strpbrk-ifunc.c: Likewise.
21307 * string/test-strrchr-ifunc.c: Likewise.
21308 * string/test-strspn-ifunc.c: Likewise.
21309 * string/test-strstr-ifunc.c: Likewise.
21310
21311 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21312
21313 * benchtests/Makefile: Remove ifunc tests.
21314 * benchtests/bench-string.h: Define TEST_IFUNC.
21315 * benchtests/bench-bcopy-ifunc.c: Remove.
21316 * benchtests/bench-bzero-ifunc.c: Likewise.
21317 * benchtests/bench-memccpy-ifunc.c: Likewise.
21318 * benchtests/bench-memchr-ifunc.c: Likewise.
21319 * benchtests/bench-memcmp-ifunc.c: Likewise.
21320 * benchtests/bench-memcpy-ifunc.c: Likewise.
21321 * benchtests/bench-memmem-ifunc.c: Likewise.
21322 * benchtests/bench-memmove-ifunc.c: Likewise.
21323 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21324 * benchtests/bench-memrchr-ifunc.c: Likewise.
21325 * benchtests/bench-memset-ifunc.c: Likewise.
21326 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21327 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21328 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21329 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21330 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21331 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21332 * benchtests/bench-strcat-ifunc.c: Likewise.
21333 * benchtests/bench-strchr-ifunc.c: Likewise.
21334 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21335 * benchtests/bench-strcmp-ifunc.c: Likewise.
21336 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21337 * benchtests/bench-strcpy-ifunc.c: Likewise.
21338 * benchtests/bench-strcspn-ifunc.c: Likewise.
21339 * benchtests/bench-strlen-ifunc.c: Likewise.
21340 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21341 * benchtests/bench-strncat-ifunc.c: Likewise.
21342 * benchtests/bench-strncmp-ifunc.c: Likewise.
21343 * benchtests/bench-strncpy-ifunc.c: Likewise.
21344 * benchtests/bench-strnlen-ifunc.c: Likewise.
21345 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21346 * benchtests/bench-strrchr-ifunc.c: Likewise.
21347 * benchtests/bench-strsep-ifunc.c: Likewise.
21348 * benchtests/bench-strspn-ifunc.c: Likewise.
21349 * benchtests/bench-strstr-ifunc.c: Likewise.
21350
21351 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21352
21353 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21354
21355 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
21356
21357 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21358 * rt/aio.h: Likewise.
21359 * sysdeps/gnu/bits/utmp.h: Likewise.
21360 * sysdeps/gnu/bits/utmpx.h: Likewise.
21361 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21362 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21363 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21364 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21365 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21366 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21367 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21368 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21369 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21370 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21371 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21372 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21373 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21375 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21376 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21377 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21378 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21379 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21380 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21381 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21382 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21383 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21384 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21385 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21387 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21389 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21390 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21391 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21392 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21393 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21394 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21395 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21396 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21397 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21399 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21400 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21401 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21402 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21403
21404 2013-11-25 Carlos O'Donell <carlos@redhat.com>
21405
21406 [BZ #16245]
21407 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21408 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21409
21410 2013-11-25 Joseph Myers <joseph@codesourcery.com>
21411
21412 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21413 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21414 Likewise.
21415
21416 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21417
21418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21419 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21420 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21421 (__fesetround): Remove define.
21422 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21423 rounding and exceptions handling.
21424 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21425 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21426 (__fe_nomask_env): Likewise.
21427 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21428 __fegetround instead of fegetround.
21429 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21431
21432 2013-11-21 Roland McGrath <roland@hack.frob.com>
21433
21434 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21435 it's there.
21436
21437 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21438
21439 2013-11-21 Meador Inge <meadori@codesourcery.com>
21440
21441 [BZ #11157]
21442 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21443 (encrypt_r): Likewise.
21444 * malloc/obstack.h (obstack_free): Likewise.
21445 * posix/unistd.h (encrypt): Likewise.
21446
21447 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21448
21449 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21450 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21451 DL_CALL_DT_FINI() that call the functions directly.
21452 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21453 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21454 * elf/dl-fini.c: Likewise.
21455
21456 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
21457
21458 * malloc/hooks.c (memalign_check): Add alignment rounding.
21459 * malloc/malloc.c (_mid_memalign): New function.
21460 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21461 Implement by calling _mid_memalign.
21462 * manual/probes.texi (Memory Allocation Probes): Remove
21463 memory_valloc_retry and memory_pvalloc_retry.
21464
21465 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21466
21467 * locale/programs/locarchive.c (open_archive): Add const
21468 qualifier to ARCHIVEFNAME and copy default fname to
21469 DEFAULT_FNAME.
21470
21471 [BZ #15601]
21472 * libio/tst-widetext.input: Rename Oriya to Odia.
21473 * locale/iso-639.def: Likewise.
21474
21475 * manual/probes.texi (Mathematical Function Probes): Add
21476 documentation for sin, cos, asin and acos probes.
21477 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21478 (__sin32): Add slowasin probe.
21479 (__cos32): Add slowacos probe.
21480 (__mpsin): Add slowsin probe.
21481 (__mpcos): Add slowcos probe.
21482
21483 2013-11-19 Joseph Myers <joseph@codesourcery.com>
21484
21485 [BZ #15483]
21486 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21487 thread-local __sim_exceptions_thread and global
21488 __sim_exceptions_global.
21489 (__sim_disabled_exceptions): Change to thread-local
21490 __sim_disabled_exceptions_thread and global
21491 __sim_disabled_exceptions_global.
21492 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21493 and global __sim_round_mode_global.
21494 (__simulate_exceptions): Use thread-local floating-point state and
21495 set global state from it as needed.
21496 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21497 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21498 __sim_round_mode_thread.
21499 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21500 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21501 and global __sim_exceptions_global.
21502 (__sim_disabled_exceptions): Change to thread-local
21503 __sim_disabled_exceptions_thread and global
21504 __sim_disabled_exceptions_global.
21505 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21506 and global __sim_round_mode_global.
21507 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21508 (SIM_SET_GLOBAL): Likewise.
21509 * sysdeps/powerpc/soft-fp/sfp-machine.h
21510 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21511 __sim_round_mode_thread.
21512 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21513 __sim_disabled_exceptions_thread.
21514 (__sim_exceptions): Change to __sim_exceptions_thread.
21515 (__sim_disabled_exceptions): Change to
21516 __sim_disabled_exceptions_thread.
21517 (__sim_round_mode): Change to __sim_round_mode_thread.
21518 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21519 thread-local floating-point state and set global state from it as
21520 needed.
21521 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21522 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21523 (__sim_disabled_exceptions): Remove extern declaration.
21524 (feenableexcept): Use thread-local floating-point state and set
21525 global state from it as needed.
21526 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21527 extern declaration.
21528 (__sim_disabled_exceptions): Likewise.
21529 (__sim_round_mode): Likewise.
21530 (__fegetenv): Use thread-local floating-point state.
21531 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21532 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21533 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21534 floating-point state and set global state from it as needed.
21535 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21536 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21537 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21538 Likewise.
21539 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21540 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21541 Likewise.
21542 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21543 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21544 Use __sim_round_mode_thread.
21545 * math/test-fenv-tls.c: New file.
21546 * math/Makefile (tests): Add test-fenv-tls.
21547 ($(objpfx)test-fenv-tls): Depend on
21548 $(common-objpfx)nptl/libpthread.so.
21549
21550 2013-11-19 Andreas Schwab <schwab@suse.de>
21551
21552 * locale/programs/locale.c (show_info): Decode wordarray elements.
21553 * locale/categories.def (LC_MONETARY): Add element for
21554 _NL_MONETARY_CRNCYSTR.
21555 * locale/C-monetary.c (conversion_rate): New variable.
21556 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21557 element.
21558
21559 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21560
21561 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21562 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21563
21564 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21565
21566 * elf/Makefile (tst-auxv): New test.
21567 * elf/tst-auxv.c: New
21568 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21569
21570 2013-11-18 Joseph Myers <joseph@codesourcery.com>
21571
21572 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21573 (hidden_proto): Caller changed.
21574 (hidden_tls_proto): New macro.
21575 (libc_hidden_tls_proto): Likewise.
21576 (rtld_hidden_tls_proto): Likewise.
21577 (libm_hidden_tls_proto): Likewise.
21578 (libresolv_hidden_tls_proto): Likewise.
21579 (librt_hidden_tls_proto): Likewise.
21580 (libdl_hidden_tls_proto): Likewise.
21581 (libnss_files_hidden_tls_proto): Likewise.
21582 (libnsl_hidden_tls_proto): Likewise.
21583 (libnss_nisplus_hidden_tls_proto): Likewise.
21584 (libutil_hidden_tls_proto): Likewise.
21585
21586 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
21587
21588 [BZ #10253]
21589 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21590 (decompose_rpath): Defer expansion to fillin_rpath.
21591 (_dl_init_paths): Pass linkmap to fillin_rpath.
21592
21593 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21594
21595 * benchtests/Makefile: Add strsep.
21596 * benchtests/bench-strsep.c: New file: strsep benchtest.
21597 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21598
21599 2013-11-18 Andreas Schwab <schwab@suse.de>
21600
21601 * locale/programs/locale.c (show_info) [case byte]: Check for
21602 '\377' instead of '\177'.
21603 * locale/C-monetary.c (not_available): Always use "\377".
21604 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21605 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21606 detect unavailable sign_posn locale elements.
21607 * locale/localeconv.c (__localeconv): For grouping and
21608 mon_grouping handle "\177" and "\377" like no grouping.
21609 (INT_ELEM): New macro. Use it to set all numeric members.
21610 * locale/programs/ld-monetary.c (monetary_read)
21611 <tok_mon_grouping>: Normalize single -1 to the empty string.
21612 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21613 Likewise.
21614
21615 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21616
21617 [BZ #16055]
21618 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21619 when we match (nil).
21620 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21621
21622 2013-11-16 Joseph Myers <joseph@codesourcery.com>
21623
21624 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21625 (NO_TEST_INLINE): Update value.
21626 (ERRNO_UNCHANGED): Likewise.
21627 (ERRNO_EDOM): Likewise.
21628 (ERRNO_ERANGE): Likewise.
21629 (IGNORE_RESULT): Likewise.
21630 (check_float_internal): Check signs of NaN results if
21631 TEST_NAN_SIGN used.
21632 (check_complex): Pass TEST_NAN_SIGN flag through to second
21633 check_float_internal call.
21634 (copysign_test_data): Add tests with quiet NaNs as second
21635 argument. Use TEST_NAN_SIGN.
21636 (fabs_test_data): Add test of negative quiet NaN argument. Use
21637 TEST_NAN_SIGN.
21638 (signbit_test_data): Add tests of quiet NaN argument.
21639 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21640
21641 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21642 $ignore_result.
21643 (parse_args): Handle function results specified as IGNORE.
21644 * math/libm-test.inc (IGNORE_RESULT): New macro.
21645 (check_float_internal): Do not check numerical result if flag
21646 IGNORE_RESULT set.
21647 (check_complex): Pass through IGNORE_RESULT to second
21648 check_float_internal call.
21649 (check_int): Do not check numerical result if flag IGNORE_RESULT
21650 set.
21651 (check_long): Likewise.
21652 (check_bool): Likewise.
21653 (check_longlong): Likewise.
21654 (lrint_test_data): Add tests of infinite and NaN arguments.
21655 (lrint_tonearest_test_data): Likewise.
21656 (lrint_towardzero_test_data): Likewise.
21657 (lrint_downward_test_data): Likewise.
21658 (lrint_upward_test_data): Likewise.
21659 (llrint_test_data): Likewise.
21660 (llrint_tonearest_test_data): Likewise.
21661 (llrint_towardzero_test_data): Likewise.
21662 (llrint_downward_test_data): Likewise.
21663 (llrint_upward_test_data): Likewise.
21664 (lround_test_data): Likewise.
21665 (llround_test_data): Likewise.
21666
21667 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21668 (ERRNO_UNCHANGED): Update value.
21669 (ERRNO_EDOM): Likewise.
21670 (ERRNO_ERANGE): Likewise.
21671 (NO_TEST_INLINE_FLOAT): New macro.
21672 (NO_TEST_INLINE_DOUBLE): Likewise.
21673 (enable_test): New function.
21674 (RUN_TEST_f_f): Check enable_test before running test.
21675 (RUN_TEST_2_f): Likewise.
21676 (RUN_TEST_fff_f): Likewise.
21677 (RUN_TEST_c_f): Likewise.
21678 (RUN_TEST_f_f1): Likewise.
21679 (RUN_TEST_fF_f1): Likewise.
21680 (RUN_TEST_fI_f1): Likewise.
21681 (RUN_TEST_ffI_f1): Likewise.
21682 (RUN_TEST_c_c): Likewise.
21683 (RUN_TEST_cc_c): Likewise.
21684 (RUN_TEST_f_i): Likewise.
21685 (RUN_TEST_f_i_tg): Likewise.
21686 (RUN_TEST_ff_i_tg): Likewise.
21687 (RUN_TEST_f_b): Likewise.
21688 (RUN_TEST_f_b_tg): Likewise.
21689 (RUN_TEST_f_l): Likewise.
21690 (RUN_TEST_f_L): Likewise.
21691 (RUN_TEST_fFF_11): Likewise.
21692 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21693 conditionals.
21694 (cosh_test_data): Likewise.
21695 (exp_test_data): Likewise.
21696 (expm1_test_data): Likewise.
21697 (hypot_test_data): Likewise.
21698 (pow_test_data): Likewise.
21699 (sinh_test_data): Likewise.
21700 (tanh_test_data): Likewise.
21701 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21702 flags argument.
21703
21704 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21705 tests with quiet NaN input and output.
21706 (acosh_test_data): Likewise.
21707 (asin_test_data): Likewise.
21708 (asinh_test_data): Likewise.
21709 (atan_test_data): Likewise.
21710 (atanh_test_data): Likewise.
21711 (atan2_test_data): Likewise.
21712 (cbrt_test_data): Likewise.
21713 (cos_test_data): Likewise.
21714 (cosh_test_data): Likewise.
21715 (erf_test_data): Likewise.
21716 (erfc_test_data): Likewise.
21717 (exp_test_data): Likewise.
21718 (exp10_test_data): Likewise.
21719 (exp2_test_data): Likewise.
21720 (expm1_test_data): Likewise.
21721 (hypot_test_data): Likewise.
21722 (j0_test_data): Likewise.
21723 (j1_test_data): Likewise.
21724 (jn_test_data): Likewise.
21725 (lgamma_test_data): Likewise.
21726 (log_test_data): Likewise.
21727 (log10_test_data): Likewise.
21728 (log1p_test_data): Likewise.
21729 (log2_test_data): Likewise.
21730 (pow_test_data): Likewise.
21731 (scalb_test_data): Likewise.
21732 (sin_test_data): Likewise.
21733 (sincos_test_data): Likewise.
21734 (sinh_test_data): Likewise.
21735 (tan_test_data): Likewise.
21736 (tanh_test_data): Likewise.
21737 (tgamma_test_data): Likewise.
21738 (y0_test_data): Likewise.
21739 (y1_test_data): Likewise.
21740 (yn_test_data): Likewise.
21741
21742 [BZ #16167]
21743 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21744 argument being NaN and avoid computations with second argument in
21745 that case.
21746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21747 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21748 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21749
21750 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21751
21752 * locale/iso-639.def: Add Chitwani Tharu (the).
21753
21754 2013-11-14 Andreas Schwab <schwab@suse.de>
21755
21756 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21757 word instead of empty string.
21758
21759 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21760
21761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21762 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21764 (__fe_nomask_env): Likewise.
21765
21766 2013-11-13 Steve Ellcey <sellcey@mips.com>
21767
21768 * benchtests/bench-timing.h: Include time.h.
21769
21770 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21771
21772 [BZ #15997]
21773 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21774 to 3.4.0 for x32.
21775 * sysdeps/unix/sysv/linux/configure: Regenerated.
21776
21777 2013-11-13 Joseph Myers <joseph@codesourcery.com>
21778
21779 [BZ #16151]
21780 * stdlib/strtod_l.c (round_and_return): Do not consider
21781 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21782 exponent one less than half the least subnormal exponent.
21783 * stdlib/test-strtod-round-data: Add more tests.
21784 * stdlib/tst-strtod-round.c (tests): Regenerated.
21785
21786 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21787
21788 [BZ #14143]
21789 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21790 (__fe_mask_env): Likewise.
21791 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21792 libm_hidden_proto and add function prototype.
21793 (__fe_mask_env): Add function prototype.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21795 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21797 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21799 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21800
21801 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21802
21803 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21804 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21805
21806 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21807
21808 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21809 of htab_find_slot().
21810
21811 2013-11-11 David S. Miller <davem@davemloft.net>
21812
21813 [BZ #16150]
21814 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21815 symbol in the non-vis3 case in static builds.
21816 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21817 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21818 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21819 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21820
21821 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21822
21823 [BZ #387]
21824 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21825 it is empty.
21826
21827 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21828
21829 * benchtests/Makefile: Add bench-strtod.
21830 * benchtests/bench-strtod.c: New file: strtod benchtest
21831
21832 2013-11-11 Andreas Schwab <schwab@suse.de>
21833
21834 [BZ #16153]
21835 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21836 terminating NUL in key length.
21837
21838 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21839
21840 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21841 Add artificial ODP entry for vDSO symbol for PPC64.
21842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21843 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21844
21845 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
21846
21847 [BZ #15374]
21848 * nss/getent.c (services_keys): Recognize services starting with digit.
21849
21850 2013-11-06 David S. Miller <davem@davemloft.net>
21851
21852 [BZ #15985]
21853 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21854 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21855
21856 2013-11-06 Will Newton <will.newton@linaro.org>
21857
21858 * manual/memory.texi (Malloc Examples): Remove register
21859 keyword from examples.
21860
21861 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
21862
21863 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21864
21865 2013-11-04 Joseph Myers <joseph@codesourcery.com>
21866
21867 [BZ #6981]
21868 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21869 depending on [__GCC_IEC_559 > 0].
21870 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21871 depending on [__GCC_IEC_559_COMPLEX > 0].
21872
21873 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
21874
21875 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21876 to iso-639.def.
21877
21878 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
21879
21880 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21881
21882 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
21883
21884 [BZ #16112]
21885 * malloc/malloc (malloc_info): Do not handle first bin as
21886 special case.
21887
21888 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
21889
21890 * locale/iso-639.def: Add Central Nahuatl (nhn).
21891
21892 2013-11-01 Bruno Haible <bruno@clisp.org>
21893
21894 [BZ #7003]
21895 * manual/math.texi (BSD Random): Specify range upper bound as
21896 in POSIX.
21897
21898 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
21899
21900 * locale/iso-639.def: Add Meadow Mari (mhr).
21901
21902 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
21903
21904 [BZ #14752], [BZ #15763]
21905 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21906 Validate name.
21907 * rt/tst_shm.c: Add test for escaping directory.
21908
21909 2013-10-31 Andreas Schwab <schwab@suse.de>
21910
21911 [BZ #15917]
21912 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21913 followed by 'x' as part of digit sequence.
21914 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21915
21916 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21917
21918 [BZ #16037]
21919 * configure.ac: allow GNU Make 4.0 and greater.
21920 * configure: Regenerated.
21921
21922 2013-10-30 Will Newton <will.newton@linaro.org>
21923
21924 [BZ #16038]
21925 * malloc/hooks.c (memalign_check): Limit alignment to the
21926 maximum representable power of two.
21927 * malloc/malloc.c (__libc_memalign): Likewise.
21928 * malloc/tst-memalign.c (do_test): Add test for very
21929 large alignment values.
21930 * malloc/tst-posix_memalign.c (do_test): Likewise.
21931
21932 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21933
21934 [BZ #11087]
21935 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21936 (munmap_chunk): Likewise.
21937 (mremap_chunk): Likewise.
21938
21939 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
21940
21941 [BZ #15799]
21942 * stdlib/div.c (div): Remove obsolete code.
21943 * stdlib/ldiv.c (ldiv): Likewise.
21944 * stdlib/lldiv.c (lldiv): Likewise.
21945
21946 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21947
21948 [BZ #16071]
21949 * nss/nss_files/files-XXX.c (get_contents_ret): New
21950 enumerator.
21951 (get_contents): New function.
21952 (internal_getent): Use it. Expand size of LINEBUFLEN.
21953
21954 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21955
21956 * configure.in: Moved to ...
21957 * configure.ac: ... here. Change reference to configure.in
21958 to configure.ac.
21959 * sysdeps/arm/preconfigure.ac: ... here.
21960 configure.in to configure.ac.
21961 * sysdeps/gnu/configure.in: Moved to ...
21962 * sysdeps/gnu/configure.ac: ... here.
21963 * sysdeps/i386/configure.in: Moved to ...
21964 * sysdeps/i386/configure.ac: ... here.
21965 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21966 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21967 * sysdeps/mach/configure.in: Moved to ...
21968 * sysdeps/mach/configure.ac: ... here.
21969 * sysdeps/mach/hurd/configure.in: Moved to ...
21970 * sysdeps/mach/hurd/configure.ac: ... here.
21971 * sysdeps/powerpc/configure.in: Moved to ...
21972 * sysdeps/powerpc/configure.ac: ... here.
21973 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21974 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21975 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21976 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21977 * sysdeps/s390/s390-32/configure.in: Moved to ...
21978 * sysdeps/s390/s390-32/configure.ac: ... here.
21979 * sysdeps/s390/s390-64/configure.in: Moved to ...
21980 * sysdeps/s390/s390-64/configure.ac: ... here.
21981 * sysdeps/sh/configure.in: Moved to ...
21982 * sysdeps/sh/configure.ac: ... here.
21983 * sysdeps/sparc/configure.in: Moved to ...
21984 * sysdeps/sparc/configure.ac: ... here.
21985 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21986 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21987 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21988 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21989 * sysdeps/x86_64/configure.in: Moved to ...
21990 * sysdeps/x86_64/configure.ac: ... here.
21991 * sysdeps/x86_64/preconfigure.in: Moved to ...
21992 * sysdeps/x86_64/preconfigure.ac: ... here.
21993 * aclocal.m4: Change reference to configure.in to configure.ac.
21994 * config.h.in: Likewise.
21995 * manual/install.texi: Likewise.
21996 * manual/maint.texi: Likewise.
21997 * Makefile: Likewise.
21998 * malloc/Makefile: Likewise.
21999 * nscd/Makefile: Likewise.
22000 * Makeconfig: Change reference to configure.in and
22001 preconfigure.in to configure.ac and preconfigure.ac
22002 respectively.
22003 * INSTALL: Regenerated.
22004 * configure: Likewise.
22005 * sysdeps/gnu/configure: Likewise.
22006 * sysdeps/i386/configure: Likewise.
22007 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22008 * sysdeps/mach/configure: Likewise.
22009 * sysdeps/mach/hurd/configure: Likewise.
22010 * sysdeps/powerpc/configure: Likewise.
22011 * sysdeps/powerpc/powerpc32/configure: Likewise.
22012 * sysdeps/powerpc/powerpc64/configure: Likewise.
22013 * sysdeps/s390/s390-32/configure: Likewise.
22014 * sysdeps/s390/s390-64/configure: Likewise.
22015 * sysdeps/sh/configure: Likewise.
22016 * sysdeps/sparc/configure: Likewise.
22017 * sysdeps/unix/sysv/linux/configure: Likewise.
22018 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22019 * sysdeps/x86_64/configure: Likewise.
22020 * sysdeps/x86_64/preconfigure: Likewise.
22021
22022 2013-10-29 Andreas Schwab <schwab@suse.de>
22023
22024 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22025
22026 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22027
22028 * benchtests/pow-inputs: Add new inputs.
22029
22030 * benchtests/exp-inputs: Add new inputs.
22031
22032 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22033 conditional check for return value.
22034 (__cos32): Likewise.
22035
22036 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22037
22038 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22039 to provide a boost for large inputs with word alignment.
22040 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22041 implementation based on optimized PPC64 strcpy.
22042 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22043 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22044 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22045 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22046
22047 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22048
22049 [BZ #2801]
22050 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22051
22052 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22053
22054 [BZ #14876]
22055 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22056 * time/tst-strptime.c (day_tests): Add testcase.
22057
22058 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22059
22060 [BZ #14029]
22061 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22062
22063 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22064
22065 [BZ #16074]
22066 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22067 MAP_FAILED on error.
22068
22069 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22070
22071 [BZ #16072]
22072 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22073 heap for large requests.
22074
22075 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22076
22077 [BZ #9954]
22078 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22079 result if the result has no associated interface.
22080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22081 interface for all 127.X.Y.Z addresses.
22082
22083 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22084
22085 * locale/iso-639.def: Add Ligurian (lij)
22086
22087 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22088
22089 [BZ #15825]
22090 * sunrpc/rpc_main.c: Document rpcgen -5.
22091
22092 2013-10-19 Michael Stahl <mstahl@redhat.com>
22093
22094 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22095
22096 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22097
22098 [BZ #10278]
22099 * posix/glob.c: Match only directories when trailing slash is present.
22100 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22101 (main): Add testcase.
22102
22103 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22104
22105 [BZ #15670]
22106 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22107
22108 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22109
22110 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22111 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22112 AUTH_DES and cindex for FIPS 140-2.
22113 (DES Encryption): Add cindex FIPS 46-3.
22114
22115 * locale/locarchive.h (struct locarhandle): Add fname.
22116 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22117 if an optional argument was specified to --list-archive,
22118 otherwise NULL.
22119 * locale/programs/locarchive.c (show_archive_content): Take new
22120 argument fname and pass it via ah.fname to open_archive.
22121 * locale/programs/localedef.h: Update decl.
22122 (open_archive): If AH->fname is non-null, open that file
22123 rather than the default file name, and don't ignore ENOENT.
22124 (create_archive): Set AH.fname to NULL.
22125 (delete_locales_from_archive): Likewise.
22126 (add_locales_to_archive): Likewise.
22127 * locale/programs/locfile.c (write_all_categories): Likewise.
22128
22129 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22130 Aldy Hernandez <aldyh@redhat.com>
22131
22132 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22133 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22134 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22135 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22136 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22138 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22139 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22140 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22141 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22142 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22143 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22144 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22145 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22146 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22147 Likewise.
22148 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22149 Likewise.
22150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22151 Likewise.
22152 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22153 Likewise.
22154 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22156 Likewise.
22157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22158 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22159 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22160 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22161 Likewise.
22162 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22163 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22164 * sysdeps/powerpc/preconfigure: Likewise.
22165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22166 Likewise.
22167 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22168 Replace contents of file by #include of <fenv_libc.h>.
22169 * sysdeps/powerpc/soft-fp/sfp-machine.h
22170 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22171 and <sys/prctl.h>.
22172 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22185 Allow copysignl PLT reference to be missing.
22186
22187 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22188 Joseph Myers <joseph@codesourcery.com
22189
22190 [BZ #15948]
22191 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22192 single character.
22193 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22194
22195 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22196
22197 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22198 * elf/tst-tls1.c: Likewise.
22199 * elf/tst-tls10.h: Likewise.
22200 * elf/tst-tls14.c: Likewise.
22201 * elf/tst-tls2.c: Likewise.
22202 * elf/tst-tls3.c: Likewise.
22203 * elf/tst-tls4.c: Likewise.
22204 * elf/tst-tls5.c: Likewise.
22205 * elf/tst-tls6.c: Likewise.
22206 * elf/tst-tls7.c: Likewise.
22207 * elf/tst-tls8.c: Likewise.
22208 * elf/tst-tls9.c: Likewise.
22209 * elf/tst-tlsmod1.c: Likewise.
22210 * elf/tst-tlsmod13.c: Likewise.
22211 * elf/tst-tlsmod13a.c: Likewise.
22212 * elf/tst-tlsmod14a.c: Likewise.
22213 * elf/tst-tlsmod16a.c: Likewise.
22214 * elf/tst-tlsmod16b.c: Likewise.
22215 * elf/tst-tlsmod2.c: Likewise.
22216 * elf/tst-tlsmod3.c: Likewise.
22217 * elf/tst-tlsmod4.c: Likewise.
22218 * elf/tst-tlsmod5.c: Likewise.
22219 * elf/tst-tlsmod6.c: Likewise.
22220
22221 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22222
22223 [BZ #12486]
22224 * malloc/malloc.c: remove checks for statistics.
22225
22226 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22227
22228 [BZ #15277]
22229 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22230 * inet/tst-network.c: Add testcase.
22231
22232 2013-10-17 Andreas Schwab <schwab@suse.de>
22233
22234 [BZ #15218]
22235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22236 to determine canonical name.
22237
22238 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22239
22240 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22241 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22255 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22257 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22258 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22263 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22264 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22265 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22266 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22267 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22270 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22288 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22293 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22298
22299 2013-10-17 Joseph Myers <joseph@codesourcery.com>
22300
22301 [BZ #16041]
22302 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22303 make result into a quiet NaN.
22304
22305 2013-10-16 Joseph Myers <joseph@codesourcery.com>
22306
22307 * soft-fp/adddf3.c: Fix horizontal whitespace.
22308 * soft-fp/addsf3.c: Likewise.
22309 * soft-fp/addtf3.c: Likewise.
22310 * soft-fp/divdf3.c: Likewise.
22311 * soft-fp/divsf3.c: Likewise.
22312 * soft-fp/divtf3.c: Likewise.
22313 * soft-fp/double.h: Likewise.
22314 * soft-fp/eqdf2.c: Likewise.
22315 * soft-fp/eqsf2.c: Likewise.
22316 * soft-fp/eqtf2.c: Likewise.
22317 * soft-fp/extenddftf2.c: Likewise.
22318 * soft-fp/extended.h: Likewise.
22319 * soft-fp/extendsfdf2.c: Likewise.
22320 * soft-fp/extendsftf2.c: Likewise.
22321 * soft-fp/extendxftf2.c: Likewise.
22322 * soft-fp/fixdfdi.c: Likewise.
22323 * soft-fp/fixdfsi.c: Likewise.
22324 * soft-fp/fixdfti.c: Likewise.
22325 * soft-fp/fixsfdi.c: Likewise.
22326 * soft-fp/fixsfsi.c: Likewise.
22327 * soft-fp/fixsfti.c: Likewise.
22328 * soft-fp/fixtfdi.c: Likewise.
22329 * soft-fp/fixtfsi.c: Likewise.
22330 * soft-fp/fixtfti.c: Likewise.
22331 * soft-fp/fixunsdfdi.c: Likewise.
22332 * soft-fp/fixunsdfsi.c: Likewise.
22333 * soft-fp/fixunsdfti.c: Likewise.
22334 * soft-fp/fixunssfdi.c: Likewise.
22335 * soft-fp/fixunssfsi.c: Likewise.
22336 * soft-fp/fixunssfti.c: Likewise.
22337 * soft-fp/fixunstfdi.c: Likewise.
22338 * soft-fp/fixunstfsi.c: Likewise.
22339 * soft-fp/fixunstfti.c: Likewise.
22340 * soft-fp/floatdidf.c: Likewise.
22341 * soft-fp/floatdisf.c: Likewise.
22342 * soft-fp/floatditf.c: Likewise.
22343 * soft-fp/floatsidf.c: Likewise.
22344 * soft-fp/floatsisf.c: Likewise.
22345 * soft-fp/floatsitf.c: Likewise.
22346 * soft-fp/floattidf.c: Likewise.
22347 * soft-fp/floattisf.c: Likewise.
22348 * soft-fp/floattitf.c: Likewise.
22349 * soft-fp/floatundidf.c: Likewise.
22350 * soft-fp/floatundisf.c: Likewise.
22351 * soft-fp/floatunditf.c: Likewise.
22352 * soft-fp/floatunsidf.c: Likewise.
22353 * soft-fp/floatunsisf.c: Likewise.
22354 * soft-fp/floatunsitf.c: Likewise.
22355 * soft-fp/floatuntidf.c: Likewise.
22356 * soft-fp/floatuntisf.c: Likewise.
22357 * soft-fp/floatuntitf.c: Likewise.
22358 * soft-fp/fmadf4.c: Likewise.
22359 * soft-fp/fmasf4.c: Likewise.
22360 * soft-fp/fmatf4.c: Likewise.
22361 * soft-fp/gedf2.c: Likewise.
22362 * soft-fp/gesf2.c: Likewise.
22363 * soft-fp/getf2.c: Likewise.
22364 * soft-fp/ledf2.c: Likewise.
22365 * soft-fp/lesf2.c: Likewise.
22366 * soft-fp/letf2.c: Likewise.
22367 * soft-fp/muldf3.c: Likewise.
22368 * soft-fp/mulsf3.c: Likewise.
22369 * soft-fp/multf3.c: Likewise.
22370 * soft-fp/negdf2.c: Likewise.
22371 * soft-fp/negsf2.c: Likewise.
22372 * soft-fp/negtf2.c: Likewise.
22373 * soft-fp/op-1.h: Likewise.
22374 * soft-fp/op-2.h: Likewise.
22375 * soft-fp/op-4.h: Likewise.
22376 * soft-fp/op-8.h: Likewise.
22377 * soft-fp/op-common.h: Likewise.
22378 * soft-fp/quad.h: Likewise.
22379 * soft-fp/single.h: Likewise.
22380 * soft-fp/soft-fp.h: Likewise.
22381 * soft-fp/sqrtdf2.c: Likewise.
22382 * soft-fp/sqrtsf2.c: Likewise.
22383 * soft-fp/sqrttf2.c: Likewise.
22384 * soft-fp/subdf3.c: Likewise.
22385 * soft-fp/subsf3.c: Likewise.
22386 * soft-fp/subtf3.c: Likewise.
22387 * soft-fp/truncdfsf2.c: Likewise.
22388 * soft-fp/trunctfdf2.c: Likewise.
22389 * soft-fp/trunctfsf2.c: Likewise.
22390 * soft-fp/trunctfxf2.c: Likewise.
22391 * soft-fp/unorddf2.c: Likewise.
22392 * soft-fp/unordsf2.c: Likewise.
22393 * soft-fp/unordtf2.c: Likewise.
22394
22395 2013-10-15 Joseph Myers <joseph@codesourcery.com>
22396
22397 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22398 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22399
22400 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
22401
22402 * elf/dl-libc.c: Clear initfini list after freeing.
22403
22404 2013-10-14 Joseph Myers <joseph@codesourcery.com>
22405
22406 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22407 * soft-fp/addsf3.c: Likewise.
22408 * soft-fp/addtf3.c: Likewise.
22409 * soft-fp/divdf3.c: Likewise.
22410 * soft-fp/divsf3.c: Likewise.
22411 * soft-fp/divtf3.c: Likewise.
22412 * soft-fp/double.h: Likewise.
22413 * soft-fp/eqdf2.c: Likewise.
22414 * soft-fp/eqsf2.c: Likewise.
22415 * soft-fp/eqtf2.c: Likewise.
22416 * soft-fp/extenddftf2.c: Likewise.
22417 * soft-fp/extended.h: Likewise.
22418 * soft-fp/extendsfdf2.c: Likewise.
22419 * soft-fp/extendsftf2.c: Likewise.
22420 * soft-fp/extendxftf2.c: Likewise.
22421 * soft-fp/fixdfdi.c: Likewise.
22422 * soft-fp/fixdfsi.c: Likewise.
22423 * soft-fp/fixdfti.c: Likewise.
22424 * soft-fp/fixsfdi.c: Likewise.
22425 * soft-fp/fixsfsi.c: Likewise.
22426 * soft-fp/fixsfti.c: Likewise.
22427 * soft-fp/fixtfdi.c: Likewise.
22428 * soft-fp/fixtfsi.c: Likewise.
22429 * soft-fp/fixtfti.c: Likewise.
22430 * soft-fp/fixunsdfdi.c: Likewise.
22431 * soft-fp/fixunsdfsi.c: Likewise.
22432 * soft-fp/fixunsdfti.c: Likewise.
22433 * soft-fp/fixunssfdi.c: Likewise.
22434 * soft-fp/fixunssfsi.c: Likewise.
22435 * soft-fp/fixunssfti.c: Likewise.
22436 * soft-fp/fixunstfdi.c: Likewise.
22437 * soft-fp/fixunstfsi.c: Likewise.
22438 * soft-fp/fixunstfti.c: Likewise.
22439 * soft-fp/floatdidf.c: Likewise.
22440 * soft-fp/floatdisf.c: Likewise.
22441 * soft-fp/floatditf.c: Likewise.
22442 * soft-fp/floatsidf.c: Likewise.
22443 * soft-fp/floatsisf.c: Likewise.
22444 * soft-fp/floatsitf.c: Likewise.
22445 * soft-fp/floattidf.c: Likewise.
22446 * soft-fp/floattisf.c: Likewise.
22447 * soft-fp/floattitf.c: Likewise.
22448 * soft-fp/floatundidf.c: Likewise.
22449 * soft-fp/floatundisf.c: Likewise.
22450 * soft-fp/floatunsidf.c: Likewise.
22451 * soft-fp/floatunsisf.c: Likewise.
22452 * soft-fp/floatuntidf.c: Likewise.
22453 * soft-fp/floatuntisf.c: Likewise.
22454 * soft-fp/floatuntitf.c: Likewise.
22455 * soft-fp/fmadf4.c: Likewise.
22456 * soft-fp/fmasf4.c: Likewise.
22457 * soft-fp/fmatf4.c: Likewise.
22458 * soft-fp/gedf2.c: Likewise.
22459 * soft-fp/gesf2.c: Likewise.
22460 * soft-fp/getf2.c: Likewise.
22461 * soft-fp/ledf2.c: Likewise.
22462 * soft-fp/lesf2.c: Likewise.
22463 * soft-fp/letf2.c: Likewise.
22464 * soft-fp/muldf3.c: Likewise.
22465 * soft-fp/mulsf3.c: Likewise.
22466 * soft-fp/multf3.c: Likewise.
22467 * soft-fp/negdf2.c: Likewise.
22468 * soft-fp/negsf2.c: Likewise.
22469 * soft-fp/negtf2.c: Likewise.
22470 * soft-fp/op-1.h: Likewise.
22471 * soft-fp/op-2.h: Likewise.
22472 * soft-fp/op-4.h: Likewise.
22473 * soft-fp/op-8.h: Likewise.
22474 * soft-fp/op-common.h: Likewise.
22475 * soft-fp/quad.h: Likewise.
22476 * soft-fp/single.h: Likewise.
22477 * soft-fp/soft-fp.h: Likewise.
22478 * soft-fp/sqrtdf2.c: Likewise.
22479 * soft-fp/sqrtsf2.c: Likewise.
22480 * soft-fp/sqrttf2.c: Likewise.
22481 * soft-fp/subdf3.c: Likewise.
22482 * soft-fp/subsf3.c: Likewise.
22483 * soft-fp/subtf3.c: Likewise.
22484 * soft-fp/truncdfsf2.c: Likewise.
22485 * soft-fp/trunctfdf2.c: Likewise.
22486 * soft-fp/trunctfsf2.c: Likewise.
22487 * soft-fp/trunctfxf2.c: Likewise.
22488 * soft-fp/unorddf2.c: Likewise.
22489 * soft-fp/unordsf2.c: Likewise.
22490 * soft-fp/unordtf2.c: Likewise.
22491
22492 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
22493
22494 [BZ #15672]
22495 * misc/error.c (error_tail): Fix possible buffer overflow.
22496
22497 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22498
22499 [BZ #13028]
22500 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22501 address.
22502
22503 2013-10-14 P. J. McDermott <pj@pehjota.net>
22504
22505 [BZ #832]
22506 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22507 testing pipefail option.
22508
22509 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22510
22511 * soft-fp/double.h: Indent preprocessor directives inside #if.
22512 * soft-fp/extended.h: Likewise.
22513 * soft-fp/op-2.h: Likewise.
22514 * soft-fp/op-4.h: Likewise.
22515 * soft-fp/op-common.h: Likewise.
22516 * soft-fp/quad.h: Likewise.
22517 * soft-fp/single.h: Likewise.
22518 * soft-fp/soft-fp.h: Likewise.
22519
22520 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22521
22522 * iconv/iconv_prog.c: Fix typos.
22523 * stdio-common/psiginfo-data.h: Likewise.
22524
22525 2013-10-12 Reuben Thomas <rrt@sc3d.org>
22526
22527 [BZ #15764]
22528 * locale/setlocale.c: Fix typo.
22529
22530 2013-10-12 Joseph Myers <joseph@codesourcery.com>
22531
22532 [BZ #16036]
22533 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22534 signaling NaN arguments.
22535 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22536 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22537
22538 [BZ #14910]
22539 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22540 unordered operands.
22541 * soft-fp/gesf2.c (__gesf2): Likewise.
22542 * soft-fp/getf2.c (__getf2): Likewise.
22543 * soft-fp/ledf2.c (__ledf2): Likewise.
22544 * soft-fp/lesf2.c (__lesf2): Likewise.
22545 * soft-fp/letf2.c (__letf2): Likewise.
22546
22547 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22548 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22549 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22550 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22551 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22552 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22553 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22554 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22555 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22556 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22557 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22558 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22559 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22560 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22561 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22562 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22563 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22564 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22565 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22566 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22567 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22568 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22569 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22570 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22571 * soft-fp/floattidf.c (__floattidf): Likewise.
22572 * soft-fp/floattisf.c (__floattisf): Likewise.
22573 * soft-fp/floattitf.c (__floattitf): Likewise.
22574 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22575 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22576 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22577 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22578 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22579 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22580 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22581 * soft-fp/gesf2.c (__gesf2): Likewise.
22582 * soft-fp/getf2.c (__getf2): Likewise.
22583 * soft-fp/ledf2.c (__ledf2): Likewise.
22584 * soft-fp/lesf2.c (__lesf2): Likewise.
22585 * soft-fp/letf2.c (__letf2): Likewise.
22586
22587 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22588 Undefine and redefine.
22589 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22590 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22591 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22592 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22593 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22594 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22595 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22596 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22597 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22598 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22599 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22600 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22601 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22602 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22603 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22604
22605 [BZ #16032]
22606 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22607 without decrementing exponent if mantissa >= that for the
22608 denominator, not >.
22609 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22610 denominator, not >. Decrement exponent in < case instead of
22611 incrementing in >= case.
22612 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22613 without decrementing exponent if mantissa >= that for the
22614 denominator, not >.
22615
22616 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22617 computing saturated result for unsigned overflow.
22618
22619 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22620 Jeff Law <law@redhat.com>
22621
22622 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22623 (atan2Mp): Add systemtap probe marker.
22624 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22625 (__ieee754_log): Add systemtap probe marker.
22626 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22627 (atanMp): Add systemtap probe marker.
22628 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22629 (tanMp): Add systemtap probe marker.
22630 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22631 (__slowexp): Add systemtap probe marker.
22632 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22633 (__slowpow): Add systemtap probe marker.
22634 * manual/probes.texi: Document probes.
22635
22636 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
22637
22638 [BZ #15362]
22639 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22640 written.
22641 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22642 written.
22643 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22644 written to buffer but not flushed.
22645 * libio/iofwrite_u.c: Likewise.
22646 * libio/iopadn.c: Return bytes returned even if EOF was
22647 encountered.
22648 * libio/iowpadn.c: Likewise.
22649 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22650 if _IO_padn does not write the whole buffer.
22651 [!COMPILE_WPRINTF] (PAD): Likewise.
22652
22653 2013-10-10 David S. Miller <davem@davemloft.net>
22654
22655 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22656 directory block.
22657
22658 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22659
22660 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22661 instead of FSF address.
22662 * soft-fp/fixdfti.c: Likewise.
22663 * soft-fp/fixsfti.c: Likewise.
22664 * soft-fp/fixtfti.c: Likewise.
22665 * soft-fp/fixunsdfti.c: Likewise.
22666 * soft-fp/fixunssfti.c: Likewise.
22667 * soft-fp/fixunstfti.c: Likewise.
22668 * soft-fp/floattidf.c: Likewise.
22669 * soft-fp/floattisf.c: Likewise.
22670 * soft-fp/floattitf.c: Likewise.
22671 * soft-fp/floatuntidf.c: Likewise.
22672 * soft-fp/floatuntisf.c: Likewise.
22673 * soft-fp/floatuntitf.c: Likewise.
22674 * soft-fp/trunctfxf2.c: Likewise.
22675
22676 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22677 * soft-fp/fixdfti.c: Likewise.
22678 * soft-fp/fixsfti.c: Likewise.
22679 * soft-fp/fixtfti.c: Likewise.
22680 * soft-fp/fixunsdfti.c: Likewise.
22681 * soft-fp/fixunssfti.c: Likewise.
22682 * soft-fp/fixunstfti.c: Likewise.
22683 * soft-fp/floattidf.c: Likewise.
22684 * soft-fp/floattisf.c: Likewise.
22685 * soft-fp/floattitf.c: Likewise.
22686 * soft-fp/floatuntidf.c: Likewise.
22687 * soft-fp/floatuntisf.c: Likewise.
22688 * soft-fp/floatuntitf.c: Likewise.
22689 * soft-fp/trunctfxf2.c: Likewise.
22690
22691 2013-10-10 David S. Miller <davem@davemloft.net>
22692
22693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22694
22695 2013-10-10 Joseph Myers <joseph@codsourcery.com>
22696
22697 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22698 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22699 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22700 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22701 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22702 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22703 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22704
22705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22706 for NaNs before doing comparisons on argument.
22707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22708 Likewise.
22709
22710 2013-10-10 Will Newton <will.newton@linaro.org>
22711
22712 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22713 passed to _int_memalign does not overflow.
22714
22715 2013-10-10 Torvald Riegel <triegel@redhat.com>
22716
22717 * scripts/bench.pl: Add include-sources directive.
22718 * benchtests/README: Update documentation.
22719
22720 2013-10-10 Joseph Myers <joseph@codesourcery.com>
22721
22722 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22723 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22724 instead of FP_INIT_ROUNDMODE.
22725 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22726 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22727
22728 [BZ #16034]
22729 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22730 copy class of input value.
22731 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22732 not handle exceptions.
22733 * soft-fp/negsf2.c (__negsf2): Likewise.
22734 * soft-fp/negtf2.c (__negtf2): Likewise.
22735 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22736
22737 2013-10-09 Joseph Myers <joseph@codesourcery.com>
22738
22739 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22740 semicolon. From Linux kernel.
22741
22742 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22743
22744 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22745
22746 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22747
22748 [BZ #156]
22749 * manual/socket.texi: Added statement about buffer
22750 for gethostbyname2_r.
22751
22752 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
22753
22754 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22755 Use .p2align directive instead, throughout.
22756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22758 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22761 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22762 * sysdeps/x86_64/strchr.S: Likewise.
22763 * sysdeps/x86_64/strrchr.S: Likewise.
22764
22765 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22766
22767 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22768
22769 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22770
22771 * sysdeps/generic/math_private.h (__mpsin1): Remove
22772 declaration.
22773 (__mpcos1): Likewise.
22774 (__mpsin): New argument __range_reduce.
22775 (__mpcos): Likewise.
22776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22777 (slow): Use __mpsin and __mpcos.
22778 (slow1): Likewise.
22779 (slow2): Likewise.
22780 (sloww): Likewise.
22781 (sloww1): Likewise.
22782 (sloww2): Likewise.
22783 (bsloww): Likewise.
22784 (bsloww1): Likewise.
22785 (bsloww2): Likewise.
22786 (cslow2): Likewise.
22787 (csloww): Likewise.
22788 (csloww1): Likewise.
22789 (csloww2): Likewise.
22790 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22791 range_reduce. Merge in __mpsin1.
22792 (__mpcos): Likewise.
22793 (__mpsin1): Remove.
22794 (__mpcos1): Likewise.
22795
22796 2013-10-07 Joseph Myers <joseph@codesourcery.com>
22797
22798 * locale/loadlocale.c (_nl_intern_locale_data): Use
22799 LOCFILE_ALIGNED_P.
22800 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22801 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22802 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22803 obstack data is appropriately aligned.
22804 (obstack_int32_grow_fast): Likewise.
22805 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22806 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22807 (add_locale_uint32_array): Likewise.
22808
22809 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 * benchtests/Makefile: Remove ARGLIST and RET variables.
22812 ($(objpfx)bench-%.c): Pass only function name to the script.
22813 * benchtests/README: Update documentation.
22814 * benchtests/acos-inputs: Add new directives.
22815 * benchtests/acosh-inputs: Likewise.
22816 * benchtests/asin-inputs: Likewise.
22817 * benchtests/asinh-inputs: Likewise.
22818 * benchtests/atan-inputs: Likewise.
22819 * benchtests/atanh-inputs: Likewise.
22820 * benchtests/cos-inputs: Likewise.
22821 * benchtests/cosh-inputs: Likewise.
22822 * benchtests/exp-inputs: Likewise.
22823 * benchtests/log-inputs: Likewise.
22824 * benchtests/pow-inputs: Likewise.
22825 * benchtests/rint-inputs: Likewise.
22826 * benchtests/sin-inputs: Likewise.
22827 * benchtests/sinh-inputs: Likewise.
22828 * benchtests/tan-inputs: Likewise.
22829 * benchtests/tanh-inputs: Likewise.
22830 * scripts/bench.pl: Add support for new directives.
22831
22832 2013-10-07 Alan Modra <amodra@gmail.com>
22833
22834 * README: Fix careless merge.
22835
22836 2013-10-05 Alan Modra <amodra@gmail.com>
22837
22838 * NEWS: Mention powerpc64le support and bugs fixed.
22839 * README: Both big-endian and little-endian powerpc64 supported.
22840
22841 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22842
22843 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22844 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22845 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22846 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22847
22848 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22849
22850 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22851 match prototype.
22852
22853 2013-10-04 Joseph Myers <joseph@codesourcery.com>
22854
22855 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22856 Move -mhard-float appending from
22857 ports/sysdeps/powerpc/powerpc32/Makefile.
22858 [$(with-fp) = yes] (ASFLAGS): Likewise.
22859 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22860 * sysdeps/powerpc/nofpu: Move directory from
22861 ports/sysdeps/powerpc/nofpu.
22862 * sysdeps/powerpc/soft-fp: Move directory from
22863 ports/sysdeps/powerpc/soft-fp.
22864 * sysdeps/powerpc/powerpc32/405: Move directory from
22865 ports/sysdeps/powerpc/powerpc32/405.
22866 * sysdeps/powerpc/powerpc32/440: Move directory from
22867 ports/sysdeps/powerpc/powerpc32/440.
22868 * sysdeps/powerpc/powerpc32/464: Move directory from
22869 ports/sysdeps/powerpc/powerpc32/464.
22870 * sysdeps/powerpc/powerpc32/476: Move directory from
22871 ports/sysdeps/powerpc/powerpc32/476.
22872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22875 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22881 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22882 * README: Update for powerpc-*-linux-gnu software floating point
22883 support in libc.
22884
22885 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22886 case to powerpc/powerpc32*.
22887 * sysdeps/unix/sysv/linux/configure: Regenerated.
22888
22889 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22890 (_FPU_MASK_OM): Define as 0x04.
22891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22893 0x00c10080.
22894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22895 0x0000003c.
22896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22897
22898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22899 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22900 getcontext_e500.
22901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22902 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22903 setcontext_e500.
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22905 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22906 and setcontext_e500.
22907
22908 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22909
22910 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22911
22912 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22913
22914 * manual/threads.texi (Default Thread Attributes): Fix typo.
22915
22916 2013-10-04 Will Newton <will.newton@linaro.org>
22917
22918 * malloc/Makefile: Add tst-memalign.
22919 * malloc/tst-memalign.c: New file.
22920
22921 * malloc/tst-posix_memalign.c: Add comments.
22922 (do_test): Add comments and call free on all potentially
22923 allocated pointers. Add space after cast.
22924
22925 * malloc/tst-pvalloc.c: Add comments.
22926 (do_test): Add comments and call free on all potentially
22927 allocated pointers. Remove duplicate check for NULL pointer.
22928 Add space after cast.
22929
22930 * malloc/tst-valloc.c: Add comments.
22931 (do_test): Add comments and call free on all potentially
22932 allocated pointers. Remove duplicate check for NULL pointer.
22933 Add space after cast.
22934
22935 2013-10-04 Alan Modra <amodra@gmail.com>
22936
22937 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22938 Use stdint types in rather than __attribute__((mode())).
22939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22940
22941 2013-10-04 Alan Modra <amodra@gmail.com>
22942
22943 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22944 Correct handling of unaligned relocs for little-endian.
22945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22946
22947 2013-10-04 Alan Modra <amodra@gmail.com>
22948
22949 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22950 * configure: Regenerate.
22951 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22952 * shlib-versions: Likewise.
22953
22954 2013-10-04 Alan Modra <amodra@gmail.com>
22955
22956 * string/tester.c (test_memrchr): Increment reported test cycle.
22957
22958 2013-10-04 Alan Modra <amodra@gmail.com>
22959
22960 * string/test-memcpy.c (do_one_test): When reporting errors, print
22961 string address and don't overrun end of string.
22962
22963 2013-10-04 Alan Modra <amodra@gmail.com>
22964
22965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22966 insrdi. Make better use of reg selection to speed exit slightly.
22967 Schedule entry path a little better. Remove useless "are we done"
22968 checks on entry to main loop. Handle wrapping around zero address.
22969 Correct main loop count. Handle single left-over word from main
22970 loop inline rather than by using loop_small. Remove extra word
22971 case in loop_small caused by wrong loop count. Add little-endian
22972 support.
22973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22975 cache hint.
22976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22978 support. Avoid rlwimi.
22979 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22980
22981 2013-10-04 Alan Modra <amodra@gmail.com>
22982
22983 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22984 insrdi. Formatting.
22985 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22986 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22987 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22989 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22991
22992 2013-10-04 Alan Modra <amodra@gmail.com>
22993
22994 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22995 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22997 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22998 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23000 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23001 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23003 use of regs. Use power7 mtocrf. Tidy function tails.
23004
23005 2013-10-04 Alan Modra <amodra@gmail.com>
23006
23007 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23008 Formatting. Consistently use rXXX register defines or rN defines.
23009 Use early exit labels that avoid restoring unused non-volatile regs.
23010 Make cr field use more consistent with rWORDn compares. Rename
23011 regs used as shift registers for unaligned loop, using rN defines
23012 for short lifetime/multiple use regs.
23013 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23015 addi 1,1,64 to pop stack frame. Simplify return value code.
23016 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23017
23018 2013-10-04 Alan Modra <amodra@gmail.com>
23019
23020 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23021 support. Correct typos, formatting. Optimize tail. Use insrdi
23022 rather than rlwimi.
23023 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23024 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23025 little-endian support. Correct typos.
23026 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23027 rather than rlwimi.
23028 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23029 in loop and entry code to keep "and." results.
23030 (strchr): Add little-endian support. Comment. Move cntlzd
23031 earlier in tail.
23032 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23033
23034 2013-10-04 Alan Modra <amodra@gmail.com>
23035
23036 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23037 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23040
23041 2013-10-04 Alan Modra <amodra@gmail.com>
23042
23043 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23044 (rTMP): Define as r11.
23045 (strcmp): Add little-endian support. Optimise tail.
23046 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23047 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23048 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23053
23054 2013-10-04 Alan Modra <amodra@gmail.com>
23055
23056 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23057 little-endian support. Remove unnecessary "are we done" tests.
23058 Handle "s" wrapping around zero and extremely large "size".
23059 Correct main loop count. Handle single left-over word from main
23060 loop inline rather than by using small_loop. Correct comments.
23061 Delete "zero" tail, use "end_max" instead.
23062 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23063
23064 2013-10-04 Alan Modra <amodra@gmail.com>
23065
23066 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23067 support. Don't branch over align.
23068 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23070 support. Rearrange tmp reg use to suit. Comment.
23071 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23072
23073 2013-10-04 Alan Modra <amodra@gmail.com>
23074
23075 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23076
23077 2013-10-04 Alan Modra <amodra@gmail.com>
23078
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23080 conditional form of branch and link when obtaining pc.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23082
23083 2013-10-04 Alan Modra <amodra@gmail.com>
23084
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23086 HIWORD/LOWORD.
23087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23089
23090 2013-10-04 Alan Modra <amodra@gmail.com>
23091
23092 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23093 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23094 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23095 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23096 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23097 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23098 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23099 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23100 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23101 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23102
23103 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23104 Alistair Popple <alistair@ozlabs.au.ibm.com>
23105 Alan Modra <amodra@gmail.com>
23106
23107 [BZ #15723]
23108 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23109 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23110 _dl_hwcap access for little-endian.
23111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23112 destroy vmx regs when saving unaligned.
23113 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23114 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23115 destroy vmx regs when saving unaligned.
23116
23117 2013-10-04 Alan Modra <amodra@gmail.com>
23118
23119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23120 Don't use a union to pack hi/low value.
23121
23122 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23123
23124 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23125 for little-endian.
23126 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23128 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23129 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23130 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23131
23132 2013-10-04 Alan Modra <amodra@gmail.com>
23133
23134 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23135 constants to usual value for .cst8 section, and remove redundant
23136 high address load.
23137 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23138 constant for 0x1p52. Load little-endian words of double from
23139 correct stack offsets.
23140
23141 2013-10-04 Alan Modra <amodra@gmail.com>
23142
23143 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23144 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23145 words of double from correct stack offsets.
23146 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23147 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23148 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23153 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23154 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23156 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23158 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23159 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23160 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23161 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23162 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23163
23164 2013-10-04 Alan Modra <amodra@gmail.com>
23165
23166 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23167 64-bit int/double union.
23168 (_FPU_SETCW): Likewise.
23169 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23170 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23171
23172 2013-10-04 Alan Modra <amodra@gmail.com>
23173
23174 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23175 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23176
23177 2013-10-04 Alan Modra <amodra@gmail.com>
23178
23179 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23180 use vector int constants.
23181 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23182
23183 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23184
23185 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23186 array with long long.
23187 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23188 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23189 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23190 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23191 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23192 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23193 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23194 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23195 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23196 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23197 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23198 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23199 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23200
23201 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23202
23203 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23204 (__signbit): Likewise. Correct for little-endian.
23205 (__signbitl): Call __signbit.
23206 (lrint): Correct for little-endian.
23207 (lrintf): Call lrint.
23208
23209 2013-10-04 Alan Modra <amodra@gmail.com>
23210
23211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23212 union 32-bit int array member with 64-bit int array.
23213 (t515, tm256): Double rather than long double.
23214 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23215
23216 2013-10-04 Alan Modra <amodra@gmail.com>
23217
23218 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23219 Delete.
23220 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23222 version of math_ldbl.h.
23223
23224 2013-10-04 Alan Modra <amodra@gmail.com>
23225
23226 [BZ #15734], [BZ #15735]
23227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23228 all uses of ieee875 long double macros and unions. Simplify test
23229 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23230 ldbl_extract_mantissa value for ix,iy exponents. Properly
23231 normalize after ldbl_extract_mantissa, and don't add hidden bit
23232 already handled. Don't treat low word of ieee854 mantissa like
23233 low word of IBM long double and mask off bit when testing for
23234 zero.
23235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23236 all uses of ieee875 long double macros and unions. Simplify tests
23237 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23238 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23239 two1022, instead use their values. Recognise that tests for large
23240 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23241 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23242 Rewrite all uses of ieee875 long double macros and unions. Simplify
23243 test for 0.0L and nan. Correct negation.
23244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23245 ieee875 long double macros and unions. Correct output for large
23246 magnitude x. Correct absolute value calculation.
23247 (__erfcl): Likewise.
23248 * math/libm-test.inc: Add tests for errors discovered in IBM long
23249 double versions of fmodl, remainderl, erfl and erfcl.
23250
23251 2013-10-04 Alan Modra <amodra@gmail.com>
23252
23253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23254 all uses of ieee854 long double macros and unions. Simplify tests
23255 for long doubles that are fully specified by the high double.
23256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23257 Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23259 Remove dead code too.
23260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23261 (__ieee754_ynl): Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23265 Remove dead code too.
23266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23270 Simplify.
23271 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23272 Simplify.
23273 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23274 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23276 Comment on variable precision.
23277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23279 Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23283 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23285
23286 2013-10-04 Alan Modra <amodra@gmail.com>
23287
23288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23290 all uses of ieee854 long double macros and unions.
23291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23297 Likewise.
23298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23304 Simplify sign and nan test too.
23305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23309 Likewise.
23310 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23311 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23312 Likewise.
23313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23314 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23315 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23317 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23319
23320 2013-10-04 Alan Modra <amodra@gmail.com>
23321
23322 * stdio-common/printf_size.c (__printf_size): Don't use
23323 union ieee854_long_double in fpnum union.
23324 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23325 signbit macro to retrieve sign from long double.
23326 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23327 retrieve sign from long double.
23328 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23329 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23330 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23331 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23332 * math/test-misc.c (main): Don't use union ieee854_long_double.
23333
23334 2013-10-04 Alan Modra <amodra@gmail.com>
23335
23336 [BZ #15680]
23337 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23338 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23339 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23340 calculation. Remove unnecessary test for denormal exponent.
23341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23342 Correct handling of denormals. Avoid undefined shift behaviour.
23343 Correct normalisation of low mantissa when low double is denormal.
23344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23345 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23346 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23347 Correct normalisation of low mantissa. Test for overflow of high
23348 mantissa and normalise.
23349 (ldbl_nearbyint): Use more readable constant for two52.
23350 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23351 (__mpn_construct_long_double): Fix test for overflow of high
23352 mantissa and correct normalisation. Avoid undefined shift.
23353
23354 2013-10-04 Alan Modra <amodra@gmail.com>
23355
23356 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23357 (union ibm_extended_long_double): Define as an array of ieee754_double.
23358 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23359 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23360 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23361 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23369
23370 2013-10-03 Joseph Myers <joseph@codesourcery.com>
23371
23372 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23373 page size instead of calling getpagesize.
23374
23375 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23376 (LOCFILE_ALIGN_MASK): Likewise.
23377 (LOCFILE_ALIGN_UP): Likewise.
23378 (LOCFILE_ALIGNED_P): Likewise.
23379 * locale/programs/ld-collate.c (collate_output): Use the new
23380 macros instead of __alignof__ (int32_t).
23381 * locale/weight.h (findidx): Likewise.
23382
23383 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
23384
23385 [BZ #431]
23386 * manual/string.texi: Fix strncat and wcsncat.
23387
23388 2013-10-03 Brooks Moses <bmoses@google.com>
23389
23390 [BZ #15915]
23391 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23392 * Makerules: ...here, and adjust associated comments.
23393
23394 2013-10-02 Will Newton <will.newton@linaro.org>
23395
23396 * malloc/Makefile: Add tst-pvalloc.
23397 * malloc/tst-pvalloc.c: New file.
23398
23399 2013-10-02 Will Newton <will.newton@linaro.org>
23400
23401 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23402 improve test coverage.
23403
23404 2013-10-02 Will Newton <will.newton@linaro.org>
23405
23406 * malloc/Makefile: Add tst-posix_memalign.
23407 * malloc/tst-posix_memalign.c: New file.
23408
23409 2013-10-01 Eric Blake <eblake@redhat.com>
23410
23411 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23412 Use __THROWNL rather than __THROW on static functions.
23413
23414 2013-09-30 Petr Machata <pmachata@redhat.com>
23415
23416 * elf/elf.h (R_AARCH64_ABS16): New macro.
23417 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23418 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23419 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23420 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23421 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23422 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23423 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23424 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23425 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23426 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23427 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23428 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23429 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23430 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23431 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23432 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23433 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23434 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23435 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23436 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23437 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23438 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23439 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23440 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23441 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23442 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23443 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23444 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23445 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23446 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23447 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23448 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23449 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23450 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23451 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23452 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23453 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23454 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23455 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23456 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23457 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23458 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23459 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23460 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23461 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23462 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23463 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23464 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23465 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23466 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23467 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23468 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23469 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23470 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23471 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23472 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23473 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23474 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23475 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23476 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23477 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23478 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23479 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23480 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23481 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23482 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23483 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23484 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23485 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23486 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23487 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23488 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23489 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23490 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23491 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23492 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23493 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23494 (R_AARCH64_TLSDESC_LDR): Likewise.
23495 (R_AARCH64_TLSDESC_ADD): Likewise.
23496 (R_AARCH64_TLSDESC_CALL): Likewise.
23497
23498 2013-09-30 Andreas Schwab <schwab@suse.de>
23499
23500 [BZ #15048]
23501 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23502 the nss database lookup.
23503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23505
23506 2013-09-28 Mike Frysinger <vapier@gentoo.org>
23507
23508 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23509
23510 2013-09-28 P. J. McDermott <pj@pehjota.net>
23511
23512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23513 ${Bash-specific parameter/pattern/string} parameter expansion.
23514 * sysdeps/unix/make-syscalls.sh: Likewise.
23515
23516 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23517
23518 * sysdeps/sh/stackguard-macros.h: New file.
23519
23520 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
23521
23522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23524 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23525 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23526 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23527 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23528
23529 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23530
23531 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23532 Fix thread ID register.
23533
23534 2013-09-25 Joseph Myers <joseph@codesourcery.com>
23535
23536 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23537 [POSIX || UNIX98]: Require rather than permitting all symbols from
23538 <time.h>.
23539 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23540 element of struct sched_param.
23541 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23542 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23543 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23544 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23545 constant.
23546
23547 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23548
23549 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23550 argument calculation.
23551
23552 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23553
23554 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23555 Expect macro.
23556 [POSIX] (pthread_attr_t): Do not require type.
23557 [POSIX] (pthread_cond_t): Likewise.
23558 [POSIX] (pthread_condattr_t): Likewise.
23559 [POSIX] (pthread_key_t): Likewise.
23560 [POSIX] (pthread_mutex_t): Likewise.
23561 [POSIX] (pthread_mutexattr_t): Likewise.
23562 [POSIX] (pthread_once_t): Likewise.
23563 [POSIX] (pthread_t): Likewise.
23564 [POSIX-based standards] (pthread_atfork): Expect function.
23565
23566 2013-09-24 Joseph Myers <joseph@codesourcery.com>
23567 Richard Sandiford <richard@codesourcery.com>
23568
23569 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23570 (swap_endianness_p): New extern variable.
23571 (set_big_endian): New inline function.
23572 (maybe_swap_uint32): Likewise.
23573 (maybe_swap_uint32_array): Likewise.
23574 (maybe_swap_uint32_obstack): Likewise.
23575 * locale/programs/locfile.c: Include <stdbool.h>.
23576 (swap_endianness_p): New variable.
23577 (add_locale_uint32): Call maybe_swap_uint32.
23578 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23579 (write_locale_data): Call maybe_swap_uint32_array.
23580 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23581 maybe_swap_uint32.
23582 (obstack_int32_grow_fast): Likewise.
23583 (output_weightwc): Call maybe_swap_uint32_obstack.
23584 (collate_output): Likewise.
23585 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23586 (OPT_LITTLE_ENDIAN): Likewise.
23587 (options): Add --little-endian and --big-endian options.
23588 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23589 * locale/programs/locarchive.c: Include "locfile.h".
23590 (GET): New macro.
23591 (SET): Likewise.
23592 (INC): Likewise.
23593 (create_archive): Use the new macros to access fields of
23594 structures directly mapped from or written to locale archives.
23595 (oldlocrecentcmp): Likewise.
23596 (enlarge_archive): Likewise.
23597 (insert_name): Likewise.
23598 (add_alias): Likewise.
23599 (add_locale): Likewise.
23600 (delete_locales_from_archive): Likewise.
23601 (show_archive_content): Likewise.
23602 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23603 locale data.
23604
23605 2013-09-24 Roland McGrath <roland@hack.frob.com>
23606
23607 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23608 http://www.gnu.org/doc/freemanuals.texi.
23609 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23610
23611 2013-09-24 Will Newton <will.newton@linaro.org>
23612
23613 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23614 macro.
23615
23616 2013-09-23 Joseph Myers <joseph@codesourcery.com>
23617
23618 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23619 unsigned char.
23620
23621 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23622
23623 * manual/threads.texi (POSIX Threads): Fix a typo.
23624
23625 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23626
23627 [BZ #14547]
23628 * string/tst-strcoll-overflow.c: New test case.
23629 * string/Makefile (xtests): Add tst-strcoll-overflow.
23630 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23631 cache if string sizes may cause integer overflow.
23632
23633 [BZ #14547]
23634 * string/strcoll_l.c (coll_seq): New members rule, idx,
23635 save_idx and back_us.
23636 (get_next_seq_nocache): New function.
23637 (do_compare_nocache): New function.
23638 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23639 when malloc fails.
23640
23641 2013-09-23 Carlos O'Donell <carlos@redhat.com>
23642
23643 [BZ #15754]
23644 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23645 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23646 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23647
23648 [BZ #15754]
23649 * elf/Makefile (tests): Add tst-ptrguard1.
23650 (tests-static): Add tst-ptrguard1-static.
23651 (tst-ptrguard1-ARGS): Define.
23652 (tst-ptrguard1-static-ARGS): Define.
23653 * elf/tst-ptrguard1.c: New file.
23654 * elf/tst-ptrguard1-static.c: New file.
23655 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23656 * sysdeps/i386/stackguard-macros.h: Likewise.
23657 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23658 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23659 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23660 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23661 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23662 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23663
23664 2013-09-23 Hector Marco <hecmargi@upv.es>
23665 Ismael Ripoll <iripoll@disca.upv.es>
23666 Carlos O'Donell <carlos@redhat.com>
23667
23668 [BZ #15754]
23669 * sysdeps/generic/stackguard-macros.h: Define
23670 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23671 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23672 Define __pointer_chk_guard_local.
23673 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23674 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23675
23676 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23677
23678 [BZ #15859]
23679 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23680
23681 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23682
23683 * include/string.h (__ffs): Declare as hidden.
23684 * string/ffs.c (__ffs): Define as hidden.
23685 * sysdeps/i386/ffs.c (__ffs): Likewise.
23686 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23687 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23688 * sysdeps/s390/ffs.c (__ffs): Likewise.
23689 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23690
23691 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
23692
23693 * NEWS: Mention malloc probes.
23694
23695 * malloc/arena.c (new_heap): New memory_heap_new probe.
23696 (grow_heap): New memory_heap_more probe.
23697 (shrink_heap): New memory_heap_less probe.
23698 (heap_trim): New memory_heap_free probe.
23699 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23700 (systrim): New memory_sbrk_less probe.
23701 * manual/probes.texi: Document them.
23702
23703 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23704 * manual/probes.texi: Document it.
23705
23706 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23707 (__libc_realloc): Add memory_realloc_retry probe.
23708 (__libc_memalign): Add memory_memalign_retry probe.
23709 (__libc_valloc): Add memory_valloc_retry probe.
23710 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23711 (__libc_calloc): Add memory_calloc_retry probe.
23712 * manual/probes.texi: Document them.
23713
23714 * malloc/arena.c (get_free_list): Add probe
23715 memory_arena_reuse_free_list.
23716 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23717 and memory_arena_reuse.
23718 (arena_get2) [!PER_THREAD]: Likewise.
23719 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23720 memory_arena_reuse_realloc.
23721 * manual/probes.texi: Document them.
23722
23723 * malloc/malloc.c (__libc_free): Add
23724 memory_mallopt_free_dyn_thresholds probe.
23725 (__libc_mallopt): Add multiple memory_mallopt probes.
23726 * manual/probes.texi: Document them.
23727
23728 * malloc/malloc.c: Include stap-probe.h.
23729 (__libc_mallopt): Add memory_mallopt probe.
23730 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23731 * manual/probes.texi: New.
23732 * manual/Makefile (chapters): Add probes.
23733 * manual/threads.texi: Set next node.
23734
23735 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23736
23737 [BZ #15963, #13985]
23738 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23739 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23740 Add `Chinese' to `nan' entry name.
23741
23742 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23743
23744 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23745 (POLYNOMIAL): Likewise.
23746 (TAYLOR_SINCOS): Likewise.
23747 (TAYLOR_SLOW): Likewise.
23748 (__sin): Use TAYLOR_SINCOS.
23749 (__cos): Likewise.
23750 (slow): Use TAYLOR_SLOW.
23751 (sloww): Likewise.
23752 (bsloww): Likewise.
23753 (csloww): Likewise.
23754
23755 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23756
23757 * stdlib/strtod_l.c: Fix buffer overrun.
23758
23759 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23760
23761 * benchtests/Makefile (bench): Add sincos.
23762 * benchtests/bench-sincos.c: New file.
23763
23764 * math/libm-test.inc (cos_test_data): New test inputs.
23765 (sin_test_data): Likewise.
23766
23767 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23768 macro.
23769 (__sin): Use it.
23770 (__cos): Likewise.
23771 (slow1): Likewise.
23772 (slow2): Likewise.
23773 (sloww1): Likewise.
23774 (sloww2): Likewise.
23775 (bsloww1): Likewise.
23776 (bsloww2): Likewise.
23777 (cslow2): Likewise.
23778 (csloww1): Likewise.
23779 (csloww2): Likewise.
23780
23781 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23782 function.
23783 (__sin): Use it.
23784 (__cos): Likewise.
23785
23786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23787 gotos.
23788 (__cos): Likewise.
23789
23790 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23791
23792 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23793 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23794 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23795 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23796 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23797 * elf/cache.c (print_entry): Handle the new cache flags.
23798
23799 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23800 Aldy Hernandez <aldyh@redhat.com>
23801
23802 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23803 Change condition to [_SOFT_FLOAT].
23804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23816 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23819 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23820 declaration.
23821
23822 2013-09-18 Joseph Myers <joseph@codesourcery.com>
23823
23824 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23825 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23826 (__longjmp): Use LOAD_GP to load saved GPRs.
23827 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23828 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23829 (__sigsetjmp): Use SAVE_GP to save GPRs.
23830
23831 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23832 Do not append -msoft-float.
23833 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23834
23835 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23836
23837 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23838
23839 2013-09-17 Joseph Myers <joseph@codesourcery.com>
23840
23841 [BZ #15966]
23842 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23843 (_FPU_GETCW): Use initial "__" on variable and field names but not
23844 on macro parameter name.
23845 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23846 parentheses around reference to macro parameter.
23847
23848 2013-09-13 Richard Sandiford <richard@codesourcery.com>
23849
23850 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23851 prototype.
23852 (ctype_startup): Use uint32_t in cast and sizeof for
23853 ctype->charnames.
23854
23855 2013-09-11 Jia Liu <proljc@gmail.com>
23856
23857 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23858 __daddr_t_defined.
23859 [__FreeBSD__]: Likewise.
23860
23861 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
23862
23863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23864 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23865 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23866 (strchr): Remove __strchr_sse42 ifunc selection.
23867 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23868 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23869
23870 2013-09-11 Will Newton <will.newton@linaro.org>
23871
23872 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23873 parameter to RES. Remove hardcoded 1000 value.
23874 * benchtests/bench-skeleton.c (main): Pass RES parameter
23875 to TIMING_INIT and multiply result by 1000.
23876
23877 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23878
23879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23880
23881 2013-09-11 Andreas Schwab <schwab@suse.de>
23882
23883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23884 if not defined.
23885 (O_TMPFILE) [__USE_GNU]: Define.
23886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23887 Define.
23888
23889 2013-09-11 Will Newton <will.newton@linaro.org>
23890
23891 [BZ #15857]
23892 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23893 does not overflow.
23894
23895 2013-09-11 Will Newton <will.newton@linaro.org>
23896
23897 [BZ #15856]
23898 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23899 does not overflow.
23900
23901 2013-09-11 Will Newton <will.newton@linaro.org>
23902
23903 [BZ #15855]
23904 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23905 does not overflow.
23906
23907 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
23908
23909 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23910 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23914
23915 2013-09-10 Allan McRae <allan@archlinux.org>
23916
23917 [BZ #15748]
23918 * manual/arith.texi (Parsing of Floats): Clarify
23919 cross-reference.
23920
23921 [BZ #15849]
23922 * manual/install.texi (Running make install): Mention
23923 --enable-pt-chown.
23924 * INSTALL: Regenerated.
23925
23926 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23927
23928 * csu/init-first.c (_init): Remove the !SHARED condition around
23929 FPU control word initialization.
23930 * elf/dl-support.c (_dl_fpu_control): New variable.
23931 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23932 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23933 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23934 * math/test-fpucw-static.c: New file.
23935 * math/test-fpucw-ieee.c: New file.
23936 * math/test-fpucw-ieee-static.c: New file.
23937 * math/Makefile (tests): Add `test-fpucw-ieee' and
23938 `$(tests-static)'.
23939 (tests-static): New variable.
23940 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23941 dependency to...
23942 [($(build-shared),yes)]
23943 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23944 ... this.
23945 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23946 New dependency.
23947
23948 2013-09-09 Allan McRae <allan@archlinux.org>
23949
23950 [BZ #15939]
23951 * manual/string.texi (Collation Functions): Fix typo in
23952 strcoll example.
23953 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23954
23955 [BZ #15893]
23956 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23957
23958 [BZ #15892]
23959 * libio/memstream.c (open_memstream): Fix memory leak.
23960 * libio/wmemstream.c (open_wmemstream): Likewise.
23961
23962 [BZ #15895]
23963 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23964
23965 2013-09-09 Will Newton <will.newton@linaro.org>
23966
23967 * malloc/Makefile: Add tst-realloc to tests.
23968 * malloc/tst-realloc.c: New file.
23969
23970 2013-09-09 Allan McRae <allan@archlinux.org>
23971
23972 [BZ #15844]
23973 * COPYING: Update from GNU website to fix FSF address.
23974 * COPYING.LIB: Likewise.
23975
23976 2013-09-06 David S. Miller <davem@davemloft.net>
23977
23978 * po/zh_TW.po: Update Chinese (traditional) translation from
23979 translation project.
23980
23981 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23982 Joseph Myers <joseph@codesourcery.com>
23983
23984 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23985 "localeinfo.h".
23986 (obstack_chunk_alloc): New macro.
23987 (obstack_chunk_free): Likewise.
23988 (record_offset): New function.
23989 (init_locale_data): Likewise.
23990 (align_locale_data): Likewise.
23991 (add_locale_empty): Likewise.
23992 (add_locale_raw_data): Likewise.
23993 (add_locale_raw_obstack): Likewise.
23994 (add_locale_string): Likewise.
23995 (add_locale_wstring): Likewise.
23996 (add_locale_uint32): Likewise.
23997 (add_locale_uint32_array): Likewise.
23998 (add_locale_char): Likewise.
23999 (start_locale_structure): Likewise.
24000 (end_locale_structure): Likewise.
24001 (start_locale_prelude): Likewise.
24002 (end_locale_prelude): Likewise.
24003 (write_locale_data): Take locale_file structure rather than an
24004 iovec.
24005 * locale/programs/locfile.h: Include "obstack.h".
24006 (struct locale_file): Change to store locale file contents instead
24007 of header.
24008 (init_locale_data): New prototype.
24009 (align_locale_data): Likewise.
24010 (add_locale_empty): Likewise.
24011 (add_locale_raw_data): Likewise.
24012 (add_locale_raw_obstack): Likewise.
24013 (add_locale_string): Likewise.
24014 (add_locale_wstring): Likewise.
24015 (add_locale_uint32): Likewise.
24016 (add_locale_uint32_array): Likewise.
24017 (add_locale_char): Likewise.
24018 (start_locale_structure): Likewise.
24019 (end_locale_structure): Likewise.
24020 (start_locale_prelude): Likewise.
24021 (end_locale_prelude): Likewise.
24022 (write_locale_data): Update prototype.
24023 * locale/programs/3level.h (struct TABLE): Remove result field.
24024 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24025 Use new locale_file interface.
24026 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24027 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24028 * locale/programs/ld-address.c (address_output): Use new
24029 locale_file interface.
24030 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24031 NO_ADD_LOCALE.
24032 (collate_finish): Don't call collseq_table_finalize.
24033 (collate_output): Use new locale_file interface.
24034 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24035 in file.
24036 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24037 (TABLE): Move defines earlier in file.
24038 (ELEMENT): Likewise.
24039 (DEFAULT): Likewise.
24040 (wctrans_table_add): Move macro and inline function earlier in
24041 file.
24042 (struct wctype_table): Move type earlier in file.
24043 (add_locale_wctype_table): New static prototype.
24044 (struct locale_ctype_t): Use logical types instead of struct iovec
24045 pointers for members.
24046 (ctype_output): Use new locale_file interface.
24047 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24048 new locale_file interface.
24049 (allocate_arrays): Update for use of new locale_file interface.
24050 * locale/programs/ld-identification.c (identification_output): Use
24051 new locale_file interface.
24052 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24053 * locale/programs/ld-messages.c (messages_output): Likewise.
24054 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24055 * locale/programs/ld-name.c (name_output): Likewise.
24056 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24057 * locale/programs/ld-paper.c (paper_output): Likewise.
24058 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24059 * locale/programs/ld-time.c (time_output): Likewise.
24060
24061 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24062
24063 * benchtests/Makefile: Add memrchr benchmark.
24064 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24065 benchmark as memrchr.
24066 * benchtests/bench-memrchr-ifunc.c: New file.
24067 * benchtests/bench-memrchr.c: New file.
24068
24069 2013-09-06 Will Newton <will.newton@linaro.org>
24070
24071 * benchtests/Makefile (string-bench): Add memcpy.
24072
24073 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24074 Cong Wang <amwang@redhat.com>
24075
24076 [BZ #15850]
24077 * sysdeps/unix/sysv/linux/bits/in.h
24078 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24079 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24080 before __USE_KERNEL_IPV6_DEFS uses.
24081 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24082 IPPROTO_BEETPH.
24083 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24084 sockaddr_in6, or ipv6_mreq.
24085
24086 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24087
24088 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24089 memory access for final bytes in some large inputs.
24090 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24091
24092 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24093
24094 * string/test-memrchr.c: New file.
24095 * string/test-memrchr-ifunc.c: New file.
24096 * string/Makefile: Add new memrchr testcase.
24097
24098 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24099
24100 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24101 fanotify_init returns EPERM.
24102
24103 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24104
24105 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24106 errors.
24107 (top level): Treat second token from macro or constant entries for
24108 allowed headers as allowed.
24109 * include/complex.h: Condition internal declarations on
24110 [!_ISOMAC].
24111 * include/fenv.h: Condition include of <stdbool.h> and internal
24112 declarations on [!_ISOMAC].
24113
24114 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24115
24116 [BZ #15923]
24117 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24118
24119 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24120
24121 * configure.in (--enable-versioning): Remove configure option.
24122 (libc_cv_asm_symver_directive): Remove configure test.
24123 (libc_cv_ld_version_script_option): Likewise.
24124 (VERSIONING): Remove variable and AC_SUBST.
24125 (DO_VERSIONING): Remove AC_DEFINE.
24126 * configure: Regenerated.
24127 * config.h.in (DO_VERSIONING): Remove macro.
24128 * Makerules [$(versioning) = yes]: Change conditionals to
24129 [$(build-shared) = yes].
24130 * config.make.in (versioning): Remove variable.
24131 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24132 [$(build-shared) = yes].
24133 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24134 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24135 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24136 [$(build-shared) = yes].
24137 * extra-lib.mk [$(versioning) = yes]: Likewise.
24138 * hurd/Makefile [$(versioning) = yes]: Likewise.
24139 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24140 [SHARED].
24141 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24142 [SHARED].
24143 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24144 [SHARED && !NO_HIDDEN].
24145 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24146 [SHARED].
24147 [SHARED && DO_VERSIONING]: Likewise..
24148 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24149 [$(build-shared) = yes].
24150 * manual/install.texi (--disable-versioning): Remove
24151 documentation.
24152 * INSTALL: Regenerated.
24153 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24154 to [SHARED].
24155 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24156 [$(build-shared) = yes].
24157 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24158 * sysdeps/i386/i686/multiarch/strstr-c.c
24159 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24160 [SHARED && !NO_HIDDEN].
24161 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24162 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24163 * sysdeps/powerpc/powerpc32/dl-machine.c
24164 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24165 * sysdeps/powerpc/powerpc32/sysdep.h
24166 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24167 to [SHARED && PIC && !NO_HIDDEN].
24168 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24169 conditional to [SHARED].
24170
24171 2013-09-04 Will Newton <will.newton@linaro.org>
24172
24173 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24174 * benchtests/bench-string.h: Include bench-timing.h instead
24175 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24176 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24177 call to HP_TIMING_DIFF_INIT.
24178 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24179 instead of hp-timing.h macros.
24180 * benchtests/bench-memchr.c: Likewise.
24181 * benchtests/bench-memcmp.c: Likewise.
24182 * benchtests/bench-memcpy.c: Likewise.
24183 * benchtests/bench-memmem.c: Likewise.
24184 * benchtests/bench-memmove.c: Likewise.
24185 * benchtests/bench-memset.c: Likewise.
24186 * benchtests/bench-rawmemchr.c: Likewise.
24187 * benchtests/bench-strcasecmp.c: Likewise.
24188 * benchtests/bench-strcasestr.c: Likewise.
24189 * benchtests/bench-strcat.c: Likewise.
24190 * benchtests/bench-strchr.c: Likewise.
24191 * benchtests/bench-strcmp.c: Likewise.
24192 * benchtests/bench-strcpy.c: Likewise.
24193 * benchtests/bench-strcpy_chk.c: Likewise.
24194 * benchtests/bench-strlen.c: Likewise.
24195 * benchtests/bench-strncasecmp.c: Likewise.
24196 * benchtests/bench-strncat.c: Likewise.
24197 * benchtests/bench-strncmp.c: Likewise.
24198 * benchtests/bench-strncpy.c: Likewise.
24199 * benchtests/bench-strnlen.c: Likewise.
24200 * benchtests/bench-strpbrk.c: Likewise.
24201 * benchtests/bench-strrchr.c: Likewise.
24202 * benchtests/bench-strspn.c: Likewise.
24203 * benchtests/bench-strstr.c: Likewise.
24204
24205 2013-09-04 Will Newton <will.newton@linaro.org>
24206
24207 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24208
24209 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24210
24211 [BZ #15427]
24212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24213 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24214 * math/libm-test.inc (lgamma_test_data): Add more tests.
24215 * sysdeps/i386/fpu/libm-test-ulps: Update.
24216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24217
24218 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24219
24220 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24222 Add ifunc.
24223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24224 Add strcmp-sse2-unaligned
24225 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24226
24227 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24228
24229 * Versions.def (libc): Add GLIBC_2.19.
24230
24231 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24232
24233 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24234 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24235
24236 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24237
24238 [BZ #14155]
24239 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24240 intermediate calculations in recurrence.
24241 (__ieee754_ynf): Likewise.
24242 * math/libm-test.inc (jn_test_data): Do not allow spurious
24243 underflow exception. Add more tests.
24244 (yn_test_data): Add more tests.
24245 * sysdeps/i386/fpu/libm-test-ulps: Update.
24246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24247
24248 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
24249
24250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24251
24252 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24253
24254 * csu/init-first.c: Fix then/than typos.
24255 * locale/programs/ld-collate.c: Likewise.
24256 * locale/programs/linereader.h: Likewise.
24257 * manual/charset.texi: Likewise.
24258 * manual/filesys.texi: Likewise.
24259 * manual/stdio.texi: Likewise.
24260 * manual/string.texi: Likewise.
24261 * stdlib/fmtmsg.c: Likewise.
24262 * sysdeps/i386/stpncpy.S: Likewise.
24263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24264 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24265 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24266 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24267
24268 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24269
24270 * elf/dl-open.c: Fix typos.
24271 * iconvdata/gbbig5.c: Likewise.
24272 * iconvdata/iso-2022-jp.c: Likewise.
24273 * iconv/gconv_int.h: Likewise.
24274 * iconv/loop.c: Likewise.
24275 * nis/rpcsvc/nis.h: Likewise.
24276 * resolv/ns_name.c: Likewise.
24277 * stdio-common/vfscanf.c: Likewise.
24278 * streams/stropts.h: Likewise.
24279 * sunrpc/rpc_thread.c: Likewise.
24280 * sysdeps/i386/strpbrk.S: Likewise.
24281 * sysdeps/ieee754/k_standard.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24284 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24285 * sysdeps/mach/hurd/profil.c: Likewise.
24286 * sysdeps/s390/dl-procinfo.h: Likewise.
24287 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24288 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24289 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24290 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24292
24293 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
24294
24295 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24297
24298 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24299
24300 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24301 aix specific files.
24302 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24303 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24304 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24305 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24306 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24307 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24308 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24309 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24310
24311 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24312 Roland McGrath <roland@hack.frob.com>
24313
24314 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24315 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24316
24317 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24318
24319 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24320 __executable_start symbol instead of _start.
24321
24322 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24323
24324 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24325 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24326 Move macros to...
24327 * sysdeps/gnu/ldsodefs.h: ... this new file.
24328
24329 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24330 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24331 instead of ELFOSABI_LINUX.
24332
24333 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24334 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24335 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24336 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24337 Likewise.
24338 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24339 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24341 Likewise.
24342 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24343 (ibm_extended_long_double): Add ieee_nan member.
24344 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24345 (do_test): New function.
24346
24347 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24348 TEST_TRUNC.
24349 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24350 functions, renamed from truncdfsf_test, trunctfsf_test,
24351 trunctfdf_test.
24352 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24353 functions.
24354 (do_test): Run all these.
24355
24356 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
24357
24358 * argp/argp-help.c: Fix typos.
24359 * argp/argp-parse.c: Likewise.
24360 * debug/backtracesyms.c: Likewise.
24361 * elf/elf.h: Likewise.
24362 * malloc/malloc.c: Likewise.
24363 * nis/nis_print.c: Likewise.
24364 * resolv/res_comp.c: Likewise.
24365 * stdlib/stdlib.h: Likewise.
24366 * sunrpc/clnt_tcp.c: Likewise.
24367 * sunrpc/clnt_udp.c: Likewise.
24368 * sunrpc/clnt_unix.c: Likewise.
24369 * sysdeps/unix/bsd/ptsname.c: Likewise.
24370 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24373 Likewise.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24375 Likewise.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24377 Likewise.
24378 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24379
24380 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24381
24382 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24384
24385 2013-08-27 Mike Frysinger <vapier@gentoo.org>
24386
24387 [BZ #15897]
24388 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24389 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24390 ($(objpfx)bug-dl-leaf): New rule.
24391 ($(objpfx)bug-dl-leaf.so): Likewise.
24392 ($(objpfx)bug-dl-leaf.out): Likewise.
24393 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24394 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24395 * dlfcn/bug-dl-leaf.c: New test.
24396 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24397 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24398 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24399 (dlclose): Likewise.
24400 (dlmopen): Likewise.
24401
24402 2013-08-27 Roland McGrath <roland@hack.frob.com>
24403
24404 * include/netdb.h [!_ISOMAC]:
24405 Don't include <tls.h>.
24406 (h_errno, __libc_h_errno): Move declaration and macros out of
24407 [_LIBC_REENTRANT].
24408
24409 * include/resolv.h [_RESOLV_H_]:
24410 Don't include <tls.h>.
24411 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24412 * resolv/res_libc.c: Don't include <tls.h>.
24413 (_res): Use __attribute__ ((nocommon)) in place of
24414 __attribute__ ((section (".bss"))).
24415
24416 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24417 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24418
24419 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24420
24421 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24422 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24423
24424 * resolv/res_mkquery.c: Include <sys/time.h>.
24425
24426 * inet/ifreq.c: Moved to ...
24427 * sysdeps/unix/ifreq.c: ... here.
24428 * inet/ifreq.c: New file, true stub version.
24429
24430 * socket/sa_len.c: New file.
24431 * socket/Makefile (aux): Add it.
24432 * sysdeps/unix/sysv/linux/Makefile
24433 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24434 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24435 and #include <socket/sa_len.c>.
24436 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24437 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24438
24439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24440 * bits/socket.h: ... here.
24441
24442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24443 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24444 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24445
24446 2013-08-27 Andreas Schwab <schwab@suse.de>
24447
24448 [BZ #15736]
24449 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24450 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24451 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24452 * string/test-strcasecmp.c (test_main): Run tests in several
24453 locales.
24454 * string/test-strncasecmp.c (test_main): Likewise.
24455
24456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24457 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24458 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24460 (__strncasecmp_ssse3) [PIC]: Likewise.
24461
24462 2013-08-26 Roland McGrath <roland@hack.frob.com>
24463
24464 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24465
24466 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24467 instead of explicitly declaring xdecrypt.
24468 * nis/nss_nis/nis-publickey.c: Likewise.
24469
24470 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24471
24472 [BZ #15890]
24473 * nscd/aicache.c: Include res_hconf.h.
24474 (addhstaiX): Initialize res_hconf.
24475
24476 2013-08-26 Andreas Schwab <schwab@suse.de>
24477
24478 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24479 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24480
24481 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24482
24483 * nscd/aicache.c (addhstaiX): Fix indentation.
24484
24485 2013-08-25 Mike Frysinger <vapier@gentoo.org>
24486
24487 * configure.ac: Quote $build_pt_chown test.
24488 * configure: Regenerated.
24489
24490 2013-08-23 Joseph Myers <joseph@codesourcery.com>
24491
24492 [BZ #15532]
24493 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24494 * math/s_cexpf.c (__cexpf): Likewise.
24495 * math/s_cexpl.c (__cexpl): Likewise.
24496 * math/libm-test.inc (cexp_test_data): Correct expected return
24497 value for NaN + i0. Add another test.
24498
24499 2013-08-22 David S. Miller <davem@davemloft.net>
24500
24501 * po/ca.po: Update Catalan translation from translation project.
24502 * po/uk.po: Add Ukrainian translations from translation project.
24503
24504 2013-08-21 Joseph Myers <joseph@codesourcery.com>
24505
24506 [BZ #15797]
24507 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24508 is infinite, not alongside NaN test.
24509 * math/s_fdimf.c (__fdimf): Likewise.
24510 * math/s_fdiml.c (__fdiml): Likewise.
24511 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24512 errno is unchanged.
24513
24514 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
24515
24516 * argp/argp-help.c: Fix typos.
24517 * crypt/speeds.c: Likewise.
24518 * csu/check_fds.c: Likewise.
24519 * elf/dl-load.c: Likewise.
24520 * elf/dl-open.c: Likewise.
24521 * elf/reldep3.c: Likewise.
24522 * elf/reldep.c: Likewise.
24523 * elf/sprof.c: Likewise.
24524 * iconv/iconv_charmap.c: Likewise.
24525 * iconv/skeleton.c: Likewise.
24526 * iconv/strtab.c: Likewise.
24527 * io/lockf64.c: Likewise.
24528 * libio/libioP.h: Likewise.
24529 * resolv/gai_notify.c: Likewise.
24530 * resolv/ns_name.c: Likewise.
24531 * resolv/ns_samedomain.c: Likewise.
24532 * resolv/res_send.c: Likewise.
24533 * stdlib/random.c: Likewise.
24534 * sunrpc/rpc/xdr.h: Likewise.
24535 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24537 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24538 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24543 * sysdeps/mach/hurd/check_fds.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24545 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24547 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24548 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24550 * sysdeps/pthread/aio_notify.c: Likewise.
24551 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24552 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24553 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24555 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24556
24557 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24558
24559 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24560 version if bit_Slow_SSE4_2 is set.
24561 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24563
24564 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24565
24566 [BZ #15867]
24567 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24568 trampoline stack frame information.
24569 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24571 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24572 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24573 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24574 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24575 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24576 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24577 sa_flags value.
24578 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24579 interrupting a syscall and set with option SA_SIGINFO.
24580
24581 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24582
24583 [BZ #15531]
24584 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24585 argument is infinite.
24586 * math/s_cprojf.c (__cprojf): Likewise.
24587 * math/s_cprojl.c (__cprojl): Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24589 * math/libm-test.inc (cproj_test_data): Add more tests.
24590
24591 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24592
24593 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24594 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24595 size. Use __ffs to determine corresponding shift.
24596
24597 2013-08-20 Joseph Myers <joseph@codesourcery.com>
24598 Roland McGrath <roland@hack.frob.com>
24599
24600 * Makefile (INSTALL): Remove trailing blank lines from output of
24601 makeinfo.
24602
24603 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24604
24605 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24606 Align 32 bit compat elf_greg to 8 bytes.
24607
24608 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24609
24610 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24611
24612 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24613
24614 * string/strcoll_l.c (coll_seq): New structure.
24615 (get_next_seq_cached): New function.
24616 (get_next_seq): New function.
24617 (do_compare): New function.
24618 (STRCOLL): Use GNU style definition. Simplify implementation
24619 by using get_next_seq, get_next_seq_cached and do_compare.
24620
24621 2013-08-16 Florian Weimer <fweimer@redhat.com>
24622
24623 [BZ #14699]
24624 CVE-2013-4237
24625 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24626 member.
24627 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24628 member.
24629 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24630 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24631 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24632 conditional.
24633 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24634 GETDENTS_64BIT_ALIGNED.
24635 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24636 * manual/filesys.texi (Reading/Closing Directory): Document
24637 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24638 strongly.
24639 * manual/conf.texi (Limits for Files): Add portability note to
24640 NAME_MAX, PATH_MAX.
24641 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24642
24643 2013-08-13 Andreas Schwab <schwab@suse.de>
24644
24645 [BZ #15749]
24646 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24647 of fabs.
24648 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24649 LDBL_MAX_EXP >= 16384]: Add tests for it.
24650
24651 2013-08-12 David S. Miller <davem@davemloft.net>
24652
24653 * version.h (RELEASE): Set to "development".
24654 (VERSION): Set to "2.18.90".
24655 * NEWS: Add 2.19 section.
24656
24657 2013-08-03 David S. Miller <davem@davemloft.net>
24658
24659 * po/ko.po: Update Korean translation from translation project.
24660
24661 2013-08-01 David S. Miller <davem@davemloft.net>
24662
24663 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24664 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24665 Bilka.
24666
24667 2013-07-30 David S. Miller <davem@davemloft.net>
24668
24669 * po/fr.po: Update French translation from translation project.
24670
24671 2013-07-28 David S. Miller <davem@davemloft.net>
24672
24673 * po/cs.po: Update Czech translation from translation project.
24674
24675 * po/sv.po: Update Swedish translation from translation project.
24676
24677 2013-07-27 David S. Miller <davem@davemloft.net>
24678
24679 * po/eo.po: Update Esperanto translation from translation project.
24680
24681 * po/vi.po: Update Vietnamese translation from translation project.
24682
24683 * po/de.po: Update German translation from translation project.
24684
24685 2013-07-26 David S. Miller <davem@davemloft.net>
24686
24687 * po/bg.po: Update Bulgarian translation from translation project.
24688
24689 * po/nl.po: Update Dutch translation from translation project.
24690 * po/pl.po: Update Polish translation from translation project.
24691 * po/ru.po: Update Russian translation from translation project.
24692
24693 2013-07-24 David S. Miller <davem@davemloft.net>
24694
24695 * po/libc.pot: Update.
24696
24697 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24698
24699 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24700 variable page size.
24701 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24702 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24703 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24704
24705 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24706
24707 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24708
24709 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24710 Andreas Schwab <schwab@suse.de>
24711 Roland McGrath <roland@hack.frob.com>
24712 Joseph Myers <joseph@codesourcery.com>
24713 Carlos O'Donell <carlos@redhat.com>
24714
24715 [BZ #15755]
24716 * config.h.in: Define HAVE_PT_CHOWN.
24717 * config.make.in (build-pt-chown): New variable.
24718 * configure.in (--enable-pt_chown): New configure option.
24719 * configure: Regenerate.
24720 * login/Makefile: Include Makeconfig. Build pt_chown only if
24721 build-pt-chown is enabled.
24722 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24723 pt_chown to fix pty ownership.
24724 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24725 CLOSE_ALL_FDS.
24726 * manual/install.texi (Configuring and compiling): Mention
24727 --enable-pt_chown. Add @findex for grantpt.
24728 * INSTALL: Regenerate.
24729
24730 2013-07-20 David S. Miller <davem@davemloft.net>
24731
24732 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24733 difference between 32-bit and 64-bit.
24734
24735 2013-07-15 Carlos O'Donell <carlos@redhat.com>
24736
24737 [BZ #15711]
24738 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24739 Avoid system header dependency with -ffreestanding.
24740 ($(objpfx)bits/syscall%d): Likewise.
24741
24742 2013-07-13 David S. Miller <davem@davemloft.net>
24743
24744 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24745 underflows from atanl/atan2l due to bug 15319.
24746 (casinh_test_data): Likewise.
24747
24748 2013-07-07 David S. Miller <davem@davemloft.net>
24749
24750 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24751
24752 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24753
24754 * sysdeps/i386/fpu/libm-test-ulps: Update.
24755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24756
24757 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24758
24759 * configure.in (--enable-lock-elision): Fix message text.
24760 * INSTALL: Regenerate.
24761 * configure: Regenerate.
24762
24763 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24764
24765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24766
24767 2013-07-03 Andreas Jaeger <aj@suse.de>
24768
24769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24770 define.
24771 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24772 (ptrace_peeksiginfo_args): Add.
24773 (__ptrace_peeksiginfo_flags): Add.
24774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24777
24778 2013-07-03 Allan McRae <allan@archlinux.org>
24779
24780 * sysdeps/i386/fpu/libm-test-ulps: Update.
24781
24782 2013-07-02 David S. Miller <davem@davemloft.net>
24783
24784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24785
24786 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24787
24788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24789
24790 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24791
24792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24794
24795 2013-07-02 Andi Kleen <ak@linux.intel.com>
24796
24797 * config.h.in (ENABLE_LOCK_ELISION): Add.
24798 * configure.in (--enable-lock-elision): Add option.
24799 * manual/install.texi: Document --enable lock elision.
24800 * configure: Regenerate
24801 * INSTALL: Regenerate.
24802
24803 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24804
24805 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24806 SSE4.2 strcasecmp for libc.a.
24807 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24808
24809 2013-07-02 Joseph Myers <joseph@codesourcery.com>
24810
24811 [BZ #13304]
24812 * soft-fp/op-common.h (_FP_FMA): New macro.
24813 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24814 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24815 (_FP_MUL_MEAT_1_imm): ... here.
24816 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24817 (_FP_MUL_MEAT_1_wide): ... here.
24818 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24819 (_FP_MUL_MEAT_1_hard): ... here.
24820 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24821 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24822 (_FP_MUL_MEAT_2_wide): ... here.
24823 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24824 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24825 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24826 (_FP_MUL_MEAT_2_gmp): ... here.
24827 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24828 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24829 (_FP_MUL_MEAT_4_wide): ... here.
24830 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24831 (_FP_MUL_MEAT_4_gmp): ... here.
24832 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24833 (_FP_WFRACBITS_DW_S): Likewise.
24834 (_FP_WFRACXBITS_DW_S): Likewise.
24835 (_FP_HIGHBIT_DW_S): Likewise.
24836 (FP_FMA_S): Likewise.
24837 (_FP_FRAC_HIGH_DW_S): Likewise.
24838 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24839 (_FP_WFRACBITS_DW_D): Likewise.
24840 (_FP_WFRACXBITS_DW_D): Likewise.
24841 (_FP_HIGHBIT_DW_D): Likewise.
24842 (FP_FMA_D): Likewise.
24843 (_FP_FRAC_HIGH_DW_D): Likewise.
24844 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24845 (_FP_WFRACBITS_DW_E): Likewise.
24846 (_FP_WFRACXBITS_DW_E): Likewise.
24847 (_FP_HIGHBIT_DW_E): Likewise.
24848 (FP_FMA_E): Likewise.
24849 (_FP_FRAC_HIGH_DW_E): Likewise.
24850 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24851 (_FP_WFRACBITS_DW_Q): Likewise.
24852 (_FP_WFRACXBITS_DW_Q): Likewise.
24853 (_FP_HIGHBIT_DW_Q): Likewise.
24854 (FP_FMA_Q): Likewise.
24855 (_FP_FRAC_HIGH_DW_Q): Likewise.
24856 * soft-fp/fmasf4.c: New file.
24857 * soft-fp/fmadf4.c: Likewise.
24858 * soft-fp/fmatf4.c: Likewise.
24859
24860 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24861
24862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24863 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24864 Silvermont.
24865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24866 macro.
24867 (index_Slow_SSE4_2): Likewise.
24868 (index_Prefer_PMINUB_for_stringop): Likewise.
24869 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24870 bit_Slow_SSE4_2 is set.
24871 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24873
24874 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24875
24876 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24877 rtld_global._dl_hwcap2.
24878 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24879 POWER8.
24880 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24881 POWER8 feature descriptions defined in _dl_hwcap2.
24882 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24883 string handling for POWER8 feature bits.
24884 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24885 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24886 _dl_powerpc_cap_flags.
24887 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24888 * sysdeps/powerpc/rtld-global-offsets.sym
24889 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24890 _dl_hwcap2 in the rtld_global_ro structure.
24891
24892 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24893
24894 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24895 hardware capabilities in support of AT_HWCAP2.
24896 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24897 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24898 GLRO(dl_hwcap2).
24899 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24900 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24901 explicitly the unknown a_type display mechanism is used.
24902 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24903 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24904 struct member.
24905 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24906 to macro prototype for AT_HWCAP2 support.
24907 * sysdeps/i386/dl-procinfo.h: Likewise.
24908 * sysdeps/s390/dl-procinfo.h: Likewise.
24909 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24910 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24911 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24912 return -1 for unknown a_type display fallback.
24913 * sysdeps/sparc/dl-procinfo.h: Likewise.
24914 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24915 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24916
24917 2013-06-28 Joseph Myers <joseph@codesourcery.com>
24918
24919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24920 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24921
24922 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24923
24924 [BZ #12492]
24925 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24926 mprotect making __stack_prot writable.
24927
24928 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24929 Joseph Myers <joseph@codesourcery.com>
24930
24931 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24932 as being properly aligned.
24933
24934 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24935
24936 * dlfcn/modstatic5.c: New file.
24937 * dlfcn/tststatic5.c: New file.
24938 * dlfcn/Makefile (tests): Add tststatic5.
24939 (tests-static): Likewise.
24940 (modules-names): Add modstatic5.
24941 (tststatic5-ENV): New variable.
24942 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24943
24944 [BZ #15022]
24945 * elf/dl-support.c (_dl_main_map): New variable.
24946 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24947 (_dl_nns, _dl_load_adds): Set to 1.
24948 (_dl_initial_searchlist): Refer to _dl_main_map.
24949 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24950 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24951 call to _dl_get_origin.
24952 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24953 around call_map.
24954 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24955 * dlfcn/modstatic3.c: New file.
24956 * dlfcn/tststatic3.c: New file.
24957 * dlfcn/tststatic4.c: New file.
24958 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24959 (tests-static): Likewise.
24960 (modules-names): Add modstatic3.
24961 (tststatic3-ENV, tststatic4-ENV): New variables.
24962 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24963 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24964
24965 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24966
24967 * configure.in (CC): Require GCC version 4.4 or later.
24968 * configure: Regenerated.
24969 * manual/install.texi (Tools for Compilation): Update GCC version
24970 requirement.
24971 * INSTALL: Regenerated.
24972
24973 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24974
24975 [BZ #15674]
24976 * string/test-memcmp.c (check2): New.
24977 (main): Call check2.
24978
24979 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24980
24981 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24982
24983 [BZ #15022]
24984 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24985 over to...
24986 (dl_open_worker) [!SHARED]: ... here.
24987
24988 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24989
24990 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24991
24992 2013-06-25 Richard Henderson <rth@redhat.com>
24993
24994 * locale/programs/locarchive.c: Include <libc-internal.h>
24995
24996 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24997
24998 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24999 trailing whitespace removed.
25000
25001 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25002
25003 [BZ #10283]
25004 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25005 * locale/programs/locarchive.c: Include libc-mmap.h.
25006 (prepare_address_space): Take two new outputs (the mmap base and len).
25007 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25008 values.
25009 (create_archive): Declare new mmap base and len values for
25010 prepare_address_space, and store the result in ah.
25011 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25012 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25013 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25014 Declare new mmap base and len values for
25015 prepare_address_space, and store the result in new_ah.
25016 (open_archive): Declare new mmap base and len values for
25017 prepare_address_space, and store the result in ah.
25018 (close_archive): If ah->mmap_base is not NULL, use that and
25019 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25020 * sysdeps/generic/libc-mmap.h: New file.
25021
25022 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25023
25024 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25025 (ALIGN_UP): Likewise.
25026 (PTR_ALIGN_DOWN): Likewise.
25027 (PTR_ALIGN_UP): Likewise.
25028
25029 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25030
25031 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25032 entry mapped to PPC_PLATFORM_POWER8.
25033 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25034 POWER8.
25035 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25036 (_dl_string_platform): Add case for exporting platform position for
25037 POWER8.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25039 search path to sysdeps/powerpc/powerpc32/power8 directory.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25041 search path to sysdeps/powerpc/powerpc64/power8 directory.
25042 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25043 power7 directories.
25044 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25045 power7 directories.
25046
25047 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25048
25049 * INSTALL: Regenerate.
25050
25051 * nscd/connections.c (nscd_init): Fix comment.
25052
25053 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25054
25055 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25056
25057 [BZ #15667]
25058 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25059 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25060
25061 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25062
25063 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25064 DL_DST_REQ_STATIC.
25065 (DL_DST_REQ_STATIC): Remove macro.
25066
25067 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25068
25069 [BZ #7006]
25070 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25071 with a shift of 0 bits.
25072
25073 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25074
25075 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25076 $(tststatic-ENV).
25077
25078 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25079
25080 [BZ #15655]
25081 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25082
25083 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25084
25085 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25086 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25087 accepts -fno-tree-loop-distribute-patterns.
25088 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25089 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25090 recursive call.
25091 * string/memset.c (memset): Likewise.
25092 * string/test-memmove.c (simple_memmove): Disable loop transformation
25093 to library calls.
25094 * string/test-memset.c (simple_memset): Likewise.
25095 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25096 * benchtests/bench-memset.c (simple_memset): Likewise.
25097 * configure: Regenerated.
25098
25099 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25100
25101 * math/test-misc.c (main): Ignore fesetround failure when failures
25102 of subsequent rounding tests would be ignored.
25103
25104 [BZ #15654]
25105 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25106 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25107 * math/fegetenv.c (__fegetenv): Return 0.
25108 * math/fegetexcept.c (fegetexcept): Return 0.
25109 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25110 FE_TONEAREST.
25111 * math/feholdexcpt.c (feholdexcept): Return 0.
25112 * math/fesetenv.c (__fesetenv): Return 0.
25113 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25114 argument FE_TONEAREST.
25115 * math/feupdateenv.c (__feupdateenv): Return 0.
25116 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25117
25118 2013-06-18 Roland McGrath <roland@hack.frob.com>
25119
25120 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25121 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25122 ($(objpfx)rtld-%.os rules): Use them.
25123
25124 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25125
25126 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25127 fields.
25128
25129 2013-06-17 Roland McGrath <roland@hack.frob.com>
25130
25131 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25132 length of target pattern, then descending length of dependency pattern.
25133 * configure.in (AWK): Require gawk 3.1.2 or newer.
25134 * manual/install.texi (Tools for Compilation): Say that we do.
25135 * configure: Regenerated.
25136
25137 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25138 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25139 * scripts/sysd-rules.awk: ... this new script.
25140 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25141 than a glob-style pattern.
25142
25143 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25144
25145 * math/test-misc.c (main): Do not treat incorrectly rounded
25146 conversions as failure unless ROUNDING_TESTS passes.
25147
25148 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25149
25150 [BZ #15631]
25151 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25152 restore exception state around main square root computation, then
25153 check for inexactness explicitly.
25154
25155 * math/libm-test.inc (fma_test_data): Add another test.
25156
25157 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25158
25159 * manual/threads.texi (Non-POSIX Extensions): New document
25160 node. Document pthread_getattr_default_np and
25161 pthread_setattr_default_np.
25162
25163 * Versions.def (libpthread): Add GLIBC_2.18.
25164 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25166 Likewise.
25167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25168 Likewise.
25169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25170 Likewise.
25171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25172 Likewise.
25173 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25174 Likewise.
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25176 Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25178 Likewise.
25179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25180 Likewise.
25181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25182 Likewise.
25183
25184 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25185
25186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25187 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25188
25189 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25190 H.J. Lu <hjl.tools@gmail.com>
25191
25192 [BZ #15627]
25193 * sysdeps/x86_64/rtld-memset.c: Remove file.
25194 * sysdeps/x86_64/rtld-memset.S: New file.
25195
25196 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25197
25198 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25199 (test_in_one_mode): Take arguments for whether the rounding mode
25200 is supported for each floating-point type.
25201 (do_test): Pass new arguments to test_in_one_mode using
25202 ROUNDING_TESTS.
25203
25204 2013-06-13 Roland McGrath <roland@hack.frob.com>
25205
25206 * posix/tst-waitid.c (do_test): Distinguish different instances of
25207 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25208 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25209 before entering the kernel for waitpid.
25210
25211 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25212
25213 * NEWS: Fix note on clock function precision. Text by Roland
25214 McGrath.
25215
25216 2013-06-13 Roland McGrath <roland@hack.frob.com>
25217
25218 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25219 it into place only when and if the sanity check passes.
25220
25221 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25222
25223 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25224 output for whether conversion result is exact. Take argument
25225 indicating whether type is IBM long double.
25226 (round_for_all): Change need_exact field to ibm_ld.
25227 * stdlib/tst-strtod-round.c (struct exactness): New type.
25228 (struct test): Change bool ld_ok field to struct exactness exact.
25229 (TEST): Update all definitions for change to field.
25230 (tests): Regenerate array contents.
25231 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25232 field value. Check for IBM long double here.
25233 (do_test): Update calls to test_in_one_mode.
25234
25235 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25236
25237 [BZ #12515]
25238 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25239 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25240
25241 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25242
25243 [BZ #15605]
25244 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25245 generated by the compiler on loop optimizations.
25246 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25247 general definitions.
25248
25249 2013-06-12 Joseph Myers <joseph@codesourcery.com>
25250
25251 * math/bug-nextafter.c: Include <math-tests.h>.
25252 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25253 the relevant type.
25254 * math/bug-nexttoward.c: Include <math-tests.h>.
25255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25256 the relevant type.
25257 * math/test-misc.c: Include <math-tests.h>.
25258 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25259 the relevant type.
25260
25261 2013-06-12 Andreas Jaeger <aj@suse.de>
25262
25263 * po/ia.po: Update Interlingua translation from translation
25264 project.
25265
25266 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25267
25268 * include/fenv.h: Include stdbool.h.
25269 (struct rm_ctx): New structure.
25270 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25271 Define macro.
25272 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25273 (SET_RESTORE_ROUNDF): Likewise.
25274 (SET_RESTORE_ROUNDL): Likewise.
25275 (SET_RESTORE_ROUND_NOEX): Likewise.
25276 (SET_RESTORE_ROUND_NOEXF): Likewise.
25277 (SET_RESTORE_ROUND_NOEXL): Likewise.
25278 (SET_RESTORE_ROUND_53BIT): Likewise.
25279 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25280 (libc_feresetround_noexf_ctx): Likewise.
25281 (libc_feresetround_noexl_ctx): Likewise.
25282 (libc_feholdsetround_53bit_ctx): Likewise.
25283 (libc_feresetround_53bit_ctx): Likewise.
25284 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25285 (libc_feholdexcept_setround_sse_ctx): New function.
25286 (libc_fesetenv_sse_ctx): Likewise.
25287 (libc_feupdateenv_sse_ctx): Likewise.
25288 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25289 (libc_feholdexcept_setround_387_ctx): Likewise.
25290 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25291 (libc_feholdsetround_387_prec_ctx): Likewise.
25292 (libc_feholdsetround_387_ctx): Likewise.
25293 (libc_feholdsetround_387_53bit_ctx): Likewise.
25294 (libc_feholdsetround_sse_ctx): Likewise.
25295 (libc_feresetround_sse_ctx): Likewise.
25296 (libc_feresetround_387_ctx): Likewise.
25297 (libc_feupdateenv_387_ctx): Likewise.
25298 (libc_feholdexcept_setroundf_ctx): Define macro.
25299 (libc_fesetenvf_ctx): Likewise.
25300 (libc_feupdateenvf_ctx): Likewise.
25301 (libc_feholdsetroundf_ctx): Likewise.
25302 (libc_feresetroundf_ctx): Likewise.
25303 (libc_feholdexcept_setround_ctx): Likewise.
25304 (libc_fesetenv_ctx): Likewise.
25305 (libc_feupdateenv_ctx): Likewise.
25306 (libc_feholdsetround_ctx): Likewise.
25307 (libc_feresetround_ctx): Likewise.
25308 (libc_feholdexcept_setroundl_ctx): Likewise.
25309 (libc_feupdateenvl_ctx): Likewise.
25310 (libc_feholdsetroundl_ctx): Likewise.
25311 (libc_feresetroundl_ctx): Likewise.
25312 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25313 (libc_feresetround_53bit_ctx): Likewise.
25314
25315 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25316
25317 * locale/iso-639.def: Convert to UTF-8.
25318
25319 2013-06-11 Joseph Myers <joseph@codesourcery.com>
25320
25321 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25322 (EXCEPTION_TESTS_double): Likewise.
25323 (EXCEPTION_TESTS_long_double): Likewise.
25324 (EXCEPTION_TESTS): Likewise.
25325 * math/libm-test.inc (test_exceptions): Only test exceptions if
25326 EXCEPTION_TESTS (FLOAT).
25327
25328 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25329
25330 * benchtests/Makefile (string-bench): Add strcpy_chk and
25331 stpcpy_chk.
25332 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25333 * benchtests/bench-stpcpy_chk.c: New file.
25334 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25335 * benchtests/bench-strcpy_chk.c: New file.
25336 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25337 code.
25338 (do_test): Likewise.
25339
25340 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25341
25342 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25343 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25344 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25345 with tabs where appropriate.
25346 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25347 dl-procinfo.h.
25348 [PPC_PLATFORM_PPC440]: Likewise.
25349 [PPC_PLATFORM_PPC464]: Likewise.
25350 [PPC_PLATFORM_PPC476]: Likewise.
25351 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25352 ppc464, and ppc476 platform strings merging from ports/
25353 dl-procinfo.h.
25354
25355 2013-06-11 Andreas Schwab <schwab@suse.de>
25356
25357 [BZ #14991]
25358 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25359 (from_ucs4_idx): Regenerate.
25360 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25361 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25362 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25363 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25364 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25365 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25366 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25367 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25368 from FROM_LOOP and TO_LOOP specific macros.
25369 (BODY): Handle combining characters.
25370 * iconvdata/BIG5HKSCS.irreversible: Update.
25371 * iconvdata/BIG5HKSCS.precomposed: New file.
25372 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25373 characters.
25374 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25375
25376 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25377
25378 * include/sys/time.h: Fix indentation and add copyright header.
25379
25380 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25381 (do_test): Likewise.
25382 * string/test-memchr.c (do_one_test): Likewise.
25383 (do_test): Likewise.
25384 * string/test-memcmp.c (do_one_test): Likewise.
25385 (do_test): Likewise.
25386 * string/test-memcpy.c (do_one_test): Likewise.
25387 (do_test): Likewise.
25388 * string/test-memmem.c (do_one_test): Likewise.
25389 (do_test): Likewise.
25390 (do_random_tests): Likewise.
25391 * string/test-memmove.c (do_one_test): Likewise.
25392 (do_test): Likewise.
25393 * string/test-memset.c (do_one_test): Likewise.
25394 (do_test): Likewise.
25395 * string/test-rawmemchr.c (do_one_test): Likewise.
25396 (do_test): Likewise.
25397 * string/test-strcasecmp.c (do_one_test): Likewise.
25398 (do_test): Likewise.
25399 * string/test-strcasestr.c (do_one_test): Likewise.
25400 (do_test): Likewise.
25401 * string/test-strcat.c (do_one_test): Likewise.
25402 (do_test): Likewise.
25403 * string/test-strchr.c (do_one_test): Likewise.
25404 (do_test): Likewise.
25405 * string/test-strcmp.c (do_one_test): Likewise.
25406 (do_test): Likewise.
25407 * string/test-strcpy.c (do_one_test): Likewise.
25408 (do_test): Likewise.
25409 * string/test-string.h: Likewise.
25410 (test_init): Likewise.
25411 * string/test-strlen.c (do_one_test): Likewise.
25412 (do_test): Likewise.
25413 * string/test-strncasecmp.c (do_one_test): Likewise.
25414 (do_test): Likewise.
25415 * string/test-strncat.c (do_one_test): Likewise.
25416 (do_test): Likewise.
25417 * string/test-strncmp.c (do_one_test): Likewise.
25418 (do_test_limit): Likewise.
25419 (do_test): Likewise.
25420 * string/test-strncpy.c (do_one_test): Likewise.
25421 (do_test): Likewise.
25422 * string/test-strnlen.c (do_one_test): Likewise.
25423 (do_test): Likewise.
25424 * string/test-strpbrk.c (do_one_test): Likewise.
25425 (do_test): Likewise.
25426 * string/test-strrchr.c (do_one_test): Likewise.
25427 (do_test): Likewise.
25428 * string/test-strspn.c (do_one_test): Likewise.
25429 (do_test): Likewise.
25430 * string/test-strstr.c (do_one_test): Likewise.
25431 (do_test): Likewise.
25432
25433 * benchtests/Makefile (string-bench): Add string benchmarks.
25434 * benchtests/bench-bcopy-ifunc.c: New file.
25435 * benchtests/bench-bcopy.c: New file.
25436 * benchtests/bench-bzero-ifunc.c: New file.
25437 * benchtests/bench-bzero.c: New file.
25438 * benchtests/bench-memccpy-ifunc.c: New file.
25439 * benchtests/bench-memccpy.c: New file.
25440 * benchtests/bench-memchr-ifunc.c: New file.
25441 * benchtests/bench-memchr.c: New file.
25442 * benchtests/bench-memcmp-ifunc.c: New file.
25443 * benchtests/bench-memcmp.c: New file.
25444 * benchtests/bench-memmem-ifunc.c: New file.
25445 * benchtests/bench-memmem.c: New file.
25446 * benchtests/bench-memmove-ifunc.c: New file.
25447 * benchtests/bench-memmove.c: New file.
25448 * benchtests/bench-mempcpy-ifunc.c: New file.
25449 * benchtests/bench-mempcpy.c: New file.
25450 * benchtests/bench-memset-ifunc.c: New file.
25451 * benchtests/bench-memset.c: New file.
25452 * benchtests/bench-rawmemchr-ifunc.c: New file.
25453 * benchtests/bench-rawmemchr.c: New file.
25454 * benchtests/bench-stpcpy-ifunc.c: New file.
25455 * benchtests/bench-stpcpy.c: New file.
25456 * benchtests/bench-stpncpy-ifunc.c: New file.
25457 * benchtests/bench-stpncpy.c: New file.
25458 * benchtests/bench-strcasecmp-ifunc.c: New file.
25459 * benchtests/bench-strcasecmp.c: New file.
25460 * benchtests/bench-strcasestr-ifunc.c: New file.
25461 * benchtests/bench-strcasestr.c: New file.
25462 * benchtests/bench-strcat-ifunc.c: New file.
25463 * benchtests/bench-strcat.c: New file.
25464 * benchtests/bench-strchr-ifunc.c: New file.
25465 * benchtests/bench-strchr.c: New file.
25466 * benchtests/bench-strchrnul-ifunc.c: New file.
25467 * benchtests/bench-strchrnul.c: New file.
25468 * benchtests/bench-strcmp-ifunc.c: New file.
25469 * benchtests/bench-strcmp.c: New file.
25470 * benchtests/bench-strcpy-ifunc.c: New file.
25471 * benchtests/bench-strcpy.c: New file.
25472 * benchtests/bench-strcspn-ifunc.c: New file.
25473 * benchtests/bench-strcspn.c: New file.
25474 * benchtests/bench-strlen-ifunc.c: New file.
25475 * benchtests/bench-strlen.c: New file.
25476 * benchtests/bench-strncasecmp-ifunc.c: New file.
25477 * benchtests/bench-strncasecmp.c: New file.
25478 * benchtests/bench-strncat-ifunc.c: New file.
25479 * benchtests/bench-strncat.c: New file.
25480 * benchtests/bench-strncmp-ifunc.c: New file.
25481 * benchtests/bench-strncmp.c: New file.
25482 * benchtests/bench-strncpy-ifunc.c: New file.
25483 * benchtests/bench-strncpy.c: New file.
25484 * benchtests/bench-strnlen-ifunc.c: New file.
25485 * benchtests/bench-strnlen.c: New file.
25486 * benchtests/bench-strpbrk-ifunc.c: New file.
25487 * benchtests/bench-strpbrk.c: New file.
25488 * benchtests/bench-strrchr-ifunc.c: New file.
25489 * benchtests/bench-strrchr.c: New file.
25490 * benchtests/bench-strspn-ifunc.c: New file.
25491 * benchtests/bench-strspn.c: New file.
25492 * benchtests/bench-strstr-ifunc.c: New file.
25493 * benchtests/bench-strstr.c: New file.
25494
25495 * benchtests/Makefile: Disable parallel execution of targets.
25496 (string-bench): Add memcpy.
25497 (benchset): New variable to store a list of benchmark sets.
25498 (bench-func): Renamed from bench.
25499 (bench-set): New target.
25500 (bench): Depend on bench-func and bench-set.
25501 * benchtests/README: Add section on benchmark sets.
25502 * benchtests/bench-memcpy-ifunc.c: New file.
25503 * benchtests/bench-memcpy.c: New file.
25504 * benchtests/bench-string.h: New file.
25505
25506 2013-06-11 Andreas Schwab <schwab@suse.de>
25507
25508 [BZ #15577]
25509 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25510 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25511 values in the triple.
25512 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25513 terminator in the group key.
25514
25515 2013-06-11 Andreas Jaeger <aj@suse.de>
25516
25517 * po/zh_TW.po: Update Chinese (traditional) translation from
25518 translation project.
25519
25520 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25521
25522 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25523 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25524 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25526 (clock_getcpuclockid): Likewise.
25527 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25528 Add weak_alias and libc_hidden_def.
25529 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25530 * rt/clock_gettime.c (clock_gettime): Rename to
25531 __clock_gettime. Add weak_alias and libc_hidden_def.
25532 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25533 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25534 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25535 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25536 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25537 Likewise.
25538 * rt/clock_settime.c (clock_settime): Rename to
25539 __clock_settime. Add weak_alias and libc_hidden_def.
25540 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25541
25542 2013-06-10 Joseph Myers <joseph@codesourcery.com>
25543
25544 * mach/err_boot.sub: Remove trailing whitespace.
25545 * mach/err_ipc.sub: Likewise.
25546 * mach/err_mach.sub: Likewise.
25547
25548 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25549 (ROUNDING_TESTS_double): Likewise.
25550 (ROUNDING_TESTS_long_double): Likewise.
25551 (ROUNDING_TESTS): Likewise.
25552 * math/libm-test.inc: Include <math-tests.h>.
25553 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25554 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25555 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25556 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25557
25558 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25559
25560 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25561 of assigning.
25562
25563 2013-06-08 Joseph Myers <joseph@codesourcery.com>
25564
25565 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25566 otherwise empty TRANS lines.
25567 * sysdeps/gnu/errlist.c: Regenerated.
25568
25569 * catgets/gencat.c (error_print): Use (void) in function
25570 definition.
25571 * crypt/crypt_util.c (__init_des): Likewise.
25572 * crypt/speeds.c (Stop): Likewise.
25573 (main): Likewise.
25574 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25575 * inet/ruserpass.c (token): Likewise.
25576 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25577 * intl/localealias.c (extend_alias_table): Likewise.
25578 * intl/plural-exp.c (init_germanic_plural): Likewise.
25579 * libio/fcloseall.c (__fcloseall): Likewise.
25580 * libio/genops.c (_IO_flush_all): Likewise.
25581 (_IO_flush_all_linebuffered): Likewise.
25582 (_IO_cleanup): Likewise.
25583 (_IO_iter_begin): Likewise.
25584 (_IO_iter_end): Likewise.
25585 (_IO_list_lock): Likewise.
25586 (_IO_list_unlock): Likewise.
25587 (_IO_list_resetlock): Likewise.
25588 * libio/getchar.c (getchar): Likewise.
25589 * libio/getchar_u.c (getchar_unlocked): Likewise.
25590 * libio/getwchar.c (getwchar): Likewise.
25591 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25592 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25593 * login/getpt.c (__getpt): Likewise.
25594 * login/tst-utmp.c (main): Likewise.
25595 * malloc/hooks.c (__malloc_check_init): Likewise.
25596 * malloc/malloc.c (__malloc_stats): Likewise.
25597 * malloc/mtrace.c (tr_break): Likewise.
25598 (mtrace): Likewise.
25599 (muntrace): Likewise.
25600 * misc/fstab.c (endfsent): Likewise.
25601 * misc/getclktck.c (__getclktck): Likewise.
25602 * misc/getdtsz.c (__getdtablesize): Likewise.
25603 * misc/gethostid.c (gethostid): Likewise.
25604 * misc/getpagesize.c (__getpagesize): Likewise.
25605 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25606 (__get_nprocs): Likewise.
25607 (__get_phys_pages): Likewise.
25608 (__get_avphys_pages): Likewise.
25609 * misc/getttyent.c (getttyent): Likewise.
25610 (setttyent): Likewise.
25611 (endttyent): Likewise.
25612 * misc/getusershell.c (getusershell): Likewise.
25613 (endusershell): Likewise.
25614 (setusershell): Likewise.
25615 (initshells): Likewise.
25616 * misc/hsearch.c (__hdestroy): Likewise.
25617 * misc/sync.c (sync): Likewise.
25618 * misc/syslog.c (closelog_internal): Likewise.
25619 (closelog): Likewise.
25620 * misc/ttyslot.c (ttyslot): Likewise.
25621 * misc/vhangup.c (vhangup): Likewise.
25622 * posix/fork.c (__fork): Likewise.
25623 * posix/getegid.c (__getegid): Likewise.
25624 * posix/geteuid.c (__geteuid): Likewise.
25625 * posix/getgid.c (__getgid): Likewise.
25626 * posix/getpid.c (__getpid): Likewise.
25627 * posix/getppid.c (__getppid): Likewise.
25628 * posix/getuid.c (__getuid): Likewise.
25629 * posix/pause.c (pause): Likewise.
25630 * posix/setpgrp.c (setpgrp): Likewise.
25631 * posix/setsid.c (__setsid): Likewise.
25632 * posix/test-vfork.c (noop): Likewise.
25633 * resolv/gethnamaddr.c (_endhtent): Likewise.
25634 (_gethtent): Likewise.
25635 (ht_endhostent): Likewise.
25636 (gethostent): Likewise.
25637 (dns_service): Likewise.
25638 * stdlib/drand48.c (drand48): Likewise.
25639 * stdlib/lrand48.c (lrand48): Likewise.
25640 * stdlib/mrand48.c (mrand48): Likewise.
25641 * stdlib/rand.c (rand): Likewise.
25642 * stdlib/random.c (__random): Likewise.
25643 * stdlib/setenv.c (clearenv): Likewise.
25644 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25645 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25646 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25647 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25648 (__get_nprocs): Likewise.
25649 (__get_phys_pages): Likewise.
25650 (__get_avphys_pages): Likewise.
25651 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25652 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25653 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25654 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25655 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25656 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25657 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25658 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25659 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25660 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25661 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25662 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25663 * sysdeps/posix/clock.c (clock): Likewise.
25664 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25665 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25666 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25667 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25668 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25670 (__get_nprocs_conf): Likewise.
25671 (__get_phys_pages): Likewise.
25672 (__get_avphys_pages): Likewise.
25673 * time/clock.c (clock): Likewise.
25674 * time/tzset.c (__tzname_max): Likewise.
25675
25676 2013-06-07 Joseph Myers <joseph@codesourcery.com>
25677
25678 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25679 (__bswap_32): Do not use "register".
25680 * crypt/crypt.c (_ufc_doit_r): Likewise.
25681 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25682 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25683 * gmon/gmon.c (__monstartup): Likewise.
25684 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25685 * hurd/hurdmalloc.c (more_memory): Likewise.
25686 (malloc): Likewise.
25687 (free): Likewise.
25688 (realloc): Likewise.
25689 (malloc_fork_prepare): Likewise.
25690 (malloc_fork_parent): Likewise.
25691 (malloc_fork_child): Likewise.
25692 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25693 (_svcauth_des): Likewise.
25694 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25695 * inet/inet_net.c (inet_network): Likewise.
25696 * inet/inet_netof.c (inet_netof): Likewise.
25697 * inet/rcmd.c (__validuser2_sa): Likewise.
25698 * io/fts.c (fts_open): Likewise.
25699 (fts_load): Likewise.
25700 (fts_close): Likewise.
25701 (fts_read): Likewise.
25702 (fts_children): Likewise.
25703 (fts_build): Likewise.
25704 (fts_stat): Likewise.
25705 (fts_sort): Likewise.
25706 (fts_alloc): Likewise.
25707 (fts_lfree): Likewise.
25708 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25709 (_IO_file_xsgetn): Likewise.
25710 (_IO_file_xsgetn_mmap): Likewise.
25711 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25712 (_IO_cookie_write): Likewise.
25713 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25714 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25715 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25716 * malloc/obstack.c (_obstack_begin): Likewise.
25717 (_obstack_begin_1): Likewise.
25718 (_obstack_newchunk): Likewise.
25719 (_obstack_allocated_p): Likewise.
25720 (obstack_free): Likewise.
25721 (_obstack_memory_used): Likewise.
25722 * misc/getttyent.c (getttynam): Likewise.
25723 (getttyent): Likewise.
25724 (skip): Likewise.
25725 (value): Likewise.
25726 * misc/getusershell.c (initshells): Likewise.
25727 * misc/syslog.c (__vsyslog_chk): Likewise.
25728 * misc/ttyslot.c (ttyslot): Likewise.
25729 * nis/nis_hash.c (__nis_hash): Likewise.
25730 * posix/fnmatch_loop.c (FCT): Likewise.
25731 * posix/getconf.c (print_all): Likewise.
25732 (main): Likewise.
25733 * posix/getopt.c (exchange): Likewise.
25734 * posix/glob.c (globfree): Likewise.
25735 (prefix_array): Likewise.
25736 (__glob_pattern_type): Likewise.
25737 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25738 (NS_GET32): Likewise.
25739 (NS_PUT16): Likewise.
25740 (NS_PUT32): Likewise.
25741 * resolv/gethnamaddr.c (getanswer): Likewise.
25742 (gethostbyname2): Likewise.
25743 (gethostbyaddr): Likewise.
25744 (_gethtent): Likewise.
25745 (_gethtbyname2): Likewise.
25746 (_gethtbyaddr): Likewise.
25747 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25748 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25749 * resolv/res_init.c (__res_vinit): Likewise.
25750 (net_mask): Likewise.
25751 * resolv/res_mkquery.c (outchar): Likewise.
25752 (PRINT): Likewise.
25753 * stdio-common/printf_fp.c (outchar): Likewise.
25754 (PRINT): Likewise.
25755 * stdio-common/printf_fphex.c (outchar): Likewise.
25756 (PRINT): Likewise.
25757 * stdio-common/printf_size.c (outchar): Likewise.
25758 (PRINT): Likewise.
25759 * stdio-common/test_rdwr.c (main): Likewise.
25760 * stdio-common/tfformat.c (matches): Likewise.
25761 * stdio-common/vfprintf.c (outchar): Likewise.
25762 (printf_unknown): Likewise.
25763 (buffered_vfprintf): Likewise.
25764 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25765 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25766 (ReadFile): Likewise.
25767 * stdlib/qsort.c (SWAP): Likewise.
25768 (_quicksort): Likewise.
25769 * stdlib/setenv.c (__add_to_environ): Likewise.
25770 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25771 * stdlib/strtol_l.c (__strtol_l): Likewise.
25772 * stdlib/tst-strtod.c (main): Likewise.
25773 * stdlib/tst-strtol.c (main): Likewise.
25774 * stdlib/tst-strtoll.c (main): Likewise.
25775 * string/bits/string2.h (__strcmp_cc): Likewise.
25776 (__strcmp_cg): Likewise.
25777 (__strcspn_c1): Likewise.
25778 (__strcspn_c2): Likewise.
25779 (__strcspn_c3): Likewise.
25780 (__strspn_c1): Likewise.
25781 (__strspn_c2): Likewise.
25782 (__strspn_c3): Likewise.
25783 (__strsep_1c): Likewise.
25784 (__strsep_2c): Likewise.
25785 (__strsep_3c): Likewise.
25786 * string/memccpy.c (__memccpy): Likewise.
25787 * string/stpcpy.c (__stpcpy): Likewise.
25788 * string/strcmp.c (strcmp): Likewise.
25789 * string/strrchr.c (strrchr): Likewise.
25790 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25791 Likewise.
25792 * sysdeps/mach/hurd/getcwd.c
25793 (_hurd_canonicalize_directory_name_internal): Likewise.
25794 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25795 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25796 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25797 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25798 Likewise, in both definitions.
25799 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25800 definitions.
25801 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25802 64] (__bswap_64): Likewise.
25803 * time/test_time.c (main): Likewise.
25804 * time/tzfile.c (__tzfile_read): Likewise.
25805 (__tzfile_compute): Likewise.
25806 * time/tzset.c (__tzset_parse_tz): Likewise.
25807 (tzset_internal): Likewise.
25808 (compute_change): Likewise.
25809 * wcsmbs/wcscat.c (__wcscat): Likewise.
25810 * wcsmbs/wcschr.c (wcschr): Likewise.
25811 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25812 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25813 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25814 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25815 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25816 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25817 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25818 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25819 * wcsmbs/wmemset.c (wmemset): Likewise.
25820
25821 2013-06-06 Joseph Myers <joseph@codesourcery.com>
25822
25823 * scripts/config.guess: Update to version 2013-05-16.
25824 * scripts/config.sub: Update to version 2013-04-24.
25825 * scripts/install-sh: Update to version 2011-11-20.07.
25826 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25827 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25828
25829 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
25830
25831 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25832 * elf/sln.c: Likewise.
25833 * hurd/hurd/ioctl.h: Likewise.
25834 * hurd/hurdmalloc.c: Likewise.
25835 * hurd/xattr.c: Likewise.
25836 * include/shlib-compat.h: Likewise.
25837 * inet/ruserpass.c: Likewise.
25838 * libio/iofgets_u.c: Likewise.
25839 * libio/iofgetws_u.c: Likewise.
25840 * locale/programs/ld-identification.c: Likewise.
25841 * locale/programs/ld-time.c: Likewise.
25842 * mach/msg-destroy.c: Likewise.
25843 * nss/nss_files/files-netgrp.c: Likewise.
25844 * resolv/res_data.c: Likewise.
25845 * soft-fp/op-1.h: Likewise.
25846 * soft-fp/op-2.h: Likewise.
25847 * soft-fp/op-4.h: Likewise.
25848 * soft-fp/op-common.h: Likewise.
25849 * stdio-common/printf_fphex.c: Likewise.
25850 * stdlib/strtod_l.c: Likewise.
25851 * sunrpc/rpc/clnt.h: Likewise.
25852 * sysdeps/generic/framestate.c: Likewise.
25853 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25854 * sysdeps/i386/bsd-setjmp.S: Likewise.
25855 * sysdeps/i386/__longjmp.S: Likewise.
25856 * sysdeps/i386/setjmp.S: Likewise.
25857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25858 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25875 * sysdeps/ieee754/support.c: Likewise.
25876 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25877 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25878 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25879 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25880 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25881 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25882 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25883 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25884 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25885 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25886 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25887 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25888 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25889 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25890 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25891 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25892 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25894
25895 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
25896
25897 * posix/transbug.c: Remove executable mode.
25898
25899 2013-06-05 Joseph Myers <joseph@codesourcery.com>
25900
25901 * crypt/speeds.c: Remove trailing whitespace.
25902 * dlfcn/default.c: Likewise.
25903 * elf/ifuncdep2.c: Likewise.
25904 * elf/ifuncmain1.c: Likewise.
25905 * elf/ifuncmain1vis.c: Likewise.
25906 * elf/testobj.h: Likewise.
25907 * elf/tst-stackguard1.c: Likewise.
25908 * gmon/sys/gmon.h: Likewise.
25909 * hurd/hurdmsg.c: Likewise.
25910 * hurd/new-fd.c: Likewise.
25911 * hurd/ports-get.c: Likewise.
25912 * iconvdata/ibm1008_420.c: Likewise.
25913 * inet/tst-getni1.c: Likewise.
25914 * inet/tst-getni2.c: Likewise.
25915 * libio/ioungetc.c: Likewise.
25916 * libio/wfiledoalloc.c: Likewise.
25917 * manual/libm-err-tab.pl: Likewise.
25918 * math/w_dremf.c: Likewise.
25919 * misc/ftruncate.c: Likewise.
25920 * posix/bug-glob2.c: Likewise.
25921 * posix/tst-pcre.c: Likewise.
25922 * posix/wait4.c: Likewise.
25923 * resolv/README: Likewise.
25924 * resolv/res_debug.h: Likewise.
25925 * resolv/tst-inet_ntop.c: Likewise.
25926 * setjmp/bug269-setjmp.c: Likewise.
25927 * soft-fp/extended.h: Likewise.
25928 * soft-fp/op-1.h: Likewise.
25929 * soft-fp/op-2.h: Likewise.
25930 * soft-fp/op-4.h: Likewise.
25931 * soft-fp/op-8.h: Likewise.
25932 * soft-fp/testit.c: Likewise.
25933 * stdio-common/bug16.c: Likewise.
25934 * stdlib/random.c: Likewise.
25935 * sunrpc/rpcsvc/rquota.x: Likewise.
25936 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25937 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25939 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25940 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25942 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25943 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25944 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25945 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25946 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25952 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25954 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25955 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25965 * sysdeps/ieee754/s_lib_version.c: Likewise.
25966 * sysdeps/mach/hurd/check_fds.c: Likewise.
25967 * sysdeps/mach/hurd/getsockname.c: Likewise.
25968 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25969 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25970 * sysdeps/powerpc/bits/link.h: Likewise.
25971 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25972 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25973 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25974 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25975 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25976 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25977 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25978 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25979 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25980 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25981 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25982 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25983 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25984 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25985 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25986 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25987 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25988 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25992 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25994 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25995 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25996 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25997 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25998 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25999 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26000 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26003 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26005 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26006 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26007 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26008 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26009 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26010 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26011 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26012 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26013 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26014 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26015 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26016 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26017 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26018 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26019 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26020 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26026 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26027 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26028 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26029 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26030 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26031 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26032 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26033 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26034 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26035 * sysdeps/powerpc/sysdep.h: Likewise.
26036 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26037 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26038 * sysdeps/sh/dl-trampoline.S: Likewise.
26039 * sysdeps/sh/memset.S: Likewise.
26040 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26041 * sysdeps/sh/strlen.S: Likewise.
26042 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26043 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26044 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26045 * sysdeps/sparc/sparc32/rem.S: Likewise.
26046 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26047 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26048 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26049 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26050 * sysdeps/sparc/sparc32/urem.S: Likewise.
26051 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26052 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26053 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26054 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26056 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26057 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26058 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26059 * sysdeps/unix/bsd/times.c: Likewise.
26060 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26061 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26065 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26067 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26068 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26069 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26070 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26071 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26072 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26073 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26074 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26075 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26076 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26077 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26078 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26079 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26080 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26081 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26082 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26083 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26084 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26085 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26086 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26088 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26089 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26090 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26091 * sysdeps/x86_64/strcspn.S: Likewise.
26092
26093 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26094
26095 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26096 generated file. Regenerate properly from gen-translit.pl.
26097 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26098 locale/C-translit.h.
26099
26100 2013-06-05 Andreas Schwab <schwab@suse.de>
26101
26102 [BZ #15100]
26103 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26104 week as 6 instead of -1.
26105 * time/tst-strptime.c (day_tests): Add test case.
26106
26107 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26108
26109 * sysdeps/generic/math_private.h
26110 (libc_feholdexcept_setround_53bit): Replace with
26111 libc_feholdsetround_53bit.
26112 (libc_feupdateenv_53bit): Replace with
26113 libc_feresetround_53bit.
26114 (SET_RESTORE_ROUND_53BIT): Adjust.
26115
26116 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 * string/test-strchrnul.c: Add copyright header.
26119
26120 * posix/tst-getaddrinfo4.c: Increase test timeout.
26121
26122 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26123
26124 [BZ #15536]
26125 * math/libm-test.inc (MAX_EXP): Remove
26126 (MIN_EXP): Define.
26127 (ulp): Use MIN_EXP - MANT_DIG.
26128 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26129
26130 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26131
26132 * po/be.po: Revert last change.
26133 * po/zh_CN.po: Likewise.
26134 * po/header.pot: Likewise.
26135
26136 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26137
26138 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26139 link-libc-deps to empty as target-specific variable.
26140 * Makerules (link-libc-args): New variable.
26141 (libc-for-link): Likewise.
26142 (link-libc-deps): Likewise.
26143 (lib%.so): Depend on $(link-libc-deps). Link with
26144 $(link-libc-args).
26145 (build-module): Link with $(link-libc-args).
26146 (build-module-asneeded): Likewise.
26147 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26148 list of objects.
26149 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26150 target-specific variable.
26151 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26152 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26153 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26154 libc.
26155 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26156 libc and ld.so.
26157 ($(objpfx)libpcprofile.so): Likewise.
26158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26159 libc_nonshared.a.
26160 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26161 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26162 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26163 $(link-libc-deps).
26164 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26165 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26166 * login/Makefile ($(objpfx)libutil.so): Likewise.
26167 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26168 * math/Makefile ($(objpfx)libm.so): Likewise.
26169 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26170 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26171 variable instead of depending directly on libc.
26172 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26173 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26174 $(link-libc-deps).
26175 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26176 libc.
26177 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26178 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26179 ($(objpfx)libanl.so): Likewise.
26180 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26181 ld.so.
26182 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26183 $(link-libc-deps).
26184 * sysdeps/i386/fpu/Makefile: Remove file.
26185 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26186 ($(objpfx)libm.so): Remove dependency on ld.so.
26187
26188 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26189
26190 [BZ # 15553]
26191 * nis/yp_xdr.c (XDRMAXNAME): Define.
26192 (XDRMAXRECORD): Define.
26193 (xdr_domainname): Use XDRMAXNAME.
26194 (xdr_mapname): Likewise.
26195 (xdr_peername): Likewise.
26196 (xdr_keydat): Use XDRMAXRECORD.
26197 (xdr_valdat): Likewise.
26198
26199 2013-05-30 Jeff Law <law@redhat.com>
26200
26201 [BZ #14256]
26202 * manual/errno.texi (ESTALE): Update to account for more than
26203 just NFS file systems.
26204 * sysdeps/gnu/errlist.c: Regenerated.
26205
26206 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26207
26208 [BZ #15465]
26209 * elf/Makefile (tests): Add tst-null-argv.
26210 (modules-names): Add tst-null-argv-lib.
26211 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26212 (tst-null-argv-ENV): Set environment for tst-null-argv.
26213 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26214 (RTLD_PROGNAME): New macro.
26215 * elf/tst-null-argv.c: New test case.
26216 * elf/tst-null-argv-lib.c: Library for test case.
26217 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26218 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26219 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26220 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26221 * elf/dl-init.c (call_init): Likewise.
26222 (_dl_init): Likewise.
26223 * elf/dl-load.c (print_search_path): Likewise.
26224 (_dl_map_object): Likewise.
26225 * elf/dl-lookup.c (do_lookup_x): Likewise.
26226 (add_dependency): Likewise.
26227 (_dl_lookup_symbol_x): Likewise.
26228 (_dl_debug_bindings): Likewise.
26229 * elf/dl-open.c (_dl_show_scope): Likewise.
26230 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26231 * elf/dl-version.c (match_symbol): Likewise.
26232 (_dl_check_map_versions): Likewise.
26233 * elf/rtld.c (dl_main): Likewise.
26234 (print_unresolved): Use RTLD_PROGNAME.
26235 (print_missing_version): Likewise.
26236 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26237 (elf_machine_rela): Likewise.
26238 * sysdeps/powerpc/powerpc32/dl-machine.c
26239 (__process_machine_rela): Likewise.
26240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26241 Likewise.
26242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26243 Likewise.
26244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26245 Likewise.
26246 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26248 Likewise.
26249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26250 Likewise.
26251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26252
26253 2013-05-28 Carlos O'Donell <carlos@redhat.com>
26254
26255 * po/be.po: Add descriptive title.
26256 * po/zh_CN.po: Likewise.
26257 * po/header.pot: Likewise.
26258
26259 2013-05-28 Mike Frysinger <vapier@gentoo.org>
26260
26261 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26262 error message.
26263 (enlarge_archive): Likewise.
26264
26265 2013-05-28 Ben North <ben@redfrontdoor.org>
26266
26267 * manual/arith.texi (frexp): It is the magnitude of the return
26268 value which lies in [0.5, 1), not the return value itself.
26269
26270 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26271
26272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26273
26274 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26275
26276 * stdio-common/bug26.c (main): Correct fscanf template.
26277
26278 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26279 declare _dl_skip_args.
26280
26281 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26282 Don't declare.
26283
26284 * manual/platform.texi: Add missing @end deftypefun.
26285
26286 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26287
26288 [BZ #15529]
26289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26290 bit of mantissa of 2^16382.
26291 * math/libm-test.inc (hypot_test_data): Add more tests.
26292
26293 * math/libm-test.inc: Add drem and pow10 to list of tested
26294 functions.
26295 (pow10_test): New function.
26296 (drem_test): Likewise.
26297 (drem_test_tonearest): Likewise.
26298 (drem_test_towardzero): Likewise.
26299 (drem_test_downward): Likewise.
26300 (drem_test_upward): Likewise.
26301 (main): Call the new functions.
26302
26303 * math/libm-test.inc (finite_test_data): Remove.
26304 (finite_test): Run tests from isfinite_test_data.
26305 (gamma_test_data): Remove.
26306 (gamma_test): Run tests from lgamma_test_data.
26307 * sysdeps/i386/fpu/libm-test-ulps: Update.
26308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26309
26310 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26311
26312 * manual/platform.texi: Add PowerPC PPR function set documentation.
26313 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26314 implementation.
26315
26316 2013-05-24 Carlos O'Donell <carlos@redhat.com>
26317
26318 * math/libm-test.inc (MAX_EXP): Define.
26319 (ULPDIFF): Define.
26320 (ulp): New function.
26321 (check_float_internal): Use ULPDIFF.
26322 (cpow_test): Disable failing test.
26323 (check_ulp): Test ulp() implemetnation.
26324 (main): Call check_ulp before starting tests.
26325
26326 2013-05-24 Joseph Myers <joseph@codesourcery.com>
26327
26328 * math/gen-libm-test.pl (generate_testfile): Do not handle
26329 START_DATA and END_DATA.
26330 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26331 END_DATA.
26332 (acos_tonearest_test_data): Likewise.
26333 (acos_towardzero_test_data): Likewise.
26334 (acos_downward_test_data): Likewise.
26335 (acos_upward_test_data): Likewise.
26336 (acosh_test_data): Likewise.
26337 (asin_test_data): Likewise.
26338 (asin_tonearest_test_data): Likewise.
26339 (asin_towardzero_test_data): Likewise.
26340 (asin_downward_test_data): Likewise.
26341 (asin_upward_test_data): Likewise.
26342 (asinh_test_data): Likewise.
26343 (atan_test_data): Likewise.
26344 (atanh_test_data): Likewise.
26345 (atan2_test_data): Likewise.
26346 (cabs_test_data): Likewise.
26347 (cacos_test_data): Likewise.
26348 (cacosh_test_data): Likewise.
26349 (carg_test_data): Likewise.
26350 (casin_test_data): Likewise.
26351 (casinh_test_data): Likewise.
26352 (catan_test_data): Likewise.
26353 (catanh_test_data): Likewise.
26354 (cbrt_test_data): Likewise.
26355 (ccos_test_data): Likewise.
26356 (ccosh_test_data): Likewise.
26357 (ceil_test_data): Likewise.
26358 (cexp_test_data): Likewise.
26359 (cimag_test_data): Likewise.
26360 (clog_test_data): Likewise.
26361 (clog10_test_data): Likewise.
26362 (conj_test_data): Likewise.
26363 (copysign_test_data): Likewise.
26364 (cos_test_data): Likewise.
26365 (cos_tonearest_test_data): Likewise.
26366 (cos_towardzero_test_data): Likewise.
26367 (cos_downward_test_data): Likewise.
26368 (cos_upward_test_data): Likewise.
26369 (cosh_test_data): Likewise.
26370 (cosh_tonearest_test_data): Likewise.
26371 (cosh_towardzero_test_data): Likewise.
26372 (cosh_downward_test_data): Likewise.
26373 (cosh_upward_test_data): Likewise.
26374 (cpow_test_data): Likewise.
26375 (cproj_test_data): Likewise.
26376 (creal_test_data): Likewise.
26377 (csin_test_data): Likewise.
26378 (csinh_test_data): Likewise.
26379 (csqrt_test_data): Likewise.
26380 (ctan_test_data): Likewise.
26381 (ctan_tonearest_test_data): Likewise.
26382 (ctan_towardzero_test_data): Likewise.
26383 (ctan_downward_test_data): Likewise.
26384 (ctan_upward_test_data): Likewise.
26385 (ctanh_test_data): Likewise.
26386 (ctanh_tonearest_test_data): Likewise.
26387 (ctanh_towardzero_test_data): Likewise.
26388 (ctanh_downward_test_data): Likewise.
26389 (ctanh_upward_test_data): Likewise.
26390 (erf_test_data): Likewise.
26391 (erfc_test_data): Likewise.
26392 (exp_test_data): Likewise.
26393 (exp_tonearest_test_data): Likewise.
26394 (exp_towardzero_test_data): Likewise.
26395 (exp_downward_test_data): Likewise.
26396 (exp_upward_test_data): Likewise.
26397 (exp10_test_data): Likewise.
26398 (exp2_test_data): Likewise.
26399 (expm1_test_data): Likewise.
26400 (fabs_test_data): Likewise.
26401 (fdim_test_data): Likewise.
26402 (finite_test_data): Likewise.
26403 (floor_test_data): Likewise.
26404 (fma_test_data): Likewise.
26405 (fma_towardzero_test_data): Likewise.
26406 (fma_downward_test_data): Likewise.
26407 (fma_upward_test_data): Likewise.
26408 (fmax_test_data): Likewise.
26409 (fmin_test_data): Likewise.
26410 (fmod_test_data): Likewise.
26411 (fpclassify_test_data): Likewise.
26412 (frexp_test_data): Likewise.
26413 (gamma_test_data): Likewise.
26414 (hypot_test_data): Likewise.
26415 (ilogb_test_data): Likewise.
26416 (isfinite_test_data): Likewise.
26417 (isgreater_test_data): Likewise.
26418 (isgreaterequal_test_data): Likewise.
26419 (isinf_test_data): Likewise.
26420 (isless_test_data): Likewise.
26421 (islessequal_test_data): Likewise.
26422 (islessgreater_test_data): Likewise.
26423 (isnan_test_data): Likewise.
26424 (isnormal_test_data): Likewise.
26425 (issignaling_test_data): Likewise.
26426 (isunordered_test_data): Likewise.
26427 (j0_test_data): Likewise.
26428 (j1_test_data): Likewise.
26429 (jn_test_data): Likewise.
26430 (ldexp_test_data): Likewise.
26431 (lgamma_test_data): Likewise.
26432 (lrint_test_data): Likewise.
26433 (lrint_tonearest_test_data): Likewise.
26434 (lrint_towardzero_test_data): Likewise.
26435 (lrint_downward_test_data): Likewise.
26436 (lrint_upward_test_data): Likewise.
26437 (llrint_test_data): Likewise.
26438 (llrint_tonearest_test_data): Likewise.
26439 (llrint_towardzero_test_data): Likewise.
26440 (llrint_downward_test_data): Likewise.
26441 (llrint_upward_test_data): Likewise.
26442 (log_test_data): Likewise.
26443 (log10_test_data): Likewise.
26444 (log1p_test_data): Likewise.
26445 (log2_test_data): Likewise.
26446 (logb_test_data): Likewise.
26447 (logb_downward_test_data): Likewise.
26448 (lround_test_data): Likewise.
26449 (llround_test_data): Likewise.
26450 (modf_test_data): Likewise.
26451 (nearbyint_test_data): Likewise.
26452 (nextafter_test_data): Likewise.
26453 (nexttoward_test_data): Likewise.
26454 (pow_test_data): Likewise.
26455 (pow_tonearest_test_data): Likewise.
26456 (pow_towardzero_test_data): Likewise.
26457 (pow_downward_test_data): Likewise.
26458 (pow_upward_test_data): Likewise.
26459 (remainder_test_data): Likewise.
26460 (remainder_tonearest_test_data): Likewise.
26461 (remainder_towardzero_test_data): Likewise.
26462 (remainder_downward_test_data): Likewise.
26463 (remainder_upward_test_data): Likewise.
26464 (remquo_test_data): Likewise.
26465 (rint_test_data): Likewise.
26466 (rint_tonearest_test_data): Likewise.
26467 (rint_towardzero_test_data): Likewise.
26468 (rint_downward_test_data): Likewise.
26469 (rint_upward_test_data): Likewise.
26470 (round_test_data): Likewise.
26471 (scalb_test_data): Likewise.
26472 (scalbn_test_data): Likewise.
26473 (scalbln_test_data): Likewise.
26474 (signbit_test_data): Likewise.
26475 (sin_test_data): Likewise.
26476 (sin_tonearest_test_data): Likewise.
26477 (sin_towardzero_test_data): Likewise.
26478 (sin_downward_test_data): Likewise.
26479 (sin_upward_test_data): Likewise.
26480 (sincos_test_data): Likewise.
26481 (sinh_test_data): Likewise.
26482 (sinh_tonearest_test_data): Likewise.
26483 (sinh_towardzero_test_data): Likewise.
26484 (sinh_downward_test_data): Likewise.
26485 (sinh_upward_test_data): Likewise.
26486 (sqrt_test_data): Likewise.
26487 (tan_test_data): Likewise.
26488 (tan_tonearest_test_data): Likewise.
26489 (tan_towardzero_test_data): Likewise.
26490 (tan_downward_test_data): Likewise.
26491 (tan_upward_test_data): Likewise.
26492 (tanh_test_data): Likewise.
26493 (tgamma_test_data): Likewise.
26494 (trunc_test_data): Likewise.
26495 (y0_test_data): Likewise.
26496 (y1_test_data): Likewise.
26497 (yn_test_data): Likewise.
26498 (significand_test_data): Likewise.
26499
26500 * math/gen-libm-test.pl (@functions): Remove variable.
26501 (generate_testfile): Don't handle START and END lines.
26502 * math/libm-test.inc (START): New macro.
26503 (END): Likewise.
26504 (END_COMPLEX): Likewise.
26505 (acos_test): Use END macro without arguments.
26506 (acos_test_tonearest): Likewise.
26507 (acos_test_towardzero): Likewise.
26508 (acos_test_downward): Likewise.
26509 (acos_test_upward): Likewise.
26510 (acosh_test): Likewise.
26511 (asin_test): Likewise.
26512 (asin_test_tonearest): Likewise.
26513 (asin_test_towardzero): Likewise.
26514 (asin_test_downward): Likewise.
26515 (asin_test_upward): Likewise.
26516 (asinh_test): Likewise.
26517 (atan_test): Likewise.
26518 (atanh_test): Likewise.
26519 (atan2_test): Likewise.
26520 (cabs_test): Likewise.
26521 (cacos_test): Use END_COMPLEX macro without arguments.
26522 (cacosh_test): Likewise.
26523 (carg_test): Use END macro without arguments.
26524 (casin_test): Use END_COMPLEX macro without arguments.
26525 (casinh_test): Likewise.
26526 (catan_test): Likewise.
26527 (catanh_test): Likewise.
26528 (cbrt_test): Use END macro without arguments.
26529 (ccos_test): Use END_COMPLEX macro without arguments.
26530 (ccosh_test): Likewise.
26531 (ceil_test): Use END macro without arguments.
26532 (cexp_test): Use END_COMPLEX macro without arguments.
26533 (cimag_test): Use END macro without arguments.
26534 (clog_test): Use END_COMPLEX macro without arguments.
26535 (clog10_test): Likewise.
26536 (conj_test): Likewise.
26537 (copysign_test): Use END macro without arguments.
26538 (cos_test): Likewise.
26539 (cos_test_tonearest): Likewise.
26540 (cos_test_towardzero): Likewise.
26541 (cos_test_downward): Likewise.
26542 (cos_test_upward): Likewise.
26543 (cosh_test): Likewise.
26544 (cosh_test_tonearest): Likewise.
26545 (cosh_test_towardzero): Likewise.
26546 (cosh_test_downward): Likewise.
26547 (cosh_test_upward): Likewise.
26548 (cpow_test): Use END_COMPLEX macro without arguments.
26549 (cproj_test): Likewise.
26550 (creal_test): Use END macro without arguments.
26551 (csin_test): Use END_COMPLEX macro without arguments.
26552 (csinh_test): Likewise.
26553 (csqrt_test): Likewise.
26554 (ctan_test): Likewise.
26555 (ctan_test_tonearest): Likewise.
26556 (ctan_test_towardzero): Likewise.
26557 (ctan_test_downward): Likewise.
26558 (ctan_test_upward): Likewise.
26559 (ctanh_test): Likewise.
26560 (ctanh_test_tonearest): Likewise.
26561 (ctanh_test_towardzero): Likewise.
26562 (ctanh_test_downward): Likewise.
26563 (ctanh_test_upward): Likewise.
26564 (erf_test): Use END macro without arguments.
26565 (erfc_test): Likewise.
26566 (exp_test): Likewise.
26567 (exp_test_tonearest): Likewise.
26568 (exp_test_towardzero): Likewise.
26569 (exp_test_downward): Likewise.
26570 (exp_test_upward): Likewise.
26571 (exp10_test): Likewise.
26572 (exp2_test): Likewise.
26573 (expm1_test): Likewise.
26574 (fabs_test): Likewise.
26575 (fdim_test): Likewise.
26576 (finite_test): Likewise.
26577 (floor_test): Likewise.
26578 (fma_test): Likewise.
26579 (fma_test_towardzero): Likewise.
26580 (fma_test_downward): Likewise.
26581 (fma_test_upward): Likewise.
26582 (fmax_test): Likewise.
26583 (fmin_test): Likewise.
26584 (fmod_test): Likewise.
26585 (fpclassify_test): Likewise.
26586 (frexp_test): Likewise.
26587 (gamma_test): Likewise.
26588 (hypot_test): Likewise.
26589 (ilogb_test): Likewise.
26590 (isfinite_test): Likewise.
26591 (isgreater_test): Likewise.
26592 (isgreaterequal_test): Likewise.
26593 (isinf_test): Likewise.
26594 (isless_test): Likewise.
26595 (islessequal_test): Likewise.
26596 (islessgreater_test): Likewise.
26597 (isnan_test): Likewise.
26598 (isnormal_test): Likewise.
26599 (issignaling_test): Likewise.
26600 (isunordered_test): Likewise.
26601 (j0_test): Likewise.
26602 (j1_test): Likewise.
26603 (jn_test): Likewise.
26604 (ldexp_test): Likewise.
26605 (lgamma_test): Likewise.
26606 (lrint_test): Likewise.
26607 (lrint_test_tonearest): Likewise.
26608 (lrint_test_towardzero): Likewise.
26609 (lrint_test_downward): Likewise.
26610 (lrint_test_upward): Likewise.
26611 (llrint_test): Likewise.
26612 (llrint_test_tonearest): Likewise.
26613 (llrint_test_towardzero): Likewise.
26614 (llrint_test_downward): Likewise.
26615 (llrint_test_upward): Likewise.
26616 (log_test): Likewise.
26617 (log10_test): Likewise.
26618 (log1p_test): Likewise.
26619 (log2_test): Likewise.
26620 (logb_test): Likewise.
26621 (logb_test_downward): Likewise.
26622 (lround_test): Likewise.
26623 (llround_test): Likewise.
26624 (modf_test): Likewise.
26625 (nearbyint_test): Likewise.
26626 (nextafter_test): Likewise.
26627 (nexttoward_test): Likewise.
26628 (pow_test): Likewise.
26629 (pow_test_tonearest): Likewise.
26630 (pow_test_towardzero): Likewise.
26631 (pow_test_downward): Likewise.
26632 (pow_test_upward): Likewise.
26633 (remainder_test): Likewise.
26634 (remainder_test_tonearest): Likewise.
26635 (remainder_test_towardzero): Likewise.
26636 (remainder_test_downward): Likewise.
26637 (remainder_test_upward): Likewise.
26638 (remquo_test): Likewise.
26639 (rint_test): Likewise.
26640 (rint_test_tonearest): Likewise.
26641 (rint_test_towardzero): Likewise.
26642 (rint_test_downward): Likewise.
26643 (rint_test_upward): Likewise.
26644 (round_test): Likewise.
26645 (scalb_test): Likewise.
26646 (scalbn_test): Likewise.
26647 (scalbln_test): Likewise.
26648 (signbit_test): Likewise.
26649 (sin_test): Likewise.
26650 (sin_test_tonearest): Likewise.
26651 (sin_test_towardzero): Likewise.
26652 (sin_test_downward): Likewise.
26653 (sin_test_upward): Likewise.
26654 (sincos_test): Likewise.
26655 (sinh_test): Likewise.
26656 (sinh_test_tonearest): Likewise.
26657 (sinh_test_towardzero): Likewise.
26658 (sinh_test_downward): Likewise.
26659 (sinh_test_upward): Likewise.
26660 (sqrt_test): Likewise.
26661 (tan_test): Likewise.
26662 (tan_test_tonearest): Likewise.
26663 (tan_test_towardzero): Likewise.
26664 (tan_test_downward): Likewise.
26665 (tan_test_upward): Likewise.
26666 (tanh_test): Likewise.
26667 (tgamma_test): Likewise.
26668 (trunc_test): Likewise.
26669 (y0_test): Likewise.
26670 (y1_test): Likewise.
26671 (yn_test): Likewise.
26672 (significand_test): Likewise.
26673
26674 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
26675
26676 [BZ #15381]
26677 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26678
26679 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26680
26681 [BZ #14894]
26682 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26683 __ppc_mdoio and __ppc_mdoom.
26684 * manual/platform.texi: Document new functions __ppc_yield,
26685 __ppc_mdoio and __ppc_mdoom.
26686
26687 2013-05-22 Carlos O'Donell <carlos@redhat.com>
26688
26689 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26690 (main): Mention "tls" pseudo-hwcap is legacy.
26691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26692
26693 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26694
26695 * math/gen-libm-test.pl (parse_args): Output only string of
26696 arguments as text for test name, not full call or descriptions of
26697 tests for extra outputs.
26698 (generate_testfile): Do not pass function name to parse_args.
26699 Generate this_func variable from START.
26700 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26701 field to arg_str.
26702 (struct test_ff_f_data): Likewise.
26703 (test_ff_f_data_nexttoward): Likewise.
26704 (struct test_fi_f_data): Likewise.
26705 (struct test_fl_f_data): Likewise.
26706 (struct test_if_f_data): Likewise.
26707 (struct test_fff_f_data): Likewise.
26708 (struct test_c_f_data): Likewise.
26709 (struct test_f_f1_data): Likewise. Remove field extra_name.
26710 (struct test_fF_f1_data): Likewise.
26711 (struct test_ffI_f1_data): Likewise.
26712 (struct test_c_c_data): Rename test_name field to arg_str.
26713 (struct test_cc_c_data): Likewise.
26714 (struct test_f_i_data): Likewise.
26715 (struct test_ff_i_data): Likewise.
26716 (struct test_f_l_data): Likewise.
26717 (struct test_f_L_data): Likewise.
26718 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26719 and extra2_name.
26720 (COMMON_TEST_SETUP): New macro.
26721 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26722 (COMMON_TEST_CLEANUP): Likewise.
26723 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26724 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26725 macros.
26726 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26727 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26728 macros.
26729 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26730 (RUN_TEST_fff_f): Take argument string. Call new setup and
26731 cleanup macros.
26732 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26733 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26734 macros.
26735 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26736 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26737 macros.
26738 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26739 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26740 cleanup macros.
26741 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26742 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26743 cleanup macros.
26744 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26745 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26746 cleanup macros.
26747 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26748 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26749 macros.
26750 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26751 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26752 macros.
26753 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26754 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26755 macros.
26756 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26757 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26758 cleanup macros.
26759 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26760 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26761 cleanup macros.
26762 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26763 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26764 macros.
26765 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26766 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26767 cleanup macros.
26768 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26769 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26770 macros.
26771 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26772 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26773 macros.
26774 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26775 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26776 cleanup macros.
26777 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26778
26779 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26780
26781 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26782 to _sifields.sigfault.
26783 (si_addr_lsb): Define new macro.
26784 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26786 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26787
26788 2013-05-03 Carlos O'Donell <carlos at redhat.com>
26789
26790 [BZ #15441]
26791 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26792 returns -1.
26793 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26794 null return -1.
26795 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26796 loading the domain.
26797
26798 2013-05-22 Joseph Myers <joseph@codesourcery.com>
26799
26800 * math/gen-libm-test.pl (parse_args): Do not include expected
26801 result in test name.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26805 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26808
26809 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26810
26811 * benchtests/Makefile: Sort function entries.
26812
26813 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26814 tanh, asinh, acosh, atanh.
26815 * benchtests/acos-inputs: New file.
26816 * benchtests/acosh-inputs: New file.
26817 * benchtests/asin-inputs: New file.
26818 * benchtests/asinh-inputs: New file.
26819 * benchtests/atanh-inputs: New file.
26820 * benchtests/cosh-inputs: New file.
26821 * benchtests/log-inputs: New file.
26822 * benchtests/sinh-inputs: New file.
26823 * benchtests/tanh-inputs: New file.
26824
26825 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26826
26827 [BZ #15339]
26828 * posix/tst-getaddrinfo4.c: New test.
26829 * posix/Makefile (tests): Add it.
26830
26831 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26832
26833 [BZ #15339]
26834 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26835 when no services were used.
26836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26837 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26838
26839 2013-05-21 Andreas Schwab <schwab@suse.de>
26840
26841 [BZ #15014]
26842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26843 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26844 successful.
26845 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26846 redundant variable declarations and reallocation of buffer when
26847 parsing as IPv6 address. Always set NSS status when called from
26848 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26849 buffer too small. Correct computation of needed size.
26850 * nss/Makefile (tests): Add test-digits-dots.
26851 * nss/test-digits-dots.c: New test.
26852
26853 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26854
26855 * benchtests/Makefile: Remove instructions for adding
26856 benchmark tests.
26857 * benchtests/README: New file to explain how to execute and
26858 enhance the benchmark tests.
26859
26860 2013-05-21 Andreas Schwab <schwab@suse.de>
26861
26862 [BZ #15493]
26863 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26864 * setjmp/tst-sigsetjmp.c: New test.
26865
26866 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26867
26868 * sysdeps/x86_64/memset.S (memset): New implementation.
26869 (__bzero): Likewise.
26870 (__memset_tail): New function.
26871
26872 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
26873
26874 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26875 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26876 __memcpy_sse2_unaligned ifunc selection.
26877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26878 Add memcpy-sse2-unaligned.S.
26879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26880 Add: __memcpy_sse2_unaligned.
26881
26882 2013-05-19 Joseph Myers <joseph@codesourcery.com>
26883
26884 [BZ #15490]
26885 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26886 math_force_eval before restoring floating-point envrionment.
26887 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26889 Likewise.
26890 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26891 <math_private.h>.
26892 (__nearbyintl): Use math_force_eval before restoring
26893 floating-point environment.
26894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26895
26896 * math/gen-libm-test.pl (special_functions): Remove.
26897 (parse_args): Don't handle TEST_extra. Handle functions with no
26898 return value.
26899 * math/libm-test.inc (struct test_sincos_data): Replace with
26900 struct test_fFF_11_data.
26901 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26902 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26903 (sincos_test_data): Change element type to struct
26904 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26905 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26906 RUN_TEST_LOOP_sincos.
26907 * math/README.libm-test: Don't mention special handling of
26908 individual functions.
26909 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26911 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26912 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26913 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26915
26916 * math/gen-libm-test.pl (get_variable): Remove function.
26917 (parse_args): Don't show pointer parameters to call in test
26918 names. Use "extra output N" in test names for extra outputs
26919 rather than naming variables.
26920
26921 2013-05-18 Joseph Myers <joseph@codesourcery.com>
26922
26923 [BZ #15488]
26924 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26925 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26926 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26927 double tests.
26928 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26929 disable.
26930 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26931 check_long_double.
26932
26933 * math/gen-libm-test.pl (@tests): Remove variable.
26934 ($count): Likewise.
26935 (new_test): Remove function.
26936 (show_exceptions): New function.
26937 (special_functions): Use show_exceptions instead of new_test.
26938 (parse_args): Likewise.
26939 (generate_testfile): Pass only function name in generated call to
26940 print_max_error or print_complex_max_error.
26941 (get_ulps): Do not handle complex tests specially.
26942 (output_test): Rename to ...
26943 (get_all_ulps_for_test): ... this. Return a string rather than
26944 printing to a file. Require ulps to be present.
26945 (output_ulps): Generate arrays rather than #defines.
26946 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26947 (struct ulp_data): New type.
26948 (BUILD_COMPLEX_ULP): Remove macro.
26949 (compare_ulp_data): New function.
26950 (find_ulps): Likewise.
26951 (find_test_ulps): Likewise.
26952 (find_function_ulps): Likewise.
26953 (find_complex_function_ulps): Likewise.
26954 (print_max_error): Determine allowed ulps using
26955 find_function_ulps.
26956 (print_complex_max_error): Determine allowed ulps using
26957 find_complex_function_ulps.
26958 (check_float_internal): Determine max ulps using find_test_ulps.
26959 (check_float): Do not take max_ulp parameter. Update call to
26960 check_float_internal.
26961 (check_complex): Likewise.
26962 (check_int): Do not take max_ulp parameter.
26963 (check_long): Likewise.
26964 (check_bool): Likewise.
26965 (check_longlong): Likewise.
26966 (struct test_f_f_data): Remove max_ulp field.
26967 (struct test_ff_f_data): Likewise.
26968 (struct test_ff_f_data_nexttoward): Likewise.
26969 (struct test_fi_f_data): Likewise.
26970 (struct test_fl_f_data): Likewise.
26971 (struct test_if_f_data): Likewise.
26972 (struct test_fff_f_data): Likewise.
26973 (struct test_c_f_data): Likewise.
26974 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26975 (struct test_fF_f1_data): Likewise.
26976 (struct test_ffI_f1_data): Likewise.
26977 (struct test_c_c_data): Remove max_ulp field.
26978 (struct test_cc_c_data): Likewise.
26979 (struct test_f_i_data): Likewise.
26980 (struct test_ff_i_data): Likewise.
26981 (struct test_f_l_data): Likewise.
26982 (struct test_f_L_data): Likewise.
26983 (struct test_sincos_data): Likewise.
26984 (RUN_TEST_f_f): Do not handle ulps.
26985 (RUN_TEST_LOOP_f_f): Likewise.
26986 (RUN_TEST_2_f): Likewise.
26987 (RUN_TEST_LOOP_2_f): Likewise.
26988 (RUN_TEST_fff_f): Likewise.
26989 (RUN_TEST_LOOP_fff_f): Likewise.
26990 (RUN_TEST_c_f): Likewise.
26991 (RUN_TEST_LOOP_c_f): Likewise.
26992 (RUN_TEST_f_f1): Likewise.
26993 (RUN_TEST_LOOP_f_f1): Likewise.
26994 (RUN_TEST_fF_f1): Likewise.
26995 (RUN_TEST_LOOP_fF_f1): Likewise.
26996 (RUN_TEST_fI_f1): Likewise.
26997 (RUN_TEST_LOOP_fI_f1): Likewise.
26998 (RUN_TEST_ffI_f1): Likewise.
26999 (RUN_TEST_LOOP_ffI_f1): Likewise.
27000 (RUN_TEST_c_c): Likewise.
27001 (RUN_TEST_LOOP_c_c): Likewise.
27002 (RUN_TEST_cc_c): Likewise.
27003 (RUN_TEST_LOOP_cc_c): Likewise.
27004 (RUN_TEST_f_i): Likewise.
27005 (RUN_TEST_LOOP_f_i): Likewise.
27006 (RUN_TEST_f_i_tg): Likewise.
27007 (RUN_TEST_LOOP_f_i_tg): Likewise.
27008 (RUN_TEST_ff_i_tg): Likewise.
27009 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27010 (RUN_TEST_f_b): Likewise.
27011 (RUN_TEST_LOOP_f_b): Likewise.
27012 (RUN_TEST_f_b_tg): Likewise.
27013 (RUN_TEST_LOOP_f_b_tg): Likewise.
27014 (RUN_TEST_f_l): Likewise.
27015 (RUN_TEST_LOOP_f_l): Likewise.
27016 (RUN_TEST_f_L): Likewise.
27017 (RUN_TEST_LOOP_f_L): Likewise.
27018 (RUN_TEST_sincos): Likewise.
27019 (RUN_TEST_LOOP_sincos): Likewise.
27020
27021 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27022
27023 [BZ #15480]
27024 [BZ #15485]
27025 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27026 main case of finite arguments, set rounding mode to FE_TONEAREST
27027 and discard exceptions.
27028 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27029 exceptions.
27030 (remainder_tonearest_test_data): New variable.
27031 (remainder_test_tonearest): New function.
27032 (remainder_towardzero_test_data): New variable.
27033 (remainder_test_towardzero): New function.
27034 (remainder_downward_test_data): New variable.
27035 (remainder_test_downward): New function.
27036 (remainder_upward_test_data): New variable.
27037 (remainder_test_upward): New function.
27038 (main): Call the new test functions.
27039
27040 * math/libm-test.inc (struct test_f_f1_data): Remove field
27041 extra_init.
27042 (struct test_fF_f1_data): Likewise.
27043 (struct test_ffI_f1_data): Likewise.
27044 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27045 based on value of EXTRA_EXPECTED.
27046 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27047 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27048 EXTRA_VAR based on value of EXTRA_EXPECTED.
27049 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27050 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27051 EXTRA_VAR based on value of EXTRA_EXPECTED.
27052 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27053 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27054 EXTRA_VAR based on value of EXTRA_EXPECTED.
27055 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27056 * math/gen-libm-test.pl (parse_args): Don't output initializers
27057 for extra output values.
27058
27059 * math/libm-test.inc (check_int): Expect result to be exactly
27060 equal to expected value and do not handle ulps.
27061 (check_long): Likewise.
27062 (check_longlong): Likewise.
27063
27064 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27065 exceptions.
27066 (cimag_test_data): Likewise.
27067 (conj_test_data): Likewise.
27068 (copysign_test_data): Likewise.
27069 (cproj_test_data): Likewise.
27070 (creal_test_data): Likewise.
27071 (fabs_test_data): Likewise.
27072 (fdim_test_data): Likewise.
27073 (finite_test_data): Likewise.
27074 (floor_test_data): Likewise.
27075 (fmax_test_data): Likewise.
27076 (fmin_test_data): Likewise.
27077 (fmod_test_data): Likewise.
27078 (fpclassify_test_data): Likewise.
27079 (frexp_test_data): Likewise.
27080 (ilogb_test_data): Likewise.
27081 (isfinite_test_data): Likewise.
27082 (isgreater_test_data): Likewise.
27083 (isgreaterequal_test_data): Likewise.
27084 (isinf_test_data): Likewise.
27085 (isless_test_data): Likewise.
27086 (islessequal_test_data): Likewise.
27087 (islessgreater_test_data): Likewise.
27088 (isnan_test_data): Likewise.
27089 (isnormal_test_data): Likewise.
27090 (issignaling_test_data): Likewise.
27091 (isunordered_test_data): Likewise.
27092 (ldexp_test_data): Likewise.
27093 (lrint_test_data): Likewise.
27094 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27095 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27096 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27097 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27098 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27099 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27100 test input.
27101 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27102 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27103 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27104 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27105 that test input.
27106 (lrint_downward_test_data): Test for "inexact" exceptions.
27107 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27108 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27109 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27110 test input.
27111 (lrint_upward_test_data): Test for "inexact" exceptions.
27112 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27113 test input.
27114 (llrint_test_data): Test for "inexact" exceptions.
27115 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27116 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27117 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27118 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27119 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27120 (llrint_downward_test_data): Test for "inexact" exceptions.
27121 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27122 (llrint_upward_test_data): Test for "inexact" exceptions.
27123 (logb_test_data): Likewise.
27124 (logb_downward_test_data): Likewise.
27125 (nextafter_test_data): Likewise.
27126 (nexttoward_test_data): Likewise.
27127 (remainder_test_data): Likewise.
27128 (remquo_test_data): Likewise.
27129 (scalbn_test_data): Likewise.
27130 (scalbln_test_data): Likewise.
27131 (signbit_test_data): Likewise.
27132 (sqrt_test_data): Likewise.
27133 (significand_test_data): Likewise.
27134
27135 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27136
27137 [BZ #15424]
27138 * benchtests/bench-modf.c (struct args): Mark arg0 as
27139 volatile.
27140 * scripts/bench.pl: Mark members of struct args as volatile.
27141
27142 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27143
27144 [BZ # 15497]
27145 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27146 negative infinity on POWER6 or lower.
27147 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27148
27149 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27150
27151 [BZ #15442]
27152 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27153 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27154 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27155 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27156 (_FP_SETQNAN): New macro.
27157 (_FP_SETQNAN_SEMIRAW): Likewise.
27158 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27159 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27160 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27161 (FP_EXTEND): Use _FP_FRAC_SNANP.
27162 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27163 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27164 into account.
27165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27166 New macro.
27167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27168 Likewise.
27169
27170 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27171
27172 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27173 with DIVIDE_BY_ZERO_EXCEPTION.
27174 (gamma_test_data): Likewise.
27175 (lgamma_test_data): Likewise.
27176 (log_test_data): Likewise.
27177 (log10_test_data): Likewise.
27178 (log2_test_data): Likewise.
27179 (tgamma_test_data): Likewise.
27180
27181 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27182 (acos_test_tonearest): Likewise.
27183 (acos_test_towardzero): Likewise.
27184 (acos_test_downward): Likewise.
27185 (acos_test_upward): Likewise.
27186 (acosh_test): Likewise.
27187 (asin_test): Likewise.
27188 (asin_test_tonearest): Likewise.
27189 (asin_test_towardzero): Likewise.
27190 (asin_test_downward): Likewise.
27191 (asin_test_upward): Likewise.
27192 (asinh_test): Likewise.
27193 (atan_test): Likewise.
27194 (atanh_test): Likewise.
27195 (atan2_test): Likewise.
27196 (cabs_test): Likewise.
27197 (cacos_test): Likewise.
27198 (cacosh_test): Likewise.
27199 (casin_test): Likewise.
27200 (casinh_test): Likewise.
27201 (catan_test): Likewise.
27202 (catanh_test): Likewise.
27203 (cbrt_test): Likewise.
27204 (ccos_test): Likewise.
27205 (ccosh_test): Likewise.
27206 (cexp_test): Likewise.
27207 (clog_test): Likewise.
27208 (clog10_test): Likewise.
27209 (cos_test): Likewise.
27210 (cos_test_tonearest): Likewise.
27211 (cos_test_towardzero): Likewise.
27212 (cos_test_downward): Likewise.
27213 (cos_test_upward): Likewise.
27214 (cosh_test): Likewise.
27215 (cosh_test_tonearest): Likewise.
27216 (cosh_test_towardzero): Likewise.
27217 (cosh_test_downward): Likewise.
27218 (cosh_test_upward): Likewise.
27219 (cpow_test): Likewise.
27220 (csin_test): Likewise.
27221 (csinh_test): Likewise.
27222 (csqrt_test): Likewise.
27223 (ctan_test): Likewise.
27224 (ctan_test_tonearest): Likewise.
27225 (ctan_test_towardzero): Likewise.
27226 (ctan_test_downward): Likewise.
27227 (ctan_test_upward): Likewise.
27228 (ctanh_test): Likewise.
27229 (ctanh_test_tonearest): Likewise.
27230 (ctanh_test_towardzero): Likewise.
27231 (ctanh_test_downward): Likewise.
27232 (ctanh_test_upward): Likewise.
27233 (erf_test): Likewise.
27234 (erfc_test): Likewise.
27235 (exp_test): Likewise.
27236 (exp_test_tonearest): Likewise.
27237 (exp_test_towardzero): Likewise.
27238 (exp_test_downward): Likewise.
27239 (exp_test_upward): Likewise.
27240 (exp10_test): Likewise.
27241 (exp2_test): Likewise.
27242 (expm1_test): Likewise.
27243 (fmod_test): Likewise.
27244 (gamma_test): Likewise.
27245 (hypot_test): Likewise.
27246 (j0_test): Likewise.
27247 (j1_test): Likewise.
27248 (jn_test): Likewise.
27249 (lgamma_test): Likewise.
27250 (log_test): Likewise.
27251 (log10_test): Likewise.
27252 (log1p_test): Likewise.
27253 (log2_test): Likewise.
27254 (logb_test_downward): Likewise.
27255 (pow_test): Likewise.
27256 (pow_test_tonearest): Likewise.
27257 (pow_test_towardzero): Likewise.
27258 (pow_test_downward): Likewise.
27259 (pow_test_upward): Likewise.
27260 (remainder_test): Likewise.
27261 (remquo_test): Likewise.
27262 (sin_test): Likewise.
27263 (sin_test_tonearest): Likewise.
27264 (sin_test_towardzero): Likewise.
27265 (sin_test_downward): Likewise.
27266 (sin_test_upward): Likewise.
27267 (sincos_test): Likewise.
27268 (sinh_test): Likewise.
27269 (sinh_test_tonearest): Likewise.
27270 (sinh_test_towardzero): Likewise.
27271 (sinh_test_downward): Likewise.
27272 (sinh_test_upward): Likewise.
27273 (sqrt_test): Likewise.
27274 (tan_test): Likewise.
27275 (tan_test_tonearest): Likewise.
27276 (tan_test_towardzero): Likewise.
27277 (tan_test_downward): Likewise.
27278 (tan_test_upward): Likewise.
27279 (tanh_test): Likewise.
27280 (tgamma_test): Likewise.
27281 (y0_test): Likewise.
27282 (y1_test): Likewise.
27283 (yn_test): Likewise.
27284
27285 * math/gen-libm-test.pl (adjust_arg): Remove function.
27286 (special_function): Remove argument $in_func. Only handle
27287 generating output for tables of tests, not inside functions.
27288 (parse_args): Likewise.
27289 (generate_testfile): Remove variable $in_func. Update call to
27290 parse_args.
27291 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27292 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27293 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27294 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27295 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27296 (MAX_VALUE_INIT): Rename macro to max_value.
27297 (MIN_VALUE_INIT): Rename macro to min_value.
27298 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27299 (plus_zero): Remove variable.
27300 (minus_zero): Likewise.
27301 (plus_infty): Likewise.
27302 (minus_infty): Likewise.
27303 (qnan_value): Likewise.
27304 (max_value): Likewise.
27305 (min_value): Likewise.
27306 (min_subnorm_value): Likewise.
27307
27308 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27309
27310 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27311 uint64_t or uint32_t usage.
27312 * crypt/sha256-block.c: Likewise.
27313 * crypt/sha256-crypt.c: Likewise.
27314 * crypt/sha256.c: Likewise.
27315 * crypt/sha512-block.c: Likewise.
27316 * crypt/sha512-crypt.c: Likewise.
27317 * crypt/sha512.c: Likewise.
27318 * debug/backtrace-tst.c: Likewise.
27319 * debug/pcprofiledump.c: Likewise.
27320 * elf/cache.c: Likewise.
27321 * elf/dl-cache.c: Likewise.
27322 * elf/dl-misc.c: Likewise.
27323 * elf/dl-profile.c: Likewise.
27324 * elf/dl-support.c: Likewise.
27325 * elf/ldconfig.c: Likewise.
27326 * elf/sprof.c: Likewise.
27327 * iconv/dummy-repertoire.c: Likewise.
27328 * iconv/iconv_charmap.c: Likewise.
27329 * iconv/skeleton.c: Likewise.
27330 * iconvdata/8bit-generic.c: Likewise.
27331 * iconvdata/cp737.h: Likewise.
27332 * iconvdata/cp775.h: Likewise.
27333 * iconvdata/ibm1008.h: Likewise.
27334 * iconvdata/ibm1025.h: Likewise.
27335 * iconvdata/ibm1046.h: Likewise.
27336 * iconvdata/ibm1097.h: Likewise.
27337 * iconvdata/ibm1112.h: Likewise.
27338 * iconvdata/ibm1122.h: Likewise.
27339 * iconvdata/ibm1123.h: Likewise.
27340 * iconvdata/ibm1124.h: Likewise.
27341 * iconvdata/ibm1129.h: Likewise.
27342 * iconvdata/ibm1130.h: Likewise.
27343 * iconvdata/ibm1132.h: Likewise.
27344 * iconvdata/ibm1133.h: Likewise.
27345 * iconvdata/ibm1137.h: Likewise.
27346 * iconvdata/ibm1140.h: Likewise.
27347 * iconvdata/ibm1141.h: Likewise.
27348 * iconvdata/ibm1142.h: Likewise.
27349 * iconvdata/ibm1143.h: Likewise.
27350 * iconvdata/ibm1144.h: Likewise.
27351 * iconvdata/ibm1145.h: Likewise.
27352 * iconvdata/ibm1146.h: Likewise.
27353 * iconvdata/ibm1147.h: Likewise.
27354 * iconvdata/ibm1148.h: Likewise.
27355 * iconvdata/ibm1149.h: Likewise.
27356 * iconvdata/ibm1153.h: Likewise.
27357 * iconvdata/ibm1154.h: Likewise.
27358 * iconvdata/ibm1155.h: Likewise.
27359 * iconvdata/ibm1156.h: Likewise.
27360 * iconvdata/ibm1157.h: Likewise.
27361 * iconvdata/ibm1158.h: Likewise.
27362 * iconvdata/ibm1160.h: Likewise.
27363 * iconvdata/ibm1161.h: Likewise.
27364 * iconvdata/ibm1162.h: Likewise.
27365 * iconvdata/ibm1163.h: Likewise.
27366 * iconvdata/ibm1164.h: Likewise.
27367 * iconvdata/ibm1166.h: Likewise.
27368 * iconvdata/ibm1167.h: Likewise.
27369 * iconvdata/ibm12712.h: Likewise.
27370 * iconvdata/ibm1390.h: Likewise.
27371 * iconvdata/ibm1399.h: Likewise.
27372 * iconvdata/ibm16804.h: Likewise.
27373 * iconvdata/ibm4517.h: Likewise.
27374 * iconvdata/ibm4899.h: Likewise.
27375 * iconvdata/ibm4909.h: Likewise.
27376 * iconvdata/ibm4971.h: Likewise.
27377 * iconvdata/ibm5347.h: Likewise.
27378 * iconvdata/ibm803.h: Likewise.
27379 * iconvdata/ibm856.h: Likewise.
27380 * iconvdata/ibm901.h: Likewise.
27381 * iconvdata/ibm902.h: Likewise.
27382 * iconvdata/ibm9030.h: Likewise.
27383 * iconvdata/ibm9066.h: Likewise.
27384 * iconvdata/ibm921.h: Likewise.
27385 * iconvdata/ibm922.h: Likewise.
27386 * iconvdata/ibm9448.h: Likewise.
27387 * iconvdata/isiri-3342.h: Likewise.
27388 * iconvdata/jis0201.h: Likewise.
27389 * include/link.h: Likewise.
27390 * include/netdb.h: Likewise.
27391 * inet/check_native.c: Likewise.
27392 * inet/check_pf.c: Likewise.
27393 * inet/getipv4sourcefilter.c: Likewise.
27394 * inet/getnameinfo.c: Likewise.
27395 * inet/getsourcefilter.c: Likewise.
27396 * inet/htonl.c: Likewise.
27397 * inet/setipv4sourcefilter.c: Likewise.
27398 * inet/setsourcefilter.c: Likewise.
27399 * inet/test-inet6_opt.c: Likewise.
27400 * inet/tst-network.c: Likewise.
27401 * locale/C-collate.c: Likewise.
27402 * locale/C-ctype.c: Likewise.
27403 * locale/C-time.c: Likewise.
27404 * locale/C-translit.h: Likewise.
27405 * locale/loadarchive.c: Likewise.
27406 * locale/programs/3level.h: Likewise.
27407 * locale/programs/charmap.c: Likewise.
27408 * locale/programs/charmap.h: Likewise.
27409 * locale/programs/ld-address.c: Likewise.
27410 * locale/programs/ld-collate.c: Likewise.
27411 * locale/programs/ld-ctype.c: Likewise.
27412 * locale/programs/ld-identification.c: Likewise.
27413 * locale/programs/ld-measurement.c: Likewise.
27414 * locale/programs/ld-messages.c: Likewise.
27415 * locale/programs/ld-monetary.c: Likewise.
27416 * locale/programs/ld-name.c: Likewise.
27417 * locale/programs/ld-numeric.c: Likewise.
27418 * locale/programs/ld-paper.c: Likewise.
27419 * locale/programs/ld-telephone.c: Likewise.
27420 * locale/programs/ld-time.c: Likewise.
27421 * locale/programs/linereader.c: Likewise.
27422 * locale/programs/locale.c: Likewise.
27423 * locale/programs/locarchive.c: Likewise.
27424 * locale/programs/locfile.h: Likewise.
27425 * locale/programs/repertoire.c: Likewise.
27426 * locale/programs/simple-hash.c: Likewise.
27427 * locale/programs/simple-hash.h: Likewise.
27428 * malloc/memusage.c: Likewise.
27429 * malloc/memusagestat.c: Likewise.
27430 * nis/nis_defaults.c: Likewise.
27431 * nis/nis_hash.c: Likewise.
27432 * nis/nis_print.c: Likewise.
27433 * nis/nis_xdr.c: Likewise.
27434 * nscd/connections.c: Likewise.
27435 * nscd/hstcache.c: Likewise.
27436 * nscd/nscd_gethst_r.c: Likewise.
27437 * nscd/nscd_getserv_r.c: Likewise.
27438 * nscd/nscd_helper.c: Likewise.
27439 * nscd/servicescache.c: Likewise.
27440 * nss/makedb.c: Likewise.
27441 * nss/nss_db/db-XXX.c: Likewise.
27442 * nss/nss_db/db-initgroups.c: Likewise.
27443 * nss/nss_db/db-netgrp.c: Likewise.
27444 * nss/nss_files/files-network.c: Likewise.
27445 * nss/nss_files/files-parse.c: Likewise.
27446 * posix/bug-regex5.c: Likewise.
27447 * posix/fnmatch_loop.c: Likewise.
27448 * posix/regcomp.c: Likewise.
27449 * posix/regexec.c: Likewise.
27450 * posix/tst-rfc3484-2.c: Likewise.
27451 * posix/tst-rfc3484-3.c: Likewise.
27452 * posix/tst-rfc3484.c: Likewise.
27453 * resolv/nss_dns/dns-canon.c: Likewise.
27454 * resolv/nss_dns/dns-network.c: Likewise.
27455 * resolv/res_init.c: Likewise.
27456 * resolv/res_mkquery.c: Likewise.
27457 * resolv/tst-aton.c: Likewise.
27458 * stdlib/cxa_atexit.c: Likewise.
27459 * stdlib/cxa_finalize.c: Likewise.
27460 * stdlib/gen-fpioconst.c: Likewise.
27461 * stdlib/strtol_l.c: Likewise.
27462 * string/tst-endian.c: Likewise.
27463 * sunrpc/auth_des.c: Likewise.
27464 * sunrpc/clnt_udp.c: Likewise.
27465 * sunrpc/rtime.c: Likewise.
27466 * sunrpc/svcauth_des.c: Likewise.
27467 * sunrpc/xdr.c: Likewise.
27468 * sunrpc/xdr_intXX_t.c: Likewise.
27469 * sunrpc/xdr_rec.c: Likewise.
27470 * sysdeps/generic/ldconfig.h: Likewise.
27471 * sysdeps/generic/ldsodefs.h: Likewise.
27472 * sysdeps/generic/memusage.h: Likewise.
27473 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27483 * sysdeps/posix/getaddrinfo.c: Likewise.
27484 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27485 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27486 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27487 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27488 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27489 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27490 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27491 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27492 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27493 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27494 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27496 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27497 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27498 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27499 * sysdeps/x86_64/dl-tls.h: Likewise.
27500 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27501 * time/alt_digit.c: Likewise.
27502 * time/era.c: Likewise.
27503 * wcsmbs/tst-c16c32-1.c: Likewise.
27504
27505 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27506
27507 * math/libm-test.inc (struct test_sincos_data): New type.
27508 (RUN_TEST_LOOP_sincos): New macro.
27509 (sincos_test_data): New variable.
27510 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27511
27512 2013-05-16 Richard Henderson <rth@redhat.com>
27513
27514 * math/atest-exp2.c (LIMB64): New macro.
27515 (CONSTSZ): New macro.
27516 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27517 (hexdig): Move ...
27518 (print_mpn_fp): ... to function scope.
27519 (read_mpn_hex): Remove.
27520 (get_log2): Remove.
27521 (exp2_mpn): Use mp_log2.
27522 (main): Use mp_exp1.
27523
27524 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27525
27526 * math/libm-test.inc: Remove comment about not testing "inexact"
27527 exceptions.
27528 (INEXACT_EXCEPTION): New macro.
27529 (NO_INEXACT_EXCEPTION): Likewise.
27530 (INVALID_EXCEPTION_OK): Update value.
27531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27532 (OVERFLOW_EXCEPTION_OK): Likewise.
27533 (UNDERFLOW_EXCEPTION_OK): Likewise.
27534 (IGNORE_ZERO_INF_SIGN): Likewise.
27535 (ERRNO_UNCHANGED): Likewise.
27536 (ERRNO_EDOM): Likewise.
27537 (ERRNO_ERANGE): Likewise.
27538 (test_exceptions): Handle testing "inexact" exceptions.
27539 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27540 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27541 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27542 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27543 INEXACT_EXCEPTION.
27544 (rint_towardzero_test_data): Likewise.
27545 (rint_downward_test_data): Likewise.
27546 (rint_upward_test_data): Likewise.
27547
27548 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27549 with OVERFLOW_EXCEPTION.
27550 (exp10_test_data): Likewise.
27551 (exp2_test_data): Likewise.
27552 (expm1_test_data): Likewise.
27553 (lgamma_test_data): Likewise.
27554 (pow_test_data): Likewise.
27555 (tgamma_test_data): Likewise.
27556 (yn_test_data): Remove duplicate test of overflow.
27557
27558 * math/libm-test.inc (struct test_cc_c_data): New type.
27559 (RUN_TEST_LOOP_cc_c): New macro.
27560 (cpow_test_data): New variable.
27561 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27562
27563 * math/libm-test.inc (struct test_f_L_data): New type.
27564 (RUN_TEST_LOOP_f_L): New macro.
27565 (llrint_test_data): New variable.
27566 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27567 (llrint_tonearest_test_data): New variable.
27568 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27569 (llrint_towardzero_test_data): New variable.
27570 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27571 (llrint_downward_test_data): New variable.
27572 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27573 (llrint_upward_test_data): New variable.
27574 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27575 (llround_test_data): New variable.
27576 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27577
27578 2013-05-13 Peter Collingbourne <pcc@google.com>
27579
27580 * math/atest-exp2.c (get_log2): Remove const attribute.
27581
27582 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27583
27584 * math/libm-test.inc (struct test_f_l_data): New type.
27585 (RUN_TEST_LOOP_f_l): New macro.
27586 (lrint_test_data): New variable.
27587 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27588 (lrint_tonearest_test_data): New variable.
27589 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27590 (lrint_towardzero_test_data): New variable.
27591 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27592 (lrint_downward_test_data): New variable.
27593 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27594 (lrint_upward_test_data): New variable.
27595 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27596 (lround_test_data): New variable.
27597 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27598
27599 2013-05-15 Peter Collingbourne <pcc@google.com>
27600
27601 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27602 (EXTRACT_WORDS64) Use where appropriate.
27603 (INSERT_WORDS64) Likewise.
27604
27605 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27606 constraints with x constraints.
27607 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27608
27609 * malloc/obstack.c (_obstack_compat): Add initializer.
27610
27611 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27612
27613 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27614 si_trapno and add si_addr_lsb to _sifields.sigfault.
27615 (si_trapno): Remove macro.
27616 (si_addr_lsb): Define new macro.
27617 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27618
27619 2013-05-15 Joseph Myers <joseph@codesourcery.com>
27620
27621 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27622 instead of TEST_f_l.
27623 (llrint_test_tonearest): Likewise.
27624 (llrint_test_towardzero): Likewise.
27625 (llrint_test_downward): Likewise.
27626 (llrint_test_upward): Likewise.
27627 (llround_test): Likewise.
27628
27629 * math/libm-test.inc (struct test_f_i_data): Add comment.
27630 (RUN_TEST_LOOP_f_b): New macro.
27631 (RUN_TEST_LOOP_f_b_tg): Likewise.
27632 (finite_test_data): New variable.
27633 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27634 (isfinite_test_data): New variable.
27635 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27636 (isinf_test_data): New variable.
27637 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27638 (isnan_test_data): New variable.
27639 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27640 (isnormal_test_data): New variable.
27641 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27642 (issignaling_test_data): New variable.
27643 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27644 (signbit_test_data): New variable.
27645 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27646
27647 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27648 with INVALID_EXCEPTION.
27649 (acosh_test_data): Likewise.
27650 (asin_test_data): Likewise.
27651 (atanh_test_data): Likewise.
27652 (fmod_test_data): Likewise.
27653 (log_test_data): Likewise.
27654 (log10_test_data): Likewise.
27655 (log2_test_data): Likewise.
27656 (pow_test_data): Likewise.
27657 (sqrt_test_data): Likewise.
27658 (y0_test_data): Likewise.
27659 (y1_test_data): Likewise.
27660 (yn_test_data): Likewise.
27661
27662 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27663 function contents.
27664
27665 * math/libm-test.inc (struct test_ff_i_data): New type.
27666 (RUN_TEST_LOOP_ff_i_tg): New macro.
27667 (isgreater_test_data): New variable.
27668 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27669 (isgreaterequal_test_data): New variable.
27670 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27671 (isless_test_data): New variable.
27672 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27673 (islessequal_test_data): New variable.
27674 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27675 (islessgreater_test_data): New variable.
27676 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27677 (isunordered_test_data): New variable.
27678 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27679
27680 2013-05-14 David S. Miller <davem@davemloft.net>
27681
27682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27683
27684 2013-05-14 Joseph Myers <joseph@codesourcery.com>
27685
27686 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27687
27688 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27689 extra_test to int.
27690 (struct test_f_i_data): Change type of max_ulp to int.
27691
27692 * math/libm-test.inc (test_ffI_f1_data): New type.
27693 (RUN_TEST_LOOP_ffI_f1): New macro.
27694 (remquo_test_data): New variable.
27695 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27696
27697 * setjmp/tst-setjmp-fp.c: New file.
27698 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27699 (link-libm): New variable.
27700 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27701
27702 * math/libm-test.inc (struct test_f_i_data): New type.
27703 (RUN_TEST_LOOP_f_i): New macro.
27704 (RUN_TEST_LOOP_f_i_tg): Likewise.
27705 (fpclassify_test_data): New variable.
27706 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27707 (ilogb_test_data): New variable.
27708 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27709
27710 * math/libm-test.inc (scalbln_test): Correct function name in END
27711 call.
27712
27713 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27714 (RUN_TEST_LOOP_fI_f1): New macro.
27715 (frexp_test_data): New variable.
27716 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27717
27718 * math/libm-test.inc (struct test_fF_f1_data): New type.
27719 (RUN_TEST_LOOP_fF_f1): New macro.
27720 (modf_test_data): New variable.
27721 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27722
27723 * math/libm-test.inc (struct test_f_f1_data): New type.
27724 (RUN_TEST_LOOP_f_f1): New macro.
27725 (gamma_test_data): New variable.
27726 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27727 (lgamma_test_data): New variable.
27728 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27729
27730 2013-05-13 Carlos O'Donell <carlos@redhat.com>
27731
27732 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27733 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27734 (main): Comment "tls" pseudo-hwcap.
27735
27736 2013-05-13 Joseph Myers <joseph@codesourcery.com>
27737
27738 * math/libm-test.inc (struct test_fl_f_data): New type.
27739 (RUN_TEST_LOOP_fl_f): New variable.
27740 (scalbln_test_data): New variable.
27741 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27742
27743 * math/libm-test.inc (struct test_fi_f_data): New type.
27744 (RUN_TEST_LOOP_fi_f): New macro.
27745 (ldexp_test_data): New variable.
27746 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27747 (scalbn_test_data): New variable.
27748 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27749
27750 * math/libm-test.inc (struct test_c_f_data): New type.
27751 (RUN_TEST_LOOP_c_f): New macro.
27752 (cabs_test_data): New variable.
27753 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27754 (carg_test_data): New variable.
27755 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27756 (cimag_test_data): New variable.
27757 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27758 (creal_test_data): New variable.
27759 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27760
27761 * math/libm-test.inc (struct test_if_f_data): New type.
27762 (RUN_TEST_LOOP_if_f): New macro.
27763 (jn_test_data): New variable.
27764 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27765 (yn_test_data): New variable.
27766 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27767
27768 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27769
27770 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27771
27772 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27773 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27774
27775 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27776
27777 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27778 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27779 (bench-deps): Add bench-timing.h.
27780 * benchtests-bench-skeleton.c: Include bench-timing.h.
27781 (main): Use TIMING_* macros instead of clock_gettime.
27782 * benchtests/bench-timing.h: New file.
27783
27784 [BZ #14582]
27785 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27786 Renamed from _LIB_VERSION.
27787 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27788
27789 2013-05-12 Joseph Myers <joseph@codesourcery.com>
27790
27791 * math/libm-test.inc (struct test_fff_f_data): New type.
27792 (RUN_TEST_LOOP_fff_f): New macro.
27793 (fma_test_data): New variable.
27794 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27795 (fma_towardzero_test_data): New variable.
27796 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27797 (fma_downward_test_data): New variable.
27798 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27799 (fma_upward_test_data): New variable.
27800 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27801
27802 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27803 (struct test_c_c_data): New type.
27804 (RUN_TEST_LOOP_c_c): New macro.
27805 (cacos_test_data): New variable.
27806 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27807 (cacosh_test_data): New variable.
27808 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27809 (casin_test_data): New variable.
27810 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27811 (casinh_test_data): New variable.
27812 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27813 (catan_test_data): New variable.
27814 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27815 (catanh_test_data): New variable.
27816 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27817 (ccos_test_data): New variable.
27818 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27819 (ccosh_test_data): New variable.
27820 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27821 (cexp_test_data): New variable.
27822 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27823 (clog_test_data): New variable.
27824 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27825 (clog10_test_data): New variable.
27826 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27827 (conj_test_data): New variable.
27828 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27829 (cproj_test_data): New variable.
27830 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27831 (csin_test_data): New variable.
27832 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27833 (csinh_test_data): New variable.
27834 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27835 (csqrt_test_data): New variable.
27836 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27837 (ctan_test_data): New variable.
27838 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27839 (ctan_tonearest_test_data): New variable.
27840 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27841 (ctan_towardzero_test_data): New variable.
27842 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27843 (ctan_downward_test_data): New variable.
27844 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27845 (ctan_upward_test_data): New variable.
27846 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27847 (ctanh_test_data): New variable.
27848 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27849 (ctanh_tonearest_test_data): New variable.
27850 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27851 (ctanh_towardzero_test_data): New variable.
27852 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27853 (ctanh_downward_test_data): New variable.
27854 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27855 (ctanh_upward_test_data): New variable.
27856 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27857 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27858 of BUILD_COMPLEX.
27859
27860 * math/libm-test.inc (struct test_ff_f_data): New type.
27861 (struct test_ff_f_data_nexttoward): Likewise.
27862 (RUN_TEST_LOOP_2_f): New macro.
27863 (RUN_TEST_LOOP_ff_f): Likewise.
27864 (atan2_test_data): New variable.
27865 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27866 (copysign_test_data): New variable.
27867 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27868 (fdim_test_data): New variable.
27869 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27870 (fmax_test_data): New variable.
27871 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27872 (fmin_test_data): New variable.
27873 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27874 (fmod_test_data): New variable.
27875 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27876 (hypot_test_data): New variable.
27877 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27878 (nextafter_test_data): New variable.
27879 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27880 (nexttoward_test_data): New variable.
27881 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27882 (pow_test_data): New variable.
27883 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27884 (pow_tonearest_test_data): New variable.
27885 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27886 (pow_towardzero_test_data): New variable.
27887 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27888 (pow_downward_test_data): New variable.
27889 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27890 (pow_upward_test_data): New variable.
27891 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27892 (remainder_test_data): New variable.
27893 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27894 (scalb_test_data): New variable.
27895 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27896 * sysdeps/i386/fpu/libm-test-ulps: Update.
27897
27898 2013-05-11 Joseph Myers <joseph@codesourcery.com>
27899
27900 * math/libm-test.inc (fma_test): Use max_value instead of local
27901 variable fltmax.
27902 (nextafter_test): Likewise.
27903
27904 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27905 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27906 (acos_downward_test_data): New variable.
27907 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27908 (acos_upward_test_data): New variable.
27909 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27910 (acosh_test_data): New variable.
27911 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (asin_test_data): New variable.
27913 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (asin_tonearest_test_data): New variable.
27915 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27916 (asin_towardzero_test_data): New variable.
27917 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27918 (asin_downward_test_data): New variable.
27919 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27920 (asin_upward_test_data): New variable.
27921 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27922 (asinh_test_data): New variable.
27923 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27924 (atan_test_data): New variable.
27925 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27926 (atanh_test_data): New variable.
27927 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27928 (cbrt_test_data): New variable.
27929 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27930 (ceil_test_data): New variable.
27931 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27932 (cos_test_data): New variable.
27933 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (cos_tonearest_test_data): New variable.
27935 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27936 (cos_towardzero_test_data): New variable.
27937 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27938 (cos_downward_test_data): New variable.
27939 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27940 (cos_upward_test_data): New variable.
27941 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27942 (cosh_test_data): New variable.
27943 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (cosh_tonearest_test_data): New variable.
27945 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27946 (cosh_towardzero_test_data): New variable.
27947 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27948 (cosh_downward_test_data): New variable.
27949 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27950 (cosh_upward_test_data): New variable.
27951 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27952 (erf_test_data): New variable.
27953 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27954 (erfc_test_data): New variable.
27955 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27956 (exp_test_data): New variable.
27957 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27958 (exp_tonearest_test_data): New variable.
27959 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27960 (exp_towardzero_test_data): New variable.
27961 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27962 (exp_downward_test_data): New variable.
27963 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27964 (exp_upward_test_data): New variable.
27965 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27966 (exp10_test_data): New variable.
27967 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27968 (exp2_test_data): New variable.
27969 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27970 (expm1_test_data): New variable.
27971 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27972 (fabs_test_data): New variable.
27973 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (floor_test_data): New variable.
27975 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27976 (j0_test_data): New variable.
27977 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27978 (j1_test_data): New variable.
27979 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27980 (log_test_data): New variable.
27981 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27982 (log10_test_data): New variable.
27983 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (log1p_test_data): New variable.
27985 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27986 (log2_test_data): New variable.
27987 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27988 (logb_test_data): New variable.
27989 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27990 (logb_downward_test_data): New variable.
27991 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27992 (nearbyint_test_data): New variable.
27993 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27994 (rint_test_data): New variable.
27995 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27996 (rint_tonearest_test_data): New variable.
27997 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27998 (rint_towardzero_test_data): New variable.
27999 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28000 (rint_downward_test_data): New variable.
28001 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28002 (rint_upward_test_data): New variable.
28003 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28004 (round_test_data): New variable.
28005 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28006 (sin_test_data): New variable.
28007 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28008 (sin_tonearest_test_data): New variable.
28009 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28010 (sin_towardzero_test_data): New variable.
28011 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28012 (sin_downward_test_data): New variable.
28013 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28014 (sin_upward_test_data): New variable.
28015 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28016 (sinh_test_data): New variable.
28017 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28018 (sinh_tonearest_test_data): New variable.
28019 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28020 (sinh_towardzero_test_data): New variable.
28021 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28022 (sinh_downward_test_data): New variable.
28023 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28024 (sinh_upward_test_data): New variable.
28025 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28026 (sqrt_test_data): New variable.
28027 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28028 (tan_test_data): New variable.
28029 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28030 (tan_tonearest_test_data): New variable.
28031 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28032 (tan_towardzero_test_data): New variable.
28033 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28034 (tan_downward_test_data): New variable.
28035 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28036 (tan_upward_test_data): New variable.
28037 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28038 (tanh_test_data): New variable.
28039 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28040 (tgamma_test_data): New variable.
28041 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28042 (trunc_test_data): New variable.
28043 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28044 (y0_test_data): New variable.
28045 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28046 (y1_test_data): New variable.
28047 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28048 (significand_test_data): New variable.
28049 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28050
28051 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28052
28053 [BZ #12387]
28054 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28055
28056 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28057
28058 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28059
28060 2013-05-10 Andreas Jaeger <aj@suse.de>
28061
28062 [BZ #15448]
28063 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28064 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28065
28066 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28067
28068 * math/gen-libm-test.pl (adjust_arg): New function.
28069 (special_functions): Handle generating output in both functions
28070 and arrays.
28071 (parse_args): Likewise.
28072 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28073 $in_func argument to parse_args.
28074 * math/libm-test.inc (struct test_f_f_data): New type.
28075 (IF_ROUND_INIT_): New macro.
28076 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28077 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28078 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28079 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28080 (ROUND_RESTORE_): Likewise.
28081 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28082 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28083 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28084 (ROUND_RESTORE_FE_UPWARD): Likewise.
28085 (RUN_TEST_LOOP_f_f): New macro.
28086 (acos_test_data): New variable.
28087 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28088 (acos_tonearest_test_data): New variable.
28089 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28090
28091 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28092
28093 * benchtests/bench-skeleton.c (startup): Fix coding style.
28094
28095 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28096
28097 [BZ #6809]
28098 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28099 negative infinity argument.
28100 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28101 negative infinity argument.
28102 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28103 negative infinity argument.
28104 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28105 domain errors.
28106
28107 2013-05-10 Florian Weimer <fweimer@redhat.com>
28108
28109 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28110 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28111 * iconv/iconv_prog.c (main): Likewise.
28112 * locale/programs/charmap-dir.c (charmap_readdir)
28113 (fopen_uncompressed): Likewise.
28114 * locale/programs/locfile.c (siblings_uncached)
28115 (write_locale_data): Use lstat64 instead of lstat.
28116 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28117 stat.
28118
28119 2013-05-10 Andreas Jaeger <aj@suse.de>
28120
28121 [BZ #15395]
28122 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28123 localization.
28124 Include <locale.h>.
28125
28126 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28127
28128 * elf/dl-close.c (_dl_close_worker): Add comments.
28129
28130 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28131
28132 [BZ #15359]
28133 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28134 high part of pi/2.
28135 (__ieee754_rem_pio2l): Update comments.
28136
28137 [BZ #15429]
28138 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28139 high part of pi/2.
28140 (__ieee754_rem_pio2l): Update comments.
28141
28142 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28143 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28144
28145 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28146 M_PI_4l.
28147
28148 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28149 (M_PI_34_LOG10El): Likewise.
28150 (M_PI2_LOG10El): Likewise.
28151 (M_PI4_LOG10El): Likewise.
28152 (M_PI_LOG10El): Likewise.
28153
28154 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28155
28156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28157
28158 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28159
28160 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28161 (MINUS_ZERO_INIT): Likewise.
28162 (PLUS_INFTY_INIT): Likewise.
28163 (MINUS_INFTY_INIT): Likewise.
28164 (QNAN_VALUE_INIT): Likewise.
28165 (MAX_VALUE_INIT): Likewise.
28166 (MIN_VALUE_INIT): Likewise.
28167 (MIN_SUBNORM_VALUE_INIT): Likewise.
28168 (plus_zero): Initialize with PLUS_ZERO_INIT.
28169 (minus_zero): Initialize with MINUS_ZERO_INIT.
28170 (plus_infty): Initialize with PLUS_INFTY_INIT.
28171 (minus_infty): Initialize with MINUS_INFTY_INIT.
28172 (qnan_value): Initialize with QNAN_VALUE_INIT.
28173 (max_value): Initialize with MAX_VALUE_INIT.
28174 (min_value): Initialize with MIN_VALUE_INIT.
28175 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28176
28177 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28178 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28179 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28180 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28181
28182 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28183 (RUN_TEST_2_f): Likewise.
28184 (RUN_TEST_ff_f): Likewise.
28185 (RUN_TEST_fi_f): Likewise.
28186 (RUN_TEST_fl_f): Likewise.
28187 (RUN_TEST_fff_f): Likewise.
28188 (RUN_TEST_c_f): Likewise.
28189 (RUN_TEST_f_f1): Likewise.
28190 (RUN_TEST_fF_f1): Likewise.
28191 (RUN_TEST_fI_f1): Likewise.
28192 (RUN_TEST_ffI_f1): Likewise.
28193 (RUN_TEST_c_c): Likewise.
28194 (RUN_TEST_cc_c): Likewise.
28195 (RUN_TEST_f_i): Likewise.
28196 (RUN_TEST_f_i_tg): Likewise.
28197 (RUN_TEST_ff_i_tg): Likewise.
28198 (RUN_TEST_f_b): Likewise.
28199 (RUN_TEST_f_b_tg): Likewise.
28200 (RUN_TEST_f_l): Likewise.
28201 (RUN_TEST_f_L): Likewise.
28202 (RUN_TEST_sincos): Likewise.
28203 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28204 whether to show exceptions. Do not include ");\n" in return
28205 value.
28206 (special_functions): Output call to RUN_TEST_sincos instead of
28207 check_float calls. Update calls to new_test.
28208 (parse_args): Output call to single RUN_TEST_* macro instead of
28209 check_* calls and other assignments. Update calls to new_test.
28210
28211 [BZ #2546]
28212 [BZ #2560]
28213 [BZ #5159]
28214 [BZ #15426]
28215 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28216 input to result for tgamma overflow.
28217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28218 (gamma_coeff): New variable.
28219 (NCOEFF): New macro.
28220 (gamma_positive): New function.
28221 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28222 underflow here. Use gamma_positive instead of exp (lgamma) for
28223 other arguments.
28224 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28225 (gamma_coeff): New variable.
28226 (NCOEFF): New macro.
28227 (gammaf_positive): New function.
28228 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28229 underflow here. Use gamma_positive instead of exp (lgamma) for
28230 other arguments.
28231 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28232 (gamma_coeff): New variable.
28233 (NCOEFF): New macro.
28234 (gammal_positive): New function.
28235 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28236 underflow here. Use gamma_positive instead of exp (lgamma) for
28237 other arguments.
28238 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28239 (gamma_coeff): New variable.
28240 (NCOEFF): New macro.
28241 (gammal_positive): New function.
28242 (__ieee754_gammal_r): Handle positive infinity, overflow and
28243 underflow here. Handle NaN the same as positive infinity. Remove
28244 check x < 0xffffffff for negative integers. Use gamma_positive
28245 instead of exp (lgamma) for other arguments.
28246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28247 (gamma_coeff): New variable.
28248 (NCOEFF): New macro.
28249 (gammal_positive): New function.
28250 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28251 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28252 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28253 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28254 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28255 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28256 * sysdeps/generic/math_private.h (__gamma_productf): New
28257 prototype.
28258 (__gamma_product): Likewise.
28259 (__gamma_productl): Likewise.
28260 * math/Makefile (libm-calls): Add gamma_product.
28261 * math/libm-test.inc (tgamma_test): Add more tests.
28262 * sysdeps/i386/fpu/libm-test-ulps: Update.
28263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28264
28265 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
28266
28267 * benchtests/bench-skeleton.c (main): Preheat CPU.
28268
28269 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28270
28271 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28272
28273 2013-05-07 Roland McGrath <roland@hack.frob.com>
28274
28275 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28276 and _dl_skip_args_internal.
28277
28278 2013-05-07 Carlos O'Donell <carlos@redhat.com>
28279
28280 * manual/message.texi (Message Translation): Talk about users.
28281 Message to key mapping impacts design.
28282
28283 2013-05-06 Roland McGrath <roland@hack.frob.com>
28284
28285 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28286
28287 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28288
28289 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28290 * sysdeps/wordsize-64/glob64.c: ... here.
28291
28292 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28293 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28294 New macros.
28295
28296 * debug/getlogin_r_chk.c: Moved to ...
28297 * login/getlogin_r_chk.c: ... here.
28298 * debug/Makefile (routines): Move getlogin_r_chk to ...
28299 * login/Makefile (routines): ... here.
28300 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28301 * login/Versions (libc: GLIBC_2.4): ... here.
28302
28303 * io/poll.c (__poll): Renamed from poll.
28304 Add libc_hidden_def.
28305 (poll): Define as weak alias.
28306
28307 * debug/ptsname_r_chk.c: Moved to ...
28308 * login/ptsname_r_chk.c: ... here.
28309 * debug/Makefile (routines): Move ptsname_r_chk to ...
28310 * login/Makefile (routines): ... here.
28311 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28312 * login/Versions (libc: GLIBC_2.4): ... here.
28313
28314 * posix/getlogin.c: Moved to ...
28315 * login/getlogin.c: ... here.
28316 * posix/getlogin_r.c: Moved to ...
28317 * login/getlogin_r.c: ... here.
28318 * posix/getlogin_r.c: Moved to ...
28319 * login/getlogin_r.c: ... here.
28320 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28321 * login/Makefile (routines): ... here.
28322 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28323 * login/Versions (libc: GLIBC_2.0): ... here.
28324
28325 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28326 (setrlimit): Define as weak alias.
28327
28328 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28329 Call __ names for open, ftruncate, and close.
28330 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28331 (truncate): Define as weak alias.
28332
28333 2013-05-06 Joseph Myers <joseph@codesourcery.com>
28334
28335 * math/gen-libm-test.pl (parse_args): Initialize x before each
28336 test of frexp, modf and remquo.
28337
28338 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28339 test signgam value.
28340
28341 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28342
28343 [BZ #15418]
28344 [BZ #15419]
28345 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28346 internal tests.
28347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28348
28349 2013-05-06 Roland McGrath <roland@hack.frob.com>
28350
28351 * elf/dl-writev.h: New file.
28352 * elf/dl-misc.c: Include it.
28353 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28354 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28355
28356 2013-05-04 Joseph Myers <joseph@codesourcery.com>
28357
28358 * math/libm-test.inc (noXFails): Remove variable.
28359 (noXPasses): Likewise.
28360 (BUILD_COMPLEX_INT): Remove macro.
28361 (print_screen): Remove xfail argument.
28362 (print_screen_max_error): Likewise.
28363 (update_stats): Likewise.
28364 (print_max_error): Likewise. Update calls to other affected
28365 functions.
28366 (print_complex_max_error): Likewise.
28367 (test_single_exception): Update calls to print_screen.
28368 (test_single_errno): Likewise.
28369 (check_float_internal): Remove xfail argument. Update calls to
28370 other affected functions.
28371 (check_float): Likewise.
28372 (check_complex): Likewise.
28373 (check_int): Likewise.
28374 (check_long): Likewise.
28375 (check_bool): Likewise.
28376 (check_longlong): Likewise.
28377 (main): Don't print noXFails and noXPasses.
28378 * math/gen-libm-test.pl (top level): Don't mention expected
28379 failure handling in comment.
28380 (new_test): Don't handle expected failures.
28381 (parse_args): Don't mention expected failure handling in comment.
28382 (generate_testfile): Don't handle expected failures.
28383 (parse_ulps): Likewise.
28384 (print_ulps_file): Likewise.
28385 (get_failure): Remove function.
28386 (output_test): Don't handle expected failures.
28387 * make/README.libm-test: Don't mention expected failure handling.
28388
28389 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28390 (minus_zero): Likewise.
28391 (plus_infty): Likewise.
28392 (minus_infty): Likewise.
28393 (qnan_value): Likewise.
28394 (max_value): Likewise.
28395 (min_value): Likewise.
28396 (min_subnorm_value): Likewise.
28397 (initialize): Do not initialize those variables dynamically.
28398
28399 2013-05-03 Roland McGrath <roland@hack.frob.com>
28400
28401 * io/open.c (__open_2): Moved to ...
28402 * io/open_2.c: ... this new file.
28403 * io/open64.c (__open64_2): Moved to ...
28404 * io/open64_2.c: ... this new file.
28405 * io/openat.c (__openat_2): Moved to ...
28406 * io/openat_2.c: ... this new file.
28407 * io/openat64.c (__openat64_2): Moved to ...
28408 * io/openat64_2.c: ... this new file.
28409 * io/Makefile (routines): Add them.
28410 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28411 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28412 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28413 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28414 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28415 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28416 (__openat64): Add hidden_ver.
28417 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28418 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28419
28420 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28421 Separately conditionalize setting of GLRO(dl_sysinfo) so
28422 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28423 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28424
28425 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28426
28427 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28428 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28429 definition.
28430 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28431 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28432 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28433 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28434 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28435
28436 2013-05-03 Joseph Myers <joseph@codesourcery.com>
28437
28438 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28439 test signgam value.
28440
28441 * math/libm-test.inc (hypot_test): Do not use
28442 IGNORE_ZERO_INF_SIGN.
28443
28444 2013-05-03 Andreas Jaeger <aj@suse.de>
28445
28446 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28447 Linux 3.9.
28448 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28449 (PF_MAX): Adjust for VSOCK change.
28450
28451 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28452
28453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28454
28455 2013-05-02 Carlos O'Donell <carlos@redhat.com>
28456
28457 [BZ #15264]
28458 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28459 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28460 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28461
28462 2013-05-02 David S. Miller <davem@davemloft.net>
28463
28464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28465
28466 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
28467
28468 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28469
28470 2013-05-01 Roland McGrath <roland@hack.frob.com>
28471
28472 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28473
28474 2013-05-01 Richard Smith <richard@metafoo.co.uk>
28475
28476 [BZ #14952]
28477 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28478 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28479 Use __attribute__ ((__gnu_inline__)).
28480 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28481 Don't use __attribute__ ((__gnu_inline__)).
28482
28483 2013-05-01 Joseph Myers <joseph@codesourcery.com>
28484
28485 [BZ #15423]
28486 * math/s_catan.c (__catan): Handle small real or imaginary part of
28487 input specially to avoid spurious underflow.
28488 * math/s_catanf.c (__catanf): Likewise.
28489 * math/s_catanh.c (__catanh): Likewise.
28490 * math/s_catanhf.c (__catanhf): Likewise.
28491 * math/s_catanhl.c (__catanhl): Likewise.
28492 * math/s_catanl.c (__catanl): Likewise.
28493 * math/libm-test.inc (catan_test): Add more tests.
28494 (catanh_test): Likewise.
28495 * sysdeps/i386/fpu/libm-test-ulps: Update.
28496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28497
28498 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28499
28500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28501
28502 2013-04-30 Joseph Myers <joseph@codesourcery.com>
28503
28504 [BZ #15416]
28505 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28506 accurately for denominator in atan2.
28507 * math/s_catanf.c (__catanf): Likewise.
28508 * math/s_catanh.c (__catanh): Likewise.
28509 * math/s_catanhf.c (__catanhf): Likewise.
28510 * math/s_catanhl.c (__catanhl): Likewise.
28511 * math/s_catanl.c (__catanl): Likewise.
28512 * math/libm-test.inc (catan_test): Add more tests.
28513 (catanh_test): Likewise.
28514 * sysdeps/i386/fpu/libm-test-ulps: Update.
28515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28516
28517 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28518
28519 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28520
28521 * benchtests/Makefile (bench): Remove slow benchmarks.
28522 * benchtests/atan-inputs: Add slow benchmark inputs.
28523 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28524 (BENCH_FUNC): Accept variant offset.
28525 (VARIANT): Define.
28526 * benchtests/bench-skeleton.c (main): Run benchmark for each
28527 variant.
28528 * benchtests/cos-inputs: Add slow benchmark inputs.
28529 * benchtests/exp-inputs: Likewise.
28530 * benchtests/pow-inputs: Likewise.
28531 * benchtests/sin-inputs: Likewise.
28532 * benchtests/slowatan-inputs: Remove.
28533 * benchtests/slowatan.c: Remove.
28534 * benchtests/slowcos-inputs: Remove.
28535 * benchtests/slowcos.c: Remove.
28536 * benchtests/slowexp-inputs: Remove.
28537 * benchtests/slowexp.c: Remove.
28538 * benchtests/slowpow-inputs: Remove.
28539 * benchtests/slowpow.c: Remove.
28540 * benchtests/slowsin-inputs: Remove.
28541 * benchtests/slowsin.c: Remove.
28542 * benchtests/slowtan-inputs: Remove.
28543 * benchtests/slowtan.c: Remove.
28544 * benchtests/tan-inputs: Add slow benchmark inputs.
28545 * scripts/bench.pl: Parse comments and directives.
28546
28547 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28548 in CPPFLAGS.
28549 ($(objpfx)bench-%.c): Remove *-ITER.
28550 * benchtests/bench-modf.c: Remove definition of ITER.
28551 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28552 (main): Loop for DURATION seconds instead of fixed number of
28553 iterations.
28554 * scripts/bench.pl: Don't expect iterations in parameters.
28555
28556 2013-04-29 Roland McGrath <roland@hack.frob.com>
28557
28558 * io/fchdir.c (__fchdir): Renamed from fchdir.
28559 (fchdir): Define as weak alias.
28560
28561 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28562
28563 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28564 (ERRNO_EDOM): Likewise.
28565 (ERRNO_ERANGE): Likewise.
28566 (noErrnoTests): New variable.
28567 (init_max_error): Set errno to 0.
28568 (test_single_errno): New function.
28569 (test_errno): Likewise.
28570 (check_float_internal): Call test_errno. Set errno to 0.
28571 (check_complex): Refer to errno tests in comment.
28572 (check_int): Call test_errno. Set errno to 0.
28573 (check_long): Likewise.
28574 (check_bool): Likewise.
28575 (check_longlong): Likewise.
28576 (cos_test): Use ERRNO_* flags for errno tests instead of
28577 check_int.
28578 (expm1_test): Likewise.
28579 (fmod_test): Likewise.
28580 (ilogb_test): Likewise.
28581 (lgamma_test): Likewise.
28582 (pow_test): Likewise.
28583 (remainder_test): Likewise.
28584 (sin_test): Likewise.
28585 (tan_test): Likewise.
28586 (yn_test): Likewise.
28587 (initialize): Set errno to 0.
28588 (main): Print number of errno tests.
28589 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28590
28591 2013-04-29 Andreas Jaeger <aj@suse.de>
28592
28593 [BZ #15084]
28594 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28595 and RES_USEVC.
28596
28597 [BZ #15085]
28598 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28599 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28600 unimplemented.
28601
28602 [BZ #15380]
28603 * stdlib/random.c (__initstate): Return NULL if
28604 __initstate fails.
28605
28606 [BZ #15086]
28607 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28608 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28609 RES_SNGLKUPREOP.
28610
28611 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28612
28613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28614
28615 2013-04-29 Joseph Myers <joseph@codesourcery.com>
28616
28617 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28618 of individual tests.
28619 (casin_test): Likewise.
28620 (casinh_test): Likewise.
28621
28622 2013-04-27 Joseph Myers <joseph@codesourcery.com>
28623
28624 [BZ #15409]
28625 * math/s_catan.c (__catan): Handle arguments with large real or
28626 imaginary part separately without squaring.
28627 * math/s_catanf.c (__catanf): Likewise.
28628 * math/s_catanh.c (__catanh): Likewise.
28629 * math/s_catanhf.c (__catanhf): Likewise.
28630 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28631 and redefine.
28632 (__catanhl): Handle arguments with large real or imaginary part
28633 separately without squaring.
28634 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28635 and redefine.
28636 (__catanl): Handle arguments with large real or imaginary part
28637 separately without squaring.
28638 * math/libm-test.inc (catan_test): Add more tests.
28639 (catanh_test): Likewise.
28640 * sysdeps/i386/fpu/libm-test-ulps: Update.
28641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28642
28643 2013-04-27 Andreas Jaeger <aj@suse.de>
28644
28645 [BZ #15007]
28646 * stdlib/stdlib.h: Update guards for qecvt.
28647 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28648 <stdlib.h>.
28649
28650 2013-04-27 Allan McRae <allan@archlinux.org>
28651
28652 * sysdeps/i386/fpu/libm-test-ulps: Update.
28653
28654 2013-04-26 Joseph Myers <joseph@codesourcery.com>
28655
28656 [BZ #15406]
28657 * math/s_catan.c: Include <float.h>.
28658 (__catan): Ensure underflow exception occurs for underflowed
28659 result.
28660 * math/s_catanf.c: Include <float.h>.
28661 (__catanf): Ensure underflow exception occurs for underflowed
28662 result.
28663 * math/s_catanh.c: Include <float.h>.
28664 (__catanh): Ensure underflow exception occurs for underflowed
28665 result.
28666 * math/s_catanhf.c: Include <float.h>.
28667 (__catanhf): Ensure underflow exception occurs for underflowed
28668 result.
28669 * math/s_catanhl.c: Include <float.h>.
28670 (__catanhl): Ensure underflow exception occurs for underflowed
28671 result.
28672 * math/s_catanl.c: Include <float.h>.
28673 (__catanl): Ensure underflow exception occurs for underflowed
28674 result.
28675 * math/libm-test.inc (catan_test): Add more tests.
28676 (catanh_test): Likewise.
28677
28678 [BZ #15405]
28679 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28680 underflowed result.
28681 * math/s_ccoshf.c (__ccoshf): Likewise.
28682 * math/s_ccoshl.c (__ccoshl): Likewise.
28683 * math/s_csin.c (__csin): Likewise.
28684 * math/s_csinf.c (__csinf): Likewise.
28685 * math/s_csinh.c (__csinh): Likewise.
28686 * math/s_csinhf.c (__csinhf): Likewise.
28687 * math/s_csinhl.c (__csinhl): Likewise.
28688 * math/s_csinl.c (__csinl): Likewise.
28689 * math/libm-test.inc (ccos_test): Add more tests.
28690 (ccosh_test): Likewise.
28691 (csin_test): Likewise.
28692 (csinh_test): Likewise.
28693
28694 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28695
28696 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28697 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28698 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28699 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28700 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28701 powerpc/power5+/fpu folders.
28702 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28703
28704
28705 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28706
28707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28708
28709 2013-04-25 Joseph Myers <joseph@codesourcery.com>
28710
28711 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28712 additions to variable.
28713 [$(config-machine) = x86_64] (modules-names): Likewise.
28714 ($(objpfx)tst-audit3): Remove dependency.
28715 ($(objpfx)tst-audit3.out): Likewise.
28716 ($(objpfx)tst-audit4): Likewise.
28717 ($(objpfx)tst-audit4.out): Likewise.
28718 ($(objpfx)tst-audit5): Likewise.
28719 ($(objpfx)tst-audit5.out): Likewise.
28720 ($(objpfx)tst-audit6): Likewise.
28721 ($(objpfx)tst-audit6.out): Likewise.
28722 ($(objpfx)tst-audit7): Likewise.
28723 ($(objpfx)tst-audit7.out): Likewise.
28724 (tst-audit3-ENV): Remove variable.
28725 (tst-audit4-ENV): Likewise.
28726 (tst-audit5-ENV): Likewise.
28727 (tst-audit6-ENV): Likewise.
28728 (tst-audit7-ENV): Likewise.
28729 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28730 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28731 addition to variable.
28732 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28733 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28734 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28735 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28737 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28738 tst-audit3, tst-audit4 and tst-audit5.
28739 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28740 tst-audit6 and tst-audit7.
28741 [$(subdir) = elf] (modules-names): Add audit modules for those
28742 tests.
28743 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28744 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28745 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28746 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28747 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28748 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28749 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28750 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28751 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28752 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28753 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28754 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28755 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28756 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28757 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28758 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28759 Likewise.
28760 [$(subdir) = elf && $(config-cflags-avx) = yes]
28761 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28762 [$(subdir) = elf && $(config-cflags-avx) = yes]
28763 (CFLAGS-tst-auditmod4a.c): Likewise.
28764 [$(subdir) = elf && $(config-cflags-avx) = yes]
28765 (CFLAGS-tst-auditmod4b.c): Likewise.
28766 [$(subdir) = elf && $(config-cflags-avx) = yes]
28767 (CFLAGS-tst-auditmod6b.c): Likewise.
28768 [$(subdir) = elf && $(config-cflags-avx) = yes]
28769 (CFLAGS-tst-auditmod6c.c): Likewise.
28770 [$(subdir) = elf && $(config-cflags-avx) = yes]
28771 (CFLAGS-tst-auditmod7b.c): Likewise.
28772 * elf/tst-audit3.c: Move to ...
28773 * sysdeps/x86_64/tst-audit3.c: ... here.
28774 * elf/tst-audit4.c: Move to ...
28775 * sysdeps/x86_64/tst-audit4.c: ... here.
28776 * elf/tst-audit5.c: Move to ...
28777 * sysdeps/x86_64/tst-audit5.c: ... here.
28778 * elf/tst-audit6.c: Move to ...
28779 * sysdeps/x86_64/tst-audit6.c: ... here.
28780 * elf/tst-audit7.c: Move to ...
28781 * sysdeps/x86_64/tst-audit7.c: ... here.
28782 * elf/tst-auditmod3a.c: Move to ...
28783 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28784 * elf/tst-auditmod3b.c: Move to ...
28785 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28786 * elf/tst-auditmod4a.c: Move to ...
28787 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28788 * elf/tst-auditmod4b.c: Move to ...
28789 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28790 * elf/tst-auditmod5a.c: Move to ...
28791 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28792 * elf/tst-auditmod5b.c: Move to ...
28793 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28794 * elf/tst-auditmod6a.c: Move to ...
28795 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28796 * elf/tst-auditmod6b.c: Move to ...
28797 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28798 * elf/tst-auditmod6c.c: Move to ...
28799 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28800 * elf/tst-auditmod7a.c: Move to ...
28801 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28802 * elf/tst-auditmod7b.c: Move to ...
28803 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28804
28805 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28806
28807 [BZ #15366]
28808 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28809 define unconditionally.
28810 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28811 define unconditionally.
28812 (INT8_C, INT16_C, etc.): Likewise.
28813
28814 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28815
28816 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28817 __ehdr_start with hidden visibility.
28818
28819 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28820
28821 2013-04-24 Carlos O'Donell <carlos@redhat.com>
28822
28823 * math/libm-test.inc (cos_test): Use accurate hex constants.
28824 (sincost_test): Likewise.
28825
28826 2013-04-24 Joseph Myers <joseph@codesourcery.com>
28827
28828 * math/libm-test.inc (catan_test): Add more tests.
28829 (catanh_test): Likewise.
28830
28831 * math/s_catanf.c (__catanf): Use suffixed floating-point
28832 constants.
28833 * math/s_catanhf.c (__catanhf): Likewise.
28834 * math/s_catanhl.c (__catanhl): Likewise.
28835 * math/s_catanl.c (__catanl): Likewise.
28836
28837 [BZ #15394]
28838 * math/s_catan.c (__catan): Calculate imaginary part of result
28839 with log1p not log unless computing log of number close to 0.
28840 * math/s_catanf.c (__catanf): Likewise.
28841 * math/s_catanl.c (__catanl): Likewise.
28842 * math/s_catanh.c (__catanh): Calculate real part of result with
28843 log1p not log unless computing log of number close to 0.
28844 * math/s_catanhf.c (__catanhf): Likewise.
28845 * math/s_catanhl.c (__catanhl): Likewise.
28846 * math/libm-test.inc (catan_test): Add more tests.
28847 (catanh_test): Likewise.
28848 * sysdeps/i386/fpu/libm-test-ulps: Update.
28849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28850
28851 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28852
28853 * benchtests/Makefile: Mention files in which fast and slow
28854 paths of math functions are implemented.
28855
28856 2013-04-23 Roland McGrath <roland@hack.frob.com>
28857
28858 * sysdeps/posix/timespec_get.c: New file.
28859
28860 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28861
28862 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28863 POWER.
28864 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28865 for POWER.
28866 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28867 powerpc/power5/fpu folders.
28868 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28869 * benchtests/Makefile: Add modf testcase.
28870 * benchtests/bench-modf.c: New file: Benchmark test for mo
28871
28872 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28873
28874 [BZ #14888]
28875 * time/Makefile (tests): Add tst-strptime-whitespace.
28876 * time/strptime_l.c (get_number): Use ISSPACE.
28877 (__strptime_internal): Likewise.
28878 * time/tst-strptime-whitespace.c: New test case.
28879
28880 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28881
28882 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28883 member.
28884 (_nss_files_init): Set it here.
28885
28886 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28887
28888 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28889 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28890 unsigned.
28891
28892 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28893
28894 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28895
28896 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28897
28898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28899 size just once.
28900
28901 2013-04-21 David S. Miller <davem@davemloft.net>
28902
28903 * po/ru.po: Update Russion translation from translation project.
28904
28905 2013-04-17 Adam Conrad <adconrad@0c3.net>
28906
28907 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28908 and setfsgid.
28909
28910 2013-04-17 Carlos O'Donell <carlos@redhat.com>
28911
28912 * configure.in: Remove i386 configure warning. Remove i386 case.
28913 * configure: Regenerate.
28914 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28915 Add example to error message.
28916 * sysdeps/i386/configure: Regenerate.
28917
28918 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28919
28920 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28921 slowtan.
28922 * benchtests/cos-inputs: New file.
28923 * benchtests/slowcos-inputs: New file.
28924 * benchtests/slowcos.c: New file.
28925 * benchtests/slowtan-inputs: New file.
28926 * benchtests/slowtan.c: New file.
28927 * benchtests/tan-inputs: New file.
28928
28929 2013-04-16 Roland McGrath <roland@hack.frob.com>
28930
28931 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28932 considered kosher.
28933
28934 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28935
28936 * benchtests/Makefile: Include cppflags-iterator.mk to add
28937 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28938
28939 * Makefile.in (bench-clean): New target.
28940 * benchtests/Makefile (bench-clean): Likewise.
28941
28942 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28943
28944 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28945
28946 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28947
28948 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28949
28950 2013-04-15 Andreas Schwab <schwab@suse.de>
28951
28952 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28954 * nscd/pwdcache.c (cache_addpw): Likewise.
28955 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28956 more than recsize.
28957
28958 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28959
28960 * benchtests/Makefile (bench): Write all output to
28961 bench-out.tmp together.
28962
28963 2013-04-15 Andreas Schwab <schwab@suse.de>
28964
28965 * nscd/nscd.c (main): Don't fork again after closing files.
28966
28967 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28968
28969 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28970
28971 * benchtests/Rules (bench-deps): Collect dependencies into a
28972 single variable. Add Makefile to dependencies.
28973 ($(objpfx)bench-%.c): Depend on bench-deps.
28974
28975 2013-04-12 Roland McGrath <roland@hack.frob.com>
28976 Xavier Roche <roche+kml2@exalead.com>
28977
28978 [BZ #15361]
28979 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28980 just that it's a file descriptor.
28981 * manual/llio.texi (Synchronizing AIO Operations): Update description
28982 for EBADF error from aio_fsync.
28983
28984 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28985
28986 * Rules (bench): Move target definition...
28987 * benchtests/Makefile: ... here.
28988
28989 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28990
28991 * math/libm-test.inc (cos_test): Fix PI/2 test.
28992 (sincos_test): Likewise.
28993 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28994 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28995
28996 2013-04-11 Andreas Schwab <schwab@suse.de>
28997
28998 [BZ #13988]
28999 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29000 accept exponent character only when digits were seen.
29001 * stdio-common/Makefile (tests): Add bug26.
29002 * stdio-common/bug26.c: New file.
29003
29004 [BZ #14293]
29005 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29006 non-freeable.
29007
29008 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29009
29010 * Makeconfig (rtld-prefix): Define built linker prefix.
29011 * Rules (run-bench): Use it.
29012 * math/Makefile (run-regen-ulps): Likewise.
29013
29014 * Rules (bench): Remove eval.
29015
29016 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29017 Roland McGrath <roland@hack.frob.com>
29018 Ondrej Bilka <neleai@seznam.cz>
29019
29020 [BZ #15346]
29021 * time/getdate.c: Include ctype.h and alloca.h.
29022 (__getdate_r): Trim leading and trailing spaces of input.
29023 * time/tst-getdate.c (tests): Add tests with leading and
29024 trailing spaces.
29025
29026 2013-04-08 Roland McGrath <roland@hack.frob.com>
29027
29028 [BZ #14280]
29029 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29030 when computing value.
29031
29032 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29033
29034 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29035 Use testrun.sh to run libm tests.
29036
29037 [BZ #15309]
29038 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29039
29040 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29041
29042 [BZ #15264]
29043 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29044
29045 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29046
29047 * Makefile.in (regen-ulps): New target.
29048 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29049 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29050 [ifneq (no,$(PERL)] (regen-ulps): New target.
29051 [ifeq (no,$(PERL)] (regen-ulps): New target.
29052 * math/libm-test.inc (ulps_file_name): Define.
29053 (output_dir): New variable.
29054 (options): Add "output-dir" option.
29055 (parse_opt): Handle 'o' case.
29056 (main): If output_dir is non-NULL use it as a prefix
29057 otherwise use "".
29058 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29059
29060 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29061
29062 [BZ #10060, #10062]
29063 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29064 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29065 fail configure if __sync_val_compare_and_swap is not inlined.
29066 * sysdeps/i386/configure: Regenerate.
29067 * configure.in: Build for i686 when configured for i386.
29068 * configure: Regenerate.
29069 * README: Remove i386 reference.
29070
29071 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29072
29073 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29074 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29075
29076 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29077
29078 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29079 (lmsnanval): New variables.
29080 (F): Add conversion tests.
29081 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29082 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29083
29084 * stdio-common/tstdiomisc.c (F): Properly collect individual
29085 tests' results.
29086
29087 [BZ #14686, #15336]
29088 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29089 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29090 Instead, use input NaN values or generate a qNaN by arithmetic
29091 operation. Also fix bugs to comply with the standard.
29092 * math/libm-test.inc (remainder_test): Add more tests.
29093
29094 [BZ #15335, #15342]
29095 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29097 input NaN values or generate a qNaN by arithmetic operation.
29098
29099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29100 unreachable code.
29101
29102 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29103 definitions.
29104
29105 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29106
29107 [BZ #14478]
29108 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29109 underflowed result.
29110 * math/s_cexpf.c (__cexpf): Likewise.
29111 * math/s_cexpl.c (__cexpl): Likewise.
29112 * math/libm-test.inc (cexp_test): Add more tests.
29113
29114 2013-04-03 Andreas Schwab <schwab@suse.de>
29115
29116 [BZ #15330]
29117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29118 order arrays from heap if bigger than alloca cutoff.
29119
29120 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29121
29122 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29123 (SNAN_TESTS_double): Refer to GCC PR56831.
29124 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29125 GCC PR56828.
29126
29127 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29128
29129 * Rules (bench): Move bench.out after the run is complete.
29130
29131 * Rules (bench): Echo currently running benchmark.
29132
29133 * benchtests/Makefile (bench): Add atan and slowatan.
29134 * benchtests/atan-inputs: New file.
29135 * benchtests/slowatan-inputs: New file.
29136 * benchtests/slowatan.c: New file.
29137
29138 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29140 its value.
29141
29142 [BZ #15305]
29143 * sysdeps/unix/sysv/linux/kernel-features.h
29144 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29145 __ASSUME_XFS_RESTRICTED_CHOWN.
29146 * sysdeps/unix/sysv/linux/pathconf.c
29147 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29148 Save and restore errno.
29149
29150 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29151
29152 [BZ #15327]
29153 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29154 arguments using __kernel_casinh.
29155 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29156 arguments using __kernel_casinhf.
29157 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29158 arguments using __kernel_casinhl.
29159 * math/libm-test.inc (cacosh_test): Add more tests.
29160 * sysdeps/i386/fpu/libm-test-ulps: Update.
29161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29162
29163 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29164
29165 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29167
29168 * bench/Makefile (bench): Add sin and slowsin.
29169 * benchtests/sin-inputs: New file.
29170 * benchtests/slowsin-inputs: New file.
29171 * benchtests/slowsin.c: New file.
29172
29173 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29174 (bench): Add slowexp and slowpow.
29175 (exp-ITER): Increase iterations.
29176 (pow-ITER): Likewise.
29177 * benchtests/exp-inputs: Change input.
29178 * benchtests/pow-inputs: Likewise.
29179 * benchtests/slowexp-inputs: New file.
29180 * benchtests/slowexp.c: New file.
29181 * benchtests/slowpow-inputs: New file.
29182 * benchtests/slowpow.c: New file.
29183
29184 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29185
29186 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29187 instructions.
29188 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29189 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29190 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29191 * benchtests/Makefile: Add rint benchtest.
29192 * benchtests/rint-inputs: Input for rint benchtest.
29193
29194 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29195
29196 * Versions.def (libm): Add GLIBC_2.18.
29197 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29198 hidden libm prototypes.
29199 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29200 * math/Makefile (libm-calls): Add s_issignaling.
29201 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29202 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29203 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29204 declaration.
29205 * math/math.h [__USE_GNU] (issignaling): New macro.
29206 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29207 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29209 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29212 * manual/arith.texi (issignaling): New section.
29213 * manual/libm-err-tab.pl (@all_functions): Update comment.
29214 * math/gen-libm-test.pl (parse_args): Apply special handling for
29215 issignaling.
29216 * math/libm-test.inc (print_float, issignaling_test): New
29217 functions.
29218 (check_float_internal): Add issignaling checks.
29219 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29220 default definition.
29221 * sysdeps/powerpc/math-tests.h: New file.
29222 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29223 tests.
29224 * math/test-snan.c (TEST_FUNC): Likewise.
29225
29226 2013-03-30 David S. Miller <davem@davemloft.net>
29227
29228 * po/de.po: Update from translation team.
29229
29230 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29231
29232 [BZ #10357]
29233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29234 imaginary part less than 1.0 and real part less than 0.5
29235 specially.
29236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29239 (cacos_test): Add more tests.
29240 (casin_test): Likewise.
29241 (casinh_test): Likewise.
29242 * sysdeps/i386/fpu/libm-test-ulps: Update.
29243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29244
29245 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29246
29247 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29248 ONE with its value.
29249
29250 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29251 (__pow_mp): Replace ONE and MONE with their values.
29252 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29255 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29256 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29257 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29258
29259 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29260
29261 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29262 (__pow_mp): Replace ZERO and MZERO with their values.
29263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29265 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29267 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29268 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29269 (__sqr): Likewise.
29270
29271 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29272
29273 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29274
29275 2013-03-28 Roland McGrath <roland@hack.frob.com>
29276
29277 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29278 Declare with __attribute__ ((weak)).
29279 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29280 Call __call_tls_dtors only if it's not NULL.
29281
29282 2013-03-28 Roland McGrath <roland@hack.frob.com>
29283
29284 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29285 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29286 magic __ehdr_start linker symbol if it's defined.
29287 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29288 them up here if it was already done.
29289
29290 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29291 (_dl_aux_init): Use const in cast when setting it.
29292 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29293 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29294 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29295
29296 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29297 Declare them here.
29298 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29299 * csu/libc-tls.c: Nor here.
29300 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29301
29302 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29303 (__libc_message): Never call vsyslog.
29304
29305 2013-03-28 Alan Modra <amodra@gmail.com>
29306
29307 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29308 Define as empty.
29309 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29310 Likewise.
29311
29312 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29313
29314 [BZ #15214]
29315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29316 underflow.
29317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29318
29319 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29320
29321 [BZ #15304]
29322 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29323 Don't add gid passed as argument.
29324
29325 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29326
29327 2013-03-27 Joseph Myers <joseph@codesourcery.com>
29328
29329 [BZ #15307]
29330 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29331 imaginary part between 1.0 and 1.5 and real part less than 0.5
29332 specially.
29333 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29334 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29335 * math/libm-test.inc (cacos_test): Add more tests.
29336 (casin_test): Likewise.
29337 (casinh_test): Likewise.
29338 * sysdeps/i386/fpu/libm-test-ulps: Update.
29339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29340
29341 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29342
29343 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29344 constants.
29345 (norm): Likewise.
29346 (denorm): Likewise.
29347 (__dbl_mp): Likewise.
29348 (add_magnitudes): Likewise.
29349 (sub_magnitudes): Likewise.
29350 (__add): Likewise.
29351 (__sub): Likewise.
29352 (__mul): Likewise.
29353 (__sqr): Likewise.
29354 (__inv): Likewise.
29355 (__dvd): Likewise.
29356
29357 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29358 commented code.
29359 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29360 (__dubcos): Likewise.
29361 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29362 (__ieee754_acos): Likewise.
29363 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29365 (__exp1): Likewise.
29366 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29368 (log1): Likewise.
29369 (my_log2): Likewise.
29370 (checkint): Likewise.
29371 * sysdeps/ieee754/dbl-64/e_remainder.c
29372 (__ieee754_remainder): Likewise.
29373 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29375 (bsloww): Likewise.
29376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29377
29378 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29380 MANTISSA_STORE_T to store computations on mantissa. Use
29381 macros for rounding and division.
29382 (denorm): Likewise.
29383 (__dbl_mp): Likewise.
29384 (add_magnitudes): Likewise.
29385 (sub_magnitudes): Likewise.
29386 (__mul): Likewise.
29387 (__sqr): Likewise.
29388 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29389 powers of two in terms of TWOPOW macro.
29390 (mp_no): Make type of mantissa as MANTISSA_T.
29391 [!RADIXI]: Define RADIXI.
29392 [!TWO52]: Define TWO52.
29393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29394
29395 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29396
29397 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29398 llroundl symbol when building for PPC32.
29399
29400 2013-03-24 Mark H Weaver <mhw@netris.org>
29401
29402 * manual/arith.texi (Normalization Functions): Fix prototypes for
29403 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29404
29405 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29406
29407 [BZ #13889]
29408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29409 high value to check if expl overflow.
29410 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29411 to check for underflow and overflow.
29412 * math/libm-test.inc: Add exp test.
29413
29414 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29415
29416 [BZ #11120]
29417 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29418 with NOT_IN_libc.
29419
29420 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29421
29422 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29423 symbol.
29424
29425 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29426
29427 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29428 wrap blocks consisting of several statements.
29429
29430 * sysdeps/generic/math-tests.h: New file.
29431 * sysdeps/i386/fpu/math-tests.h: Likewise.
29432 * math/test-snan.c: Include it.
29433 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29434
29435 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29436
29437 [BZ #15285]
29438 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29439 (__ieee754_j0l): Do not improve calculations using cos of twice
29440 input for inputs above LDBL_MAX / 2.0L.
29441 (__ieee754_y0l): Likewise.
29442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29443 (__ieee754_j1l): Do not improve calculations using cos of twice
29444 input for inputs above LDBL_MAX / 2.0L.
29445 (__ieee754_y1l): Likewise.
29446 * math/libm-test.inc (j0_test): Add another test.
29447 (j1_test): Likewise.
29448 (y0_test): Likewise.
29449 (y1_test): Likewise.
29450 * sysdeps/i386/fpu/libm-test-ulps: Update.
29451
29452 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29453
29454 * Rules ($(objpfx)bench-%.c): Include code from a C source
29455 file.
29456
29457 2013-03-21 Joseph Myers <joseph@codesourcery.com>
29458
29459 [BZ #15287]
29460 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29461 imaginary part 1.0 and real part less than 0.5 specially.
29462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29464 * math/libm-test.inc (cacos_test): Add more tests.
29465 (casin_test): Likewise.
29466 (casinh_test): Likewise.
29467 * sysdeps/i386/fpu/libm-test-ulps: Update.
29468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29469
29470 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29473 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29474
29475 2013-03-20 Joseph Myers <joseph@codesourcery.com>
29476
29477 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29478 * config.make.in (config-cflags-sse4): Remove variable.
29479 (config-cflags-avx): Likewise.
29480 (config-cflags-sse2avx): Likewise.
29481 (config-cflags-novzeroupper): Likewise.
29482 (config-asflags-i686): Likewise.
29483 (have-mfma4): Likewise.
29484 (have-as-vis3): Likewise.
29485 (MIG): Likewise.
29486 * configure.in (MIG): Do not AC_SUBST.
29487 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29488 (libc_cv_cc_sse4): Do not AC_SUBST.
29489 (libc_cv_cc_avx): Likewise.
29490 (libc_cv_cc_sse2avx): Likewise.
29491 (libc_cv_cc_novzeroupper): Likewise.
29492 (libc_cv_cc_fma4): Likewise.
29493 (libc_cv_as_i686): Likewise.
29494 (libc_cv_sparc_as_vis3): Likewise.
29495 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29496 LIBC_CONFIG_VAR.
29497 (config-asflags-i686): Likewise.
29498 (config-cflags-avx): Likewise.
29499 (config-cflags-sse2avx): Likewise.
29500 (have-mfma4): Likewise.
29501 (config-cflags-novzeroupper): Likewise.
29502 * sysdeps/mach/configure.in (MIG): Likewise.
29503 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29504 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29505 LIBC_CONFIG_VAR.
29506 (config-cflags-avx): Likewise.
29507 (config-cflags-sse2avx): Likewise.
29508 (have-mfma4): Likewise.
29509 (config-cflags-novzeroupper): Likewise.
29510 * configure: Regenerated.
29511 * sysdeps/i386/configure: Likewise.
29512 * sysdeps/mach/configure: Likewise.
29513 * sysdeps/sparc/configure: Likewise.
29514 * sysdeps/x86_64/configure: Likewise.
29515
29516 2013-03-20 Roland McGrath <roland@hack.frob.com>
29517
29518 [BZ #14812]
29519 * locale/programs/localedef.c (options): Put N_ translation marker
29520 on argument names, not just descriptions.
29521
29522 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29523
29524 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29525
29526 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
29527
29528 [BZ #14176]
29529 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29530
29531 2013-03-19 Roland McGrath <roland@hack.frob.com>
29532
29533 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29534 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29535 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29536 [!BEFORE_ABORT] (before_abort): New function.
29537 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29538 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29539 (writev_for_fatal): New function.
29540 (WRITEV_FOR_FATAL): New macro; call that.
29541 (backtrace_and_maps): New function.
29542 (BEFORE_ABORT): New macro; call that.
29543 (struct str_list): Type removed.
29544 (__libc_message, __libc_fatal): Functions removed.
29545 Include <sysdeps/posix/libc_fatal.c> instead.
29546
29547 2013-03-19 Joseph Myers <joseph@codesourcery.com>
29548
29549 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29550 constants.
29551 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29552 double constants.
29553
29554 2013-03-19 Andreas Schwab <schwab@suse.de>
29555
29556 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29557 * sysdeps/gnu/configure: Regenerate.
29558
29559 * configure.in: Substitute libc_cv_rtlddir.
29560 * configure: Regenerate.
29561 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29562 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29563 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29564 * elf/Makefile (install-others, CFLAGS-interp.c)
29565 (ldso_install, common-ldd-rewrite): Likewise.
29566 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29567 $(inst_slibdir)/$(rtld-installed-name).
29568 * scripts/rellns-sh: Add -p option.
29569 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29570 for source.
29571
29572 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29573
29574 * manual/nptl.texi: Renamed to ...
29575 * manual/threads.texi: ... this.
29576 * manual/Makefile (chapters): Update.
29577
29578 2013-03-18 Roland McGrath <roland@hack.frob.com>
29579
29580 [BZ #14812]
29581 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29582 on argument names, not just descriptions.
29583 * malloc/memusagestat.c (options): Likewise.
29584 * nss/getent.c (options): Likewise.
29585
29586 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
29587
29588 [BZ #14812]
29589 * iconv/iconv_prog.c (options): Put N_ translation marker
29590 on argument names, not just descriptions.
29591 * iconv/iconvconfig.c (options): Likewise.
29592
29593 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
29594
29595 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29596 implementation which is faster on all x86_64 architectures.
29597 Tested on AMD, Intel Nehalem, SNB, IVB.
29598 * sysdeps/x86_64/strnlen.S: Likewise.
29599
29600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29601 Remove all multiarch strlen and strnlen versions.
29602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29603 Remove strlen and strnlen related parts.
29604
29605 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29606 Inline strlen part.
29607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29608
29609 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29610 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29612 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29613 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29614 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29615
29616 2013-03-17 Carlos O'Donell <carlos@redhat.com>
29617
29618 * manual/memory.texi (Malloc Tunable Parameters):
29619 Sort parameters alphabetically. Add comments for missing entries.
29620
29621 2013-03-17 David S. Miller <davem@davemloft.net>
29622
29623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29624
29625 2013-03-16 Joseph Myers <joseph@codesourcery.com>
29626
29627 [BZ #15283]
29628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29629 for arguments at most half maximum finite value.
29630 * math/libm-test.inc (j0_test): Add more tests.
29631 (j1_test): Likewise.
29632 (y0_test): Likewise.
29633 (y1_test): Likewise.
29634 * sysdeps/i386/fpu/libm-test-ulps: Update.
29635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29636
29637 [BZ #14155]
29638 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29639 1 / x and functions P and Q for arguments above 0x1p256L.
29640 (__ieee754_y0l): Likewise.
29641 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29642 (__ieee754_y1l): Likewise.
29643 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29644 (j1_test): Likewise.
29645 (y0_test): Likewise.
29646 (y1_test): Likewise.
29647
29648 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29649
29650 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29651 variable.
29652
29653 2013-03-15 Roland McGrath <roland@hack.frob.com>
29654
29655 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29656 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29657 zero since it's initialized to EXEC_PAGESIZE.
29658
29659 * sysdeps/unix/sysv/linux/ldsodefs.h
29660 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29661 * sysdeps/generic/ldsodefs.h: ... here.
29662
29663 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29664
29665 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29666
29667 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29668 math/test-snan.c.
29669 * math/test-snan.c: Renamed from
29670 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29671 * math/Makefile (tests): Add test-snan.
29672 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29673 test-powerpc-snan.
29674
29675 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29676 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29677 functions.
29678 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29679 __builtin_nan family of functions.
29680 * math/libm-test.inc (initialize): Initialize qnan_value with
29681 __builtin_nan family of functions.
29682 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29683 Remove variables.
29684 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29685 Remove functions.
29686 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29687 storage class. Initialize qNaN_var and sNaN_var with
29688 __builtin_nan and __builtin_nans families of functions,
29689 respectively.
29690
29691 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29692 (sqrt_test): Remove duplicate test with qNaN input.
29693 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29694 (round_test, signbit_test, significand_test): Note missing +/-Inf
29695 as well as qNaN tests.
29696
29697 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29698 qNaN_var. Fix a few strings, too.
29699 * math/libm-test.inc (nan_value): Rename to qnan_value.
29700 * math/gen-libm-test.pl (%beautify): Adjust to that.
29701 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29702 * math/test-misc.c (main): Likewise.
29703 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29704 to __qnan_bytes, and __qnan_union, respectively.
29705 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29706 Likewise.
29707 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29708 and lqnanval, respectively.
29709 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29710 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29711 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29712 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29713
29714 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29715 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29716 doubles.
29717
29718 * math/test-misc.c (main): Fix copy'n'pastos.
29719 * misc/tst-efgcvt.c (special): Likewise.
29720
29721 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29722 Remove declarations.
29723
29724 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29725
29726 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29727 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29728 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29729 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29730
29731 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29732
29733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29734 macro to return vdso values correctly in IFUNC implementations.
29735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29736 Optimization by using IFUNC.
29737
29738 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29739 Richard Henderson <rth@redhat.com>
29740 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29741
29742 * Makefile.in (bench): New target.
29743 * NEWS: Mention the benchmark framework.
29744 * Rules (bench): Likewise.
29745 (binaries-bench): Generate binaries for functions to
29746 benchmark.
29747 * benchtests/Makefile: New makefile for benchmark tests.
29748 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29749 programs.
29750 * benchtests/exp-inputs: New input file for EXP function.
29751 * benchtests/pow-inputs: New input file for POW function.
29752 * scripts/bench.pl: New script to generate source files for
29753 benchmark programs.
29754
29755 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29756
29757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29759 computations on mantissa. Use macros for rounding and
29760 division.
29761 (denorm): Likewise.
29762 (__dbl_mp): Likewise.
29763 (add_magnitudes): Likewise.
29764 (sub_magnitudes): Likewise.
29765 (__mul): Likewise.
29766 (__sqr): Likewise.
29767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29768 powers of two in terms of TWOPOW macro.
29769 (mp_no): Make type of mantissa as MANTISSA_T.
29770 [!RADIXI]: Define RADIXI.
29771 [!TWO52]: Define TWO52.
29772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29773
29774 * manual/nptl.texi (cindex): Modify threads to pthreads.
29775
29776 2013-03-15 Joseph Myers <joseph@codesourcery.com>
29777
29778 * sysdeps/x86_64/preconfigure: Regenerated.
29779
29780 2013-03-14 Joseph Myers <joseph@codesourcery.com>
29781
29782 [BZ #14155]
29783 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29784 0x1p28 and above.
29785 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29786 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29787 0x1p28 and above.
29788 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29789 * math/libm-test.inc (j0_test): Do not allow one spurious
29790 underflow exception.
29791 (y1_test): Likewise.
29792
29793 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29794
29795 * manual/Makefile (chapters): Add nptl.
29796 * manual/debug.texi (Debugging Support): Add link to Threads
29797 chapter.
29798 * manual/nptl.texi: New file.
29799
29800 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29801
29802 2013-03-14 Petr Baudis <pasky@ucw.cz>
29803
29804 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29805 for non-NULL pointer before the memory validity test. Pointed
29806 out by Holger Brunck <holger.brunck@keymile.com>.
29807
29808 2013-03-13 Andreas Schwab <schwab@suse.de>
29809
29810 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29811 instead of .os.
29812
29813 2013-03-13 Joseph Myers <joseph@codesourcery.com>
29814
29815 * timezone/zic.c: Update from tzcode 2013b.
29816
29817 2013-03-12 Carlos O'Donell <carlos@redhat.com>
29818
29819 * manual/install.texi (Configuring and compiling):
29820 Mention i686 and i586.
29821 * INSTALL: Regenerate.
29822
29823 2013-03-12 Roland McGrath <roland@hack.frob.com>
29824
29825 * sysdeps/init_array/elf-init.c: New file.
29826 * csu/elf-init.c
29827 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29828 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29829
29830 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29831 __gmon_start__ as global, but as static with a .preinit_array pointer.
29832 * sysdeps/init_array/gmon-start.c: New file. Use that.
29833 * sysdeps/init_array/crti.S: New file, empty except for comments.
29834 * sysdeps/init_array/crtn.S: Likewise.
29835
29836 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
29837
29838 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29839 definining bcopy.
29840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29841 Remove Prefer_SSE_for_memop.
29842 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29843 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29844 HAS_PREFER_SSE_FOR_MEMOP.
29845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29846 memset-x86-64.
29847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29848 Remove bzero, memset ifunc support.
29849 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29850 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29851 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29853
29854 2013-03-11 Andreas Schwab <schwab@suse.de>
29855
29856 [BZ #15234]
29857 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29858 by SHLIB_COMPAT.
29859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29860 (GLIBC_2.16): Remove pthread_atfork.
29861
29862 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29863
29864 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29865 (ptestcases.h): Likewise.
29866
29867 2013-03-08 Roland McGrath <roland@hack.frob.com>
29868
29869 * Makeconfig ($(common-objpfx)config.status): Depend on
29870 sysdeps/*/preconfigure{,.in} too.
29871
29872 2013-03-08 Joseph Myers <joseph@codesourcery.com>
29873
29874 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29875 (__free_hook): Use void * instead of __malloc_ptr_t.
29876 (__malloc_hook): Likewise.
29877 (__realloc_hook): Likewise.
29878 (__memalign_hook): Likewise.
29879 (__after_morecore_hook): Likewise.
29880 * malloc/arena.c (save_malloc_hook): Likewise.
29881 (save_free_hook): Likewise.
29882 * malloc/hooks.c (malloc_hook_ini): Likewise.
29883 (realloc_hook_ini): Likewise.
29884 (memalign_hook_ini): Likewise.
29885 * malloc/malloc.c (malloc_hook_ini): Likewise.
29886 (realloc_hook_ini): Likewise.
29887 (memalign_hook_ini): Likewise.
29888 (__free_hook): Likewise.
29889 (__malloc_hook): Likewise.
29890 (__realloc_hook): Likewise.
29891 (__memalign_hook): Likewise.
29892 (__libc_malloc): Likewise.
29893 (__libc_free): Likewise.
29894 (__libc_realloc): Likewise.
29895 (__libc_memalign): Likewise.
29896 (__libc_valloc): Likewise.
29897 (__libc_pvalloc): Likewise.
29898 (__libc_calloc): Likewise.
29899 (__posix_memalign): Likewise.
29900 * malloc/morecore.c (__sbrk): Likewise.
29901 (__default_morecore): Likewise.
29902
29903 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29904
29905 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29906 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29907 __malloc_ptrdiff_t.
29908
29909 * malloc/malloc.h (__malloc_size_t): Remove macro.
29910 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29911 __malloc_size_t.
29912 (old_memalign_hook): Likewise.
29913 (old_realloc_hook): Likewise.
29914 (struct hdr): Likewise.
29915 (flood): Likewise.
29916 (mallochook): Likewise.
29917 (memalignhook): Likewise.
29918 (reallochook): Likewise.
29919 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29920 (tr_old_realloc_hook): Likewise.
29921 (tr_old_memalign_hook): Likewise.
29922 (tr_mallochook): Likewise.
29923 (tr_reallochook): Likewise.
29924 (tr_memalignhook): Likewise.
29925
29926 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29927
29928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29929 default_ldbl_pack and using as default implementation.
29930 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29931 implementation.
29932 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29933 redundant definition.
29934 (ldbl_insert_mantissa): Likewise.
29935 (ldbl_canonicalize): Likewise.
29936 (ldbl_nearbyint): Likewise.
29937 (ldbl_pack): Rename to ldbl_pack_ppc.
29938 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29939 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29940 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29941
29942 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29943
29944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29945 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29947 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29949 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29950 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29951 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29952
29953 2013-03-07 Andreas Jaeger <aj@suse.de>
29954
29955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29956 bits/mman-linux.h.
29957
29958 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29959
29960 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29961 Include mpa.h and declare __MPEXP.
29962 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29963 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29964 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29965 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29967 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29968 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29969
29970 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29971 (__slowpow): Use long double EXPL and LOGL functions to
29972 compute POW.
29973 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29974 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29975 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29977 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29979
29980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29981 intermediate variable to calculate exponent.
29982 (__sqr): Likewise.
29983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29984 Likewise.
29985 (__sqr): Likewise.
29986
29987 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29988 [!NO__SQR]: Define __sqr.
29989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29990 and NO__SQR. Remove all code except __mul and __sqr. Include
29991 sysdeps/ieee754/dbl-64/mpa.c.
29992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29993
29994 [BZ #12723]
29995 * posix/Makefile (tests): Add tst-pathconf.
29996 * posix/tst-pathconf.c: New test case.
29997 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29998 _PC_PIPE_BUF.
29999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30000
30001 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30002
30003 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30004
30005 2013-03-06 Andreas Jaeger <aj@suse.de>
30006
30007 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30008 definition via __MAP_ANONYMOUS.
30009
30010 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30011 it's not part of Linux headers.
30012
30013 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30014 (MAP_HUGE_MASK): Define.
30015
30016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30017 Define.
30018 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30020 Define.
30021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30022 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30023 Define.
30024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30026 Define.
30027 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30028
30029 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30030 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30031 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30032 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30033 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30034 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30035
30036 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30037 Handle f2fs.
30038
30039 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30040 Handle f2fs and efivarfs.
30041
30042 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30043 f2fs.
30044
30045 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30046 (EFIVARFS_MAGIC): Add.
30047 (F2FS_LINK_MAX): Add.
30048
30049 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30050
30051 * stdio-common/vfprintf.c: Replace __builtin_expect with
30052 __glibc_unlikely.
30053
30054 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30055
30056 [BZ #13550]
30057 * sysdeps/generic/bp-sym.h: Remove file.
30058 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30059 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30060 <bp-sym.h> and <bp-asm.h>.
30061 (__longjmp): Don't use BP_SYM.
30062 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30063 and <bp-asm.h>.
30064 (memcpy): Don't use BP_SYM.
30065 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30066 <bp-sym.h> and <bp-asm.h>.
30067 (memcpy): Don't use BP_SYM.
30068 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30069 <bp-asm.h>.
30070 (memcpy): Don't use BP_SYM.
30071 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30072 <bp-asm.h>.
30073 (memset): Don't use BP_SYM.
30074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30076 (__bzero): Don't use BP_SYM.
30077 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30078 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30080 <bp-sym.h> and <bp-asm.h>.
30081 (memcmp): Don't use BP_SYM. Remove comment about bounded
30082 pointers.
30083 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30084 <bp-sym.h> and <bp-asm.h>.
30085 (memcpy): Don't use BP_SYM.
30086 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30087 <bp-sym.h> and <bp-asm.h>.
30088 (memset): Don't use BP_SYM.
30089 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30090 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30091 (__bzero): Don't use BP_SYM.
30092 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30093 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30094 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30095 <bp-sym.h> and <bp-asm.h>.
30096 (strncmp): Don't use BP_SYM. Remove comment about bounded
30097 pointers.
30098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30099 <bp-sym.h> and <bp-asm.h>.
30100 (memcpy): Don't use BP_SYM.
30101 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30102 <bp-sym.h> and <bp-asm.h>.
30103 (memset): Don't use BP_SYM.
30104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30106 (__bzero): Don't use BP_SYM.
30107 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30108 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30109 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30110 <bp-sym.h> and <bp-asm.h>.
30111 (__memchr): Don't use BP_SYM.
30112 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30113 <bp-sym.h> and <bp-asm.h>.
30114 (memcmp): Don't use BP_SYM. Remove comment about bounded
30115 pointers.
30116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30117 <bp-sym.h> and <bp-asm.h>.
30118 (memcpy): Don't use BP_SYM.
30119 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30120 <bp-sym.h> and <bp-asm.h>.
30121 (__mempcpy): Don't use BP_SYM.
30122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30123 <bp-sym.h> and <bp-asm.h>.
30124 (__memrchr): Don't use BP_SYM.
30125 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30126 <bp-sym.h> and <bp-asm.h>.
30127 (memset): Don't use BP_SYM.
30128 (__bzero): Likewise.
30129 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30130 <bp-sym.h> and <bp-asm.h>.
30131 (__rawmemchr): Don't use BP_SYM.
30132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30133 <bp-sym.h> and <bp-asm.h>.
30134 (__STRCMP): Don't use BP_SYM.
30135 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30136 <bp-sym.h> and <bp-asm.h>.
30137 (strchr): Don't use BP_SYM.
30138 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30139 <bp-sym.h> and <bp-asm.h>.
30140 (__strchrnul): Don't use BP_SYM.
30141 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30142 <bp-sym.h> and <bp-asm.h>.
30143 (strlen): Don't use BP_SYM.
30144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30145 <bp-sym.h> and <bp-asm.h>.
30146 (strncmp): Don't use BP_SYM. Remove comment about bounded
30147 pointers.
30148 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30149 <bp-sym.h> and <bp-asm.h>.
30150 (__strnlen): Don't use BP_SYM.
30151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30152 <bp-sym.h> and <bp-asm.h>.
30153 (__GI__setjmp): Don't use BP_SYM.
30154 (_setjmp): Likewise.
30155 (__sigsetjmp): Likewise.
30156 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30157 (L(start_addresses)): Don't use BP_SYM.
30158 (_start): Likewise.
30159 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30160 <bp-asm.h>.
30161 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30162 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30163 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30164 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30165 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30166 <bp-asm.h>.
30167 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30168 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30169 about bounded pointers.
30170 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30171 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30172 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30173 <bp-asm.h>.
30174 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30175 about bounded pointers. Remove GKM FIXME comments.
30176 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30177 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30178 <bp-asm.h>.
30179 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30180 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30181 Remove GKM FIXME comments.
30182 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30183 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30184 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30185 <bp-asm.h>.
30186 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30187 about bounded pointers. Remove GKM FIXME comment.
30188 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30189 and <bp-asm.h>.
30190 (strncmp): Don't use BP_SYM. Remove comment about bounded
30191 pointers.
30192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30193 <bp-sym.h> and <bp-asm.h>.
30194 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30196 <bp-sym.h> and <bp-asm.h>.
30197 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30198 comment.
30199
30200 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30201
30202 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30203 call free(NULL).
30204
30205 2013-03-05 David S. Miller <davem@davemloft.net>
30206
30207 * po/es.po: Update from translation team.
30208
30209 2013-03-05 Andreas Jaeger <aj@suse.de>
30210
30211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30212 <bits/mman-linux.h>.
30213 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30214 is fine.
30215 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30216 <bits/mman-linux.h> to end of file.
30217 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30218 is fine.
30219 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30220 <bits/mman-linux.h> to end of file.
30221 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30222 is fine.
30223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30224 <bits/mman-linux.h> to end of file.
30225
30226 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30227 (MCL_CURRENT, MCL_FUTURE): Define here.
30228
30229 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30230
30231 [BZ #15232]
30232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30233 attribute_hidden.
30234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30235
30236 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30237
30238 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30239 fourth parameter needed for rt_sigprocmask syscall.
30240 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30241 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30242 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30243 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30244 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30245 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30246
30247 2013-03-04 Joseph Myers <joseph@codesourcery.com>
30248
30249 [BZ #13550]
30250 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30251 comment about bounded pointers.
30252 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30253 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30254
30255 2013-03-04 Andreas Jaeger <aj@suse.de>
30256
30257 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30258 common definitions.
30259
30260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30261 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30266
30267 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30268
30269 [BZ #15055]
30270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30271 __ieee754_sqrl instead of __sqrl.
30272
30273 2013-03-01 Joseph Myers <joseph@codesourcery.com>
30274
30275 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30276 * sysdeps/powerpc/fpu_control.h: ... here.
30277 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30278 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30279 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30280 * sysdeps/powerpc/bits/mathinline.h: ... here.
30281
30282 2013-03-01 Roland McGrath <roland@hack.frob.com>
30283
30284 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30285 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30286 to just [NEED_DL_SYSINFO_DSO].
30287 * elf/dl-support.c: Likewise.
30288 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30289 * elf/rtld.c (dl_main): Likewise.
30290 * elf/setup-vdso.h (setup_vdso): Likewise.
30291 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30292 * sysdeps/unix/sysv/linux/dl-sysdep.c
30293 (_dl_discover_osversion): Likewise.
30294
30295 2013-03-01 Carlos O'Donell <carlos@redhat.com>
30296
30297 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30298 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30299
30300 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30301
30302 * NEWS: Mention libm performance improvements and non-x86 PI
30303 futex support.
30304
30305 * csu/libc-start.c (__pthread_initialize_minimal): Change
30306 function arguments.
30307 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30308
30309 2013-02-28 Joseph Myers <joseph@codesourcery.com>
30310
30311 [BZ #13550]
30312 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30313 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30314 <bp-sym.h> and <bp-asm.h>.
30315 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30316 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30317 and <bp-asm.h>.
30318 (memcpy): Don't use BP_SYM.
30319 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30320 <bp-asm.h>.
30321 (__mpn_add_n): Don't use BP_SYM.
30322 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30323 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30324 and <bp-asm.h>.
30325 (__mpn_addmul_1): Don't use BP_SYM.
30326 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30327 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30328 <bp-sym.h>.
30329 (_setjmp): Don't use BP_SYM.
30330 (__novmx_setjmp): Likewise.
30331 (__GI__setjmp): Likewise.
30332 (__vmx_setjmp): Likewise.
30333 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30334 <bp-sym.h>.
30335 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30336 (__bzero): Don't use BP_SYM.
30337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30339 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30340 <bp-sym.h> and <bp-asm.h>.
30341 (memcpy): Don't use BP_SYM.
30342 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30343 <bp-sym.h> and <bp-asm.h>.
30344 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30345 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30346 <bp-sym.h> and <bp-asm.h>.
30347 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30348 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30349 <bp-asm.h>.
30350 (__mpn_lshift): Don't use BP_SYM.
30351 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30352 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30353 <bp-asm.h>.
30354 (memset): Don't use BP_SYM.
30355 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30356 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30357 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30358 <bp-asm.h>.
30359 (__mpn_mul_1): Don't use BP_SYM.
30360 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30362 <bp-sym.h> and <bp-asm.h>.
30363 (memcmp): Don't use BP_SYM.
30364 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30365 <bp-sym.h> and <bp-asm.h>.
30366 (memcpy): Don't use BP_SYM.
30367 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30368 <bp-sym.h> and <bp-asm.h>.
30369 (memset): Don't use BP_SYM.
30370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30371 <bp-sym.h> and <bp-asm.h>.
30372 (strncmp): Don't use BP_SYM.
30373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30374 <bp-sym.h> and <bp-asm.h>.
30375 (memcpy): Don't use BP_SYM.
30376 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30377 <bp-sym.h> and <bp-asm.h>.
30378 (memset): Don't use BP_SYM.
30379 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30380 <bp-sym.h> and <bp-asm.h>.
30381 (__memchr): Don't use BP_SYM.
30382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30383 <bp-sym.h> and <bp-asm.h>.
30384 (memcmp): Don't use BP_SYM.
30385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30386 <bp-sym.h> and <bp-asm.h>.
30387 (memcpy): Don't use BP_SYM.
30388 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30389 <bp-sym.h> and <bp-asm.h>.
30390 (__mempcpy): Don't use BP_SYM.
30391 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30392 <bp-sym.h> and <bp-asm.h>.
30393 (__memrchr): Don't use BP_SYM.
30394 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30395 <bp-sym.h> and <bp-asm.h>.
30396 (memset): Don't use BP_SYM.
30397 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30398 <bp-sym.h> and <bp-asm.h>.
30399 (__rawmemchr): Don't use BP_SYM.
30400 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30401 <bp-sym.h> and <bp-asm.h>.
30402 (__STRCMP): Don't use BP_SYM.
30403 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30404 <bp-sym.h> and <bp-asm.h>.
30405 (strchr): Don't use BP_SYM.
30406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30407 <bp-sym.h> and <bp-asm.h>.
30408 (__strchrnul): Don't use BP_SYM.
30409 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30410 <bp-sym.h> and <bp-asm.h>.
30411 (strlen): Don't use BP_SYM.
30412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30413 <bp-sym.h> and <bp-asm.h>.
30414 (strncmp): Don't use BP_SYM.
30415 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30416 <bp-sym.h> and <bp-asm.h>.
30417 (__strnlen): Don't use BP_SYM.
30418 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30419 <bp-asm.h>.
30420 (__mpn_rshift): Don't use BP_SYM.
30421 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30422 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30423 <bp-sym.h> and <bp-asm.h>.
30424 (__sigsetjmp): Don't use BP_SYM.
30425 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30426 (L(start_addresses)): Don't use BP_SYM.
30427 (_start): Likewise.
30428 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30429 <bp-asm.h>.
30430 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30431 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30432 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30433 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30434 <bp-asm.h>.
30435 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30436 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30437 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30438 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30439 <bp-asm.h>.
30440 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30441 comments.
30442 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30443 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30444 <bp-asm.h>.
30445 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30446 FIXME comments.
30447 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30448 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30449 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30450 <bp-asm.h>.
30451 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30452 comment.
30453 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30454 and <bp-asm.h>.
30455 (strncmp): Don't use BP_SYM,
30456 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30457 <bp-asm.h>.
30458 (__mpn_sub_n): Don't use BP_SYM.
30459 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30460 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30461 and <bp-asm.h>.
30462 (__mpn_submul_1): Don't use BP_SYM.
30463 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30465 <bp-sym.h> and <bp-asm.h>.
30466 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30468 <bp-sym.h> and <bp-asm.h>.
30469 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30470 comment.
30471
30472 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30473
30474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30475 Use ZK to minimize writes to Z.
30476 (sub_magnitudes): Simplify code a bit.
30477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30478 Use ZK to minimize writes to Z.
30479 (sub_magnitudes): Simplify code a bit.
30480
30481 2013-02-27 Roland McGrath <roland@hack.frob.com>
30482
30483 * csu/gmon-start.c: Add special exception to license text.
30484
30485 2013-02-27 Richard Henderson <rth@redhat.com>
30486
30487 * scripts/config.guess: Update from config.git.
30488 * scripts/config.sub: Likewise.
30489
30490 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30491
30492 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30493
30494 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30495
30496 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30497
30498 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30499
30500 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30501
30502 2013-02-26 Roland McGrath <roland@hack.frob.com>
30503
30504 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30505 [$(build-shared = yes].
30506
30507 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30508
30509 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30510 (__mul): Reduce iterations for calculating mantissa.
30511
30512 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30513 MPTWO.
30514 (__mpranred): Likewise.
30515
30516 [BZ #15160]
30517 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30518 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30519
30520 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30521
30522 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30523 Define __attribute__.
30524
30525 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30526
30527 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30528 unused.
30529 * posix/regex_internal.h (__attribute): Remove.
30530 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30531 (re_string_context_at): Likewise.
30532 (bitset_not): Use __attribute__ and mark function as possibly
30533 unused.
30534 (bitset_merge): Likewise.
30535 (bitset_mask): Likewise.
30536 (re_string_char_size_at): Likewise.
30537 (re_string_wchar_at): Likewise.
30538 (re_string_elem_size_at): Likewise.
30539
30540 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30541
30542 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30543 code.
30544 (cc32): Likewise.
30545
30546 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30547 (__acr): Likewise.
30548 (__cpy): Likewise.
30549 (norm): Likewise.
30550 (denorm): Likewise.
30551 (__dbl_mp): Likewise.
30552 (add_magnitudes): Likewise.
30553 (sub_magnitudes): Likewise.
30554 (__mul): Likewise.
30555 (__inv): Likewise.
30556
30557 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30558 style.
30559
30560 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30561 style.
30562
30563 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30564 code.
30565
30566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30567 up changes with default code.
30568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30569 Likewise.
30570
30571 2013-02-24 Allan McRae <allan@archlinux.org>
30572
30573 * manual/socket.texi (The Internet Namespace): Order menu items
30574 to match that in the file.
30575
30576 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30577 node listing of the info page menu.
30578
30579 2013-02-21 Joseph Myers <joseph@codesourcery.com>
30580
30581 [BZ #13550]
30582 * sysdeps/i386/bp-asm.h: Remove file.
30583 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30584 (PARMS): Do not use macros from bp-asm.h.
30585 (S1): Likewise.
30586 (S2): Likewise.
30587 (SIZE): Likewise.
30588 (__mpn_add_n): Do not use BP_SYM
30589 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30590 "bp-asm.h".
30591 (PARMS): Do not use macros from bp-asm.h.
30592 (S1): Likewise.
30593 (SIZE): Likewise.
30594 (__mpn_addmul_1): Do not use BP_SYM
30595 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30596 "bp-asm.h".
30597 (PARMS): Do not use macros from bp-asm.h.
30598 (SIGMSK): Likewise.
30599 (_setjmp): Likewise. Do not use BP_SYM.
30600 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30601 "bp-asm.h".
30602 (PARMS): Do not use macros from bp-asm.h.
30603 (SIGMSK): Likewise.
30604 (setjmp): Likewise. Do not use BP_SYM.
30605 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30606 "bp-asm.h".
30607 (PARMS): Do not use macros from bp-asm.h.
30608 (__frexp): Do not use BP_SYM.
30609 (frexp): Likewise.
30610 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30611 "bp-asm.h".
30612 (PARMS): Do not use macros from bp-asm.h.
30613 (__frexpf): Do not use BP_SYM.
30614 (frexpf): Likewise.
30615 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30616 "bp-asm.h".
30617 (PARMS): Do not use macros from bp-asm.h.
30618 (__frexpl): Do not use BP_SYM.
30619 (frexpl): Likewise.
30620 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30621 "bp-asm.h".
30622 (PARMS): Do not use macros from bp-asm.h.
30623 (__remquo): Do not use BP_SYM.
30624 (remquo): Likewise.
30625 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30626 "bp-asm.h".
30627 (PARMS): Do not use macros from bp-asm.h.
30628 (__remquof): Do not use BP_SYM.
30629 (remquof): Likewise.
30630 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30631 "bp-asm.h".
30632 (PARMS): Do not use macros from bp-asm.h.
30633 (__remquol): Do not use BP_SYM.
30634 (remquol): Likewise.
30635 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30636 "bp-asm.h".
30637 (PARMS): Do not use macros from bp-asm.h.
30638 (DEST): Likewise.
30639 (SRC): Likewise.
30640 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30641 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30642 "bp-asm.h".
30643 (PARMS): Do not use macros from bp-asm.h.
30644 (strlen): Do not use BP_SYM.
30645 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30646 "bp-asm.h".
30647 (PARMS): Do not use macros from bp-asm.h.
30648 (S1): Likewise.
30649 (S2): Likewise.
30650 (SIZE): Likewise.
30651 (__mpn_add_n): Do not use BP_SYM.
30652 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30653 "bp-asm.h".
30654 (PARMS): Do not use macros from bp-asm.h.
30655 (S1): Likewise.
30656 (SIZE): Likewise.
30657 (__mpn_addmul_1): Do not use BP_SYM.
30658 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30659 weak_alias.
30660 (bzero): Likewise.
30661 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30662 "bp-asm.h".
30663 (PARMS): Do not use macros from bp-asm.h.
30664 (S): Likewise.
30665 (SIZE): Likewise.
30666 (__mpn_lshift): Do not use BP_SYM.
30667 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30668 "bp-asm.h".
30669 (PARMS): Do not use macros from bp-asm.h.
30670 (DEST): Likewise.
30671 (SRC): Likewise.
30672 (LEN): Likewise.
30673 (memcpy): Likewise. Do not use BP_SYM.
30674 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30675 libc_hidden_def and weak_alias.
30676 (mempcpy): Do not use BP_SYM in weak_alias.
30677 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30678 "bp-asm.h".
30679 (PARMS): Do not use macros from bp-asm.h.
30680 (DEST): Likewise.
30681 (LEN): Likewise.
30682 [!BZERO_P] (CHR): Likewise.
30683 (memset): Likewise. Do not use BP_SYM.
30684 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30685 "bp-asm.h".
30686 (PARMS): Do not use macros from bp-asm.h.
30687 (S1): Likewise.
30688 (SIZE): Likewise.
30689 (__mpn_mul_1): Do not use BP_SYM.
30690 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30691 "bp-asm.h".
30692 (PARMS): Do not use macros from bp-asm.h.
30693 (S): Likewise.
30694 (SIZE): Likewise.
30695 (__mpn_rshift): Do not use BP_SYM.
30696 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30697 "bp-asm.h".
30698 (PARMS): Do not use macros from bp-asm.h.
30699 (STR): Likewise.
30700 (CHR): Likewise.
30701 (strchr): Likewise. Do not use BP_SYM.
30702 (index): Do not use BP_SYM in weak_alias.
30703 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30704 "bp-asm.h".
30705 (PARMS): Do not use macros from bp-asm.h.
30706 (DEST): Likewise.
30707 (SRC): Likewise.
30708 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30709 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30710 "bp-asm.h".
30711 (PARMS): Do not use macros from bp-asm.h.
30712 (strlen): Do not use BP_SYM.
30713 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30714 "bp-asm.h".
30715 (PARMS): Do not use macros from bp-asm.h.
30716 (S1): Likewise.
30717 (S2): Likewise.
30718 (SIZE): Likewise.
30719 (__mpn_sub_n): Do not use BP_SYM.
30720 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30721 "bp-asm.h".
30722 (PARMS): Do not use macros from bp-asm.h.
30723 (S1): Likewise.
30724 (SIZE): Likewise.
30725 (__mpn_submul_1): Do not use BP_SYM.
30726 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30727 "bp-asm.h".
30728 (PARMS): Do not use macros from bp-asm.h.
30729 (S1): Likewise.
30730 (S2): Likewise.
30731 (SIZE): Likewise.
30732 (__mpn_add_n): Do not use BP_SYM.
30733 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30734 weak_alias.
30735 (bzero): Likewise.
30736 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30737 "bp-asm.h".
30738 (PARMS): Do not use macros from bp-asm.h.
30739 (BLK2): Likewise.
30740 (LEN): Likewise.
30741 (memcmp): Do not use BP_SYM.
30742 (bcmp): Do not use BP_SYM in weak_alias.
30743 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30744 "bp-asm.h".
30745 (PARMS): Do not use macros from bp-asm.h.
30746 (DEST): Likewise.
30747 (SRC): Likewise.
30748 (LEN): Likewise.
30749 (memcpy): Likewise. Do not use BP_SYM.
30750 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30751 "bp-asm.h".
30752 (PARMS): Do not use macros from bp-asm.h.
30753 (DEST): Likewise.
30754 (SRC): Likewise.
30755 (LEN): Likewise.
30756 (memmove): Likewise. Do not use BP_SYM.
30757 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30758 "bp-asm.h".
30759 (PARMS): Do not use macros from bp-asm.h.
30760 (DEST): Likewise.
30761 (SRC): Likewise.
30762 (LEN): Likewise.
30763 (__mempcpy): Likewise. Do not use BP_SYM.
30764 (mempcpy): Do not use BP_SYM in weak_alias.
30765 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30766 "bp-asm.h".
30767 (PARMS): Do not use macros from bp-asm.h.
30768 (DEST): Likewise.
30769 (LEN): Likewise.
30770 [!BZERO_P] (CHR): Likewise.
30771 (memset): Likewise. Do not use BP_SYM.
30772 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30773 "bp-asm.h".
30774 (PARMS): Do not use macros from bp-asm.h.
30775 (STR2): Likewise.
30776 (strcmp): Do not use BP_SYM.
30777 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30778 "bp-asm.h".
30779 (PARMS): Do not use macros from bp-asm.h.
30780 (STR): Likewise.
30781 (DELIM): Likewise.
30782 [USE_AS_STRTOK_R] (SAVE): Likewise.
30783 (FUNCTION): Likewise. Do not use BP_SYM.
30784 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30785 aliases.
30786 (strtok_r): Likewise.
30787 (__GI___strtok_r): Likewise.
30788 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30789 (PARMS): Do not use macros from bp-asm.h.
30790 (S): Likewise.
30791 (SIZE): Likewise.
30792 (__mpn_lshift): Do not use BP_SYM.
30793 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30794 (PARMS): Do not use macros from bp-asm.h.
30795 (STR): Likewise.
30796 (CHR): Likewise.
30797 (__memchr): Do not use BP_SYM.
30798 (memchr): Do not use BP_SYM in weak_alias.
30799 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30800 (PARMS): Do not use macros from bp-asm.h.
30801 (BLK2): Likewise.
30802 (LEN): Likewise.
30803 (memcmp): Do not use BP_SYM.
30804 (bcmp): Do not use BP_SYM in weak_alias.
30805 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30806 (PARMS): Do not use macros from bp-asm.h.
30807 (S1): Likewise.
30808 (SIZE): Likewise.
30809 (__mpn_mul_1): Do not use BP_SYM.
30810 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30811 "bp-asm.h".
30812 (PARMS): Do not use macros from bp-asm.h.
30813 (STR): Likewise.
30814 (CHR): Likewise.
30815 (__rawmemchr): Do not use BP_SYM.
30816 (rawmemchr): Do not use BP_SYM in weak_alias.
30817 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30818 (PARMS): Do not use macros from bp-asm.h.
30819 (S): Likewise.
30820 (SIZE): Likewise.
30821 (__mpn_rshift): Do not use BP_SYM.
30822 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30823 (PARMS): Do not use macros from bp-asm.h.
30824 (SIGMSK): Likewise.
30825 (__sigsetjmp): Likewise. Do not use BP_SYM.
30826 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30827 (_start): Do not use BP_SYM.
30828 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30829 (PARMS): Do not use macros from bp-asm.h.
30830 (DEST): Likewise.
30831 (SRC): Likewise.
30832 (__stpcpy): Likewise. Do not use BP_SYM.
30833 (stpcpy): Do not use BP_SYM in weak_alias.
30834 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30835 "bp-asm.h".
30836 (PARMS): Do not use macros from bp-asm.h.
30837 (DEST): Likewise.
30838 (SRC): Likewise.
30839 (LEN): Likewise.
30840 (__stpncpy): Likewise. Do not use BP_SYM.
30841 (stpncpy): Do not use BP_SYM in weak_alias.
30842 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30843 (PARMS): Do not use macros from bp-asm.h.
30844 (STR): Likewise.
30845 (CHR): Likewise.
30846 (strchr): Likewise. Do not use BP_SYM.
30847 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30848 "bp-asm.h".
30849 (PARMS): Do not use macros from bp-asm.h.
30850 (STR): Likewise.
30851 (CHR): Likewise.
30852 (__strchrnul): Likewise. Do not use BP_SYM.
30853 (strchrnul): Do not use BP_SYM in weak_alias.
30854 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30855 "bp-asm.h".
30856 (PARMS): Do not use macros from bp-asm.h.
30857 (STOP): Likewise.
30858 (strcspn): Do not use BP_SYM.
30859 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30860 "bp-asm.h".
30861 (PARMS): Do not use macros from bp-asm.h.
30862 (STR): Likewise.
30863 (STOP): Likewise.
30864 (strpbrk): Likewise. Do not use BP_SYM.
30865 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30866 "bp-asm.h".
30867 (PARMS): Do not use macros from bp-asm.h.
30868 (STR): Likewise.
30869 (CHR): Likewise.
30870 (strrchr): Likewise. Do not use BP_SYM.
30871 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30872 (PARMS): Do not use macros from bp-asm.h.
30873 (SKIP): Likewise.
30874 (strspn): Do not use BP_SYM.
30875 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30876 (PARMS): Do not use macros from bp-asm.h.
30877 (STR): Likewise.
30878 (DELIM): Likewise.
30879 (SAVE): Likewise.
30880 (FUNCTION): Likewise. Do not use BP_SYM.
30881 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30882 aliases.
30883 (strtok_r): Likewise.
30884 (__GI___strtok_r): Likewise.
30885 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30886 (PARMS): Do not use macros from bp-asm.h.
30887 (S1): Likewise.
30888 (S2): Likewise.
30889 (SIZE): Likewise.
30890 (__mpn_sub_n): Do not use BP_SYM.
30891 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30892 "bp-asm.h".
30893 (PARMS): Do not use macros from bp-asm.h.
30894 (S1): Likewise.
30895 (SIZE): Likewise.
30896 (__mpn_submul_1): Do not use BP_SYM.
30897 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30898 <bp-sym.h>.
30899 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30900 and <bp-asm.h>.
30901 (PARMS): Do not use macros from bp-asm.h.
30902 (FLAGS): Likewise.
30903 (PTID): Likewise.
30904 (TLS): Likewise.
30905 (CTID): Likewise.
30906 (__clone): Do not use BP_SYM.
30907 (clone): Do not use BP_SYM in weak_alias.
30908 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30909 and <bp-asm.h>.
30910 (PARMS): Do not use macros from bp-asm.h.
30911 (LEN): Likewise.
30912 (__mmap64): Do not use BP_SYM.
30913 (mmap64): Do not use BP_SYM in weak_alias.
30914 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30915 <bp-sym.h> and <bp-asm.h>.
30916 (PARMS): Do not use macros from bp-asm.h.
30917 (__posix_fadvise64_l64): Do not use BP_SYM.
30918 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30919 (PARMS): Do not use macros from bp-asm.h.
30920 (NSOPS): Likewise.
30921 (semtimedop): Do not use BP_SYM.
30922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30923 and <bp-asm.h>.
30924
30925 2013-02-21 Allan McRae <allan@archlinux.org>
30926
30927 * manual/message.texi (Charset conversion in gettext):
30928 Move @end statement to beginning of line.
30929
30930 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30931
30932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30933 static.
30934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30935 Likewise.
30936
30937 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30938 (denorm): Likewise.
30939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30941
30942 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30943
30944 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30945 tail-call to the resolved function if pltexit isn't needed.
30946
30947 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30948
30949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30950 or Y being zero as being unlikely.
30951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30952 Likewise.
30953
30954 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30955
30956 * manual/nss.texi (System Databases and Name Service Switch):
30957 Remove frobnicate @pxref.
30958
30959 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30960
30961 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30962 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30963
30964 2013-02-20 Petr Machata <pmachata@redhat.com>
30965
30966 * elf/elf.h (R_ARM_TARGET1): New macro.
30967 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30968 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30969 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30970 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30971 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30972 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30973 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30974 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30975 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30976 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30977 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30978 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30979 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30980 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30981 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30982 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30983 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30984 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30985 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30986 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30987 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30988 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30989 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30990 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30991 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30992 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30993 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30994 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30995 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30996 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30997 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30998 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30999 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31000 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31001 (R_ARM_THM_GOT_BREL12): Likewise.
31002 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31003 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31004 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31005 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31006 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31007 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31008 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31009 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31010 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31011
31012 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31013
31014 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31015 __attribute_used__ to __attribute__ ((unused)).
31016
31017 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31018
31019 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31020 powerpc mpa.c.
31021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31022 comment formatting.
31023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31024
31025 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31026
31027 [BZ #13550]
31028 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31029 Remove macro.
31030 (ENTER): Remove both macro definitions.
31031 (LEAVE): Likewise.
31032 (CHECK_BOUNDS_LOW): Likewise.
31033 (CHECK_BOUNDS_HIGH): Likewise.
31034 (CHECK_BOUNDS_BOTH): Likewise.
31035 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31036 (RETURN_BOUNDED_POINTER): Likewise.
31037 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31038 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31039 (POP_ERRNO_LOCATION_RETURN): Likewise.
31040 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31041 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31042 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31043 macros.
31044 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31045 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31046 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31047 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31048 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31049 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31050 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31051 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31052 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31053 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31054 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31055 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31056 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31057 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31058 removed macros.
31059 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31060 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31061 macros.
31062 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31063 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31064 * sysdeps/i386/i586/memset.S (memset): Likewise.
31065 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31066 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31068 macros.
31069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31070 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31071 Change uses of L(2) to L(out).
31072 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31073 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31074 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31075 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31076 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31077 removed macros.
31078 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31079 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31080 macros.
31081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31082 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31083 (RETURN): Do not use macro LEAVE.
31084 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31085 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31086 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31087 * sysdeps/i386/i686/memset.S (memset): Likewise.
31088 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31089 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31091 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31092 Likewise.
31093 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31094 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31095 L(1_2) and L(1_3) into L(1).
31096 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31097 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31098 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31099 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31100 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31101 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31102 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31104 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31105 macros.
31106 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31107 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31108 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31109 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31110 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31111 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31113 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31114 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31115 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31116 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31117 * sysdeps/i386/strspn.S (strspn): Likewise.
31118 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31119 conditional code.
31120 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31121 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31122 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31123 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31124 L(1_3) into L(1_1).
31125 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31126 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31127 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31128 macros.
31129 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31130
31131 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31132
31133 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31134 macro.
31135
31136 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31137
31138 * math/atest-exp.c (exp_mpn): Remove ROUND.
31139 * math/atest-exp2.c (exp_mpn): Likewise.
31140 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31141
31142 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31143 * stdlib/tst-tls-atexit-lib.c: Likewise.
31144 * stdlib/tst-tls-atexit.c: Likewise.
31145
31146 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31147
31148 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31149 and __attribute_alloc_size__.
31150
31151 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31152
31153 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31154 __attribute_alloc_size__.
31155 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31156 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31157
31158 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31159
31160 * include/programs/xmalloc.h: New file.
31161 * catgets/gencat.c: Include it.
31162 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31163 * elf/pldd.c: Likewise.
31164 * iconv/iconv_charmap.c: Likewise.
31165 * iconv/iconvconfig.c: Likewise.
31166 * iconv/strtab.c: Likewise.
31167 * locale/programs/locale.c: Likewise.
31168 * locale/programs/localedef.h: Likewise.
31169 * locale/programs/simple-hash.c: Likewise.
31170 * nscd/nscd.h: Likewise.
31171 * nss/makedb.c: Likewise.
31172 * sysdeps/generic/ldconfig.h: Likewise.
31173
31174 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31175
31176 * Versions.def: Add GLIBC_2.18.
31177 * include/link.h (struct link_map): New member l_tls_dtor_count.
31178 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31179 (__call_tls_dtors): Likewise.
31180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31181 __cxa_thread_atexit_impl.
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31183 Likewise.
31184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31185 Likewise.
31186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31187 Likewise.
31188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31189 Likewise.
31190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31192 Likewise.
31193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31194 Likewise.
31195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31197 Likewise.
31198 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31199 (tests): Add test case tst-tls-atexit.
31200 (modules-names): Add shared library for tst-tls-atexit.
31201 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31202 (GLIBC_PRIVATE): Add __call_tls_dtors.
31203 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31204 for libstdc++.
31205 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31206 * stdlib/tst-tls-atexit.c: New test case.
31207 * stdlib/tst-tls-atexit-lib.c: New test case.
31208
31209 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31210
31211 * elf/Versions (ld): Add _dl_find_dso_for_object.
31212 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31213 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31214 (dl_open_worker): Use _dl_find_dso_for_object.
31215 * elf/dl-sym.c (do_sym): Likewise.
31216 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31217
31218 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31219
31220 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31221 Syntactic changes only.
31222 (_dl_runtime_profile): Do a tail-call to the resolved function.
31223
31224 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31225
31226 [BZ #13550]
31227 * sysdeps/x86_64/bp-asm.h: Remove file.
31228 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31229 <bp-sym.h> and <bp-asm.h>.
31230 (__clone): Do not use BP_SYM.
31231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31232 <bp-sym.h> and <bp-asm.h>.
31233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31234 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31235 "bp-asm.h".
31236 (_setjmp): Do not use BP_SYM.
31237 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31238 "bp-asm.h".
31239 (setjmp): Do not use BP_SYM.
31240 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31241 libc_hidden_def.
31242 (mempcpy): Do not use BP_SYM in weak_alias.
31243 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31244 "bp-asm.h".
31245 (strchr): Do not use BP_SYM.
31246 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31247 "bp-asm.h".
31248 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31249 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31250 (_start): Do not use BP_SYM.
31251 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31252 "bp-asm.h".
31253 (strcat): Do not use BP_SYM.
31254 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31255 "bp-asm.h".
31256 (STRCMP): Do not use BP_SYM.
31257 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31258 "bp-asm.h".
31259 (STRCPY): Do not use BP_SYM.
31260 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31261 "bp-asm.h".
31262 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31263 "bp-asm.h".
31264 (FUNCTION): Do not use BP_SYM.
31265 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31266 weak_alias.
31267 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31268
31269 2013-02-17 Andreas Jaeger <aj@suse.de>
31270
31271 * time/Versions: Sort entries.
31272 * string/Versions: Likewise.
31273 * resolv/Versions: Likewise.
31274 * posix/Versions: Likewise.
31275 * iconv/Versions: Likewise.
31276 * elf/Versions: Likewise.
31277 * wcsmbs/Versions: Likewise.
31278
31279 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31280
31281 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31282 loop termination condition.
31283
31284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31285 variable to calculate EZ.
31286 (__sqr): Likewise.
31287
31288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31289 the lower precision input.
31290
31291 2013-02-15 Joseph Myers <joseph@codesourcery.com>
31292
31293 [BZ #13550]
31294 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31295 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31296 (run-via-rtld-prefix): Do not handle %-bp tests.
31297 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31298 (all-object-suffixes): Remove .ob.
31299 (bppfx): Remove variable.
31300 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31301 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31302 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31303 [$(build-bounded) = yes] (libtype.ob): Likewise.
31304 * Makerules (elide-routines.ob): Remove variable.
31305 (do-tests-clean): Do not handle *-bp.out.
31306 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31307 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31308 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31309 (tests): Do not include $(tests-bp.out).
31310 (xtests): Do not include $(xtests-bp.out).
31311 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31312 [$(build-bounded) = yes] ($(addprefix
31313 $(objpfx),$(binaries-bounded))): Remove rule.
31314 ($(objpfx)%-bp.out): Remove rule.
31315 * config.make.in (build-bounded): Remove variable.
31316 * crypt/Makefile [$(build-bounded) = yes]
31317 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31318 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31319 append to variable.
31320 [$(build-bounded) = yes] (install-lib): Likewise.
31321 [$(build-bounded) = yes] (generated): Likewise.
31322 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31323 Remove rule.
31324 * intl/Makefile [$(build-bounded) = yes]
31325 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31326 * math/Makefile [$(build-bounded) = yes]
31327 ($(tests:%=$(objpfx)%-bp): Likewise.
31328 * misc/Makefile [$(build-bounded) = yes]
31329 ($(objpfx)tst-tsearch-bp): Likewise.
31330 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31331 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31332 Remove dependency.
31333 * string/Makefile (o-objects.ob): Remove variable.
31334 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31335 (CFLAGS-.ob): Remove variable.
31336 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31337 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31338 both definitions of variable.
31339 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31340 (ASFLAGS-.ob): Remove variable.
31341
31342 2013-02-14 Joseph Myers <joseph@codesourcery.com>
31343
31344 [BZ #13550]
31345 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31346 Remove __BOUNDED_POINTERS__ from condition.
31347 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31348 * string/bits/string2.h [!__NO_STRING_INLINES &&
31349 !__BOUNDED_POINTERS__]: Likewise.
31350 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31351 Likewise.
31352 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31353 Remove conditional code.
31354 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31355 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31356 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31357 condition.
31358
31359 [BZ #13550]
31360 * csu/libc-start.c: Do not include <bp-sym.h>.
31361 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31362 * elf/dl-open.c: Do not include <bp-sym.h>.
31363 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31364 * math/fegetenv.c: Do not include <bp-sym.h>.
31365 (fegetenv): Do not use BP_SYM in versioned symbols.
31366 * nptl/sysdeps/pthread/bits/libc-lockP.h
31367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31368 <bp-sym.h>.
31369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31370 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31372 (__pthread_mutex_destroy): Likewise.
31373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31374 (__pthread_mutex_lock): Likewise.
31375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31376 (__pthread_mutex_trylock): Likewise.
31377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31378 (__pthread_mutex_unlock): Likewise.
31379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31380 (__pthread_mutexattr_init): Likewise.
31381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31382 (__pthread_mutexattr_destroy): Likewise.
31383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31384 (__pthread_mutexattr_settype): Likewise.
31385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31386 (__pthread_rwlock_init): Likewise.
31387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31388 (__pthread_rwlock_destroy): Likewise.
31389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31390 (__pthread_rwlock_rdlock): Likewise.
31391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31392 (__pthread_rwlock_tryrdlock): Likewise.
31393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31394 (__pthread_rwlock_wrlock): Likewise.
31395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31396 (__pthread_rwlock_trywrlock): Likewise.
31397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31398 (__pthread_rwlock_unlock): Likewise.
31399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31400 (__pthread_key_create): Likewise.
31401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31402 (__pthread_setspecific): Likewise.
31403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31404 (__pthread_getspecific): Likewise.
31405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31406 Likewise.
31407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31408 (_pthread_cleanup_push_defer): Likewise.
31409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31410 (_pthread_cleanup_pop_restore): Likewise.
31411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31412 (pthread_setcancelstate): Likewise.
31413 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31414 <bp-sym.h>.
31415 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31416 (memchr): Do not use BP_SYM in weak_alias.
31417 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31418 (fegetenv): Do not use BP_SYM in versioned symbols.
31419 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31420 (fesetenv): Do not use BP_SYM in versioned symbols.
31421 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31422 (feupdateenv): Do not use BP_SYM in versioned symbols.
31423 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31424 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31425 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31426 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31427 (open64): Do not use BP_SYM in weak_alias.
31428 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31429 (fegetenv): Do not use BP_SYM in versioned symbols.
31430 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31431 (fesetenv): Do not use BP_SYM in versioned symbols.
31432 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31433 (feupdateenv): Do not use BP_SYM in versioned symbols.
31434 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31435 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31436 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31437 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31438 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31439 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31441 <bp-sym.h>.
31442 (__libc_start_main): Do not use BP_SYM.
31443
31444 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31445
31446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31447 redundant return line.
31448 (norm): Likewise.
31449 (denorm): Likewise.
31450 (dbl_mp): Likewise.
31451 (sub_magnitudes): Likewise.
31452 (__add): Likewise.
31453 (__sub): Likewise.
31454 (__mul): Likewise.
31455 (__inv): Likewise.
31456 (__dvd): Likewise.
31457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31458 (norm): Likewise.
31459 (denorm): Likewise.
31460 (dbl_mp): Likewise.
31461 (sub_magnitudes): Likewise.
31462 (__add): Likewise.
31463 (__sub): Likewise.
31464 (__mul): Likewise.
31465 (__inv): Likewise.
31466 (__dvd): Likewise.
31467
31468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31469 instead of __mul.
31470 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31471 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31472 (cc32): Likewise.
31473
31474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31475 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31477 of __mul for squares.
31478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31479 function
31480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31481 Likewise.
31482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31484
31485 2013-02-13 Joseph Myers <joseph@codesourcery.com>
31486
31487 [BZ #13550]
31488 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31489 code.
31490 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31491 prototype or function definition. Rename ubp_* variables and
31492 parameters. Remove argv definitions conditional on
31493 [__BOUNDED_POINTERS__].
31494 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31495 * elf/dl-runtime.c (_dl_fixup): Likewise.
31496 * include/set-hooks.h (RUN_HOOK): Likewise.
31497 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31498 definition.
31499 * string/strcpy.c (strcpy): Do not use __unbounded.
31500 * sysdeps/generic/frame.h (struct layout): Likewise.
31501 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31502 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31503 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31504 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31505 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31506 (__backtrace): Likewise.
31507 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31508 use __ptrvalue.
31509 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31511 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31512 Likewise.
31513 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31514 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31516 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31517 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31518 Do not use __unbounded.
31519 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31520 Rename __unboundedrlimits parameter to rlimits in prototype.
31521 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31522 Do not use __unbounded.
31523 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31524 not use __ptrvalue.
31525 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31526 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31527 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31528 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31529 __ptrvalue or __unbounded.
31530 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31531 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31532 use __unbounded.
31533 (__new_msgctl): Do not use __ptrvalue.
31534 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31535 __unbounded.
31536 (__libc_msgrcv): Do not use __ptrvalue.
31537 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31538 startup_info): Do not use __unbounded.
31539 (__libc_start_main): Likewise. Rename ubp_* variables and
31540 parameters. Remove argv definitions conditional on
31541 [__BOUNDED_POINTERS__].
31542 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31543 __ptrvalue.
31544 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31545 use __unbounded.
31546 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31547 or __ptrvalue.
31548 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31549 use __unbounded.
31550 (__new_shmctl): Do not use __ptrvalue.
31551 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31552 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31553 Likewise.
31554 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31556 (__libc_sigaction): Likewise.
31557 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31558 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31559 Likewise.
31560 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31561
31562 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
31563
31564 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31565
31566 * string/mempcpy.c: Implement by calling memcpy.
31567
31568 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31569
31570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31571
31572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31573 evaluation.
31574
31575 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31576 values in the mantissa.
31577
31578 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31579 minimize writes to Z.
31580 (sub_magnitudes): Simplify code a bit.
31581
31582 2013-02-12 Roland McGrath <roland@hack.frob.com>
31583
31584 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31585 from the message. The linker prefixes all warnings with that already.
31586
31587 2013-02-12 Andreas Schwab <schwab@suse.de>
31588
31589 [BZ #15078]
31590 * posix/regexec.c (extend_buffers): Add parameter min_len.
31591 (check_matching): Pass minimum needed length.
31592 (clean_state_log_if_needed): Likewise.
31593 (get_subexp): Likewise.
31594 * posix/Makefile (tests): Add bug-regex34.
31595 (bug-regex34-ENV): Define.
31596 * posix/bug-regex34.c: New file.
31597
31598 [BZ #11561]
31599 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31600 elements compare against the byte sequence of it, not its name.
31601 * posix/Makefile (tests): Add bug-regex35.
31602 (bug-regex35-ENV): Define.
31603 * posix/bug-regex35.c: New file.
31604
31605 2013-02-11 Tom de Vries <tom@codesourcery.com>
31606
31607 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31608 comment.
31609 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31610 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31611 (CHECK_EOL): Add undef.
31612
31613 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
31614
31615 * bits/stdlib-bsearch.h: New file.
31616 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31617 * stdlib/stdlib.h: Likewise.
31618
31619 2013-02-11 Roland McGrath <roland@hack.frob.com>
31620
31621 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31622 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31623 declaration.
31624 * manual/search.texi (Array Search Function): Add missing const in
31625 lfind prototype.
31626 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31627 declaration to use rlim_t.
31628 (Basic Scheduling Functions): Remove erroneous const from
31629 sched_getparam prototype. Remove erroneous * from
31630 sched_get_priority_max and sched_get_priority_min prototypes.
31631 (Resource Usage): Fix summary @comment on vtimes to refer to
31632 sys/vtimes.h rather than vtimes.h.
31633 Add missing *s in vtimes prototype.
31634 (Limits on Resources): Fix ulimit prototype to return long int.
31635 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31636 prototypes to use long int rather than double.
31637 (BSD Random): Fix initstate and setstate to use char *, not void *.
31638 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31639 prototype to make second argument 'struct aiocb64 *const[]'.
31640 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31641 (Status of AIO Operations): Remove erroneous const in aio_return and
31642 aio_return64 prototypes.
31643 (Synchronizing I/O): Fix sync prototype to return void.
31644 * manual/startup.texi (Suboptions): Remove an erroneous const in
31645 getsubopt prototype.
31646 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31647 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31648 use size_t rather than int.
31649 (Scanning All Users): Likewise for getpwent_r.
31650 (Setting Groups): Add missing const to setgroups prototype.
31651 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31652 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31653 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31654 'const void *' rather than 'const char *'.
31655 (Host Address Functions): Likewise for inet_ntop.
31656 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31657 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31658 ssize_t for return value.
31659 (Sending Data): Likewise for send, sendto, sendmsg.
31660 (Socket Option Functions): Add a missing const in setsockopt prototype.
31661 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31662 use wchar_t for the argument.
31663 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31664 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31665 take no arguments.
31666 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31667 double/float/long double for second argument.
31668 Fix return types of significand, significandf, significandl.
31669 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31670 argument in fchmod prototype.
31671 (File Owner): Use uid_t and gid_t in fchown prototype.
31672 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31673 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31674 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31675 use 'const struct dirent **' as argument types to CMP function pointer
31676 argument.
31677 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31678 (File Times): Fix summary magic @comment for struct utimbuf and utime
31679 to refer to utime.h, not time.h.
31680 * manual/string.texi (Argz Functions): Add missing const in
31681 argz_extract and argz_next prototypes.
31682 (Finding Tokens in a String): Likewise for basename.
31683 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31684 (Copying and Concatenation): Fix typo in wmemmove prototype.
31685 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31686 (Signal Stack): Remove erroneous const in sigstack prototype.
31687 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31688 prototype.
31689 (Simple Calendar Time): Likewise for stime.
31690 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31691 prototype.
31692 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31693 say sys/sysctl.h instead.
31694 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31695 and vsyslog prototypes.
31696
31697 2013-02-11 Tom de Vries <tom@codesourcery.com>
31698
31699 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31700 Remove.
31701
31702 2013-02-11 Roland McGrath <roland@hack.frob.com>
31703
31704 * misc/sys/mman.h: Fix typo in mremap comment.
31705
31706 2013-02-08 Roland McGrath <roland@hack.frob.com>
31707
31708 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31709 the '\0' terminator.
31710
31711 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31712
31713 [BZ #13550]
31714 * debug/segfault.c: Don't include <bp-checks.h>.
31715 * sysdeps/generic/bp-checks.h: Remove file.
31716 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31717 (__GETDENTS): Don't use CHECK_N.
31718 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31719 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31720 (__getgroups): Don't use CHECK_N.
31721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31722 (setgroups): Don't use CHECK_N.
31723 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31724 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31725 (__libc_msgrcv): Don't use CHECK_N.
31726 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31727 (__libc_msgsnd): Don't use CHECK_N.
31728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31729 <bp-checks.h>.
31730 (__libc_pread): Don't use CHECK_N.
31731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31732 include <bp-checks.h>.
31733 (__libc_pread64): Don't use CHECK_N.
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31735 include <bp-checks.h>.
31736 (__libc_pwrite): Don't use CHECK_N.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31738 include <bp-checks.h>.
31739 (__libc_pwrite64): Don't use CHECK_N.
31740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31741 <bp-checks.h>.
31742 (__libc_pread): Don't use CHECK_N.
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31744 include <bp-checks.h>.
31745 (__libc_pread64): Don't use CHECK_N.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31747 include <bp-checks.h>.
31748 (__libc_pwrite): Don't use CHECK_N.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31750 include <bp-checks.h>.
31751 (__libc_pwrite64): Don't use CHECK_N.
31752 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31753 (do_pread): Don't use CHECK_N.
31754 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31755 (do_pread64): Don't use CHECK_N.
31756 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31757 (do_pwrite): Don't use CHECK_N.
31758 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31759 (do_pwrite64): Don't use CHECK_N.
31760 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31761 (__libc_readv): Don't use CHECK_N.
31762 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31763 (semop): Don't use CHECK_N.
31764 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31765 <bp-checks.h>.
31766 (semtimedop): Don't use CHECK_N.
31767 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31768 (__libc_pread): Don't use CHECK_N.
31769 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31770 <bp-checks.h>.
31771 (__libc_pread64): Don't use CHECK_N.
31772 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31773 <bp-checks.h>.
31774 (__libc_pwrite): Don't use CHECK_N.
31775 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31776 <bp-checks.h>.
31777 (__libc_pwrite64): Don't use CHECK_N.
31778 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31779 <bp-checks.h>.
31780 (__libc_msgrcv): Don't use CHECK_N.
31781 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31782 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31783 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31784 (__libc_writev): Don't use CHECK_N.
31785
31786 2013-02-08 Roland McGrath <roland@hack.frob.com>
31787
31788 * string/strcpy.c: Removed unused variable.
31789
31790 * Makeconfig (+sysdep-includes): Define with := rather than =.
31791 Use an existing include/ subdir of each sysdeps dir before it.
31792
31793 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31794
31795 * nscd/connection.c (register_traced_file): Comment function.
31796 [HAVE_INOTIFY] (union __inev): Define.
31797 [HAVE_INOTIFY] (inotify_check_files): New function.
31798 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31799 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31800 clear_db_cache.
31801 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31802
31803 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31804
31805 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31806 loaded if not already and that a failure is permanent.
31807
31808 2013-02-08 Carlos O'Donell <carlos@redhat.com>
31809
31810 [BZ #15006]
31811 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31812 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31813
31814 2013-02-08 Joseph Myers <joseph@codesourcery.com>
31815
31816 [BZ #13550]
31817 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31818 (CHECK_1_NULL_OK): Likewise.
31819 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31820 (__fxstat): Do not use CHECK_1.
31821 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31822 <bp-checks.h>.
31823 (___fxstat64): Do not use CHECK_1.
31824 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31825 <bp-checks.h>.
31826 (__fxstatat): Do not use CHECK_1.
31827 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31828 <bp-checks.h>.
31829 (__fxstatat64): Do not use CHECK_1.
31830 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31831 <bp-checks.h>.
31832 (__fxstat): Do not use CHECK_1.
31833 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31834 <bp-checks.h>.
31835 (__fxstatat): Do not use CHECK_1.
31836 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31837 <bp-checks.h>.
31838 (__getresgid): Do not use CHECK_1.
31839 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31840 <bp-checks.h>.
31841 (__getresuid): Do not use CHECK_1.
31842 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31843 <bp-checks.h>.
31844 (__lxstat): Do not use CHECK_1.
31845 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31846 <bp-checks.h>.
31847 (__old_msgctl): Do not use CHECK_1.
31848 (__new_msgctl): Likewise.
31849 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31850 <bp-checks.h>.
31851 (__new_setrlimit): Do not use CHECK_1.
31852 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31853 <bp-checks.h>.
31854 (__old_shmctl): Do not use CHECK_1.
31855 (__new_shmctl): Likewise.
31856 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31857 <bp-checks.h>.
31858 (__xstat): Do not use CHECK_1.
31859 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31860 (__lxstat): Do not use CHECK_1.
31861 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31862 <bp-checks.h>.
31863 (___lxstat64): Do not use CHECK_1.
31864 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31865 (__old_msgctl): Do not use CHECK_1.
31866 (__new_msgctl): Likewise.
31867 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31868 <bp-checks.h>.
31869 (__gettimeofday): Do not use CHECK_1.
31870 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31871 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31872 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31873 <bp-checks.h>.
31874 (__gettimeofday): Do not use CHECK_1.
31875 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31876 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31877 (__new_shmctl): Do not use CHECK_1.
31878 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31879 <bp-checks.h>.
31880 (do_sigtimedwait): Do not use CHECK_1.
31881 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31882 <bp-checks.h>.
31883 (do_sigwaitinfo): Do not use CHECK_1.
31884 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31885 <bp-checks.h>.
31886 (msgctl): Do not use CHECK_1.
31887 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31888 <bp-checks.h>.
31889 (shmctl): Do not use CHECK_1.
31890 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31891 (ustat): Do not use CHECK_1.
31892 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31893 <bp-checks.h>.
31894 (__fxstat): Do not use CHECK_1.
31895 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31896 <bp-checks.h>.
31897 (__fxstatat): Do not use CHECK_1.
31898 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31899 <bp-checks.h>.
31900 (__lxstat): Do not use CHECK_1.
31901 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31902 <bp-checks.h>.
31903 (__xstat): Do not use CHECK_1.
31904 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31905 (__xstat): Do not use CHECK_1.
31906 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31907 (___xstat64): Do not use CHECK_1.
31908
31909 [BZ #13550]
31910 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31911 definitions.
31912 (CHECK_BOUNDS_HIGH): Likewise.
31913 * string/strcpy.c: Do not include <bp-checks.h>.
31914 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31915
31916 2013-02-07 Roland McGrath <roland@hack.frob.com>
31917
31918 * nscd/nscd-client.h (__nscd_drop_map_ref):
31919 Add __attribute__ ((unused)).
31920 * nis/nss-nisplus.h (niserr2nss): Likewise.
31921
31922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31923 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31924
31925 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31926 Remove inline keyword.
31927 * include/rounding-mode.h (round_away): Likewise.
31928 * libio/wfileops.c (adjust_wide_data): Likewise.
31929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31930 (__m128i_strloadu_tolower): Likewise.
31931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31932 (__m128i_strloadu_tolower): Likewise.
31933 * time/mktime.c (ydhms_diff): Likewise.
31934 * locale/elem-hash.h (elem_hash): Likewise.
31935 * locale/setlocale.c (setdata): Likewise.
31936 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31937 (re_string_wchar_at): Likewise.
31938 (bitset_not, bitset_merge, bitset_mask): Likewise.
31939 [!(__GNUC__ > 3)] (inline): Remove macro.
31940 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31941 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31942 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31943 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31944 * string/memcmp.c (memcmp_bytes): Likewise.
31945 * locale/programs/locarchive.c (compute_hashval): Likewise.
31946 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31947 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31948 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31949 * nss/getent.c (print_rpc, print_protocols): Likewise.
31950 (print_passwd, print_group, print_aliases): Likewise.
31951 * nis/nss-nisplus.h (niserr2nss): Likewise.
31952 * nscd/connections.c (restart_p): Likewise.
31953 Change return type to bool.
31954
31955 2013-02-05 Roland McGrath <roland@hack.frob.com>
31956
31957 * Makeconfig (all-Depend-files): Add existing
31958 $(sorted-subdirs:=/Depend) files.
31959 (all-subdirs): Remove nss.
31960 * sysdeps/unix/inet/Subdirs: Add it here instead.
31961 * hesiod/Depend: New file.
31962
31963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31964 instead of calling alloca.
31965
31966 * io/lseek.c (__lseek): Rename to __libc_lseek.
31967 Define __lseek as an alias.
31968
31969 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31970
31971 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31972
31973 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31974 else clause and remove check for non-standard endianness.
31975
31976 2013-02-04 David S. Miller <davem@davemloft.net>
31977
31978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31979
31980 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #13550]
31983 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31984 (__ubp_memchr): Remove prototype.
31985 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31986 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31987 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31988 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31989 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31990 Remove alias.
31991 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31992 (__ubp_memchr): Likewise.
31993 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31994 (__ubp_memchr): Likewise.
31995 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31996 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31997 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31998 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31999 CHECK_STRING.
32000 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32001 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32002 (__getcwd): Do not use CHECK_STRING.
32003 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32004 <bp-checks.h>.
32005 (__real_chown): Do not use CHECK_STRING.
32006 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32007 <bp-checks.h>.
32008 (fchownat): Do not use CHECK_STRING.
32009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32010 CHECK_STRING.
32011 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32012 <bp-checks.h>.
32013 (__lchown): Do not use CHECK_STRING.
32014 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32015 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32016 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32017 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32019 include <bp-checks.h>.
32020 (truncate64): Do not use CHECK_STRING.
32021 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32022 <bp-checks.h>.
32023 (__real_chown): Do not use CHECK_STRING.
32024 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32025 <bp-checks.h>.
32026 (__lchown): Do not use CHECK_STRING.
32027 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32028 <bp-checks.h>.
32029 (__chown): Do not use CHECK_STRING.
32030 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32031 <bp-checks.h>.
32032 (truncate64): Do not use CHECK_STRING.
32033 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32034 Likewise.
32035 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32036 (__xmknod): Do not use CHECK_STRING.
32037 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32038 <bp-checks.h>.
32039 (__xmknodat): Do not use CHECK_STRING.
32040 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32041 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32042
32043 2013-02-04 Andreas Schwab <schwab@suse.de>
32044
32045 [BZ #14142]
32046 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32047 * include/netdb.h: Likewise for h_errno.
32048 * elf/tst-stackguard1.c: Include <tls.h>.
32049
32050 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32051
32052 * elf/link.h (struct link_map): Extend the l_addr comment.
32053 * include/link.h (struct link_map): Likewise.
32054
32055 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32056
32057 [BZ #13550]
32058 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32059 (BOUNDED_1): Remove macro.
32060 * debug/backtrace.c: Don't include <bp-checks.h>.
32061 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32062 (__backtrace): Likewise.
32063 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32064 <bp-checks.h>.
32065 (__backtrace): Don't use BOUNDED_1.
32066 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32067 <bp-checks.h>.
32068 (__backtrace): Don't use BOUNDED_1.
32069 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32070 (__backtrace): Don't use BOUNDED_1.
32071 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32072 (shmat): Don't use BOUNDED_N.
32073
32074 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32075
32076 [BZ #13550]
32077 * sysdeps/generic/bp-start.h: Remove file.
32078 * csu/libc-start.c: Don't include <bp-start.h>.
32079 (LIBC_START_MAIN): Set up __environ directly instead of using
32080 INIT_ARGV_and_ENVIRON.
32081 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32082 <bp-start.h>.
32083
32084 [BZ #13550]
32085 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32086 definitions.
32087 (CHECK_FCNTL): Likewise.
32088 (CHECK_N_PAGES): Likewise.
32089
32090 [BZ #13550]
32091 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32092 definitions.
32093 (CHECK_SIGSET_NULL_OK): Likewise.
32094 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32095 <bp-checks.h>.
32096 (sigpending): Don't use CHECK_SIGSET.
32097 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32098 <bp-checks.h>.
32099 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32100 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32101 <bp-checks.h>.
32102 (do_sigsuspend): Don't use CHECK_SIGSET.
32103 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32104 use CHECK_SIGSET.
32105 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32106 (do_sigwait): Don't use CHECK_SIGSET.
32107 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32108 use CHECK_SIGSET.
32109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32110 include <bp-checks.h>.
32111 (sigpending): Don't use CHECK_SIGSET.
32112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32113 include <bp-checks.h>.
32114 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32115 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32116 <bp-checks.h>.
32117 (sigpending): Don't use CHECK_SIGSET.
32118 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32119 <bp-checks.h>.
32120 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32121
32122 [BZ #13550]
32123 * sysdeps/generic/bp-semctl.h: Remove file.
32124 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32125 <bp-checks.h> and <bp-semctl.h>.
32126 (__old_semctl): Don't use CHECK_SEMCTL.
32127 (__new_semctl): Likewise.
32128 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32129 and <bp-semctl.h>.
32130 (__old_semctl): Don't use CHECK_SEMCTL.
32131 (__new_semctl): Likewise.
32132 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32133 <bp-checks.h> and <bp-semctl.h>.
32134 (__old_semctl): Don't use CHECK_SEMCTL.
32135 (__new_semctl): Likewise.
32136 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32137 <bp-checks.h> and <bp-semctl.h>.
32138 (semctl): Don't use CHECK_SEMCTL.
32139
32140 [BZ #13550]
32141 * Makerules (elide-bp-thunks): Remove variable.
32142 (elide-routines.oS): Don't use $(elide-bp-thunks).
32143 (elide-routines.os): Likewise.
32144 (elide-routines.o): Likewise.
32145 (elide-routines.op): Likewise.
32146 (elide-routines.og): Likewise.
32147 (objects): Don't use $(bp-thunks).
32148 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32149 include.
32150 (common-generated): Do not add s-proto-bp.d.
32151 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32152 (int): Likewise.
32153 (typ): Likewise.
32154 Do not generate makefile rules for bounded-pointer thunks.
32155 * sysdeps/generic/bp-thunks.h: Remove file.
32156 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32157 * sysdeps/unix/s-proto-bp.S: Likewise.
32158
32159 [BZ #15062]
32160 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32161 parts of result separately when argument is not close to line from
32162 -i to i and one part of argument is small.
32163 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32164 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32165 * math/libm-test.inc (cacos_test): Add more tests.
32166 (casin_test): Likewise.
32167 (casinh_test): Likewise.
32168 * sysdeps/i386/fpu/libm-test-ulps: Update.
32169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32170
32171 2013-01-31 David S. Miller <davem@davemloft.net>
32172
32173 * po/de.po: Update from translation team.
32174
32175 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32176
32177 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32178
32179 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32180
32181 * configure.in (_AC_PROG_CC_C89): New definition.
32182 * configure: Regenerate.
32183
32184 * configure.in (AC_PROG_CPP): New definition.
32185 * configure: Regenerate.
32186
32187 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32188
32189 * debug/tst-backtrace.h: New file.
32190 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32191 (ret): Remove variable.
32192 (x): Likewise.
32193 (FAIL): Remove macro.
32194 (NO_INLINE): Likewise.
32195 (fn1): Use match function instead of strstr.
32196 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32197 (ret): Remove variable.
32198 (x): Likewise.
32199 (FAIL): Remove macro.
32200 (NO_INLINE): Likewise.
32201 (fn): Use match function instead of strstr.
32202 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32203 (ret): Remove variable.
32204 (x): Likewise.
32205 (FAIL): Remove macro.
32206 (NO_INLINE): Likewise.
32207 (handle_signal): Use match function instead of strstr.
32208 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32209 (ret): Remove variable.
32210 (x): Likewise.
32211 (FAIL): Remove macro.
32212 (NO_INLINE): Likewise.
32213 (handle_signal): Use match function instead of strstr.
32214
32215 2013-01-23 Roland McGrath <roland@hack.frob.com>
32216
32217 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32218
32219 2013-01-23 David S. Miller <davem@davemloft.net>
32220
32221 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32222 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32223 argument of CAS if possible.
32224 * sysdeps/sparc/sparc64/bits/atomic.h
32225 (__arch_compare_and_exchange_val_32_acq): Likewise.
32226 (__arch_compare_and_exchange_val_64_acq): Likewise.
32227
32228 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32229
32230 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32231 * sysdeps/posix/ulimit.c: ... this.
32232 Include <limits.h>.
32233 * sysdeps/unix/bsd/ulimit.c: Remove file.
32234
32235 2013-01-23 Adam Conrad <adconrad@0c3.net>
32236
32237 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32238 (LDFLAGS-tst-array5): Likewise.
32239
32240 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32241
32242 [BZ #15036]
32243 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32244 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32245 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32246 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32247
32248 2013-01-21 David S. Miller <davem@davemloft.net>
32249
32250 * sysdeps/sparc/backtrace.c: New file.
32251 * sysdeps/sparc/sparc32/backtrace.h: New file.
32252 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32253 * sysdeps/sparc/sparc64/backtrace.h: New file.
32254 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32255 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32256 -funwind-tables.
32257
32258 2013-01-21 Andreas Schwab <schwab@suse.de>
32259
32260 [BZ #15020]
32261 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32262 closed its stdout.
32263
32264 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32265
32266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32267 "mpa2.h".
32268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32269
32270 2013-01-18 Joseph Myers <joseph@codesourcery.com>
32271 Mark Mitchell <mark@codesourcery.com>
32272 Tom de Vries <tom@codesourcery.com>
32273 Paul Pluzhnikov <ppluzhnikov@google.com>
32274
32275 * debug/tst-backtrace2.c: New file.
32276 * debug/tst-backtrace3.c: Likewise.
32277 * debug/tst-backtrace4.c: Likewise.
32278 * debug/tst-backtrace5.c: Likewise.
32279 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32280 (CFLAGS-tst-backtrace3.c): Likewise.
32281 (CFLAGS-tst-backtrace4.c): Likewise.
32282 (CFLAGS-tst-backtrace5.c): Likewise.
32283 (LDFLAGS-tst-backtrace2): Likewise.
32284 (LDFLAGS-tst-backtrace3): Likewise.
32285 (LDFLAGS-tst-backtrace4): Likewise.
32286 (LDFLAGS-tst-backtrace5): Likewise.
32287 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32288 tst-backtrace4 and tst-backtrace5.
32289
32290 2013-01-18 Anton Blanchard <anton@samba.org>
32291 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32292
32293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32294 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32296 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32298 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32299 "+r" and remove output regs list as redundant. Add explicit inline
32300 asm to specify register of return val to work around compiler codegen
32301 bug. Remove (int) cast on return value. Add return type parameter to
32302 use in macro so that this macro does not truncate return value for
32303 64-bit values.
32304 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32305 pass to INTERNAL_VSYSCALL_NCS.
32306 (INLINE_VSYSCALL): Add 'long int' as return type to
32307 INTERNAL_VSYSCALL_NCS macro invocation.
32308 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32309 INTERNAL_VSYSCALL_NCS macro invocation.
32310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32311
32312 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32313
32314 [BZ #14496]
32315 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32316 Fix application of SIMD FP exception mask.
32317
32318 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32319 mp_no from a power of two.
32320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32321 __mpexp_twomm1. Use __pow_mp.
32322
32323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32324 multiplication.
32325
32326 2013-01-17 David S. Miller <davem@davemloft.net>
32327
32328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32329
32330 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32331
32332 [BZ #15023]
32333 * include/complex.h: Condition contents on [!_COMPLEX_H].
32334 (__kernel_casinhf): New prototype.
32335 (__kernel_casinh): Likewise.
32336 (__kernel_casinhl): Likewise.
32337 * math/Makefile (libm_calls): Add k_casinh.
32338 * math/k_casinh.c: New file.
32339 * math/k_casinhf.c: Likewise.
32340 * math/k_casinhl.c: Likewise.
32341 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32342 finite nonzero arguments.
32343 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32344 finite nonzero arguments.
32345 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32346 finite nonzero arguments.
32347 * math/s_casinh.c: Do not include <float.h>.
32348 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32349 * math/s_casinhf.c: Do not include <float.h>.
32350 (__casinhf): Move code for finite nonzero arguments to
32351 k_casinhf.c.
32352 * math/s_casinhl.c: Do not include <float.h>.
32353 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32354 redefine.
32355 (__casinhl): Move code for finite nonzero arguments to
32356 k_casinhl.c.
32357 * math/libm-test.inc (cacos_test): Add more tests.
32358 * sysdeps/i386/fpu/libm-test-ulps: Update.
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32360
32361 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32362
32363 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32364 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32365 [!HAVE_MREMAP]: Remove [defined linux] case.
32366 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32367
32368 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32369
32370 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32371
32372 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32373
32374 * elf/elf.h (R_386_SIZE32): New relocation.
32375 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32376 R_386_SIZE32.
32377 (elf_machine_rela): Likewise.
32378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32379 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32380
32381 2013-01-17 Joseph Myers <joseph@codesourcery.com>
32382
32383 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32384 (FP_FAST_FMA): Do not define.
32385 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32386 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32387 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32388 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32389 !_SOFT_FLOAT]: Likewise.
32390 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32391 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32392 value.
32393 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32394 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32395 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32396 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32397 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32398 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32399 file.
32400
32401 2013-01-16 Andreas Schwab <schwab@suse.de>
32402
32403 [BZ #14327]
32404 * include/stdlib.h (__mktemp): Add declaration.
32405 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32406 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32407
32408 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32409
32410 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32411 definitions.
32412 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32413 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32414 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32415 definitions here.
32416 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32417 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32418 definitions.
32419 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32420 and ONE.
32421 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32422 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32423 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32424 definitions.
32425 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32426 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32427 definitions.
32428 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32429
32430 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32431
32432 2013-01-15 David S. Miller <davem@davemloft.net>
32433
32434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32435 trunc{,f} to libm-sysdep_routes.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32438 file.
32439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32441 file.
32442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32443 file.
32444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32446 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32447 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32448 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32449 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32450 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32451 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32452
32453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32454 nearbyint{,f} to libm-sysdep_routes.
32455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32457 New file.
32458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32459 file.
32460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32461 New file.
32462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32463 file.
32464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32467 file.
32468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32469 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32470 file.
32471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32472 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32473 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32474
32475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32476 libc_feholdexcept and libc_fesetenv.
32477
32478 2013-01-15 Mike Frysinger <vapier@gentoo.org>
32479
32480 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32481
32482 2013-01-14 David S. Miller <davem@davemloft.net>
32483
32484 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32485 (SPARC_ASM_VIS2_IFUNC): Likewise.
32486 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32488 use of 'siam' instruction.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32490 Likewise.
32491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32492 Likewise.
32493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32494 Likewise.
32495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32500 file.
32501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32502 file.
32503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32504 file.
32505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32506 file.
32507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32512 new VIS2 routines.
32513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32516 Likewise.
32517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32522 routines to libm-sysdep_routines.
32523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32524
32525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32526 fdim/fdimf to libm-sysdep_routines.
32527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32528 file.
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32531 file.
32532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32535 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32536 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32537 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32538 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32539
32540 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32541
32542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32543 to optimize copies.
32544
32545 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32548
32549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32550 local variable MPTWO.
32551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32552 Likewise.
32553
32554 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32555
32556 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32557 GLOB_NOESCAPE.
32558
32559 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32560
32561 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32562
32563 2013-01-13 Mike Frysinger <vapier@gentoo.org>
32564
32565 * manual/pattern.texi (glob_t): Document gl_flags.
32566 (glob64_t): Likewise.
32567
32568 2013-01-11 David S. Miller <davem@davemloft.net>
32569
32570 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32571 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32572 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32573 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32574 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32575 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32576 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32577 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32578 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32579 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32580 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32581 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32582 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32583
32584 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32585 sparc V9 rather than using V8 code.
32586 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32587 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32588
32589 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32590 Move to...
32591 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32592 Here.
32593
32594 2013-01-11 Roland McGrath <roland@hack.frob.com>
32595
32596 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32597 not in the main loop.
32598 * configure: Regenerated.
32599
32600 2013-01-11 Joseph Myers <joseph@codesourcery.com>
32601
32602 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32603 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32604 to just #else.
32605 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32606 [!__GLIBC_HAVE_LONG_LONG] case.
32607 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32608 condition to just #else.
32609 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32610 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32611 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32612 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32613 unconditional.
32614 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32615 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32616 #elif condition to just #else.
32617 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32618 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32619 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32620 #elif condition to just #else.
32621
32622 2013-01-11 Steve Ellcey <sellcey@mips.com>
32623
32624 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32625 (EF_MIPS_ARCH_64): Fix value.
32626 (EF_MIPS_ARCH_32R2): New.
32627 (EF_MIPS_ARCH_64R2): New.
32628
32629 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 * Makeconfig (+link-pie-before-libc): New.
32632 (+link-pie-after-libc): Likewise.
32633 (+link-pie-tests): Likewise.
32634 (+link-pie): Rewritten.
32635 (link-before-libc): Remove $(config-LDFLAGS).
32636 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32637 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32638 (config-LDFLAGS): Renamed to ...
32639 (rtld-LDFLAGS): This.
32640 (rtld-tests-LDFLAGS): New macro.
32641 (link-libc-rpath-link): Likewise.
32642 (link-libc-tests-rpath-link): Likewise.
32643 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32644 (link-libc): Prepand $(link-libc-rpath-link).
32645 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32646 (test-program-prefix): New macro.
32647 (test-via-rtld-prefix): Likewise.
32648 (test-program-cmd): Likewise.
32649 (host-test-program-cmd): Likewise.
32650 * Makefile ($(common-objpfx)testrun.sh): Replace
32651 $(run-program-prefix) with $(test-program-prefix).
32652 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32653 $(rtld-LDFLAGS).
32654 ($(common-objpfx)shlib.lds): Likewise.
32655 (build-module-helper): Likewise.
32656 ($(common-objpfx)format.lds): Likewise.
32657 * Rules (binaries-pie-tests): New.
32658 (binaries-pie-notests): Likewise.
32659 (binaries-pie): Rewritten.
32660 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32661 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32662 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32663 (make-test-out): Replace $(host-built-program-cmd) with
32664 $(host-test-program-cmd).
32665 * config.make.in (build-hardcoded-path-in-tests): New variable.
32666 * configure.in (--enable-hardcoded-path-in-tests): New configure
32667 option.
32668 (hardcoded_path_in_tests): New AC_SUBST.
32669 * configure: Regenerated.
32670 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32671 $(built-program-cmd) with $(test-program-cmd).
32672 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32673 (test_program_cmd): This.
32674 * elf/Makefile ($(objpfx)order.out): Run test with
32675 $(test-program-prefix).
32676 ($(objpfx)order2.out): Likewise.
32677 ($(objpfx)tst-initorder.out): Likewise.
32678 ($(objpfx)tst-initorder2.out): Likewise.
32679 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32680 $(test-program-cmd).
32681 ($(objpfx)tst-array1-static.out): Likewise.
32682 ($(objpfx)tst-array2.out): Likewise.
32683 ($(objpfx)tst-array3.out): Likewise.
32684 ($(objpfx)tst-array4.out): Likewise.
32685 ($(objpfx)tst-array5.out): Likewise.
32686 ($(objpfx)tst-array5-static.out): Likewise.
32687 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32688 $(test-program-cmd).
32689 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32690 $(run-program-prefix) with $(test-program-prefix).
32691 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32692 (test_program_prefix): This.
32693 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32694 $(run-program-prefix) with $(test-program-prefix).
32695 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32696 (test_program_prefix): This.
32697 * iconvdata/tst-tables.sh: Likewise.
32698 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32699 $(run-program-prefix) with $(test-program-prefix).
32700 ($(objpfx)tst-translit.out): Likewise.
32701 ($(objpfx)tst-gettext2.out): Likewise.
32702 ($(objpfx)tst-gettext4.out): Likewise.
32703 ($(objpfx)tst-gettext6.out): Likewise.
32704 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32705 (test_program_prefix): This.
32706 * intl/tst-gettext2.sh: Likewise.
32707 * intl/tst-gettext4.sh Likewise.
32708 * intl/tst-gettext6.sh: Likewise.
32709 * intl/tst-translit.sh: Likewise.
32710 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32711 with $(test-program-cmd).
32712 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32713 $(run-program-prefix) with $(test-program-prefix).
32714 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32715 (test_program_prefix): This.
32716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32717 $(run-program-prefix) with $(test-program-prefix).
32718 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32719 (test_program_prefix): This.
32720 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32721 * posix/Makefile ($(objpfx)globtest.out): Replace
32722 $(run-via-rtld-prefix) and $(test-wrapper) with
32723 $(test-program-prefix) and $(test-via-rtld-prefix).
32724 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32725 $(test-program-prefix).
32726 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32727 $(host-test-program-cmd).
32728 (tst-spawn-ARGS): Likewise.
32729 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32730 $(test-program-prefix).
32731 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32732 (test_via_rtld_prefix): This.
32733 (test_wrapper): Renamed to ...
32734 (test_program_prefix): This.
32735 (run_program_prefix): Replaced by test_program_prefix.
32736 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32737 (test_program_prefix): This.
32738 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32739 with $(host-test-program-cmd).
32740 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32741 $(run-program-prefix) with $(test-program-prefix).
32742 ($(objpfx)tst-printf.out): Likewise.
32743 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32744 $(test-program-cmd).
32745 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32746 (test_program_prefix): This.
32747 * stdio-common/tst-unbputc.sh: Likewise.
32748 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32749 $(run-program-prefix) with $(test-program-prefix).
32750 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32751 (test_program_prefix): This.
32752 * string/Makefile ($(objpfx)tst-svc.out): Replace
32753 $(built-program-cmd) with $(test-program-cmd).
32754
32755 2013-01-11 Andreas Jaeger <aj@suse.de>
32756
32757 [BZ #15003]
32758 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32759 value. Sync with Linux 3.7.
32760
32761 2013-01-10 David S. Miller <davem@davemloft.net>
32762
32763 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32764 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32765 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32766
32767 2013-01-10 Roland McGrath <roland@hack.frob.com>
32768
32769 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32770 never set.
32771 * configure: Regenerated.
32772
32773 2013-01-10 David S. Miller <davem@davemloft.net>
32774
32775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32776 sparc V9 rather than using V8 code.
32777 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32778 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32779
32780 2013-01-10 Roland McGrath <roland@hack.frob.com>
32781
32782 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32783 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32784 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32785 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32786 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32787 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32788 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32789 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32790 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32791 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32792 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32793 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32794 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32795 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32796 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32797 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32798 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32799 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32800 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32801 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32802 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32803 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32804 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32805 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32806 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32807 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32808 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32809
32810 2013-01-10 David S. Miller <davem@davemloft.net>
32811
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32813
32814 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32815
32816 * posix/Makefile (tests-static): New variable.
32817 (tests): Add $(tests-static).
32818 (tst-exec-static-ARGS): New variable.
32819 (tst-spawn-static-ARGS): Likewise.
32820 * posix/tst-exec-static.c: New file.
32821 * posix/tst-spawn-static.c: Likewise.
32822 * posix/tst-exec.c: Support run directly.
32823 * posix/tst-spawn.c: Likewise.
32824
32825 2013-01-10 Joseph Myers <joseph@codesourcery.com>
32826
32827 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32828 long.
32829 * math/bits/mathcalls.h (llrint): Likewise.
32830 (llround): Likewise.
32831 * stdlib/stdlib.h (struct drand48_data): Likewise.
32832 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32833 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32834 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32835 Likewise.
32836 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32837 Likewise.
32838 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32839 (elf_greg_t): Likewise.
32840 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32841 (__jmp_buf): Likewise.
32842 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32843 definitions.
32844 (llrint): Likewise, for all definitions.
32845 (llrintl): Likewise.
32846
32847 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32848 Remove [__GNUC__] condition.
32849 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32850 condition to just [__USE_ISOC99].
32851 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32852
32853 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32854
32855 [BZ #14200]
32856 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32857 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32858 defined.
32859 (_POSIX_V6_ILP32_OFF32): Likewise.
32860 (_XBS5_ILP32_OFF32): Likewise.
32861 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32862 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32863
32864 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32865
32866 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32867
32868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32869 doubles __mpexp_twomm1. Adjust usage.
32870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32871 Remove.
32872
32873 2013-01-10 Andreas Schwab <schwab@suse.de>
32874
32875 [BZ #14964]
32876 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32877 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32878
32879 2013-01-09 David S. Miller <davem@davemloft.net>
32880
32881 [BZ #15003]
32882 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32883 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32884 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32885 (TCP_FASTOPEN): Define.
32886 (tcp_repair_opt): New structure.
32887 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32888 enum values.
32889 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32890 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32891 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32892 (tcp_cookie_transactions): New structure.
32893
32894 2013-01-09 Anton Blanchard <anton@samba.org>
32895
32896 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32897 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32898 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32900
32901 2013-01-09 Joseph Myers <joseph@codesourcery.com>
32902
32903 * include/features.h (__USE_ANSI): Remove.
32904
32905 2013-01-09 Roland McGrath <roland@hack.frob.com>
32906
32907 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32908
32909 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32910
32911 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32912
32913 * sysdeps/s390/fpu/libm-test-ulps: Update.
32914
32915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32916
32917 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32918 (__acr): Likewise.
32919 (__cpy): Likewise.
32920 (norm): Likewise.
32921 (denorm): Likewise.
32922 (__mp_dbl): Likewise.
32923 (__dbl_mp): Likewise.
32924 (add_magnitudes): Likewise.
32925 (sub_magnitudes): Likewise.
32926 (__add): Likewise.
32927 (__sub): Likewise.
32928 (__mul): Likewise.
32929 (__inv): Likewise.
32930 (__dvd): Likewise.
32931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32932 (__acr): Likewise.
32933 (__cpy): Likewise.
32934 (norm): Likewise.
32935 (denorm): Likewise.
32936 (__mp_dbl): Likewise.
32937 (__dbl_mp): Likewise.
32938 (add_magnitudes): Likewise.
32939 (sub_magnitudes): Likewise.
32940 (__add): Likewise.
32941 (__sub): Likewise.
32942 (__mul): Likewise.
32943 (__inv): Likewise.
32944 (__dvd): Likewise.
32945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32946 (__acr): Likewise.
32947 (__cpy): Likewise.
32948 (norm): Likewise.
32949 (denorm): Likewise.
32950 (__mp_dbl): Likewise.
32951 (__dbl_mp): Likewise.
32952 (add_magnitudes): Likewise.
32953 (sub_magnitudes): Likewise.
32954 (__add): Likewise.
32955 (__sub): Likewise.
32956 (__mul): Likewise.
32957 (__inv): Likewise.
32958 (__dvd): Likewise.
32959
32960 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32961
32962 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32963 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32964 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32965 2 && __USE_EXTERN_INLINES]: Likewise.
32966
32967 2013-01-08 Andreas Jaeger <aj@suse.de>
32968
32969 [BZ# 14985]
32970 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32971 Remove.
32972 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32973 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32974
32975 2013-01-07 Anton Blanchard <anton@samba.org>
32976
32977 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32978 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32979 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32980 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32983 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32984 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32986 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32987 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32988 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32992 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32995 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32997 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32998 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33000 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33001 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33003 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33004 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33006 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33007 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33009 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33010 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33011 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33012 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33013 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33014 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33017 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33019 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33020
33021 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33022
33023 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33024 (__MALLOC_PMT): Likewise.
33025 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33026 [__GNUC__], only on [_LIBC].
33027 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33028 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33029 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33030 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33031 forward declaration.
33032 (realloc_hook_ini): Likewise.
33033 (memalign_hook_ini): Likewise.
33034 (__libc_memalign): Do not use __MALLOC_PMT in variable
33035 declaration.
33036 (__libc_valloc): Likewise.
33037 (__libc_pvalloc): Likewise.
33038 (__libc_calloc): Likewise.
33039 (__posix_memalign): Likewise.
33040
33041 [BZ #14996]
33042 * math/s_casinh.c: Include <float.h>.
33043 (__casinh): Do not do computation with squaring and square root
33044 for large arguments.
33045 * math/s_casinhf.c: Include <float.h>.
33046 (__casinhf): Do not do computation with squaring and square root
33047 for large arguments.
33048 * math/s_casinhl.c: Include <float.h>.
33049 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33050 (__casinhl): Do not do computation with squaring and square root
33051 for large arguments.
33052 * math/libm-test.inc (casin_test): Add more tests.
33053 (casinh_test): Likewise.
33054 * sysdeps/i386/fpu/libm-test-ulps: Update.
33055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33056
33057 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33058
33059 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33060 (__x86_64_raw_data_cache_size): Likewise.
33061 (__x86_64_data_cache_size_half): Likewise.
33062 (__x86_64_raw_data_cache_size_half): Likewise.
33063 (__x86_64_shared_cache_size): Likewise.
33064 (__x86_64_raw_shared_cache_size): Likewise.
33065 (__x86_64_shared_cache_size_half): Likewise.
33066 (__x86_64_raw_shared_cache_size_half): Likewise.
33067 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33068 to ...
33069 (__x86_data_cache_size): This.
33070 (__x86_64_raw_data_cache_size): Renamed to ...
33071 (__x86_raw_data_cache_size): This.
33072 (__x86_64_data_cache_size_half): Renamed to ...
33073 (__x86_data_cache_size_half): This.
33074 (__x86_64_raw_data_cache_size_half): Renamed to ...
33075 (__x86_raw_data_cache_size_half): This.
33076 (__x86_64_shared_cache_size): Renamed to ...
33077 (__x86_shared_cache_size): This.
33078 (__x86_64_raw_shared_cache_size): Renamed to ...
33079 (__x86_raw_shared_cache_size): This.
33080 (__x86_64_shared_cache_size_half): Renamed to ...
33081 (__x86_shared_cache_size_half): This.
33082 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33083 (__x86_raw_shared_cache_size_half): This.
33084 * sysdeps/x86_64/memcpy.S: Updated.
33085 * sysdeps/x86_64/memset.S: Likewise.
33086 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33089
33090 2013-01-04 David S. Miller <davem@davemloft.net>
33091
33092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33093
33094 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33095
33096 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33097 1 to avoid redefinition warning.
33098 (__USE_GNU): Don't define.
33099 (init_signaling_nan): Protoize.
33100
33101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33102
33103 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33104
33105 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33107 (__cpymn): Likewise.
33108 (norm): Remove commented code.
33109 (denorm): Likewise.
33110 (__mp_dbl): Likewise.
33111 (__inv): Likewise.
33112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33113 (__cpymn): Likewise.
33114 (norm): Remove commented code.
33115 (denorm): Likewise.
33116 (__mp_dbl): Likewise.
33117 (__inv): Likewise.
33118
33119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33120 mp_no value for 1.0 and 2.0.
33121 (norm): Use RADIXI instead of radixi.d.
33122 (denorm): Likewise.
33123 (__mul): Use 0.0 instead of zero.d.
33124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33125 mp_no value for 1.0 and 2.0.
33126 (norm): Use RADIXI instead of radixi.d.
33127 (denorm): Likewise.
33128 (__mul): Use 0.0 instead of zero.d.
33129
33130 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33131
33132 [BZ #14994]
33133 * math/s_casinh.c (__casinh): Reduce finite argument to first
33134 quadrant then set signs of results at the end.
33135 * math/s_casinhf.c (__casinhf): Likewise.
33136 * math/s_casinhl.c (__casinhl): Likewise.
33137 * math/libm-test.inc (casin_test): Add more tests.
33138 (casinh_test): Likewise.
33139 * sysdeps/i386/fpu/libm-test-ulps: Update.
33140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141
33142 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33143
33144 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33145
33146 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33147
33148 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33149 declarations.
33150 (denorm): Likewise.
33151 (__mp_dbl): Likewise.
33152 (__inv): Likewise.
33153
33154 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33155 and adjust the header comment.
33156
33157 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33158 variable name from declaration.
33159
33160 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33163 Initialize COMMON_CPUID_INDEX_7 element.
33164 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33165 (CPUID_RTM): Likewise.
33166 (HAS_RTM): Likewise.
33167 (COMMON_CPUID_INDEX_7): New enum.
33168
33169 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33170
33171 [BZ #14981]
33172 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33173 size is zero, record memory as freed.
33174
33175 2013-01-03 Andreas Jaeger <aj@suse.de>
33176
33177 * po/ia.po: Add new Interlingua translation.
33178
33179 2012-01-03 Allan McRae <allan@archlinux.org>
33180
33181 * locale/programs/localedef.c: Fix description of '--posix' flag.
33182
33183 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33184
33185 * NEWS: Update dates in second copyright notice.
33186 * README: Update copyright dates in example.
33187 * manual/libc.texinfo: Update copyright dates.
33188 * scripts/test-installation.pl: Update copyright date in --version
33189 output.
33190
33191 * hurd/ctty-input.c: Fix copyright notice formatting.
33192 * hurd/ctty-output.c: Likewise.
33193 * hurd/dtable.c: Likewise.
33194 * hurd/hurd-raise.c: Likewise.
33195 * hurd/hurdprio.c: Likewise.
33196 * hurd/msgportdemux.c: Likewise.
33197 * misc/sys/file.h: Likewise.
33198 * misc/sys/ioctl.h: Likewise.
33199 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33200 * sysdeps/mach/hurd/chdir.c: Likewise.
33201 * sysdeps/mach/hurd/fchdir.c: Likewise.
33202 * sysdeps/mach/hurd/rename.c: Likewise.
33203 * sysdeps/mach/hurd/rmdir.c: Likewise.
33204 * sysdeps/mach/hurd/seekdir.c: Likewise.
33205 * sysdeps/mach/hurd/setsid.c: Likewise.
33206 * sysdeps/posix/wait3.c: Likewise.
33207
33208 * All files with FSF copyright notices: Update copyright dates
33209 using scripts/update-copyrights.
33210 * intl/plural.c: Regenerated.
33211 * locale/programs/charmap-kw.h: Likewise.
33212 * locale/programs/locfile-kw.h: Likewise.
33213
33214 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33215
33216 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33217 four values.
33218
33219 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33220 calculation loop and add branch prediction.
33221
33222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33223 check access beyond bounds of m1np.
33224
33225 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33226 MPTWO.
33227 (__inv): Remove local variable MPTWO to use the global
33228 constant.
33229 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33231 variable MPTWO.
33232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33233 MP3HALFS static const.
33234
33235 2013-01-01 David S. Miller <davem@davemloft.net>
33236
33237 * po/ca.po: Update from translation team.
33238
33239 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33240
33241 * scripts/update-copyrights: New file.
33242 * Makeconfig: Reformat copyright notice.
33243 * ctype/ctype.h: Likewise.
33244 * debug/swprintf_chk.c: Likewise.
33245 * elf/dl-cache.c: Likewise.
33246 * elf/dl-debug.c: Likewise.
33247 * elf/dl-object.c: Likewise.
33248 * grp/initgroups.c: Likewise.
33249 * hurd/Makefile: Likewise.
33250 * hurd/hurd/signal.h: Likewise.
33251 * hurd/hurdfault.c: Likewise.
33252 * hurd/hurdioctl.c: Likewise.
33253 * hurd/hurdlookup.c: Likewise.
33254 * hurd/intr-msg.c: Likewise.
33255 * iconv/gconv_open.c: Likewise.
33256 * libio/swprintf.c: Likewise.
33257 * locale/lc-ctype.c: Likewise.
33258 * locale/nl_langinfo.c: Likewise.
33259 * mach/Machrules: Likewise.
33260 * mach/Makefile: Likewise.
33261 * malloc/obstack.h: Likewise.
33262 * manual/Makefile: Likewise.
33263 * manual/tsort.awk: Likewise.
33264 * misc/bits/stab.def: Likewise.
33265 * nis/nis_print_group_entry.c: Likewise.
33266 * nis/nis_table.c: Likewise.
33267 * nis/nss_compat/compat-pwd.c: Likewise.
33268 * nis/nss_compat/compat-spwd.c: Likewise.
33269 * po/Makefile: Likewise.
33270 * posix/fnmatch.c: Likewise.
33271 * posix/regex.h: Likewise.
33272 * resolv/Makefile: Likewise.
33273 * resolv/nss_dns/dns-network.c: Likewise.
33274 * resolv/res_hconf.c: Likewise.
33275 * scripts/gen-sorted.awk: Likewise.
33276 * soft-fp/soft-fp.h: Likewise.
33277 * stdio-common/printf.h: Likewise.
33278 * stdlib/monetary.h: Likewise.
33279 * stdlib/random.c: Likewise.
33280 * stdlib/random_r.c: Likewise.
33281 * sysdeps/generic/Makefile: Likewise.
33282 * sysdeps/gnu/Makefile: Likewise.
33283 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33306 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33307 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33309 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33310 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33311 * sysdeps/mach/hurd/errnos.awk: Likewise.
33312 * sysdeps/mach/hurd/fork.c: Likewise.
33313 * sysdeps/mach/hurd/getcwd.c: Likewise.
33314 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33315 * sysdeps/mach/hurd/mmap.c: Likewise.
33316 * sysdeps/mach/hurd/utimes.c: Likewise.
33317 * sysdeps/mach/hurd/xmknod.c: Likewise.
33318 * sysdeps/posix/profil.c: Likewise.
33319 * sysdeps/posix/readdir_r.c: Likewise.
33320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33321 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33322 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33323 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33327 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33331 * sysdeps/pthread/lio_listio.c: Likewise.
33332 * sysdeps/sparc/dl-procinfo.h: Likewise.
33333 * sysdeps/unix/i386/sysdep.S: Likewise.
33334 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33335 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33336 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33337 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33339 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33340 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33341 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33342 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33343 * sysdeps/wordsize-32/divdi3.c: Likewise.
33344 * time/sys/time.h: Likewise.
33345 * wcsmbs/Makefile: Likewise.
33346
33347 2013-01-01 David S. Miller <davem@davemloft.net>
33348
33349 * po/fr.po: Update from translation team.
33350
33351 * catgets/gencat.c: Update copyright year.
33352 * csu/version.c: Likewise.
33353 * debug/catchsegv.sh: Likewise.
33354 * debug/pcprofiledump.c: Likewise.
33355 * debug/xtrace.sh: Likewise.
33356 * elf/ldconfig.c: Likewise.
33357 * elf/ldd.bash.in: Likewise.
33358 * elf/pldd.c: Likewise.
33359 * elf/sotruss.ksh: Likewise.
33360 * elf/sprof.c: Likewise.
33361 * iconv/iconv_prog.c: Likewise.
33362 * iconv/iconvconfig.c: Likewise.
33363 * locale/programs/locale.c: Likewise.
33364 * locale/programs/localedef.c: Likewise.
33365 * login/programs/pt_chown.c: Likewise.
33366 * malloc/memusage.sh: Likewise.
33367 * malloc/memusagestat.c: Likewise.
33368 * malloc/mtrace.pl: Likewise.
33369 * nscd/nscd.c: Likewise.
33370 * nss/getent.c: Likewise.
33371 * nss/makedb.c: Likewise.
33372 * posix/getconf.c: Likewise.
33373
33374 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33375
33376 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33377 numbers.
33378
33379 2012-12-30 Mike Frysinger <vapier@gentoo.org>
33380
33381 * math/bits/mathcalls.h (modf): Use __nonnull.
33382
33383 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33384
33385 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33386 (split): Use macro CN instead of the bare value.
33387 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33388 could be used.
33389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33390 instead of the bare value.
33391 (power1): Likewise.
33392
33393 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33394
33395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33396 __ATAN_TWOM.
33397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33398
33399 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33400 their values.
33401 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33403 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33404 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33405
33406 2012-12-28 Andreas Jaeger <aj@suse.de>
33407
33408 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33409 values are from Linux 3.7.
33410
33411 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33412 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33413
33414 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33415
33416 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33417 TRUE case.
33418
33419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33420 (norm): Likewise.
33421 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33422 variables with preprocessor constants.
33423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33424 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33426
33427 2012-12-27 Bruno Haible <bruno@clisp.org>
33428
33429 [BZ #14317]
33430 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33431 only if needed.
33432
33433 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33434
33435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33436 and use variable directly.
33437 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33438
33439 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33440 MPONE.
33441 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33442 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33443 variable MPONE.
33444 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33446 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33447 include directive. Remove local variable MPONE.
33448 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33449 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33450 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33451
33452 2012-12-25 David S. Miller <davem@davemloft.net>
33453
33454 * version.h (RELEASE): Set to "development".
33455 (VERSION): Set to "2.17.90".
33456 * NEWS: Add 2.18 section.
33457
33458 2012-12-21 David S. Miller <davem@davemloft.net>
33459
33460 * po/hr.po: Update from translation team.
33461
33462 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33463
33464 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33465
33466 2012-12-19 Steve Ellcey <sellcey@mips.com>
33467
33468 * NEWS: Mention new memcpy for MIPS.
33469
33470 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33471
33472 * manual/contrib.texi (Contributors): Spelling correction.
33473
33474 2012-12-15 David S. Miller <davem@davemloft.net>
33475
33476 * po/ru.po: Update from translation team.
33477
33478 2012-12-13 David S. Miller <davem@davemloft.net>
33479
33480 * NEWS: Mention IFUNC testsuite enhancements.
33481
33482 * po/pl.po: Update from translation team.
33483 * po/bg.po: Likewise.
33484
33485 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33486 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33487
33488 2012-12-11 David S. Miller <davem@davemloft.net>
33489
33490 * po/sv.po: Update from translation team.
33491
33492 * po/vi.po: Update from translation team.
33493
33494 * po/cs.po: Update from translation team.
33495
33496 * po/de.po: Update from translation team.
33497 * po/eo.po: Likewise.
33498 * po/nl.po: Likewise.
33499
33500 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33501
33502 [BZ #14246]
33503 * manual/argp.texi (Argp Helper Functions): Move node to follow
33504 Argp Parsing State.
33505
33506 [BZ #14872]
33507 * manual/conf.texi (Limits on File System Capacity): Mention if
33508 terminating null is included in the max size.
33509
33510 2012-12-10 Andreas Jaeger <aj@suse.de>
33511
33512 * po/cs.po: Update from translation team.
33513
33514 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33515
33516 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33517 void pointer and cast to uintptr_t.
33518 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33519 path.
33520 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33521 * sysdeps/s390/s390-64/memset.S: Likewise.
33522
33523 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
33524
33525 [BZ #14833]
33526 * menual/message.texi (Message Translation): Fix typos.
33527 (Helper programs for gettext): Likewise.
33528
33529 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33530
33531 [BZ #14898]
33532 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33533 Change to -1.
33534
33535 2012-12-07 David S. Miller <davem@davemloft.net>
33536
33537 * po/libc.pot: Update.
33538
33539 2012-12-07 Richard Henderson <rth@redhat.com>
33540
33541 [BZ #10114]
33542 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33543 normal/normal case to before the switch.
33544 (_FP_DIV): Likewise.
33545
33546 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33547 Mike Frysinger <vapier@gentoo.org>
33548
33549 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33550 check for __NR_fadvise64_64.
33551
33552 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33553
33554 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33555 0, not just to plain "0" as a statement.
33556 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33557 with cw.
33558
33559 2012-12-06 Joseph Myers <joseph@codesourcery.com>
33560
33561 * NEWS: Use sourceware.org in Bugzilla URL.
33562
33563 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33564
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33566 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33567
33568 * stdio-common/tst-put-error.c (do_test): Add newline to the
33569 padded test to ensure flush.
33570
33571 2012-12-05 Jeff Law <law@redhat.com>
33572
33573 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33574
33575 2012-12-05 Joseph Myers <joseph@codesourcery.com>
33576
33577 * README: Don't refer to ports add-on as distributed separately.
33578 Mention AArch64 in list of systems supported in the ports add-on.
33579
33580 * LICENSES: Add more non-FSF copyright and license notices.
33581
33582 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33583 ((unused)).
33584
33585 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33586
33587 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33588 10000 as width of padded output.
33589
33590 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33591
33592 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33593
33594 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33595 variable LX with __attribute__ ((unused)).
33596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33597 Likewise.
33598 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33600 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33601 with __attribute__ ((unused)).
33602
33603 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
33604
33605 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33606
33607 2012-12-04 Joseph Myers <joseph@codesourcery.com>
33608
33609 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33610 (CFLAGS-nldbl-acos.c): New variable.
33611 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33652 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33653 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33654 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33655 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33656 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33657 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33658 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33659 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33660 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33661 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33662 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33663 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33664 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33665 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33666 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33667 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33668 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33669 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33670 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33671 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33672 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33673 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33674 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33675 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33676 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33677 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33678 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33679 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33680 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33681 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33682 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33683 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33684 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33685 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33686 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33687 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33688 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33689 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33690 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33691 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33692 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33693 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33694 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33695 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33696 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33697 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33698 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33699 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33700 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33701 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33702 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33703 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33704 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33705 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33706 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33707 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33708
33709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33710 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33711
33712 [BZ #14914]
33713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33714 whole low double instead of just low 47 bits when splitting values
33715 into two parts.
33716
33717 2012-12-03 Allan McRae <allan@archlinux.org>
33718
33719 * manual/stdio.texi (Predefined Printf Handlers): Remove
33720 @hsep and @vsep usage.
33721
33722 2012-12-03 Mike Frysinger <vapier@gentoo.org>
33723
33724 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33725 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33726
33727 2012-12-03 Jeff Law <law@redhat.com>
33728
33729 * time/sys/time.h (settimeofday): Do not mark TV argument
33730 as __nonnull.
33731
33732 2012-12-01 Mike Frysinger <vapier@gentoo.org>
33733
33734 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33735 when currently writing and seek to current position when not.
33736 * libio/Makefile (tests): Remove bug-fclose1.
33737 * libio/bug-fclose1.c: Delete.
33738
33739 2012-12-01 Joseph Myers <joseph@codesourcery.com>
33740
33741 * manual/arith.texi (feenableexcept): Fix typo.
33742 (fedisableexcept): Likewise.
33743
33744 2012-11-30 Roland McGrath <roland@hack.frob.com>
33745
33746 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33747 second, differently-typed declaration, rather than a cast.
33748
33749 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33750
33751 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33752 * include/rpc/svc.h: ... here.
33753
33754 2012-11-30 Aurelien Jarno <aurel32@debian.org>
33755
33756 [BZ #13013]
33757 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33758 depending n and resplen2 to catch cases where answer
33759 equals answerp2.
33760
33761 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33762
33763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33764 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33765
33766 2012-11-29 Mike Frysinger <vapier@gentoo.org>
33767
33768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33769
33770 2012-11-29 Roland McGrath <roland@hack.frob.com>
33771
33772 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33773
33774 2012-11-28 Jeff Law <law@redhat.com>
33775
33776 [BZ #13761]
33777 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33778 dataset_temporary. Track alloca usage into alloca_used.
33779 If dataset is large allocate and release it via malloc/free.
33780
33781 2012-06-04 Florian Weimer <fweimer@redhat.com>
33782
33783 [BZ #14197]
33784 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33785
33786 2012-11-28 David S. Miller <davem@davemloft.net>
33787
33788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33789
33790 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33791
33792 [BZ #14803]
33793 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33794 of pi/2 rounded to nearest to 64 bits.
33795 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33796 nearest to 64 bits.
33797 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33798 bits.
33799
33800 2012-11-28 Jeff Law <law@redhat.com>
33801 Martin Osvald <mosvald@redhat.com>
33802
33803 [BZ #14889]
33804 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33805 * sunrpc/svc.c: Include time.h.
33806 (__svc_accept_failed): New function.
33807 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33808 any reason other than EINTR, call __svc_accept_failed.
33809 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33810 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33811
33812 2012-11-28 Andreas Schwab <schwab@suse.de>
33813
33814 * scripts/abilist.awk: Also handle indirect functions in .opd
33815 section.
33816
33817 2012-11-28 Joseph Myers <joseph@codesourcery.com>
33818
33819 [BZ #13881]
33820 * sysdeps/x86/fpu/powl_helper.c: New file.
33821 * sysdeps/x86/fpu/Makefile: Likewise.
33822 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33823 (p3): New object.
33824 (__ieee754_powl): Use __powl_helper for finite arguments except
33825 integer exponents below 8.
33826 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33827 (p3): New object.
33828 (__ieee754_powl): Use __powl_helper for finite arguments except
33829 integer exponents below 8.
33830 * math/libm-test.inc (pow_test): Add more tests and enable some
33831 previously disabled tests.
33832 * sysdeps/i386/fpu/libm-test-ulps: Update.
33833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33834
33835 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33836 Carlos O'Donell <carlos_odonell@mentor.com>
33837
33838 * nss/makedb.c (is_prime): Assert that input is odd and greater
33839 than 4. Note that fact in a comment too.
33840 (next_prime): Add 4 to input.
33841
33842 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33843
33844 [BZ #11741]
33845 * libio/Makefile (tests): Add test case tst-fwrite-error.
33846 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33847 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33848 * libio/tst-fwrite-error.c: New test case.
33849
33850 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33851
33852 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33853 before casting to void *.
33854 * include/libc-internal.h (__pointer_type): New macro.
33855 (__integer_if_pointer_type_sub): Likewise.
33856 (__integer_if_pointer_type): Likewise.
33857 (cast_to_integer): Likewise.
33858 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33859 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33860 before casting to atomic64_t.
33861 (atomic_exchange_acq): Likewise.
33862 (__arch_exchange_and_add_body): Likewise.
33863 (__arch_add_body): Likewise.
33864 (atomic_add_negative): Likewise.
33865 (atomic_add_zero): Likewise.
33866
33867 2012-11-26 Joseph Myers <joseph@codesourcery.com>
33868
33869 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33870 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33871 (add_fdes): Likewise.
33872 (linear_search_fdes): Likewise.
33873 (binary_search_unencoded_fdes): Likewise.
33874
33875 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33876
33877 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33878
33879 2012-11-24 Adam Conrad <adconrad@0c3.net>
33880
33881 * configure.in: Autodetect C++ header directories.
33882 * configure: Regenerated.
33883
33884 2012-11-23 Mike Frysinger <vapier@gentoo.org>
33885
33886 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33887
33888 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33889
33890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33891
33892 2012-11-22 Joseph Myers <joseph@codesourcery.com>
33893
33894 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33895 LDBL_MANT_DIG == 106]: Disable some tests.
33896 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33897 Likewise.
33898 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33899 Likewise.
33900
33901 [BZ #14871]
33902 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33903 input for small inputs. Return +/- pi/2 for large inputs.
33904 * math/libm-test.inc (atan_test): Add more tests.
33905
33906 * sysdeps/generic/unwind-dw2-fde-glibc.c
33907 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33908 __attribute__ ((unused)).
33909
33910 [BZ #14645]
33911 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33912 x * y if x and y are nonzero and z is zero.
33913
33914 [BZ #14811]
33915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33916 nonzero exponents with absolute value below 0x1p-117 to +/-
33917 0x1p-117.
33918
33919 [BZ #14869]
33920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33921 up arguments below 2**-450, not just those below 2**-500.
33922 * math/libm-test.inc (hypot_test): Add another test.
33923
33924 [BZ #14868]
33925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33926 Return a+b for ratio over 2**120, not 2**60.
33927 * math/libm-test.inc (hypot_test): Add another test.
33928
33929 * math/libm-test.inc (clog_test): Use
33930 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33931 (clog10_test): Likewise.
33932
33933 [BZ #6778]
33934 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33935
33936 2012-11-22 Andreas Schwab <schwab@suse.de>
33937
33938 * sysdeps/i386/fpu/libm-test-ulps: Update.
33939
33940 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33941
33942 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33943 printf output with newline.
33944
33945 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33946
33947 [BZ #14865]
33948 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33949 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33950 -z nodlopen, -z initfirst and -z execstack support.
33951 * configure: Regenerated.
33952
33953 * elf/elf.h (DF_1_NODIRECT): New macro.
33954 (DF_1_IGNMULDEF): Likewise.
33955 (DF_1_NOKSYMS): Likewise.
33956 (DF_1_NOHDR): Likewise.
33957 (DF_1_EDITED): Likewise.
33958 (DF_1_NORELOC): Likewise.
33959 (DF_1_SYMINTPOSE): Likewise.
33960 (DF_1_GLOBAUDIT): Likewise.
33961 (DF_1_SINGLETON): Likewise.
33962 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33963 DT_1_SUPPORTED_MASK bits.
33964 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33965
33966 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33967
33968 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33969
33970 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33971
33972 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33973 macro.
33974
33975 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33976 (sendmmsg): Move declarations...
33977 * socket/sys/socket.h: ... here.
33978 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33979 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33980 include it from...
33981 * socket/recvmmsg.c: ... this new file.
33982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33983 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33984 definition of __sendmmsg hidden.
33985 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33986 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33987 Move ENOSYS stub into and include it from...
33988 * socket/sendmmsg.c: ... this new file.
33989 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33990 (sysdep_routines): Move recvmmsg and sendmmsg...
33991 * socket/Makefile (routines): ... here.
33992 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33993 (GLIBC_PRIVATE): Add __sendmmsg.
33994 * include/sys/socket.h (__sendmmsg): Add declarations.
33995 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33996 sendmmsg.
33997
33998 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33999
34000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34001 variable I1 with __attribute__ ((unused)).
34002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34003
34004 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34005
34006 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34007 DUMMY variables with __attribute__ ((unused)).
34008
34009 * bits/byteswap.h: Include <bits/types.h>.
34010 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34011
34012 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34013
34014 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34015 string_t. Do not manually set errno.
34016 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34017 length with __strnlen. Make sure to both set errno and return it on
34018 failure.
34019
34020 2012-11-19 David S. Miller <davem@davemloft.net>
34021
34022 With help from Joseph Myers.
34023 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34024 very large arguments properly.
34025 * math/libm-test.inc (atan_test): New tests.
34026 (atan2_test): New tests.
34027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34029
34030 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34031
34032 [BZ #14856]
34033 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34034 Define to 3.
34035
34036 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34037 [POSIX] (EADDRNOTAVAIL): Likewise.
34038 [POSIX] (EAFNOSUPPORT): Likewise.
34039 [POSIX] (EALREADY): Likewise.
34040 [POSIX] (ECONNABORTED): Likewise.
34041 [POSIX] (ECONNREFUSED): Likewise.
34042 [POSIX] (ECONNRESET): Likewise.
34043 [POSIX] (EDESTADDRREQ): Likewise.
34044 [POSIX] (EDQUOT): Likewise.
34045 [POSIX] (EHOSTUNREACH): Likewise.
34046 [POSIX] (EIDRM): Likewise.
34047 [POSIX] (EISCONN): Likewise.
34048 [POSIX] (ELOOP): Likewise.
34049 [POSIX] (EMULTIHOP): Likewise.
34050 [POSIX] (ENETDOWN): Likewise.
34051 [POSIX] (ENETUNREACH): Likewise.
34052 [POSIX] (ENOBUFS): Likewise.
34053 [POSIX] (ENODATA): Likewise.
34054 [POSIX] (ENOLINK): Likewise.
34055 [POSIX] (ENOMSG): Likewise.
34056 [POSIX] (ENOPROTOOPT): Likewise.
34057 [POSIX] (ENOSR): Likewise.
34058 [POSIX] (ENOSTR): Likewise.
34059 [POSIX] (ENOTCONN): Likewise.
34060 [POSIX] (ENOTSOCK): Likewise.
34061 [POSIX] (EOPNOTSUPP): Likewise.
34062 [POSIX] (EOVERFLOW): Likewise.
34063 [POSIX] (EPROTO): Likewise.
34064 [POSIX] (EPROTONOSUPPORT): Likewise.
34065 [POSIX] (EPROTOTYPE): Likewise.
34066 [POSIX] (ESTALE): Likewise.
34067 [POSIX] (ETIME): Likewise.
34068 [POSIX] (ETXTBSY): Likewise.
34069 [POSIX] (EWOULDBLOCK): Likewise.
34070 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34071 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34072 [POSIX] (SEEK_CUR): Likewise.
34073 [POSIX] (SEEK_END): Likewise.
34074 [POSIX || UNIX98] (mode_t): Do not require.
34075 [POSIX] (off_t): Likewise.
34076 [POSIX] (pid_t): Likewise.
34077 [POSIX] (sys/stat.h): Do not allow header.
34078 [POSIX] (unistd.h): Likewise.
34079 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34080 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34081 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34082 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34083 require.
34084 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34085 sigevent): Specify elements.
34086 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34087 entry.
34088 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34089 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34090
34091 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34092 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34093 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34094 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34095 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34096 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34097 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34098 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34099 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34100 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34101 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34102 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34103 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34104 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34105 Likewise.
34106 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34107 Likewise.
34108 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34109 Likewise.
34110 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34111 Likewise.
34112 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34113 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34114 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34115 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34117 Specify lower bound on value.
34118 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34119 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34124 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34125 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34126 value.
34127 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34128 as optional.
34129 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34133 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34138 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34139 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34140 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34141 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34142 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34143 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34145 entry.
34146 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34147 optional.
34148 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34149 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34150 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34151 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34154 Likewise.
34155 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34156 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34157 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34158 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34159 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34160 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34161 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34162 as optional.
34163 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34165 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34166 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34167 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34168 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34169 specify as optional.
34170 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34171 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34172 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34173 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34174 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34175 [XPG3] (NL_LANGMAX): Likewise.
34176 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34177 [POSIX || XPG3] (NL_NMAX): Likewise.
34178 [POSIX || XPG3] (NL_SETMAX): Likewise.
34179 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34180 [XPG3] (NZERO): Likewise.
34181 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34182 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34183 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34184 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34185 (REG_ERANGE): Expect.
34186 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34187 optional-constant.
34188 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34189 Use (void) in prototype.
34190 [POSIX] (*_t): Allow.
34191 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34192 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34193 (WRDE_BADVAL): Expect.
34194
34195 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34196 expect.
34197 [XPG3 || XPG4] (O_RSYNC): Likewise.
34198 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34199 Likewise.
34200 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34201 [XPG3 || XPG4] (sigqueue): Likewise.
34202 [XPG3 || XPG4] (sigtimedwait): Likewise.
34203 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34204 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34205 [XPG3 || XPG4] (vsnprintf): Likewise.
34206 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34207 Likewise.
34208 [XPG3 || XPG4] (blksize_t): Likewise.
34209 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34210 Likewise.
34211 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34212 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34213 [XPG3 || XPG4] (struct itimerspec): Likewise.
34214 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34215 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34216 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34217 [XPG3 || XPG4] (clockid_t): Likewise.
34218 [XPG3 || XPG4] (timer_t): Likewise.
34219 [XPG3 || XPG4] (clock_getres): Likewise.
34220 [XPG3 || XPG4] (clock_gettime): Likewise.
34221 [XPG3 || XPG4] (clock_settime): Likewise.
34222 [XPG3 || XPG4] (nanosleep): Likewise.
34223 [XPG3 || XPG4] (timer_create): Likewise.
34224 [XPG3 || XPG4] (timer_delete): Likewise.
34225 [XPG3 || XPG4] (timer_gettime): Likewise.
34226 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34227 [XPG3 || XPG4] (timer_settime): Likewise.
34228 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34229 [XPG3 || XPG4] (getlogin_r): Likewise.
34230 [XPG3 || XPG4] (pread): Likewise.
34231 [XPG3 || XPG4] (pthread_atfork): Likewise.
34232 [XPG3 || XPG4] (pwrite): Likewise.
34233
34234 [BZ #14835]
34235 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34236 <bits/siginfo.h>.
34237
34238 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34239
34240 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34241 finalizing MALLSTREAM.
34242
34243 * sysdeps/mach/hurd/syncfs.c: New file.
34244
34245 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34246
34247 [BZ #14719]
34248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34249 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34250 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34251 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34252 (_nss_dns_gethostbyname4_r): Likewise.
34253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34254 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34255
34256 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34257
34258 [BZ #13763]
34259 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34260
34261 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34262
34263 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34264 * elf/cache.c (print_entry): Print ",AArch64" for
34265 FLAG_AARCH64_LIB64
34266
34267 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34268 * elf/cache.c (print_entry): Print ",hard-float" for
34269 FLAG_ARM_LIBHF.
34270
34271 2012-11-18 David S. Miller <davem@davemloft.net>
34272
34273 With help from Joseph Myers.
34274 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34275 cutoff to 2**-13.
34276 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34277 cutoff to 2**-25.
34278 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34279 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34280 small.
34281 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34282 * math/libm-test.inc (y0_test): New tests.
34283 (y1_test): New tests.
34284 * sysdeps/i386/fpu/libm-test-ulps: Update.
34285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34287
34288 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34289
34290 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34291 64-bit targets.
34292 * configure: Regenerated.
34293
34294 2012-11-17 David S. Miller <davem@davemloft.net>
34295
34296 [BZ #14811]
34297 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34298 nonzero exponents with absolute value below 0x1p-128 to +/-
34299 0x1p-128.
34300
34301 2012-11-17 Joseph Myers <joseph@codesourcery.com>
34302
34303 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34304
34305 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34306
34307 * posix/getconf-speclist.c: New file.
34308 * posix/posix-envs.def: Likewise.
34309 * posix/confstr.c (START_ENV_GROUP): New macro.
34310 (END_ENV_GROUP): Likewise.
34311 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34312 (KNOWN_PRESENT_ENV_STRING): Likewise.
34313 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34314 (UNKNOWN_ENVIRONMENT): Likewise.
34315 (confstr): Include posix-envs.def instead of handling
34316 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34317 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34318 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34319 (END_ENV_GROUP): Likewise.
34320 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34321 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34322 (UNKNOWN_ENVIRONMENT): Likewise.
34323 (__sysconf): Include posix-envs.def instead of handling associated
34324 cases directly here.
34325 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34326 preprocessing getconf-speclist.c rather than running getconf or
34327 generating empty file.
34328
34329 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34330
34331 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34332
34333 2012-11-16 Andrej Lajovic <natrij@gmail.com>
34334
34335 [BZ #14672]
34336 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34337
34338 2012-11-16 David S. Miller <davem@davemloft.net>
34339
34340 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34341 smaller than LDBL_EPSILON/2.0L, just return xm1.
34342
34343 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34344
34345 * elf/tst-array1.c (init): Set constructor priority to 1000.
34346 (fini): Set destructor priority to 1000.
34347 * elf/tst-array2dep.c: Likewise.
34348
34349 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34350
34351 [BZ #11741]
34352 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34353 (_IO_new_file_xsputn): Also return EOF if none of the input
34354 data was written when overflow failed.
34355 * libio/iopadn.c (_IO_padn): Likewise.
34356 * libio/iowpadn.c (_IO_wpadn): Likewise.
34357 * stdio-common/tst-put-error.c: Add copyright notice.
34358 (do_test): Add case for printing padded string.
34359 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34360 _IO_padn returned error.
34361 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34362 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34363 return EOF.
34364
34365 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34366
34367 * libio/libioP.h: Add comment note that the references to C++
34368 bits are now obsolete.
34369
34370 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34371
34372 * math/libm-test.inc (check_complex): Use asprintf.
34373
34374 2012-11-14 Joseph Myers <joseph@codesourcery.com>
34375
34376 * debug/pcprofiledump.c (print_version): Update copyright year.
34377 * malloc/memusagestat.c (print_version): Likewise.
34378
34379 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34380
34381 [BZ #14831]
34382 * elf/Makefile (tests): Add tst-audit8.
34383 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34384 ($(objpfx)tst-audit8.out): New target.
34385 (tst-audit8-ENV): New variable.
34386 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34387 audit if l_reloc_result is NULL.
34388 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34389 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34390 * elf/tst-audit8.c: New file.
34391
34392 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34393
34394 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34395 * misc/Makefile (CFLAGS-select.c): Define.
34396 * posix/Makefile (CFLAGS-pause.c): Define.
34397
34398 2012-11-13 David S. Miller <davem@davemloft.net>
34399
34400 * crypt/Makefile: Move test targets after toplevel Rules
34401 inclusion. Grab any necessary sysdep routines when linking.
34402 * crypt/md5.c (md5_process_block): Remove define, we will always
34403 name it __md5_process_block.
34404 (md5_finish_ctx): Update md5_process_block call.
34405 (md5_stream): Likewise.
34406 (md5_process_bytes): Likewise.
34407 (md5_process_block): Rename to __md5_process_block and move to ...
34408 * crypt/md5-block.c: ... here.
34409 * crypt/sha256.c (sha256_process_block): Move to ...
34410 * crypt/sha256-block.c: ... here.
34411 * crypt/sha512.c (sha512_process_block): Move to ...
34412 * crypt/sha512-block.c: ... here.
34413 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34414 path.
34415 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34416 * sysdeps/sparc/sparc64/multiarch/Makefile
34417 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34418 crypt subdir.
34419 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34420 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34421 multiarch changes.
34422 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34423 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34424 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34425 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34426 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34427 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34428 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34429 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34431 file.
34432 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34433 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34434 file.
34435 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34436
34437 2012-11-13 Joseph Myers <joseph@codesourcery.com>
34438
34439 * timezone/tzselect.ksh: Update from tzcode git revision
34440 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34441 * timezone/zdump.c: Likewise.
34442 * timezone/zic.c: Likewise.
34443 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34444 in TZVERSION setting, not $(PKGVERSION).
34445 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34446 REPORT_BUGS_TO settings.
34447
34448 [BZ #14838]
34449 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34450 macro.
34451
34452 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34453
34454 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34455 detection to immediately after _FP_ROUND().
34456 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34457 bits are 0.
34458
34459 2012-11-11 David S. Miller <davem@davemloft.net>
34460
34461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34462 inttypes.h
34463 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34464 __close rather than their public counterparts.
34465
34466 2012-11-10 Joseph Myers <joseph@codesourcery.com>
34467
34468 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34469 file.
34470 [UNIX98] (sem_timedwait): Do not expect.
34471 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34472 [XPG4 || UNIX98] (sockatmark): Do not expect.
34473 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34474 (clock_getcpuclockid): Do not expect.
34475 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34476 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34477 Do not expect.
34478 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34479 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34480 [UNIX98] (vwscanf): Likewise.
34481 [UNIX98] (vswscanf): Likewise.
34482
34483 2012-11-09 Joseph Myers <joseph@codesourcery.com>
34484
34485 * timezone/version.h: Remove file.
34486 * timezone/README: Do not refer to version.h.
34487 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34488 $(objpfx)version.h.
34489 ($(objpfx)zdump.o): Likewise.
34490 ($(objpfx)version.h): New target.
34491
34492 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34493 2012i.
34494 * timezone/README: Don't mention modification to tzselect.ksh.
34495 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34496 work on unmodified tzselect.ksh. Substitute version numbers in
34497 tzselect.ksh.
34498
34499 * Makefile (format-me): Remove.
34500 (INSTALL): Adjust indentation. Use commands directly instead of
34501 using $(format-me).
34502
34503 * aclocal.m4 (ACX_PKGVERSION): New macro.
34504 (ACX_BUGURL): Likewise.
34505 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34506 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34507 (REPORT_BUGS_TO): Likewise.
34508 * configure: Regenerated.
34509 * config.h.in (PKGVERSION): New macro.
34510 (REPORT_BUGS_TO): Likewise.
34511 * config.make.in (PKGVERSION): New variable.
34512 (PKGVERSION_TEXI): Likewise.
34513 (REPORT_BUGS_TO): Likewise.
34514 (REPORT_BUGS_TEXI): Likewise.
34515 * Makefile (format-me): Use -I$(common-objpfx)manual.
34516 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34517 ($(common-objpfx)manual/%): New target.
34518 (manual/%): Remove target.
34519 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34520 (print_version): Use PKGVERSION.
34521 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34522 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34523 and REPORT_BUGS_TO.
34524 ($(objpfx)xtrace): Likewise.
34525 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34526 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34527 (print_version): Use PKGVERSION.
34528 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34529 (do_version): Use PKGVERSION.
34530 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34531 REPORT_BUGS_TO.
34532 (common-ldd-rewrite): Likewise.
34533 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34534 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34535 (print_version): Use PKGVERSION.
34536 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34537 * elf/pldd.c (argp_program_bug_address): Remove variable.
34538 (more_help): New function.
34539 (argp): Use more_help.
34540 (print_version): Use PKGVERSION.
34541 * elf/sln.c (main): Use PKGVERSION.
34542 (usage): Use REPORT_BUGS_TO.
34543 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34544 (top level): Use PKGVERSION.
34545 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34546 (print_version): Use PKGVERSION.
34547 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34548 (print_version): Use PKGVERSION.
34549 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34550 (print_version): Use PKGVERSION.
34551 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34552 (print_version): Use PKGVERSION.
34553 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34554 (print_version): Use PKGVERSION.
34555 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34556 (print_version): Use PKGVERSION.
34557 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34558 and BUGURL.
34559 ($(objpfx)memusage): Likewise.
34560 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34561 (do_version): Use PKGVERSION.
34562 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34563 (print_version): Use PKGVERSION.
34564 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34565 ($PKGVERSION): New variable.
34566 ($REPORT_BUGS_TO): Likewise.
34567 (usage): Use $REPORT_BUGS_TO.
34568 (top level): Use $PKGVERSION.
34569 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34570 ($(objpfx)pkgvers.texi): New rule.
34571 ($(objpfx)stamp-pkgvers): Likewise.
34572 * manual/install.texi: Include pkgvers.texi.
34573 (--with-pkgversion): Document new configure option.
34574 (--with-bugurl): Likewise.
34575 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34576 than necessarily for this particular distribution. Use
34577 REPORT_BUGS_TO for where to report bugs.
34578 * INSTALL: Regenerated.
34579 * manual/libc.texinfo: Include pkgvers.texi.
34580 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34581 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34582 (print_version): Use PKGVERSION.
34583 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34584 (print_version): Use PKGVERSION.
34585 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34586 (print_version): Use PKGVERSION.
34587 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34588 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34589 macro.
34590 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34591 (print_version): Use PKGVERSION.
34592 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34593 (print_version): Use PKGVERSION.
34594 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34595 and PKGVERSION.
34596
34597 * timezone/checktab.awk: Update from tzcode 2012i.
34598 * timezone/ialloc.c: Likewise.
34599 * timezone/private.h: Likewise.
34600 * timezone/scheck.c: Likewise.
34601 * timezone/tzfile.h: Likewise.
34602 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34603 (TZVERSION): Hardcode tzcode version number.
34604 * timezone/zdump.c: Update from tzcode 2012i.
34605 * timezone/zic.c: Likewise.
34606 * timezone/version.h: New file.
34607 * timezone/README: Describe version.h. Update upstream location.
34608
34609 [BZ #14824]
34610 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34611 (mktemp): Enable declaration.
34612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34616 Likewise.
34617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34618 Likewise.
34619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34620 Likewise.
34621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34622 Likewise.
34623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34624 Likewise.
34625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34626 Likewise.
34627
34628 [BZ #14821]
34629 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34630 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34631 for copies of such integer values.
34632 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34633 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34634
34635 2012-11-09 Andreas Jaeger <aj@suse.de>
34636
34637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34638 definitions and declarations that are provided by
34639 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34640
34641 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34642
34643 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34644 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34645 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34646 definition.
34647
34648 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34649
34650 * elf/elf.h: Update comment before AArch64 relocations.
34651
34652 2012-11-07 David S. Miller <davem@davemloft.net>
34653
34654 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34655 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34656 (__start_context): Declare.
34657 (__makecontext_ret): Delete.
34658 (__makecontext): Hook up __start_context instead of
34659 __makecontext_ret.
34660 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34661 (sysdep_routines): Add __start_context when in stdlib.
34662
34663 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34664
34665 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34666 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34667 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34668 hardcoded "nm".
34669 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34670 (READELF): New variable. Use it instead of hardcoded "readelf".
34671
34672 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34673
34674 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34675 * sysdeps/x86/Makefile: Here.
34676 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34677 * sysdeps/x86/tst-xmmymm.sh: This.
34678
34679 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34680
34681 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34682 expectations.
34683 [UNIX98] (pthread_barrier_t): Do not expect.
34684 [UNIX98] (pthread_barrierattr_t): Likewise.
34685 [UNIX98] (pthread_spinlock_t): Likewise.
34686 [UNIX98] (pthread_barrier_destroy): Likewise.
34687 [UNIX98] (pthread_barrier_init): Likewise.
34688 [UNIX98] (pthread_barrier_wait): Likewise.
34689 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34690 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34691 [UNIX98] (pthread_barrierattr_init): Likewise.
34692 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34693 [UNIX98] (pthread_getcpuclockid): Likewise.
34694 [UNIX98] (pthread_mutex_timedlock): Likewise.
34695 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34696 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34697 [UNIX98] (pthread_sigmask): Likewise.
34698 [UNIX98] (pthread_spin_destroy): Likewise.
34699 [UNIX98] (pthread_spin_init): Likewise.
34700 [UNIX98] (pthread_spin_lock): Likewise.
34701 [UNIX98] (pthread_spin_trylock): Likewise.
34702 [UNIX98] (pthread_spin_unlock): Likewise.
34703 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34704 Do not expect.
34705 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34707 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34708 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34709 [XPG3 || XPG4] (pthread_key_t): Likewise.
34710 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34711 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34712 [XPG3 || XPG4] (pthread_once_t): Likewise.
34713 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34714 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34716 [XPG3 || XPG4] (pthread_t): Likewise.
34717
34718 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34719 not expect.
34720 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34721
34722 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34723 Change function return type to int.
34724
34725 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34726 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34727 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34728 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34729 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34730 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34731 [!POSIX] (posix_madvise): Likewise.
34732 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34733 && !UNIX98].
34734 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34735 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34736 (mode_t): Likewise.
34737 (posix_mem_offset): Likewise.
34738 (posix_typed_mem_get_info): Likewise.
34739 (posix_typed_mem_open): Likewise.
34740
34741 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34742 Change condition to [XOPEN2K8].
34743
34744 * conform/conformtest.pl: Preprocess allow-header data with -x c
34745 instead of from stdin.
34746 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34747 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34748 [C99-based standards] (cerfc): Likewise.
34749 [C99-based standards] (cexp2): Likewise.
34750 [C99-based standards] (cexpm1): Likewise.
34751 [C99-based standards] (clog10): Likewise.
34752 [C99-based standards] (clog1p): Likewise.
34753 [C99-based standards] (clog2): Likewise.
34754 [C99-based standards] (clgamma): Likewise.
34755 [C99-based standards] (ctgamma): Likewise.
34756 [C99-based standards] (cerff): Likewise.
34757 [C99-based standards] (cerfcf): Likewise.
34758 [C99-based standards] (cexp2f): Likewise.
34759 [C99-based standards] (cexpm1f): Likewise.
34760 [C99-based standards] (clog10f): Likewise.
34761 [C99-based standards] (clog1pf): Likewise.
34762 [C99-based standards] (clog2f): Likewise.
34763 [C99-based standards] (clgammaf): Likewise.
34764 [C99-based standards] (ctgammaf): Likewise.
34765 [C99-based standards] (cerfl): Likewise.
34766 [C99-based standards] (cerfcl): Likewise.
34767 [C99-based standards] (cexp2l): Likewise.
34768 [C99-based standards] (cexpm1l): Likewise.
34769 [C99-based standards] (clog10l): Likewise.
34770 [C99-based standards] (clog1pl): Likewise.
34771 [C99-based standards] (clog2l): Likewise.
34772 [C99-based standards] (clgammal): Likewise.
34773 [C99-based standards] (ctgammal): Likewise.
34774 * conform/data/inttypes.h-data [C99-based standards]: Include
34775 stdint.h-data. Remove all expectations for stdint.h contents.
34776 [C99-based standards] (PRI*): Do not allow.
34777 [C99-based standards] (SCN*): Likewise.
34778 [C99-based standards] (*_t): Likewise.
34779 [C99-based-standards] (PRId8): Expect macro.
34780 [C99-based-standards] (PRIi8): Likewise.
34781 [C99-based-standards] (PRIo8): Likewise.
34782 [C99-based-standards] (PRIu8): Likewise.
34783 [C99-based-standards] (PRIx8): Likewise.
34784 [C99-based-standards] (PRIX8): Likewise.
34785 [C99-based-standards] (SCNd8): Likewise.
34786 [C99-based-standards] (SCNi8): Likewise.
34787 [C99-based-standards] (SCNo8): Likewise.
34788 [C99-based-standards] (SCNu8): Likewise.
34789 [C99-based-standards] (SCNx8): Likewise.
34790 [C99-based-standards] (PRIdLEAST8): Likewise.
34791 [C99-based-standards] (PRIiLEAST8): Likewise.
34792 [C99-based-standards] (PRIoLEAST8): Likewise.
34793 [C99-based-standards] (PRIuLEAST8): Likewise.
34794 [C99-based-standards] (PRIxLEAST8): Likewise.
34795 [C99-based-standards] (PRIXLEAST8): Likewise.
34796 [C99-based-standards] (SCNdLEAST8): Likewise.
34797 [C99-based-standards] (SCNiLEAST8): Likewise.
34798 [C99-based-standards] (SCNoLEAST8): Likewise.
34799 [C99-based-standards] (SCNuLEAST8): Likewise.
34800 [C99-based-standards] (SCNxLEAST8): Likewise.
34801 [C99-based-standards] (PRIdFAST8): Likewise.
34802 [C99-based-standards] (PRIiFAST8): Likewise.
34803 [C99-based-standards] (PRIoFAST8): Likewise.
34804 [C99-based-standards] (PRIuFAST8): Likewise.
34805 [C99-based-standards] (PRIxFAST8): Likewise.
34806 [C99-based-standards] (PRIXFAST8): Likewise.
34807 [C99-based-standards] (SCNdFAST8): Likewise.
34808 [C99-based-standards] (SCNiFAST8): Likewise.
34809 [C99-based-standards] (SCNoFAST8): Likewise.
34810 [C99-based-standards] (SCNuFAST8): Likewise.
34811 [C99-based-standards] (SCNxFAST8): Likewise.
34812 [C99-based-standards] (PRId16): Likewise.
34813 [C99-based-standards] (PRIi16): Likewise.
34814 [C99-based-standards] (PRIo16): Likewise.
34815 [C99-based-standards] (PRIu16): Likewise.
34816 [C99-based-standards] (PRIx16): Likewise.
34817 [C99-based-standards] (PRIX16): Likewise.
34818 [C99-based-standards] (SCNd16): Likewise.
34819 [C99-based-standards] (SCNi16): Likewise.
34820 [C99-based-standards] (SCNo16): Likewise.
34821 [C99-based-standards] (SCNu16): Likewise.
34822 [C99-based-standards] (SCNx16): Likewise.
34823 [C99-based-standards] (PRIdLEAST16): Likewise.
34824 [C99-based-standards] (PRIiLEAST16): Likewise.
34825 [C99-based-standards] (PRIoLEAST16): Likewise.
34826 [C99-based-standards] (PRIuLEAST16): Likewise.
34827 [C99-based-standards] (PRIxLEAST16): Likewise.
34828 [C99-based-standards] (PRIXLEAST16): Likewise.
34829 [C99-based-standards] (SCNdLEAST16): Likewise.
34830 [C99-based-standards] (SCNiLEAST16): Likewise.
34831 [C99-based-standards] (SCNoLEAST16): Likewise.
34832 [C99-based-standards] (SCNuLEAST16): Likewise.
34833 [C99-based-standards] (SCNxLEAST16): Likewise.
34834 [C99-based-standards] (PRIdFAST16): Likewise.
34835 [C99-based-standards] (PRIiFAST16): Likewise.
34836 [C99-based-standards] (PRIoFAST16): Likewise.
34837 [C99-based-standards] (PRIuFAST16): Likewise.
34838 [C99-based-standards] (PRIxFAST16): Likewise.
34839 [C99-based-standards] (PRIXFAST16): Likewise.
34840 [C99-based-standards] (SCNdFAST16): Likewise.
34841 [C99-based-standards] (SCNiFAST16): Likewise.
34842 [C99-based-standards] (SCNoFAST16): Likewise.
34843 [C99-based-standards] (SCNuFAST16): Likewise.
34844 [C99-based-standards] (SCNxFAST16): Likewise.
34845 [C99-based-standards] (PRId32): Likewise.
34846 [C99-based-standards] (PRIi32): Likewise.
34847 [C99-based-standards] (PRIo32): Likewise.
34848 [C99-based-standards] (PRIu32): Likewise.
34849 [C99-based-standards] (PRIx32): Likewise.
34850 [C99-based-standards] (PRIX32): Likewise.
34851 [C99-based-standards] (SCNd32): Likewise.
34852 [C99-based-standards] (SCNi32): Likewise.
34853 [C99-based-standards] (SCNo32): Likewise.
34854 [C99-based-standards] (SCNu32): Likewise.
34855 [C99-based-standards] (SCNx32): Likewise.
34856 [C99-based-standards] (PRIdLEAST32): Likewise.
34857 [C99-based-standards] (PRIiLEAST32): Likewise.
34858 [C99-based-standards] (PRIoLEAST32): Likewise.
34859 [C99-based-standards] (PRIuLEAST32): Likewise.
34860 [C99-based-standards] (PRIxLEAST32): Likewise.
34861 [C99-based-standards] (PRIXLEAST32): Likewise.
34862 [C99-based-standards] (SCNdLEAST32): Likewise.
34863 [C99-based-standards] (SCNiLEAST32): Likewise.
34864 [C99-based-standards] (SCNoLEAST32): Likewise.
34865 [C99-based-standards] (SCNuLEAST32): Likewise.
34866 [C99-based-standards] (SCNxLEAST32): Likewise.
34867 [C99-based-standards] (PRIdFAST32): Likewise.
34868 [C99-based-standards] (PRIiFAST32): Likewise.
34869 [C99-based-standards] (PRIoFAST32): Likewise.
34870 [C99-based-standards] (PRIuFAST32): Likewise.
34871 [C99-based-standards] (PRIxFAST32): Likewise.
34872 [C99-based-standards] (PRIXFAST32): Likewise.
34873 [C99-based-standards] (SCNdFAST32): Likewise.
34874 [C99-based-standards] (SCNiFAST32): Likewise.
34875 [C99-based-standards] (SCNoFAST32): Likewise.
34876 [C99-based-standards] (SCNuFAST32): Likewise.
34877 [C99-based-standards] (SCNxFAST32): Likewise.
34878 [C99-based-standards] (PRId64): Likewise.
34879 [C99-based-standards] (PRIi64): Likewise.
34880 [C99-based-standards] (PRIo64): Likewise.
34881 [C99-based-standards] (PRIu64): Likewise.
34882 [C99-based-standards] (PRIx64): Likewise.
34883 [C99-based-standards] (PRIX64): Likewise.
34884 [C99-based-standards] (SCNd64): Likewise.
34885 [C99-based-standards] (SCNi64): Likewise.
34886 [C99-based-standards] (SCNo64): Likewise.
34887 [C99-based-standards] (SCNu64): Likewise.
34888 [C99-based-standards] (SCNx64): Likewise.
34889 [C99-based-standards] (PRIdLEAST64): Likewise.
34890 [C99-based-standards] (PRIiLEAST64): Likewise.
34891 [C99-based-standards] (PRIoLEAST64): Likewise.
34892 [C99-based-standards] (PRIuLEAST64): Likewise.
34893 [C99-based-standards] (PRIxLEAST64): Likewise.
34894 [C99-based-standards] (PRIXLEAST64): Likewise.
34895 [C99-based-standards] (SCNdLEAST64): Likewise.
34896 [C99-based-standards] (SCNiLEAST64): Likewise.
34897 [C99-based-standards] (SCNoLEAST64): Likewise.
34898 [C99-based-standards] (SCNuLEAST64): Likewise.
34899 [C99-based-standards] (SCNxLEAST64): Likewise.
34900 [C99-based-standards] (PRIdFAST64): Likewise.
34901 [C99-based-standards] (PRIiFAST64): Likewise.
34902 [C99-based-standards] (PRIoFAST64): Likewise.
34903 [C99-based-standards] (PRIuFAST64): Likewise.
34904 [C99-based-standards] (PRIxFAST64): Likewise.
34905 [C99-based-standards] (PRIXFAST64): Likewise.
34906 [C99-based-standards] (SCNdFAST64): Likewise.
34907 [C99-based-standards] (SCNiFAST64): Likewise.
34908 [C99-based-standards] (SCNoFAST64): Likewise.
34909 [C99-based-standards] (SCNuFAST64): Likewise.
34910 [C99-based-standards] (SCNxFAST64): Likewise.
34911 [C99-based-standards] (PRIdMAX): Likewise.
34912 [C99-based-standards] (PRIiMAX): Likewise.
34913 [C99-based-standards] (PRIoMAX): Likewise.
34914 [C99-based-standards] (PRIuMAX): Likewise.
34915 [C99-based-standards] (PRIxMAX): Likewise.
34916 [C99-based-standards] (PRIXMAX): Likewise.
34917 [C99-based-standards] (SCNdMAX): Likewise.
34918 [C99-based-standards] (SCNiMAX): Likewise.
34919 [C99-based-standards] (SCNoMAX): Likewise.
34920 [C99-based-standards] (SCNuMAX): Likewise.
34921 [C99-based-standards] (SCNxMAX): Likewise.
34922 [C99-based-standards] (PRIdPTR): Likewise.
34923 [C99-based-standards] (PRIiPTR): Likewise.
34924 [C99-based-standards] (PRIoPTR): Likewise.
34925 [C99-based-standards] (PRIuPTR): Likewise.
34926 [C99-based-standards] (PRIxPTR): Likewise.
34927 [C99-based-standards] (PRIXPTR): Likewise.
34928 [C99-based-standards] (SCNdPTR): Likewise.
34929 [C99-based-standards] (SCNiPTR): Likewise.
34930 [C99-based-standards] (SCNoPTR): Likewise.
34931 [C99-based-standards] (SCNuPTR): Likewise.
34932 [C99-based-standards] (SCNxPTR): Likewise.
34933 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34934 allow.
34935 * conform/data/stdint.h-data: Update comments to clarify
34936 requirements.
34937 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34938 type.
34939 [C99-based standards] (INT8_MAX): Likewise.
34940 [C99-based standards] (INT16_MIN): Likewise.
34941 [C99-based standards] (INT16_MAX): Likewise.
34942 [C99-based standards] (INT32_MIN): Likewise.
34943 [C99-based standards] (INT32_MAX): Likewise.
34944 [C99-based standards] (INT64_MIN): Likewise.
34945 [C99-based standards] (INT64_MAX): Likewise.
34946 [C99-based standards] (UINT8_MAX): Likewise.
34947 [C99-based standards] (UINT16_MAX): Likewise.
34948 [C99-based standards] (UINT32_MAX): Likewise.
34949 [C99-based standards] (UINT64_MAX): Likewise.
34950 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34951 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34952 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34953 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34954 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34955 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34956 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34957 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34958 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34959 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34960 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34961 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34962 [C99-based standards] (INT_FAST8_MIN): Likewise.
34963 [C99-based standards] (INT_FAST8_MAX): Likewise.
34964 [C99-based standards] (INT_FAST16_MIN): Likewise.
34965 [C99-based standards] (INT_FAST16_MAX): Likewise.
34966 [C99-based standards] (INT_FAST32_MIN): Likewise.
34967 [C99-based standards] (INT_FAST32_MAX): Likewise.
34968 [C99-based standards] (INT_FAST64_MIN): Likewise.
34969 [C99-based standards] (INT_FAST64_MAX): Likewise.
34970 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34971 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34972 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34973 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34974 [C99-based standards] (INTPTR_MIN): Likewise.
34975 [C99-based standards] (INTPTR_MAX): Likewise.
34976 [C99-based standards] (UINTPTR_MAX): Likewise.
34977 [C99-based standards] (INTMAX_MIN): Likewise.
34978 [C99-based standards] (INTMAX_MAX): Likewise.
34979 [C99-based standards] (UINTMAX_MAX): Likewise.
34980 [C99-based standards] (PTRDIFF_MIN): Likewise.
34981 [C99-based standards] (PTRDIFF_MAX): Likewise.
34982 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34983 [C99-based standards] (SIZE_MAX): Likewise.
34984 [C99-based standards] (WCHAR_MAX): Likewise.
34985 [C99-based standards] (WINT_MAX): Likewise.
34986 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34987 constraint on value.
34988 [C99-based standards] (WCHAR_MIN): Likewise.
34989 [C99-based standards] (WINT_MIN): Likewise.
34990 [C99-based standards] (*_t): Allow.
34991 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34992 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34993 Include math.h-data and complex.h-data. Remove all expectations
34994 of math.h and complex.h contents.
34995 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34996 at end of line.
34997 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34998 (struct tm): Expect tag.
34999 [C99-based-standards] (wcstof): Expect function.
35000 [C99-based-standards] (wcstold): Likewise.
35001 [C99-based-standards] (wcstoll): Likewise.
35002 [C99-based-standards] (wcstoull): Likewise.
35003 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35004 macro-int-constant. Specify type.
35005 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35006 constraint on value.
35007 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35008 Specify type.
35009 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35010 Specify value.
35011 [ISO C standards]: Do not allow headers.
35012 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35013 wcs[abcdefghijklmnopqrstuvwxyz]*.
35014 [ISO C standards] (*_t): Do not allow.
35015 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35016 Expect function.
35017 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35018 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35019 Specify type.
35020 [ISO C standards]: Do not allow headers.
35021 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35022 is[abcdefghijklmnopqrstuvwxyz]*.
35023 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35024 to[abcdefghijklmnopqrstuvwxyz]*.
35025 [ISO C standards] (*_t): Do not allow.
35026 * conform/data/stdalign.h-data: New file.
35027 * conform/data/stdbool.h-data: Likewise.
35028 * conform/data/stdnoreturn.h-data: Likewise.
35029
35030 2012-11-07 Roland McGrath <roland@hack.frob.com>
35031
35032 [BZ #14815]
35033 * manual/filesys.texi (Directory Entries): Typo fix.
35034 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35035
35036 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35037
35038 * elf/elf.h (EM_AARCH64): New macro.
35039 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35040 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35041 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35042 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35043 (R_AARCH64_TLSDESC): Likewise.
35044 (NT_ARM_TLS): Likewise.
35045 (NT_ARM_HW_BREAK): Likewise.
35046 (NT_ARM_HW_WATCH): Likewise.
35047
35048 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #14811]
35051 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35052 (__ieee754_powl): Saturate nonzero exponents with absolute value
35053 below 0x1p-79 to +/- 0x1p-79.
35054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35055 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35056 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35057 nonzero exponents with absolute value below 0x1p-32 to +/-
35058 0x1p-32.
35059 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35060 (__ieee754_powl): Saturate nonzero exponents with absolute value
35061 below 0x1p-79 to +/- 0x1p-79.
35062 * math/libm-test.inc (pow_test): Add more tests.
35063
35064 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35065
35066 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35067 _dl_s390_cap_flags with kernel. Increase string length.
35068 (_dl_s390_platforms): Add z196 and zEC12.
35069
35070 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35071
35072 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35073 Change XOPEN21K to XOPEN2K.
35074
35075 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35076
35077 * string/memmove.c: Use memcpy when possible.
35078
35079 2012-11-06 Andreas Jaeger <aj@suse.de>
35080
35081 * po/eo.po: Update from translation team.
35082
35083 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35084
35085 [BZ #14793]
35086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35087 exponent and small x and y exponents, scale x or y up. Increase
35088 by 2 the exponent used in scaling up.
35089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35091 * math/libm-test.inc (fma_test): Add more tests.
35092 (fma_test_towardzero): Likewise.
35093 (fma_test_downward): Likewise.
35094 (fma_test_upward): Likewise.
35095
35096 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35097
35098 [BZ #14805]
35099 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35100 fenv_t *.
35101
35102 [BZ #14801]
35103 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35104 namespace for names of struct fields.
35105 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35106 fenv_t fields.
35107 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35108 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35109
35110 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35111
35112 [BZ #3665]
35113 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35114
35115 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35116
35117 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35118 PTR_DEMANGLE.
35119
35120 [BZ #5246]
35121 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35122 PTR_DEMANGLE.
35123
35124 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35125
35126 [BZ #14797]
35127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35128 definitely overflow as x * y not x * y + z.
35129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35131 * math/libm-test.inc (fma_test): Add more tests.
35132 (fma_test_towardzero): Likewise.
35133 (fma_test_downward): Likewise.
35134 (fma_test_upward): Likewise.
35135
35136 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35137
35138 [BZ #157]
35139
35140 * include/stub-tag.h: Remove file.
35141 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35142 '#include' of it.
35143 * manual/maint.texi (Porting): Don't reference it.
35144 * Makerules ($(objpfx)stubs): Likewise.
35145 * dirent/closedir.c: Don't include <stub-tag.h>.
35146 * dirent/dirfd.c: Likewise.
35147 * dirent/fdopendir.c: Likewise.
35148 * dirent/getdents.c: Likewise.
35149 * dirent/getdents64.c: Likewise.
35150 * dirent/opendir.c: Likewise.
35151 * dirent/readdir.c: Likewise.
35152 * dirent/readdir64.c: Likewise.
35153 * dirent/readdir64_r.c: Likewise.
35154 * dirent/readdir_r.c: Likewise.
35155 * dirent/rewinddir.c: Likewise.
35156 * dirent/seekdir.c: Likewise.
35157 * dirent/telldir.c: Likewise.
35158 * gmon/profil.c: Likewise.
35159 * grp/setgroups.c: Likewise.
35160 * inet/if_index.c: Likewise.
35161 * io/access.c: Likewise.
35162 * io/chdir.c: Likewise.
35163 * io/chmod.c: Likewise.
35164 * io/chown.c: Likewise.
35165 * io/close.c: Likewise.
35166 * io/dup.c: Likewise.
35167 * io/dup2.c: Likewise.
35168 * io/dup3.c: Likewise.
35169 * io/euidaccess.c: Likewise.
35170 * io/faccessat.c: Likewise.
35171 * io/fchdir.c: Likewise.
35172 * io/fchmod.c: Likewise.
35173 * io/fchmodat.c: Likewise.
35174 * io/fchown.c: Likewise.
35175 * io/fchownat.c: Likewise.
35176 * io/fcntl.c: Likewise.
35177 * io/flock.c: Likewise.
35178 * io/fstatfs.c: Likewise.
35179 * io/fstatfs64.c: Likewise.
35180 * io/fstatvfs.c: Likewise.
35181 * io/fstatvfs64.c: Likewise.
35182 * io/futimens.c: Likewise.
35183 * io/fxstat.c: Likewise.
35184 * io/fxstat64.c: Likewise.
35185 * io/fxstatat.c: Likewise.
35186 * io/fxstatat64.c: Likewise.
35187 * io/getcwd.c: Likewise.
35188 * io/isatty.c: Likewise.
35189 * io/lchmod.c: Likewise.
35190 * io/lchown.c: Likewise.
35191 * io/link.c: Likewise.
35192 * io/linkat.c: Likewise.
35193 * io/lseek.c: Likewise.
35194 * io/lseek64.c: Likewise.
35195 * io/lxstat64.c: Likewise.
35196 * io/mkdir.c: Likewise.
35197 * io/mkdirat.c: Likewise.
35198 * io/mkfifo.c: Likewise.
35199 * io/mkfifoat.c: Likewise.
35200 * io/open.c: Likewise.
35201 * io/open64.c: Likewise.
35202 * io/openat.c: Likewise.
35203 * io/openat64.c: Likewise.
35204 * io/pipe.c: Likewise.
35205 * io/pipe2.c: Likewise.
35206 * io/poll.c: Likewise.
35207 * io/posix_fadvise.c: Likewise.
35208 * io/posix_fadvise64.c: Likewise.
35209 * io/posix_fallocate.c: Likewise.
35210 * io/posix_fallocate64.c: Likewise.
35211 * io/read.c: Likewise.
35212 * io/readlink.c: Likewise.
35213 * io/readlinkat.c: Likewise.
35214 * io/rmdir.c: Likewise.
35215 * io/sendfile.c: Likewise.
35216 * io/sendfile64.c: Likewise.
35217 * io/statfs.c: Likewise.
35218 * io/statfs64.c: Likewise.
35219 * io/statvfs.c: Likewise.
35220 * io/statvfs64.c: Likewise.
35221 * io/symlink.c: Likewise.
35222 * io/symlinkat.c: Likewise.
35223 * io/ttyname.c: Likewise.
35224 * io/ttyname_r.c: Likewise.
35225 * io/umask.c: Likewise.
35226 * io/unlink.c: Likewise.
35227 * io/unlinkat.c: Likewise.
35228 * io/utime.c: Likewise.
35229 * io/utimensat.c: Likewise.
35230 * io/write.c: Likewise.
35231 * io/xmknod.c: Likewise.
35232 * io/xmknodat.c: Likewise.
35233 * io/xstat.c: Likewise.
35234 * io/xstat64.c: Likewise.
35235 * login/getpt.c: Likewise.
35236 * login/grantpt.c: Likewise.
35237 * login/unlockpt.c: Likewise.
35238 * math/e_acoshl.c: Likewise.
35239 * math/e_acosl.c: Likewise.
35240 * math/e_asinl.c: Likewise.
35241 * math/e_atan2l.c: Likewise.
35242 * math/e_atanhl.c: Likewise.
35243 * math/e_coshl.c: Likewise.
35244 * math/e_expl.c: Likewise.
35245 * math/e_fmodl.c: Likewise.
35246 * math/e_gammal_r.c: Likewise.
35247 * math/e_hypotl.c: Likewise.
35248 * math/e_j0l.c: Likewise.
35249 * math/e_j1l.c: Likewise.
35250 * math/e_jnl.c: Likewise.
35251 * math/e_lgammal_r.c: Likewise.
35252 * math/e_log10l.c: Likewise.
35253 * math/e_log2l.c: Likewise.
35254 * math/e_logl.c: Likewise.
35255 * math/e_powl.c: Likewise.
35256 * math/e_rem_pio2l.c: Likewise.
35257 * math/e_sinhl.c: Likewise.
35258 * math/e_sqrtl.c: Likewise.
35259 * math/fclrexcpt.c: Likewise.
35260 * math/fedisblxcpt.c: Likewise.
35261 * math/feenablxcpt.c: Likewise.
35262 * math/fegetenv.c: Likewise.
35263 * math/fegetexcept.c: Likewise.
35264 * math/fegetround.c: Likewise.
35265 * math/feholdexcpt.c: Likewise.
35266 * math/fesetenv.c: Likewise.
35267 * math/fesetround.c: Likewise.
35268 * math/feupdateenv.c: Likewise.
35269 * math/fgetexcptflg.c: Likewise.
35270 * math/fraiseexcpt.c: Likewise.
35271 * math/fsetexcptflg.c: Likewise.
35272 * math/ftestexcept.c: Likewise.
35273 * math/k_cosl.c: Likewise.
35274 * math/k_rem_pio2l.c: Likewise.
35275 * math/k_sinl.c: Likewise.
35276 * math/k_tanl.c: Likewise.
35277 * math/s_asinhl.c: Likewise.
35278 * math/s_atanl.c: Likewise.
35279 * math/s_cbrtl.c: Likewise.
35280 * math/s_erfl.c: Likewise.
35281 * math/s_expm1l.c: Likewise.
35282 * math/s_log1pl.c: Likewise.
35283 * math/s_tanhl.c: Likewise.
35284 * misc/acct.c: Likewise.
35285 * misc/brk.c: Likewise.
35286 * misc/chflags.c: Likewise.
35287 * misc/chroot.c: Likewise.
35288 * misc/fchflags.c: Likewise.
35289 * misc/fgetxattr.c: Likewise.
35290 * misc/flistxattr.c: Likewise.
35291 * misc/fremovexattr.c: Likewise.
35292 * misc/fsetxattr.c: Likewise.
35293 * misc/fsync.c: Likewise.
35294 * misc/ftruncate.c: Likewise.
35295 * misc/futimes.c: Likewise.
35296 * misc/futimesat.c: Likewise.
35297 * misc/getdomain.c: Likewise.
35298 * misc/getdtsz.c: Likewise.
35299 * misc/gethostid.c: Likewise.
35300 * misc/gethostname.c: Likewise.
35301 * misc/getloadavg.c: Likewise.
35302 * misc/getpagesize.c: Likewise.
35303 * misc/getsysstats.c: Likewise.
35304 * misc/getxattr.c: Likewise.
35305 * misc/gtty.c: Likewise.
35306 * misc/ioctl.c: Likewise.
35307 * misc/lgetxattr.c: Likewise.
35308 * misc/listxattr.c: Likewise.
35309 * misc/llistxattr.c: Likewise.
35310 * misc/lremovexattr.c: Likewise.
35311 * misc/lsetxattr.c: Likewise.
35312 * misc/lutimes.c: Likewise.
35313 * misc/madvise.c: Likewise.
35314 * misc/mincore.c: Likewise.
35315 * misc/mlock.c: Likewise.
35316 * misc/mlockall.c: Likewise.
35317 * misc/mmap.c: Likewise.
35318 * misc/mprotect.c: Likewise.
35319 * misc/msync.c: Likewise.
35320 * misc/munlock.c: Likewise.
35321 * misc/munlockall.c: Likewise.
35322 * misc/munmap.c: Likewise.
35323 * misc/preadv.c: Likewise.
35324 * misc/preadv64.c: Likewise.
35325 * misc/ptrace.c: Likewise.
35326 * misc/pwritev.c: Likewise.
35327 * misc/pwritev64.c: Likewise.
35328 * misc/readv.c: Likewise.
35329 * misc/reboot.c: Likewise.
35330 * misc/remap_file_pages.c: Likewise.
35331 * misc/removexattr.c: Likewise.
35332 * misc/revoke.c: Likewise.
35333 * misc/select.c: Likewise.
35334 * misc/setdomain.c: Likewise.
35335 * misc/setegid.c: Likewise.
35336 * misc/seteuid.c: Likewise.
35337 * misc/sethostid.c: Likewise.
35338 * misc/sethostname.c: Likewise.
35339 * misc/setregid.c: Likewise.
35340 * misc/setreuid.c: Likewise.
35341 * misc/setxattr.c: Likewise.
35342 * misc/sstk.c: Likewise.
35343 * misc/stty.c: Likewise.
35344 * misc/swapoff.c: Likewise.
35345 * misc/swapon.c: Likewise.
35346 * misc/sync.c: Likewise.
35347 * misc/syncfs.c: Likewise.
35348 * misc/syscall.c: Likewise.
35349 * misc/truncate.c: Likewise.
35350 * misc/ualarm.c: Likewise.
35351 * misc/usleep.c: Likewise.
35352 * misc/ustat.c: Likewise.
35353 * misc/utimes.c: Likewise.
35354 * misc/vhangup.c: Likewise.
35355 * misc/writev.c: Likewise.
35356 * posix/_exit.c: Likewise.
35357 * posix/alarm.c: Likewise.
35358 * posix/execve.c: Likewise.
35359 * posix/fexecve.c: Likewise.
35360 * posix/fork.c: Likewise.
35361 * posix/fpathconf.c: Likewise.
35362 * posix/getaddrinfo.c: Likewise.
35363 * posix/getegid.c: Likewise.
35364 * posix/geteuid.c: Likewise.
35365 * posix/getgid.c: Likewise.
35366 * posix/getgroups.c: Likewise.
35367 * posix/getlogin.c: Likewise.
35368 * posix/getlogin_r.c: Likewise.
35369 * posix/getpgid.c: Likewise.
35370 * posix/getpid.c: Likewise.
35371 * posix/getppid.c: Likewise.
35372 * posix/getresgid.c: Likewise.
35373 * posix/getresuid.c: Likewise.
35374 * posix/getsid.c: Likewise.
35375 * posix/getuid.c: Likewise.
35376 * posix/glob64.c: Likewise.
35377 * posix/nanosleep.c: Likewise.
35378 * posix/pathconf.c: Likewise.
35379 * posix/pause.c: Likewise.
35380 * posix/posix_madvise.c: Likewise.
35381 * posix/pread.c: Likewise.
35382 * posix/pread64.c: Likewise.
35383 * posix/pwrite.c: Likewise.
35384 * posix/pwrite64.c: Likewise.
35385 * posix/sched_getaffinity.c: Likewise.
35386 * posix/sched_getp.c: Likewise.
35387 * posix/sched_gets.c: Likewise.
35388 * posix/sched_primax.c: Likewise.
35389 * posix/sched_primin.c: Likewise.
35390 * posix/sched_rr_gi.c: Likewise.
35391 * posix/sched_setaffinity.c: Likewise.
35392 * posix/sched_setp.c: Likewise.
35393 * posix/sched_sets.c: Likewise.
35394 * posix/sched_yield.c: Likewise.
35395 * posix/setgid.c: Likewise.
35396 * posix/setlogin.c: Likewise.
35397 * posix/setpgid.c: Likewise.
35398 * posix/setresgid.c: Likewise.
35399 * posix/setresuid.c: Likewise.
35400 * posix/setsid.c: Likewise.
35401 * posix/setuid.c: Likewise.
35402 * posix/sleep.c: Likewise.
35403 * posix/spawni.c: Likewise.
35404 * posix/sysconf.c: Likewise.
35405 * posix/times.c: Likewise.
35406 * posix/wait.c: Likewise.
35407 * posix/wait3.c: Likewise.
35408 * posix/wait4.c: Likewise.
35409 * posix/waitpid.c: Likewise.
35410 * resolv/gai_sigqueue.c: Likewise.
35411 * resource/getpriority.c: Likewise.
35412 * resource/getrlimit.c: Likewise.
35413 * resource/getrusage.c: Likewise.
35414 * resource/nice.c: Likewise.
35415 * resource/setpriority.c: Likewise.
35416 * resource/setrlimit.c: Likewise.
35417 * resource/ulimit.c: Likewise.
35418 * rt/aio_cancel.c: Likewise.
35419 * rt/aio_fsync.c: Likewise.
35420 * rt/aio_read.c: Likewise.
35421 * rt/aio_sigqueue.c: Likewise.
35422 * rt/aio_suspend.c: Likewise.
35423 * rt/aio_write.c: Likewise.
35424 * rt/clock_getres.c: Likewise.
35425 * rt/clock_gettime.c: Likewise.
35426 * rt/clock_nanosleep.c: Likewise.
35427 * rt/clock_settime.c: Likewise.
35428 * rt/lio_listio.c: Likewise.
35429 * rt/mq_close.c: Likewise.
35430 * rt/mq_getattr.c: Likewise.
35431 * rt/mq_notify.c: Likewise.
35432 * rt/mq_open.c: Likewise.
35433 * rt/mq_receive.c: Likewise.
35434 * rt/mq_send.c: Likewise.
35435 * rt/mq_setattr.c: Likewise.
35436 * rt/mq_timedreceive.c: Likewise.
35437 * rt/mq_timedsend.c: Likewise.
35438 * rt/mq_unlink.c: Likewise.
35439 * rt/shm_open.c: Likewise.
35440 * rt/shm_unlink.c: Likewise.
35441 * rt/timer_create.c: Likewise.
35442 * rt/timer_delete.c: Likewise.
35443 * rt/timer_getoverr.c: Likewise.
35444 * rt/timer_gettime.c: Likewise.
35445 * rt/timer_settime.c: Likewise.
35446 * setjmp/__longjmp.c: Likewise.
35447 * setjmp/setjmp.c: Likewise.
35448 * signal/kill.c: Likewise.
35449 * signal/killpg.c: Likewise.
35450 * signal/raise.c: Likewise.
35451 * signal/sigaction.c: Likewise.
35452 * signal/sigaltstack.c: Likewise.
35453 * signal/sigblock.c: Likewise.
35454 * signal/sigignore.c: Likewise.
35455 * signal/sigintr.c: Likewise.
35456 * signal/signal.c: Likewise.
35457 * signal/sigpause.c: Likewise.
35458 * signal/sigpending.c: Likewise.
35459 * signal/sigqueue.c: Likewise.
35460 * signal/sigreturn.c: Likewise.
35461 * signal/sigset.c: Likewise.
35462 * signal/sigsetmask.c: Likewise.
35463 * signal/sigstack.c: Likewise.
35464 * signal/sigsuspend.c: Likewise.
35465 * signal/sigtimedwait.c: Likewise.
35466 * signal/sigvec.c: Likewise.
35467 * signal/sigwait.c: Likewise.
35468 * signal/sigwaitinfo.c: Likewise.
35469 * signal/sysv_signal.c: Likewise.
35470 * socket/accept.c: Likewise.
35471 * socket/accept4.c: Likewise.
35472 * socket/bind.c: Likewise.
35473 * socket/connect.c: Likewise.
35474 * socket/getpeername.c: Likewise.
35475 * socket/getsockname.c: Likewise.
35476 * socket/getsockopt.c: Likewise.
35477 * socket/isfdtype.c: Likewise.
35478 * socket/listen.c: Likewise.
35479 * socket/recv.c: Likewise.
35480 * socket/recvfrom.c: Likewise.
35481 * socket/recvmsg.c: Likewise.
35482 * socket/send.c: Likewise.
35483 * socket/sendmsg.c: Likewise.
35484 * socket/sendto.c: Likewise.
35485 * socket/setsockopt.c: Likewise.
35486 * socket/shutdown.c: Likewise.
35487 * socket/sockatmark.c: Likewise.
35488 * socket/socket.c: Likewise.
35489 * socket/socketpair.c: Likewise.
35490 * stdio-common/ctermid.c: Likewise.
35491 * stdio-common/cuserid.c: Likewise.
35492 * stdio-common/remove.c: Likewise.
35493 * stdio-common/rename.c: Likewise.
35494 * stdio-common/renameat.c: Likewise.
35495 * stdio-common/tempname.c: Likewise.
35496 * stdlib/getcontext.c: Likewise.
35497 * stdlib/makecontext.c: Likewise.
35498 * stdlib/setcontext.c: Likewise.
35499 * stdlib/swapcontext.c: Likewise.
35500 * stdlib/system.c: Likewise.
35501 * streams/fattach.c: Likewise.
35502 * streams/fdetach.c: Likewise.
35503 * streams/getmsg.c: Likewise.
35504 * streams/getpmsg.c: Likewise.
35505 * streams/putmsg.c: Likewise.
35506 * streams/putpmsg.c: Likewise.
35507 * sysdeps/unix/bsd/getpt.c: Likewise.
35508 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35509 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35510 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35512 Likewise.
35513 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35514 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35515 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35516 * sysvipc/msgctl.c: Likewise.
35517 * sysvipc/msgget.c: Likewise.
35518 * sysvipc/msgrcv.c: Likewise.
35519 * sysvipc/msgsnd.c: Likewise.
35520 * sysvipc/semctl.c: Likewise.
35521 * sysvipc/semget.c: Likewise.
35522 * sysvipc/semop.c: Likewise.
35523 * sysvipc/semtimedop.c: Likewise.
35524 * sysvipc/shmat.c: Likewise.
35525 * sysvipc/shmctl.c: Likewise.
35526 * sysvipc/shmdt.c: Likewise.
35527 * sysvipc/shmget.c: Likewise.
35528 * termios/tcdrain.c: Likewise.
35529 * termios/tcflow.c: Likewise.
35530 * termios/tcflush.c: Likewise.
35531 * termios/tcgetattr.c: Likewise.
35532 * termios/tcgetpgrp.c: Likewise.
35533 * termios/tcsendbrk.c: Likewise.
35534 * termios/tcsetattr.c: Likewise.
35535 * termios/tcsetpgrp.c: Likewise.
35536 * time/adjtime.c: Likewise.
35537 * time/clock.c: Likewise.
35538 * time/getitimer.c: Likewise.
35539 * time/gettimeofday.c: Likewise.
35540 * time/setitimer.c: Likewise.
35541 * time/settimeofday.c: Likewise.
35542 * time/stime.c: Likewise.
35543 * time/time.c: Likewise.
35544
35545 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35546
35547 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35548 /usr/old/bin.
35549
35550 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35551 instead of spaces.
35552 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35553
35554 2012-11-03 Joseph Myers <joseph@codesourcery.com>
35555
35556 [BZ #14796]
35557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35558 FE_TONEAREST before applying Dekker multiplication and Knuth
35559 addition. Clear inexact exceptions and check for exact zero
35560 results afterwards.
35561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35564 * math/libm-test.inc (fma_test): Add more tests.
35565 (fma_test_towardzero): Likewise.
35566 (fma_test_downward): Likewise.
35567 (fma_test_upward): Likewise.
35568 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35569 function.
35570 (libc_fesetround): New macro.
35571 (libc_fesetroundf): Likewise.
35572 (libc_fesetroundl): Likewise.
35573 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35574 function.
35575 (libc_fesetround_387): Likewise.
35576 (libc_fesetroundf): New macro.
35577 (libc_fesetround): Likewise.
35578 (libc_fesetroundl): Likewise.
35579 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35580 function.
35581 (libc_fesetroundf): New macro.
35582 (libc_fesetround): Likewise.
35583 (libc_fesetroundl): Likewise.
35584 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35585 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35586 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35587 libm_hidden_ver.
35588 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35589 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35590 libm_hidden_def.
35591 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35592 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35593 libm_hidden_ver.
35594 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35595 libm_hidden_def.
35596
35597 [BZ #3439]
35598 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35599 integer constant usable in #if and use that to give value to enum
35600 constant.
35601 (FE_DIVBYZERO): Likewise.
35602 (FE_UNDERFLOW): Likewise.
35603 (FE_OVERFLOW): Likewise.
35604 (FE_INVALID): Likewise.
35605 (FE_INVALID_SNAN): Likewise.
35606 (FE_INVALID_ISI): Likewise.
35607 (FE_INVALID_IDI): Likewise.
35608 (FE_INVALID_ZDZ): Likewise.
35609 (FE_INVALID_IMZ): Likewise.
35610 (FE_INVALID_COMPARE): Likewise.
35611 (FE_INVALID_SOFTWARE): Likewise.
35612 (FE_INVALID_SQRT): Likewise.
35613 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35614 (FE_TONEAREST): Likewise.
35615 (FE_TOWARDZERO): Likewise.
35616 (FE_UPWARD): Likewise.
35617 (FE_DOWNWARD): Likewise.
35618 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35619 (FE_DIVBYZERO): Likewise.
35620 (FE_OVERFLOW): Likewise.
35621 (FE_UNDERFLOW): Likewise.
35622 (FE_INEXACT): Likewise.
35623 (FE_TONEAREST): Likewise.
35624 (FE_DOWNWARD): Likewise.
35625 (FE_UPWARD): Likewise.
35626 (FE_TOWARDZERO): Likewise.
35627 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35628 (FE_UNDERFLOW): Likewise.
35629 (FE_OVERFLOW): Likewise.
35630 (FE_DIVBYZERO): Likewise.
35631 (FE_INVALID): Likewise.
35632 (FE_TONEAREST): Likewise.
35633 (FE_TOWARDZERO): Likewise.
35634 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35635 (FE_OVERFLOW): Likewise.
35636 (FE_UNDERFLOW): Likewise.
35637 (FE_DIVBYZERO): Likewise.
35638 (FE_INEXACT): Likewise.
35639 (FE_TONEAREST): Likewise.
35640 (FE_TOWARDZERO): Likewise.
35641 (FE_UPWARD): Likewise.
35642 (FE_DOWNWARD): Likewise.
35643 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35644 (FE_DIVBYZERO): Likewise.
35645 (FE_OVERFLOW): Likewise.
35646 (FE_UNDERFLOW): Likewise.
35647 (FE_INEXACT): Likewise.
35648 (FE_TONEAREST): Likewise.
35649 (FE_DOWNWARD): Likewise.
35650 (FE_UPWARD): Likewise.
35651 (FE_TOWARDZERO): Likewise.
35652
35653 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35654
35655 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35656
35657 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35658
35659 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35660 commands. Quote $PWD.
35661 (blacklist_exports): Don't use remove_newlines. Replace "declare
35662 -x" by "export".
35663 (remove_newlines): Remove.
35664
35665 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35666
35667 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35668 * stdlib/stdlib.h (atof): Moved to ...
35669 * include/bits/stdlib-float.h: Here. New file.
35670 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35671 * stdlib/bits/stdlib-float.h: New file.
35672 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35673 -mno-sse -mno-mmx.
35674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35675 <xmmintrin.h>.
35676
35677 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35678
35679 * conform/conformtest.pl (@headers): Add fenv.h.
35680 * conform/data/fenv.h-data: New file.
35681 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35682 include of <math/fenv.h>.
35683
35684 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35685 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35686 && !UNIX98]. Enables tests for XOPEN2K8.
35687 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35688 POSIX2008]: Likewise.
35689
35690 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35691 (struct rusage): Do not expect type or its members.
35692
35693 [BZ #3439]
35694 * math/math.h (FP_NAN): Define macro to integer constant usable in
35695 #if and use that to give value to enum constant.
35696 (FP_INFINITE): Likewise.
35697 (FP_ZERO): Likewise.
35698 (FP_SUBNORMAL): Likewise.
35699 (FP_NORMAL): Likewise.
35700
35701 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35702
35703 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35704 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35705 arguments.
35706
35707 2012-11-02 Roland McGrath <roland@hack.frob.com>
35708
35709 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35710 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35711 autoconf-time if not.
35712 * configure.in: Remove AC_PREREQ.
35713
35714 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35715
35716 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35717 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35718 of the internal implementation.
35719
35720 2012-11-02 Joseph Myers <joseph@codesourcery.com>
35721
35722 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35723 except include of <misc/sys/syslog.h>.
35724
35725 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35726
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35728 function returns with a NULL context exit with zero.
35729
35730 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35731
35732 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35733
35734 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35735
35736 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35737 (run_program_cmd): This.
35738 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35739 (tst_langinfo): New variable. Use it.
35740
35741 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35742
35743 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35744 floating point opcodes.
35745
35746 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35747
35748 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35749 variable.
35750
35751 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35752
35753 * sysdeps/mach/hurd/powerpc: Remove directory.
35754 * sysdeps/mach/powerpc: Likewise.
35755
35756 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35757
35758 * scripts/check-local-headers.sh: Ignore c++ headers.
35759
35760 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35761
35762 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35763 __libc_cleanup_region_start argument.
35764
35765 2012-11-01 Joseph Myers <joseph@codesourcery.com>
35766
35767 [BZ #14784]
35768 [BZ #14785]
35769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35770 x * y using scaling, not as x * y + z.
35771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35773 * math/libm-test.inc (fma_test): Add more tests.
35774 (fma_test_towardzero): Likewise.
35775 (fma_test_downward): Likewise.
35776 (fma_test_upward): Likewise.
35777
35778 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35779
35780 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35781
35782 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35783
35784 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35785 New variable.
35786
35787 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35788
35789 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35790
35791 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35792
35793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35794 Fix sort order.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35796 Likewise.
35797
35798 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35799
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35801 Fix the order of the list for glibc 2.17.
35802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35803 Likewise.
35804
35805 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35806
35807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35808
35809 2012-10-31 Joseph Myers <joseph@codesourcery.com>
35810
35811 [BZ #14610]
35812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35813 for low part of x being zero before using __atanl (y).
35814 * math/libm-test.inc (atan2_test): Add another test.
35815
35816 * manual/install.texi (Configuring and compiling): Document
35817 general use of test-wrapper and test-wrapper-env.
35818 * INSTALL: Regenerated.
35819
35820 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35821 (__fma): Do not extract and scale down low bits on after-rounding
35822 systems when result rounded to normal precision would have normal
35823 exponent.
35824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35825 (__fmal): Do not extract and scale down low bits on after-rounding
35826 systems when result rounded to normal precision would have normal
35827 exponent.
35828 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35829 (__fmal): Do not extract and scale down low bits on after-rounding
35830 systems when result rounded to normal precision would have normal
35831 exponent.
35832 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35833 macro.
35834 (fma_test): Add more tests.
35835 (fma_test_towardzero): Likewise.
35836 (fma_test_downward): Likewise.
35837 (fma_test_upward): Likewise.
35838
35839 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35840
35841 * sysdeps/i386/tininess.h: Renamed to ...
35842 * sysdeps/x86/tininess.h: This.
35843 * sysdeps/x86_64/tininess.h: Removed.
35844
35845 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35846
35847 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35848 input. Use $(build-program-cmd).
35849 ($(objpfx)tst-array1-static.out): Likewise.
35850 ($(objpfx)tst-array2.out): Likewise.
35851 ($(objpfx)tst-array3.out): Likewise.
35852 ($(objpfx)tst-array4.out): Likewise.
35853 ($(objpfx)tst-array5.out): Likewise.
35854 ($(objpfx)tst-array5-static.out): Likewise.
35855
35856 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35857
35858 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35859 if defined.
35860
35861 * nss/nsswitch.h (nss_interface_function): Provide new
35862 macro for use with NSS functions.
35863 * grp/initgroups.c: Use new macro.
35864 * nss/getXXbyYY.c: Likewise.
35865 * nss/getXXbyYY_r.c: Likewise.
35866 * nss/getXXent.c: Likewise.
35867 * nss/getXXent_r.c: Likewise.
35868 * sysdeps/posix/getaddrinfo.c: Likewise.
35869
35870 2012-10-30 Andreas Jaeger <aj@suse.de>
35871
35872 * po/ru.po: Update Russion translation from translation project.
35873
35874 2012-10-30 Joseph Myers <joseph@codesourcery.com>
35875
35876 [BZ #14152]
35877 [BZ #14783]
35878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35879 result and shift together with sticky bit instead of replicating
35880 round-to-nearest rounding.
35881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35883 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35884 missing underflow exceptions.
35885 (fma_test_towardzero): Add more tests.
35886 (fma_test_downward): Likewise.
35887 (fma_test_upward): Likewise.
35888
35889 [BZ #14047]
35890 * sysdeps/generic/tininess.h: New file.
35891 * sysdeps/i386/tininess.h: Likewise.
35892 * sysdeps/sh/tininess.h: Likewise.
35893 * sysdeps/x86_64/tininess.h: Likewise.
35894 * stdlib/tst-strtod-underflow.c: Likewise.
35895 * stdlib/tst-tininess.c: Likewise.
35896 * stdlib/strtod_l.c: Include <tininess.h>.
35897 (round_and_return): Do not set errno for exact underflow cases.
35898 Force an underflow exception when setting errno for underflow.
35899 Determine underflow based on rounding to normal precision if
35900 TININESS_AFTER_ROUNDING.
35901 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35902 ERANGE for exact underflow cases.
35903 * stdlib/Makefile (tests): Add tst-tininess and
35904 tst-strtod-underflow.
35905 ($(objpfx)tst-tininess): Use $(link-libm).
35906 ($(objpfx)tst-strtod-underflow): Likewise.
35907
35908 2012-10-30 Andreas Jaeger <aj@suse.de>
35909
35910 [BZ#14767]
35911 * elf/Makefile (tests): Remove conditional for have-initfini-array
35912 since this is now always required and the variable does not exist
35913 anymore.
35914 (tests-static): Likewise.
35915 (modules-names): Likewise.
35916
35917 * po/eo.po: Add Esperanto translation from translation project.
35918
35919 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35920 merged with constructor/destructor.
35921 (init_array): Likewise.
35922 * elf/tst-array2dep.c (fini_array): Likewise.
35923 (init_array): Likewise.
35924
35925 2012-10-29 Mike Frysinger <vapier@gentoo.org>
35926
35927 * manual/message.texi: Delete @cartouche tags.
35928
35929 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35930
35931 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35932 EOPNOTSUPP.
35933 * sysdeps/mach/hurd/fsync.c: Likewise.
35934
35935 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35936 [_POSIX_REALTIME_SIGNALS]: Change condition to
35937 [_POSIX_REALTIME_SIGNALS > 0].
35938
35939 2012-10-27 Andreas Jaeger <aj@suse.de>
35940
35941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35942 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35944 [__WORDSIZE != 64]: Likewise.
35945
35946 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35947
35948 * iconvdata/tst-table.sh: Remove ${SHELL}.
35949 * iconvdata/tst-tables.sh: Likewise.
35950
35951 2012-10-25 David S. Miller <davem@davemloft.net>
35952
35953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35954 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35955 of strtoull.
35956
35957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35958 ifunc-impl-list.c
35959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35960 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35961 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35962 file.
35963
35964 2012-10-25 Roland McGrath <roland@hack.frob.com>
35965
35966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35967 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35968 __getdirentries.
35969
35970 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35971 Jim Blandy <jimb@codesourcery.com>
35972
35973 * scripts/cross-test-ssh.sh: New file.
35974 * manual/install.texi (Configuring and compiling): Document use of
35975 cross-test-ssh.sh.
35976 * INSTALL: Regenerated.
35977
35978 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35979
35980 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35981 EOPNOTSUPP.
35982
35983 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35984
35985 * Makeconfig (run-program-prefix): Fix comment.
35986
35987 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35988 Jim Blandy <jimb@codesourcery.com>
35989
35990 * Makeconfig (test-wrapper): New variable,
35991 (test-wrapper-env): Likewise.
35992 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35993 (run-built-tests): Define to yes.
35994 (run-program-prefix): Use $(test-wrapper).
35995 (built-program-cmd): Likewise.
35996 * Rules (make-test-out): Use $(test-wrapper-env) and
35997 $(host-built-program-cmd).
35998 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35999 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36000 tst-pathopt.sh.
36001 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36002 $(test-wrapper-env) to tst-rtld-load-self.sh.
36003 ($(objpfx)order2.out): Use $(test-wrapper).
36004 ($(objpfx)tst-initorder.out): Likewise.
36005 ($(objpfx)tst-initorder2.out): Likewise.
36006 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36007 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36008 (test_wrapper_env): New variable. Use it to run ld.so.
36009 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36010 Use it to run ld.so.
36011 (test_wrapper_env): Likewise.
36012 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36013 $(test-wrapper) to run-iconv-test.sh.
36014 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36015 (ICONV): Use $test_wrapper.
36016 * posix/Makefile ($(objpfx)globtest.out): Pass
36017 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36018 globtest.sh, not $(run-program-prefix).
36019 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36020 (test_wrapper): Likewise.
36021 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36022 set together with run_via_rtld_prefix.
36023 (run_program_prefix): Define in terms of test_wrapper and
36024 run_via_rtld_prefix.
36025
36026 2012-10-24 Roland McGrath <roland@hack.frob.com>
36027
36028 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36029 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36030 Targets removed.
36031
36032 [BZ #14743]
36033 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36034 Declare __clock_getres, __clock_gettime, __clock_settime,
36035 __clock_nanosleep, and __clock_getcpuclockid.
36036 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36037 Remove librt_hidden_def (clock_gettime).
36038 * sysdeps/unix/clock_gettime.c: Likewise.
36039 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36041 * rt/clock_getres.c: Define __clock_getres as an alias.
36042 * sysdeps/posix/clock_getres.c: Likewise.
36043 * rt/clock_settime.c: Define __clock_settime as an alias.
36044 * sysdeps/unix/clock_settime.c: Likewise.
36045 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36046 * sysdeps/unix/clock_nanosleep.c: Likewise.
36047 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36048 * rt/clock-compat.c: New file.
36049 * rt/Makefile (librt-routines): Add clock-compat and move
36050 $(clock-routines) to ...
36051 (routines): ... here, new variable.
36052 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36053 Don't add get_clockfreq here.
36054 * rt/Versions (libc: GLIBC_2.17): New version set.
36055 Add clock_* symbols here.
36056 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36058 (GLIBC_2.17): Add clock_* symbols.
36059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36063 Likewise.
36064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36065 Likewise.
36066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36070 * NEWS: Mention the move.
36071
36072 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36073 Use __open, __read, __close rather than their public counterparts.
36074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36075 (__get_clockfreq_via_cpuinfo): Likewise.
36076 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36077 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36078
36079 * config.h.in (HAVE_IFUNC): New #undef.
36080 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36081 was successful.
36082 * configure: Regenerated.
36083
36084 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36085
36086 * configure.in: Move READELF check to start of file.
36087 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36088 libc_cv_asm_gnu_indirect_function in the process.
36089 * configure: Regenerated.
36090
36091 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36092
36093 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36094 send the output to /dev/null.
36095 (libc_cv_cc_with_libunwind): Likewise.
36096 (libc_cv_as_noexecstack): Likewise.
36097 * configure: Regenerate.
36098
36099 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36100
36101 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36102
36103 * posix/globtest.sh (TMPDIR): Do not set.
36104 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36105 (testout): Likewise.
36106
36107 2012-10-24 Andreas Jaeger <aj@suse.de>
36108
36109 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36110 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36111 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36112 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36113 posix_fadvise64, posix_fallocate64.
36114
36115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36116 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36117 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36118 Likewise.
36119 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36120 Likewise.
36121 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36122
36123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36124 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36125 <bits/fcntl-linux.h>.
36126 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36127
36128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36129 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36130 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36131 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36132 [__WORDSIZE != 64]: Likewise.
36133
36134 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36135
36136 * Makeconfig (run-built-tests): New variable.
36137 * Rules [$(cross-compiling) = yes]: Change condition to
36138 [$(run-built-tests) = no].
36139 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36140 to [$(run-built-tests) = yes].
36141 * elf/Makefile [$(cross-compiling) = no]: Likewise
36142 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36143 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36144 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36145 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36146 * io/Makefile [$(cross-compiling) = no]: Likewise.
36147 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36148 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36149 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36150 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36151 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36152 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36153 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36154 * string/Makefile [$(cross-compiling) = no]: Likewise.
36155
36156 * posix/Makefile ($(objpfx)globtest.out): Pass
36157 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36158 $(rtld-installed-name).
36159 * posix/globtest.sh (elf_objpfx): Remove variable.
36160 (rtld_installed_name): Likewise.
36161 (library_path): Likewise.
36162 (run_program_prefix): New variable. Use for running globtest
36163 binary.
36164
36165 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36166 Joseph Myers <joseph@codesourcery.com>
36167
36168 * Makeconfig (host-built-program-cmd): New variable.
36169 * elf/Makefile (tst-stackguard1-ARGS): Use
36170 $(host-built-program-cmd).
36171 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36172 (tst-spawn-ARGS): Likewise.
36173 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36174
36175 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36176 Jim Blandy <jimb@codesourcery.com>
36177
36178 * Makeconfig (run-via-rtld-prefix): New variable.
36179 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36180 (built-program-cmd): Likewise.
36181
36182 2012-10-22 Andreas Jaeger <aj@suse.de>
36183
36184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36185 __O_RSYNC if it exists, otherwise to O_SYNC.
36186
36187 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36188 Joseph Myers <joseph@codesourcery.com>
36189
36190 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36191 /dev/null.
36192 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36193 from /dev/null
36194 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36195 /dev/null.
36196
36197 2012-10-22 Andreas Jaeger <aj@suse.de>
36198
36199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36200 Define always.
36201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36202
36203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36204 bits/fcntl-linux.h.
36205
36206 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36207 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36208
36209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36210 to __O_LARGEFILE.
36211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36212 to __O_LARGEFILE.
36213
36214 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36215 Joseph Myers <joseph@codesourcery.com>
36216
36217 * config.make.in (NM): New variable.
36218
36219 2012-10-21 Andreas Jaeger <aj@suse.de>
36220
36221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36222 definitions and declarations that are provided by
36223 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36224
36225 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36226
36227 [BZ #14683]
36228 * elf/Makefile (tests-static): Add tst-leaks1-static.
36229 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36230 ($(objpfx)tst-leaks1-static): New rule.
36231 ($(objpfx)tst-leaks1-static-mem): Likewise.
36232 (tst-leaks1-static-ENV): New macro.
36233 * elf/dl-open.c (dl_open_worker): Check the main application
36234 only if SHARED is defined.
36235 * elf/tst-leaks1-static.c: New file.
36236
36237 2012-10-20 Andreas Jaeger <aj@suse.de>
36238
36239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36240 generic values for Linux.
36241 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36242 and declarations that are provided by <bits/fcntl-linux.h> and
36243 include <bits/fcntl-linux.h>.
36244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36246
36247 2012-10-20 Roland McGrath <roland@hack.frob.com>
36248
36249 * io/fcntl.h: Move include of <bits/types.h> to the top and
36250 include it unconditionally.
36251
36252 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36253
36254 * wcsmbs/Makefile (tests-ifunc): New variable.
36255 (tests): Add $(tests-ifunc).
36256 * wcsmbs/test-wcschr-ifunc.c: New file.
36257 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36258 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36259 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36260 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36261 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36262
36263 * string/Makefile (tests-ifunc): New variable.
36264 (tests): Add $(tests-ifunc).
36265 * string/test-memccpy.c (TEST_NAME): New macro.
36266 * string/test-memchr.c (TEST_NAME): Likewise.
36267 * string/test-memcmp.c (TEST_NAME): Likewise.
36268 * string/test-memcpy.c (TEST_NAME): Likewise.
36269 * string/test-memmem.c (TEST_NAME): Likewise.
36270 * string/test-memmove.c (TEST_NAME): Likewise.
36271 * string/test-memset.c (TEST_NAME): Likewise.
36272 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36273 * string/test-stpcpy.c (TEST_NAME): Likewise.
36274 * string/test-stpncpy.c (TEST_NAME): Likewise.
36275 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36276 * string/test-strcasestr.c (TEST_NAME): Likewise.
36277 * string/test-strcat.c (TEST_NAME): Likewise.
36278 * string/test-strchr.c (TEST_NAME): Likewise.
36279 * string/test-strcmp.c(TEST_NAME): Likewise.
36280 * string/test-strcpy.c (TEST_NAME): Likewise.
36281 * string/test-strcspn.c (TEST_NAME): Likewise.
36282 * string/test-strlen.c (TEST_NAME): Likewise.
36283 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36284 * string/test-strncmp.c (TEST_NAME): Likewise.
36285 * string/test-strncpy.c (TEST_NAME): Likewise.
36286 * string/test-strnlen.c (TEST_NAME): Likewise.
36287 * string/test-strpbrk.c (TEST_NAME): Likewise.
36288 * string/test-strrchr.c (TEST_NAME): Likewise.
36289 * string/test-strspn.c (TEST_NAME): Likewise.
36290 * string/test-strstr.c (TEST_NAME): Likewise.
36291 * string/test-bcopy-ifunc.c: New file.
36292 * string/test-bzero-ifunc.c: Likewise.
36293 * string/test-memccpy-ifunc.c: Likewise.
36294 * string/test-memchr-ifunc.c: Likewise.
36295 * string/test-memcmp-ifunc.c: Likewise.
36296 * string/test-memcpy-ifunc.c: Likewise.
36297 * string/test-memmem-ifunc.c: Likewise.
36298 * string/test-memmove-ifunc.c: Likewise.
36299 * string/test-mempcpy-ifunc.c: Likewise.
36300 * string/test-memset-ifunc.c: Likewise.
36301 * string/test-rawmemchr-ifunc.c: Likewise.
36302 * string/test-stpcpy-ifunc.c: Likewise.
36303 * string/test-stpncpy-ifunc.c: Likewise.
36304 * string/test-strcasecmp-ifunc.c: Likewise.
36305 * string/test-strcasestr-ifunc.c: Likewise.
36306 * string/test-strcat-ifunc.c: Likewise.
36307 * string/test-strchr-ifunc.c: Likewise.
36308 * string/test-strchrnul-ifunc.c: Likewise.
36309 * string/test-strcmp-ifunc.c: Likewise.
36310 * string/test-strcpy-ifunc.c: Likewise.
36311 * string/test-strcspn-ifunc.c: Likewise.
36312 * string/test-strlen-ifunc.c: Likewise.
36313 * string/test-strncasecmp-ifunc.c: Likewise.
36314 * string/test-strncat-ifunc.c: Likewise.
36315 * string/test-strncmp-ifunc.c: Likewise.
36316 * string/test-strncpy-ifunc.c: Likewise.
36317 * string/test-strnlen-ifunc.c: Likewise.
36318 * string/test-strpbrk-ifunc.c: Likewise.
36319 * string/test-strrchr-ifunc.c: Likewise.
36320 * string/test-strspn-ifunc.c: Likewise.
36321 * string/test-strstr-ifunc.c: Likewise.
36322
36323 * debug/Makefile (tests-ifunc): New variable.
36324 (tests): Add $(tests-ifunc).
36325 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36326 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36327 * debug/test-stpcpy_chk-ifunc.c: New file.
36328 * debug/test-strcpy_chk-ifunc.c: Likewise.
36329
36330 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36331
36332 [BZ #13601]
36333 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36334 header is not read in.
36335
36336 2012-10-19 Joseph Myers <joseph@codesourcery.com>
36337
36338 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36339 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36340 directly. Pass built executable to script as
36341 $(built-program-cmd).
36342 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36343 $testprogram without using LD_LIBRARY_PATH and $ldso.
36344
36345 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36346 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36347 $(rtld-installed-name).
36348 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36349 (rtld_installed_name): Likewise.
36350 (library_path): Likewise.
36351 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36352 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36353 $(run-program-prefix) to tst-tables.sh.
36354 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36355 it to run tst-table-from and tst-table-to.
36356 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36357 Pass it to tst-table.sh.
36358 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36359 $(run-program-prefix) to tst-gettext.sh.
36360 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36361 tst-translit.sh.
36362 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36363 tst-gettext2.sh.
36364 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36365 to run tst-gettext.
36366 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36367 to run tst-gettext2.
36368 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36369 to run tst-translit.
36370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36371 $(run-program-prefix) to tst-mtrace.sh.
36372 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36373 to run tst-mtrace.
36374 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36375 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36376 $(rtld-installed-name).
36377 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36378 (rtld_installed_name): Likewise.
36379 (run_program_prefix): New variable. Use it to run wordexp-test.
36380
36381 * Makeconfig (ARCH): Remove all definitions.
36382 (machine): Likewise.
36383 [ARCH]: Remove conditional code.
36384 [!objdir]: Give error.
36385 [!objdir] (objpfx): Remove.
36386 [!objdir] (common-objpfx): Likewise.
36387 [!objdir] (common-objdir): Likewise.
36388 * configure.in (config_makefile): Remove. Hardcode Makefile in
36389 AC_CONFIG_FILES call.
36390 * configure: Regenerated.
36391
36392 [BZ #13888]
36393 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36394 or TMPDIR.
36395 (testout): Likewise.
36396
36397 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36398 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36399 $(rtld-installed-name).
36400 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36401 (rtld_installed_name): Likwise.
36402 (runit): Remove function.
36403 (run_getconf): New variable, Use it for running getconf binary.
36404
36405 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36406
36407 [BZ #14716]
36408 * string/test-memmem.c (check_result): New function.
36409 (do_one_test): Use it.
36410 (check1): New function.
36411 (test_main): Use it.
36412
36413 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36414
36415 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36416
36417 2012-10-18 Joseph Myers <joseph@codesourcery.com>
36418
36419 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36420 (_G_LSEEK64): Likewise.
36421 (_G_MMAP64): Likewise.
36422 (_G_FSTAT64): Likewise.
36423 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36424 (_G_LSEEK64): Likewise.
36425 (_G_MMAP64): Likewise.
36426 (_G_FSTAT64): Likewise.
36427 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36428 unconditional. Call __mmap64 directly.
36429 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36430 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36431 __lseek64 directly.
36432 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36433 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36434 __mmap64 directly.
36435 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36436 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36437 __lseek64 directly.
36438 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36439 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36440 __lseek64 directly.
36441 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36442 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36443 __lseek64 directly.
36444 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36445 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36446 __fxstat64 directly.
36447 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36448 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36449 unconditional.
36450 (freopen64) [!_G_OPEN64]: Remove conditional code.
36451 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36452 unconditional.
36453 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36454 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36455 unconditional.
36456 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36457 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36458 unconditional.
36459 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36460 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36461 unconditional.
36462 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36463 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36464 unconditional.
36465 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36466 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36467 unconditional.
36468 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36469 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36470 unconditional.
36471 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36472
36473 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36474
36475 [BZ #12140]
36476 * manual/memory.texi (Malloc Tunable Parameters): Add note
36477 about free list pointers overwriting some perturb bytes.
36478 Wording suggested by Roland McGrath.
36479
36480 2012-10-17 Joseph Myers <joseph@codesourcery.com>
36481
36482 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36483 (lgamma_test): Likewise.
36484 (tgamma_test): Likewise.
36485
36486 2012-10-16 Florian Weimer <fweimer@redhat.com>
36487
36488 [BZ #14700]
36489 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36490 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36491
36492 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36493
36494 * NEWS: Mention BZ #14716.
36495 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36496 when removing AVAILABLE1_USES_J macro.
36497
36498 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36499
36500 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36501 (__bswap_64): __uint64_t for unsigned 64-bit int.
36502
36503 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36504
36505 * include/string.h (memmem): Declare libc hidden alias.
36506 * string/memmem.c (memmem): Define libc hidden alias.
36507 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36508 __read, __close instead of open, read, close.
36509
36510 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36511
36512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36513 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36514 global and hidden.
36515 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36516 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36517 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36518 Likewise.
36519 (__rawmemchr_sse2): Likewise.
36520 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36521 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36522 (__strchr_sse2): Likewise.
36523 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36524 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36525 (__strcasecmp_sse2): Likewise.
36526 (__strncasecmp_sse2): Likewise.
36527 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36528 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36529 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36530 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36531 (__strrchr_sse2): Likewise.
36532 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36533 ifunc-impl-list.c.
36534 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36535 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36536 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36537 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36538 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36540 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36541 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36542 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36543 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36544 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36545 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36546 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36547 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36548 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36549 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36550 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36551 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36552 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36553 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36554 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36555 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36556 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36557 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36558 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36559 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36560 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36561 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36562 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36563 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36564
36565 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36566 global and hidden.
36567 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36568 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36569 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36570 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36571 Likewise.
36572 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36573 Likewise.
36574 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36575 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36576 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36577 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36578 ifunc-impl-list.c.
36579 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36580 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36582 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36583 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36584 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36585 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36586 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36587 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36588 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36589 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36590 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36591 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36592 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36593 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36594 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36595 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36596 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36597 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36598 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36600 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36601 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36602 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36604 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36605 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36606 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36607 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36608 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36609 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36610 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36611 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36612 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36613 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36614 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36615 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36616 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36617 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36618 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36619 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36620
36621 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36622 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36623 * include/ifunc-impl-list.h: New file.
36624 * misc/ifunc-impl-list.c: Likewise.
36625 * misc/Makefile (routines): Add ifunc-impl-list.
36626 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36627 * string/test-string.h: Include <ifunc-impl-list.h>.
36628 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36629 TEST_NAME]: New variables.
36630 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36631 are defined.
36632 (test_init): Call __libc_ifunc_impl_list to initialize
36633 func_list if TEST_IFUNC and TEST_NAME are defined.
36634
36635 * string/Makefile (strop-tests): Add bcopy and bzero.
36636 * string/test-bcopy.c: New file.
36637 * string/test-bzero.c: Likewise.
36638 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36639 defined.
36640 * string/test-memset.c: Support bzero test if TEST_BZERO is
36641 defined.
36642 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36643 __libc_memmove.
36644 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36645 __libc_memset.
36646 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36647 of memset.
36648
36649 2012-10-10 Joseph Myers <joseph@codesourcery.com>
36650
36651 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36652 * configure: Regenerated.
36653
36654 * Makeconfig (+link-static-before-libc): Don't include
36655 $(link-static-libc).
36656
36657 * libio/libio.h (_IO_pos_t): Remove.
36658
36659 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36660
36661 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36662 McGrath.
36663
36664 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36665
36666 * crypt/crypt-entry.c: Include fips-private.h.
36667 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36668 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36669 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36670 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36671
36672 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
36673
36674 * crypt/crypt-private.h: Include stdbool.h.
36675 (_ufc_setup_salt_r): Return bool.
36676 * crypt/crypt-entry.c: Include errno.h.
36677 (__crypt_r): Return NULL with EINVAL for bad salt.
36678 * crypt/crypt_util.c (bad_for_salt): New.
36679 (_ufc_setup_salt_r): Check that salt is long enough and within
36680 the specified alphabet.
36681 * crypt/badsalttest.c: New file.
36682 * crypt/Makefile (tests): Add it.
36683 ($(objpfx)badsalttest): New.
36684
36685 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36686
36687 * NEWS: Add entry for BZ #14602.
36688
36689 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36690
36691 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36692 type-generic.
36693 * math/libm-test.inc: Update comment listing what functions and
36694 macros are tested.
36695 (isgreater_test): New function.
36696 (isgreaterequal_test): Likewise.
36697 (isless_test): Likewise.
36698 (islessequal_test): Likewise.
36699 (islessgreater_test): Likewise.
36700 (isunordered_test): Likewise.
36701 (main): Call the new functions.
36702
36703 2012-10-09 Roland McGrath <roland@hack.frob.com>
36704
36705 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36706 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36707 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36708 * sysdeps/i386/configure: Regenerated.
36709 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36710 * sysdeps/mach/configure: Regenerated.
36711 * sysdeps/mach/hurd/configure: Regenerated.
36712 * sysdeps/powerpc/configure: Regenerated.
36713 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36714 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36715 * sysdeps/s390/s390-32/configure: Regenerated.
36716 * sysdeps/s390/s390-64/configure: Regenerated.
36717 * sysdeps/sh/configure: Regenerated.
36718 * sysdeps/sparc/configure: Regenerated.
36719 * sysdeps/unix/sysv/linux/configure: Regenerated.
36720 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36721 * sysdeps/x86_64/configure: Regenerated.
36722
36723 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36724 defined. Don't check if MAP is NULL.
36725
36726 2012-10-09 Joseph Myers <joseph@codesourcery.com>
36727
36728 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36729 (_G_stat64): Likewise.
36730 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36731 (_G_stat64): Likewise.
36732 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36733 instead of struct _G_stat64.
36734 * libio/fileops.c (mmap_remap_check): Likewise.
36735 (decide_maybe_mmap): Likewise.
36736 (_IO_new_file_seekoff): Likewise.
36737 (_IO_file_stat): Likewise.
36738 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36739 _G_off64_t.
36740 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36741 instead of struct _G_stat64.
36742 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36743
36744 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36745
36746 [BZ #14602]
36747 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36748 Replace with ...
36749 (CHECK_EOL): New macro.
36750 (two_way_short_needle): Check beginning of haystack for EOL. Use
36751 CHECK_EOL.
36752 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36753 Replace with CHECK_EOL.
36754 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36755 Replace with CHECK_EOL.
36756
36757 2012-10-08 Joseph Myers <joseph@codesourcery.com>
36758
36759 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36760 type-generic.
36761 * math/libm-test.inc: Update comment listing what functions and
36762 macros are tested.
36763 (finite_test): New function.
36764 (isinf_test): Likewise.
36765 (isnan_test): Likewise.
36766 (fpclassify_test): Test subnormal input.
36767 (isfinite_test): Likewise.
36768 (isnormal_test): Likewise.
36769 (main): Call the new functions.
36770
36771 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36772
36773 [BZ #14660]
36774 * Makerules (%.dynsym): Force C locale when running
36775 $(OBJDUMP) --dynamic-syms.
36776
36777 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36778
36779 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36780 <stdint.h>.
36781
36782 2012-10-06 David S. Miller <davem@davemloft.net>
36783
36784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36785 upper 32-bits of the length value in %o2 since we use branch-on-register
36786 tests which consider the entire 64-bit register.
36787
36788 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36789
36790 * string/test-strstr.c (check2): Add a test for page boundary.
36791
36792 2012-10-05 David S. Miller <davem@davemloft.net>
36793
36794 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36795 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36796 file.
36797 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36798 sysdep_routines.
36799 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36800 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36801 and bzero when HWCAP_SPARC_CRYPTO is present.
36802
36803 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36804
36805 [BZ #14602]
36806 * string/test-strstr.c (check2): New function.
36807 (test_main): Call check2.
36808
36809 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36810 and bug-strchr1.
36811 * string/bug-strcasestr1.c (do_test): Moved to ...
36812 * string/test-strcasestr.c (check1): Here. New function.
36813 (do_one_test): Break out result checking code into ...
36814 (check_result): This. New function.
36815 (do_one_test): Call check_result.
36816 (test_main): Call check1.
36817 * string/bug-strchr1.c (do_test): Moved to ...
36818 * string/test-strchr.c (check1): Here. New function.
36819 (do_one_test): Break out result checking code into ...
36820 (check_result): This. New function.
36821 (do_one_test): Call check_result.
36822 (test_main): Call check1.
36823 * string/bug-strstr1.c (main): Moved to ...
36824 * string/test-strstr.c (check1): Here. New function.
36825 (do_one_test): Break out result checking code into ...
36826 (check_result): This. New function.
36827 (do_one_test): Call check_result.
36828 (test_main): Call check1.
36829 * string/bug-strcasestr1.c: Removed.
36830 * string/bug-strchr1.c: Likewise.
36831 * string/bug-strstr1.c: Likewise.
36832
36833 * elf/Makefile (dl-routines): Add hwcaps.
36834 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36835 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36836 (_dl_important_hwcaps): Moved to ...
36837 * elf/dl-hwcaps.c: Here. New file.
36838 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36839
36840 [BZ #14557]
36841 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36842 if IS_IN_rtld isn't defined.
36843
36844 * elf/dl-support.c (_dl_sysinfo_map): New.
36845 Include "get-dynamic-info.h" and "setup-vdso.h".
36846 (_dl_non_dynamic_init): Call setup_vdso.
36847 * elf/dynamic-link.h: Don't include <assert.h>.
36848 (elf_get_dynamic_info): Moved to ...
36849 * elf/get-dynamic-info.h: Here. New file.
36850 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36851 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36852 * elf/setup-vdso.h: Here. New file.
36853 * elf/rtld.c: Include "setup-vdso.h".
36854 (dl_main): Call setup_vdso.
36855
36856 2012-10-05 Joseph Myers <joseph@codesourcery.com>
36857
36858 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36859 creal in comment listing functions tested. List finite, isinf,
36860 isnan, isless, islessequal, isgreater, isgreaterequal,
36861 islessgreater, isunordered, lgamma_r and pow10 as functions and
36862 macros not tested. Mention which functions not tested are aliases
36863 for other functions. Fix typo. Note that signs of NaNs are not
36864 tested.
36865
36866 * scripts/config.guess: Update from config.git.
36867 * scripts/config.sub: Likewise.
36868
36869 2012-10-04 Roland McGrath <roland@hack.frob.com>
36870
36871 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36872 * misc/madvise.c (madvise): Renamed to __madvise.
36873 Make madvise a weak alias.
36874 * include/sys/mman.h: Declare __madvise.
36875 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36876 * sysdeps/unix/syscalls.list
36877 (madvise): Make __madvise the strong name, and madvise a weak alias.
36878 * sysdeps/unix/sysv/linux/syscalls.list
36879 (madvise, mmap): Remove redundant entries.
36880 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36881 * malloc/malloc.c (mtrim): Likewise.
36882 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36883
36884 2012-10-03 Roland McGrath <roland@hack.frob.com>
36885
36886 * sysdeps/mach/hurd/dl-cache.c: File removed.
36887 * config.h.in (USE_LDCONFIG): New #undef.
36888 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36889 * configure: Regenerated.
36890 * elf/Makefile (dl-routines): Add dl-cache only under
36891 [$(use-ldconfig) = yes].
36892 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36893 cache on [USE_LDCONFIG].
36894 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36895 [USE_LDCONFIG].
36896 * elf/rtld.c (dl_main): Likewise.
36897
36898 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36899
36900 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36901 _SC_LEVEL4_CACHE_LINESIZE.
36902
36903 2012-10-03 Roland McGrath <roland@hack.frob.com>
36904
36905 * sysdeps/unix/bsd/confstr.h: File removed.
36906
36907 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
36908
36909 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36910 sys/sdt-config.h.
36911
36912 2012-10-02 Roland McGrath <roland@hack.frob.com>
36913
36914 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36915 Make 'mapoff' field ElfW(Off) rather than off_t.
36916
36917 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36918
36919 * nscd/Makefile: Remove nscd-cflags and all its users.
36920 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36921 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36922
36923 [BZ #10631]
36924 * malloc.c (malloc_printerr): Clarify error message.
36925
36926 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36927
36928 [BZ #14648]
36929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36930 Set bit_FMA_Usable if FMA is supported.
36931 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36932 macro.
36933 (bit_FMA4_Usable): Updated.
36934 (index_FMA_Usable): New macro.
36935 (CPUID_FMA): Likewise
36936 (HAS_FMA): Defined with bit_FMA_Usable.
36937
36938 2012-10-01 Roland McGrath <roland@hack.frob.com>
36939
36940 * bits/types.h (__swblk_t): Type removed.
36941 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36942 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36944 (__SWBLK_T_TYPE): Likewise.
36945 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36946 (__SWBLK_T_TYPE): Likewise.
36947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36948 (__SWBLK_T_TYPE): Likewise.
36949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36950 (__SWBLK_T_TYPE): Likewise.
36951
36952 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36953 Honza Horak <hhorak@redhat.com>
36954
36955 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36956 (xdr_mapname): Use YPMAXMAP as maxsize.
36957 (xdr_peername): Use YPMAXPEER as maxsize.
36958 (xdr_keydat): Use YPAXRECORD as maxsize.
36959 (xdr_valdat): Use YPMAXRECORD as maxsize.
36960
36961 2012-10-01 Roland McGrath <roland@hack.frob.com>
36962
36963 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36964
36965 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36966 * csu/init-first.c: ... here.
36967 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36968 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36970 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36971 * sysdeps/i386/init-first.c: File removed.
36972 * sysdeps/sh/init-first.c: File removed.
36973
36974 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36975
36976 [BZ #14645]
36977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36978 if x * y might underflow to zero and z is zero.
36979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36980 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36981 * math/libm-test.inc (min_subnorm_value): New variable.
36982 (fma_test): Add more tests.
36983 (fma_test_towardzero): Likewise.
36984 (fma_test_downward): Likewise
36985 (fma_test_upward): Likewise.
36986 (initialize): Set min_subnorm_value.
36987
36988 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36989
36990 [BZ #14638]
36991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36992 0 + 0.
36993 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36994 mode for addition resulting in exact zero.
36995 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36997 exact 0 + 0.
36998 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37000 * math/libm-test.inc (fma_test): Add more tests.
37001 (fma_test_towardzero): New function.
37002 (fma_test_downward): Likewise.
37003 (fma_test_upward): Likewise.
37004 (main): Call the new functions.
37005
37006 2012-09-28 David S. Miller <davem@davemloft.net>
37007
37008 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37009
37010 2012-09-28 Roland McGrath <roland@hack.frob.com>
37011
37012 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37013 instead of SIGALRM.
37014
37015 * sysdeps/gnu/_G_config.h: Moved to ...
37016 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37017 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37018 * sysdeps/generic/_G_config.h: ... here.
37019
37020 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37021
37022 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37023
37024 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37025 Conditionalize target on [libnss_test1.so-version].
37026
37027 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37028
37029 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37030 (elfobjdir): Move out of conditionals.
37031
37032 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37033 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37034 (__nss_lookup_function): Conditionalize label remove_from_tree on
37035 [!DO_STATIC_NSS || SHARED], matching its only use.
37036
37037 2012-09-28 David S. Miller <davem@davemloft.net>
37038
37039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37040 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37041 file.
37042 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37043 sysdep_routines.
37044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37046 when HWCAP_SPARC_CRYPTO is present.
37047
37048 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37049
37050 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37051
37052 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37053
37054 [BZ #6530]
37055 * stdio-common/vfprintf.c (process_string_arg): Revert
37056 2000-07-22 change.
37057
37058 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37059
37060 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37061 for testcase.
37062 * stdio-common/tst-sprintf.c: Include <locale.h>
37063 (main): Test sprintf's handling of incomplete multibyte
37064 characters.
37065
37066 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37067
37068 * elf/dl-runtime.c (VERSYMIDX): Removed.
37069 * elf/dl-version.c (VERSYMIDX): Likewise.
37070 * elf/do-rel.h (VERSYMIDX): Likewise.
37071 (VALIDX): Likewise.
37072 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37073 * elf/rtld.c (VALIDX): Likewise.
37074 (ADDRIDX): Likewise.
37075 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37076 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37077 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37078 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37079 (VALIDX): Likewise.
37080 (ADDRIDX): Likewise.
37081
37082 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37083
37084 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37085
37086 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37087
37088 [BZ #11438]
37089 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37090 to global scope.
37091 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37092 addresses are in the same scope as 192.0.2/24.
37093 * posix/gai.conf: Document new scope table defaults.
37094
37095 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37096
37097 [BZ #5298]
37098 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37099 for ftell. Compute offsets from write pointers instead.
37100 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37101
37102 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37103
37104 [BZ #14543]
37105 * libio/Makefile (tests): New test case tst-fseek.
37106 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37107 combination works in wide mode.
37108 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37109 state when the external buffer state changes.
37110
37111 2012-09-27 David S. Miller <davem@davemloft.net>
37112
37113 [BZ #14376]
37114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37115 pass reloc->r_addend in as the 'high' argument to
37116 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37117
37118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37119
37120 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37121
37122 * rt/tst-aio2.c: Include <pthread.h>.
37123 * rt/tst-aio3.c: Likewise.
37124
37125 2012-09-27 Steve Ellcey <sellcey@mips.com>
37126
37127 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37128
37129 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37130
37131 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37132 contents on [SHARED].
37133
37134 2012-09-26 Marek Polacek <polacek@redhat.com>
37135
37136 [BZ #14530]
37137 [BZ #13741]
37138 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37139 for C++ and GCC <4.3 as well as for non GCC compilers.
37140
37141 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37142
37143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37144
37145 2012-09-25 Roland McGrath <roland@hack.frob.com>
37146
37147 * Makefile.in (all, install): Declare with .PHONY.
37148 Reported by Michael Hope <michael.hope@linaro.org>.
37149
37150 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37151
37152 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37153 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37154 system header.
37155 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37156 Likewise.
37157 (sydep_routines): Add the new and the internal functions.
37158 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37159 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37161 (GLIBC_2.17): Add the new function.
37162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37163 (GLIBC_2.17): Likewise.
37164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37165 (GLIBC_2.17): Likewise.
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37167 (GLIBC_2.17): Likewise.
37168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37169
37170 2012-09-25 Alan Modra <amodra@gmail.com>
37171
37172 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37173 Add release barrier before setting once_control to say
37174 initialisation is done. Add hints on lwarx. Use macro in
37175 place of isync.
37176 (clear_once_control): Add release barrier.
37177
37178 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37179
37180 [BZ #13629]
37181 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37182 specially.
37183 * math/s_clog10.c (__clog10): Likewise.
37184 * math/s_clog10f.c (__clog10f): Likewise.
37185 * math/s_clog10l.c (__clog10l): Likewise.
37186 * math/s_clogf.c (__clogf): Likewise.
37187 * math/s_clogl.c (__clogl): Likewise.
37188 * math/Makefile (libm-calls): Add x2y2m1.
37189 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37190 (__x2y2m1): Likewise.
37191 (__x2y2m1l): Likewise.
37192 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37193 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37196 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37197 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37198 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37199 * sysdeps/i386/fpu/libm-test-ulps: Update.
37200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37201
37202 [BZ #14621]
37203 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37204 int as type of variable DEPTH.
37205 (glob): Use size_t instead of int as type of variables NEWCOUNT
37206 and OLD_PATHC.
37207
37208 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37209
37210 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37211 Add s_sincosf-sse2.
37212 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37213 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37214 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37215 macros for using routine as __sincosf_ia32.
37216 Use macro for function declaration and weak_alias.
37217 * sysdeps/i386/fpu/libm-test-ulps: Update.
37218
37219 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37221
37222 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37223 subnormal argument.
37224 * math/s_cexpf.c (__cexpf): Likewise.
37225 * math/s_csinf.c (__csinf): Likewise.
37226 * math/s_csinhf.c (__csinhf): Likewise.
37227 * math/s_ctanf.c (__ctanf): Likewise.
37228 * math/s_ctanhf.c (__ctanhf): Likewise.
37229 * math/s_ccosh.c (__ccoshf): Likewise.
37230 * math/s_cexp.c (__cexpl): Likewise.
37231 * math/s_csin.c (__csin): Likewise.
37232 * math/s_csinh.c (__csinh): Likewise.
37233 * math/s_ctan.c (__ctan): Likewise.
37234 * math/s_ctanh.c (ctanh): Likewise.
37235 * math/s_ccoshl.c (__ccoshl): Likewise.
37236 * math/s_cexpl.c (__cexpl): Likewise.
37237 * math/s_csinl.c (__csinl): Likewise.
37238 * math/s_csinhl.c (__csinhl): Likewise.
37239 * math/s_ctanl.c (__ctanl): Likewise.
37240 * math/s_ctanhl.c (__ctanhl): Likewise.
37241
37242 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37243
37244 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37245 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37246 (_IO_off_t): Define to __off_t, not _G_off_t.
37247 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37248 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37249 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37250 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37251 type of __dummy and __dummy2 fields.
37252 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37253 (_G_ssize_t): Likewise.
37254 (_G_off_t): Likewise.
37255 (_G_pid_t): Likewise.
37256 (_G_uid_t): Likewise.
37257 (_G_wchar_t): Likewise.
37258 (_G_wint_t): Likewise.
37259 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37260 (_G_ssize_t): Likewise.
37261 (_G_off_t): Likewise.
37262 (_G_pid_t): Likewise.
37263 (_G_uid_t): Likewise.
37264 (_G_wchar_t): Likewise.
37265 (_G_wint_t): Likewise.
37266 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37267 (_G_ssize_t): Likewise.
37268 (_G_off_t): Likewise.
37269 (_G_pid_t): Likewise.
37270 (_G_uid_t): Likewise.
37271 (_G_wchar_t): Likewise.
37272 (_G_wint_t): Likewise.
37273
37274 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37275
37276 * malloc/arena.c: Include malloc-sysdep.h.
37277 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37278 is sufficient to shrink the heap or an unmap is needed.
37279 * sysdeps/generic/malloc-sysdep.h: New file. Define
37280 new function check_may_shrink_heap.
37281 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37282 new function check_may_shrink_heap.
37283
37284 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37285
37286 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37287 comments.
37288
37289 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37290
37291 * catgets/test-gencat.sh: Add "set -e".
37292 * elf/tst-pathopt.sh: Likewise.
37293 * grp/tst_fgetgrent.sh: Likewise.
37294 * iconvdata/run-iconv-test.sh: Likewise.
37295 * intl/tst-gettext.sh: Likewise.
37296 * intl/tst-gettext2.sh: Likewise.
37297 * intl/tst-gettext4.sh: Likewise.
37298 * intl/tst-gettext6.sh: Likewise.
37299 * intl/tst-translit.sh: Likewise.
37300 * io/ftwtest-sh: Likewise.
37301 * libio/test-freopen.sh: Likewise.
37302 * malloc/tst-mtrace.sh: Likewise.
37303 * posix/globtest.sh: Likewise.
37304 * posix/tst-getconf.sh: Likewise.
37305 * posix/wordexp-tst.sh: Likewise.
37306 * stdio-common/tst-printf.sh: Likewise.
37307 * stdio-common/tst-unbputc.sh: Likewise.
37308 * stdlib/tst-fmtmsg.sh: Likewise.
37309 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37310 * catgets/Makefile: Do not specify -e option when running
37311 testsuite shell scripts.
37312 * elf/Makefile: Likewise.
37313 * grp/Makefile: Likewise.
37314 * iconvdata/Makefile: Likewise.
37315 * intl/Makefile: Likewise.
37316 * io/Makefile: Likewise.
37317 * libio/Makefile: Likewise.
37318 * malloc/Makefile: Likewise.
37319 * posix/Makefile: Likewise.
37320 * stdio-common/Makefile: Likewise.
37321 * stdlib/Makefile: Likewise.
37322 * sysdeps/x86_64/Makefile: Likewise.
37323
37324 * io/ftwtest-sh: Add copyright header.
37325 * posix/globtest.sh: Likewise.
37326 * posix/tst-getconf.sh: Likewise.
37327 * posix/wordexp-tst.sh: Likewise.
37328 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37329
37330 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37331
37332 [BZ #13679]
37333 * Makeconfig (+link): Defined as $(+link-static) if
37334 $(build-shared) isn't yes.
37335 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37336 isn't yes.
37337 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37338
37339 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37340
37341 [BZ #14562]
37342 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37343 new chunk size with MALLOC_ALIGN_MASK.
37344
37345 2012-09-24 Joseph Myers <joseph@codesourcery.com>
37346
37347 [BZ #5044]
37348 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37349 <rounding-mode.h>.
37350 (__printf_fphex): Determine rounding using get_rounding_mode and
37351 round_away.
37352 * stdio-common/tst-printf-round.c (struct hex_test): New
37353 structure.
37354 (hex_tests): New variable.
37355 (test_hex_in_one_mode): New function.
37356 (do_test): Also run tests for hex float output.
37357
37358 2012-09-21 Joseph Myers <joseph@codesourcery.com>
37359
37360 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37361 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37362 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37363 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37364 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37365 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37366 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37367 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37368
37369 2012-09-20 Joseph Myers <joseph@codesourcery.com>
37370
37371 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37372 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37373 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37374 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37375
37376 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37377
37378 [BZ #14579]
37379 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37380 mode only.
37381 * elf/tst-rtld-load-self.sh: New test.
37382 * elf/Makefile: Run it.
37383
37384 2012-09-18 Joseph Myers <joseph@codesourcery.com>
37385
37386 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37387 (tst-writev-ENV): Remove.
37388 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37389
37390 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37391
37392 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37393
37394 2012-09-17 Joseph Myers <joseph@codesourcery.com>
37395
37396 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37397 unconditional.
37398 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37399 Likewise.
37400 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37401 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37402 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37403 Likewise.
37404
37405 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 [BZ #14587]
37408 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37409 * config.make.in (have-cpp-asm-debuginfo): Removed.
37410 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37411 * configure: Regenerated.
37412
37413 2012-09-14 Joseph Myers <joseph@codesourcery.com>
37414
37415 [BZ #5044]
37416 * stdio-common/printf_fp.c: Include <stdbool.h> and
37417 <rounding-mode.h>.
37418 (___printf_fp): Determine rounding using get_rounding_mode and
37419 round_away.
37420 * stdio-common/tst-printf-round.c: New file.
37421 * stdio-common/Makefile (tests): Add tst-printf-round.
37422 (link-libm): New variable.
37423 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37424
37425 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37426
37427 [BZ #14576]
37428 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37429 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37430 Likewise.
37431 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37432 Likewise.
37433
37434 2012-09-13 Joseph Myers <joseph@codesourcery.com>
37435
37436 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37437 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37438 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37440
37441 2012-09-12 Joseph Myers <joseph@codesourcery.com>
37442
37443 [BZ #14518]
37444 * include/rounding-mode.h: New file.
37445 * sysdeps/generic/get-rounding-mode.h: Likewise.
37446 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37447 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37448 (MAX_VALUE): New macro.
37449 (MIN_VALUE): Likewise.
37450 (overflow_value): New function.
37451 (underflow_value): Likewise.
37452 (round_and_return): Use overflow_value and underflow_value to
37453 determine return values in overflow and underflow cases. Use
37454 round_away to determine rounding depending on rounding mode.
37455 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37456 determine return values in overflow and underflow cases.
37457 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37458 (struct test_results): New structure.
37459 (struct test): Use struct test_results to store expected results
37460 for all rounding modes.
37461 (TEST): Include expected results for all rounding modes.
37462 (test_in_one_mode): New function.
37463 (do_test): Use test_in_one_mode to compute and check results.
37464 Check results for all rounding modes.
37465 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37466 $(link-libm).
37467
37468 2012-12-09 Allan McRae <allan@archlinux.org>
37469
37470 * sysdeps/i386/fpu/libm-test-ulps: Update
37471
37472 2012-09-11 Joseph Myers <joseph@codesourcery.com>
37473
37474 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37475 (_G_int32_t): Likewise.
37476 (_G_uint16_t): Likewise.
37477 (_G_uint32_t): Likewise.
37478 (_G_HAVE_BOOL): Likewise.
37479 (_G_HAVE_ATEXIT): Likewise.
37480 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37481 (_G_HAVE_IO_FILE_OPEN): Likewise.
37482 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37483 (_G_int32_t): Likewise.
37484 (_G_uint16_t): Likewise.
37485 (_G_uint32_t): Likewise.
37486 (_G_HAVE_BOOL): Likewise.
37487 (_G_HAVE_ATEXIT): Likewise.
37488 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37489 (_G_HAVE_IO_FILE_OPEN): Likewise.
37490 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37491 (_G_int32_t): Likewise.
37492 (_G_uint16_t): Likewise.
37493 (_G_uint32_t): Likewise.
37494 (_G_HAVE_BOOL): Likewise.
37495 (_G_HAVE_ATEXIT): Likewise.
37496 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37497 (_G_HAVE_IO_FILE_OPEN): Likewise.
37498
37499 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37500
37501 * csu/libc-tls.c: Update copyright years.
37502
37503 2012-09-10 Joseph Myers <joseph@codesourcery.com>
37504
37505 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37506 [!_G_USING_THUNKS]: Remove conditional code.
37507 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37508 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37509
37510 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37511 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37512 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37513 (_G_VTABLE_LABEL_PREFIX): Likewise.
37514 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37515 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37516 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37517 (_G_VTABLE_LABEL_PREFIX): Likewise.
37518 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37519 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37520 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37521 (_G_VTABLE_LABEL_PREFIX): Likewise.
37522 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37523
37524 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37525
37526 * libio/Makefile: Include ../Makeconfig before tests.
37527 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37528 only if $(build-shared) is yes.
37529
37530 * iconv/gconv_db.c: Update copyright years.
37531
37532 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37533
37534 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37535 unwind info if defined PIC. Fix special cases description.
37536 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37537
37538 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37539 DP_HI_MASK entry.
37540 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37541
37542 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37543
37544 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37545
37546 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37547 is NULL.
37548
37549 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37550 (LDLIBS-tst-chk4): This.
37551 (LDFLAGS-tst-chk5): Renamed to ...
37552 (LDLIBS-tst-chk5): This.
37553 (LDFLAGS-tst-chk6): Renamed to ...
37554 (LDLIBS-tst-chk6): This.
37555 (LDFLAGS-tst-lfschk4): Renamed to ...
37556 (LDLIBS-tst-lfschk4): This.
37557 (LDFLAGS-tst-lfschk5): Renamed to ...
37558 (LDLIBS-tst-lfschk5): This.
37559 (LDFLAGS-tst-lfschk6): Renamed to ...
37560 (LDLIBS-tst-lfschk6): This.
37561
37562 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37563 on $(common-objpfx)soversions.mk.
37564
37565 2012-09-07 Joseph Myers <joseph@codesourcery.com>
37566
37567 [BZ #10014]
37568 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37569 example host name.
37570
37571 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37572
37573 * malloc/arena.c (arena_get_retry): New function that gets
37574 another arena for the caller to try its request on.
37575 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37576 current arena cannot fulfill the request.
37577 (__libc_memalign): Likewise.
37578 (__libc_memalign): Likewise.
37579 (__libc_pvalloc): Likewise.
37580 (__libc_calloc): Likewise.
37581
37582 2012-09-05 John Tobey <john.tobey@gmail.com>
37583
37584 [BZ #13542]
37585 * manual/arith.texi (Operations on Complex): Fix description
37586 of carg branch cut.
37587
37588 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37589
37590 [BZ #10014]
37591 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37592 host name.
37593
37594 [BZ #10038]
37595 * manual/memory.texi (Memory): Make order of menu items match
37596 order of sections.
37597
37598 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37599
37600 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37601 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37602 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37603
37604 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37605
37606 * csu/libc-tls.c (static_dtv): Renamed to ...
37607 (_dl_static_dtv): This. Make it global.
37608 (_dl_initial_dtv): Removed.
37609 (__libc_setup_tls): Updated.
37610 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37611 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37612 DL_INITIAL_DTV.
37613
37614 2012-09-06 Petr Machata <pmachata@redhat.com>
37615
37616 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37617 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37618 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37619 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37620
37621 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37622
37623 [BZ #14545]
37624 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37625 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37626 freeing dtv[-1].
37627
37628 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 [BZ #14544]
37631 * Makeconfig (link-static-before-libc): Replace $(+prector)
37632 with $(+prectorT).
37633 (link-static-after-libc): Replace $(+postctor) with
37634 $(+postctorT).
37635 (link-bounded): Replace $(+prector)/$(+postctor) with
37636 $(+prectorT)/$(+postctorT).
37637 (+prectorT): New macro.
37638 (+postctorT): Likewise.
37639
37640 2012-09-06 Joseph Myers <joseph@codesourcery.com>
37641
37642 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37643 (round_str): Handle values above the maximum for IBM long double
37644 as inexact.
37645 * stdlib/tst-strtod-round.c (tests): Regenerated.
37646
37647 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37648
37649 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37650 assembler flag.
37651 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37652 zarch_nohighgprs around the zarch optimized routines.
37653 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37654 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37656 for zarch.
37657
37658 2012-09-05 David S. Miller <davem@davemloft.net>
37659
37660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37661
37662 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37663 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37664 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37666 entries.
37667
37668 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37669
37670 * malloc/arena.c: Fold copyright years.
37671 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37672
37673 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37674
37675 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37676
37677 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37678
37679 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37680
37681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37682
37683 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37684 change internal state upon failure.
37685
37686 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
37687
37688 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37689 * malloc/memusage.c (mmap): Likewise.
37690 (mmap64, mremap): Likewise. Adjust name in comment.
37691
37692 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37693
37694 * libio/fileops.c: Fix typos in comments.
37695 * libio/oldfileops.c: Likewise.
37696 * libio/wfileops.c: Likewise.
37697
37698 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37699
37700 [BZ #1349]
37701 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37702 (tst-malloc-usable-ENV): Set environment for test case.
37703 * malloc/hooks.c (malloc_check_get_size): New function to get
37704 requested size.
37705 * malloc/malloc.c (musable): Use malloc_check_get_size.
37706 * malloc/tst-malloc-usable.c: New test case.
37707
37708 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37709
37710 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37711
37712 2012-09-05 Allan McRae <allan@archlinux.org>
37713
37714 [BZ #13966]
37715 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37716 determine header location.
37717 * configure: Regenerated.
37718
37719 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37720
37721 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37722 float format.
37723 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37724 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37725 format.
37726 (test): Regenerate.
37727
37728 2012-09-04 David S. Miller <davem@davemloft.net>
37729
37730 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37731 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37733
37734 2012-09-04 Florian Weimer <fweimer@redhat.com>
37735
37736 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37737 failures.
37738
37739 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37740
37741 2012-09-04 Joseph Myers <joseph@codesourcery.com>
37742
37743 [BZ #9914]
37744 * libio/iogetdelim.c: Include <limits.h>.
37745 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37746 + len + 1 would overflow.
37747
37748 2012-09-03 Andreas Jaeger <aj@suse.de>
37749
37750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37751 * sysdeps/i386/fpu/libm-test-ulps: Update.
37752
37753 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37754
37755 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37756 Add s_sinf-sse2, s_conf-sse2.
37757
37758 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37759 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37760 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37761 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37762
37763 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37764 for using routine as __sinf_ia32.
37765 Use macro for function declaration and weak_alias.
37766 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37767 for using routine as __cosf_ia32.
37768 Use macro for function declaration and weak_alias.
37769
37770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37771 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37772
37773 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37774 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37776
37777 * math/libm-test.inc (cos_test): Add more test cases.
37778 (sin_test): Likewise.
37779 (sincos_test): Likewise.
37780
37781 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37782
37783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37784 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37785 hidden.
37786 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37787
37788 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37789
37790 [BZ #14538]
37791 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37792 first element of the GOT.
37793 (elf_machine_load_address): Return the difference between
37794 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37795
37796 2012-09-01 Allan McRae <allan@archlinux.org>
37797
37798 [BZ #13412]
37799 * configure.in (AWK): Require gawk version 3.0 or later.
37800 * configure: Regenerated.
37801
37802 2012-09-01 Joseph Myers <joseph@codesourcery.com>
37803
37804 * sysdeps/unix/sysv/linux/kernel-features.h
37805 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37807 [__NR_clock_getres]: Make code unconditional.
37808 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37809 (clock_getcpuclockid): Remove code left unreachable by removal of
37810 conditionals.
37811 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37812 code unconditional.
37813 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37814 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37815 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37816 Make code unconditional.
37817 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37819 * sysdeps/unix/sysv/linux/clock_settime.c
37820 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37821 conditional code.
37822 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37823 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37824
37825 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37826
37827 [BZ #14476]
37828 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37829 scripts/test-installation.pl.
37830
37831 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37832 and $ld_so_version if it is set.
37833
37834 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37835
37836 [BZ #14516]
37837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37838 failure if reading from procfs failed.
37839 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37840
37841 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37842
37843 * sysdeps/unix/sysv/linux/kernel-features.h
37844 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37845 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37846 Remove conditional code.
37847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37848 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37849 Remove conditional code.
37850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37851 * sysdeps/unix/sysv/linux/i386/fxstat.c
37852 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37854 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37857 * sysdeps/unix/sysv/linux/i386/lxstat.c
37858 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37860 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37861 Remove conditional code.
37862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37863 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37864 Remove conditional code.
37865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37866 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37867 <kernel-features.h>.
37868 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37869 Remove.
37870 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37871 Remove conditional code.
37872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37873 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37874 Remove conditional.
37875
37876 2012-08-27 Mike Frysinger <vapier@gentoo.org>
37877
37878 [BZ #5400]
37879 * NEWS: Add fixed bug number.
37880
37881 2012-08-27 Joseph Myers <joseph@codesourcery.com>
37882
37883 [BZ #14519]
37884 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37885 underflowing exponent in case of negative sign.
37886 * stdlib/tst-strtod-round-data: Add more tests.
37887 * stdlib/tst-strtod-round.c (tests): Regenerated.
37888
37889 [BZ #3479]
37890 * stdlib/strtod_l.c (NDIG): Remove.
37891 (HEXNDIG): Likewise.
37892 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37893 smallest representable value.
37894 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37895 lie within an exact representation of 1/2 ulp of the result.
37896 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37897 unconditionally.
37898 (TENS_P9_IDX): Define unconditionally.
37899 (TENS_P9_SIZE): Likewise.
37900 (TENS_P10_IDX): Likewise.
37901 (TENS_P10_SIZE): Likewise.
37902 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37903 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37904 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37905 entries for 10^2^13 and 10^2^14.
37906 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37907 (TENS_P13_IDX): Define.
37908 (TENS_P13_SIZE): Likewise.
37909 (TENS_P14_IDX): Likewise.
37910 (TENS_P14_SIZE): Likewise.
37911 (_fpioconst_pow10): Change array size to
37912 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37913 unconditional.
37914 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37915 1024]: Add entries for 10^2^13 and 10^2^14.
37916 [LAST_POW10 > _LAST_POW10]: Remove #error.
37917 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37918 (_fpioconst_pow10): Change array size to
37919 FPIOCONST_POW10_ARRAY_SIZE.
37920 * stdlib/gen-fpioconst.c: New file.
37921 * stdlib/gen-tst-strtod-round.c: Likewise.
37922 * stdlib/tst-strtod-round-data: Likewise.
37923 * stdlib/tst-strtod-round.c: Likewise.
37924 * stdlib/Makefile (tests): Add tst-strtod-round.
37925
37926 [BZ #14459]
37927 * stdlib/strtod_l.c: Include <stdint.h>.
37928 (NDEBUG): Do not define.
37929 (round_and_return): Change EXPONENT parameter to type intmax_t.
37930 Rearrange calculations to avoid internal overflow possibilities.
37931 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37932 Rearrange calculations to avoid internal overflow possibilities.
37933 Assert that number fits inside MPNSIZE limbs.
37934 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37935 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37936 calculations and add assertions to avoid internal overflow
37937 possibilities. Add casts to avoid signed/unsigned operations.
37938 * stdlib/tst-strtod-overflow.c: New file.
37939 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37940
37941 2012-08-25 Marek Polacek <polacek@redhat.com>
37942
37943 * time/time.h: Fix some typos in comments.
37944
37945 2012-08-23 Roland McGrath <roland@hack.frob.com>
37946
37947 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37948 * posix/tst-rfc3484-2.c: Likewise.
37949 * posix/tst-rfc3484-3.c: Likewise.
37950
37951 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37952
37953 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37954 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37955
37956 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37957
37958 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37959 #include of fxstatat64.c.
37960
37961 2012-08-22 Roland McGrath <roland@hack.frob.com>
37962
37963 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37964 * shadow/getspent_r.c: Likewise.
37965 * shadow/getspnam.c: Likewise.
37966 * shadow/getspnam_r.c: Likewise.
37967 * gshadow/getsgent.c: Likewise.
37968 * gshadow/getsgent_r.c: Likewise.
37969 * gshadow/getsgnam.c: Likewise.
37970 * gshadow/getsgnam_r.c: Likewise.
37971 * inet/getnetbyad.c: Likewise.
37972 * inet/getnetbyad_r.c: Likewise.
37973 * inet/getnetbynm.c: Likewise.
37974 * inet/getnetbynm_r.c: Likewise.
37975 * inet/getnetent.c: Likewise.
37976 * inet/getnetent_r.c: Likewise.
37977 * inet/getproto.c: Likewise.
37978 * inet/getproto_r.c: Likewise.
37979 * inet/getprtent.c: Likewise.
37980 * inet/getprtent_r.c: Likewise.
37981 * inet/getprtname.c: Likewise.
37982 * inet/getprtname_r.c: Likewise.
37983 * inet/getrpcbyname.c: Likewise.
37984 * inet/getrpcbyname_r.c: Likewise.
37985 * inet/getrpcbynumber.c: Likewise.
37986 * inet/getrpcbynumber_r.c: Likewise.
37987 * inet/getrpcent.c: Likewise.
37988 * inet/getrpcent_r.c: Likewise.
37989 * inet/getaliasent.c: Likewise.
37990 * inet/getaliasent_r.c: Likewise.
37991 * inet/getaliasname.c: Likewise.
37992 * inet/getaliasname_r.c: Likewise.
37993 * nscd/getgrgid_r.c: Likewise.
37994 * nscd/getgrnam_r.c: Likewise.
37995 * nscd/gethstbyad_r.c: Likewise.
37996 * nscd/gethstbynm3_r.c: Likewise.
37997 * nscd/getpwnam_r.c: Likewise.
37998 * nscd/getpwuid_r.c: Likewise.
37999 * nscd/getsrvbynm_r.c: Likewise.
38000 * nscd/getsrvbypt_r.c: Likewise.
38001 * nscd/gai.c: Likewise.
38002
38003 * configure.in (build_nscd): New substituted variable, set
38004 by --disable-build-nscd and defaults to $use_nscd.
38005 * configure: Regenerated.
38006 * config.make.in (build-nscd): New substituted variable.
38007 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38008 Change conditional to require [$(build-nscd) = yes] as well.
38009 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38010
38011 [BZ# 13696]
38012 * configure.in (use_nscd): New substituted variable, set by
38013 --disable-nscd. If enabled, define USE_NSCD.
38014 * configure: Regenerated.
38015 * config.h.in: Add USE_NSCD.
38016 * config.make.in (use-nscd): New substituted variable.
38017 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38018 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38019 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38020 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38021 (CFLAGS-getgrnam_r.c): Likewise.
38022 (CFLAGS-initgroups.c): Likewise.
38023 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38024 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38025 Variables removed.
38026 * inet/getnetgrent_r.c
38027 (nscd_setnetgrent): New function, broken out of ...
38028 (setnetgrent): ... here. Call it.
38029 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38030 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38031 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38032 * nscd/Makefile (routines, aux): Move definitions after include of
38033 Makeconfig. Conditionalize on [$(use-nscd) != no].
38034 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38035 Conditionalize on [USE_NSCD].
38036 (is_nscd, nscd_init_cb): Likewise.
38037 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38038 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38039 * nss/nss_db/db-init.c: Likewise.
38040 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38041 [USE_NSCD].
38042 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38043 (make_request): Use it.
38044 (cache_valid_p): New function.
38045 (__check_pf): Use it.
38046 * NEWS: Add item for --disable-nscd.
38047
38048 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38049
38050 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38051 to support sed >= 4.2.1-20-ga9bf076.
38052 * configure: Regenerated.
38053
38054 2012-08-22 Roland McGrath <roland@hack.frob.com>
38055
38056 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38057 Conditionalize whole body on [IREL].
38058
38059 2012-08-22 Jeff Law <law@redhat.com>
38060
38061 [BZ #14505]
38062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38063 if the family is PF_UNSPEC.
38064
38065 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38066
38067 * Makerules (lib-version): Rename from V.
38068 (install-lib-nosubdir): Change V to lib-version.
38069
38070 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38071
38072 [BZ #14252]
38073 * powerpc32/power6/wcschr.c: New file.
38074 * powerpc32/power6/wcscpy.c: New file.
38075 * powerpc32/power6/wcsrchr.c: New file.
38076 * powerpc64/power6/wcschr.c: New file.
38077 * powerpc64/power6/wcscpy.c: New file.
38078 * powerpc64/power6/wcsrchr.c: New file.
38079
38080 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38081
38082 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38083 (two_way_short_needle): Use it.
38084 * string/strstr.c (AVAILABLE1_USES_J): Define.
38085 * string/strcasestr.c: Likewise.
38086
38087 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38088 array references.
38089 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38090
38091 [BZ #11607]
38092 * NEWS: Add an entry.
38093 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38094 define their defaults.
38095 (two_way_short_needle): Detect end-of-string on-the-fly.
38096 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38097 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38098 * string/bug-strcasestr1.c: New test.
38099 * string/Makefile: Run it.
38100
38101 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38102
38103 [BZ #11607]
38104 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38105 the first character.
38106
38107 2012-08-21 Roland McGrath <roland@hack.frob.com>
38108
38109 * csu/elf-init.c (__libc_csu_irel): Function removed.
38110 * csu/libc-start.c (apply_irel): New function.
38111 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38112
38113 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38114
38115 * sysdeps/unix/sysv/linux/kernel-features.h
38116 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38117 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38118 <kernel-features.h>.
38119 [__NR_fadvise64_64]: Make code unconditional.
38120 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38121 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38122 !__NR_fadvise64_64)]: Likewise.
38123 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38124 !__NR_fadvise64_64))]: Likewise.
38125 [__NR_fadvise64]: Make code unconditional.
38126 [!__NR_fadvise64]: Remove conditional code.
38127 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38128 <kernel-features.h>.
38129 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38130 unconditional.
38131 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38132 conditional code.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38134 not include <kernel-features.h>.
38135 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38136 unconditional.
38137 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38138 conditional code.
38139 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38140 include <kernel-features.h>.
38141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38142 unconditional.
38143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38144 conditional code.
38145
38146 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38147
38148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38149 slight instruction rearrangements per scrollpipe analysis.
38150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38151
38152 2012-08-20 Roland McGrath <roland@hack.frob.com>
38153
38154 * manual/syslog.texi (syslog; vsyslog, closelog):
38155 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38156 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38157
38158 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38159 DSOCAPS to match condition on defining it.
38160
38161 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38162
38163 * sysdeps/unix/sysv/linux/kernel-features.h
38164 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38172 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38173 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38174
38175 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38176 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38177
38178 * sysdeps/unix/sysv/linux/kernel-features.h
38179 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38180 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38181 unconditional.
38182 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38183 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38184 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38185 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38186 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38187 Make code unconditional.
38188 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38189 (__mmap64) [!__NR_mmap2]: Likewise.
38190 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38191 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38192 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38193 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38194 [__NR_mmap2]: Make code unconditional.
38195 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38196 (__mmap64) [!__NR_mmap2]: Likewise.
38197
38198 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38199
38200 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38201
38202 2012-08-18 Andreas Jaeger <aj@suse.de>
38203
38204 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38205
38206 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38207
38208 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38209 * include/unistd.h (__have_sock_cloexec): Likewise.
38210 (__have_pipe2): Likewise.
38211 (__have_dup3): Likewise.
38212
38213 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38214
38215 [BZ #9685]
38216 * include/unistd.h (__have_pipe2): Change define into an extern int.
38217 (__have_dup3): Likewise.
38218 * socket/have_sock_cloexec.c: Include fcntl.h.
38219 (__have_pipe2): New variable.
38220 (__have_dup3): Likewise.
38221
38222 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38223
38224 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38225
38226 2012-08-17 Marek Polacek <polacek@redhat.com>
38227
38228 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38229 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38230
38231 2012-08-17 Roland McGrath <roland@hack.frob.com>
38232
38233 * configure.in: Add AC_SUBST for sysheaders.
38234 * configure: Regenerated.
38235 * config.make.in (sysheaders): New substituted variable.
38236
38237 * sysdeps/unix/mkfifo.c: Moved ...
38238 * sysdeps/posix/mkfifo.c: ... here.
38239 * sysdeps/unix/mkfifoat.c: Moved ...
38240 * sysdeps/posix/mkfifoat.c: ... here.
38241
38242 * sysdeps/unix/utime.c: Moved ...
38243 * sysdeps/posix/utime.c: ... here.
38244
38245 * sysdeps/unix/time.c: Moved ...
38246 * sysdeps/posix/time.c: ... here.
38247 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38248 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38249
38250 * sysdeps/unix/nice.c: Moved ...
38251 * sysdeps/posix/nice.c: ... here.
38252
38253 * sysdeps/unix/alarm.c: Moved ...
38254 * sysdeps/posix/alarm.c: ... here.
38255
38256 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38257
38258 2012-08-17 Jeff Law <law@redhat.com>
38259
38260 * intl/Makefile (codeset_mo): New variable.
38261 ($(codeset_mo)): New target.
38262 (tst-codeset.out): Depend on that. Remove explicit rule.
38263 (tst-gettext3.out, tst-gettext5.out): Likewise.
38264 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38265 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38266 * intl/tst-codeset.sh: Remove.
38267 * intl/tst-gettext3.sh: Likewise.
38268 * intl/tst-gettext5.sh: Likewise.
38269
38270 2012-08-17 Roland McGrath <roland@hack.frob.com>
38271
38272 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38273 * sysdeps/unix/syscalls.list: ... here.
38274
38275 * sysdeps/posix/getaddrinfo.c
38276 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38277 (gaiconf_init, gaiconf_reload): Use them.
38278 [!_STATBUF_ST_NSEC]
38279 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38280 Define using time_t rather than struct timespec.
38281
38282 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38283 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38284 Macros removed.
38285 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38286 [!NO_THREADS].
38287 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38288 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38289 Likewise.
38290
38291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38292 __libc_cleanup_push argument.
38293
38294 * bits/param.h: New file.
38295 * misc/sys/param.h: New file.
38296 * include/sys/param.h: New file.
38297 * misc/Makefile (headers): Add bits/param.h.
38298 * sysdeps/generic/sys/param.h: File removed.
38299 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38300 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38301 * sysdeps/mach/hurd/bits/param.h: New file.
38302 * sysdeps/mach/hurd/sys/param.h: File removed.
38303
38304 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38305 last change.
38306
38307 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38308 [_IO_MTSAFE_IO].
38309 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38310 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38311 New macros.
38312
38313 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38314 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38315 rather than -D_IO_MTSAFE_IO conditionally.
38316 * stdio-common/Makefile (CPPFLAGS): Likewise.
38317 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38318 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38319 Use $(libio-mtsafe).
38320 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38321 of -D_IO_MTSAFE_IO.
38322 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38323 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38324 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38325 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38326 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38327 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38328 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38329 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38330 (CFLAGS-fread_u_chk.c): Likewise.
38331 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38332 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38333 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38334 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38335 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38336 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38337 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38338 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38339 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38340
38341 * libio/Makefile: Test [$(libc-reentrant) = yes]
38342 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38343
38344 * Makeconfig
38345 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38346 * sysdeps/pthread/configure: File removed.
38347 * sysdeps/pthread/Makeconfig: New file.
38348 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38349 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38350
38351 2012-08-16 Gary Benson <gbenson@redhat.com>
38352
38353 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38354 unmapping the first object in a namespace.
38355
38356 2012-08-16 Roland McGrath <roland@hack.frob.com>
38357
38358 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38359 (__internal_setnetgrent): ... this. Add internal_function to
38360 definition. Add libc_hidden_def.
38361 (setnetgrent): Update caller.
38362 (internal_endnetgrent): Renamed to ...
38363 (__internal_endnetgrent): ... this. Add internal_function to
38364 definition. Add libc_hidden_def.
38365 (endnetgrent): Update caller.
38366 (internal_getnetgrent_r): Renamed to ...
38367 (__internal_getnetgrent_r): ... this. Add internal_function to
38368 definition. Add libc_hidden_def.
38369 (__getnetgrent_r): Update caller.
38370 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38371
38372 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38373
38374 * stdlib/longlong.h: Update from GCC.
38375
38376 2012-08-16 Roland McGrath <roland@hack.frob.com>
38377
38378 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38379 on _QL, which is set by umul_ppmm but never used.
38380 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38381 variables, which are set by GMP macros but never used.
38382 * stdio-common/_itowa.c (_itowa): Likewise.
38383 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38384 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38385
38386 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38387
38388 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38389 struct La_sh_regs is not constant.
38390 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38391 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38392 and struct La_sparc64_regs are not constant.
38393
38394 2012-08-16 Joseph Myers <joseph@codesourcery.com>
38395
38396 * sysdeps/unix/sysv/linux/kernel-features.h
38397 (__ASSUME_POSIX_TIMERS): Remove.
38398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38400 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38401 Make code unconditional.
38402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38403 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38404 Make code unconditional.
38405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38406 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38407 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38409 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38410 Make code unconditional.
38411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38413 (__libc_missing_posix_timers): Remove.
38414
38415 2012-08-15 Roland McGrath <roland@hack.frob.com>
38416
38417 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38418 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38419
38420 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38421
38422 * elf/dl-sym.c: Include <stdlib.h>.
38423
38424 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38425 constants, which avoids warnings in 32-bit builds.
38426
38427 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38428 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38429
38430 * misc/lseek.c: File moved to ...
38431 * io/lseek.c: ... here.
38432
38433 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38434
38435 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38436 shifting LEN more than 31 bits at once.
38437
38438 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38439
38440 [BZ #14195]
38441 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38442 segmentation fault for a case of two empty input strings.
38443 * string/test-strncasecmp.c (check1): Renamed to...
38444 (bz12205): ...this.
38445 (bz14195): Add new testcase for two empty input strings and N > 0.
38446 (test_main): Call new testcase, adapt for renamed function.
38447
38448 2012-08-15 Andreas Jaeger <aj@suse.de>
38449
38450 [BZ #14090]
38451 * crypt/md5test2.c: New test, based on test supplied by Serge
38452 Belyshev <belyshev@depni.sinp.msu.ru>.
38453 * crypt/Makefile (xtests): Add md5test-giant..
38454 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38455
38456 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38457
38458 [BZ #14090]
38459 * crypt/md5.c (md5_process_block): Don't assume the buffer
38460 length is less than 2**32.
38461 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38462 length is less than 2**64.
38463
38464 2012-08-15 Roland McGrath <roland@hack.frob.com>
38465
38466 * string/str-two-way.h: Include <sys/param.h>.
38467 (MAX): Macro removed.
38468
38469 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38470 Move #define and #undef of memmove to just before and after
38471 including <string.h>.
38472
38473 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38474 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38475 and after including <string.h>. Move declarations of
38476 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38477 to before #include "string/memmove.c".
38478
38479 * include/dirent.h: Declare __getdirentries.
38480
38481 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38482 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38483
38484 2012-08-14 Mike Frysinger <vapier@gentoo.org>
38485
38486 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38487 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38488 * sysdeps/i386/configure: Regenerated.
38489 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38490 STABS_CURRENT_FILE, and STABS_FUN.
38491 (END): Remove call to STABS_FUN_END.
38492 (STABS_CURRENT_FILE1): Delete.
38493 (STABS_CURRENT_FILE): Likewise.
38494 (STABS_FUN): Likewise.
38495 (STABS_FUN_END): Likewise.
38496 (STABS_FUN2): Likewise.
38497 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38498 * sysdeps/x86_64/configure: Regenerated.
38499
38500 2012-08-14 Roland McGrath <roland@hack.frob.com>
38501
38502 * elf/dl-open.c: Include <atomic.h>.
38503 * elf/dl-lookup.c: Likewise.
38504
38505 2012-08-14 Joseph Myers <joseph@codesourcery.com>
38506
38507 * sysdeps/unix/sysv/linux/kernel-features.h
38508 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38509 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38510 unconditionally.
38511 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38512 unconditionally.
38513 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38514 condition on __ASSUME_CLONE_THREAD_FLAGS.
38515
38516 2012-08-14 Andreas Jaeger <aj@suse.de>
38517
38518 * sysdeps/i386/fpu/libm-test-ulps: Update.
38519
38520 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38521
38522 * include/atomic.h (atomic_exchange_and_add): Split into ...
38523 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38524 New atomic macros.
38525
38526 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38527
38528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38529
38530 2012-08-13 Jeff Law <law@redhat.com>
38531
38532 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38533 null byte in the output string.
38534
38535 2012-08-10 Joseph Myers <joseph@codesourcery.com>
38536
38537 * sysdeps/unix/sysv/linux/kernel-features.h
38538 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38539 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38540 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38541 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38542 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38543 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38544 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38545
38546 2012-08-09 Jeff Law <law@redhat.com>
38547
38548 [BZ #13939]
38549 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38550 When avoid_arena is set, don't retry in the that arena. Pick the
38551 next one, whatever it might be.
38552 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38553 (arena_lock): Pass in new parameter to arena_get2.
38554 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38555 arena_get2.
38556 (__libc_malloc): Unify retrying after main arena failure with
38557 __libc_memalign version.
38558 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38559
38560 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38561
38562 [BZ #14166]
38563 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38564 to __redirect_strstr.
38565 (__strstr_sse42): Use typeof __redirect_strstr.
38566 (__strstr_ia32): Likewise.
38567 (__libc_strstr): New prototype.
38568 (strstr): Renamed to ...
38569 (__libc_strstr): This.
38570 (strstr): New strong alias of __libc_strstr.
38571 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38572 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38573 __redirect_time.
38574 Include <time.h>.
38575 (__libc_time): New prototype.
38576 (time_ifunc): Replace time with __libc_time.
38577 (time): New strong alias and hidden definition of __libc_time.
38578 (__GI_time): Remove strong alias.
38579 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38580 Include <stddef.h>.
38581 (memmove): Redefined to __redirect_memmove.
38582 (__memmove_sse2): Use typeof __redirect_memmove.
38583 (__memmove_ssse3): Likewise.
38584 (__memmove_ssse3_back): Likewise.
38585 (__libc_memmove): New prototype.
38586 (memmove): Renamed to ...
38587 (__libc_memmove): This.
38588 (memmove): New strong alias of __libc_memmove.
38589
38590 2012-08-08 Mark Salter <msalter@redhat.com>
38591
38592 * elf/elf.h
38593 (R_MN10300_TLS_GD): Define.
38594 (R_MN10300_TLS_LD): Likewise.
38595 (R_MN10300_TLS_LDO): Likewise.
38596 (R_MN10300_TLS_GOTIE): Likewise.
38597 (R_MN10300_TLS_IE): Likewise.
38598 (R_MN10300_TLS_LE): Likewise.
38599 (R_MN10300_TLS_DTPMOD): Likewise.
38600 (R_MN10300_TLS_DTPOFF): Likewise.
38601 (R_MN10300_TLS_TPOFF): Likewise.
38602 (R_MN10300_SYM_DIFF): Likewise.
38603 (R_MN10300_ALIGN): Likewise.
38604 (R_MN10300_NUM): Update.
38605
38606 2012-08-08 Joseph Myers <joseph@codesourcery.com>
38607
38608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38609 Remove.
38610
38611 2012-08-08 Roland McGrath <roland@hack.frob.com>
38612
38613 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38614
38615 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38616 sysdeps/unix -> sysdeps/posix move.
38617 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38618
38619 2012-08-07 Allan McRae <allan@archlinux.org>
38620
38621 [BZ #14303]
38622 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38623 (SUNOS_CPP): Likewise.
38624 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38625 not found.
38626 (open_input): Call CPP using execvp.
38627
38628 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38629
38630 * sysdeps/unix/sysv/linux/kernel-features.h
38631 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38634 (__ASSUME_WAITID_SYSCALL): Likewise.
38635 * sysdeps/unix/sysv/linux/dl-execstack.c
38636 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38637 code unconditional.
38638 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38639 conditional code.
38640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38641 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38642 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38643 code.
38644 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38645 unconditional.
38646 [__ASSUME_WAITID_SYSCALL]: Likewise.
38647 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38648
38649 2012-08-07 Roland McGrath <roland@hack.frob.com>
38650
38651 * sysdeps/unix/closedir.c: Renamed to ...
38652 * sysdeps/posix/closedir.c: ... here.
38653 * sysdeps/unix/dirfd.c: Renamed to ...
38654 * sysdeps/posix/dirfd.c: ... here.
38655 * sysdeps/unix/dirstream.h: Renamed to ...
38656 * sysdeps/posix/dirstream.h: ... here.
38657 * sysdeps/unix/fdopendir.c: Renamed to ...
38658 * sysdeps/posix/fdopendir.c: ... here.
38659 * sysdeps/unix/opendir.c: Renamed to ...
38660 * sysdeps/posix/opendir.c: ... here.
38661 * sysdeps/unix/readdir.c: Renamed to ...
38662 * sysdeps/posix/readdir.c: ... here.
38663 * sysdeps/unix/readdir_r.c: Renamed to ...
38664 * sysdeps/posix/readdir_r.c: ... here.
38665 * sysdeps/unix/rewinddir.c: Renamed to ...
38666 * sysdeps/posix/rewinddir.c: ... here.
38667 * sysdeps/unix/seekdir.c: Renamed to ...
38668 * sysdeps/posix/seekdir.c: ... here.
38669 * sysdeps/unix/telldir.c: Renamed to ...
38670 * sysdeps/posix/telldir.c: ... here.
38671 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38672 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38673 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38674 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38675
38676 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38677 * bits/fcntl.h: ... here.
38678
38679 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38680 not 0.
38681 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38682 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38683 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38684 (struct flock): Move l_start, l_len to the beginning.
38685 Use __pid_t for l_pid.
38686 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38687 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38688 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38689 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38690 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38691 [__USE_LARGEFILE64] (struct flock64): New type.
38692 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38693
38694 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38695 * bits/dirent.h: ... here.
38696
38697 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38698 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38699
38700 2012-08-07 Joseph Myers <joseph@codesourcery.com>
38701
38702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38703 Change from 2.6.0 to 2.6.16.
38704 * sysdeps/unix/sysv/linux/configure: Regenerated.
38705 * sysdeps/unix/sysv/linux/kernel-features.h
38706 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38707 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38708 version.
38709 (__ASSUME_UTIMES): Likewise.
38710 (__ASSUME_CLONE_STOPPED): Remove.
38711 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38712 architectures, not kernel version.
38713 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38714 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38715 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38716 (__ASSUME_WAITID_SYSCALL): Likewise.
38717 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38718 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38719 * README: State 2.6.16 as minimum Linux kernel version. Do not
38720 refer to older versions.
38721
38722 2012-08-06 Roland McGrath <roland@hack.frob.com>
38723
38724 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38725 Define alphasort64 as an alias.
38726 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38727 Define versionsort64 as an alias.
38728 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38729 Define scandir64 as an alias.
38730 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38731 Define scandirat64 as an alias.
38732 * dirent/alphasort64.c (alphasort64):
38733 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38734 * dirent/versionsort64.c: Likewise.
38735 * dirent/scandir64.c: Likewise.
38736 * dirent/scandirat64.c: Likewise.
38737 * sysdeps/wordsize-64/alphasort.c: File removed.
38738 * sysdeps/wordsize-64/alphasort64.c: File removed.
38739 * sysdeps/wordsize-64/scandir.c: File removed.
38740 * sysdeps/wordsize-64/scandir64.c: File removed.
38741 * sysdeps/wordsize-64/scandirat.c: File removed.
38742 * sysdeps/wordsize-64/scandirat64.c: File removed.
38743 * sysdeps/wordsize-64/versionsort.c: File removed.
38744 * sysdeps/wordsize-64/versionsort64.c: File removed.
38745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38752 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38753
38754 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38756 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38758 [defined __arch64__ || defined __sparcv9]
38759 (__INO_T_MATCHES_INO64_T): New macro.
38760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38761 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38762 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38763 * sysdeps/unix/sysv/linux/bits/dirent.h
38764 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38765 (_DIRENT_MATCHES_DIRENT64): New macro.
38766
38767 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38768 Define lockf64 as an alias.
38769 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38770 Define fseeko64 as an alias.
38771 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38772 Define ftello64 as an alias.
38773 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38774 Define _IO_fgetpos64 and fgetpos64 as aliases.
38775 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38776 Define _IO_fsetpos64 and fsetpos64 as aliases.
38777 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38778 Conditionalize body on this.
38779 * libio/fseeko64.c: Likewise.
38780 * libio/ftello64.c: Likewise.
38781 * libio/iofgetpos64.c: Likewise.
38782 * libio/iofsetpos64.c: Likewise.
38783 * sysdeps/wordsize-64/lockf.c: File removed.
38784 * sysdeps/wordsize-64/lockf64.c: File removed.
38785 * sysdeps/wordsize-64/fseeko.c: File removed.
38786 * sysdeps/wordsize-64/fseeko64.c: File removed.
38787 * sysdeps/wordsize-64/ftello.c: File removed.
38788 * sysdeps/wordsize-64/ftello64.c: File removed.
38789 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38790 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38791 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38792 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38803
38804 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38806 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38808 [defined __arch64__ || defined __sparcv9]
38809 (__OFF_T_MATCHES_OFF64_T): New macro.
38810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38811 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38813 (__OFF_T_MATCHES_OFF64_T): New macro.
38814
38815 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38816
38817 * stdlib/secure-getenv.c (__secure_getenv): Replace
38818 GLIBC_2_16 with GLIBC_2_17.
38819
38820 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38821
38822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38824
38825 2012-08-03 David S. Miller <davem@davemloft.net>
38826
38827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38828
38829 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38830
38831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38832 Remove.
38833 (__ASSUME_CORRECT_SI_PID): Likewise.
38834 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38835 (__ASSUME_TMPFS_NAME): Likewise.
38836 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38837 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38838 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38839 (HAVE_AUX_SECURE): Make definition unconditional.
38840 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38841 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38842
38843 2012-08-03 Roland McGrath <roland@hack.frob.com>
38844
38845 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38846 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38847 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38849 __eloop_threshold instead of SYMLOOP_MAX.
38850
38851 * sysdeps/generic/eloop-threshold.h: New file.
38852 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38853 of MAXSYMLINKS.
38854 * elf/chroot_canon.c (chroot_canon): Likewise.
38855
38856 2012-08-03 Joseph Myers <joseph@codesourcery.com>
38857
38858 [BZ #13717]
38859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38860 Change to 2.6.0 everywhere.
38861 * sysdeps/unix/sysv/linux/configure: Regenerated.
38862 * sysdeps/unix/sysv/linux/kernel-features.h
38863 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38864 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38865 kernel versions.
38866 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38867 (__ASSUME_FUTEX_REQUEUE): Remove.
38868 (__ASSUME_STATFS64): Define unconditionally.
38869 (__ASSUME_AT_SECURE): Likewise.
38870 (__ASSUME_CORRECT_SI_PID): Likewise.
38871 (__ASSUME_TGKILL): Define without depending on kernel version for
38872 i386.
38873 (__ASSUME_UTIMES): Likewise.
38874 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38875 kernel version.
38876 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38877 (__ASSUME_TMPFS_NAME): Likewise.
38878 * README: Update reference to Linux kernel versions.
38879
38880 2012-08-02 Marek Polacek <polacek@redhat.com>
38881
38882 [BZ# 14150]
38883 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38884 libc_cv_asm_type_prefix with %.
38885 * configure: Regenerated.
38886 * include/libc-symbols.h: Remove comment about
38887 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38888 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38889 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38890 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38891 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38892 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38893 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38894 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38895 * elf/tst-unique2mod1.c: Likewise.
38896 * elf/tst-unique1mod2.c: Likewise.
38897 * elf/tst-unique1mod1.c: Likewise.
38898 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38899 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38900 Replace ASM_TYPE_DIRECTIVE with .type.
38901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38902 * sysdeps/i386/sysdep.h: Likewise.
38903 * sysdeps/x86_64/sysdep.h: Likewise.
38904 * sysdeps/sh/sysdep.h: Likewise.
38905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38906 Do not define ASM_TYPE_DIRECTIVE.
38907 * sysdeps/powerpc/sysdep.h: Likewise.
38908 * sysdeps/powerpc/powerpc32/sysdep.h:
38909 Replace ASM_TYPE_DIRECTIVE with .type.
38910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38911 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38912 * sysdeps/i386/fpu/e_powf.S: Likewise.
38913 * sysdeps/i386/fpu/e_expl.S: Likewise.
38914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38916 * sysdeps/i386/fpu/e_pow.S: Likewise.
38917 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38919 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38920 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38921 * sysdeps/i386/fpu/e_log2.S: Likewise.
38922 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38924 * sysdeps/i386/fpu/e_powl.S: Likewise.
38925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38927 * sysdeps/i386/fpu/e_logl.S: Likewise.
38928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38929 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38930 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38932 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38933 * sysdeps/i386/fpu/e_log.S: Likewise.
38934 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38935 * sysdeps/i386/fpu/e_logf.S: Likewise.
38936 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38937 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38939 * sysdeps/i386/fpu/e_log10.S: Likewise.
38940 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38942 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38943 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38947 * sysdeps/i386/i686/strtok.S: Likewise.
38948 * sysdeps/i386/i386-mcount.S: Likewise.
38949 * sysdeps/i386/strtok.S: Likewise.
38950 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38952 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38954 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38955 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38956 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38957 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38958 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38959 * sysdeps/x86_64/_mcount.S: Likewise.
38960 * sysdeps/x86_64/strtok.S: Likewise.
38961 * sysdeps/sh/_mcount.S: Likewise.
38962
38963 2012-08-01 Roland McGrath <roland@hack.frob.com>
38964
38965 * libio/iofopen.c: Include <fcntl.h>.
38966 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38967 (_IO_fopen64, fopen64): Define as aliases.
38968 * libio/iofopen64.c: Include <fcntl.h>.
38969 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38970 Conditionalize body on this.
38971 * sysdeps/wordsize-64/iofopen.c: File removed.
38972 * sysdeps/wordsize-64/iofopen64.c: File removed.
38973
38974 2012-08-01 Marek Polacek <polacek@redhat.com>
38975
38976 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38977 Use dlfcn directly instead of a variable.
38978 (binfmt-subdir): Do not define.
38979 (dlfcn): Likewise.
38980
38981 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38982
38983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38984 Remove all definitions.
38985 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38986 <kernel-features.h>.
38987 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38988 (miss_F_GETOWN_EX): Remove all definitions.
38989 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38990 macro definition.
38991 [!__ASSUME_FCNTL64]: Remove conditional code.
38992 [__ASSUME_FCNTL64]: Make code unconditional.
38993 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38994 <kernel-features.h>.
38995 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38996 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38997 (lockf64) [__NR_fcntl64]: Make code unconditional.
38998 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38999
39000 * sysdeps/unix/sysv/linux/kernel-features.h
39001 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39002 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39003 Make code unconditional.
39004 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39005 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39007 [__NR_vfork]: Make code unconditional.
39008 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39009 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39011 [__NR_vfork]: Make code unconditional.
39012 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39013 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39014
39015 2012-08-01 Roland McGrath <roland@hack.frob.com>
39016
39017 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39018 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39019
39020 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39021 Define mkstemp64 as an alias.
39022 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39023 Define mkstemps64 as an alias.
39024 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39025 Define mkostemp64 as an alias.
39026 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39027 Define mkostemps64 as an alias.
39028 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39029 Conditionalize body on this.
39030 * misc/mkostemp64.c: Likewise.
39031 * misc/mkostemps64.c: Likewise.
39032 * misc/mkstemps64.c: Likewise.
39033 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39034 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39035 * sysdeps/wordsize-64/mkostemp.c: File removed.
39036 * sysdeps/wordsize-64/mkstemp.c: File removed.
39037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39038 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39039 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39041
39042 [BZ #14138]
39043 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39045 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39046 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39047
39048 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39049 compat_symbol macros from <shlib-compat.h> rather than the underlying
39050 default_symbol_version and symbol_version macros, so that DEFAULT
39051 lines in shlib-versions are respected.
39052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39053
39054 2012-08-01 Florian Weimer <fweimer@redhat.com>
39055
39056 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39057 Declare with warn_unused_result.
39058 (setgid, setregid, setegid, setresgid): Likewise.
39059 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39060 Likewise.
39061 * WUR-REPORT: Remove set*id functions.
39062
39063 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39064
39065 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39066
39067 2012-07-31 Roland McGrath <roland@hack.frob.com>
39068
39069 [BZ #10191]
39070 * include/sys/socket.h (__libc_accept, __libc_accept4):
39071 Add attribute_hidden.
39072 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39073
39074 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39075 use of PTR_MANGLE.
39076 * inet/getnetgrent_r.c (setup): Likewise.
39077
39078 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39079
39080 2012-07-31 David S. Miller <davem@davemloft.net>
39081
39082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39083
39084 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39085
39086 [BZ #13629]
39087 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39088 value between 1.0 and 2.0 and smaller part has absolute value less
39089 than 1.0.
39090 * math/s_clog10.c (__clog10): Likewise.
39091 * math/s_clog10f.c (__clog10f): Likewise.
39092 * math/s_clog10l.c (__clog10l): Likewise.
39093 * math/s_clogf.c (__clogf): Likewise.
39094 * math/s_clogl.c (__clogl): Likewise.
39095 * math/libm-test.inc (clog_test): Add more tests.
39096 (clog10_test): Likewise.
39097 * sysdeps/i386/fpu/libm-test-ulps: Update.
39098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39099
39100 2012-07-31 Florian Weimer <fweimer@redhat.com>
39101
39102 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39103 Exit with zero in case no suitable GID is found, and write a
39104 message to standard error.
39105
39106 2012-07-30 Roland McGrath <roland@hack.frob.com>
39107
39108 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39109 rather than to 1.
39110 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39111 (MAXPATHLEN): Removed.
39112 (NOGROUP, NODEV): New macros.
39113 (setbit, clrbit, isset, isclr): New macros.
39114 (howmany, roundup, powerof2): New macros.
39115 (DEV_BSIZE): New macro.
39116
39117 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39118 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39119
39120 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39121 definition on [!__NO_LONG_DOUBLE_MATH].
39122
39123 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39124 PTR_MANGLE and PTR_DEMANGLE.
39125
39126 * socket/accept4.c (accept4): Rename to __libc_accept4.
39127 Define accept4 as a weak alias.
39128
39129 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39130 on [_DIRENT_HAVE_D_TYPE].
39131 * io/ftw.c (ftw_dir): Likewise.
39132
39133 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39134
39135 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39136
39137 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39138 Use the BSD numbers rather than the arbitrary ones we had.
39139 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39140 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39141 (SIGXCPU, SIGXFSZ): New macros.
39142 (_NSIG): Now 32.
39143
39144 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39145 initializer on [_LIBC_REENTRANT].
39146
39147 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39148 definitions inside [_POSIX_MAPPED_FILES].
39149
39150 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39151
39152 * dirent/opendir.c: Include <fcntl.h>.
39153
39154 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39155 (__libc_getspecific): Likewise.
39156 (__libc_key_create): Likewise.
39157
39158 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39159 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39160 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39161 (tmpfile64): Define as alias.
39162 * sysdeps/wordsize-64/tmpfile.c: File removed.
39163 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39164 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39165 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39166
39167 * stdio-common/vfscanf.c: Include <stdbool.h>.
39168 * nss/makedb.c: Likewise.
39169 * stdio-common/_i18n_number.h: Likewise.
39170 * argp/argp-help.c: Likewise.
39171 * posix/wordexp.c: Likewise.
39172 * sysdeps/posix/spawni.c: Likewise.
39173 * nss/nss_files/files-initgroups.c: Likewise.
39174 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39175 * nss/nss_files/files-initgroups.c: Likewise.
39176 * nss/nss_db/db-netgrp.c: Likewise.
39177 * nss/nss_db/db-initgroups.c: Likewise.
39178 * io/fchmodat.c: Include <sys/stat.h>.
39179
39180 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39181 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39182
39183 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39184 [HAVE_MMAP].
39185
39186 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39187 Add multiple inclusion protection.
39188
39189 2012-07-27 David S. Miller <davem@davemloft.net>
39190
39191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39192
39193 2012-07-27 Gary Benson <gbenson@redhat.com>
39194
39195 [BZ #14298]
39196 * elf/rtld.c: Include <stap-probe.h>.
39197 (dl_main): Added static probes "init_start" and "init_complete".
39198 * elf/dl-load.c: Include <stap-probe.h>.
39199 (lose): Take new parameter "nsid".
39200 Added static probe "map_failed".
39201 (_dl_map_object_from_fd): Pass namespace id to lose.
39202 Added static probe "map_start".
39203 (open_verify): Pass namespace id to lose.
39204 * elf/dl-open.c: Include <stap-probe.h>.
39205 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39206 and "reloc_complete".
39207 * elf/dl-close.c: Include <stap-probe.h>.
39208 (_dl_close_worker): Added static probes "unmap_start" and
39209 "unmap_complete".
39210 * elf/rtld-debugger-interface.txt: New file documenting the above.
39211
39212 2012-07-26 Roland McGrath <roland@hack.frob.com>
39213
39214 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39215 rather than a string variable.
39216 * sunrpc/rpc_main.c (h_output): Likewise.
39217 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39218
39219 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39220
39221 * inet/check_native.c: New file.
39222
39223 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39224
39225 [BZ #13629]
39226 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39227 if larger part has absolute value 1.0.
39228 * math/s_clog10.c (__clog10): Likewise.
39229 * math/s_clog10f.c (__clog10f): Likewise.
39230 * math/s_clog10l.c (__clog10l): Likewise.
39231 * math/s_clogf.c (__clogf): Likewise.
39232 * math/s_clogl.c (__clogl): Likewise.
39233 * math/libm-test.inc (clog_test): Add more tests.
39234 (clog10_test): Likewise.
39235 * sysdeps/i386/fpu/libm-test-ulps: Update.
39236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39237
39238 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39239 (pltexit): Likewise.
39240 (La_regs): Likewise.
39241 (La_retval): Likewise.
39242 (int_retval): Likewise.
39243 Update #error for removed macros to refer only to definitions in
39244 tst-audit.h.
39245 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39246 macro.
39247 (pltexit): Likewise.
39248 (La_regs): Likewise.
39249 (La_retval): Likewise.
39250 (int_retval): Likewise.
39251 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39252 macro.
39253 (pltexit): Likewise.
39254 (La_regs): Likewise.
39255 (La_retval): Likewise.
39256 (int_retval): Likewise.
39257 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39258 macro.
39259 (pltexit): Likewise.
39260 (La_regs): Likewise.
39261 (La_retval): Likewise.
39262 (int_retval): Likewise.
39263 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39264 macro.
39265 (pltexit): Likewise.
39266 (La_regs): Likewise.
39267 (La_retval): Likewise.
39268 (int_retval): Likewise.
39269 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39270 macro.
39271 (pltexit): Likewise.
39272 (La_regs): Likewise.
39273 (La_retval): Likewise.
39274 (int_retval): Likewise.
39275 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39276 macro.
39277 (pltexit): Likewise.
39278 (La_regs): Likewise.
39279 (La_retval): Likewise.
39280 (int_retval): Likewise.
39281 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39282 macro definitions in tst-audit.h.
39283 * sysdeps/i386/tst-audit.h: New file.
39284 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39285 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39286 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39287 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39288 * sysdeps/sh/tst-audit.h: Likewise.
39289 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39290 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39291 * sysdeps/x86_64/tst-audit.h: Likewise.
39292
39293 2012-07-26 Andreas Jaeger <aj@suse.de>
39294
39295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39296 ptrace.
39297
39298 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39299 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39300 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39301 PTRACE_O_MASK.
39302 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39303 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39304 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39305
39306 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39307 value.
39308
39309 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39310 _sigsys.
39311 (si_call_addr, si_syscall, si_arch): Define new macro.
39312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39313 _sigsys.
39314 (si_call_addr, si_syscall, si_arch): Define new marcro.
39315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39316 _sigsys.
39317 (si_call_addr, si_syscall, si_arch): Define new macro.
39318 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39319 _sigsys.
39320 (si_call_addr, si_syscall, si_arch): Define new macro.
39321
39322 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39323
39324 [BZ #13717]
39325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39326 Change to 2.4.21 where previously 2.4.1.
39327 * sysdeps/unix/sysv/linux/configure: Regenerated.
39328 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39329 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39330 Linux kernel version.
39331 (__ASSUME_STD_AUXV): Remove.
39332 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39333 kernel version.
39334 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39335 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39336 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39337 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39338 (__ASSUME_NETLINK_SUPPORT): Likewise.
39339 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39340 (__no_netlink_support): Remove conditional definition.
39341 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39342 Remove.
39343 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39344 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39345 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39346 (if_nameindex_ioctl): Remove.
39347 (if_nameindex_netlink): Do not handle __no_netlink_support.
39348 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39349 code.
39350 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39351 Remove conditional code.
39352 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39353 code.
39354 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39355 unconditional.
39356 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39357 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39358 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39359 Remove.
39360 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39361 [!__ASSUME_STD_AUXV]: Remove conditional code.
39362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39363 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39364 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39366 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39367 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39368 code.
39369 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39371 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39372 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39373 conditional code.
39374 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39376 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39377 code.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39379 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39380 conditional code.
39381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39382 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39383 code unconditional.
39384 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39385 conditional code.
39386 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39387 unconditional.
39388 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39389 conditional code.
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39391 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39392 unconditional.
39393 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39394 conditional code.
39395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39396 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39397 code unconditional.
39398 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39399 conditional code.
39400 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39401 unconditional.
39402 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39403 conditional code.
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39405 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39406 code unconditional.
39407 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39408 conditional code.
39409 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39410 unconditional.
39411 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39412 conditional code.
39413
39414 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39415
39416 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39417 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39418 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39419 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39420 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39421 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39422 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39423 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39424 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39425 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39426 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39427 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39428 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39429 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39430 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39431 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39432 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39434 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39436 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39437 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39439
39440 2012-07-25 Florian Weimer <fweimer@redhat.com>
39441
39442 * Versions.def: Add GLIBC_2.17.
39443 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39444 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39445 Introduce __libc_secure_getenv.
39446 * stdlib/Versions (2.17): Add secure_getenv
39447 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39448 * stdlib/secure-getenv.c: Rename __secure_getenv to
39449 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39450 symbol __secure_getenv for GLIBC_2.0.
39451 * stdlib/tst-secure-getenv.c: New.
39452 * stdlib/Makefile (tests): Add testcase.
39453 * manual/startup.texi (Environment Access): Document
39454 secure_getenv.
39455 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39456 __libc_secure_getenv.
39457 * inet/ruserpass.c (ruserpass): Likewise.
39458 * malloc/mtrace.c (mtrace): Likewise.
39459 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39460 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39461 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39462 * sysdeps/posix/tempname.c: Likewise. Evaluate
39463 HAVE_SECURE_GETENV.
39464 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39465 __secure_getenv to __libc_secure_getenv.
39466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39468 Likewise.
39469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39470 Likewise.
39471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39478
39479 2012-07-25 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39482 (struct La_i86_retval): Likewise.
39483 (struct La_x86_64_regs): Likewise.
39484 (struct La_x86_64_retval): Likewise.
39485 (struct La_x32_regs): Likewise.
39486 (struct La_x32_retval): Likewise.
39487 (struct La_ppc32_regs): Likewise.
39488 (struct La_ppc32_retval): Likewise.
39489 (struct La_ppc64_regs): Likewise.
39490 (struct La_ppc64_retval): Likewise.
39491 (struct La_sh_regs): Likewise.
39492 (struct La_sh_retval): Likewise.
39493 (struct La_s390_32_regs): Likewise.
39494 (struct La_s390_32_retval): Likewise.
39495 (struct La_s390_64_regs): Likewise.
39496 (struct La_s390_64_retval): Likewise.
39497 (struct La_sparc32_regs): Likewise.
39498 (struct La_sparc32_retval): Likewise.
39499 (struct La_sparc64_regs): Likewise.
39500 (struct La_sparc64_retval): Likewise.
39501 (struct audit_ifaces): Remove architecture-specific pltenter and
39502 pltexit members.
39503 * sysdeps/i386/ldsodefs.h: New file.
39504 * sysdeps/powerpc/ldsodefs.h: Likewise.
39505 * sysdeps/s390/ldsodefs.h: Likewise.
39506 * sysdeps/sh/ldsodefs.h: Likewise.
39507 * sysdeps/sparc/ldsodefs.h: Likewise.
39508 * sysdeps/x86_64/ldsodefs.h: Likewise.
39509
39510 2012-07-25 Marek Polacek <polacek@redhat.com>
39511
39512 [BZ #6808]
39513 * math/libm-test.inc (yn_test): Add another test.
39514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39515 to ERANGE when the result is +-Inf.
39516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39517 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39518 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39519 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39520
39521 2012-07-24 Joseph Myers <joseph@codesourcery.com>
39522
39523 * conform/data/time.h-data (NULL): Use macro-constant. Require
39524 equal to 0.
39525 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39526 clock_t.
39527 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39528
39529 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39530
39531 * configure.in <sysdeps resolving>: Correct printing
39532 Implies_before.
39533 * configure: Regenerate.
39534
39535 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39536
39537 * math/w_ilogb.c: Include <limits.h>.
39538 * math/w_ilogbl.c: Likewise.
39539
39540 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39541
39542 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39543 va_copy. Document allowing for unavailable va_copy only as
39544 pre-C99 compatibility.
39545 * manual/string.texi (Copying and Concatenation): Use va_copy
39546 instead of __va_copy in concat example.
39547
39548 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39549
39550 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39551 (__sendto): Use create_address_port. Initialize APORT and deallocate
39552 it if not null.
39553
39554 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39555 with O_NOLINK passed to __file_name_lookup.
39556
39557 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39558 with O_NOLINK passed to __file_name_lookup.
39559
39560 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39561 negative N or less than NGIDS.
39562
39563 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39564 type to string_t. Set ERANGE as errno and return it if NAME is not big
39565 enough. Use memcpy instead of strncpy.
39566
39567 2012-07-20 Joseph Myers <joseph@codesourcery.com>
39568
39569 * elf/Makefile (check-data): Remove.
39570 (localplt.data): New vpath directive.
39571 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39572 instead of $(check-data).
39573 * scripts/data/localplt-generic.data: Move to ...
39574 * sysdeps/generic/localplt.data: ... here.
39575 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39576 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39577 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39579 ... here.
39580 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39582 ... here.
39583 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39585 ... here.
39586 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39588 ... here.
39589 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39591 ... here.
39592 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39594 ... here.
39595
39596 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39597
39598 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39599 PPC32 and PPC64 files.
39600 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39601 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39602
39603 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39604
39605 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39606 __makecontext_ret to ...
39607 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39608 ... here and call exit if uc_link is NULL. New file.
39609 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39610 __makecontext_ret.S.
39611 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39612 __makecontext_ret to ...
39613 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39614 ... here and call exit if uc_link is NULL. New file.
39615 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39616 __makecontext_ret.S.
39617
39618 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39619
39620 * elf/elf.h (R_390_IRELATIVE): New definition.
39621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39622 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39623 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39625 (elf_machine_lazy_rel): Likewise.
39626 * sysdeps/s390/dl-irel.h: New file.
39627 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39628 * sysdeps/s390/s390-64/memset.S: New asm code.
39629 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39630 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39631 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39632 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39633 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39634 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39635 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39636 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39637 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39638 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39639 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39640 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39641 * sysdeps/s390/s390-32/memset.S: New asm code.
39642 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39643
39644 2012-07-17 Marek Polacek <polacek@redhat.com>
39645
39646 [BZ #14349]
39647 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39648 * sysdeps/s390/s390-64/configure.in: Likewise.
39649 * sysdeps/sparc/configure.in: Likewise.
39650 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39651 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39652 * sysdeps/i386/configure.in: Likewise.
39653 * sysdeps/x86_64/configure.in: Likewise.
39654 * sysdeps/sh/configure.in: Likewise.
39655 * sysdeps/s390/s390-32/configure: Regenerated.
39656 * sysdeps/s390/s390-64/configure: Likewise.
39657 * sysdeps/x86_64/configure: Likewise.
39658 * sysdeps/sh/configure: Likewise.
39659 * sysdeps/powerpc/powerpc64/configure: Likewise.
39660 * sysdeps/powerpc/powerpc32/configure: Likewise.
39661 * sysdeps/sparc/configure: Likwise.
39662 * sysdeps/i386/configure: Likewise.
39663
39664 * elf/dl-open.c: Comment fixes.
39665
39666 2012-07-17 Joseph Myers <joseph@codesourcery.com>
39667
39668 * Makefile [CXX] (check-data): Remove.
39669 [CXX] (c++-types.data): New vpath directive.
39670 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39671 vpath. Do not allow for C++ type data being missing.
39672 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39673 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39674 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39675 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39676 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39677 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39678 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39680 ... here.
39681 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39683 ... here.
39684 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39686 ... here.
39687 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39689 ... here.
39690 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39692 ... here.
39693 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39695 ... here.
39696 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39698 ... here.
39699 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39701
39702 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39703 definitions to architecture-specific files.
39704 (TLS_IE): Likewise.
39705 (TLS_LD): Likewise.
39706 (TLS_GD): Likewise.
39707 * sysdeps/i386/tls-macros.h: New file.
39708 * sysdeps/powerpc/tls-macros.h: Likewise.
39709 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39710 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39711 * sysdeps/sh/tls-macros.h: Likewise.
39712 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39713 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39714 * sysdeps/x86_64/tls-macros.h: Likewise.
39715
39716 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39717
39718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39719 zero value for regular exit case.
39720
39721 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39722 (__start_context): Preserve zero value for regular exit case.
39723
39724 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39725 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39726
39727 * manual/setjmp.texi (setcontext): Clarify normal process
39728 termination when uc_link is the null pointer.
39729 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39730 exit call.
39731
39732 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39733
39734 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39735 preprocessor. Test for each exception mask separately.
39736
39737 2012-07-16 Andreas Jaeger <aj@suse.de>
39738
39739 * po/ru.po: Update from translation team.
39740
39741 2012-07-15 Joseph Myers <joseph@codesourcery.com>
39742
39743 * conform/data/string.h-data (NULL): Use macro-constant. Require
39744 equal to 0.
39745 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39746 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39747 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39748 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39750
39751 2012-07-13 Andreas Jaeger <aj@suse.de>
39752
39753 * po/fr.po: Update from translation team.
39754
39755 2012-07-12 Marek Polacek <polacek@redhat.com>
39756
39757 [BZ #14173]
39758 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39759 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39760 loop condition.
39761
39762 2012-07-12 Joseph Myers <joseph@codesourcery.com>
39763
39764 [BZ #13717]
39765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39766 Change to 2.4.1 where previously 2.4.0.
39767 * sysdeps/unix/sysv/linux/configure: Regenerated.
39768 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39769 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39770 version.
39771 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39772 (__ASSUME_AT_CLKTCK): Remove.
39773 (__ASSUME_AT_PAGESIZE): Likewise.
39774 (__ASSUME_AT_XID): Likewise.
39775 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39776 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39777 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39778 unconditionally.
39779 (HAVE_AUX_PAGESIZE): Likewise.
39780 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39781 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39782 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39783
39784 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39785
39786 [BZ #14307]
39787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39788 the temporary buffer used to invoke __gethostbyname2_r,
39789 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39790 host_data / struct gaih_addrtuple.
39791 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39792 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39793 header file nss/nsswitch.h.
39794 * nss/nsswitch.h (global scope): Add definition of implementation
39795 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39796 resolv/nss_dns/dns-host.c).
39797
39798 2012-07-11 Andreas Jaeger <aj@suse.de>
39799
39800 * po/fr.po: Update from translation team.
39801
39802 * po/sv.po: Update from translation team
39803 * po/fr.po: Another update from translation team.
39804
39805 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39806
39807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39808 for subnormals or multiply small sinh result by itself.
39809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39811
39812 2012-07-11 David S. Miller <davem@davemloft.net>
39813
39814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39815
39816 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39817
39818 [BZ #14347]
39819 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39820 (INTERNAL_MARK): Shift it here.
39821
39822 2012-07-10 Marek Polacek <polacek@redhat.com>
39823
39824 [BZ #14151]
39825 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39826 libc_cv_asm_global_directive with .globl.
39827 * configure: Regenerated.
39828 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39829 with .globl.
39830 * sysdeps/i386/configure: Regenerated.
39831 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39832 with .globl.
39833 * sysdeps/x86_64/configure: Regenerated.
39834 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39835 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39836 * elf/tst-unique2mod2.c: Likewise.
39837 * elf/tst-unique2mod1.c: Likewise.
39838 * elf/tst-unique1mod2.c: Likewise.
39839 * elf/tst-unique1mod1.c: Likewise.
39840 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39841 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39843 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39844 * sysdeps/mach/sysdep.h: Likewise.
39845 * sysdeps/i386/sysdep.h: Likewise.
39846 * sysdeps/i386/i386-mcount.S: Likewise.
39847 * sysdeps/x86_64/_mcount.S: Likewise.
39848 * sysdeps/x86_64/sysdep.h: Likewise.
39849 * sysdeps/sh/_mcount.S: Likewise.
39850 * sysdeps/sh/sysdep.h: Likewise.
39851 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39852 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39853 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39855 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39856 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39857 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39858 * locale/localeinfo.h: Likewise.
39859 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39860 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39861
39862 2012-07-09 Roland McGrath <roland@hack.frob.com>
39863
39864 [BZ #14336]
39865 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39866 system".
39867 * manual/message.texi (The Uniforum approach): Likewise.
39868 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39869 (glibc iconv Implementation): Likewise.
39870
39871 2012-07-09 Joseph Myers <joseph@codesourcery.com>
39872
39873 [BZ #14337]
39874 * math/s_clog.c (__clog): Avoid scaling a value down where that
39875 could result in underflow.
39876 * math/s_clog10.c (__clog10): Likewise.
39877 * math/s_clog10f.c (__clog10f): Likewise.
39878 * math/s_clog10l.c (__clog10l): Likewise.
39879 * math/s_clogf.c (__clogf): Likewise.
39880 * math/s_clogl.c (__clogl): Likewise.
39881 * math/libm-test.inc (clog_test): Add more tests.
39882 (clog10_test): Likewise.
39883 * sysdeps/i386/fpu/libm-test-ulps: Update.
39884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39885
39886 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39887
39888 [BZ #14283]
39889 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39890 by 7 not 8 to examine high bit of fractional part.
39891
39892 [BZ #14042]
39893 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39894 for call to __mcount_internal.
39895 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39896 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39897 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39898
39899 2012-07-06 Joseph Myers <joseph@codesourcery.com>
39900
39901 [BZ #14154]
39902 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39903 approximation for values within 0x1p-13f of an odd multiple of
39904 pi/4.
39905 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39906 exception. Add more tests.
39907 * sysdeps/i386/fpu/libm-test-ulps: Update.
39908
39909 [BZ #6778]
39910 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39911 inputs and return -1 for them. Do not check for +Inf in case not
39912 reachable for +Inf.
39913 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39914 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39916 and return -1 for them. Do not check for +Inf in case not
39917 reachable for +Inf.
39918 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39919 define.
39920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39921 and return -1 for them. Do not check for +Inf in case not
39922 reachable for +Inf.
39923 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39924 spurious underflow.
39925 * sysdeps/i386/fpu/libm-test-ulps: Update.
39926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39927
39928 2012-07-06 Mike Frysinger <vapier@gentoo.org>
39929
39930 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39931
39932 2012-07-05 Joseph Myers <joseph@codesourcery.com>
39933
39934 [BZ #14157]
39935 [BZ #14331]
39936 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39937 could result in spurious underflow. Scale down values above
39938 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39939 * math/s_csqrtf.c (__csqrtf): Likewise.
39940 * math/s_csqrtl.c (__csqrtl): Likewise.
39941 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39942 spurious underflow.
39943 * sysdeps/i386/fpu/libm-test-ulps: Update.
39944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39945
39946 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39947
39948 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39949 xopen-msg.sed.
39950 * catgets/xopen-msg.awk: New file.
39951 * catgets/xopen-msg.sed: Removed.
39952
39953 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39954 po2text.sed.
39955 * intl/po2test.awk: New file.
39956 * intl/po2test.sed: Removed.
39957
39958 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39959
39960 [BZ #14328]
39961 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39962 or multiply small sinh result by itself.
39963 * math/s_ctanf.c (__ctanf): Likewise.
39964 * math/s_ctanh.c (__ctanh): Likewise.
39965 * math/s_ctanhf.c (__ctanhf): Likewise.
39966 * math/s_ctanhl.c (__ctanhl): Likewise.
39967 * math/s_ctanl.c (__ctanl): Likewise.
39968 * math/libm-test.inc (ctan_test_tonearest): New function.
39969 (ctan_test_towardzero): Likewise.
39970 (ctan_test_downward): Likewise.
39971 (ctan_test_upward): Likewise.
39972 (ctanh_test_tonearest): Likewise.
39973 (ctanh_test_towardzero): Likewise.
39974 (ctanh_test_downward): Likewise.
39975 (ctanh_test_upward): Likewise.
39976 (main): Call these new functions.
39977 * sysdeps/i386/fpu/libm-test-ulps: Update.
39978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39979
39980 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39981
39982 * .gitignore: Delete /ports entry.
39983
39984 2012-07-03 Andreas Jaeger <aj@suse.de>
39985
39986 * po/bg.po: Update from translation team.
39987 * po/cs.po: Likewise.
39988 * po/de.po: Likewise.
39989 * po/hr.po: Likewise.
39990 * po/nl.pl: Likewise.
39991 * po/pl.po: Likewise.
39992 * po/vi.po: Likewise.
39993
39994 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39995
39996 * Makeconfig [!+link] (+link-before-libc): New variable.
39997 [!+link] (+link-after-libc): Likewise.
39998 [!+link] (+link-tests): Likewise.
39999 [!+link] (+link): Define in terms of $(+link-before-libc) and
40000 $(+link-after-libc).
40001 [!+link-static] (+link-static-before-libc): New variable.
40002 [!+link-static] (+link-static-after-libc): Likewise.
40003 [!+link-static] (+link-static-tests): Likewise.
40004 [!+link-static] (+link-static): Define in terms of
40005 $(+link-static-before-libc) and $(+link-static-after-libc).
40006 [build-shared] (link-libc-before-gnulib): New variable.
40007 [build-shared] (link-libc-tests): Likewise.
40008 [build-shared] (link-libc): Define in terms of
40009 $(link-libc-before-gnulib).
40010 [!build-shared] (link-libc-tests): New variable.
40011 (link-libc-static-tests): New variable.
40012 [!gnulib] (gnulib-arch): New variable.
40013 [!gnulib] (gnulib-tests): Likewise.
40014 [!gnulib] (static-gnulib-arch): Likewise.
40015 [!gnulib] (static-gnulib-tests): Likewise.
40016 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40017 Define with "=" instead of ":=".
40018 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40019 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40020 * Rules (binaries-all-notests): New variable.
40021 (binaries-all-tests): Likewise.
40022 (binaries-static-notests): Likewise.
40023 (binaries-static-tests): Likewise.
40024 (binaries-all): Define using $(binaries-all-notests) and
40025 $(binaries-all-tests).
40026 (binaries-static): Define using $(binaries-static-notests) and
40027 $(binaries-static-tests).
40028 (binaries-shared-tests): New variable.
40029 (binaries-shared-notests): Likewise.
40030 (binaries-shared): Remove variable.
40031 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40032 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40033 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40034 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40035 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40036 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40037 * elf/Makefile (sln-modules): New variable.
40038 (extra-objs): Add $(sln-modules:=.o).
40039 (ldconfig-modules): Add static-stubs.
40040 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40041 * elf/static-stubs.c: New file.
40042
40043 [BZ #14283]
40044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40045 by 7 not 8 to examine high bit of fractional part. Use volatile
40046 variables when splitting into final array of floats if
40047 __FLT_EVAL_METHOD__ != 0.
40048 * math/libm-test.inc (cos_test): Add another test.
40049 (sin_test): Likewise.
40050 * sysdeps/i386/fpu/libm-test-ulps: Update.
40051
40052 [BZ #14273]
40053 * math/libm-test.inc (cosh_test): Add more tests.
40054
40055 * version.h (RELEASE): Set to "development".
40056 (VERSION): Set to "2.16.90".
40057
40058 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40059
40060 * NEWS: Update copyright. Remove last-updated date.
40061 Mention math library bug fixes and timezone data changes.
40062 * README: Mention GNU/Hurd, x32, and HPPA support status.
40063
40064 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40065
40066 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40067
40068 2012-06-27 Andreas Jaeger <aj@suse.de>
40069
40070 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40071
40072 2012-06-25 Andreas Jaeger <aj@suse.de>
40073
40074 * sysdeps/s390/fpu/libm-test-ulps: Update.
40075
40076 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40077 Thomas Schwinge <thomas@codesourcery.com>
40078
40079 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40080 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40082 fanotify_mark.
40083
40084 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40085
40086 * sysdeps/mach/start.c: Remove file.
40087 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40088 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40089 * sysdeps/sh/init-first.c: Likewise.
40090
40091 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40092 registers for frame unwinding purposes, add CFI directives.
40093 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40094 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40095 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40096 Likewise.
40097
40098 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40099 __fortify_fail returning.
40100 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40101
40102 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40103 sysdeps/sh/____longjmp_chk.S.
40104 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40105 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40106 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40107 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40108
40109 * sysdeps/sh/abort-instr.h: New file.
40110 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40111 process in case exit returns.
40112
40113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40114 initialize the GOT register before use.
40115
40116 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40117 calculation of ARGC > 4.
40118
40119 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40120 meaningful names to some local labels.
40121
40122 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40123 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40124
40125 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40126 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40127 (__arch_compare_and_exchange_val_16_acq): Likewise.
40128 (__arch_compare_and_exchange_val_32_acq): Likewise.
40129 (atomic_exchange_and_add): Fix gUSA sequence.
40130 (atomic_add): Likewise.
40131 (atomic_add_negative): Likewise.
40132 (atomic_add_zero): Likewise.
40133 (atomic_bit_test_set): Likewise.
40134
40135 2012-06-22 Andreas Schwab <schwab@redhat.com>
40136
40137 [BZ #13579]
40138 * include/link.h (struct link_map): Add l_free_initfini.
40139 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40140 l_initfini.
40141 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40142 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40143 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40144 set.
40145
40146 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40147
40148 * configure.in: Use AC_LANG_SOURCE.
40149 * configure: Regenerate.
40150
40151 2012-06-22 Roland McGrath <roland@hack.frob.com>
40152
40153 * configure.in (libc_cv_localstatedir): New substituted variable.
40154 * configure: Regenerated.
40155 * config.make.in (localstatedir): New variable, substituted from
40156 libc_cv_localstatedir.
40157 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40158 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40159 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40160 * sysdeps/gnu/configure: Regenerated.
40161
40162 2012-06-21 Jeff Law <law@redhat.com>
40163
40164 [BZ #14277]
40165 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40166 free. Simplify list management for _LIBC case.
40167
40168 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40169
40170 [BZ #14273]
40171 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40172 Clear sign bit of 64-bit integer value before comparing against
40173 overflow value.
40174
40175 * sysdeps/mach/configure: Regenerated.
40176
40177 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40178
40179 [BZ #14278]
40180 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40181
40182 2012-06-21 Jeff Law <law@redhat.com>
40183
40184 [BZ #13882]
40185 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40186 uint16_t for elements in the "seen" array to avoid char overflows.
40187 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40188 * elf/dl-open.c (dl_open_worker): Likewise.
40189
40190 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40191
40192 * scripts/list-sources.sh: Scan PORTS for translations.
40193 * po/libc.pot: Regenerated.
40194
40195 2012-06-21 Andreas Jaeger <aj@suse.de>
40196
40197 [BZ #12194]
40198 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40199 warning.
40200 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40201 * bits/byteswap-16.h (__bswap_16): Likewise.
40202 * bits/byteswap.h (__bswap_constant_16): Likewise.
40203
40204 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40205
40206 [BZ #14117]
40207 * sysdeps/i386/fpu_control.h: Removed.
40208 * sysdeps/x86_64/fpu_control.h: Moved to ...
40209 * sysdeps/x86/fpu_control.h: Here.
40210
40211 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40212 (_FPU_SETCW): Likewise.
40213
40214 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40215
40216 [BZ #14117]
40217 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40218 * sysdeps/x86/fpu/bits/mathinline.h: This.
40219 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40220
40221 [BZ #14050]
40222 [BZ #14117]
40223 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40224 functions if __x86_64__ is defined.
40225
40226 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40227
40228 * string/endian.h: Add !__ASSEMBLER__ condition for including
40229 conversion interfaces.
40230
40231 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40232
40233 [BZ #14241]
40234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40235 of ABS(x) in calculating zero to negative powers other than odd
40236 integers.
40237 * math/libm-test.inc (pow_test): Add more tests.
40238
40239 2012-06-15 Andreas Jaeger <aj@suse.de>
40240
40241 * manual/contrib.texi (Contributors): Update entry of Liubov
40242 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40243 Machado Filho.
40244
40245 2012-06-15 Cyril Hrubis <metan@ucw.cz>
40246
40247 * string/string.h: Add __wur to GNU version of strerror_r.
40248
40249 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40250
40251 [BZ #14229]
40252 * string/Makefile (tests): Add tst-strtok_r.
40253 * string/tst-strtok_r.c: New file.
40254 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40255 RAX_LP/RDX_LP on SAVE_PTR.
40256
40257 2012-06-14 Roland McGrath <roland@hack.frob.com>
40258
40259 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40260
40261 2012-06-14 Joseph Myers <joseph@codesourcery.com>
40262
40263 * libm_test.inc (csqrt_test): Allow more spurious underflow
40264 exceptions.
40265 (j0_test): Likewise.
40266 (j1_test): Likewise.
40267 (y0_test): Likewise.
40268 (y1_test): Likewise.
40269
40270 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40271
40272 * po/Makefile (libc.pot): Use UTF-8 charset.
40273
40274 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40275
40276 [BZ #14210]
40277 Suppress sign-conversion warning from FD_SET.
40278 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40279 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40280 not unsigned long int.
40281 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40282
40283 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40284
40285 [BZ #14050]
40286 [BZ #14117]
40287 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40288 __extern_always_inline instead of __extern_inline.
40289 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40290 (__signbit): Likewise.
40291 (__signbitl): Support C++ namespace.
40292 (lrintf): New inline function.
40293 (lrint): Likewise.
40294 (llrintf): Likewise.
40295 (llrint): Likewise.
40296 (fmaxf): Likewise.
40297 (fmax): Likewise.
40298 (fminf): Likewise.
40299 (fmin): Likewise.
40300 (rint): Likewise.
40301 (rintf): Likewise.
40302 (ceil): Likewise.
40303 (ceilf): Likewise.
40304 (floor): Likewise.
40305 (floorf): Likewise.
40306 (nearbyint): Likewise.
40307 (nearbyintf): Likewise.
40308
40309 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40310
40311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40312 non-default versions.
40313
40314 2012-06-11 Roland McGrath <roland@hack.frob.com>
40315
40316 [BZ #14218]
40317 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40318
40319 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40320
40321 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40322 (FE_UPWARD, FE_DOWNWARD): Don't define.
40323 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40325
40326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40327 reading it.
40328 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40330
40331 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40332
40333 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40336 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40337
40338 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40339
40340 [BZ #14117]
40341 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40342 * sysdeps/i386/fpu/Implies: New file.
40343 * sysdeps/x86_64/fpu/Implies: Likewise.
40344 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40345 * sysdeps/x86/fpu/bits/fenv.h: This.
40346
40347 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40348 __SSE_MATH__.
40349
40350 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40351
40352 [BZ #14134]
40353 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40354 character 0xffff that matches the last element of the
40355 conversion table.
40356
40357 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40358
40359 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40360 fmodl commit.
40361
40362 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40363
40364 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40365 values higher than 25.6283.
40366
40367 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40368
40369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40370 subnormal exponent extraction and add some __builtin_expect.
40371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40372 Fix for subnormal mantissa calculation.
40373
40374 2012-06-04 Mike Frysinger <vapier@gentoo.org>
40375
40376 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40377 cpu2 is -1 and errno is not ENOSYS.
40378
40379 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40380
40381 [BZ #14117]
40382 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40383 * sysdeps/x86/bits/string.h: This.
40384 * sysdeps/x86_64/bits/string.h: Removed.
40385
40386 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40387 if not compiling for x86-64, but compiling for >= i486.
40388
40389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40390 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40391
40392 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40393 New macro from Linux kernel 3.4.0.
40394 (FP_XSTATE_MAGIC2): Likewise.
40395 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40396 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40397 (struct _fpx_sw_bytes): New struct.
40398 (struct _xsave_hdr): Likewise.
40399 (struct _ymmh_state): Likewise.
40400 (struct _xstate): Likewise.
40401
40402 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40403 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40405 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40407 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40408
40409 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40410 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40411 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40412 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40413 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40414 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40415
40416 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40417
40418 [BZ #13743]
40419 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40420 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40421 (sysdep_headers): Include sys/platform/ppc.h.
40422 * sysdeps/powerpc/test-gettimebase.c: Test for
40423 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40424 * manual/Makefile (appendices): Include platform.texi.
40425 * manual/contrib.texi (Contributors): Update @node pointers.
40426 * manual/maint.texi (Maintenance): Likewise.
40427 (Platform): New node.
40428 * manual/platform.texi: New file. Document the new features.
40429
40430 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40431 Jakub Jelinek <jakub@redhat.com>
40432
40433 [BZ #14188]
40434 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40435 where __builtin_expect is unavailable.
40436
40437 2012-06-03 David S. Miller <davem@davemloft.net>
40438
40439 * stdlib/longlong.h: Updated from GCC.
40440
40441 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40442
40443 [BZ #14042]
40444 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40445 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40446 __mcount_internal.
40447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40448 (GLIBC_2.16): Likewise.
40449
40450 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40451
40452 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40453
40454 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40455
40456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40457 (default-abi): New variable.
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40459 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40460 variable.
40461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40462 Likewise.
40463 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40464 Likewise.
40465 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40466 Likewise.
40467
40468 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40469 definition. Document in comment.
40470
40471 2012-06-01 David S. Miller <davem@davemloft.net>
40472
40473 * stdlib/longlong.h: Updated from GCC.
40474
40475 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40476
40477 [BZ #14117]
40478 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40479 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40480 sys/debugreg.h sys/io.h here.
40481 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40482 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40483 sys/io.h.
40484 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40485 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40486 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40487 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40488 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40489 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40490
40491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40492 Define only if __x86_64__ is defined.
40493
40494 2012-06-01 Joseph Myers <joseph@codesourcery.com>
40495
40496 [BZ #14048]
40497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40498 Use int64_t for variable i.
40499 * math/libm-test.inc (fmod_test): Add more tests.
40500
40501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40502 z computation is not scheduled after fetestexcept.
40503 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40504 Use math_force_eval instead of asm to ensure calculation scheduled
40505 before exception test.
40506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40507 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40508
40509 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40510
40511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40512 computation is not scheduled after fetestexcept.
40513
40514 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40515
40516 [BZ #14117]
40517 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40518 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40519
40520 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40521
40522 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40523 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40524
40525 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40526
40527 [BZ #14117]
40528 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40529 <bits/wordsize.h>.
40530 (__WCHAR_MIN): Support __WORDSIZE == 64.
40531 (__WCHAR_MAX): Likewise.
40532
40533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40535
40536 [BZ #14183]
40537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40538 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40539
40540 [BZ #14117]
40541 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40542 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40543
40544 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40545 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40546
40547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40548 Defined to 1 if __x86_64__ isn't defined.
40549 (_STAT_VER_LINUX_OLD): New.
40550 (st_atime): Remove duplicate.
40551 (st_mtime): Likewise.
40552 (st_ctime): Likewise.
40553
40554 2012-05-31 David S. Miller <davem@davemloft.net>
40555
40556 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40557 entries.
40558
40559 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40560
40561 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40562 gen-libm-test.pl.
40563
40564 [BZ #14132]
40565 * elf/dl-reloc.c: Include <_itoa.h>.
40566 (_dl_reloc_bad_type): Remove use of INTUSE.
40567 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40568 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40569 * stdio-common/psiginfo.c (psiginfo): Likewise.
40570 * stdio-common/psignal.c (psignal): Likewise.
40571 * string/strsignal.c (strsignal): Likewise.
40572 * include/signal.h (_sys_siglist): Declare hidden proto.
40573 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40574 INTVARDEF with libc_hidden_data_def.
40575 * stdio-common/itoa-udigits.c: Likewise.
40576 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40577 (_itoa_lower_digits_internal): Remove declaration.
40578 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40579 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40580 (_sys_sigabbrev_internal): Remove aliases.
40581 (_sys_siglist): Define hidden alias.
40582
40583 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40584
40585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40586 bits/sysctl.h.
40587
40588 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40589
40590 [BZ #14117]
40591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40592 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40593
40594 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40595 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40596 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40597 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40599 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40600
40601 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40602 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40603 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40604
40605 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40606 with __addr.
40607 (insw): Likewise.
40608 (insl): Likewise.
40609 (outsb): Likewise.
40610 (outsw): Likewise.
40611 (outsl): Likewise.
40612
40613 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40614 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40615 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40616
40617 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40618 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40620 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40621 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40622 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40623
40624 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40625 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40626
40627 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40628 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40629
40630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40633
40634 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40635 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40636 to ...
40637 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40638
40639 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40640 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40641 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40642
40643 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40644 for x86-64.
40645 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40646
40647 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40648
40649 * math/math.h (M_El): Use two more decimal places.
40650 (M_LOG2El): Likewise.
40651 (M_LOG10El): Likewise.
40652 (M_LN2l): Likewise.
40653 (M_LN10l): Likewise.
40654 (M_PIl): Likewise.
40655 (M_PI_2l): Likewise.
40656 (M_PI_4l): Likewise.
40657 (M_1_PIl): Likewise.
40658 (M_2_PIl): Likewise.
40659 (M_2_SQRTPIl): Likewise.
40660 (M_SQRT2l): Likewise.
40661 (M_SQRT1_2l): Likewise.
40662
40663 2012-05-31 David S. Miller <davem@davemloft.net>
40664
40665 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40666 values between float registers.
40667 * sysdeps/sparc/sparc64/memset.S: Likewise.
40668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40669
40670 2012-05-31 Mike Frysinger <vapier@gentoo.org>
40671
40672 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40673 -D_FORTIFY_SOURCE=1.
40674 (CPPFLAGS-tst-longjmp_chk.c): Define.
40675 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40676 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40677 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40678 CFLAGS-tst-wchar-h.c.
40679
40680 2012-05-31 Marek Polacek <polacek@redhat.com>
40681
40682 [BZ #14132]
40683 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40684 __endmntent_internal): Remove declaration.
40685 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40686 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40687 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40688
40689 2012-05-30 David S. Miller <davem@davemloft.net>
40690
40691 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40692 (___Q_simulate_exceptions): Use real FP ops rather than writing
40693 into the %fsr.
40694 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40695 Likewise.
40696
40697 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40698
40699 [BZ #14117]
40700 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40701 * sysdeps/x86/bits/xtitypes.h: This.
40702
40703 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40704 * sysdeps/x86/bits/wordsize.h: This.
40705
40706 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40707 * sysdeps/x86/bits/huge_vall.h: This.
40708
40709 * sysdeps/i386/bits/select.h: Removed.
40710 * sysdeps/x86_64/bits/select.h: Renamed to ...
40711 * sysdeps/x86/bits/select.h: This.
40712
40713 * sysdeps/i386/bits/setjmp.h: Removed.
40714 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40715 * sysdeps/x86/bits/setjmp.h: This.
40716
40717 * sysdeps/i386/bits/mathdef.h: Removed.
40718 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40719 * sysdeps/x86/bits/mathdef.h: This.
40720
40721 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40722
40723 [BZ #14132]
40724 * include/sys/socket.h (__connect_internal)
40725 (__libc_sa_len_internal): Remove declaration.
40726 (__connect, __libc_sa_len): Declare hidden_proto.
40727 (SA_LEN): Remove use of INTUSE.
40728 * socket/connect.c: Add libc_hidden_def.
40729 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40730 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40731 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40732 alias.
40733 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40735 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40736 of adding _internal alias.
40737
40738 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40739
40740 [BZ #14117]
40741 * sysdeps/i386/bits/link.h: Removed.
40742 * sysdeps/i386/bits/linkmap.h: Likewise.
40743 * sysdeps/x86_64/bits/link.h: Renamed to ...
40744 * sysdeps/x86/bits/link.h: This.
40745 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40746 * sysdeps/x86/bits/linkmap.h: This.
40747
40748 * sysdeps/i386/bits/endian.h: Removed.
40749 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40750 * sysdeps/x86/bits/endian.h: This.
40751
40752 * sysdeps/i386/bits/byteswap.h: Removed.
40753 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40754 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40755 * sysdeps/x86/bits/byteswap.h: This.
40756 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40757 * sysdeps/x86/bits/byteswap-16.h: This.
40758 * sysdeps/i386/Implies: Add x86.
40759 * sysdeps/x86_64/Implies: Likewise.
40760
40761 2012-05-30 David S. Miller <davem@davemloft.net>
40762
40763 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40764 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40765 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40766 (FP_TRAPPING_EXCEPTIONS): Define.
40767 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40768 (FP_TRAPPING_EXCEPTIONS): Define.
40769 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40770 subnormals only when inexact has been signalled or underflow
40771 exceptions are enabled.
40772 (_FP_PACK_CANONICAL): Likewise.
40773
40774 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40775
40776 [BZ #14183]
40777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40778 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40779
40780 2012-05-30 Richard Henderson <rth@twiddle.net>
40781
40782 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40783 with #ifndef NOT_IN_libc.
40784
40785 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40786 marked to avoid plt entry.
40787
40788 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40789
40790 [BZ #14112]
40791 * Makeconfig (default-abi): New macro.
40792 (abi-includes): Likewise.
40793 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40794 $(abi-$(default-abi)-lib-soname) for soname if defined.
40795 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40796 abi-variants.
40797 * Makefile (installed-stubs): Likewise.
40798 * include/stubs-biarch.h: Removed.
40799 * scripts/lib-names.awk: Only handle one library at a time.
40800 * scripts/soversions.awk: Remove WORDSIZE support.
40801 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40802 entries.
40803 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40804 Removed.
40805 (syscall-list-default-condition): Likewise.
40806 (syscall-list-default-condition): Likewise.
40807 (syscall-list-includes): Likewise.
40808 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40809 syscall-list-* with abi-*. Handle undefined abi-variants.
40810 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40811 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40812 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40813 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40814 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40815 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40816 Removed.
40817 (syscall-list-32-options): Likewise.
40818 (syscall-list-32-condition): Likewise.
40819 (syscall-list-64-options): Likewise.
40820 (syscall-list-64-condition): Likewise.
40821 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40822 macro.
40823 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40824 Renamed to ...
40825 (abi-*): This.
40826 (abi-64-ld-soname): New macro.
40827 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40828 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40829 Renamed to ...
40830 (abi-*): This.
40831 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40832 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40833
40834 2012-05-30 Joseph Myers <joseph@codesourcery.com>
40835
40836 * sysdeps/unix/sysv/linux/kernel-features.h
40837 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40838 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40839 include <kernel-features.h>.
40840 [!__NR_ftruncate64]: Remove conditional code.
40841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40842 [__NR_ftruncate64]: Make code unconditional.
40843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40844 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40845 include <kernel-features.h>.
40846 [!__NR_ftruncate64]: Remove conditional code.
40847 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40848 [__NR_ftruncate64]: Make code unconditional.
40849 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40851 include <kernel-features.h>.
40852 [!__NR_ftruncate64]: Remove conditional code.
40853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40854 [__NR_ftruncate64]: Make code unconditional.
40855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40857 include <kernel-features.h>.
40858 [!__NR_ftruncate64]: Remove conditional code.
40859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40860 [__NR_ftruncate64]: Make code unconditional.
40861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40862
40863 * configure.in (libc_cv_fpie): Weaken to a compile test using
40864 LIBC_TRY_CC_OPTION.
40865 * configure: Regenerated.
40866
40867 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40868
40869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40873 Refreshed.
40874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40880 Refreshed.
40881
40882 2012-05-27 David S. Miller <davem@davemloft.net>
40883
40884 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40885 (___Q_zero): New.
40886 (__Q_simulate_exceptions): Return void. Change to simulate
40887 exceptions by writing into the %fsr.
40888 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40889 (__Qp_handle_exceptions): Likewise.
40890 (numbers): Delete.
40891 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40892 __Qp_handle_exceptions.
40893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40894 __Qp_handle_exceptions.
40895 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40896 as unused and give dummy FP_RND_NEAREST initializer.
40897 (FP_INHIBIT_RESULTS): Define.
40898 (___Q_simulate_exceptions): Update declaration.
40899 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40900 formatting.
40901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40902 as unused and give dummy FP_RND_NEAREST initializer.
40903 (__Qp_handle_exceptions): Update declaration.
40904 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40905 formatting.
40906
40907 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40908
40909 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40910 the temporary FPU control word.
40911 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40912 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40913 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40914 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40915 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40916 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40917 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40919 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40920 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40922
40923 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40924
40925 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40926 fields.
40927
40928 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40929
40930 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40931 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40932 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40933 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40934 Likewise.
40935 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40936 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40937 Likewise.
40938
40939 2012-05-27 Ulrich Drepper <drepper@gmail.com>
40940
40941 * po/h.po: Update from translation team.
40942
40943 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40944
40945 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40946
40947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40948 handling of denormals.
40949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40950 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40951 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40956 Likewise.
40957
40958 2012-05-26 Marek Polacek <polacek@redhat.com>
40959
40960 [BZ #14152]
40961 * math/libm-test.inc (fma_test): Don't always expect underflow
40962 exception.
40963
40964 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40965
40966 [BZ #12416]
40967 * elf/tst-execstack.c: Include stackinfo.h.
40968 (do_test): Adjust test case to ensure that pthread_getattr_np
40969 behaviour remains the same after marking stack executable.
40970
40971 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40972
40973 * sysdeps/unix/sysv/linux/kernel-features.h
40974 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40975 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40976 kernel-features.h.
40977 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40978 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40979 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40980 kernel-features.h.
40981 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40982 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40983
40984 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40985
40986 * configure.in: Define the default includes to being none.
40987 * configure: Regenerated.
40988
40989 2012-05-25 Roland McGrath <roland@hack.frob.com>
40990
40991 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40992 * sysdeps/x86_64/setjmp.S: Likewise.
40993 * sysdeps/i386/bsd-setjmp.S: Likewise.
40994 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40995 * sysdeps/i386/setjmp.S: Likewise.
40996 * sysdeps/i386/__longjmp.S: Likewise.
40997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40998 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40999
41000 * include/stap-probe.h: New file.
41001 * configure.in: Handle --enable-systemtap.
41002 * configure: Regenerated.
41003 * config.h.in (USE_STAP_PROBE): New #undef.
41004 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41005 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41006 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41007
41008 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41009
41010 [BZ #13717]
41011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41012 to 2.4.0 where earlier.
41013 * sysdeps/unix/sysv/linux/configure: Regenerated.
41014 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41015 <kernel-features.h>.
41016 [__ASSUME_32BITUIDS]: Make code unconditional.
41017 [!__ASSUME_32BITUIDS]: Remove conditional code.
41018 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41019 <kernel-features.h>.
41020 [__ASSUME_32BITUIDS]: Make code unconditional.
41021 [!__ASSUME_32BITUIDS]: Remove conditional code.
41022 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41023 [__ASSUME_32BITUIDS]: Make code unconditional.
41024 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41025 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41026 <kernel-features.h>.
41027 [__ASSUME_32BITUIDS]: Make code unconditional.
41028 [!__ASSUME_32BITUIDS]: Remove conditional code.
41029 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41030 <kernel-features.h>.
41031 [__ASSUME_32BITUIDS]: Make code unconditional.
41032 [!__ASSUME_32BITUIDS]: Remove conditional code.
41033 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41034 <kernel-features.h>.
41035 [__ASSUME_32BITUIDS]: Make code unconditional.
41036 [!__ASSUME_32BITUIDS]: Remove conditional code.
41037 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41038 <kernel-features.h>.
41039 [__ASSUME_32BITUIDS]: Make code unconditional.
41040 [!__ASSUME_32BITUIDS]: Remove conditional code.
41041 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41042 <kernel-features.h>.
41043 [__ASSUME_32BITUIDS]: Make code unconditional.
41044 [!__ASSUME_32BITUIDS]: Remove conditional code.
41045 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41046 <kernel-features.h>.
41047 [__ASSUME_32BITUIDS]: Make code unconditional.
41048 [!__ASSUME_32BITUIDS]: Remove conditional code.
41049 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41050 <kernel-features.h>.
41051 [__ASSUME_32BITUIDS]: Make code unconditional.
41052 [!__ASSUME_32BITUIDS]: Remove conditional code.
41053 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41054 <kernel-features.h>.
41055 [__ASSUME_32BITUIDS]: Make code unconditional.
41056 [!__ASSUME_32BITUIDS]: Remove conditional code.
41057 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41058 <kernel-features.h>.
41059 [__ASSUME_32BITUIDS]: Make code unconditional.
41060 [!__ASSUME_32BITUIDS]: Remove conditional code.
41061 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41062 <kernel-features.h>.
41063 [__ASSUME_32BITUIDS]: Make code unconditional.
41064 [!__ASSUME_32BITUIDS]: Remove conditional code.
41065 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41066 <kernel-features.h>.
41067 [__NR_setresgid] (__setresgid): Do not declare.
41068 [__ASSUME_32BITUIDS]: Make code unconditional.
41069 [!__ASSUME_32BITUIDS]: Remove conditional code.
41070 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41071 <kernel-features.h>.
41072 [__NR_setresuid] (__setresuid): Do not declare.
41073 [__ASSUME_32BITUIDS]: Make code unconditional.
41074 [!__ASSUME_32BITUIDS]: Remove conditional code.
41075 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41076 <kernel-features.h>.
41077 [__ASSUME_32BITUIDS]: Make code unconditional.
41078 [!__ASSUME_32BITUIDS]: Remove conditional code.
41079 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.c: Do not include
41088 <kernel-features.h>.
41089 [__ASSUME_32BITUIDS]: Make code unconditional.
41090 [!__ASSUME_32BITUIDS]: Remove conditional code.
41091 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41092 <kernel-features.h>.
41093 [__ASSUME_32BITUIDS]: Make code unconditional.
41094 [!__ASSUME_32BITUIDS]: Remove conditional code.
41095 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41096 <kernel-features.h>.
41097 [__ASSUME_32BITUIDS]: Make code unconditional.
41098 [!__ASSUME_32BITUIDS]: Remove conditional code.
41099 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41100 <kernel-features.h>.
41101 [__ASSUME_32BITUIDS]: Make code unconditional.
41102 [!__ASSUME_32BITUIDS]: Remove conditional code.
41103 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41104 <kernel-features.h>.
41105 [__ASSUME_32BITUIDS]: Make code unconditional.
41106 [!__ASSUME_32BITUIDS]: Remove conditional code.
41107 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41108 <kernel-features.h>.
41109 [__ASSUME_32BITUIDS]: Make code unconditional.
41110 [!__ASSUME_32BITUIDS]: Remove conditional code.
41111 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41112 <kernel-features.h>.
41113 [__ASSUME_32BITUIDS]: Make code unconditional.
41114 [!__ASSUME_32BITUIDS]: Remove conditional code.
41115 * sysdeps/unix/sysv/linux/kernel-features.h
41116 (__ASSUME_SETRESUID_SYSCALL): Remove.
41117 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41118 (__ASSUME_32BITUIDS): Likewise.
41119 (__ASSUME_LDT_WORKS): Likewise.
41120 (__ASSUME_O_DIRECTORY): Likewise.
41121 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41122 architecture but not kernel version.
41123 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41124 (__ASSUME_MMAP2_SYSCALL): Likewise.
41125 (__ASSUME_STAT64_SYSCALL): Likewise.
41126 (__ASSUME_IPC64): Likewise.
41127 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41128 <kernel-features.h>.
41129 [__ASSUME_32BITUIDS]: Make code unconditional.
41130 [!__ASSUME_32BITUIDS]: Remove conditional code.
41131 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41132 <kernel-features.h>.
41133 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41134 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41135 132096]: Remove conditional code.
41136 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41137 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41138 <kernel-features.h>.
41139 [__ASSUME_32BITUIDS]: Make code unconditional.
41140 [!__ASSUME_32BITUIDS]: Remove conditional code.
41141 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41142 <kernel-features.h>.
41143 [__ASSUME_32BITUIDS]: Make code unconditional.
41144 [!__ASSUME_32BITUIDS]: Remove conditional code.
41145 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41146 <kernel-features.h>.
41147 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41148 unconditional.
41149 (__setresgid): Do not declare.
41150 [__ASSUME_32BITUIDS]: Make code unconditional.
41151 [!__ASSUME_32BITUIDS]: Remove conditional code.
41152 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41153 <kernel-features.h>.
41154 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41155 unconditional.
41156 (__setresuid): Do not declare.
41157 [__ASSUME_32BITUIDS]: Make code unconditional.
41158 [!__ASSUME_32BITUIDS]: Remove conditional code.
41159 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41160 <kernel-features.h>.
41161 [__ASSUME_32BITUIDS]: Make code unconditional.
41162 [!__ASSUME_32BITUIDS]: Remove conditional code.
41163 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41164 <kernel-features.h>.
41165 [__ASSUME_32BITUIDS]: Make code unconditional.
41166 [!__ASSUME_32BITUIDS]: Remove conditional code.
41167
41168 2012-05-25 Richard Henderson <rth@twiddle.net>
41169
41170 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41171 dl_hwcap to ifunc resolver.
41172 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41173 elf_ifunc_invoke.
41174 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41175 dl_hwcap to ifunc resolver.
41176 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41177
41178 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41179
41180 [BZ #14153]
41181 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41182 for |x| <= 2**-26, not 2**-57.
41183 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41184 exception.
41185
41186 2012-05-24 Jeff Law <law@redhat.com>
41187
41188 * stdio-common/Makefile (tests): Add bug25.
41189 * stdio-common/bug25.c: New test.
41190
41191 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41192
41193 [BZ #13576]
41194 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41195 multiple of MALLOC_ALIGNMENT in size.
41196 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41197
41198 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41199
41200 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41201 Require >= 256.
41202 (FILENAME_MAX): Use macro-int-constant.
41203 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41204 (_IOFBF): Use macro-int-constant.
41205 (_IOLBF): Likewise.
41206 (_IONBF): Likewise.
41207 (SEEK_CUR): Likewise.
41208 (SEEK_END): Likewise.
41209 (SEEK_SET): Likewise.
41210 (TMP_MAX): Likewise.
41211 (EOF): Use macro-int-constant. Require < 0.
41212 (NULL): Use macro-constant. Require == 0.
41213 (stdin): Require type to be FILE *.
41214 (stdout): Likewise.
41215 (stderr): Likewise.
41216 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41217 macro-int-constant.
41218 (EXIT_SUCCESS): Likewise.
41219 (NULL): Use macro-constant. Require == 0.
41220 (RAND_MAX): Use macro-int-constant.
41221 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41222 [C99-based standards] (strtof): Require function.
41223 [C99-based standards] (strtold): Likewise.
41224 [C99-based standards] (strtoll): Likewise.
41225 [C99-based standards] (strtoull): Likewise.
41226 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41227 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41228 [ISO || ISO99 || ISO11] (math.h): Likewise.
41229 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41232
41233 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41234
41235 [BZ #14132]
41236 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41237 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41238 * intl/dgettext.c (DCGETTEXT): Likewise.
41239 * intl/gettext.c (DCGETTEXT): Likewise.
41240 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41241 * posix/regex_internal.h (gettext): Likewise.
41242 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41243 Remove declaration.
41244 * include/argz.h (__argz_count_internal)
41245 (__argz_stringify_internal): Remove declaration.
41246 (__argz_count, __argz_stringify): Declare hidden proto.
41247 * intl/dcgettext.c: Remove use of INTDEF.
41248 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41249 * string/argz-stringify.c: Likewise.
41250 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41251 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41252 Declare hidden proto.
41253 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41254 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41255 Declare hidden proto.
41256 * include/stdio.h (__asprintf_internal): Don't declare.
41257 (__asprintf): Don't define as macro. Declare hidden proto.
41258 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41259 (__fsetlocking): Declare hidden proto.
41260 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41261 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41262 hidden proto.
41263 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41264 (_IO_setlinebuf): Remove use of INTUSE.
41265 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41266 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41267 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41268 Remove declaration.
41269 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41270 (_IO_do_flush): Remove use of INTUSE.
41271 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41272 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41273 (_IO_adjust_column, _IO_least_wmarker)
41274 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41275 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41276 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41277 (_IO_default_doallocate, _IO_wdefault_doallocate)
41278 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41279 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41280 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41281 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41282 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41283 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41284 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41285 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41286 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41287 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41288 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41289 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41290 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41291 proto.
41292 (_IO_flush_all_internal, _IO_adjust_column_internal)
41293 (_IO_default_uflow_internal, _IO_default_finish_internal)
41294 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41295 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41296 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41297 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41298 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41299 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41300 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41301 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41302 (_IO_file_close_internal, _IO_file_close_it_internal)
41303 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41304 (_IO_file_init_internal, _IO_file_attach_internal)
41305 (_IO_file_fopen_internal, _IO_file_read_internal)
41306 (_IO_file_sync_internal, _IO_file_seek_internal)
41307 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41308 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41309 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41310 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41311 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41312 (_IO_list_all_internal, _IO_link_in_internal)
41313 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41314 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41315 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41316 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41317 (_IO_do_write_internal, _IO_padn_internal)
41318 (_IO_getline_info_internal, _IO_getline_internal)
41319 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41320 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41321 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41322 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41323 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41324 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41325 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41326 with libc_hidden_ver, remove use of INTUSE.
41327 * libio/genops.c: Likewise.
41328 * libio/freopen.c: Likewise.
41329 * libio/freopen64.c: Likewise.
41330 * libio/iofclose.c: Likewise.
41331 * libio/iofdopen.c: Likewise.
41332 * libio/iofflush.c: Likewise.
41333 * libio/iofflush_u.c: Likewise.
41334 * libio/iofgets.c: Likewise.
41335 * libio/iofgets_u.c: Likewise.
41336 * libio/iofopen.c: Likewise.
41337 * libio/iofopncook.c: Likewise.
41338 * libio/iofread.c: Likewise.
41339 * libio/iofread_u.c: Likewise.
41340 * libio/ioftell.c: Likewise.
41341 * libio/iofwrite.c: Likewise.
41342 * libio/iogetline.c: Likewise.
41343 * libio/iogets.c: Likewise.
41344 * libio/iogetwline.c: Likewise.
41345 * libio/iopadn.c: Likewise.
41346 * libio/iopopen.c: Likewise.
41347 * libio/ioseekoff.c: Likewise.
41348 * libio/ioseekpos.c: Likewise.
41349 * libio/iosetbuffer.c: Likewise.
41350 * libio/iosetvbuf.c: Likewise.
41351 * libio/ioungetc.c: Likewise.
41352 * libio/ioungetwc.c: Likewise.
41353 * libio/iovdprintf.c: Likewise.
41354 * libio/iovsprintf.c: Likewise.
41355 * libio/iovsscanf.c: Likewise.
41356 * libio/memstream.c: Likewise.
41357 * libio/obprintf.c: Likewise.
41358 * libio/oldfileops.c: Likewise.
41359 * libio/oldiofclose.c: Likewise.
41360 * libio/oldiofdopen.c: Likewise.
41361 * libio/oldiofopen.c: Likewise.
41362 * libio/oldiopopen.c: Likewise.
41363 * libio/oldstdfiles.c: Likewise.
41364 * libio/putc.c: Likewise.
41365 * libio/setbuf.c: Likewise.
41366 * libio/setlinebuf.c: Likewise.
41367 * libio/stdfiles.c: Likewise.
41368 * libio/strops.c: Likewise.
41369 * libio/vasprintf.c: Likewise.
41370 * libio/vscanf.c: Likewise.
41371 * libio/vsnprintf.c: Likewise.
41372 * libio/vswprintf.c: Likewise.
41373 * libio/wfiledoalloc.c: Likewise.
41374 * libio/wfileops.c: Likewise.
41375 * libio/wgenops.c: Likewise.
41376 * libio/wmemstream.c: Likewise.
41377 * libio/wstrops.c: Likewise.
41378 * libio/__fpurge.c: Likewise.
41379 * libio/__fsetlocking.c: Likewise.
41380 * assert/assert.c: Likewise.
41381 * debug/fgets_chk.c: Likewise.
41382 * debug/fgets_u_chk.c: Likewise.
41383 * debug/fread_chk.c: Likewise.
41384 * debug/fread_u_chk.c: Likewise.
41385 * debug/gets_chk.c: Likewise.
41386 * debug/obprintf_chk.c: Likewise.
41387 * debug/vasprintf_chk.c: Likewise.
41388 * debug/vdprintf_chk.c: Likewise.
41389 * debug/vsnprintf_chk.c: Likewise.
41390 * debug/vsprintf_chk.c: Likewise.
41391 * malloc/mtrace.c: Likewise.
41392 * misc/error.c: Likewise.
41393 * misc/syslog.c: Likewise.
41394 * stdio-common/asprintf.c: Likewise.
41395 * stdio-common/fxprintf.c: Likewise.
41396 * stdio-common/getw.c: Likewise.
41397 * stdio-common/isoc99_fscanf.c: Likewise.
41398 * stdio-common/isoc99_scanf.c: Likewise.
41399 * stdio-common/isoc99_vfscanf.c: Likewise.
41400 * stdio-common/isoc99_vscanf.c: Likewise.
41401 * stdio-common/isoc99_vsscanf.c: Likewise.
41402 * stdio-common/printf-prs.c: Likewise.
41403 * stdio-common/printf_fp.c: Likewise.
41404 * stdio-common/printf_fphex.c: Likewise.
41405 * stdio-common/printf_size.c: Likewise.
41406 * stdio-common/putw.c: Likewise.
41407 * stdio-common/scanf.c: Likewise.
41408 * stdio-common/sprintf.c: Likewise.
41409 * stdio-common/tmpfile.c: Likewise.
41410 * stdio-common/vfprintf.c: Likewise.
41411 * stdio-common/vfscanf.c: Likewise.
41412 * stdlib/strfmon_l.c: Likewise.
41413 * sunrpc/openchild.c: Likewise.
41414 * sunrpc/xdr_stdio.c: Likewise.
41415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41416 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41417
41418 2012-05-24 Roland McGrath <roland@hack.frob.com>
41419
41420 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41421
41422 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41423 in the third column, to generate for the shared library an IFUNC
41424 that uses _dl_vdso_vsym.
41425 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41426 * Makeconfig (object-suffixes-noshared): New variable.
41427
41428 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41429 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41430 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41431 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41432
41433 [BZ #14132]
41434 * include/sys/time.h (__gettimeofday): Remove macro.
41435 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41436 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41437 Remove INTDEF.
41438 (__gettimeofday): Add libc_hidden_def.
41439 (gettimeofday): Add libc_hidden_weak.
41440 * sysdeps/mach/gettimeofday.c: Likewise.
41441 * sysdeps/posix/gettimeofday.c: Likewise.
41442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41443 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41445 (__gettimeofday_internal): Remove strong_alias.
41446 (__gettimeofday): Add libc_hidden_def.
41447 (gettimeofday): Add libc_hidden_weak.
41448 * sysdeps/unix/syscalls.list (gettimeofday):
41449 Remove __gettimeofday_internal alias.
41450
41451 2012-05-24 Daniel Jacobowitz <drow@false.org>
41452 H.J. Lu <hongjiu.lu@intel.com>
41453
41454 [BZ #12495]
41455 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41456 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41457 (largebin_index_32_big): New.
41458 (largebin_index): Use it for 16-byte alignment.
41459 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41460 correction with front_misalign.
41461
41462 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41463
41464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41466 Likewise.
41467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41468 Likewise.
41469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41470 Likewise.
41471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41472 Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41474 Likewise.
41475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41476 Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41478 Likewise.
41479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41480 Likewise.
41481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41482 Likewise.
41483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41484 Likewise.
41485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41486 Likewise.
41487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41488 Likewise.
41489
41490 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41491 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41492
41493 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41494
41495 [BZ #10846]
41496 [BZ #14036]
41497 * math/libm-test.inc (exp_test): Add test from bug 14036.
41498 (pow_test): Add test from bug 10846.
41499
41500 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41501 and other flags.
41502 (special_function): Do not include flags in test name.
41503 (parse_args): Likewise.
41504 * sysdeps/i386/fpu/libm-test-ulps: Update.
41505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41506 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41507 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41509
41510 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41511 exceptions.
41512 * math/libm-test.inc ("Philosophy"): Update comment about
41513 exception testing.
41514 (UNDERFLOW_EXCEPTION): New macro.
41515 (UNDERFLOW_EXCEPTION_OK): Likewise.
41516 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41517 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41518 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41519 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41520 (INVALID_EXCEPTION_OK): Update value.
41521 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41522 (OVERFLOW_EXCEPTION_OK): Likewise.
41523 (IGNORE_ZERO_INF_SIGN): Likewise.
41524 (test_exceptions): Handle underflow exceptions.
41525 (acos_test): Update for underflow exception expectations.
41526 (cexp_test): Likewise.
41527 (clog_test): Likewise.
41528 (clog10_test): Likewise.
41529 (csqrt_test): Likewise.
41530 (ctan_test): Likewise.
41531 (ctanh_test): Likewise.
41532 (exp_test): Likewise.
41533 (exp10_test): Likewise.
41534 (exp2_test): Likewise.
41535 (expm1_test): Likewise.
41536 (fma_test): Likewise.
41537 (j0_test): Likewise.
41538 (jn_test): Likewise.
41539 (nexttoward_test): Likewise.
41540 (pow_test): Likewise.
41541 (scalbn_test): Likewise.
41542 (scalbln_test): Likewise.
41543 (tan_test): Likewise.
41544 (y1_test): Likewise.
41545 * sysdeps/i386/fpu/libm-test-ulps: Update.
41546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41547
41548 2012-05-23 David S. Miller <davem@davemloft.net>
41549
41550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41551 (__libc_sigaction): Remove unused local variables.
41552
41553 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41554
41555 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41556
41557 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41558
41559 mktime: avoid signed integer overflow
41560 * time/mktime.c (__mktime_internal): Do not mishandle the case
41561 where diff == INT_MIN.
41562
41563 mktime: simplify computation of average
41564 * time/mktime.c (ranged_convert): Use new time_t_avg function
41565 instead of rolling our own (probably-slower) code.
41566
41567 mktime: do not assume signed right shift propagates sign bit
41568 * time/mktime.c (isdst_differ): New static function.
41569 (__mktime_internal): No need to normalize tm_isdst now.
41570 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41571 tm_isdst values.
41572
41573 mktime: merge another wrapv change from gnulib
41574 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41575 from some compilers.
41576
41577 mktime: remove incorrect attempt at unusual arithmetics
41578 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41579 The code didn't really work on such machines anyway.
41580 (TYPE_MINIMUM): Assume two's complement.
41581 (twos_complement_arithmetic): Verify that long_int and time_t
41582 are two's complement (or unsigned, in the latter case).
41583
41584 mktime: check signed shifts on long_int and time_t, too
41585 * time/mktime.c (SHR): Check that shifts work as desired
41586 on the types long_int and time_t too, as SHR is used on
41587 such types.
41588
41589 mktime: do not assume 'long' is wide enough
41590 * time/mktime.c (verify): Move decl up.
41591 (long_int): New type.
41592 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41593 to remove assumption in the code that 'long' is wide enough to
41594 store year values. This assumption is not true on x32 and on
41595 some non-glibc platforms.
41596
41597 mktime: merge wrapv change from gnulib
41598 * time/mktime.c (WRAPV): New macro.
41599 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41600 (guess_time_tm, __mktime_internal): Do not assume that signed
41601 integer overflow wraps around; modern compilers generate code
41602 where this assumption is no longer valid.
41603
41604 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41605
41606 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41607 Replace "jmp L(pseudo_end)" with "ret".
41608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41609 Likewise.
41610
41611 2012-05-23 Andreas Jaeger <aj@suse.de>
41612
41613 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41614 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41615
41616 2012-05-23 Andreas Jaeger <aj@suse.de>
41617 Maximilian Attems <max@stro.at>
41618
41619 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41620 New macros.
41621
41622 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41623
41624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41625 code so that pseudo_end is just ret and the stack pointer is
41626 correct also for static library in error case.
41627
41628 2012-05-23 Joseph Myers <joseph@codesourcery.com>
41629
41630 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41631 move to syscalls.list.
41632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41636
41637 * manual/install.texi (Running make install): Do not mention Linux
41638 kernel version for which pt_chown is not needed.
41639 (Linux): Do not mention problems with nscd with 2.0 kernels.
41640 * INSTALL: Regenerated.
41641
41642 2012-05-23 Andreas Jaeger <aj@suse.de>
41643
41644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41645 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41646 macro.
41647 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41649 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41650 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41651 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41652 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41654 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41655 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41656 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41657 * sysdeps/unix/sysv/linux/bits/in.h
41658 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41659
41660 2012-05-22 Roland McGrath <roland@hack.frob.com>
41661
41662 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41663 (PREPARE_VERSION): Just use assert instead, it will be elided
41664 under [NDEBUG] anyway.
41665
41666 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41667
41668 * sysdeps/unix/sysv/linux/Makefile: Include
41669 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41670 (sysdep_routines): Remove sysctl.
41671 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41672 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41673 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41674 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41675 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41676
41677 2012-05-22 Andreas Jaeger <aj@suse.de>
41678
41679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41680 that pseudo_end is just ret and the stack pointer is correct also
41681 for static library in error case.
41682
41683 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41684
41685 [BZ #14122]
41686 * nss/nsswitch.c (defconfig_entries): New variable.
41687 (__nss_database_lookup): Don't leak defconfig entries.
41688 (nss_parse_service_list): Don't leak on error paths.
41689 (free_database_entries): New function.
41690 (free_defconfig): New function.
41691 (free_mem): Move common code to free_database_entries.
41692
41693 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41694
41695 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41696 Add arch_prctl.
41697 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41698
41699 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41700 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41702 New macro.
41703 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41704 (INTERNAL_SYSCALL_TYPES): Likewise.
41705 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41706 (LOAD_REGS_TYPES_[1-6]): Likewise.
41707 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41708 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41709
41710 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41711
41712 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41713 copysignl for GLIBC_2_0.
41714 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41715 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41717 logbl for GLIBC_2_0.
41718 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41719 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41720
41721 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41722
41723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41724 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41725
41726 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41727 Use "neg %eax".
41728
41729 * time/mktime.c: Update copyright years.
41730
41731 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41732
41733 mktime: merge comment-quoting-style change from gnulib
41734 * time/mktime.c: Quote 'like this' in comments.
41735 The GNU coding standards suggest that we no longer quote `like this',
41736 as "`" and "'" are typically rendered asymmetrically nowadays.
41737 The typical gnulib style is to quote 'like this' when quoting
41738 code, and "like this" when quoting English.
41739
41740 * time/mktime.c (compile-command): Add "-I.".
41741
41742 mktime: merge mktime-internal.h change from gnulib
41743 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41744
41745 mktime: merge time_r change from gnulib
41746 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41747
41748 mktime: merge DEBUG change from gnulib
41749 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41750 case system <time.h> has a #define.
41751
41752 mktime: merge <sys/types.h> change from gnulib
41753 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41754 since <time.t> is now guaranteed to define time_t.
41755
41756 mktime: merge HAVE_CONFIG_H change from gnulib
41757 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41758
41759 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41760
41761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41762 Use "neg %eax".
41763
41764 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41765 __rlim_t cast.
41766 (struct rusage): Use anonymous union to pad each field to
41767 __syscall_slong_t.
41768
41769 2012-05-21 David S. Miller <davem@davemloft.net>
41770
41771 * Makefules (o-iterator): Remove .s cases.
41772 (compile-command.s): Delete.
41773 (COMPILE.s): Delete.
41774 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41775
41776 2012-05-21 Joseph Myers <joseph@codesourcery.com>
41777
41778 * configure.in (libc_cv_predef_stack_protector): Only consider
41779 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41780 * configure: Regenerated.
41781
41782 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41783
41784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41785 New macro. Use R*LP on int and pointer.
41786 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41787 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41788 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41789 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41790
41791 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41792 [__WORDSIZE_TIME64_COMPAT32] instead of
41793 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41794 (struct utmp): Likewise.
41795 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41796 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41797 Renamed to ...
41798 (__WORDSIZE_TIME64_COMPAT32): This.
41799 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41800 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41801 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41802 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41803 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41804 (__WORDSIZE_TIME64_COMPAT32): New macro.
41805
41806 2012-05-21 Andreas Jaeger <aj@suse.de>
41807
41808 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41809 only if [SHARED]. Add prototype for __wcschr_ia32.
41810
41811 2012-05-21 Roland McGrath <roland@hack.frob.com>
41812
41813 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41814 of %rbp unmolested in the jmp_buf while mangling the low bits.
41815 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41816 unmolested high bits of %rbp while demangling the low bits.
41817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41818
41819 2012-05-21 Andreas Jaeger <aj@suse.de>
41820
41821 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41822 * sunrpc/svc_simple.c: Use it for registerrpc.
41823 * sunrpc/xcrypt.c: Use it for passwd2des.
41824
41825 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41826
41827 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41828
41829 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41830 Don't define if [__SYSCALL_WORDSIZE != 32].
41831 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41832 New macro.
41833
41834 2012-05-21 Bruno Haible <bruno@clisp.org>
41835 Andreas Jaeger <aj@suse.de>
41836
41837 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41838 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41839 inptr and inend for must_buffer_ch.
41840 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41841 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41842 * stdio-common/Makefile (tests): Remove bug15.
41843 (bug15-ENV): Remove macro.
41844 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41845 anymore.
41846
41847 2012-05-19 Andreas Jaeger <aj@suse.de>
41848 Roland McGrath <roland@hack.frob.com>
41849
41850 * manual/contrib.texi: Completely rewritten. It contains now an
41851 alphabetical list of contributors and their contributions.
41852
41853 2012-05-21 Richard Henderson <rth@twiddle.net>
41854
41855 * misc/getauxval.c (__getauxval): Use unsigned long int.
41856 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41857 (getauxval): Use unsigned long int.
41858
41859 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41860
41861 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41862
41863 2012-05-21 Roland McGrath <roland@hack.frob.com>
41864
41865 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41866 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41867 __alignof__ (long double).
41868
41869 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41870
41871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41872
41873 2012-05-20 Richard Henderson <rth@twiddle.net>
41874
41875 * misc/getauxval.c: New file.
41876 * misc/sys/auxv.h: New file.
41877 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41878 (routines): Add getauxval.
41879 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41880 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41881 * elf/dl-sysdep.c (_dl_auxv): Remove.
41882 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41883 * elf/dl-support.c (_dl_auxv): New variable.
41884 (_dl_aux_init): Initialize it.
41885 * manual/startup.texi (Auxiliary Vector): New node.
41886 * sysdeps/generic/bits/hwcap.h: New file.
41887 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41888 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41889 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41890 * sysdeps/sparc/sysdep.h: ... here. Include it.
41891 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41894 Update.
41895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41903
41904 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41905
41906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41907
41908 2012-05-19 David S. Miller <davem@davemloft.net>
41909
41910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41911
41912 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41913
41914 [BZ #14123]
41915 * math/s_ccosh.c: Include <float.h>
41916 (__ccosh): Avoid internal overflow calculating sinh and cosh
41917 values before multiplying by sin and cos values.
41918 * math/s_ccoshf.c: Likewise.
41919 * math/s_ccoshl.c: Likewise.
41920 * math/s_csin.c: Likewise.
41921 * math/s_csinf.c: Likewise.
41922 * math/s_csinl.c: Likewise.
41923 * math/s_csinh.c: Likewise.
41924 * math/s_csinhf.c: Likewise.
41925 * math/s_csinhl.c: Likewise.
41926 * math/libm-test.inc (ccos_test): Add more tests.
41927 (ccosh_test): Likewise.
41928 (csin_test): Likewise.
41929 (csinh_test): Likewise.
41930 * sysdeps/i386/fpu/libm-test-ulps: Update.
41931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41932
41933 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41934
41935 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41936 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41937
41938 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41939
41940 2012-05-19 Joseph Myers <joseph@codesourcery.com>
41941
41942 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41943 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41944 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41945 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41946 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41947 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41948 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41949 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41950 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41951 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41952 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41953 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41954 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41955 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41956 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41957 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41958 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41959 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41960 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41961 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41962 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41963 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41964 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41965 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41966 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41967 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41968 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41969 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41970 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41971 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41972 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41973
41974 2012-05-18 Andreas Jaeger <aj@suse.de>
41975
41976 * csu/.gitignore: Delete.
41977
41978 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41979
41980 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41981 (timex): Use __syscall_slong_t.
41982
41983 2012-05-18 Andreas Jaeger <aj@suse.de>
41984 Carlos O'Donell <carlos_odonell@mentor.com>
41985
41986 * manual/install.texi (Configuring and compiling): Update
41987 description about files modified in the source directory.
41988 * INSTALL: Regenerated.
41989
41990 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41991
41992 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41993 value. Use "or" to set return value to -1.
41994 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41995 negate return value.
41996
41997 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41998
41999 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42000 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42001 failure if the compiler has Graphite support disabled.
42002 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42003 Likewise.
42004 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42005 (CFLAGS-memmove.c): Likewise.
42006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42007 Likewise.
42008
42009 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42010
42011 * sysdeps/x86_64/x32/_itoa.h: New file.
42012
42013 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42014 getdents system call only if kernel and user dirents have the
42015 same d_ino and d_off.
42016
42017 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42018 LLONG_MAX != LONG_MAX.
42019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42020 (_fitoa_word): Likewise.
42021
42022 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42023 years.
42024 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42025 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42027
42028 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42029 include <bits/wordsize.h>. Check __x86_64__ instead of
42030 __WORDSIZE.
42031 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42032 if __x86_64__ is defined. Use anonymous union on fpstate.
42033
42034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42035 anonymous union.
42036
42037 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42038
42039 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42040 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42042 Refer to _rtld_local_ro instead of _rtld_global_ro.
42043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42044 Likewise.
42045 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42046 Likewise.
42047 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42048 Likewise.
42049 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42050 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42051 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42052
42053 * sysdeps/powerpc/powerpc32/dl-machine.c
42054 (__elf_machine_runtime_setup) [PROF]: Don't reference
42055 _dl_prof_resolve.
42056
42057 2012-05-18 Andreas Jaeger <aj@suse.de>
42058
42059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42060 function only available for GCCs before 3.4 since GCC 3.4
42061 introduced a builtin.
42062 (lrint): Likewise.
42063 (llrintf): Likewise.
42064 (llrint): Likewise.
42065 (fmaxf): Likewise.
42066 (fmax): Likewise.
42067 (fminf): Likewise.
42068 (fmin): Likewise.
42069 (rint): Likewise.
42070 (rintf): Likewise.
42071 (nearbyint): Likewise.
42072 (nearbyintf): Likewise.
42073 (ceil): Likewise.
42074 (ceilf): Likewise.
42075 (floor): Likewise.
42076 (floorf): Likewise.
42077
42078 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42079
42080 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42081 on both fields and cast pointer to __syscall_ulong_t.
42082
42083 * bits/types.h (__fsword_t): New type.
42084 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42085 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42087 (__FSWORD_T_TYPE): Likewise.
42088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42089 (__FSWORD_T_TYPE): Likewise.
42090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42091 (__FSWORD_T_TYPE): Likewise.
42092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42093 (__FSWORD_T_TYPE): Likewise.
42094 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42095 __SWORD_TYPE with __fsword_t.
42096 (statfs64): Likewise.
42097
42098 2012-05-17 David S. Miller <davem@davemloft.net>
42099
42100 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42101
42102 2012-05-17 Andreas Jaeger <aj@suse.de>
42103
42104 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42105 warning.
42106
42107 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42108
42109 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42110
42111 2012-05-17 Andreas Jaeger <aj@suse.de>
42112
42113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42114 when it is used.
42115
42116 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42117
42118 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42119
42120 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42121
42122 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42123 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42124
42125 2012-05-17 Andreas Jaeger <aj@suse.de>
42126 Carlos O'Donell <carlos_odonell@mentor.com>
42127
42128 [BZ #14059]
42129 * sysdeps/x86_64/multiarch/init-arch.h
42130 (bit_YMM_Usable): Rename to...
42131 (bit_AVX_Usable): ... this.
42132 (bit_FMA4_Usable): New macro.
42133 (bit_XMM_state): New macro.
42134 (bit_YMM_state): New macro.
42135 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42136 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42137 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42138 (CPUID_OSXSAVE): New macro.
42139 (CPUID_AVX): New macro.
42140 (CPUID_FMA4): New macro.
42141 (index_YMM_Usable): Rename to...
42142 (index_AVX_Usable): ... this.
42143 (HAS_AVX): Use HAS_ARCH_FEATURE.
42144 (HAS_FMA4): Likewise.
42145 (HAS_YMM_USABLE): Remove.
42146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42147 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42148 are present.
42149 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42150 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42151 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42152 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42153 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42154
42155 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42156
42157 * math/libm-test.c: Support platforms without multiple rounding modes.
42158 * math/bug-nextafter.c: Support platforms without FP exceptions.
42159 * math/bug-nexttoward.c: Likewise.
42160 * math/test-fenv.c: Likewise.
42161 * math/test-misc.c: Likewise.
42162 * stdlib/bug-getcontext.c: Likewise.
42163
42164 2012-05-17 Andreas Jaeger <aj@suse.de>
42165
42166 * manual/examples/search.c (critter_cmp): Change signature to
42167 avoid warnings.
42168 * manual/string.texi (Collation Functions): Likewise.
42169
42170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42171
42172 * bits/types.h: Fold copyright years.
42173 * bits/typesizes.h: Likewise.
42174 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42178 * time/time.h: Likewise.
42179
42180 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42181
42182 [BZ #208]
42183 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42184 in instead of returning them. Return void.
42185 (__libc_mallinfo): Accumulate over all arenas.
42186 (__malloc_stats): Adjust for change in int_mallinfo interface.
42187
42188 2012-05-16 Roland McGrath <roland@hack.frob.com>
42189
42190 [BZ #10375]
42191 * configure.in (NM): Add AC_CHECK_TOOL for it.
42192 (libc_extra_cflags): New substituted variable.
42193 Check for -fstack-protector being used implicitly.
42194 * configure: Regenerated.
42195 * config.make.in (config-extra-cflags): New variable,
42196 gets @libc_extra_cflags@.
42197 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42198
42199 [BZ #10375]
42200 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42201 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42202 * configure: Regenerated.
42203 * config.make.in (CPPUNDEFS): New substituted variable.
42204 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42205 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42206 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42207
42208 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42209
42210 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42211 (mq_attr): Use __syscall_slong_t.
42212
42213 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42214
42215 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42216 Check __x86_64__ instead of __WORDSIZE.
42217 (_STAT_VER_LINUX): Likewise.
42218 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42219 __syscall_ulong_t and __syscall_slong_t.
42220 (stat64): Likewise.
42221
42222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42223
42224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42225
42226 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42227
42228 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42229
42230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42231
42232 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42233 __syscall_ulong_t.
42234
42235 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42236 include <bits/wordsize.h>. Check __x86_64__ instead of
42237 __WORDSIZE.
42238 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42239 defined.
42240 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42241
42242 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42243 include <bits/wordsize.h>. Check __x86_64__ instead of
42244 __WORDSIZE.
42245 (user_regs_struct): Use "__extension__ unsigned long long"
42246 instead of "unsigned long" if __x86_64__ is defined.
42247 (user): Likewise. Pad after pointer field if __ILP32__ is
42248 defined.
42249
42250 2012-05-16 Joseph Myers <joseph@codesourcery.com>
42251
42252 * configure.in (makeinfo): Require version 4.5 or later. Allow
42253 versions 5 to 9.
42254 * configure: Regenerated.
42255 * manual/install.texi (texinfo): Increase version requirement to
42256 4.5 or later.
42257 * INSTALL: Regenerated.
42258
42259 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42260
42261 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42262
42263 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42264
42265 * sysdeps/x86_64/x32/ffs.c: New file.
42266
42267 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42268 __syscall_ulong_t.
42269 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42270 defined. Use __syscall_ulong_t.
42271 (shminfo): Use __syscall_ulong_t.
42272 (shm_info): Likewise.
42273
42274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42275 __syscall_ulong_t.
42276
42277 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42278 <bits/wordsize.h>.
42279 (msgqnum_t): Use __syscall_ulong_t.
42280 (msglen_t): Likewise.
42281 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42282 __syscall_ulong_t.
42283
42284 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42285 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42286
42287 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42288
42289 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42290 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42291
42292 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42293 __syscall_slong_t.
42294
42295 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42296 include <bits/wordsize.h>. Check __x86_64__ instead of
42297 __WORDSIZE.
42298
42299 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42300 "unsigned long long int" if __x86_64__ is defined.
42301 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42302
42303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42304 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42305 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42306
42307 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42308 <stdint.h>.
42309 (GET_PC): Cast to uintptr_t first.
42310 (GET_FRAME): Likewise.
42311 (GET_STACK): Likewise.
42312
42313 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42314 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42319 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42320 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42321 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42327 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42329 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42330 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42331 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42334 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42335 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42336 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42337 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42339 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42340 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42341 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42342
42343 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42344
42345 * Makerules (+depfiles): Also collect depfiles from .oS in
42346 $(extra-objs).
42347 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42348 .oS, $(libnldbl-routines)).
42349
42350 * Makerules (native-compile-mkdep-flags): Define.
42351 * sunrpc/Makefile (extra-objs): Add $(addprefix
42352 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42353 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42354 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42355 calling $(make-target-directory).
42356
42357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42358
42359 * bits/types.h (__snseconds_t): Removed.
42360 * time/time.h (struct timespec): Replace __snseconds_t with
42361 __syscall_slong_t.
42362 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42363 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42364 Likewise.
42365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42366 (__SNSECONDS_T_TYPE): Likewise.
42367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42368 (__SNSECONDS_T_TYPE): Likewise.
42369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42370 (__SNSECONDS_T_TYPE): Likewise.
42371
42372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42373
42374 * sysdeps/mach/hurd/bits/typesizes.h
42375 (__SYSCALL_SLONG_TYPE): New macro.
42376 (__SYSCALL_ULONG_TYPE): Likewise.
42377
42378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42379
42380 * bits/types.h (__syscall_slong_t): New type.
42381 (__syscall_ulong_t): Likewise.
42382
42383 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42384 (__SYSCALL_ULONG_TYPE): Likewise.
42385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42386 (__SYSCALL_SLONG_TYPE): Likewise.
42387 (__SYSCALL_ULONG_TYPE): Likewise.
42388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42389 (__SYSCALL_SLONG_TYPE): Likewise.
42390 (__SYSCALL_ULONG_TYPE): Likewise.
42391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42392 (__SYSCALL_SLONG_TYPE): Likewise.
42393 (__SYSCALL_ULONG_TYPE): Likewise.
42394
42395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42396
42397 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42398 Add sigaltstack-offsets.sym.
42399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42400 <sigaltstack-offsets.h>.
42401 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42402 longjmp_msg pointer.
42403 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42404 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42405 signal stack.
42406 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42407
42408 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42409
42410 * elf/stackguard-macros.h: Remove file.
42411 * sysdeps/generic/stackguard-macros.h: New file.
42412 * sysdeps/i386/stackguard-macros.h: Likewise.
42413 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42414 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42415 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42416 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42417 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42418 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42419 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42420 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42421 <elf/stackguard-macros.h>.
42422
42423 [BZ #14109]
42424 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42425 __aligned__ in attribute.
42426 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42427 (gregset_t): Likewise.
42428
42429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42430
42431 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42432 * sysdeps/x86_64/64/Implies-after: Here. New file.
42433 * sysdeps/x86_64/x32/Implies-after: New file.
42434
42435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42436
42437 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42438 and access return value for _dl_profile_fixup. Use R10_LP to
42439 load frame size.
42440
42441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42442
42443 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42444
42445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42446
42447 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42448 * sysdeps/x86_64/x32/sysdep.h: New file.
42449
42450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42451
42452 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42453 * sysdeps/x86_64/setjmp.S: Likewise.
42454
42455 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42456
42457 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42458 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42459 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42460 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42461 remove unused global constant.
42462
42463 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42464
42465 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42466 include of <not-cancel.h>.
42467
42468 2012-05-15 Roland McGrath <roland@hack.frob.com>
42469
42470 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42471
42472 2012-05-15 Jeff Law <law@redhat.com>
42473 Andreas Jaeger <aj@suse.de>
42474
42475 [BZ #13594]
42476 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42477 out from...
42478 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42479 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42480 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42481 code changing __hst_map_handle.map.
42482
42483 2012-05-15 Roland McGrath <roland@hack.frob.com>
42484
42485 * configure.in (sysnames): Look for Implies-before and Implies-after
42486 files.
42487 * configure: Regenerated.
42488
42489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42490
42491 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42492 8-byte data alignment with LP_SIZE alignment.
42493
42494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42495
42496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42497 into R10_LP.
42498
42499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42500
42501 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42502
42503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42504
42505 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42506 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42508 Likewise.
42509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42510
42511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42512
42513 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42514 (stackinfo_sub_sp): Likewise.
42515
42516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42517
42518 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42519 RAX_LP.
42520
42521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42524 into R*_LP.
42525
42526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42527
42528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42529 sizes into R*_LP.
42530
42531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42532
42533 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42534
42535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42536
42537 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42538 into R11_LP and load __x86_64_shared_cache_size_half into
42539 R8_LP.
42540
42541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42542
42543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42544 R8_LP.
42545
42546 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42547
42548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42549 logb for POWER7.
42550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42551 logbf for POWER7.
42552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42553 logbl for POWER7.
42554 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42555 powerpc32/power7/fpu/s_logb.c via #include.
42556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42557 powerpc32/power7/fpu/s_logbf.c via #include.
42558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42559 powerpc32/power7/fpu/s_logbl.c via #include.
42560
42561 2012-05-15 Joseph Myers <joseph@codesourcery.com>
42562
42563 * README.libm: Remove file.
42564
42565 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42566
42567 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42568 count for x32. Use R*_LP and omit operand-size suffix.
42569
42570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42571
42572 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42573 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42574 * sysdeps/x86_64/x32/shlib-versions: New file.
42575
42576 2012-05-14 Roland McGrath <roland@hack.frob.com>
42577
42578 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42579 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42580 Use _dl_fatal_printf instead.
42581
42582 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42583
42584 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42585 set if not set by the user. Do not allow for being unset.
42586 * sysdeps/unix/sysv/linux/configure: Regenerated.
42587
42588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42589
42590 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42591 the `q' suffix from lea and replace .quad with ASM_ADDR.
42592
42593 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42594
42595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42596 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42597 instead of $17.
42598 (PTR_DEMANGLE): Likewise.
42599
42600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42601
42602 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42603 (LP_OP): Likewise.
42604 (ASM_ADDR): Likewise.
42605 (RAX_LP): Likewise.
42606 (RBP_LP): Likewise.
42607 (RBX_LP): Likewise.
42608 (RCX_LP): Likewise.
42609 (RDI_LP): Likewise.
42610 (RSI_LP): Likewise.
42611 (RSP_LP): Likewise.
42612 (R8_LP): Likewise.
42613 (R9_LP): Likewise.
42614 (R10_LP): Likewise.
42615 (R10_LP): Likewise.
42616 (R11_LP): Likewise.
42617 (R12_LP): Likewise.
42618 (R13_LP): Likewise.
42619 (R14_LP): Likewise.
42620 (R15_LP): Likewise.
42621
42622 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42623
42624 * sysdeps/x86_64/x32/dl-machine.h: New file.
42625
42626 2012-05-14 Andreas Jaeger <aj@suse.de>
42627
42628 * manual/Makefile (subdir): Remove export of subdir.
42629 (all): Remove target.
42630 (.PHONY): Remove all from list.
42631 (mkinstalldirs): Remove.
42632 (.PHONY): Remove installdirs from list.
42633 ($(inst_infodir)/libc.info): Use make-target-directory.
42634 (installdirs): Remove.
42635 (subdir_%): Remove.
42636 (glibc-targets): Remove.
42637 (lib): Remove.
42638 (stubs): Remove.
42639 ($(objpfx)stubs ../po/manual.pot): Remove.
42640 ($(objpfx)stamp%): Remove.
42641 (make-target-directory): Remove.
42642 (subdir_install): Remove.
42643 (routines): Remove.
42644 (aux): Remove.
42645 (sources): Remove.
42646 (objects): Remove.
42647 (headers): Remove.
42648
42649 [BZ #13750]
42650 * manual/.gitignore: Remove, it's not needed anymore.
42651 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42652 all files in it.
42653 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42654 directory.
42655 (texis): Renamed to $(objpfx)texis.
42656 (texis-path): New, contains path to generated files.
42657 (chapters.%): Use texis-path for complete path, add extra argument
42658 libc-texinfo.sh.
42659 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42660 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42661 (summary,texi, stamp-summary): Use complete path of
42662 files. Generate files in build dir.
42663 (dir-add.texi): Build in build dir.
42664 (libm-err.texi,stamp-libm-err): Likewise.
42665 (version.texi, stamp-version): Likewise.
42666 (.%c.texi): Likewise.
42667 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42668 (mostlyclean): Remove target.
42669 (realclean): Remove target.
42670 (generated): Add new variable with contents from mostlyclean and
42671 realclean, remove entries duplicated in common-mostlyclean, add
42672 stamp-libm-err and stamp-version.
42673 (generated-dirs): Add libc directory.
42674 ($(inst_infodir)/libc.info): Install files from build dir.
42675
42676 * manual/install.texi (Configuring and compiling): Adjust since
42677 the info files are not part of the tar ball anymore.
42678
42679 2012-05-14 Andreas Jaeger <aj@suse.de>
42680
42681 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42682 variable.
42683
42684 2012-05-14 Joseph Myers <joseph@codesourcery.com>
42685
42686 [BZ #13717]
42687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42688 to 2.2.0 where earlier.
42689 * sysdeps/unix/sysv/linux/configure: Regenerated.
42690 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42691 Remove conditional code.
42692 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42693 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42694 Remove conditional code.
42695 [!__NR_lchown]: Likewise.
42696 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42697 [__NR_lchown]: Likewise.
42698 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42699 comment referencing __ASSUME_LCHOWN_SYSCALL.
42700 * sysdeps/unix/sysv/linux/i386/sigaction.c
42701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42703 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42704 Remove conditional code.
42705 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42706 (__protocol_available): Remove #if 0 code.
42707 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42708 conditional code.
42709 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42710 * sysdeps/unix/sysv/linux/kernel-features.h
42711 (__ASSUME_GETCWD_SYSCALL): Don't define.
42712 (__ASSUME_REALTIME_SIGNALS): Likewise.
42713 (__ASSUME_PREAD_SYSCALL): Likewise.
42714 (__ASSUME_PWRITE_SYSCALL): Likewise.
42715 (__ASSUME_POLL_SYSCALL): Likewise.
42716 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42717 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42718 non-SPARC.
42719 (__ASSUME_SIOCGIFNAME): Don't define.
42720 (__ASSUME_MSG_NOSIGNAL): Likewise.
42721 (__ASSUME_SENDFILE): Define unconditionally.
42722 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42723 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42724 conditional code.
42725 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42727 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42728 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42730 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42731 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42756 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42757 Remove conditional code.
42758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42759 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42760 Remove conditional code.
42761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42762 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42763 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42764 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42765 Remove conditional code.
42766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42767 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42768 Remove conditional code.
42769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42770 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42771 Remove conditional code.
42772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42773 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42774 Remove conditional code.
42775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42776 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42777 Remove conditional code.
42778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42779 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42780 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42782 * sysdeps/unix/sysv/linux/sigaction.c
42783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42785 * sysdeps/unix/sysv/linux/sigpending.c
42786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42788 * sysdeps/unix/sysv/linux/sigprocmask.c
42789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42791 * sysdeps/unix/sysv/linux/sigsuspend.c
42792 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42793 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42794 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42795 (__libc_missing_rt_sigs): Remove.
42796 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42797 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42798 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42799 Remove conditional code.
42800 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42801 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42802 return 1.
42803 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42804 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42805 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42806 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42807
42808 2012-05-14 Andreas Jaeger <aj@suse.de>
42809
42810 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42811 it's not used in glibc.
42812 (__coshm1): Likewise.
42813 (__acosh1p): Likewise.
42814 (__sgn): Likewise.
42815
42816 * manual/string.texi (Copying and Concatenation): Add missing
42817 variable in concat example.
42818 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42819
42820 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42821
42822 [BZ #14103]
42823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42824 __builtin_clzl with __builtin_clzll.
42825
42826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42827
42828 [BZ #14104]
42829 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42830 libc_freeres_ptr.
42831
42832 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42833
42834 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42835 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42836 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42838
42839 2012-05-14 Mike Frysinger <vapier@gentoo.org>
42840
42841 * NEWS: Update ia64 info.
42842
42843 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42844
42845 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42846 used as bcopy.
42847
42848 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42849
42850 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42851 * sysdeps/unix/syscalls.list (dup3): Likewise.
42852 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42853 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42854
42855 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42856
42857 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42858 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42859
42860 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42861
42862 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42863 thread pointer.
42864 (TLS_IE): Use mov/add instead of movq/addq to load thread
42865 pointer.
42866 (TLS_GD_PREFIX): New.
42867 (TLS_GD): Use it.
42868
42869 2012-05-11 David S. Miller <davem@davemloft.net>
42870
42871 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42872 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42873 (_FPU_SETCW): Likewise.
42874
42875 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42876
42877 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42878 is 32-byte aligned.
42879
42880 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42881
42882 [BZ #11837]
42883 * iconvdata/gb18030.c: Update tables.
42884 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42885 characters specially.
42886 (BODY for TO_LOOP): Add encoding of missing ranges.
42887
42888 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42889
42890 [BZ #13673]
42891 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42892 * sysdeps/mach/hurd/dup3.c: Likewise.
42893 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42894 * sysdeps/powerpc/memmove.c:: Likewise.
42895
42896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42897
42898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42899 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42900
42901 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42902
42903 * elf/elf.h (R_X86_64_RELATIVE64): New.
42904 (R_X86_64_NUM): Updated.
42905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42906 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42907 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42908 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42909 tst-quad1pie tst-quad2pie
42910 (modules-names): Add tst-quadmod1 tst-quadmod2.
42911 ($(objpfx)tst-quad1): New dependency.
42912 ($(objpfx)tst-quad2): Likewise.
42913 ($(objpfx)tst-quad1pie): Likewise.
42914 ($(objpfx)tst-quad2pie): Likewise.
42915 * sysdeps/x86_64/tst-quad1.c: New file.
42916 * sysdeps/x86_64/tst-quad1pie.c: New file.
42917 * sysdeps/x86_64/tst-quad2.c: Likewise.
42918 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42919 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42920 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42921 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42922 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42923
42924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42925
42926 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42927 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42928 * streams/stropts.h (t_scalar_t): Define type.
42929
42930 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42931 (_PATH_PRESERVE): Set to "/var/lib".
42932 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42933
42934 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42935 instead of int.
42936
42937 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42938 if __dir_mkfile succeeded.
42939
42940 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42941 checking for _hurd_dtablesize. Unlock it right after having
42942 finished _hurd_dtable allocation.
42943
42944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42945
42946 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42947 * sysdeps/mach/hurd/configure: Regenerated.
42948 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42949 special-casing to...
42950 * sysdeps/gnu/configure.in: ... this new file.
42951 * sysdeps/unix/sysv/linux/configure: Regenerated.
42952 * sysdeps/gnu/configure: New generated file.
42953
42954 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42955 for Linux: use nsec instead of usec, as well as:
42956 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42957 members of type struct timespec.
42958 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42959 New macros.
42960 (struct stat64): Likewise.
42961 (_STATBUF_ST_NSEC): New macro.
42962 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42963
42964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42965 __strtoul_internal rather than strtoul.
42966
42967 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42968
42969 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42970 and reject them.
42971
42972 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42973
42974 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42975 which preserves existing values.
42976 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42977
42978 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42979
42980 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42981 TIMEOUT values. Return EINVAL for NFDS values either negative or
42982 greater than FD_SETSIZE.
42983
42984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42985
42986 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42987 allocated, call __vm_protect to finish enabling the existing space, and
42988 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42989 allocate the remainder.
42990
42991 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42992
42993 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42994 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42995
42996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42997
42998 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42999 sysdeps/mach/hurd/readlink.c.
43000
43001 * posix/tst-sysconf.c (posix_options): Only use
43002 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43003 _POSIX_SYNCHRONIZED_IO when they are defined
43004 * sysdeps/mach/hurd/bits/posix_opt.h:
43005 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43006 (_XOPEN_REALTIME): Undefine macro.
43007 (_XOPEN_REALTIME_THREADS): Undefine macro.
43008 (_XOPEN_SHM): Undefine macro.
43009 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43010 macro to -1.
43011 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43012 macro to -1.
43013 (_POSIX_ASYNC_IO): Undefine macro.
43014 (_POSIX_PRIORITIZED_IO): Undefine macro.
43015 (_POSIX_SPIN_LOCKS): Define macro to -1.
43016
43017 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43018 SA_NODEFER, SA_RESETHAND.
43019 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43020 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43021 F_DUPFD_CLOEXEC.
43022
43023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43024
43025 * elf/Makefile (pldd-modules): Define unconditionally.
43026
43027 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43028
43029 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43030
43031 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43032
43033 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43034 Return ENOENT when name is empty.
43035 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43036
43037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43038
43039 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43040
43041 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43042
43043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43044
43045 Fix mlock in all cases except non-readable pages.
43046 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43047 instead of VM_PROT_ALL as parameter to __vm_wire function.
43048
43049 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43050 (__mkdir): When path is `/', just fail with EEXIST.
43051 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43052
43053 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43054
43055 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43056 <sys/uio.h> (for writev).
43057 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43058 and <sys/param.h> (for MIN).
43059
43060 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43061
43062 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43063 REQUESTED_TIME. Properly set the remaining time and return EINTR
43064 if interrupted.
43065
43066 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43067
43068 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43069 Depend on against $(link-rpcuserlibs).
43070
43071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43072
43073 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43074 (__libc_stack_end): Do not use attribute_relro.
43075 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43076 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43077 to libthread-provided value.
43078 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43079 attribute_relro.
43080
43081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43082
43083 [BZ #3748]
43084 * bits/libc-lock.h (__libc_once_get): New macro.
43085 * sysdeps/mach/bits/libc-lock.h: Likewise.
43086 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43088 instead of using implementation details.
43089
43090 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43091 * libio/freopen.c: Likewise.
43092 * libio/freopen64.c: Likewise.
43093 * misc/syslog.c: Likewise.
43094 * nscd/connections.c: Likewise.
43095 * nscd/netgroupcache.c: Likewise.
43096 * sysdeps/posix/getcwd.c: Likewise.
43097
43098 2012-05-10 Roland McGrath <roland@hack.frob.com>
43099
43100 * math/w_ilogbf.c: Add #include <limits.h>.
43101
43102 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43103
43104 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43105 path instead of returning without unlocking.
43106
43107 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43108 immediate-write ioctls.
43109 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43110
43111 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43112
43113 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43114 __builtin_frame_address instead of making assumptions about the
43115 location of the return address relative to DATA. Force early load of
43116 the return address.
43117 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43118 __builtin_frame_address.
43119
43120 dup3 for GNU Hurd.
43121 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43122 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43123 implement dup3 and do some further code clean-ups.
43124 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43125 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43126
43127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43128
43129 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43130
43131 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43132 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43133 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43134 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43135 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43136 d->port.lock.
43137
43138 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43139 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43140 when handler == SIG_ERR, not when handler != SIG_ERR.
43141
43142 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43143
43144 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43145 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43146 definitions.
43147
43148 accept4 for GNU Hurd.
43149 * include/sys/socket.h (__libc_accept4): New prototype.
43150 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43151 to implement __libc_accept4.
43152 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43153 __libc_accept4.
43154 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43155
43156 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43157 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43158 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43159 signal-defines.sym.
43160
43161 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43162
43163 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43164
43165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43166
43167 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43168 assertion on O_CLOEXEC flag.
43169 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43170 * hurd/intern-fd.c: Likewise.
43171 * hurd/port2fd.c: Likewise.
43172
43173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43174
43175 [BZ #3906]
43176 * bits/in.h (IPV6_PKTINFO): Define new macro.
43177 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43178
43179 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43180
43181 [BZ #13954]
43182 [BZ #13955]
43183 [BZ #13956]
43184 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43186 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43187 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43189 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43190 * math/libm-test.inc (logb_test) : Additional logb tests.
43191
43192 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43193 Andreas Jaeger <aj@suse.de>
43194
43195 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43196 * configure: Regenerated.
43197 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43198 * config.make.in (link-obsolete-rpc): New substituted variable.
43199 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43200 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43201 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43202 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43203 so that libc.a contains the symbols.
43204 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43205 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43206 * sunrpc/auth_none.c: Likewise.
43207 * sunrpc/auth_unix.c: Likewise.
43208 * sunrpc/authdes_prot.c: Likewise.
43209 * sunrpc/authuxprot.c: Likewise.
43210 * sunrpc/clnt_gen.c: Likewise.
43211 * sunrpc/clnt_perr.c: Likewise.
43212 * sunrpc/clnt_raw.c: Likewise.
43213 * sunrpc/clnt_simp.c: Likewise.
43214 * sunrpc/clnt_tcp.c: Likewise.
43215 * sunrpc/clnt_udp.c: Likewise.
43216 * sunrpc/clnt_unix.c: Likewise.
43217 * sunrpc/des_crypt.c: Likewise.
43218 * sunrpc/des_soft.c: Likewise.
43219 * sunrpc/get_myaddr.c: Likewise.
43220 * sunrpc/key_call.c: Likewise.
43221 * sunrpc/key_prot.c: Likewise.
43222 * sunrpc/netname.c: Likewise.
43223 * sunrpc/pm_getmaps.c: Likewise.
43224 * sunrpc/pm_getport.c: Likewise.
43225 * sunrpc/pmap_clnt.c: Likewise.
43226 * sunrpc/pmap_prot.c: Likewise.
43227 * sunrpc/pmap_prot2.c: Likewise.
43228 * sunrpc/pmap_rmt.c: Likewise.
43229 * sunrpc/publickey.c: Likewise.
43230 * sunrpc/rpc_cmsg.c: Likewise.
43231 * sunrpc/rpc_common.c: Likewise.
43232 * sunrpc/rpc_dtable.c: Likewise.
43233 * sunrpc/rpc_prot.c: Likewise.
43234 * sunrpc/rpc_thread.c: Likewise.
43235 * sunrpc/rtime.c: Likewise.
43236 * sunrpc/svc.c: Likewise.
43237 * sunrpc/svc_auth.c: Likewise.
43238 * sunrpc/svc_raw.c: Likewise.
43239 * sunrpc/svc_run.c: Likewise.
43240 * sunrpc/svc_tcp.c: Likewise.
43241 * sunrpc/svc_udp.c: Likewise.
43242 * sunrpc/svc_unix.c: Likewise.
43243 * sunrpc/svcauth_des.c: Likewise.
43244 * sunrpc/xcrypt.c: Likewise.
43245 * sunrpc/xdr.c: Likewise.
43246 * sunrpc/xdr_array.c: Likewise.
43247 * sunrpc/xdr_float.c: Likewise.
43248 * sunrpc/xdr_intXX_t.c: Likewise.
43249 * sunrpc/xdr_mem.c: Likewise.
43250 * sunrpc/xdr_rec.c: Likewise.
43251 * sunrpc/xdr_ref.c: Likewise.
43252 * sunrpc/xdr_sizeof.c: Likewise.
43253 * sunrpc/xdr_stdio.c: Likewise.
43254
43255 2012-05-10 Roland McGrath <roland@hack.frob.com>
43256
43257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43258 change. Update copyright years.
43259
43260 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43261
43262 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43263
43264 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43265 Joseph Myers <joseph@codesourcery.com>
43266 Paul Pluzhnikov <ppluzhnikov@google.com>
43267
43268 [BZ #14012]
43269 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43270 requiring rpcgen.
43271 [cross-compiling] (extra-libs): Likewise.
43272 [cross-compiling] (extra-libs-others): Likewise.
43273 [cross-compiling] (librpcsvc-routines): Likewise.
43274 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43275 [cross-compiling] (omit-deps): Likewise.
43276 (sunrpc-CPPFLAGS): New variable.
43277 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43278 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43279 (cross-rpcgen-objs): New variable.
43280 (extra-objs): Append $(cross-rpcgen-objs).
43281 ($(cross-rpcgen-objs)): New rule.
43282 ($(objpfx)cross-rpcgen): Likewise.
43283 (rpcgen-cmd): Define to use $(built-program-file). Expand
43284 comment.
43285 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43286 ($(objpfx)x%.stmp): Likewise.
43287 * sunrpc/proto.h [IS_IN_build] (_): Define.
43288 [IS_IN_build] (_libc_intl_domainname): Likewise.
43289
43290 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43291
43292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43293 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43294 and R_X86_64_TPOFF64.
43295
43296 2012-05-10 Joseph Myers <joseph@codesourcery.com>
43297
43298 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43299 sysdeps/unix/sysv/syscalls.list.
43300 (stime): Likewise.
43301 (utime): Likewise.
43302 * sysdeps/unix/sysv/syscalls.list: Remove file.
43303
43304 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43305
43306 [BZ #3440]
43307 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43308 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43309 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43310 (__LC_IDENTIFICATION): Make these macros useful in #if
43311 expressions, as required by C99.
43312
43313 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43314
43315 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43316 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43317 after this.
43318
43319 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43320
43321 * stdlib/longlong.h: Updated from GCC.
43322
43323 2012-05-09 Andreas Jaeger <aj@suse.de>
43324
43325 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43326 default is first entry.
43327 (run_mode): Set type.
43328 (main): Remove informal message about syslog.
43329 (options): Fix typo.
43330
43331 [BZ #14053]
43332 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43333 to asm.
43334 (lrint): Likewise.
43335 (llrintf): Likewise.
43336 (llrint): Likewise.
43337 (rint): Likewise.
43338 (rintf): Likewise.
43339 (nearbyint): Likewise.
43340 (nearbyintf): Likewise.
43341
43342 2012-05-09 Andreas Jaeger <aj@suse.de>
43343 Pedro Alves <palves@redhat.com>
43344
43345 * nscd/nscd.c (run_mode): Use enum.
43346 (main): Cleanup coding style issue.
43347
43348 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
43349 Andreas Jaeger <aj@suse.de>
43350
43351 * nscd/nscd.c (go_background): Replaced with...
43352 (run_mode): ... this.
43353 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43354 (options): Add -F --foreground.
43355 (main): Implement it.
43356 (parse_opt): Parse it.
43357
43358 2012-05-09 Andreas Jaeger <aj@suse.de>
43359
43360 [BZ #14083]
43361 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43362 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43363 -Wconversion warning.
43364 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43365 Likewise.
43366
43367 2012-05-09 Joseph Myers <joseph@codesourcery.com>
43368
43369 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43370 == 0.
43371 (LC_ALL): Use macro-int-constant.
43372 (LC_COLLATE): Likewise.
43373 (LC_CTYPE): Likewise.
43374 (LC_MESSAGES): Likewise.
43375 (LC_MONETARY): Likewise.
43376 (LC_NUMERIC): Likewise.
43377 (LC_TIME): Likewise.
43378 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43379 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43381 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43382 Specify type.
43383 [C99-based standards] (float_t): Expect type.
43384 [C99-based standards] (double_t): Expect type.
43385 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43386 type.
43387 [C99-based standards] (HUGE_VALL): Likewise.
43388 [C99-based standards] (INFINITY): Likewise.
43389 [C99-based standards] (NAN): Likewise.
43390 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43391 [C99-based standards] (FP_NAN): Likewise.
43392 [C99-based standards] (FP_NORMAL): Likewise.
43393 [C99-based standards] (FP_SUBNORMAL): Likewise.
43394 [C99-based standards] (FP_ZERO): Likewise.
43395 [C99-based standards] (FP_FAST_FMA): Use
43396 optional-macro-int-constant. Specify type. Require == 1.
43397 [C99-based standards] (FP_FAST_FMAF): Likewise.
43398 [C99-based standards] (FP_FAST_FMAL): Likewise.
43399 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43400 [C99-based standards] (FP_ILOGBNAN): Likewise.
43401 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43402 Specify type.
43403 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43404 [C99-based standards] (math_errhandling): Specify type.
43405 [ISO99 || ISO11] (signgam): Do not allow.
43406 [non-C99-based standards] (copysignf): Do not allow.
43407 [non-C99-based standards] (exp2f): Likewise.
43408 [non-C99-based standards] (log2f): Likewise.
43409 [non-C99-based standards] (modff): Allow.
43410 [non-C99-based standards] (erff): Do not allow.
43411 [non-C99-based standards] (erfcf): Likewise.
43412 [non-C99-based standards] (gammaf): Likewise.
43413 [non-C99-based standards] (hypotf): Likewise.
43414 [non-C99-based standards] (j0f): Likewise.
43415 [non-C99-based standards] (j1f): Likewise.
43416 [non-C99-based standards] (jnf): Likewise.
43417 [non-C99-based standards] (lgammaf): Likewise.
43418 [non-C99-based standards] (tgammaf): Likewise.
43419 [non-C99-based standards] (y0f): Likewise.
43420 [non-C99-based standards] (y1f): Likewise.
43421 [non-C99-based standards] (ynf): Likewise.
43422 [non-C99-based standards] (isnanf): Likewise.
43423 [non-C99-based standards] (acoshf): Likewise.
43424 [non-C99-based standards] (asinhf): Likewise.
43425 [non-C99-based standards] (atanhf): Likewise.
43426 [non-C99-based standards] (cbrtf): Likewise.
43427 [non-C99-based standards] (expm1f): Likewise.
43428 [non-C99-based standards] (ilogbf): Likewise.
43429 [non-C99-based standards] (log1pf): Likewise.
43430 [non-C99-based standards] (logbf): Likewise.
43431 [non-C99-based standards] (nextafterf): Likewise.
43432 [non-C99-based standards] (remainderf): Likewise.
43433 [non-C99-based standards] (rintf): Likewise.
43434 [non-C99-based standards] (scalbf): Likewise.
43435 [non-C99-based standards] (copysignl): Likewise.
43436 [non-C99-based standards] (exp2l): Likewise.
43437 [non-C99-based standards] (log2l): Likewise.
43438 [non-C99-based standards] (modfl): Allow.
43439 [non-C99-based standards] (erfl): Do not allow.
43440 [non-C99-based standards] (erfcl): Likewise.
43441 [non-C99-based standards] (gammal): Likewise.
43442 [non-C99-based standards] (hypotl): Likewise.
43443 [non-C99-based standards] (j0l): Likewise.
43444 [non-C99-based standards] (j1l): Likewise.
43445 [non-C99-based standards] (jnl): Likewise.
43446 [non-C99-based standards] (lgammal): Likewise.
43447 [non-C99-based standards] (tgammal): Likewise.
43448 [non-C99-based standards] (y0l): Likewise.
43449 [non-C99-based standards] (y1l): Likewise.
43450 [non-C99-based standards] (ynl): Likewise.
43451 [non-C99-based standards] (isnanl): Likewise.
43452 [non-C99-based standards] (acoshl): Likewise.
43453 [non-C99-based standards] (asinhl): Likewise.
43454 [non-C99-based standards] (atanhl): Likewise.
43455 [non-C99-based standards] (cbrtl): Likewise.
43456 [non-C99-based standards] (expm1l): Likewise.
43457 [non-C99-based standards] (ilogbl): Likewise.
43458 [non-C99-based standards] (log1pl): Likewise.
43459 [non-C99-based standards] (logbl): Likewise.
43460 [non-C99-based standards] (nextafterl): Likewise.
43461 [non-C99-based standards] (remainderl): Likewise.
43462 [non-C99-based standards] (rintl): Likewise.
43463 [non-C99-based standards] (scalbl): Likewise.
43464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43465 [non-C99-based standards] (FP_*): Do not allow.
43466 [C99-based standards] (FP_*): Change to
43467 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43468 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43469 allow.
43470 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43471 (SIG_ERR): Likewise.
43472 [X/Open-based standards] (SIG_HOLD): Likewise.
43473 (SIG_IGN): Likewise.
43474 (SIGABRT): Use macro-int-constant. Specify type. Require
43475 positive value.
43476 (SIGFPE): Likewise.
43477 (SIGILL): Likewise.
43478 (SIGINT): Likewise.
43479 (SIGSEGV): Likewise.
43480 (SIGTER): Likewise.
43481 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43482 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43483 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43484 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43485 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43486 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43487 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43488 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43489 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43490 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43491 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43492 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43493 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43494 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43495 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43496 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43497 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43498 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43499 [X/Open-based standards] (SIGTRAP): Likewise.
43500 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43501 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43502 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43503 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43504 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43505 allow.
43506
43507 2012-05-08 Ian Wienand <ianw@vmware.com>
43508
43509 [BZ #14080]
43510 * time/tzset.c (__tzset_parse_tz): Update default rules for
43511 daylight time changes in the Energy Policy Act of 2005.
43512
43513 2012-05-09 Andreas Jaeger <aj@suse.de>
43514
43515 [BZ #13983]
43516 * elf/ldconfig.c (parse_conf): Change string to make clear that
43517 ldconfig only issued a warning if ld.so.conf does not exist.
43518
43519 2012-05-08 David S. Miller <davem@davemloft.net>
43520
43521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43522 movxtod instead of popping the value on the stack.
43523
43524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43525
43526 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43527
43528 * config.h.in: Add HAVE_ARM_PCS_VFP.
43529
43530 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
43531
43532 [BZ #13979]
43533 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43534 checking but the checks are disabled for any reason.
43535
43536 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43537
43538 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43539 and ELF64_R_TYPE with ELFW(R_TYPE).
43540
43541 2012-05-08 Joseph Myers <joseph@codesourcery.com>
43542
43543 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43544 (ulimit): Likewise.
43545
43546 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43547 (settimeofday): Likewise.
43548
43549 2012-05-08 Mike Frysinger <vapier@gentoo.org>
43550
43551 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43552 a struct th_u2 inside the union, and move tu_block/tu_code into
43553 a new th_u3 union of tu_block/tu_code inside of that. Move
43554 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43555 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43556 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43557 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43558 (th_stuff): Change to th_u1.tu_stuff.
43559 (th_data): Define.
43560 (th_msg): Change to th_u1.th_u2.tu_data.
43561
43562 2012-05-07 David S. Miller <davem@davemloft.net>
43563
43564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43565
43566 [BZ #14074]
43567 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43568 (SETUP_PIC_REG): Use it.
43569 (SETUP_PIC_REG_LEAF): Use it.
43570
43571 2012-05-07 Joseph Myers <joseph@codesourcery.com>
43572
43573 [BZ #13885]
43574 [BZ #13923]
43575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43576 USE_AS_EXPM1L.
43577 (EXPL_FINITE): Likewise.
43578 (FLDLOG): Likewise.
43579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43580 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43581 e_expl.S.
43582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43583 USE_AS_EXPM1L.
43584 (EXPL_FINITE): Likewise.
43585 (FLDLOG): Likewise.
43586 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43587 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43588 e_expl.S.
43589 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43590 test of -max_value argument for long double.
43591 * sysdeps/i386/fpu/libm-test-ulps: Update.
43592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43593
43594 2012-05-06 David S. Miller <davem@davemloft.net>
43595
43596 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43597 quad soft-float symbols whose references which are compiler
43598 generated.
43599 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43600
43601 2012-05-06 Joseph Myers <joseph@codesourcery.com>
43602
43603 [BZ #13884]
43604 [BZ #13914]
43605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43606 USE_AS_EXP10L.
43607 (EXPL_FINITE): Likewise.
43608 (FLDLOG): Likewise.
43609 (c0): Likewise.
43610 (c1): Likewise.
43611 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43612 Adjust comments for base varying.
43613 (__expl_finite): Change alias to EXPL_FINITE.
43614 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43615 e_expl.S.
43616 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43617 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43618 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43619 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43620 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43621 USE_AS_EXP10L.
43622 (EXPL_FINITE): Likewise.
43623 (FLDLOG): Likewise.
43624 (c0): Likewise.
43625 (c1): Likewise.
43626 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43627 Adjust comments for base varying.
43628 (__expl_finite): Change alias to EXPL_FINITE.
43629 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43630 tests for bugs.
43631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43632
43633 [BZ #14064]
43634 * math/libm-test.inc (check_float_internal): Correct ulp
43635 calculation for subnormal expected results.
43636
43637 2012-05-06 Andreas Jaeger <aj@suse.de>
43638
43639 * Makeconfig (+math-flags): New, set to -frounding-math.
43640 (+cflags): Add +math-flags so that all of glibc gets compiled with
43641 it.
43642
43643 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43644
43645 2012-05-05 Joseph Myers <joseph@codesourcery.com>
43646
43647 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43648 Disable one test.
43649
43650 [BZ #13787]
43651 [BZ #13922]
43652 [BZ #14036]
43653 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43654 (__ieee754_expl): Allow for and saturate large arguments.
43655 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43656 (u_threshold): Likewise.
43657 (__exp): Call __ieee754_exp before checking for overflow and
43658 underflow.
43659 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43660 (u_threshold): Likewise.
43661 (__expf): Call __ieee754_expf before checking for overflow and
43662 underflow.
43663 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43664 (u_threshold): Likewise.
43665 (__expl): Call __ieee754_expl before checking for overflow and
43666 underflow.
43667 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43668 (__ieee754_expl): Allow for and saturate large arguments.
43669 * math/libm-test.inc (exp_test): Add another test. Do not allow
43670 missing overflow exception on overflow.
43671 (expm1_test): Do not allow missing overflow exception on overflow.
43672
43673 * sysdeps/i386/fpu/e_expl.c: Move to ...
43674 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43675 rather than using inline asm.
43676 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43677 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43678 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43679
43680 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43681 (nice): Likewise.
43682 (poll): Likewise.
43683 (signal): Likewise.
43684 (time): Likewise.
43685 (times): Likewise.
43686
43687 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43688
43689 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43690 sysdeps/unix/common/syscalls.list.
43691 (fchmod): Likewise.
43692 (fchown): Likewise.
43693 (ftruncate): Likewise.
43694 (getrusage): Likewise.
43695 (gettimeofday): Likewise.
43696 (setpgid): Likewise.
43697 (setregid): Likewise.
43698 (setreuid): Likewise.
43699 (sigaction): Likewise.
43700 (truncate): Likewise.
43701 (vhangup): Likewise.
43702 * sysdeps/unix/common/syscalls.list: Remove file.
43703 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43704 * sysdeps/unix/sysv/linux/Implies: Likewise.
43705
43706 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43710 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43711 Moved to ...
43712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43713 Here.
43714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43715 to ...
43716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43718 to ...
43719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43720 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43721 to ...
43722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43723 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43724 to ...
43725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43726 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43727 to ...
43728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43729 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43730 to ...
43731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43732 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43733 to ...
43734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43735 Here.
43736 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43737 to ...
43738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43739 Here.
43740 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43741 to ...
43742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43743 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43744 Moved to ...
43745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43746 Here.
43747 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43748 to ...
43749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43750
43751 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43752
43753 * sysdeps/unix/common/bits/dirent.h: Remove file.
43754 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43755
43756 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43757 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43758 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43759 * sysdeps/unix/bsd/isatty.c: Likewise.
43760 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43761 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43762 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43763
43764 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43765
43766 [BZ #13563]
43767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43768 long double comparison inaccuracies.
43769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43771
43772 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43773
43774 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43776
43777 2012-05-04 Joseph Myers <joseph@codesourcery.com>
43778
43779 [BZ #14049]
43780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43781 nonzero digits before rounding a hex value.
43782 * stdlib/tst-strtod.c (tests): Add another test.
43783
43784 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43785
43786 * sysdeps/s390/fpu/libm-test-ulps: Update.
43787
43788 2012-05-03 Andreas Jaeger <aj@suse.de>
43789
43790 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43791 does not get optimized out.
43792 (malloc_opt_barrier): New.
43793
43794 2012-05-03 Andreas Jaeger <aj@suse.de>
43795 Roland McGrath <roland@hack.frob.com>
43796
43797 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43798 intermediate file deletion.
43799 (generated): Add .symlist files.
43800
43801 2012-05-03 Joseph Myers <joseph@codesourcery.com>
43802
43803 [BZ #13775]
43804 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43805 Redirect under this condition.
43806 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43807 [__USE_GNU] (__dprintf_chk): Not under this condition.
43808 [__USE_GNU] (__vdprintf_chk): Likewise.
43809 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43810 under this condition.
43811 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43812 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43813 [__USE_XOPEN2K8] (vdprintf): Likewise.
43814 [__USE_GNU] (__dprintf_chk): Not under this condition.
43815 [__USE_GNU] (__vdprintf_chk): Likewise.
43816 [__USE_GNU] (dprintf): Likewise.
43817 [__USE_GNU] (vdprintf): Likewise.
43818
43819 2012-05-03 Roland McGrath <roland@hack.frob.com>
43820
43821 * elf/Makefile (common-generated): Set this instead of generated for
43822 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43823 $(all-built-dso)-derived lists.
43824
43825 2012-05-03 Andreas Jaeger <aj@suse.de>
43826
43827 * sysdeps/i386/fpu/libm-test-ulps: Update.
43828
43829 * FAQ: Removed.
43830 * FAQ.in: Likewise.
43831 * scripts/gen-FAQ.pl: Likewise.
43832 * manual/install.texi (Installation): Point to online location of
43833 FAQ.
43834 * Makefile (files-for-dist): Remove FAQ.
43835 (FAQ): Remove.
43836
43837 2012-05-02 Allan McRae <allan@archlinux.org>
43838
43839 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43840 (LDFLAGS-reldepmod5.so): Likewise.
43841 (LDFLAGS-reldep6mod1.so): Likewise.
43842 (LDFLAGS-reldep6mod4.so): Likewise.
43843 (LDFLAGS-reldep8mod3.so): Likewise.
43844 (LDFLAGS-unload4mod1.so): Likewise.
43845 (LDFLAGS-unload4mod2.so): Likewise.
43846 (LDFLAGS-tst-initorder): Likewise.
43847 (LDFLAGS-tst-initordera2.so): Likewise.
43848 (LDFLAGS-tst-initordera3.so): Likewise.
43849 (LDFLAGS-tst-initordera4.so): Likewise.
43850 (LDFLAGS-tst-initorderb2.so): Likewise.
43851 (LDFLAGS-noload): Likewise.
43852 (LDFLAGS-next): Likewise.
43853 (LDFLAGS-order2mod1.so): Likewise.
43854 (LDFLAGS-order2mod2.so): Likewise.
43855 (LDFLAGS-tst-initorder2): Likewise.
43856 (LDFLAGS-tst-initorder2a.so): Likewise.
43857 (LDFLAGS-tst-initorder2b.so): Likewise.
43858 (LDFLAGS-tst-initorder2c.so): Likewise.
43859 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43860
43861 2012-05-02 David S. Miller <davem@davemloft.net>
43862
43863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43864
43865 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43866
43867 [BZ #14055]
43868 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43869
43870 2012-05-02 Andreas Jaeger <aj@suse.de>
43871
43872 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43873 since we manipulate rounding mode.
43874 (CPPFLAGS-test-idouble.c): Likewise.
43875 (CPPFLAGS-test-ifloat.c): Likewise.
43876 (CFLAGS-test-ldouble.c): Likewise.
43877 (CFLAGS-test-double.c): Likewise.
43878 (CFLAGS-test-float.c): Likewise.
43879 (CFLAGS-test-misc.c): Likewise.
43880 (CFLAGS-test-test-fenv.c): Likewise.
43881
43882 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43883
43884 [BZ #2550]
43885 [BZ #2570]
43886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43887 comparisons to determine direction to adjust input.
43888
43889 2012-05-01 Roland McGrath <roland@hack.frob.com>
43890
43891 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43892 output to the target.
43893
43894 * scripts/localplt.awk: New file.
43895 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43896 (check-localplt-CFLAGS): Variable removed.
43897 ($(all-built-dso:=.jmprel)): New static pattern rule.
43898 (generated): Add those targets.
43899 (localplt-built-dso): New variable.
43900 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43901
43902 * elf/check-localplt.c: File removed.
43903
43904 * scripts/check-execstack.awk: New file.
43905 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43906 (check-execstack-CFLAGS): Variable removed.
43907 ($(objpfx)check-execstack.h): Target removed.
43908 ($(objpfx)execstack-default): New target.
43909 (generated): Add that instead of check-execstack.h.
43910 ($(all-built-dso:=.phdr)): New static pattern rule.
43911 (generated): Add those targets.
43912 * elf/check-execstack.c: File removed.
43913
43914 * scripts/check-textrel.awk: New file.
43915 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43916 (check-textrel-CFLAGS): Variable removed.
43917 (all-built-dso): Use := to define.o
43918 ($(all-built-dso:=.dyn)): New static pattern rule.
43919 (generated): Add those targets.
43920 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43921 * config.make.in (READELF): New substituted variable.
43922 * elf/check-textrel.c: File removed.
43923
43924 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43925
43926 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43927 allow.
43928 * conform/data/ctype.h-data [C99-based standards] (isblank):
43929 Expect function.
43930 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43931 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43933 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43934 Specify type. Require positive value.
43935 (EILSEQ): Likewise.
43936 (ERANGE): Likewise.
43937 [ISO || POSIX] (EILSEQ): Do not expect.
43938 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43939 Specify type. Require positive value.
43940 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43954 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43956 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43957 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43958 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43959 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43960 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43961 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43962 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43963 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43964 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43970 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43971 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43972 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43974 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43975 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43976 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43977 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43978 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43979 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43980 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43981 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43982 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43983 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43984 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43985 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43986 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43987 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43988 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43989 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43990 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43991 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43992 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43993 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43994 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43995 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43996 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43997 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43998 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43999 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44000 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44001 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44002 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44003 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44004 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44005 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44006 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44007 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44014 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44015 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44016 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44017 Require >= 2.
44018 (FLT_ROUNDS): Expect as macro, not constant.
44019 (FLT_MANT_DIG): Use macro-int-constant.
44020 (DBL_MANT_DIG): Likewise.
44021 (LDBL_MANT_DIG): Likewise.
44022 (FLT_DIG): Likewise.
44023 (DBL_DIG): Likewise.
44024 (LDBL_DIG): Likewise.
44025 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44026 (DBL_MIN_EXP): Likewise.
44027 (LDBL_MIN_EXP): Likewise.
44028 (FLT_MAX_EXP): Use macro-int-constant.
44029 (DBL_MAX_EXP): Likewise.
44030 (LDBL_MAX_EXP): Likewise.
44031 (FLT_MAX_10_EXP): Likewise.
44032 (DBL_MAX_10_EXP): Likewise.
44033 (LDBL_MAX_10_EXP): Likewise.
44034 (FLT_MAX): Use macro-constant.
44035 (DBL_MAX): Likewise.
44036 (LDBL_MAX): Likewise.
44037 (FLT_EPSILON): Use macro-constant. Give upper bound.
44038 (DBL_EPSILON): Likewise.
44039 (LDBL_EPSILON): Likewise.
44040 (FLT_MIN): Likewise.
44041 (DBL_MIN): Likewise.
44042 (LDBL_MIN): Likewise.
44043 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44044 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44045 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44046 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44047 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44048 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44049 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44050 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44051 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44052 [ISO11] (FLT_TRUE_MIN): Likewise.
44053 [ISO11] (LDBL_TRUE_MIN): Likewise.
44054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44055 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44056 (SCHAR_MIN): Use macro-int-constant. Specify type.
44057 (SCHAR_MAX): Likewise.
44058 (UCHAR_MAX): Likewise.
44059 (CHAR_MIN): Likewise.
44060 (CHAR_MAX): Likewise.
44061 (MB_LEN_MAX): Use macro-int-constant.
44062 (SHRT_MIN): Use macro-int-constant. Specify type.
44063 (SHRT_MAX): Likewise.
44064 (USHRT_MAX): Likewise.
44065 (INT_MAX): Likewise.
44066 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44067 bound negative.
44068 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44069 bound with "U".
44070 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44071 bound with "L".
44072 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44073 bound negative. Suffix upper bound with "L".
44074 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44075 bound with "UL".
44076 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44077 Specify type.
44078 [C99-based standards] (LLONG_MAX): Likewise.
44079 [C99-based standards] (ULLONG_MAX): Likewise.
44080 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44081 == 0.
44082 [ISO11] (max_align_t): Require type.
44083 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44084
44085 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44086 from $CFLAGS, without defining away __attribute__ calls.
44087 (checknamespace): Use $CFLAGS_namespace.
44088
44089 * conform/conformtest.pl (@keywords): Only include C99 keywords
44090 for standards based on C99 or C11.
44091
44092 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44093 Disable tests.
44094 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44095 UNIX98]: Likewise.
44096
44097 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44098 usability of symbols in #if.
44099
44100 * conform/conformtest.pl: If macro or constant types start
44101 "promoted:", expect the symbol to be of the following type
44102 promoted by the integer promotions.
44103
44104 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44105 in one place. Also handle "macro-constant".
44106
44107 * conform/conformtest.pl: Only accept expected macro values with
44108 "==". Parse all "macro" lines in one place.
44109 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44110
44111 * conform/conformtest.pl: Handle braced types on "constant" lines
44112 instead of handling "typed-constant".
44113 * conform/data/signal.h-data: Use "constant" instead of
44114 "typed-constant".
44115
44116 * conform/conformtest.pl: Handle "optional-" at start of lines in
44117 one place rather than duplicating several cases. Handle each
44118 format of "macro" line with initial "optional-".
44119
44120 * conform/conformtest.pl: Only accept expected constant or
44121 optional-constant values with "==". Parse all "constant" lines in
44122 one place. Parse all "optional-constant" lines in one place.
44123 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44124 * conform/data/fmtmsg.h-data: Likewise.
44125 * conform/data/netinet/in.h-data: Likewise.
44126 * conform/data/tar.h-data: Likewise.
44127 * conform/data/limits.h-data: Use "==" form on "constant" and
44128 "optional-constant" lines.
44129
44130 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44131 Use -std=c99 for XOPEN2K.
44132 (@knownproblems): Remove.
44133 (newtoken): Don't check %isknown.
44134
44135 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44136 Do not expect macro.
44137 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44149 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44150 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44167 [XPG3] (acosh): Likewise.
44168 [XPG3] (asinh): Likewise.
44169 [XPG3] (atanh): Likewise.
44170 [XPG3] (cbrt): Likewise.
44171 [XPG3] (expm1): Likewise.
44172 [XPG3] (ilogb): Likewise.
44173 [XPG3] (log1p): Likewise.
44174 [XPG3] (logb): Likewise.
44175 [XPG3] (nextafter): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44178 [XPG3] (remainder): Likewise.
44179 [XPG3] (rint): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44187 [UNIX98 || XOPEN2K] (scalb): Expect.
44188 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44189 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44282 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44294 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44313 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44314 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44315 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44316 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44317 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44318 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44319 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44320 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44323 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44324 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44325
44326 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44327 _XOPEN_SOURCE_EXTENDED for XPG4.
44328
44329 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44330
44331 * Makeconfig (localtime): Remove variable.
44332 (inst_localtime-file): Likewise.
44333
44334 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44335
44336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44337 Update.
44338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44339 Update.
44340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44341 Update.
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44343 Update.
44344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44345 Update.
44346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44347 Update.
44348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44349 Update.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44351 Update.
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44353 Update.
44354
44355 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44356
44357 [BZ #2550]
44358 [BZ #2570]
44359 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44360 comparisons to determine direction to adjust input.
44361 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44362 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44364 Likewise.
44365 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44366 Likewise.
44367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44368 Likewise.
44369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44370 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44371 Likewise.
44372 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44373 Likewise.
44374 * math/libm-test.inc (nexttoward_test): Add more tests.
44375
44376 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44377
44378 [BZ #14040]
44379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44380 in version GLIBC_2.1, not GLIBC_2.0.
44381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44382 Likewise.
44383
44384 2012-04-30 Joseph Myers <joseph@codesourcery.com>
44385
44386 [BZ #13942]
44387 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44388 (1 - x) * (1 + x).
44389 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44390 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44391 * math/libm-test.inc (acos_test): Add more tests.
44392 (asin_test): Likewise.
44393 * sysdeps/i386/fpu/libm-test-ulps: Update.
44394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44395
44396 [BZ #14034]
44397 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44398 of square root.
44399 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44400 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44401 * math/libm-test.inc (acos_test_tonearest): New function.
44402 (acos_test_towardzero): Likewise.
44403 (acos_test_downward): Likewise.
44404 (acos_test_upward): Likewise.
44405 (asin_test_tonearest): Likewise.
44406 (asin_test_towardzero): Likewise.
44407 (asin_test_downward): Likewise.
44408 (asin_test_upward): Likewise.
44409 (main): Call the new functions.
44410 * sysdeps/i386/fpu/libm-test-ulps: Update.
44411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44412
44413 [BZ #13884]
44414 [BZ #13924]
44415 * math/e_exp10.c: Include <float.h>.
44416 (__ieee754_exp10): Handle underflow here rather than multiplying
44417 large negative argument by M_LN10.
44418 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44419 of __ieee754_expf.
44420 * math/e_exp10l.c: Include <float.h>.
44421 (__ieee754_exp10l): Handle underflow here rather than multiplying
44422 large negative argument by M_LN10l.
44423 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44424 spurious overflow exception on underflow.
44425
44426 2012-04-29 Marek Polacek <polacek@redhat.com>
44427
44428 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44429 (__fortify_function): New macro.
44430 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44431 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44432 __extern_always_inline.
44433 * libio/bits/stdio2.h: Likewise.
44434 * libio/bits/stdio.h: Likewise.
44435 * string/string.h: Likewise.
44436 * string/bits/string3.h: Likewise.
44437 * include/stdio.h: Likewise.
44438 * stdlib/bits/stdlib.h: Likewise.
44439 * stdlib/stdlib.h: Likewise.
44440 * rt/bits/mqueue2.h: Likewise.
44441 * rt/mqueue.h: Likewise.
44442 * posix/bits/unistd.h: Likewise.
44443 * posix/unistd.h: Likewise.
44444 * io/bits/poll2.h: Likewise.
44445 * io/bits/fcntl2.h: Likewise.
44446 * io/fcntl.h: Likewise.
44447 * io/sys/poll.h: Likewise.
44448 * misc/bits/syslog.h: Likewise.
44449 * misc/bits/syslog-ldbl.h: Likewise.
44450 * misc/sys/syslog.h: Likewise.
44451 * socket/bits/socket2.h: Likewise.
44452 * socket/sys/socket.h: Likewise.
44453 * debug/tst-chk1.c: Likewise.
44454 * wcsmbs/bits/wchar2.h: Likewise.
44455 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44456 * wcsmbs/wchar.h: Likewise.
44457
44458 2012-04-29 Andreas Jaeger <aj@suse.de>
44459
44460 * Makerules (tests): Remove enable-check-abi protection.
44461 (check-abi-warn): Remove.
44462 (check-abi-%): Remove check-abi-warn usage.
44463
44464 * configure.in: Remove check-abi configure option.
44465 * configure: Regenerated.
44466 * config.make.in (enable-check-abi): Remove.
44467
44468 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44469
44470 [BZ #14033]
44471 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44472 double functions to double *_finite functions.
44473
44474 [BZ #13941]
44475 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44476 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44477 LDBL_MIN_EXP.
44478 * stdio-common/Makefile (tests): Add tst-sprintf3.
44479 * stdio-common/tst-sprintf3.c: New file.
44480
44481 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44482 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44483
44484 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44485
44486 * conform/conformtest.pl: Remove duplicate typed-constant
44487 handling.
44488
44489 2012-04-28 David S. Miller <davem@davemloft.net>
44490
44491 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44492 (check-abi-%): Remove AWK script prerequisite and explicit
44493 abilist directory.
44494 (check-abi): Rewrite to just diff the symlist with the abilist.
44495 (config-tls, config-abi-config): Delete, no longer used.
44496 (update-abi-%): Remove AWK script and explicit abilist directory.
44497 (update-abi): Rewrite to simply compare and conditionally copy the
44498 symlist and the sysdep abilist file. Remove update-abi-config
44499 checks.
44500 * abilist/ld.abilist: Remove.
44501 * abilist/libBrokenLocale.abilist: Remove.
44502 * abilist/libanl.abilist: Remove.
44503 * abilist/libcrypt.abilist: Remove.
44504 * abilist/libdl.abilist: Remove.
44505 * abilist/librt.abilist: Remove.
44506 * abilist/libthread_db.abilist: Remove.
44507 * abilist/libutil.abilist: Remove.
44508 * scripts/extract-abilist.awk: Remove.
44509 * scripts/merge-abilist.awk: Remove.
44510 * sysdeps/generic/libcidn.abilist: New file.
44511 * sysdeps/generic/libnss_compat.abilist: New file.
44512 * sysdeps/generic/libnss_db.abilist: New file.
44513 * sysdeps/generic/libnss_dns.abilist: New file.
44514 * sysdeps/generic/libnss_files.abilist: New file.
44515 * sysdeps/generic/libnss_hesiod.abilist: New file.
44516 * sysdeps/generic/libnss_nis.abilist: New file.
44517 * sysdeps/generic/libnss_nisplus.abilist: New file.
44518 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44519 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44520 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44521 file.
44522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44523 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44524 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44525 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44526 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44527 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44528 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44529 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44530 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44531 file.
44532 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44533 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44534 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44535 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44536 file.
44537 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44539 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44540 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44541 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44542 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44543 file.
44544 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44545 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44546 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44547 file.
44548 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44550 New file.
44551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44552 New file.
44553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44554 New file.
44555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44556 New file.
44557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44558 New file.
44559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44560 New file.
44561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44562 New file.
44563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44564 New file.
44565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44566 New file.
44567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44568 New file.
44569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44570 New file.
44571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44572 New file.
44573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44574 New file.
44575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44576 file.
44577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44578 New file.
44579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44580 New file.
44581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44582 file.
44583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44584 New file.
44585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44586 New file.
44587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44588 file.
44589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44590 New file.
44591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44592 New file.
44593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44594 New file.
44595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44596 New file.
44597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44598 New file.
44599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44600 New file.
44601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44603 file.
44604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44605 New file.
44606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44607 file.
44608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44609 file.
44610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44611 file.
44612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44613 file.
44614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44615 file.
44616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44617 New file.
44618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44619 file.
44620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44621 file.
44622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44623 New file.
44624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44625 file.
44626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44628 file.
44629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44630 New file.
44631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44632 file.
44633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44634 file.
44635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44636 file.
44637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44638 file.
44639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44640 file.
44641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44642 New file.
44643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44644 file.
44645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44646 file.
44647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44648 New file.
44649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44650 file.
44651 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44652 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44653 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44654 file.
44655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44656 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44657 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44658 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44659 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44660 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44661 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44663 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44664 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44667 file.
44668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44669 New file.
44670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44671 file.
44672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44673 file.
44674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44675 file.
44676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44677 file.
44678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44679 file.
44680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44681 New file.
44682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44683 New file.
44684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44685 file.
44686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44687 New file.
44688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44689 file.
44690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44692 file.
44693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44694 New file.
44695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44696 file.
44697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44698 file.
44699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44700 file.
44701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44702 file.
44703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44704 file.
44705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44706 New file.
44707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44708 New file.
44709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44710 file.
44711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44712 New file.
44713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44714 file.
44715
44716 2012-04-28 Joseph Myers <joseph@codesourcery.com>
44717
44718 * conform/conformtest.pl: Fix typo in handling typed-constant from
44719 allow-header.
44720
44721 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44722
44723 * README: Cut down references to pre-2.6 Linux kernels and
44724 Linuxthreads. Update lists of configurations in libc and ports
44725 and sort alphabetically. Say "or newer" with Linux kernel version
44726 requirements.
44727
44728 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44729
44730 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44731
44732 [BZ #887]
44733 * math/libm-test.inc (logb_test_downward): New test to expose
44734 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44735 rounding mode.
44736
44737 2012-04-27 Joseph Myers <joseph@codesourcery.com>
44738
44739 [BZ #14027]
44740 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44741 to be done.
44742 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44743 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44744
44745 2012-04-26 Joseph Myers <joseph@codesourcery.com>
44746
44747 * sysdeps/unix/i386/brk.S: Remove file.
44748 * sysdeps/unix/i386/dl-brk.S: Likewise.
44749 * sysdeps/unix/i386/pipe.S: Likewise.
44750 * sysdeps/unix/i386/sigreturn.S: Likewise.
44751 * sysdeps/unix/i386/syscall.S: Likewise.
44752 * sysdeps/unix/i386/vfork.S: Likewise.
44753 * sysdeps/unix/i386/wait.S: Likewise.
44754
44755 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44756 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44757
44758 * configure.in (arm*-none*): Do not allow without
44759 --enable-hacker-mode.
44760 (netbsd*): Remove case setting base_os.
44761 (386bsd*): Likewise.
44762 (freebsd*): Likewise.
44763 (bsdi*): Likewise.
44764 (osf*): Likewise.
44765 (sunos*): Likewise.
44766 (ultrix*): Likewise.
44767 (newsos*): Likewise.
44768 (dynix*): Likewise.
44769 (*bsd*): Likewise.
44770 (sysv*): Likewise.
44771 (isc*): Likewise.
44772 (esix*): Likewise.
44773 (sco*): Likewise.
44774 (minix*): Likewise.
44775 (irix4*): Likewise.
44776 (irix6*): Likewise.
44777 (solaris[2-9]*): Likewise.
44778 (none): Likewise.
44779 * configure: Regenerated.
44780
44781 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44782
44783 [BZ #11521]
44784 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44785 overflow or cancellation in calculating denominator.
44786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44788 down expression to avoid unexpected rounding in newer GCCs.
44789 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44790
44791 2012-04-26 David S. Miller <davem@davemloft.net>
44792
44793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44794 long-double compat symbols.
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44808
44809 2012-04-25 David S. Miller <davem@davemloft.net>
44810
44811 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44812 HWCAP_* values only after the memory barriers have been defined.
44813 (atomic_full_barrier): Define.
44814 (atomic_read_barrier): Define.
44815 (atomic_write_barrier): Define.
44816
44817 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44818
44819 * shlib-versions: Add libgcc_s version information.
44820 * sysdeps/generic/libgcc_s.h: Remove.
44821 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44822 libgcc_s.h.
44823 * sysdeps/gnu/unwind-resume.c: Likewise.
44824 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44825
44826 2012-04-25 David S. Miller <davem@davemloft.net>
44827
44828 * sysdeps/unix/sparc/brk.S: Delete.
44829 * sysdeps/unix/sparc/dl-brk.S: Delete.
44830 * sysdeps/unix/sparc/pipe.S: Delete.
44831 * sysdeps/unix/sparc/sysdep.S: Delete.
44832 * sysdeps/unix/sparc/sysdep.h: Delete.
44833 * sysdeps/unix/sparc/vfork.S: Delete.
44834 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44835 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44837 (ret_ERRVAL, r0, r1, MOVE): Define.
44838 (JUMPTARGET): Remove.
44839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44840 sysdeps/unix/sparc/sysdep.h
44841 (ENTRY, END): Remove.
44842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44843
44844 2012-04-25 Joseph Myers <joseph@codesourcery.com>
44845
44846 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44847 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44848 -DIS_IN_build.
44849
44850 * timezone/README: Update upstream location and email address for
44851 tzcode and tzdata.
44852 * timezone/zdump.c: Update from tzcode 2012b.
44853 * timezone/zic.c: Likewise.
44854
44855 * configure.in (libc_cv_as_needed): Remove test.
44856 * configure: Regenerated.
44857 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44858 conditional definition.
44859 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44860 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44861 * config.make.in (have-as-needed): Remove variable.
44862
44863 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44864 Paul Pluzhnikov <ppluzhnikov@google.com>
44865
44866 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44867 strings correctly.
44868
44869 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44870
44871 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44872 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44873 * sysdeps/sh/strlen.S: Likewise.
44874
44875 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44876
44877 * sysdeps/unix/fork.S: Remove file.
44878 * sysdeps/unix/i386/fork.S: Likewise.
44879 * sysdeps/unix/sparc/fork.S: Likewise.
44880
44881 * sysdeps/unix/system.c: Remove file.
44882 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44883
44884 * sysdeps/unix/getegid.S: Remove file.
44885 * sysdeps/unix/geteuid.S: Likewise.
44886
44887 2012-04-24 Roland McGrath <roland@hack.frob.com>
44888
44889 * scripts/check-localplt.awk: New file.
44890 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44891 of diff.
44892 * scripts/data/localplt-generic.data: Add a comment.
44893
44894 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44895 NODE when __dir_mkfile failed.
44896 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44897 Reported by Ludovic Courtès <ludo@gnu.org>.
44898
44899 2012-04-24 Andreas Jaeger <aj@suse.de>
44900
44901 * Makerules (common-clean): Also remove gen-as-const-headers
44902 files.
44903
44904 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44905
44906 * Makerules (native-compile): Do not change working directory for
44907 build. Use $(OUTPUT_OPTION) in command.
44908 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44909
44910 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44911
44912 [BZ #13886]
44913 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44914 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44915 * math/libm-test.inc (floor_test): Add more tests.
44916 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44917
44918 2012-04-24 Joseph Myers <joseph@codesourcery.com>
44919
44920 * sysdeps/unix/getdents.c: Remove file.
44921 * sysdeps/unix/sysv/getdents.c: Likewise.
44922 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44923
44924 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44925 sysdeps/unix/mman/syscalls.list.
44926 (mmap): Likewise.
44927 (mprotect): Likewise.
44928 (msync): Likewise.
44929 (munmap): Likewise.
44930 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44931 * sysdeps/unix/mman/syscalls.list: Remove.
44932 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44933
44934 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44935 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44936 * configure: Regenerated.
44937 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44938 $(libgcc_s_suffix).
44939 * config.make.in (libgcc_s_suffix): Remove variable.
44940
44941 2012-04-23 Joseph Myers <joseph@codesourcery.com>
44942
44943 * sysdeps/unix/sysv/gethostname.c: Move to ...
44944 * sysdeps/posix/gethostname.c: ... here.
44945
44946 * sysdeps/unix/execve.S: Remove file.
44947
44948 * sysdeps/unix/_exit.S: Remove file.
44949
44950 2012-04-23 Andreas Jaeger <aj@suse.de>
44951
44952 [BZ #13739]
44953 * manual/Makefile: Remove make dist support, there's no
44954 need for a stand-alone documentation tar ball.
44955 (TEXI2DVI): Define always, it's not in Makeconfig.
44956 (dist): Removed.
44957 (tar-it): Removed.
44958 (edition): Removed.
44959 (glibc-doc-$(edition).tar): Removed
44960 (%.Z): Removed.
44961 (%.gz): Removed.
44962 (%.uu): Removed.
44963 (ETAGS): Remove, it's in Makeconfig.
44964 (move-if-change): Remove, it's in Makeconfig.
44965
44966 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44967
44968 [BZ #13970]
44969 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44970 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44971 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44972 (strtod_l, strtof_l, strtold_l): Remove __wur.
44973 It is not necessarily an error to ignore strtol's return value.
44974 One can reliably look at the stored endptr to decide whether
44975 the number had valid syntax.
44976
44977 2012-04-21 Andreas Jaeger <aj@suse.de>
44978
44979 [BZ #13739]
44980 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44981
44982 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44983
44984 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44985 * sysdeps/unix/sysv/Versions: Remove file.
44986
44987 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44988
44989 [BZ #13927]
44990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44991
44992 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44993
44994 [BZ #7064]
44995 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44996 version from __vm86.
44997
44998 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44999
45000 * sysdeps/unix/common/lxstat.c: Remove file.
45001 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45002
45003 * sysdeps/unix/sysv/Makefile: Remove file.
45004
45005 * sysdeps/unix/sysv/direct.h: Remove file.
45006
45007 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45008 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45009 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45010 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45011 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45012 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45013 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45014
45015 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45016
45017 * sysdeps/unix/xmknod.c: Remove file.
45018 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45019
45020 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45021
45022 * sysdeps/unix/sysv/i386/time.S: Remove file.
45023
45024 * sysdeps/unix/fxstat.c: Remove file.
45025 * sysdeps/unix/xstat.c: Likewise.
45026 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45027
45028 * sysdeps/unix/sysv/sigaction.c: Remove file.
45029
45030 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45031 (sysdep_headers): Remove variable.
45032 [termio.h not in sysdep_headers] (generated): Likewise.
45033 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45034 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45035 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45036 * sysdeps/unix/sysv/tcflow.c: Likewise.
45037 * sysdeps/unix/sysv/tcflush.c: Likewise.
45038 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45039 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45040 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45041 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45042 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45043
45044 * sysdeps/unix/siglist.c: Remove file.
45045
45046 * sysdeps/unix/getppid.S: Remove file.
45047
45048 * sysdeps/unix/mkdir.c: Remove file.
45049 * sysdeps/unix/rmdir.c: Likewise.
45050
45051 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45052
45053 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45054 ERR_MAX value.
45055 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45056 errlist-compat value.
45057
45058 2012-04-18 David S. Miller <davem@davemloft.net>
45059
45060 * sysdeps/generic/memcopy.h (reg_char): Delete.
45061 * debug/strcat_chk.c: Use char, not reg_char.
45062 * debug/strcpy_chk.c: Likewise.
45063 * debug/strncat_chk.c: Likewise.
45064 * debug/strncpy_chk.c: Likewise.
45065 * string/memchr.c: Likewise.
45066 * string/memrchr.c: Likewise.
45067 * string/rawmemchr.c: Likewise.
45068 * string/strcat.c: Likewise.
45069 * string/strchr.c: Likewise.
45070 * string/strchrnul.c: Likewise.
45071 * string/strcmp.c: Likewise.
45072 * string/strcpy.c: Likewise.
45073 * string/strncat.c: Likewise.
45074 * string/strncmp.c: Likewise.
45075 * string/strncpy.c: Likewise.
45076
45077 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45078
45079 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45080 __builtin_memcopy is called when src and dest ranges are known to not
45081 overlap.
45082
45083 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45084
45085 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45086 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45087 fwd_align_merge macro call.
45088 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45089 bwd_align_merge macro call.
45090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45091
45092 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45093
45094 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45095 bwd_align_merge macros.
45096 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45097 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45098 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45099
45100 2012-04-18 David S. Miller <davem@davemloft.net>
45101
45102 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45103
45104 2012-04-18 Andreas Jaeger <aj@suse.de>
45105
45106 [BZ# 6794]
45107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45108 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45110
45111 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45112 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45114
45115 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45116 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45117 Adjust for changed ldbl-128 files.
45118
45119 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45120 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45122
45123 2012-04-17 David S. Miller <davem@davemloft.net>
45124
45125 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45126
45127 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45128
45129 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45130 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45131 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45132 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45133 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45134 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45135
45136 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45137
45138 [BZ #6794]
45139 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45140 * math/libm-test.inc: Add ilogb errno and exception tests.
45141 * math/w_ilogb.c: New file: ilogb wrapper.
45142 * math/w_ilogbf.c: New file: ilogbf wrapper.
45143 * math/w_ilogbl.c: New file: ilogbl wrapper.
45144 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45145 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45146 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45147 exception being thrown with 0.0 as argument.
45148 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45149 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45150 exception being thrown with 0.0 as argument.
45151 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45152 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45153 exception being thrown with 0.0 as argument.
45154 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45155 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45156 exception being thrown with 0.0 as argument.
45157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45158 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45160 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45163 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45164 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45165 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45166
45167 2012-04-17 Petr Baudis <pasky@ucw.cz>
45168
45169 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45170 with altivec.
45171
45172 2012-04-16 Marek Polacek <polacek@redhat.com>
45173
45174 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45175
45176 2012-04-16 Marek Polacek <polacek@redhat.com>
45177
45178 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45179 operands of fdivp instruction.
45180
45181 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45182
45183 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45184 * elf/tst-auditmod3b.c: Likewise.
45185 * elf/tst-auditmod4b.c: Likewise.
45186 * elf/tst-auditmod5b.c: Likewise.
45187 * elf/tst-auditmod6b.c: Likewise.
45188 * elf/tst-auditmod6c.c: Likewise.
45189 * elf/tst-auditmod7b.c: Likewise.
45190 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45191 * sysdeps/x86_64/preconfigure.in: Likewise.
45192 * sysdeps/x86_64/preconfigure: Regenerated.
45193
45194 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45195
45196 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45197 __ILP32__.
45198
45199 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45200
45201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45202 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45203
45204 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45205
45206 [BZ #13973]
45207 * locale/iso-639.def: Fix gl language name. Spotted by
45208 Yaron Shahrabani.
45209
45210 2012-04-12 Roland McGrath <roland@hack.frob.com>
45211
45212 [BZ #2074]
45213 * libio/libio.h (__io_write_fn): Update comment.
45214
45215 2012-04-12 Petr Baudis <pasky@ucw.cz>
45216
45217 [BZ #2074]
45218 * stdio.texi (Hook Functions): The user provided writer function
45219 is not allowed to return -1.
45220
45221 2012-04-11 David S. Miller <davem@davemloft.net>
45222
45223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45224
45225 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45226
45227 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45228 Add a leading slash to rtkaio.
45229
45230 2012-04-11 Jim Meyering <meyering@redhat.com>
45231
45232 [BZ #11959]
45233 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45234 It is not necessarily an error to ignore fwrite's return
45235 value. One can reliably use ferror to test for errors after
45236 the fact.
45237
45238 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45239
45240 * bits/types.h (__snseconds_t): New type.
45241 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45242
45243 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45245 (__SNSECONDS_T_TYPE): Likewise.
45246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45247 (__SNSECONDS_T_TYPE): Likewise.
45248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45249 (__SNSECONDS_T_TYPE): Likewise.
45250
45251 2012-04-10 Andreas Jaeger <aj@suse.de>
45252
45253 [BZ #2636]
45254 * manual/time.texi (Processor Time): Return type of times is
45255 elapsed real time since an arbitrary point in the past.
45256 (CPU Time): Move CLK_TCK from here...
45257 (Processor Time): ...to here. Correct description.
45258 * manual/conf.texi (Constants for Sysconf): Correct description of
45259 _SC_CLK_TCK.
45260
45261 2012-04-10 David S. Miller <davem@davemloft.net>
45262
45263 [BZ #13967]
45264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45265 where the is a gap between DT_REL(A) and DT_JMPREL.
45266
45267 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45268
45269 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45272
45273 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45274
45275 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45276 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45277 (dl_main): Handle --inhibit-cache.
45278 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45279 _dl_inhibit_cache.
45280 * elf/dl-load.c (_dl_map_object): Use it.
45281 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45282
45283 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45284
45285 [BZ #13872]
45286 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45287 (__ieee754_powl): Saturate large exponents rather than testing for
45288 overflow of y*log2(x).
45289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45290 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45291 exceptions.
45292
45293 [BZ #11521]
45294 * math/s_ctan.c: Include <float.h>.
45295 (__ctan): Avoid internal overflow or cancellation in calculating
45296 denominator.
45297 * math/s_ctanf.c: Likewise.
45298 * math/s_ctanl.c: Likewise.
45299 * math/s_ctanh.c: Likewise.
45300 * math/s_ctanhf.c: Likewise.
45301 * math/s_ctanhl.c: Likewise.
45302 * math/libm-test.inc (ctan_test): Add more tests.
45303 (ctanh_test): Likewise.
45304 * sysdeps/i386/fpu/libm-test-ulps: Update.
45305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45306
45307 2012-04-09 Andreas Jaeger <aj@suse.de>
45308
45309 [BZ #6894]
45310 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45311 is an optional BSD extension.
45312
45313 [BZ #10254]
45314 * manual/stdio.texi (Opening Streams): Document additional fopen
45315 parameters.
45316
45317 2012-04-09 Roland McGrath <roland@hack.frob.com>
45318
45319 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45320 %eax without telling the compiler.
45321
45322 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45323
45324 [BZ # 13963]
45325 * manual/install.texi: Use sourceware.org.
45326
45327 2012-04-09 Joseph Myers <joseph@codesourcery.com>
45328
45329 [BZ #13873]
45330 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45331 (__ieee754_pow): Generate overflow and underflow using huge*huge
45332 and tiny*tiny rather than just returning constant infinity or zero
45333 for large exponents.
45334 * math/libm-test.inc (pow_test): Require overflow exceptions for
45335 applicable cases of large exponents.
45336
45337 [BZ #706]
45338 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45339 (__ieee754_pow): Use iterative multiplication algorithm only for
45340 integer exponents with absolute value below 1024. Check for odd
45341 integer exponents when using algorithm for real exponents.
45342 * math/libm-test.inc (pow_test): Add more tests.
45343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45344
45345 2012-04-08 Joseph Myers <joseph@codesourcery.com>
45346
45347 [BZ #13705]
45348 * math/libm-test.inc (exp_test): Do not allow overflow exception
45349 on underflow test.
45350
45351 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45352
45353 [BZ #13705]
45354 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45355 instead of __kernel_standard_f.
45356
45357 2012-04-08 Mike Frysinger <vapier@gentoo.org>
45358
45359 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45360 * sysdeps/x86_64/memset_chk.S: Likewise.
45361
45362 2012-04-08 Andreas Jaeger <aj@suse.de>
45363
45364 [BZ #10153]
45365 * manual/startup.texi (Environment Access): Describe return value
45366 for putenv and setenv.
45367
45368 [BZ #6895]
45369 * manual/filesys.texi (Directory Entries): Add description for
45370 DT_LNK.
45371
45372 [BZ #6890]
45373 * manual/filesys.texi (Directory Entries): Clarify that it's file
45374 system not operating system in the description of DT_UNKNOWN.
45375
45376 [BZ #6578]
45377 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45378
45379 2012-04-08 Stephen Compall <s11@member.fsf.org>
45380
45381 [BZ #6649]
45382 * manual/llio.texi (Opening and Closing Files): Add cross
45383 reference to explain mode argument.
45384
45385 2012-04-07 Mike Frysinger <vapier@gentoo.org>
45386
45387 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45388 * sysdeps/x86_64/memset_chk.S: Likewise.
45389
45390 2012-04-07 David S. Miller <davem@davemloft.net>
45391
45392 * elf/elf.h (R_SPARC_WDISP10): Define.
45393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45394 R_SPARC_SIZE32.
45395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45396 R_SPARC_SIZE64 and R_SPARC_H34.
45397
45398 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45399
45400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45401 conditions and remove no longer applicable assertion.
45402
45403 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45404
45405 * bits/byteswap.h: Include <features.h>.
45406 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45407 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45408
45409 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45410
45411 * bits/byteswap.h (__bswap_16): Removed.
45412 Include <bits/byteswap-16.h> to get __bswap_16.
45413 * sysdeps/i386/bits/byteswap.h: Likewise.
45414 * sysdeps/s390/bits/byteswap.h: Likewise.
45415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45416 * bits/byteswap-16.h: New file.
45417 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45418 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45419 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45420 * string/Makefile (headers): Add bits/byteswap-16.h.
45421
45422 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45423
45424 [BZ #13895]
45425 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45426 extra indirection.
45427 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45428 * nss/tst-nss-static.c: New.
45429
45430 2012-04-06 Robert Millan <rmh@gnu.org>
45431
45432 [BZ #6486]
45433 * manual/llio.texi (File Position Primitive): lseek
45434 refers to WHENCE when it really means OFFSET.
45435
45436 2012-04-06 Andreas Jaeger <aj@suse.de>
45437
45438 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45439 strncmp declarations.
45440
45441 * abilist/libc.abilist: Add __poll and __ppoll.
45442
45443 2012-04-05 David S. Miller <davem@davemloft.net>
45444
45445 * scripts/check-local-headers.sh: Accept a host triplet in the
45446 path matched by the exclude regexp.
45447
45448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45449 definition.
45450 * sysdeps/powerpc/powerpc32/dl-machine.h
45451 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45452 * sysdeps/s390/s390-32/dl-machine.h
45453 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45454 * sysdeps/sparc/sparc32/dl-machine.h
45455 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45456 * sysdeps/sparc/sparc64/dl-machine.h
45457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45458
45459 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45460 lazy binding.
45461 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45462 undefined symbol errors.
45463
45464 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45465 DT_NEEDED entries.
45466
45467 2012-04-05 Michael Matz <matz@suse.de>
45468
45469 [BZ #13592]
45470 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45471
45472 2012-04-05 Andreas Jaeger <aj@suse.de>
45473
45474 [BZ #13908]
45475 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45476 comment.
45477
45478 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45479
45480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45481 which ROUND is no valid rounding mode.
45482
45483 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45484
45485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45486 read again.
45487 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45488
45489 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45490
45491 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45492 an exception using FPU order intentionally.
45493
45494 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45495
45496 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45497 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45498 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45499 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45500
45501 2012-04-05 Simon Josefsson <simon@josefsson.org>
45502
45503 [BZ #12340]
45504 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45505 EINVAL when BUFLEN is too smal.
45506
45507 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45508
45509 [BZ #13553]
45510 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45511 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45512
45513 2012-04-03 Andreas Jaeger <aj@suse.de>
45514
45515 [BZ #13938]
45516 * manual/setjmp.texi (System V contexts): Fix sentence.
45517
45518 [BZ #13926]
45519 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45520 New macro for this case.
45521 [!__GNUC__] (__bswap_64): New inline function for this case.
45522 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45523 * bits/byteswap.h: Likewise.
45524 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45525 ull, guard with __GLIBC_HAVE_LONG_LONG.
45526
45527 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45528 __GLIBC_HAVE_LONG_LONG.
45529
45530 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45531 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45532
45533 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45534
45535 [BZ #13691]
45536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45537 inptr and inend, rather than using last_ch.
45538
45539 2012-04-02 David S. Miller <davem@davemloft.net>
45540
45541 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45542 * stdio-common/printf-parse.h (read_int): Change return type to
45543 'int', return -1 on INT_MAX overflow.
45544 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45545 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45546 overflows INT_MAX. Check for overflow of in-format-string precision
45547 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45548 SIZE_MAX not INT_MAX for integer overflow test.
45549 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45550 skip the construct in the format string but do not record anything.
45551 * stdio-common/bug22.c: Adjust to test both width/prevision
45552 INT_MAX overflow as well as total length INT_MAX overflow. Check
45553 explicitly for proper errno values.
45554
45555 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45556
45557 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45558 CHAR_MAX.
45559 * string/test-strcmp.c [! WIDE]: Likewise.
45560 * time/tst-mktime2.c: Likewise for INT_MAX.
45561 * string/test-string.h: #include <sys/param.h> for MIN.
45562
45563 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45564 * sysdeps/i386/init-first.c (init): Likewise.
45565 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45566 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45567 * sysdeps/sh/init-first.c (init): Likewise.
45568
45569 2012-04-01 Ulrich Drepper <drepper@gmail.com>
45570
45571 * po/ru.po: Update from translation team.
45572 * po/vi.po: Likewise.
45573
45574 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45575
45576 * resolv/nss_dns/dns-host.c: Merge copyright years.
45577
45578 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45579
45580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45581 Optimize memcpy with prefetch if
45582 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45583 src, dst pointers have unequal 16 byte alignments.
45584
45585 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45586
45587 [BZ #13928]
45588 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45589 from a CNAME entry and return the minimum ttl for the query.
45590 (gaih_getanswer_slice): Likewise.
45591
45592 2012-03-30 Jeff Law <law@redhat.com>
45593
45594 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45595 due to long keys.
45596 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45597 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45598
45599 * resolv/nss_dns/dns-host.c: Update copyright year.
45600
45601 2012-03-30 Ulrich Drepper <drepper@gmail.com>
45602
45603 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45604 requests to save a system call. Fix check that all bytes are sent.
45605
45606 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45607 comments for sendmmsg.
45608
45609 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45610
45611 [BZ #13691]
45612 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45613 with only 1 character between 0x0041 and 0x01b0.
45614 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45615 * wcsmbs/tst-mbsnrtowcs.c: New file.
45616
45617 2012-03-29 David S. Miller <davem@davemloft.net>
45618
45619 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45620 small copies by hand.
45621
45622 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45623
45624 [BZ #13761]
45625 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45626 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45627 group memberships.
45628
45629 2012-03-28 David S. Miller <davem@davemloft.net>
45630
45631 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45632 that branches into memcpy.
45633 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45636 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45638 bits.
45639 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45640 implementation too.
45641 * sysdeps/sparc/mempcpy.S: New file.
45642
45643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45644 the IFUNC routine in the libc case.
45645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45646
45647 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45648 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45649 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45650 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45651 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45652 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45653 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45654 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45655
45656 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45657 loop to 256 bytes instead of 64 bytes and fix test signedness.
45658
45659 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45660 * sysdeps/sparc/sparc32/Makefile: rather than here...
45661 * sysdeps/sparc/sparc64/Makefile: and here.
45662
45663 2012-03-28 Ulrich Drepper <drepper@gmail.com>
45664
45665 * malloc/mallocbug.c: Avoid warnings about unused variables.
45666
45667 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45668
45669 [BZ #13760]
45670 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45671 in the right place. Discard and retry query if response is
45672 larger than input buffer size.
45673
45674 2012-03-28 Joseph Myers <joseph@codesourcery.com>
45675
45676 [BZ #369]
45677 [BZ #2678]
45678 [BZ #3866]
45679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45680 x for large integer exponent.
45681 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45682 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45683 sign of result as needed afterwards.
45684 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45685 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45686 result for underflowing pow the same as for overflow.
45687 (__kernel_standard_l): Handle powl overflow and underflow here
45688 rather than calling __kernel_standard.
45689 * math/libm-test.inc (pow_test): Add more tests.
45690
45691 [BZ #3868]
45692 [BZ #13879]
45693 [BZ #13910]
45694 [BZ #13911]
45695 [BZ #13912]
45696 [BZ #13913]
45697 [BZ #13915]
45698 [BZ #13916]
45699 [BZ #13917]
45700 [BZ #13918]
45701 [BZ #13919]
45702 [BZ #13920]
45703 [BZ #13921]
45704 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45705 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45706 (__kernel_standard_l): New function.
45707 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45708 __kernel_standard.
45709 * math/w_acosl.c (__acosl): Likewise.
45710 * math/w_asinl.c (__asinl): Likewise.
45711 * math/w_atan2l.c (__atan2l): Likewise.
45712 * math/w_atanhl.c (__atanhl): Likewise.
45713 * math/w_coshl.c (__coshl): Likewise.
45714 * math/w_exp10l.c (__exp10l): Likewise.
45715 * math/w_exp2l.c (__exp2l): Likewise.
45716 * math/w_fmodl.c (__fmodl): Likewise.
45717 * math/w_hypotl.c (__hypotl): Likewise.
45718 * math/w_j0l.c (__j0l, __y0l): Likewise.
45719 * math/w_j1l.c (__j1l, __y1l): Likewise.
45720 * math/w_jnl.c (__jnl, __ynl): Likewise.
45721 * math/w_lgammal.c (__lgammal): Likewise.
45722 * math/w_log10l.c (__log10l): Likewise.
45723 * math/w_log2l.c (__log2l): Likewise.
45724 * math/w_logl.c (__logl): Likewise.
45725 * math/w_powl.c (__powl): Likewise.
45726 * math/w_remainderl.c (__remainderl): Likewise.
45727 * math/w_scalbl.c (sysv_scalbl): Likewise.
45728 * math/w_sinhl.c (__sinhl): Likewise.
45729 * math/w_sqrtl.c (__sqrtl): Likewise.
45730 * math/w_tgammal.c (__tgammal): Likewise.
45731 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45732 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45733 * math/libm-test.inc (acos_test): Add more tests.
45734 (acosh_test): Likewise.
45735 (asin_test): Likewise.
45736 (atanh_test): Likewise.
45737 (exp_test): Likewise.
45738 (exp10_test): Likewise.
45739 (exp2_test): Likewise.
45740 (expm1_test): Likewise.
45741 (lgamma_test): Likewise.
45742 (log_test): Likewise.
45743 (log10_test): Likewise.
45744 (log1p_test): Likewise.
45745 (log2_test): Likewise.
45746 (pow_test): Do not allow some spurious overflow exceptions.
45747 (sqrt_test): Add more tests.
45748 (tgamma_test): Likewise.
45749 (y0_test): Likewise.
45750 (y1_test): Likewise.
45751 (yn_test): Likewise.
45752
45753 2012-03-27 Anton Blanchard <anton@samba.org>
45754
45755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45756 MAP_HUGETLB.
45757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45760
45761 2012-03-27 David S. Miller <davem@davemloft.net>
45762
45763 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45764
45765 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45766 have-as-vis3 check.
45767
45768 2012-03-27 Andreas Jaeger <aj@suse.de>
45769
45770 * sysdeps/x86_64/elf/configure.in: Moved to ...
45771 * sysdeps/x86_64/configure.in: ... here.
45772 * sysdeps/x86_64/elf/start.S: Moved to ...
45773 * sysdeps/x86_64/start.S: ... here.
45774 * sysdeps/x86_64/elf/configure: Delete.
45775
45776 * sysdeps/x86_64/configure.in: Merge contents from
45777 sysdeps/i386/configure.in (without i686 check).
45778
45779 * sysdeps/i386/elf/Versions: Merge into ...
45780 * sysdeps/i386/Versions: ... this.
45781 * sysdeps/i386/elf/Versions: Delete file.
45782 * sysdeps/i386/elf/start.S: Moved to ...
45783 * sysdeps/i386/start.S: ...here.
45784 * sysdeps/i386/elf/configure.in: Merge into...
45785 * sysdeps/i386/configure.in: ...here.
45786 * sysdeps/i386/elf/configure.in: Delete file.
45787 * sysdeps/i386/elf/configure: Delete file.
45788
45789 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45790 * debug/backtracesyms.c: ... here.
45791 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45792 * debug/backtracesymsfd.c: ... here.
45793 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45794 * sysdeps/generic/ifunc-sel.h: ... here.
45795
45796 * sysdeps/unix/i386/start.c: Delete file.
45797 * sysdeps/unix/sparc/start.c: Delete file.
45798 * sysdeps/unix/start.c: Delete file.
45799
45800 * sysdeps/sh/elf/configure.in: Moved to ...
45801 * sysdeps/sh/configure.in: ... here.
45802 * sysdeps/sh/elf/start.S: Moved to ...
45803 * sysdeps/sh/start.S: ... here.
45804 * sysdeps/sh/elf/configure: Delete file.
45805
45806 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45807 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45808 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45809 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45810 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45811 * sysdeps/powerpc/powerpc64/start.S: here.
45812 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45813 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45814 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45815 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45816 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45817
45818 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45819 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45820 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45821 * sysdeps/powerpc/powerpc32/start.S: ... here.
45822 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45823 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45824 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45825
45826 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45827 * sysdeps/powerpc/ifunc-sel.h: ... here.
45828 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45829 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45830
45831 * sysdeps/sparc/elf/configure.in: Moved to ...
45832 * sysdeps/sparc/configure.in: ... here.
45833 * sysdeps/sparc/elf/configure: Delete file.
45834 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45835 * sysdeps/sparc/sparc32/start.S: ... here.
45836 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45837 * sysdeps/sparc/sparc64/start.S: ... here.
45838 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45839 * sysdeps/sparc/sparc32/Makefile: ... this.
45840 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45841 * sysdeps/sparc/sparc64/Makefile: ... this.
45842
45843 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45844 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45845 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45846 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45847 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45848 * sysdeps/s390/s390-32/setjmp.S: ... here.
45849 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45850 * sysdeps/s390/s390-32/configure.in: ... here.
45851 * sysdeps/s390/s390-32/elf/configure: Delete file.
45852 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45853 * sysdeps/s390/s390-32/start.S: ... here.
45854
45855 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45856 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45857 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45858 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45859 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45860 * sysdeps/s390/s390-64/setjmp.S: ... here.
45861 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45862 * sysdeps/s390/s390-64/configure.in: ... here
45863 * sysdeps/s390/s390-64/elf/configure: Delete file.
45864 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45865 * sysdeps/s390/s390-64/start.S: ... here.
45866 * sysdeps/s390/s390-64/elf/configure: Delete.
45867
45868 * configure.in: Remove support for elf directories in sysdeps.
45869
45870 * configure: Regenerated.
45871 * sysdeps/i386/configure: Regenerated.
45872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45874 * sysdeps/s390/s390-32/configure: Regenerated.
45875 * sysdeps/s390/s390-64/configure: Regenerated.
45876 * sysdeps/sh/configure: Regenerated.
45877 * sysdeps/sparc/configure: Regenerated.
45878 * sysdeps/x86_64/configure: Regenerated.
45879
45880 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45881
45882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45883
45884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45885 denormal result into account.
45886
45887 2012-03-25 Roland McGrath <roland@hack.frob.com>
45888
45889 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45890 Reported by Allan McRae <allan@archlinux.org>.
45891
45892 2012-03-23 Jeff Law <law@redhat.com>
45893
45894 * nss/getnssent.c (__nss_getent): Fix typo.
45895
45896 2012-03-23 David S. Miller <davem@davemloft.net>
45897
45898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45899
45900 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45901
45902 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45903 to pad to uint64_t for each field.
45904 (dl_tls_index): Replace unsigned long with uint64_t.
45905
45906 2012-03-23 Daniel Jacobowitz <dmj@google.com>
45907 Paul Pluzhnikov <ppluzhnikov@google.com>
45908
45909 [BZ #6528]
45910 * grp/Makefile (otherlibs): Don't set it.
45911 * inet/Makefile (otherlibs): Likewise.
45912 * login/Makefile (otherlibs): Likewise.
45913 * nscd/Makefile (otherlibs): Likewise.
45914 * posix/Makefile (otherlibs): Likewise.
45915 * pwd/Makefile (otherlibs): Likewise.
45916 * rt/Makefile (otherlibs): Likewise.
45917 * sunrpc/Makefile (otherlibs): Likewise.
45918 * nss/Makefile (otherlibs): Likewise.
45919 Add libnss_files to routines and static-only-routines.
45920 ($(objpfx)getent): Remove rule.
45921 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45922 static-only-routines.
45923
45924 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45925
45926 [BZ #13892]
45927 * math/s_cexp.c: Include <float.h>.
45928 (__cexp): Handle exp result overflowing not necessarily
45929 overflowing both real and imaginary parts of result.
45930 * math/s_cexpf.c: Likewise.
45931 * math/s_cexpl.c: Likewise.
45932 * math/libm-test.inc (cexp_test): Add more tests.
45933 * sysdeps/i386/fpu/libm-test-ulps: Update.
45934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45935
45936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45937
45938 * include/link.h (ELFW): New macro.
45939 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45940 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45941
45942 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45943
45944 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45945 with uint64_t.
45946
45947 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45948
45949 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45950 declaration.
45951 (struct La_x32_retval): Likewise.
45952
45953 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45954
45955 * sysdeps/x86_64/preconfigure.in: New file.
45956 * sysdeps/x86_64/preconfigure: New generated file.
45957
45958 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45959
45960 [BZ #13824]
45961 * math/e_exp2l.c: Include <float.h>.
45962 (__ieee754_exp2l): Handle overflow and underflow cases
45963 separately. Only pass fractional part of argument to
45964 __ieee754_expl.
45965 * math/libm-test.inc (exp2_test): Add more tests.
45966
45967 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45968 negating x to take absolute value.
45969 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45970 Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45973 Likewise.
45974 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45975 computing low part if x was negated.
45976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45977
45978 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45979
45980 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45981 la_x32_gnu_pltexit.
45982 (pltexit): Cast int_retval to ptrdiff_t.
45983 * elf/tst-auditmod3b.c: Likewise.
45984 * elf/tst-auditmod4b.c: Likewise.
45985 * elf/tst-auditmod5b.c: Likewise.
45986 * elf/tst-auditmod6b.c: Likewise.
45987 * elf/tst-auditmod6c.c: Likewise.
45988 * elf/tst-auditmod7b.c: Likewise.
45989
45990 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45991 and x32_gnu_pltexit.
45992
45993 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45994 __ELF_NATIVE_CLASS.
45995 (La_x32_regs): New macro.
45996 (La_x32_retval): Likewise.
45997 (la_x32_gnu_pltenter): New function prototype.
45998 (la_x32_gnu_pltexit): Likewise.
45999
46000 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46001
46002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46003 exponent.
46004
46005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46006
46007 * configure.in (libc_cv_cc_nofma): Check for option to disable
46008 generation of FMA instructions.
46009 * configure: Regenerate.
46010 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46011 * sysdeps/ieee754/dbl-64/Makefile: New file.
46012 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46013 Remove brandred-fma4.
46014 (CFLAGS-brandred-fma4.c): Remove.
46015 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46017 define.
46018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46019 define.
46020
46021 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46022
46023 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46024 LLONG_MAX != LONG_MAX.
46025 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46026 (_fitoa_word): Likewise.
46027 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46028 LLONG_MAX != LONG_MAX.
46029 * stdio-common/_itowa.h: Include <_itoa.h>.
46030 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46031 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46032 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46033 only if not defined.
46034 (_ITOA_WORD_TYPE): Likewise.
46035 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46036 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46037
46038 2012-03-21 David S. Miller <davem@davemloft.net>
46039
46040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46041
46042 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46043
46044 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46045 of x86_64 when setting libc_cv_slibdir, libdir and
46046 libc_cv_localedir.
46047 * sysdeps/unix/sysv/linux/configure: Regenerated.
46048
46049 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46050
46051 * manual/lang.texi (Old Varargs): Remove section.
46052 (How Variadic): Update menu.
46053 (va_start): Do not mention varargs.h.
46054
46055 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46056 Joseph Myers <joseph@codesourcery.com>
46057
46058 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46059 link test.
46060 * configure: Regenerated.
46061
46062 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46063
46064 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46065 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46066 conformtest.pl
46067
46068 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46069
46070 * NOTES: Remove.
46071 * Makefile (files-for-dist): Remove NOTES.
46072 (NOTES): Remove rule.
46073 * README: Don't refer to NOTES.
46074 * manual/creature.texi: Don't include macros.texi.
46075 * manual/intro.texi (creature.texi): Remove comment referring to
46076 NOTES.
46077
46078 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46079 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46080 * configure: Regenerated.
46081 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46082 LIBC_TRY_CC_OPTION.
46083 (libc_cv_as_i686): Likewise.
46084 (libc_cv_cc_avx): Likewise.
46085 (libc_cv_cc_sse2avx): Likewise.
46086 (libc_cv_cc_fma4): Likewise.
46087 (libc_cv_cc_novzeroupper): Likewise.
46088 * sysdeps/i386/configure: Regenerated.
46089
46090 [BZ #13883]
46091 * sysdeps/i386/fpu/s_cexp.S: Remove.
46092 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46093 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46094 * math/libm-test.inc (cexp_test): Add more tests.
46095 * sysdeps/i386/fpu/libm-test-ulps: Update.
46096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46097
46098 2012-03-21 Allan McRae <allan@archlinux.org>
46099
46100 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46101
46102 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46103
46104 [BZ #13871]
46105 * math/w_exp2.c: Do not include <float.h>.
46106 (o_threshold, u_threshold): Remove.
46107 (__exp2): Calculate result before checking finiteness and calling
46108 __kernel_standard.
46109 * math/w_exp2f.c: Likewise.
46110 * math/w_exp2l.c: Likewise.
46111 * math/libm-test.inc (exp2_test): Require overflow exception for
46112 1e6 input.
46113
46114 [BZ #3866]
46115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46116 range of signed 64-bit integers before using fistpll. Remove
46117 checks for whether integers fit in mantissa bits.
46118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46119 the range of signed 32-bit integers before using fistpl. Remove
46120 checks for whether integers fit in mantissa bits.
46121 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46122 (__ieee754_powl): Test for y outside the range of signed 64-bit
46123 integers before using fistpll. Reduce 64-bit values to 63-bit
46124 ones as needed.
46125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46126 divide-by-zero is raised for zero to large negative powers.
46127 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46128 (__ieee754_powl): Test for y outside the range of signed 64-bit
46129 integers before using fistpll. Reduce 64-bit values to 63-bit
46130 ones as needed.
46131 * math/libm-test.inc (pow_test): Add more tests.
46132
46133 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46134
46135 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46136 <stdio-common/_itoa.h>.
46137 * debug/segfault.c: Likewise.
46138 * elf/dl-cache.c: Likewise.
46139 * elf/dl-minimal.c: Likewise.
46140 * elf/dl-misc.c: Likewise.
46141 * elf/dl-sysdep.c: Likewise.
46142 * elf/dl-version.c: Likewise.
46143 * elf/rtld.c: Likewise.
46144 * hurd/hurdsock.c: Likewise.
46145 * hurd/lookup-retry.c: Likewise.
46146 * malloc/malloc.c: Likewise.
46147 * malloc/mtrace.c: Likewise.
46148 * nscd/nscd_getgr_r.c: Likewise.
46149 * nscd/nscd_getpw_r.c: Likewise.
46150 * nscd/nscd_getserv_r.c: Likewise.
46151 * posix/getopt_init.c: Likewise.
46152 * posix/wordexp.c: Likewise.
46153 * stdio-common/_itoa.c: Likewise.
46154 * stdio-common/printf_fphex.c: Likewise.
46155 * stdio-common/vfprintf.c: Likewise.
46156 * string/_strerror.c: Likewise.
46157 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46158 * sysdeps/i386/i686/hp-timing.h: Likewise.
46159 * sysdeps/mach/_strerror.c: Likewise.
46160 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46161 * sysdeps/mach/hurd/sethostid.c: Likewise.
46162 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46163 * sysdeps/mach/xpg-strerror.c: Likewise.
46164 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46166 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46167 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46168 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46169 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46170 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46171 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46172 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46173 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46174 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46175 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46176 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46177 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46178 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46179 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46180 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46181 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46182 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46183 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46184 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46185
46186 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46187
46188 * stdio-common/_itoa.h: Moved to ...
46189 * sysdeps/generic/_itoa.h: Here.
46190
46191 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46192
46193 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46194 instead of "_itoa.h" and "_itowa.h".
46195 * stdio-common/vfprintf.: Likewise.
46196
46197 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46198
46199 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46200 <bits/wordsize.h>.
46201 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46202 (__signbit): Likwise.
46203 (llrintf): Likwise.
46204 (llrint): Likwise.
46205
46206 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46207
46208 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46209 __WORDSIZE != 64.
46210
46211 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46212
46213 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46214 OVERFLOW_EXCEPTION_OK.
46215 * math/libm-test.inc ("Philosophy"): Update comment about
46216 exception testing.
46217 (OVERFLOW_EXCEPTION): Define.
46218 (OVERFLOW_EXCEPTION_OK): Likewise.
46219 (INVALID_EXCEPTION_OK): Renumber.
46220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46221 (IGNORE_ZERO_INF_SIGN): Likewise.
46222 (test_exceptions): Handle FE_OVERFLOW.
46223 (exp10_test): Expect overflow exceptions.
46224 (exp2_test): Likewise.
46225 (expm1_test): Likewise.
46226 (nextafter_test): Likewise.
46227 (pow_test): Likewise.
46228 (scalbn_test): Likewise.
46229 (scalbln_test): Likewise.
46230
46231 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46232
46233 * sysdeps/x86_64/bits/atomic.h
46234 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46235 64bit integer.
46236 (atomic_exchange_acq): Likewise.
46237 (__arch_exchange_and_add_body): Likewise.
46238 (__arch_add_body): Likewise.
46239 (atomic_add_negative): Likewise.
46240 (atomic_add_zero): Likewise.
46241
46242 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46243
46244 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46245 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46246
46247 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46248
46249 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46250 Check __x86_64__ instead of __WORDSIZE.
46251
46252 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46253
46254 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46255
46256 2012-03-19 David S. Miller <davem@davemloft.net>
46257
46258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46259
46260 * sysdeps/sparc/fpu/fenv_private.h: New file.
46261 * sysdeps/sparc/fpu/math_private.h: Use it.
46262 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46263 Remove.
46264 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46265 (libc_feholdexcept_setroundl): Remove.
46266 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46267 Remove.
46268 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46269 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46270
46271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46272
46273 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46274 int64_t instead of long int.
46275 (INSERT_WORDS64): Likwise.
46276
46277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46278
46279 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46280 _Unwind_GetCFA return to _Unwind_Ptr first.
46281
46282 2012-03-19 Joseph Myers <joseph@codesourcery.com>
46283
46284 [BZ #13629]
46285 * math/s_clog.c: Include <float.h>.
46286 (__clog): Scale large or subnormal inputs.
46287 * math/s_clogf.c: Likewise.
46288 * math/s_clogl.c: Likewise.
46289 * math/s_clog10.c: Include <float.h>.
46290 (M_LOG10_2): Define.
46291 (__clog10): Scale large or subnormal inputs.
46292 * math/s_clog10f.c: Likewise.
46293 * math/s_clog10l.c: Likewise.
46294 * math/libm-test.inc (clog_test): Add more tests.
46295 (clog10_test): Likewise.
46296 * sysdeps/i386/fpu/libm-test-ulps: Update.
46297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46298
46299 [BZ #11451]
46300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46301 x and y.
46302 * math/libm-test.inc (atan2_test): Add another test.
46303
46304 * Makerules (common-objdir-compile): Remove.
46305 * sysdeps/unix/Makefile (config-generated): Do not add
46306 $(unix-generated) to variable.
46307 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46308 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46309 Remove rule.
46310 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46311 Likewise.
46312 [generic bits/local_lim.h] (before-compile): Do not append to
46313 variable.
46314 [generic bits/local_lim.h] (common-generated): Likewise.
46315 [generic sys/param.h] (before-compile): Do not append to variable.
46316 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46317 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46318 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46319 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46320 include.
46321 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46322 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46323 [generic sys/param.h] ($(addprefix
46324 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46325 [generic sys/param.h] (common-generated): Do not append to
46326 variable.
46327 [generic sys/param.h] (sysdep_headers): Likewise.
46328 [generic bits/errno.h] (before-compile): Do not append to
46329 variable.
46330 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46331 rule.
46332 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46333 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46334 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46335 [generic bits/errno.h] (common-generated): Do not append to
46336 variable.
46337 [generic bits/ioctls.h] (before-compile): Do not append to
46338 variable.
46339 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46340 rule.
46341 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46342 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46343 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46344 rule.
46345 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46346 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46347 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46348 [generic bits/ioctls.h] (common-generated): Do not append to
46349 variable.
46350 [generic sys/syscall.h] (syscall.h): Remove variable.
46351 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46352 rule.
46353 [generic sys/syscall.h] (before-compile): Do not append to
46354 variable.
46355 [generic sys/syscall.h] (common-generated): Likewise.
46356 * sysdeps/unix/errnos-tmpl.c: Remove file.
46357 * sysdeps/unix/errnos.awk: Likewise.
46358 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46359 * sysdeps/unix/ioctls.awk: Likewise.
46360 * sysdeps/unix/mk-local_lim.c: Likewise.
46361 * sysdeps/unix/snarf-ioctls: Likewise.
46362
46363 2012-03-19 Richard Henderson <rth@twiddle.net>
46364
46365 * sysdeps/i386/fpu/fenv_private.h: New file.
46366 * sysdeps/i386/fpu/math_private.h: Use it.
46367 (math_opt_barrier, math_force_eval): Remove.
46368 (libc_feholdexcept_setround_53bit): Remove.
46369 (libc_feupdateenv_53bit): Remove.
46370 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46371 (math_opt_barrier, math_force_eval): Remove.
46372 (libc_feholdexcept): Remove.
46373 (libc_feholdexcept_setround): Remove.
46374 (libc_fetestexcept, libc_fesetenv): Remove.
46375 (libc_feupdateenv_test): Remove.
46376 (libc_feupdateenv, libc_feholdsetround): Remove.
46377 (libc_feresetround): Remove.
46378
46379 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46380 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46381
46382 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46383 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46384 (libc_feupdateenv_testl): New.
46385 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46386 (libc_feupdateenv_testf): New.
46387 (libc_feupdateenv): Use libc_feupdateenv_test.
46388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46389 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46390
46391 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46392 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46393 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46394 (libc_feresetround_noex): New.
46395 (libc_feresetround_noexf): New.
46396 (libc_feresetround_noexl): New.
46397 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46398 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46399 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46400 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46401 SET_RESTORE_ROUND.
46402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46403 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46404 (__cos): Likewise.
46405 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46406 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46407 SET_RESTORE_ROUND_NOEX.
46408 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46409 SET_RESTORE_ROUND_NOEXF.
46410 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46411 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46412 (libc_feholdsetroundf): New.
46413 (libc_feresetround, libc_feresetroundf): New.
46414
46415 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46416 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46417 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46418
46419 * sysdeps/generic/math_private.h: Include <fenv.h>.
46420 (default_libc_feholdexcept): New.
46421 (default_libc_feholdexcept_setround): New.
46422 (default_libc_fesetenv, default_libc_feupdateenv): New.
46423 (libc_feholdexcept): Only define if undefined.
46424 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46425 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46426 (libc_feholdexcept_setroundl): Likewise.
46427 (libc_feholdexcept_setround_53bit): Likewise.
46428 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46429 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46430 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46431 (libc_feupdateenv_53bit): Likewise.
46432 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46433 (libc_feholdexcept): Convert from macro to inline function.
46434 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46435 (libc_fesetenv, libc_feupdateenv): Likewise.
46436
46437 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46438 not previously defined.
46439 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46440 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46441 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46442 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46443 * sysdeps/ieee754/flt-32/math_private.h: New file.
46444 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46445 math_private.h below SET_FLOAT_WORD.
46446 (__isnan, __isinf_ns, __finite): Remove.
46447 (__isnanf, __isinf_nsf, __finitef): Remove.
46448
46449 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46450
46451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46452
46453 2012-03-17 David S. Miller <davem@davemloft.net>
46454
46455 [BZ #6471]
46456 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46457 for 2.16.
46458
46459 2012-03-16 David S. Miller <davem@davemloft.net>
46460
46461 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46462 warnings.
46463
46464 [BZ #6471]
46465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46466 properly.
46467 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46468 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46469 sysdep_routines when subdir is sysvipc.
46470 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46471 __getshmlba helper.
46472
46473 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46474
46475 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46476
46477 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46478 [__LP64__].
46479
46480 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46481
46482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46483 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46484 (__lround): Renamed to ...
46485 (__llround): This. Replace long int with long long int.
46486 Define lround functions as aliases of llround functions.
46487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46488
46489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46490
46491 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46492 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46493 adresses to uintptr_t. Replace "long int" and "unsigned long
46494 int" with "greg_t" on va_arg.
46495
46496 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46497
46498 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46499 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46500
46501 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46502 Move e_machine check before EI_CLASS check. Handle x32
46503 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46504 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46505 SKIP_EM_IA_64 and include
46506 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46507
46508 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46509 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46510 (add_system_dir): New macro.
46511
46512 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46513 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46514
46515 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46516
46517 [BZ #2551]
46518 [BZ #2552]
46519 [BZ #2553]
46520 [BZ #2554]
46521 [BZ #2562]
46522 [BZ #2563]
46523 [BZ #2565]
46524 [BZ #2566]
46525 [BZ #2576]
46526 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46527 (y0): Likewise.
46528 * math/w_j0f.c (j0f): Likewise.
46529 (y0f): Likewise.
46530 * math/w_j0l.c (__j0l): Likewise.
46531 (__y0l): Likewise.
46532 * math/w_j1.c (j1): Likewise.
46533 (y1): Likewise.
46534 * math/w_j1f.c (j1f): Likewise.
46535 (y1f): Likewise.
46536 * math/w_j1l.c (__j1l): Likewise.
46537 (__y1l): Likewise.
46538 * math/w_jn.c (jn): Likewise.
46539 (yn): Likewise.
46540 * math/w_jnf.c (jnf): Likewise.
46541 (ynf): Likewise.
46542 * math/w_jnl.c (__jnl): Likewise.
46543 (__ynl): Likewise.
46544 * math/libm-test.inc (j0_test): Add more tests.
46545 (j1_test): Likewise.
46546 (jn_test): Likewise. Add trailing semicolon to existing test.
46547 (y0_test): Likewise.
46548 (y1_test): Likewise.
46549 * sysdeps/i386/fpu/libm-test-ulps: Update.
46550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46551
46552 [BZ #13851]
46553 [BZ #13854]
46554 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46555 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46556 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46558 (__tanl): Set errno for infinite argument.
46559 * sysdeps/i386/fpu/mptan.c: Remove.
46560 * sysdeps/i386/fpu/s_tan.S: Likewise.
46561 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46562 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46563 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46564 * math/libm-test.inc (tan_test): Add more tests and enable more
46565 tests for double and long double.
46566 * sysdeps/i386/fpu/libm-test-ulps: Update.
46567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46568
46569 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46570
46571 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46572 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46573
46574 2012-03-16 Roland McGrath <roland@hack.frob.com>
46575
46576 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46577 * configure.in: Use it for both main tree and add-ons.
46578 * configure: Regenerated.
46579
46580 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46581
46582 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46583
46584 2012-03-16 Joseph Myers <joseph@codesourcery.com>
46585
46586 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46587 in comment.
46588
46589 [BZ #13851]
46590 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46591 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46595 infinite argument.
46596 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46598 != 0 for prec == 2.
46599 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46600 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46601 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46602 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46603 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46604 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46605 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46606 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46607 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46608 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46609 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46610 * math/libm-test.inc (cos_test): Add more tests and enable more
46611 tests for long double.
46612 (sin_test): Likewise.
46613 (sincos_test): Likewise.
46614 * sysdeps/i386/fpu/libm-test-ulps: Update.
46615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46616
46617 2012-03-16 David S. Miller <davem@davemloft.net>
46618
46619 * sysdeps/sparc/fpu/math_private.h: New file.
46620
46621 2012-03-15 David S. Miller <davem@davemloft.net>
46622
46623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46624 file.
46625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46627 file.
46628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46634 sysdep routines.
46635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46636
46637 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46638 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46639
46640 * sysdeps/sparc/sparc-ifunc.h: New file.
46641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46642 sparc-ifunc.h
46643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46645 Likewise.
46646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46647 Likewise.
46648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46652 Likewise.
46653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46658 Likewise.
46659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46660 Likewise.
46661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46685
46686 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46687
46688 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46689 scaling.
46690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46691
46692 2012-03-15 Andreas Jaeger <aj@suse.de>
46693
46694 [BZ #13852]
46695 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46696 ieee754/flt-32 implementation for sin, cos and sincos.
46697 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46698 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46699 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46700 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46701 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46702 ieee754/flt-32 implementation for tan.
46703
46704 * math/libm-test.inc (cos_test): Enable some large input tests for
46705 float as well
46706 (sin_test): Likewise.
46707 (sincos_test): Likewise.
46708 (tan_test): Add tests for large input.
46709
46710 * sysdeps/i386/fpu/libm-test-ulps: Update.
46711
46712 2012-03-15 Andreas Jaeger <aj@suse.de>
46713
46714 [BZ #13658]
46715 * math/libm-test.inc (cos_test): Add more test cases.
46716 (sin_test): Likewise.
46717 (sincos_test): Likewise.
46718
46719 2012-03-15 Andreas Jaeger <aj@suse.de>
46720
46721 [BZ #13837]
46722 * math/libm-test.inc (cos_test): Add a test case for large input
46723 value.
46724 (sin_test): Likewise.
46725 (sincos_test): Likewise.
46726
46727 2012-03-15 Andreas Jaeger <aj@suse.de>
46728 Joseph Myers <joseph@codesourcery.com>
46729
46730 [BZ #13658]
46731 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46732 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46733 * sysdeps/i386/fpu/branred.c: Likewise.
46734 * sysdeps/i386/fpu/dosincos.c: Likewise.
46735 * sysdeps/i386/fpu/mpa.c: Likewise.
46736 * sysdeps/i386/fpu/s_cos.S: Likewise.
46737 * sysdeps/i386/fpu/s_sin.S: Likewise.
46738 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46739 * sysdeps/i386/fpu/sincos32.c: Likewise.
46740
46741 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46742 Define.
46743 (libc_feupdateenv_53bit): Define.
46744 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46745 Define.
46746 (libc_feupdateenv_53bit): Define.
46747
46748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46749 53 bit (without extend i386 double precision).
46750
46751 * math/libm-test.inc (sincos_test): Add tests for large input.
46752 (sin): Likewise.
46753 (cos): Likewise.
46754
46755 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46756
46757 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46758
46759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46760
46761 2012-03-15 David S. Miller <davem@davemloft.net>
46762
46763 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46765 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46766 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46779 file.
46780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46782 file.
46783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46785 file.
46786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46788 file.
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46791 fmin/fmax sysdep routines.
46792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46793
46794 2012-03-14 David S. Miller <davem@davemloft.net>
46795
46796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46825 routines.
46826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46827 file.
46828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46830 file.
46831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46833 file.
46834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46836 file.
46837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46839 file.
46840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46842 file.
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46844 file.
46845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46846 file.
46847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46848 file.
46849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46850 New file.
46851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46852 file.
46853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46854 file.
46855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46857 file.
46858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46860 file.
46861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46863 file.
46864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46866 VIS3 routines.
46867
46868 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46869 New file.
46870
46871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46872
46873 * sysdeps/sparc/configure.in: New file.
46874 * sysdeps/sparc/configure: Generate.
46875 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46876 * configure: Regenerate.
46877 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46878 * config.make.in (have-as-vis3): New.
46879 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46880 available use -Av9d instead of -Av9a.
46881 * sysdeps/sparc/sparc64/Makefile: Likewise.
46882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46884 New file.
46885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46886 file.
46887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46888 New file.
46889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46890 file.
46891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46893 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46894 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46896
46897 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46898 fzeros/fnegs to load 0x80000000 into a float register instead of
46899 using the stack.
46900 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46901
46902 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46903
46904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46905 bits/syscall.h.
46906 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46907 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46908 ($(inst_includedir)/bits/syscall.h): Remove rule.
46909 ($(objpfx)bits/syscall.d): Include instead of
46910 $(objpfx)syscall-list.d.
46911 (generated): Change syscall-list.h and syscall-list.d to
46912 bits/syscall.h and bits/syscall.d.
46913
46914 2012-03-14 Roland McGrath <roland@hack.frob.com>
46915
46916 [BZ #13846]
46917 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46918
46919 2012-03-14 Joseph Myers <joseph@codesourcery.com>
46920
46921 [BZ #13841]
46922 * math/s_csqrt.c: Include <float.h>.
46923 (__csqrt): Scale large or subnormal inputs.
46924 * math/s_csqrtf.c: Likewise.
46925 * math/s_csqrtl.c: Likewise.
46926 * math/libm-test.inc (csqrt_test): Add more tests.
46927 * sysdeps/i386/fpu/libm-test-ulps: Update.
46928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46929
46930 [BZ #13840]
46931 * math/libm-test.inc (hypot_test): Add more tests.
46932
46933 2012-03-13 David S. Miller <davem@davemloft.net>
46934
46935 [BZ #13840]
46936 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46937 double-precision for the calculation instead of scaling.
46938
46939 2012-03-13 Joseph Myers <joseph@codesourcery.com>
46940
46941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46942 manipulate bits before adding and subtracting TWO52[sx].
46943 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46944 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46945 Likewise.
46946 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46947
46948 2012-03-13 David S. Miller <davem@davemloft.net>
46949
46950 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46951 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46953 rtld-global-offsets.h
46954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46955
46956 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46957 large parameters.
46958
46959 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46960
46961 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46962 'err' in the ifdef scope in which it is actually used.
46963
46964 * nss/nss_db/db-init.c: Include string.h
46965
46966 2012-03-12 David S. Miller <davem@davemloft.net>
46967
46968 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46969 masking out of the most significant byte of random value used.
46970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46971 Fix coding style in previous change.
46972
46973 * sysdeps/unix/sysv/linux/kernel-features.h
46974 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46975 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46976 expression.
46977 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46978 later.
46979
46980 2012-03-11 David S. Miller <davem@davemloft.net>
46981
46982 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46983 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46985 for 'resultvar' otherwise things get truncated on 64-bit.
46986
46987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46988 Fix masking out of the most significant byte of random value used.
46989
46990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46991
46992 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46993
46994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46995
46996 2012-03-09 David S. Miller <davem@davemloft.net>
46997
46998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46999 variables with appropriate CPP guards.
47000 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47001 from the frame pointer, not the stack pointer. Correct layout
47002 comments. Fix test on resulting framesize and the management of
47003 the outregs buffer for pltexit. Preserve floating point return
47004 values across _dl_call_pltexit call.
47005 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47006 framesize and the management of the outregs buffer for pltexit.
47007 Preserve floating point return values across _dl_call_pltexit
47008 call.
47009 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47010 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47011 (la_sparc64_gnu_pltexit): New functions.
47012 (print_exit): Fix format string for return register value.
47013
47014 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47015
47016 * sunrpc/Makefile (others): Add rpcgen.
47017 ($(objpfx)rpcgen): Remove special build rule and dependency on
47018 libc.
47019 * sunrpc/rpcgen.c: New file.
47020
47021 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47022
47023 [BZ #13673]
47024 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47025 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47026 * sysdeps/i386/crti.S: Likewise.
47027 * sysdeps/i386/crtn.S: Likewise.
47028 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47029 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47030 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47031 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47032 * sysdeps/sh/crti.S: Likewise.
47033 * sysdeps/sh/crtn.S: Likewise.
47034 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47035
47036 [BZ #13673]
47037 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47038 with URL.
47039 * locale/programs/locfile-kw.gperf: Likewise.
47040 * locale/programs/charmap-kw.h: Regenerated.
47041 * locale/programs/locfile-kw.h: Likewise.
47042
47043 [BZ #13673]
47044 * intl/plural.y: Replace FSF snail mail address with URL.
47045 * intl/plural.c: Regenerated.
47046
47047 2012-03-09 Richard Henderson <rth@twiddle.net>
47048
47049 * include/math_private.h: Remove file.
47050 * math/math_private.h: Move file ...
47051 * sysdeps/generic/math_private.h: ... here.
47052
47053 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47054 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47055 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47056
47057 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47058 and <math_private.h>.
47059 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47060 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47061 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47062 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47063 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47107 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47108 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47109 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47110 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47111 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47112 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47113 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47114 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47117 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47118 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47119 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47120 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47122 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47127 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47139 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47141 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47142 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47144 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47146 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47147 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47148 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47149 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47150 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47151 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47152 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47153 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47154 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47156 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47159 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47160 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47161 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47162 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47164 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47165 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47166 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47167 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47169 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47170 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47171 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47172 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47173 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47174 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47175 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47176 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47177 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47178 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47180 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47182 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47183 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47184 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47186 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47187 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47188 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47189 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47190 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47192 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47193 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47194 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47196 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47197 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47198 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47200 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47201 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47202 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47203 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47204 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47205 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47206 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47207 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47208 * sysdeps/ieee754/k_standard.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47336 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47341 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47357 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47358 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47359 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47369 * sysdeps/ieee754/s_lib_version.c: Likewise.
47370 * sysdeps/ieee754/s_matherr.c: Likewise.
47371 * sysdeps/ieee754/s_signgam.c: Likewise.
47372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47374 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47375 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47376 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47377 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47378 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47379 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47380 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47381 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47382 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47383 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47384 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47385 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47387 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47388 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47389 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47390 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47393
47394 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47395
47396 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47397 * sunrpc/rpc_main.c: Likewise.
47398 * sunrpc/rpc_svcout.c: Likewise.
47399
47400 2012-03-09 David S. Miller <davem@davemloft.net>
47401
47402 * include/math_private.h: New file.
47403
47404 2012-03-09 Joseph Myers <joseph@codesourcery.com>
47405
47406 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47407 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47408 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47409 from <bits/socket_type.h>.
47410 (enum __socket_type): Don't define here.
47411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47413 bits/socket_type.h.
47414
47415 [BZ #13566]
47416 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47417 checking __USE_GNU.
47418
47419 * Makerules ($(inst_includedir)/%.h): New rule.
47420 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47421 (install-others): Remove variable setting.
47422 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47423
47424 2012-03-08 Richard Henderson <rth@twiddle.net>
47425
47426 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47427 from macro to inline function; merge with the
47428 !__LIBC_INTERNAL_MATH_INLINES version.
47429 (__ieee754_sqrtf): Likewise.
47430
47431 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47432 to inline function.
47433 (__rintf, __floor, __floorf): Likewise.
47434
47435 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47436 macro to inline function.
47437 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47438
47439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47440 not <math/math_private.h>.
47441
47442 2012-03-08 David S. Miller <davem@davemloft.net>
47443
47444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47445 copyright year.
47446 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47447
47448 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47449
47450 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47451 normalization.
47452 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47453 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47454
47455 2012-03-08 Ulrich Drepper <drepper@gmail.com>
47456
47457 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47458 be defined individually, they must be defined as a block. Define
47459 S for printing a string instead of hidint the different by using a
47460 macro for adding the 'l'.
47461 * stdio-common/tst-fphex-wide.c: Adjust.
47462
47463 2012-03-07 Marek Polacek <polacek@redhat.com>
47464
47465 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47466
47467 2012-03-08 Marek Polacek <polacek@redhat.com>
47468
47469 [BZ #13806]
47470 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47471 * stdio-common/tst-fphex.c: Define a few macros to make the
47472 test reusable. Use them.
47473 * stdio-common/tst-fphex-wide.c: New file.
47474
47475 2012-03-08 Joseph Myers <joseph@codesourcery.com>
47476
47477 [BZ #6911]
47478 * manual/macros.texi (gnusystems): New macro.
47479 (nongnusystems): Likewise.
47480 (gnulinuxhurdsystems): Likewise.
47481 (gnuhurdsystems): Likewise..
47482 (gnulinuxsystems): Likewise.
47483 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47484 variants of the GNU system, not "GNU system".
47485 * manual/conf.texi: Likewise.
47486 * manual/errno.texi: Likewise. Update example of errno macro
47487 expansion.
47488 * manual/filesys.texi: Likewise.
47489 (getumask): Document as specific to GNU/Hurd.
47490 * manual/install.texi: Likewise. Reword some references to
47491 GNU/Linux.
47492 * manual/intro.texi: Likewise.
47493 * manual/io.texi: Likewise.
47494 (File Name Portability): Detail which constraints are inapplicable
47495 to all GNU systems and which are only inapplicable to GNU/Hurd.
47496 * manual/job.texi: Likewise.
47497 * manual/llio.texi: Likewise.
47498 (O_NOCTTY): Document as present on GNU/Linux.
47499 * manual/maint.texi: Likewise.
47500 * manual/memory.texi: Likewise.
47501 * manual/pattern.texi: Likewise.
47502 * manual/pipe.texi: Likewise.
47503 * manual/process.texi: Likewise.
47504 * manual/resource.texi: Likewise.
47505 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47506 child on GNU/Hurd.
47507 * manual/setjmp.texi: Likewise.
47508 * manual/signal.texi: Likewise.
47509 * manual/startup.texi: Likewise.
47510 * manual/stdio.texi: Likewise.
47511 * manual/terminal.texi: Likewise.
47512 (ONLCR): Document as POSIX.
47513 (OXTABS): Document availability on GNU/Linux as XTABS.
47514 (ONOEOT): Document availability separately from other bits.
47515 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47516 * manual/time.texi: Likewise.
47517 * manual/users.texi: Likewise.
47518 * INSTALL: Regenerated.
47519 * sysdeps/gnu/errlist.c: Regenerated.
47520
47521 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47522 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47523 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47524 puts.
47525 * configure: Regenerated.
47526
47527 2012-03-07 Joseph Myers <joseph@codesourcery.com>
47528
47529 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47530 default includes instead of AC_HEADER_CHECK.
47531 * sysdeps/i386/configure: Regenerated.
47532
47533 [BZ #10716]
47534 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47535 * math/s_cacoshf.c (__cacoshf): Likewise.
47536 * math/s_cacoshl.c (__cacoshl): Likewise.
47537 * math/s_casinh.c (__casinh): Set signs of result from argument.
47538 * math/s_casinhf.c (__casinhf): Likewise.
47539 * math/s_casinhl.c (__casinhl): Likewise.
47540 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47541 (casinh_test): Add more tests.
47542 * sysdeps/i386/fpu/libm-test-ulps: Update.
47543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47544
47545 2012-03-07 Ulrich Drepper <drepper@gmail.com>
47546
47547 * po/zh_TW.po: Update from translation team.
47548
47549 * login/Makefile (distribute): Remove variable.
47550 * catgets/Makefile: Likewise.
47551 * mach/Makefile: Likewise.
47552 * malloc/Makefile: Likewise.
47553 * misc/Makefile: Likewise.
47554 * iconv/Makefile: Likewise.
47555 * nscd/Makefile: Likewise.
47556 * hurd/Makefile: Likewise.
47557 * manual/Makefile: Likewise.
47558 * locale/Makefile: Likewise.
47559 * intl/Makefile: Likewise.
47560 * conform/Makefile: Likewise.
47561 * nss/Makefile: Likewise.
47562 * time/Makefile: Likewise.
47563 * soft-fp/Makefile: Likewise.
47564 * dirent/Makefile: Likewise.
47565 * gmon/Makefile: Likewise.
47566 * po/Makefile: Likewise.
47567 * rt/Makefile: Likewise.
47568 * socket/Makefile: Likewise.
47569 * math/Makefile: Likewise.
47570 * signal/Makefile: Likewise.
47571 * debug/Makefile: Likewise.
47572 * elf/Makefile: Likewise.
47573 * timezone/Makefile: Likewise.
47574 * stdlib/Makefile: Likewise.
47575 * iconvdata/Makefile: Likewise.
47576 * sunrpc/Makefile: Likewise.
47577 * io/Makefile: Likewise.
47578 * argp/Makefile: Likewise.
47579 * inet/Makefile: Likewise.
47580 * hesiod/Makefile: Likewise.
47581 * grp/Makefile: Likewise.
47582 * csu/Makefile: Likewise.
47583 * wctype/Makefile: Likewise.
47584 * crypt/Makefile: Likewise.
47585 * libio/Makefile: Likewise.
47586 * string/Makefile: Likewise.
47587 * nis/Makefile: Likewise.
47588 * resolv/Makefile: Likewise.
47589 * stdio-common/Makefile: Likewise.
47590 * wcsmbs/Makefile: Likewise.
47591 * dlfcn/Makefile: Likewise.
47592 * posix/Makefile: Likewise.
47593
47594 [BZ #6959]
47595 * timezone/Makefile: Don't install timezone files, just the programs
47596 and scripts.
47597
47598 2012-03-06 Ulrich Drepper <drepper@gmail.com>
47599
47600 * nss/databases.def: Add missing gshadow entry.
47601
47602 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47603
47604 2012-03-06 Marek Polacek <polacek@redhat.com>
47605
47606 [BZ #13726]
47607 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47608 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47609 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47610 * stdio-common/tst-long-dbl-fphex.c: New file.
47611
47612 2012-03-06 David S. Miller <davem@davemloft.net>
47613
47614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47615 (set_obp_int): New function.
47616 (get_obp_int): New function.
47617 (__get_clockfreq_via_dev_openprom): Likewise.
47618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47619 Avoid unused variable warnings on 'val' and use builtin_expect.
47620 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47621 __builtin_expect.
47622 (INLINE_CLONE_SYSCALL): Likewise.
47623
47624 2012-03-05 David S. Miller <davem@davemloft.net>
47625
47626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47627
47628 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47629
47630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47631
47632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47633 only for |x| >= 40.
47634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47635
47636 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47637
47638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47639 Replace gettimeofday with __vdso_gettimeofday.
47640
47641 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47642 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47643 __vdso_clock_gettime and __vdso_getcpu.
47644
47645 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47646 time with __vdso_time.
47647
47648 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47649
47650 * manual/lang.texi (size_t): Note types to which size_t may be
47651 equivalent with the GNU C Library, but do not describe when
47652 differences between them are significant.
47653
47654 2012-03-05 Andreas Jaeger <aj@suse.de>
47655
47656 * sysdeps/i386/fpu/libm-test-ulps: Update.
47657
47658 2012-03-05 Joseph Myers <joseph@codesourcery.com>
47659
47660 [BZ #3976]
47661 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47662 (__ieee754_pow): Save and restore rounding mode and use
47663 round-to-nearest for main computations.
47664 * math/libm-test.inc (pow_test_tonearest): New function.
47665 (pow_test_towardzero): Likewise.
47666 (pow_test_downward): Likewise.
47667 (pow_test_upward): Likewise.
47668 (main): Call the new functions.
47669 * sysdeps/i386/fpu/libm-test-ulps: Update.
47670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47671
47672 [BZ #3976]
47673 * math/libm-test.inc (cosh_test_tonearest): New function.
47674 (cosh_test_towardzero): Likewise.
47675 (cosh_test_downward): Likewise.
47676 (cosh_test_upward): Likewise.
47677 (sinh_test_tonearest): Likewise.
47678 (sinh_test_towardzero): Likewise.
47679 (sinh_test_downward): Likewise.
47680 (sinh_test_upward): Likewise.
47681 (main): Call the new functions.
47682 * sysdeps/i386/fpu/libm-test-ulps: Update.
47683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47684
47685 2012-03-05 Tom de Vries <tom@codesourcery.com>
47686
47687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47688 default stack guard is set in last bytes.
47689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47690
47691 2012-03-05 Kees Cook <keescook@chromium.org>
47692
47693 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47694
47695 [BZ #13656]
47696 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47697 possibly allocate from heap instead of stack.
47698 * stdio-common/bug-vfprintf-nargs.c: New file.
47699 * stdio-common/Makefile (tests): Add nargs overflow test.
47700
47701 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47702
47703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47704
47705 2012-03-03 Marek Polacek <polacek@redhat.com>
47706
47707 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47708 * math/math_private.h: Likewise.
47709 * stdlib/tst-strtod.c: Likewise.
47710 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47711 * sysdeps/x86_64/bits/atomic.h: Likewise.
47712
47713 2012-03-02 David S. Miller <davem@davemloft.net>
47714
47715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47719 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47720 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47721 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47722 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47723
47724 2012-03-02 Roland McGrath <roland@hack.frob.com>
47725
47726 [BZ #13792]
47727 * manual/examples/README: New file, says the example source files
47728 can be used under GPL>=2.
47729 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47730 line containing just "*/".
47731 * manual/examples/add.c: Add copyright header (GPL>=2).
47732 * manual/examples/argp-ex1.c: Likewise.
47733 * manual/examples/argp-ex2.c: Likewise.
47734 * manual/examples/argp-ex3.c: Likewise.
47735 * manual/examples/argp-ex4.c: Likewise.
47736 * manual/examples/atexit.c: Likewise.
47737 * manual/examples/db.c: Likewise.
47738 * manual/examples/dir.c: Likewise.
47739 * manual/examples/dir2.c: Likewise.
47740 * manual/examples/execinfo.c: Likewise.
47741 * manual/examples/filecli.c: Likewise.
47742 * manual/examples/filesrv.c: Likewise.
47743 * manual/examples/fmtmsgexpl.c: Likewise.
47744 * manual/examples/genpass.c: Likewise.
47745 * manual/examples/inetcli.c: Likewise.
47746 * manual/examples/inetsrv.c: Likewise.
47747 * manual/examples/isockad.c: Likewise.
47748 * manual/examples/longopt.c: Likewise.
47749 * manual/examples/memopen.c: Likewise.
47750 * manual/examples/memstrm.c: Likewise.
47751 * manual/examples/mkfsock.c: Likewise.
47752 * manual/examples/mkisock.c: Likewise.
47753 * manual/examples/mygetpass.c: Likewise.
47754 * manual/examples/pipe.c: Likewise.
47755 * manual/examples/popen.c: Likewise.
47756 * manual/examples/rprintf.c: Likewise.
47757 * manual/examples/search.c: Likewise.
47758 * manual/examples/select.c: Likewise.
47759 * manual/examples/setjmp.c: Likewise.
47760 * manual/examples/sigh1.c: Likewise.
47761 * manual/examples/sigusr.c: Likewise.
47762 * manual/examples/stpcpy.c: Likewise.
47763 * manual/examples/strdupa.c: Likewise.
47764 * manual/examples/strftim.c: Likewise.
47765 * manual/examples/strncat.c: Likewise.
47766 * manual/examples/subopt.c: Likewise.
47767 * manual/examples/swapcontext.c: Likewise.
47768 * manual/examples/termios.c: Likewise.
47769 * manual/examples/testopt.c: Likewise.
47770 * manual/examples/testpass.c: Likewise.
47771 * manual/examples/timeval_subtract.c: Likewise.
47772
47773 [BZ #13792]
47774 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47775 function to ...
47776 * manual/timeval_subtract.c.texi: ... here, new file.
47777
47778 2012-03-02 David S. Miller <davem@davemloft.net>
47779
47780 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47781
47782 2012-03-02 Joseph Myers <joseph@codesourcery.com>
47783
47784 [BZ #3976]
47785 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47786 (__sin): Save and restore rounding mode and use round-to-nearest
47787 for all computations.
47788 (__cos): Save and restore rounding mode and use round-to-nearest
47789 for all computations.
47790 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47791 <fenv.h>.
47792 (tan): Save and restore rounding mode and use round-to-nearest for
47793 all computations.
47794 * math/libm-test.inc (cos_test_tonearest): New function.
47795 (cos_test_towardzero): Likewise.
47796 (cos_test_downward): Likewise.
47797 (cos_test_upward): Likewise.
47798 (sin_test_tonearest): Likewise.
47799 (sin_test_towardzero): Likewise.
47800 (sin_test_downward): Likewise.
47801 (sin_test_upward): Likewise.
47802 (tan_test_tonearest): Likewise.
47803 (tan_test_towardzero): Likewise.
47804 (tan_test_downward): Likewise.
47805 (tan_test_upward): Likewise.
47806 (main): Call the new functions.
47807 * sysdeps/i386/fpu/libm-test-ulps: Update.
47808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47809
47810 [BZ #10135]
47811 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47812 small n, then large n, before computing and testing k+n.
47813 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47815 Likewise.
47816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47817 Likewise.
47818 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47819 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47826 * math/libm-test.inc (scalbn_test): Add more tests.
47827 (scalbln_test): Likewise.
47828
47829 * manual/filesys.texi (mode_t): Describe constraints on size and
47830 signedness, not exact equivalence to a particular type.
47831 (ino_t): Likewise.
47832 (ino64_t): Likewise.
47833 (dev_t): Likewise.
47834 (nlink_t): Likewise.
47835 (blkcnt_t): Likewise.
47836 (blkcnt64_t): Likewise.
47837 * manual/llio.texi (off_t): Likewise.
47838
47839 [BZ #3976]
47840 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47841 (__ieee754_exp): Save and restore rounding mode and use
47842 round-to-nearest for all computations.
47843 * math/libm-test.inc (exp_test_tonearest): New function.
47844 (exp_test_towardzero): Likewise.
47845 (exp_test_downward): Likewise.
47846 (exp_test_upward): Likewise.
47847 (main): Call the new functions.
47848 * sysdeps/i386/fpu/libm-test-ulps: Update.
47849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47850
47851 2012-03-01 Chris Demetriou <cgd@google.com>
47852
47853 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47854 have predictable order.
47855
47856 2012-03-01 David S. Miller <davem@davemloft.net>
47857
47858 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47859
47860 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47861 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47862 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47863 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47864
47865 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47866 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47867 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47869 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47870 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47871 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47872 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47873 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47874
47875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47876
47877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47878 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47879 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47880
47881 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47882 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47883 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47884 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47885 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47886 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47888 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47889 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47890 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47891 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47894 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47895 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47897 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47898 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47899 * sysdeps/sparc/elf/configure: Regenerated.
47900
47901 2012-03-01 Joseph Myers <joseph@codesourcery.com>
47902
47903 * configure.in (AS, LD): Require binutils 2.20 or later.
47904 * configure: Regenerated.
47905 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47906 as required minimum version.
47907 * INSTALL: Regenerated.
47908
47909 [BZ #2541]
47910 [BZ #4108]
47911 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47912 before squaring exponent.
47913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47914 bottom long double and 27 bits of top long double before squaring
47915 exponent.
47916 * math/libm-test.inc (erfc_test): Add more tests.
47917 * sysdeps/i386/fpu/libm-test-ulps: Update.
47918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47920
47921 2012-03-01 Kai Tietz <ktietz@redhat.com>
47922
47923 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47924 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47925 containing bit-fields.
47926 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47927 * soft-fp/single.h (_FP_UNION_S): Likewise.
47928 * soft-fp/double.h (_FP_UNION_D): Likewise.
47929
47930 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47931
47932 [BZ #13786]
47933 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47934 not include ../strcmp.S.
47935 [USE_AS_STRNCASECMP_L]: Likewise.
47936 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47937 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47938 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47939 (__strncasecmp_l_ia32): Define as alias to
47940 __strncasecmp_l_nonascii.
47941
47942 [BZ #5794]
47943 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47944 * sysdeps/i386/fpu/libm-test-ulps: Update.
47945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47946
47947 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47949
47950 2012-02-29 Jeff Law <law@redhat.com>
47951
47952 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47953 out of bounds read.
47954
47955 2012-02-29 Marek Polacek <polacek@redhat.com>
47956
47957 [BZ #13706]
47958 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47959 * elf/Makefile: Add rules to run tst-unused-dep.out.
47960
47961 2012-02-28 David S. Miller <davem@davemloft.net>
47962
47963 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47964 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47965 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47967 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47968 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47969
47970 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47971
47972 * math/libm-test.inc (llround_test): Move one test from
47973 lround_test. Use TEST_f_L in moved test.
47974 (lround_test): Move misplaced test to llround_test. Add testcase
47975 from bug 2561.
47976
47977 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47978
47979 * sysdeps/x86_64/fpu/e_expf.S: New file.
47980 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47981
47982 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47983
47984 [BZ #13637]
47985 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47986 of remain_len that may cause incomplete multi-byte character and
47987 false match.
47988 * posix/bug-regex33.c: New file.
47989 * posix/Makefile (tests): Add bug-regex33.
47990
47991 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47992
47993 * manual/macros.texi: New file.
47994 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47995 * manual/libc.texinfo: Include macros.texi.
47996 * manual/creatute.texi: Likewise.
47997 * manual/install.texi: Likewise.
47998 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47999 @glibcadj{} in references to the GNU C Library.
48000 * manual/charset.texi: Likewise.
48001 * manual/conf.texi: Likewise.
48002 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48003 when not using those macros.
48004 * manual/creature.texi: Likewise.
48005 * manual/crypt.texi: Likewise.
48006 * manual/errno.texi: Likewise.
48007 * manual/filesys.texi: Likewise.
48008 * manual/header.texi: Likewise.
48009 * manual/install.texi: Likewise.
48010 * manual/intro.texi: Likewise.
48011 * manual/io.texi: Likewise.
48012 * manual/job.texi: Likewise.
48013 * manual/lang.texi: Likewise.
48014 * manual/libc.texiinfo: Likewise.
48015 * manual/llio.texi: Likewise.
48016 * manual/locale.texi: Likewise.
48017 * manual/maint.texi: Likewise.
48018 * manual/math.texi: Likewise.
48019 * manual/memory.texi: Likewise.
48020 * manual/message.texi: Likewise.
48021 * manual/nss.texi: Likewise.
48022 * manual/pattern.texi: Likewise.
48023 * manual/process.texi: Likewise.
48024 * manual/resource.texi: Likewise.
48025 * manual/search.texi: Likewise.
48026 * manual/setjmp.texi: Likewise.
48027 * manual/signal.texi: Likewise.
48028 * manual/socket.texi: Likewise.
48029 * manual/startup.texi: Likewise.
48030 * manual/stdio.texi: Likewise.
48031 * manual/string.texi: Likewise.
48032 * manual/sysinfo.texi: Likewise.
48033 * manual/syslog.texi: Likewise.
48034 * manual/terminal.texi: Likewise.
48035 * manual/time.texi: Likewise.
48036 * manual/users.texi: Likewise.
48037 * INSTALL: Regenerated.
48038 * NOTES: Regenerated.
48039 * sysdeps/gnu/errlist.c: Regenerated.
48040
48041 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48042
48043 * include/dirent.h: Include <dirstream.h> before
48044 <dirent/dirent.h>.
48045
48046 2012-02-28 David S. Miller <davem@davemloft.net>
48047
48048 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48049 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48050 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48051 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48052
48053 2012-02-27 David S. Miller <davem@davemloft.net>
48054
48055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48057 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48058 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48059
48060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48061 frame pointer instead of stack pointer relative arg slot.
48062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48063 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48064 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48065
48066 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48067
48068 [BZ #3992]
48069 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48070
48071 2012-02-27 David S. Miller <davem@davemloft.net>
48072
48073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48079 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48080 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48081
48082 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48083
48084 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48085 later. Allow versions 5-9.
48086 * configure: Regenerated.
48087 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48088 required minimum version and 4.6 as recommended version. Do not
48089 mention bugs in GCC 2.7 and 2.8.
48090 * INSTALL: Regenerated.
48091
48092 2012-02-27 David S. Miller <davem@davemloft.net>
48093
48094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48100 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48101 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48102
48103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48104 manipulate bits before adding and subtracting TWO112[sx].
48105 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48106
48107 2012-02-27 Roland McGrath <roland@hack.frob.com>
48108
48109 [BZ #13775]
48110 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48111 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48112 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48113 being in POSIX, because they are in 1003.1-2008.
48114
48115 * rt/tst-aio.c: Include <fcntl.h>.
48116 * rt/tst-aio7.c: Likewise.
48117 * rt/tst-aio64.c: Likewise.
48118
48119 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48120
48121 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48122
48123 * manual/install.texi (--with-headers): Describe headers as
48124 interface headers, not private headers.
48125 (Specific advice for GNU/Linux systems): Describe use of headers
48126 from "make headers_install", not private headers from older
48127 kernels.
48128 * INSTALL: Regenerated.
48129 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48130 Change to 2.6.19.
48131 * sysdeps/unix/sysv/linux/configure: Regenerated.
48132
48133 * manual/llio.texi (fclean): Remove documentation.
48134
48135 * manual/Makefile (libc-texi-generated): New variable. Include
48136 version.texi.
48137 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48138 $(libc-texi-generated), not duplicated list of files.
48139 (version.texi, stamp-version): New rules.
48140 (realclean): Remove $(libc-texi-generated), not individual files
48141 from that list. Do not remove dir-add.texinfo.
48142 * manual/libc.texinfo: Comment out uses of edition numbers and
48143 references to printed manual. Remove last-updated dates.
48144 (EDITION): Comment out.
48145 (ISBN): Likewise.
48146 (VERSION, UPDATED): Remove.
48147 (version.texi): Include.
48148
48149 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48150
48151 * sysdeps/posix/spawni.c: Include <signal.h>.
48152 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48153 * sysdeps/pthread/aio_fsync.c: Likewise.
48154
48155 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48156
48157 * conform/Makefile (tests): Run only when not cross-compiling and
48158 when fast-check is not defined.
48159
48160 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48161 * conform/data/limits.h-data: Fixes for POSIX2008.
48162 * conform/run-conformtest.sh: Run all tests.
48163 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48164 headers.
48165 * include/bits/dlfcn.h: Likewise.
48166 * include/langinfo.h: Likewise.
48167 * include/monetary.h: Likewise.
48168 * include/sys/poll.h: Likewise.
48169
48170 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48171 for __USE_GNU.
48172 * posix/spawn.h: Define __need_sigset_t.
48173 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48174 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48175 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48176 to get sigevent_t only.
48177 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48178 only for __USE_GNU.
48179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48180 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48181 process_vm_writev only for __USE_GNU.
48182 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48183
48184 * conform/Makefile: For now ignore errors from run-conformtest.
48185 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48186 POSIX to avoid namespace pollution. Don't prepend headers.
48187 * conform/data/aio.h-data: Fixes for POSIX testing.
48188 * conform/data/fcntl.h-data: Likewise.
48189 * conform/data/glob.h-data: Likewise.
48190 * conform/data/grp.h-data: Likewise.
48191 * conform/data/pthread.h-data: Likewise.
48192 * conform/data/pwd.h-data: Likewise.
48193 * conform/data/signal.h-data: Likewise.
48194 * conform/data/spawn.h-data: Likewise.
48195 * conform/data/stdio.h-data: Likewise.
48196 * conform/data/stdlib.h-data: Likewise.
48197 * conform/data/stropts.h-data: Likewise.
48198 * conform/data/sys/mman.h-data: Likewise.
48199 * conform/data/sys/stat.h-data: Likewise.
48200 * conform/data/sys/types.h-data: Likewise.
48201 * conform/data/sys/wait.h-data: Likewise.
48202 * conform/data/time.h-data: Likewise.
48203 * conform/data/unistd.h-data: Likewise.
48204 * conform/data/utime.h-data: Likewise.
48205
48206 * io/sys/stat.h: fchmod was always in POSIX.
48207 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48208 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48209 * rt/aio.h: Define __need_timespec before including <time.h>.
48210 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48211 struct. Add forward declaration of pthread_attr_t and use it in
48212 sigevent.
48213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48215 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48216 always remove CLK_TCK definition.
48217
48218 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48219
48220 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48221
48222 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48223
48224 * conform/run-conformtest.sh: New file.
48225 * conform/Makefile: Run run-conformtest for tests.
48226 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48227 support.
48228
48229 * conform/data/uchar.h-data: New file.
48230 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48231 * conform/data/arpa/inet.h-data: Likewise.
48232 * conform/data/assert.h-data: Likewise.
48233 * conform/data/complex.h-data: Likewise.
48234 * conform/data/cpio.h-data: Likewise.
48235 * conform/data/ctype.h-data: Likewise.
48236 * conform/data/dirent.h-data: Likewise.
48237 * conform/data/dlfcn.h-data: Likewise.
48238 * conform/data/errno.h-data: Likewise.
48239 * conform/data/fcntl.h-data: Likewise.
48240 * conform/data/float.h-data: Likewise.
48241 * conform/data/fmtmsg.h-data: Likewise.
48242 * conform/data/fnmatch.h-data: Likewise.
48243 * conform/data/ftw.h-data: Likewise.
48244 * conform/data/glob.h-data: Likewise.
48245 * conform/data/grp.h-data: Likewise.
48246 * conform/data/iconv.h-data: Likewise.
48247 * conform/data/inttypes.h-data: Likewise.
48248 * conform/data/langinfo.h-data: Likewise.
48249 * conform/data/libgen.h-data: Likewise.
48250 * conform/data/limits.h-data: Likewise.
48251 * conform/data/locale.h-data: Likewise.
48252 * conform/data/math.h-data: Likewise.
48253 * conform/data/monetary.h-data: Likewise.
48254 * conform/data/mqueue.h-data: Likewise.
48255 * conform/data/ndbm.h-data: Likewise.
48256 * conform/data/net/if.h-data: Likewise.
48257 * conform/data/netdb.h-data: Likewise.
48258 * conform/data/netinet/in.h-data: Likewise.
48259 * conform/data/nl_types.h-data: Likewise.
48260 * conform/data/poll.h-data: Likewise.
48261 * conform/data/pthread.h-data: Likewise.
48262 * conform/data/pwd.h-data: Likewise.
48263 * conform/data/regex.h-data: Likewise.
48264 * conform/data/sched.h-data: Likewise.
48265 * conform/data/search.h-data: Likewise.
48266 * conform/data/semaphore.h-data: Likewise.
48267 * conform/data/setjmp.h-data: Likewise.
48268 * conform/data/signal.h-data: Likewise.
48269 * conform/data/spawn.h-data: Likewise.
48270 * conform/data/stdarg.h-data: Likewise.
48271 * conform/data/stdio.h-data: Likewise.
48272 * conform/data/stdlib.h-data: Likewise.
48273 * conform/data/string.h-data: Likewise.
48274 * conform/data/strings.h-data: Likewise.
48275 * conform/data/stropts.h-data: Likewise.
48276 * conform/data/sys/ipc.h-data: Likewise.
48277 * conform/data/sys/mman.h-data: Likewise.
48278 * conform/data/sys/msg.h-data: Likewise.
48279 * conform/data/sys/resource.h-data: Likewise.
48280 * conform/data/sys/select.h-data: Likewise.
48281 * conform/data/sys/sem.h-data: Likewise.
48282 * conform/data/sys/shm.h-data: Likewise.
48283 * conform/data/sys/socket.h-data: Likewise.
48284 * conform/data/sys/stat.h-data: Likewise.
48285 * conform/data/sys/statvfs.h-data: Likewise.
48286 * conform/data/sys/time.h-data: Likewise.
48287 * conform/data/sys/timeb.h-data: Likewise.
48288 * conform/data/sys/times.h-data: Likewise.
48289 * conform/data/sys/types.h-data: Likewise.
48290 * conform/data/sys/uio.h-data: Likewise.
48291 * conform/data/sys/un.h-data: Likewise.
48292 * conform/data/sys/utsname.h-data: Likewise.
48293 * conform/data/sys/wait.h-data: Likewise.
48294 * conform/data/syslog.h-data: Likewise.
48295 * conform/data/tar.h-data: Likewise.
48296 * conform/data/termios.h-data: Likewise.
48297 * conform/data/utime.h-data: Likewise.
48298 * conform/data/utmpx.h-data: Likewise.
48299 * conform/data/varargs.h-data: Likewise.
48300 * conform/data/wchar.h-data: Likewise.
48301 * conform/data/wctype.h-data: Likewise.
48302 * conform/data/wordexp.h-data: Likewise.
48303
48304 * include/stropts.h: New file.
48305 * include/uchar.h: New file.
48306 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48307 * include/assert.h: Likewise.
48308 * include/ctype.h: Likewise.
48309 * include/dirent.h: Likewise.
48310 * include/dlfcn.h: Likewise.
48311 * include/fcntl.h: Likewise.
48312 * include/fnmatch.h: Likewise.
48313 * include/glob.h: Likewise.
48314 * include/grp.h: Likewise.
48315 * include/libio.h: Likewise.
48316 * include/locale.h: Likewise.
48317 * include/math.h: Likewise.
48318 * include/net/if.h: Likewise.
48319 * include/netdb.h: Likewise.
48320 * include/netinet/in.h: Likewise.
48321 * include/pthread.h: Likewise.
48322 * include/pwd.h: Likewise.
48323 * include/regex.h: Likewise.
48324 * include/sched.h: Likewise.
48325 * include/search.h: Likewise.
48326 * include/setjmp.h: Likewise.
48327 * include/signal.h: Likewise.
48328 * include/stdio.h: Likewise.
48329 * include/stdlib.h: Likewise.
48330 * include/string.h: Likewise.
48331 * include/sys/cdefs.h: Likewise.
48332 * include/sys/mman.h: Likewise.
48333 * include/sys/msg.h: Likewise.
48334 * include/sys/resource.h: Likewise.
48335 * include/sys/select.h: Likewise.
48336 * include/sys/socket.h: Likewise.
48337 * include/sys/stat.h: Likewise.
48338 * include/sys/statvfs.h: Likewise.
48339 * include/sys/time.h: Likewise.
48340 * include/sys/times.h: Likewise.
48341 * include/sys/uio.h: Likewise.
48342 * include/sys/utsname.h: Likewise.
48343 * include/sys/wait.h: Likewise.
48344 * include/termios.h: Likewise.
48345 * include/time.h: Likewise.
48346 * include/ulimit.h: Likewise.
48347 * include/unistd.h: Likewise.
48348 * include/utime.h: Likewise.
48349 * include/wchar.h: Likewise.
48350 * include/wctype.h: Likewise.
48351 * include/wordexp.h: Likewise.
48352
48353 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48354
48355 * time/time.h: TIME_UTC must be a macro.
48356 Make timespec_get available for ISO C11 only as well.
48357
48358 2012-02-24 Ulrich Drepper <drepper@gmail.com>
48359
48360 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48361 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48362
48363 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48364
48365 * configure.in: Use -o not -a in test for unsupported multi-arch.
48366
48367 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48368
48369 * manual/texinfo.tex: Update to version 2012-01-19.16.
48370
48371 2012-02-24 Joseph Myers <joseph@codesourcery.com>
48372
48373 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48374
48375 2012-02-24 Roland McGrath <roland@hack.frob.com>
48376
48377 [BZ #13738]
48378 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48379 * manual/fdl-1.3.texi: New file.
48380 * manual/fdl-1.1.texi: File removed.
48381
48382 [BZ #13738]
48383 * manual/libc.texinfo (FDL_VERSION): New @set.
48384 Use it for mention of FDL in cover text.
48385 (Documentation License): Use it in @include file name.
48386
48387 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48388 Roland McGrath <roland@hack.frob.com>
48389
48390 [BZ #5461]
48391 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48392 (not LONG_LONG_MAX and LONG_LONG_MIN.
48393 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48394 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48395 name.
48396 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48397
48398 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48399
48400 [BZ #2547]
48401 [BZ #11365]
48402 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48403 manipulate bits before adding and subtracting TWO23[sx].
48404 * math/libm-test.inc (nearbyint_test): Add more tests.
48405
48406 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48407
48408 [BZ #2548]
48409 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48410 bits before adding and subtracting TWO23[sx].
48411 * math/libm-test.inc (rint_test): Add more tests.
48412 (rint_test_tonearest): Likewise.
48413 (rint_test_towardzero): Likewise.
48414 (rint_test_downward): Likewise.
48415 (rint_test_upward: Likewise.
48416
48417 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48418
48419 [BZ #10110]
48420 * include/stdc-predef.h: New file. Extracted from features.h.
48421 * include/features.h: Include stdc-predef.h.
48422 * Makefile (headers): Add stdc-predef.h.
48423 * CONFORMANCE (Compiler limitations): Update.
48424
48425 2012-02-22 Joseph Myers <joseph@codesourcery.com>
48426
48427 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48428
48429 2012-02-21 David S. Miller <davem@davemloft.net>
48430
48431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48432 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48433
48434 2012-02-20 David S. Miller <davem@davemloft.net>
48435
48436 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48437 using a normal save/restore sequence, rather than allocating a
48438 dummy stack frame just to store a frame pointer and restore.
48439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48440
48441 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48442
48443 * manual/install.texi: Fix stray word in line-wrapped comment.
48444
48445 2012-02-20 David S. Miller <davem@davemloft.net>
48446
48447 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48448 both binutils and gcc support GOTDATA.
48449
48450 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48451 "rd %pc" in the PIC register setup sequences.
48452
48453 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48454 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48455 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48456 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48457 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48462 (SYSCALL_ERROR_HANDLER): Likewise.
48463 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48466 (SYSCALL_ERROR_HANDLER): Likewise.
48467
48468 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48469 (HAVE_GCC_GOTDATA): New.
48470 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48471 relocation support in both binutils and gcc.
48472 * sysdeps/sparc/elf/configure: Regenerate.
48473
48474 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48475 * sysdeps/sparc/sparc32/elf/configure: Delete.
48476 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48477 * sysdeps/sparc/sparc64/elf/configure: Delete.
48478 * sysdeps/sparc/elf/configure.in: New file.
48479 * sysdeps/sparc/elf/configure: Generate.
48480
48481 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48482 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48483 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48484 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48485 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48486
48487 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48488
48489 * manual/install.texi: Do not mention specific glibc version
48490 numbers.
48491 * manual/libc.texinfo (VERSION, UPDATED): Update.
48492 (@copying): Use @copyright{} and range of years.
48493
48494 2012-02-21 Joseph Myers <joseph@codesourcery.com>
48495
48496 [BZ #13695]
48497 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48498 [crti.S not in sysdirs] (generated): Do not append.
48499 [crti.S not in sysdirs] (omit-deps): Likewise.
48500 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48501 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48502 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48503 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48504 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48505 Likewise.
48506 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48507 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48508 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48509 * csu/defs.awk: Remove file.
48510 * sysdeps/generic/initfini.c: Likewise.
48511 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48512 variable.
48513 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48514 Likewise.
48515
48516 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48517
48518 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48519 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48520 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48523 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48524 <bits/epoll.h>.
48525 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48526 (__EPOLL_PACKED): Define to empty if not defined by
48527 <bits/epoll.h>.
48528 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48530 bits/epoll.h.
48531
48532 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48533
48534 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48535 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48537 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48538 <bits/timerfd.h>.
48539 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48541 bits/timerfd.h.
48542
48543 2012-02-20 Joseph Myers <joseph@codesourcery.com>
48544
48545 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48546 in C locale.
48547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48548 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48551
48552 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48553
48554 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48556
48557 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48558
48559 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48560 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48561 defined.
48562 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48563 Likewise.
48564 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48565 entry for 2.16.
48566
48567 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48568
48569 * math/w_acos.c: Use non-signaling floating-point comparisons.
48570 * math/w_acosf.c: Likewise.
48571 * math/w_acosh.c: Likewise.
48572 * math/w_acoshf.c: Likewise.
48573 * math/w_acoshl.c: Likewise.
48574 * math/w_acosl.c: Likewise.
48575 * math/w_asin.c: Likewise.
48576 * math/w_asinf.c: Likewise.
48577 * math/w_asinl.c: Likewise.
48578 * math/w_atanh.c: Likewise.
48579 * math/w_atanhf.c: Likewise.
48580 * math/w_atanhl.c: Likewise.
48581 * math/w_exp2.c: Likewise.
48582 * math/w_exp2f.c: Likewise.
48583 * math/w_exp2l.c: Likewise.
48584 * math/w_j0.c: Likewise.
48585 * math/w_j0f.c: Likewise.
48586 * math/w_j0l.c: Likewise.
48587 * math/w_j1.c: Likewise.
48588 * math/w_j1f.c: Likewise.
48589 * math/w_j1l.c: Likewise.
48590 * math/w_jn.c: Likewise.
48591 * math/w_jnf.c: Likewise.
48592 * math/w_log.c: Likewise.
48593 * math/w_log10.c: Likewise.
48594 * math/w_log10f.c: Likewise.
48595 * math/w_log10l.c: Likewise.
48596 * math/w_log2.c: Likewise.
48597 * math/w_log2f.c: Likewise.
48598 * math/w_log2l.c: Likewise.
48599 * math/w_logf.c: Likewise.
48600 * math/w_logl.c: Likewise.
48601 * math/w_sqrt.c: Likewise.
48602 * math/w_sqrtf.c: Likewise.
48603 * math/w_sqrtl.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48607 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48608 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48609
48610 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48611
48612 [BZ #9739]
48613 * manual/string.texi (strnlen): Use correct parameter name in
48614 equivalent expression.
48615
48616 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48617
48618 [BZ #11174]
48619 * manual/users.texi (seteuid): Consistently use neweuid for
48620 argument name.
48621
48622 2012-02-19 Joseph Myers <joseph@codesourcery.com>
48623
48624 [BZ #13704]
48625 * manual/nss.texi (Services in the NSS configuration): Correct
48626 list of services in example configuration file.
48627
48628 2012-02-19 Nick Bowler <nbowler@draconx.ca>
48629
48630 [BZ #11322]
48631 * manual/arith.texi: Remove statements about negative zero
48632 behaving identically to zero.
48633
48634 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48635
48636 [BZ #5993]
48637 * manual/install.texi: Do not document upgrading from libc5.
48638
48639 2012-02-18 Joseph Myers <joseph@codesourcery.com>
48640
48641 [BZ #4596]
48642 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48643
48644 2012-02-18 David S. Miller <davem@davemloft.net>
48645
48646 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48647 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48648 %o7 across the call.
48649 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48650 instead.
48651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48652 SETUP_PIC_REG_LEAF.
48653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48654 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48655 * sysdeps/sparc/crtn.S: Likewise.
48656
48657 2012-02-17 Ulrich Drepper <drepper@gmail.com>
48658
48659 * aout/Makefile: Remove.
48660
48661 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48662
48663 [BZ #13058]
48664 * manual/examples/argp-ex1.c (main): Format definition in GNU
48665 style.
48666 * manual/examples/argp-ex2.c (main): Likewise.
48667 * manual/examples/argp-ex3.c (main): Likewise.
48668 * manual/examples/argp-ex4.c (main): Likewise.
48669 * manual/examples/longopt.c (main): Use new-style prototype
48670 definition.
48671 * manual/examples/strncat.c (main): Specify return type and use
48672 (void) for arguments.
48673 * manual/examples/subopt.c (main): Use char **argv argument.
48674
48675 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48676
48677 [BZ #5077]
48678 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48679 rounding modes.
48680
48681 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48682
48683 [BZ #6907]
48684 * manual/string.texi (strchr): Change when strchrnul is
48685 recommended.
48686
48687 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48688
48689 [BZ #174]
48690 * manual/locale.texi (setlocale): Document LOCPATH.
48691
48692 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48693
48694 [BZ #10210]
48695 * manual/process.texi (execle): Move @dots{} before last argument.
48696
48697 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
48698
48699 [BZ #12047]
48700 * manual/charset.texi (Generic Charset Conversion): Fix typo
48701 (LC_TYPE -> LC_CTYPE).
48702
48703 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48704
48705 [BZ #5805]
48706 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48707 (scalbnf): Likewise.
48708 (scalbnl): Likewise.
48709 (scalbln): Likewise.
48710 (scalblnf): Likewise.
48711 (scalblnl): Likewise.
48712 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48713 (vwarnx): Likewise.
48714 (verr): Likewise.
48715 (verrx): Likewise.
48716 * manual/filesys.texi (telldir): Use braces around return type.
48717 * manual/llio.texi (mmap): Add space after comma.
48718 (mmap64): Likewise.
48719 * manual/math.texi (jn): Use @var{} on parameter names.
48720 (jnf): Likewise.
48721 (jnl): Likewise.
48722 (yn): Likewise.
48723 (ynf): Likewise.
48724 (ynl): Likewise.
48725 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48726 line.
48727 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48728 "...".
48729 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48730 (sched_get_priority_max): Likewise.
48731 * manual/signal.texi (sigvec): Add space after comma.
48732 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48733 names.
48734 (if_indextoname): Likewise.
48735 (if_freenameindex): Likewise.
48736 (sendto): Use ',' instead of '.' in prototype.
48737 * manual/startup.texi (syscall): Use @dots{} instead of literal
48738 "...".
48739 * manual/stdio.texi (__fpending): Separate initial words of
48740 paragraph from @deftypefun line.
48741 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48742 "...".
48743 (vsyslog): Use @var{} on parameter names.
48744 * manual/terminal.texi (stty): Use @var{} on parameter names.
48745 * manual/users.texi (getutmp): Use @var{} on parameter names.
48746 (getutmpx): Likewise.
48747
48748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48749
48750 [BZ #6884]
48751 * manual/stdio.texi (fopen): Fix typos in description of
48752 ",ccs=STRING".
48753
48754 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48755
48756 [BZ #4026]
48757 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48758 get clock_id definition.
48759
48760 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
48761
48762 [BZ #4822]
48763 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48764 (madvise): Cast every argument to void on its own.
48765
48766 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48767
48768 [BZ #9902]
48769 * manual/startup.texi (Exit Status): Fix typo.
48770
48771 2012-02-17 Joseph Myers <joseph@codesourcery.com>
48772
48773 [BZ #10140]
48774 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48775 * manual/examples/argp-ex2.c: Likewise.
48776 * manual/examples/argp-ex3.c: Likewise.
48777
48778 2012-02-16 Richard Henderson <rth@redhat.com>
48779
48780 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48781 * sysdeps/s390/s390-32/initfini.c: Remove.
48782 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48783 * sysdeps/s390/s390-64/initfini.c: Remove.
48784
48785 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48786
48787 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48788 compiler output for sysdeps/generic/initfini.c.
48789 * sysdeps/sh/elf/initfini.c: Remove file.
48790
48791 2012-02-16 David S. Miller <davem@davemloft.net>
48792
48793 [BZ #11494]
48794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48795
48796 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48797 * sysdeps/sparc/crti.S: New file.
48798 * sysdeps/sparc/crtn.S: New file.
48799 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48800 * sysdeps/sparc/sparc64/Makefile: Likewise.
48801
48802 2012-02-15 Mike Frysinger <vapier@gentoo.org>
48803
48804 [BZ #3335]
48805 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48806
48807 2012-02-15 Roland McGrath <roland@hack.frob.com>
48808
48809 [BZ #4822]
48810 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48811
48812 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48813 (write, read, close): Likewise.
48814 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48815
48816 2012-02-15 Joseph Myers <joseph@codesourcery.com>
48817
48818 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48819 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48820 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48821 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48822 <bits/signalfd.h>.
48823 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48825 bits/signalfd.h.
48826
48827 2012-02-14 Marek Polacek <polacek@redhat.com>
48828
48829 * sysdeps/x86_64/crti.S: New file.
48830 * sysdeps/x86_64/crtn.S: New file.
48831 * sysdeps/x86_64/elf/initfini.c: Remove file.
48832
48833 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48834
48835 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48836 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48837 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48838 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48839 <bits/inotify.h>.
48840 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48842 bits/inotify.h.
48843
48844 2012-02-13 Joseph Myers <joseph@codesourcery.com>
48845
48846 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48847 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48848 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48849 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48850 <bits/eventfd.h>.
48851 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48853 bits/eventfd.h.
48854
48855 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48856
48857 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48858 __feraiseexcept instead of feraiseexcept.
48859
48860 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48861 nanosleep invocations.
48862 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48863 strings, and add error checking for a nanosleep invocations.
48864
48865 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48866
48867 Replace FSF snail mail address with URLs, as per GNU coding standards.
48868 Most of the snail mail addresses were wrong anyway, and omitting
48869 them makes the source code easier to maintain. Almost all of the
48870 changes are to license notices and to locale LC_IDENTIFICATION
48871 addresses, except for this one:
48872 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48873 not its snail mail address.
48874
48875 2012-02-09 Richard Henderson <rth@twiddle.net>
48876
48877 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48878 of kernel-features.h.
48879
48880 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48881
48882 2012-02-08 Marek Polacek <polacek@redhat.com>
48883
48884 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48885 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48886 * sysdeps/gnu/_G_config.h: Likewise.
48887 * sysdeps/generic/_G_config.h: Likewise.
48888
48889 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48890
48891 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48892 tests.
48893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48894
48895 * sysdeps/powerpc/powerpc32/crti.S: New file.
48896 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48897 * sysdeps/powerpc/powerpc64/crti.S: New file.
48898 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48899
48900 * Makeconfig (have-initfini): Don't set.
48901 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48902 * configure.in (nopic_initfini): Don't substitute.
48903 * config.h.in (HAVE_INITFINI): Don't #undef.
48904 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48905 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48906
48907 2012-02-08 Joseph Myers <joseph@codesourcery.com>
48908
48909 Support crti.S and crtn.S provided directly by architectures.
48910 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48911 [crti.S in sysdirs] (omit-deps): Likewise.
48912 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48913 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48914 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48915 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48916 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48917 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48918 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48919 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48920 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48921 compiler output for sysdeps/generic/initfini.c.
48922 * sysdeps/i386/elf/Makefile: Remove file.
48923 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48924
48925 2012-02-07 Marek Polacek <polacek@redhat.com>
48926
48927 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48928 * sysdeps/gnu/_G_config.h: Likewise.
48929 * sysdeps/mach/hurd/_G_config.h: Likewise.
48930
48931 2012-02-07 Marek Polacek <polacek@redhat.com>
48932
48933 * math/Makefile (tests): Add tst-CMPLX2.
48934 * math/tst-CMPLX2.c: New file.
48935
48936 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48937
48938 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48939
48940 * math/libm-test.inc (jn_test): Add missing L suffix.
48941
48942 2012-02-06 Marek Polacek <polacek@redhat.com>
48943
48944 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48945 * sysdeps/i386/fpu/e_powf.S: Likewise.
48946 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48947 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48948 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48949 * sysdeps/i386/fpu/e_pow.S: Likewise.
48950 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48951 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48952 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48953 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48954 * sysdeps/i386/fpu/e_log2.S: Likewise.
48955 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48956 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48957 * sysdeps/i386/fpu/e_powl.S: Likewise.
48958 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48959 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48960 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48961 * sysdeps/i386/fpu/e_logl.S: Likewise.
48962 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48963 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48964 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48965 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48968 * sysdeps/i386/fpu/e_log.S: Likewise.
48969 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48970 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48971 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48972 * sysdeps/i386/fpu/e_logf.S: Likewise.
48973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48975 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48976 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48977 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48978 * sysdeps/i386/fpu/e_log10.S: Likewise.
48979 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48980 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48981 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48982 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48984 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48985 * sysdeps/i386/asm-syntax.h: Likewise.
48986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48989 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48990 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48991 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48992 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48993 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48994 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48995 * sysdeps/powerpc/sysdep.h: Likewise.
48996 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48997 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48998
48999 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49000
49001 [BZ #411]
49002 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49003
49004 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49005
49006 * sysdeps/i386/sysdep.h: Include <features.h>.
49007 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49008 version.
49009
49010 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49011
49012 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49013 Define.
49014 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49015 LOAD_PIC_REG_STR.
49016
49017 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49018
49019 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49020 (SETUP_PIC_REG): Use GET_PC_THUNK.
49021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49022 macro.
49023
49024 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49025
49026 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49027 for non-PIC compilation.
49028 (SETUP_PIC_REG): Add .p2align directive.
49029 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49030 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49031 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49032 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49033 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49043 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49044 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49045 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49046 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49047 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49048 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49051 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49052 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49055 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49056 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49057 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49058 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49061 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49062 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49063 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49064 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49065 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49066 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49067 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49068 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49069 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49070
49071 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49072
49073 * math/tst-CMPLX.c: Include <stdio.h>.
49074
49075 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49076
49077 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49078 float.
49079 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49080 * sysdeps/sparc/bits/mathdef.h: Likewise.
49081
49082 2012-01-31 Marek Polacek <polacek@redhat.com>
49083
49084 * libio/libio.h: Don't define _PARAMS.
49085 * locale/programs/config.h: Don't define PARAMS.
49086 * stdlib/strtol_l.c: Likewise.
49087 (__strtol_l): Remove PARAMS from the prototype.
49088
49089 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49090
49091 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49092 names. Just use the correct names. Remove unnecessary wrapper
49093 functions.
49094 * malloc/arena.c: Likewise.
49095 * malloc/hooks.c: Likewise.
49096
49097 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49098 ARENA_TEST says not to. Simplify test for creation of a new arena.
49099 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49100
49101 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49102
49103 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49104 into tail calls.
49105 (update_get_addr): New function.
49106 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49107 GET_ADDR_MODULE parameter.
49108
49109 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49110
49111 * crypt/cert.c: Remove __STDC__ conditionals.
49112 * crypt/crypt-entry.c: Likewise.
49113 * crypt/crypt_util.c: Likewise.
49114 * libio/filedoalloc.c: Likewise.
49115 * libio/fileops.c: Likewise.
49116 * libio/genops.c: Likewise.
49117 * libio/iofclose.c: Likewise.
49118 * libio/iofdopen.c: Likewise.
49119 * libio/iofopen.c: Likewise.
49120 * libio/iofopen64.c: Likewise.
49121 * libio/iogetdelim.c: Likewise.
49122 * libio/iopopen.c: Likewise.
49123 * libio/obprintf.c: Likewise.
49124 * libio/oldfileops.c: Likewise.
49125 * libio/oldiofclose.c: Likewise.
49126 * libio/oldiofdopen.c: Likewise.
49127 * libio/oldiofopen.c: Likewise.
49128 * libio/oldiopopen.c: Likewise.
49129 * libio/wfiledoalloc.c: Likewise.
49130 * libio/wgenops.c: Likewise.
49131 * locale/programs/xmalloc.c: Likewise.
49132 * misc/syslog.c: Likewise.
49133 * stdio-common/xbug.c: Likewise.
49134 * string/memchr.c: Likewise.
49135 * string/memcmp.c: Likewise.
49136 * string/memrchr.c: Likewise.
49137 * string/rawmemchr.c: Likewise.
49138 * sysdeps/posix/getcwd.c: Likewise.
49139 * time/strftime_l.c: Likewise.
49140
49141 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49142
49143 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49144 * config.make.in (config-cflags-sse2avx): Define.
49145 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49146 Fix typo.
49147
49148 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49149
49150 * scripts/config.guess: Update from upstream config git repository.
49151 * scripts/config.sub: Likewise.
49152
49153 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49154
49155 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49156 (EM_NUM): Update.
49157 (R_TILEPRO_*, R_TILEGX_*): New macros.
49158
49159 * scripts/firstversions.awk: Fix bug in version range handling.
49160
49161 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49162
49163 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49164
49165 * include/sys/epoll.h: New file.
49166 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49167 libc_hidden_def.
49168
49169 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49170
49171 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49172 Avoid unnecessary __WORDSIZE == 64 test.
49173 (fmaxf): Use VEX format if possible.
49174 (fmax): Likewise.
49175 (fminf): Likewise.
49176 (fmin): Likewise.
49177
49178 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49179 * math/math_private.h: Remove libc_fegetround* and
49180 libc_fesetround*.
49181 * sysdeps/i386/configure.in: Check for -msse2avx.
49182 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49183 also if SSE2AVX is defined.
49184 Remove libc_fegetround* and libc_fesetround*.
49185 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49186 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49187 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49188 of HAS_YMM_USABLE.
49189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49194
49195 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49196
49197 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49198
49199 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49200 size is not set.
49201 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49202
49203 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49204
49205 [BZ #13618]
49206 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49207 relocation.
49208 * Makeconfig (libm): Define.
49209 * elf/Makefile: Add rules to build and run tst-relsort1.
49210 * elf/tst-relsort1.c: New file.
49211 * elf/tst-relsort1mod1.c: New file.
49212 * elf/tst-relsort1mod2.c: New file.
49213
49214 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49215
49216 * math/s_ldexp.c: Remove __STDC__ conditionals.
49217 * math/s_ldexpf.c: Likewise.
49218 * math/s_ldexpl.c: Likewise.
49219 * math/s_nextafter.c: Likewise.
49220 * math/s_nexttowardf.c: Likewise.
49221 * math/s_significand.c: Likewise.
49222 * math/s_significandf.c: Likewise.
49223 * math/s_significandl.c: Likewise.
49224 * math/w_jnl.c: Likewise.
49225 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49226 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49227 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49228 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49229 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49239 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49241 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49244 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49245 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49246 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49247 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49249 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49250 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49251 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49252 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49253 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49254 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49255 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49256 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49257 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49259 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49260 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49261 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49262 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49263 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49264 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49265 * sysdeps/ieee754/k_standard.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49302 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49310 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49315 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49316 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49321 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49322 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49323 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49325 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49326 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49327 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49328 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49330 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49332 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49335 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49337 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49338 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49339 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49340 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49341 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49342 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49343 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49345 * sysdeps/ieee754/s_matherr.c: Likewise.
49346 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49347 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49350
49351 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49352
49353 * crypt/md5.h: Remove __STDC__ conditionals.
49354 * libio/libioP.h: Likewise.
49355 * locale/programs/config.h: Likewise.
49356 * sysdeps/generic/sysdep.h: Likewise.
49357 * sysdeps/i386/asm-syntax.h: Likewise.
49358 * sysdeps/s390/asm-syntax.h: Likewise.
49359 * sysdeps/unix/sysdep.h: Likewise.
49360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49362
49363 2012-01-26 Joseph Myers <joseph@codesourcery.com>
49364
49365 * libio/libio.h: Remove __STDC__ conditionals.
49366 * malloc/obstack.h: Likewise.
49367 * math/complex.h: Likewise.
49368 * math/math.h: Likewise.
49369 * sysdeps/generic/_G_config.h: Likewise.
49370 * sysdeps/gnu/_G_config.h: Likewise.
49371 * sysdeps/mach/hurd/_G_config.h: Likewise.
49372 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49373 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49374 * sysdeps/sparc/bits/mathdef.h: Likewise.
49375
49376 2012-01-26 Ulrich Drepper <drepper@gmail.com>
49377
49378 [BZ #13583]
49379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49380 Clean up HAS_* macros.
49381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49382 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49383 possible.
49384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49385 HAS_AVX.
49386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49387 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49391
49392 2012-01-25 Joseph Myers <joseph@codesourcery.com>
49393
49394 * elf/tst-unique3.cc (gets): Remove declaration.
49395 * elf/tst-unique3lib.cc (gets): Likewise.
49396 * elf/tst-unique3lib2.cc (gets): Likewise.
49397 * elf/tst-unique4.cc (gets): Likewise.
49398
49399 2012-01-24 Ulrich Drepper <drepper@gmail.com>
49400
49401 * include/stdio.h: Add C++ protection. Add gets declarations and
49402 definitions.
49403 * debug/tst-chk1.c: Don't declare gets here.
49404 * stdio-common/tst-gets.c: Likewise.
49405
49406 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49407
49408 * posix/glob: Remove directory.
49409
49410 2012-01-24 Joseph Myers <joseph@codesourcery.com>
49411
49412 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49413
49414 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49415
49416 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49417 of the non-standard EPFNOSUPPORT.
49418
49419 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49420
49421 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49422 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49423 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49424
49425 2012-01-21 Ulrich Drepper <drepper@gmail.com>
49426
49427 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49428
49429 2012-01-20 Ulrich Drepper <drepper@gmail.com>
49430
49431 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49432 transient errors.
49433 * nscd/grpcache.c (cache_addgr): Likewise.
49434 * nscd/hstcache.c (cache_addhst): Likewise.
49435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49436 * nscd/pwdcache.c (cache_addpw): Likewise.
49437 * nscd/servicescache.c (cache_addserv): Likewise.
49438
49439 2012-01-16 Ulrich Drepper <drepper@gmail.com>
49440
49441 * malloc/malloc.c: Various cleanups.
49442 * malloc/hooks.c: Likewise.
49443
49444 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49445 * stdlib/bug-fmtmsg1.c: New file.
49446
49447 * stdlib/fmtmsg.c (init): Add missing unlock.
49448 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49449
49450 2012-01-12 Marek Polacek <polacek@redhat.com>
49451
49452 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49453 and _GNU_SOURCE.
49454
49455 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49456
49457 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49458 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49459 macro to ensure uniqueness of label name.
49460 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49461 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49462
49463 2012-01-11 Ulrich Drepper <drepper@gmail.com>
49464
49465 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49466
49467 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49468 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49469 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49471
49472 2012-01-10 Ulrich Drepper <drepper@gmail.com>
49473
49474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49475
49476 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49477 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49478 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49479
49480 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49481
49482 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49483 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49484 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49486
49487 * math/bits/math-finite.h: Add ldexp support.
49488
49489 2012-01-10 Marek Polacek <polacek@redhat.com>
49490
49491 * locale/programs/localedef.h (show_archive_content): Add noreturn
49492 attribute.
49493
49494 2012-01-09 Ulrich Drepper <drepper@gmail.com>
49495
49496 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49497
49498 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49499
49500 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49501
49502 * io/Makefile (headers): Add bits/poll2.h.
49503
49504 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49505
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49507 typo #include statement.
49508
49509 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49510
49511 * include/sys/cdefs.h: Define __attribute_alloc_size.
49512 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49513 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49514 * elf/pldd.c: Likewise.
49515 * iconv/iconv_charmap.c: Likewise.
49516 * iconv/iconvconfig.c: Likewise.
49517 * iconv/strtab.c: Likewise.
49518 * locale/programs/locale.c: Likewise.
49519 * locale/programs/localedef.h: Likewise.
49520 * locale/programs/simple-hash.c: Likewise.
49521 * nscd/nscd.h: Likewise.
49522 * nss/makedb.c: Likewise.
49523 * sysdeps/generic/ldconfig.h: Likewise.
49524 * locale/programs/localedef.c: Remove xmalloc prototype.
49525 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49526
49527 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49528
49529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49530 appropriate.
49531
49532 2012-01-08 Ulrich Drepper <drepper@gmail.com>
49533
49534 * math/Makefile (tests): Add tst-CMPLX.
49535 * math/tst-CMPLX.c: New file.
49536
49537 * math/complex.h (CMPLXL): Fix typo.
49538
49539 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49540 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49541 GLIBC_2.16.
49542 * debug/tst-chk1.c: Add poll and ppoll tests.
49543 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49544 * include/sys/poll.h: Add hidden proto for ppoll.
49545 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49546 * sysdeps/mach/hurd/ppoll.c: Likewise.
49547 * io/ppoll.c: Likewise.
49548 * debug/poll_chk.c: New file.
49549 * debug/ppoll_chk.c: New file.
49550 * include/bits/poll2.h: New file.
49551 * io/bits/poll2.h: New file.
49552
49553 [BZ #1350]
49554 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49555
49556 * configure.in: static is always set to yes. Remove.
49557 * config.make.in: Don't set build-static.
49558 * Makeconfig: Remove use of build-static.
49559 * dlfcn/Makefile: Likewise.
49560 * elf/Makefile: Likewise.
49561 * math/Makefile: Likewise.
49562 * misc/Makefile: Likewise.
49563 * nptl/Makefile: Likewise.
49564 * sysdeps/mach/hurd/Makefile: Likewise.
49565
49566 * configure.in: PWD_P is not used anymore.
49567 * config.make.in: Remove PWD_P entry.
49568
49569 * configure.in: Remove last remnants of RANLIB.
49570 No need to check for signed size_t anymore.
49571 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49572 and IA-64.
49573 Remove __builtin_expect test because we require at least gcc 3.4.
49574 * aclocal.m4: Likewise.
49575
49576 * wcsmbs/mbrtoc16.c: Implement using towc function.
49577 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49578 * wcsmbs/wcsmbsload.c: Likewise.
49579 * iconv/gconv_simple.c: Likewise.
49580 * iconv/gconv_int.h: Likewise.
49581 * iconv/gconv_builtin.h: Likewise.
49582 * iconv/iconv_prog.c: Remove CHAR16 handling.
49583
49584 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49585
49586 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49587
49588 * configure.in: Remove --with-elf and --enable-bounded options.
49589 Dont set base_machine for ia64. More non-ELF conditions removed.
49590 Remove testing and setting of leading underscore information.
49591 * config.make.in (build-bounded): Set to no.
49592 * config.h.in: Remove NO_UNDERSCORES entry.
49593 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49594 them.
49595 * csu/start.c: Remove !NO_UNDERSCORE code.
49596 * locale/localeinfo.h: Likewise.
49597 * sysdeps/generic/machine-gmon.h: Likewise.
49598 * sysdeps/generic/sysdep.h: Likewise.
49599 * sysdeps/i386/sysdep.h: Likewise.
49600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49601 * sysdeps/mach/sysdep.h: Likewise.
49602 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49603 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49604 * sysdeps/sh/sysdep.h: Likewise.
49605 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49606 * sysdeps/unix/i386/sysdep.S: Likewise.
49607 * sysdeps/unix/sparc/start.c: Likewise.
49608 * sysdeps/unix/sparc/sysdep.S: Likewise.
49609 * sysdeps/unix/sparc/sysdep.h: Likewise.
49610 * sysdeps/unix/start.c: Likewise.
49611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49612 * sysdeps/x86_64/sysdep.h: Likewise.
49613
49614 2012-01-07 Ulrich Drepper <drepper@gmail.com>
49615
49616 [BZ #13553]
49617 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49618 for non-gcc.
49619 * argp/argp-fmtstream.h: Use const instead __const.
49620 * argp/argp.h: Likewise.
49621 * assert/assert.h: Likewise.
49622 * bits/fenv.h: Likewise.
49623 * bits/sched.h: Likewise.
49624 * bits/sigset.h: Likewise.
49625 * bits/sigthread.h: Likewise.
49626 * catgets/nl_types.h: Likewise.
49627 * conform/data/pthread.h-data: Likewise.
49628 * crypt/crypt-private.h: Likewise.
49629 * crypt/crypt.h: Likewise.
49630 * crypt/crypt_util.c: Likewise.
49631 * ctype/ctype.h: Likewise.
49632 * debug/execinfo.h: Likewise.
49633 * debug/mbsnrtowcs_chk.c: Likewise.
49634 * debug/mbsrtowcs_chk.c: Likewise.
49635 * debug/wcsnrtombs_chk.c: Likewise.
49636 * debug/wcsrtombs_chk.c: Likewise.
49637 * debug/wcstombs_chk.c: Likewise.
49638 * dirent/dirent.h: Likewise.
49639 * dlfcn/dlfcn.h: Likewise.
49640 * elf/neededtest4.c: Likewise.
49641 * grp/grp.h: Likewise.
49642 * gshadow/gshadow.h: Likewise.
49643 * iconv/gconv.h: Likewise.
49644 * iconv/gconv_int.h: Likewise.
49645 * iconv/gconv_simple.c: Likewise.
49646 * iconv/iconv.h: Likewise.
49647 * iconv/loop.c: Likewise.
49648 * iconv/skeleton.c: Likewise.
49649 * include/aio.h: Likewise.
49650 * include/aliases.h: Likewise.
49651 * include/argz.h: Likewise.
49652 * include/arpa/inet.h: Likewise.
49653 * include/assert.h: Likewise.
49654 * include/dirent.h: Likewise.
49655 * include/dlfcn.h: Likewise.
49656 * include/execinfo.h: Likewise.
49657 * include/fcntl.h: Likewise.
49658 * include/fenv.h: Likewise.
49659 * include/glob.h: Likewise.
49660 * include/grp.h: Likewise.
49661 * include/libintl.h: Likewise.
49662 * include/mntent.h: Likewise.
49663 * include/netdb.h: Likewise.
49664 * include/pwd.h: Likewise.
49665 * include/rpc/netdb.h: Likewise.
49666 * include/sched.h: Likewise.
49667 * include/search.h: Likewise.
49668 * include/shadow.h: Likewise.
49669 * include/signal.h: Likewise.
49670 * include/stdio.h: Likewise.
49671 * include/stdlib.h: Likewise.
49672 * include/string.h: Likewise.
49673 * include/sys/socket.h: Likewise.
49674 * include/sys/stat.h: Likewise.
49675 * include/sys/statfs.h: Likewise.
49676 * include/sys/statvfs.h: Likewise.
49677 * include/sys/syslog.h: Likewise.
49678 * include/sys/time.h: Likewise.
49679 * include/sys/uio.h: Likewise.
49680 * include/time.h: Likewise.
49681 * include/unistd.h: Likewise.
49682 * include/utmp.h: Likewise.
49683 * include/wchar.h: Likewise.
49684 * include/wctype.h: Likewise.
49685 * inet/aliases.h: Likewise.
49686 * inet/arpa/inet.h: Likewise.
49687 * inet/netinet/ether.h: Likewise.
49688 * inet/netinet/in.h: Likewise.
49689 * intl/libintl.h: Likewise.
49690 * io/bits/fcntl2.h: Likewise.
49691 * io/fcntl.h: Likewise.
49692 * io/ftw.h: Likewise.
49693 * io/sys/poll.h: Likewise.
49694 * io/sys/stat.h: Likewise.
49695 * io/sys/statfs.h: Likewise.
49696 * io/sys/statvfs.h: Likewise.
49697 * io/utime.h: Likewise.
49698 * libio/bits/stdio.h: Likewise.
49699 * libio/bits/stdio2.h: Likewise.
49700 * libio/libio.h: Likewise.
49701 * libio/libioP.h: Likewise.
49702 * libio/stdio.h: Likewise.
49703 * locale/lc-ctype.c: Likewise.
49704 * locale/locale.h: Likewise.
49705 * login/utmp.h: Likewise.
49706 * malloc/arena.c: Likewise.
49707 * malloc/malloc.c: Likewise.
49708 * malloc/malloc.h: Likewise.
49709 * malloc/mcheck.c: Likewise.
49710 * malloc/mtrace.c: Likewise.
49711 * math/bits/mathcalls.h: Likewise.
49712 * math/fenv.h: Likewise.
49713 * math/math_private.h: Likewise.
49714 * misc/bits/error.h: Likewise.
49715 * misc/bits/syslog.h: Likewise.
49716 * misc/err.h: Likewise.
49717 * misc/error.h: Likewise.
49718 * misc/fstab.h: Likewise.
49719 * misc/mntent.h: Likewise.
49720 * misc/regexp.h: Likewise.
49721 * misc/search.h: Likewise.
49722 * misc/sgtty.h: Likewise.
49723 * misc/sys/mman.h: Likewise.
49724 * misc/sys/syslog.h: Likewise.
49725 * misc/sys/uio.h: Likewise.
49726 * misc/sys/xattr.h: Likewise.
49727 * misc/ttyent.h: Likewise.
49728 * nis/rpcsvc/ypclnt.h: Likewise.
49729 * nss/nss.h: Likewise.
49730 * posix/bits/unistd.h: Likewise.
49731 * posix/fnmatch.h: Likewise.
49732 * posix/glob.h: Likewise.
49733 * posix/sched.h: Likewise.
49734 * posix/spawn.h: Likewise.
49735 * posix/sys/wait.h: Likewise.
49736 * posix/unistd.h: Likewise.
49737 * posix/wordexp.h: Likewise.
49738 * pwd/pwd.h: Likewise.
49739 * resolv/netdb.h: Likewise.
49740 * resource/sys/resource.h: Likewise.
49741 * rt/aio.h: Likewise.
49742 * rt/bits/mqueue2.h: Likewise.
49743 * rt/mqueue.h: Likewise.
49744 * shadow/shadow.h: Likewise.
49745 * signal/signal.h: Likewise.
49746 * socket/send.c: Likewise.
49747 * socket/sendto.c: Likewise.
49748 * socket/sys/socket.h: Likewise.
49749 * stdio-common/printf.h: Likewise.
49750 * stdlib/bits/stdlib.h: Likewise.
49751 * stdlib/fmtmsg.h: Likewise.
49752 * stdlib/monetary.h: Likewise.
49753 * stdlib/stdlib.h: Likewise.
49754 * stdlib/ucontext.h: Likewise.
49755 * streams/stropts.h: Likewise.
49756 * string/argz.h: Likewise.
49757 * string/bits/string2.h: Likewise.
49758 * string/string.h: Likewise.
49759 * string/strings.h: Likewise.
49760 * sunrpc/rpc/auth.h: Likewise.
49761 * sunrpc/rpc/auth_des.h: Likewise.
49762 * sunrpc/rpc/clnt.h: Likewise.
49763 * sunrpc/rpc/netdb.h: Likewise.
49764 * sunrpc/rpc/pmap_clnt.h: Likewise.
49765 * sunrpc/rpc/xdr.h: Likewise.
49766 * sysdeps/generic/inttypes.h: Likewise.
49767 * sysdeps/generic/net/if.h: Likewise.
49768 * sysdeps/generic/sys/swap.h: Likewise.
49769 * sysdeps/gnu/net/if.h: Likewise.
49770 * sysdeps/gnu/utmpx.h: Likewise.
49771 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49772 * sysdeps/i386/i486/bits/string.h: Likewise.
49773 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49774 * sysdeps/s390/bits/string.h: Likewise.
49775 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49776 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49777 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49778 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49779 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49780 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49781 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49782 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49783 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49784 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49785 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49786 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49787 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49788 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49789 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49790 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49791 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49793 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49796 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49797 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49798 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49799 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49800 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49802 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49803 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49805 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49806 * sysvipc/sys/ipc.h: Likewise.
49807 * sysvipc/sys/msg.h: Likewise.
49808 * sysvipc/sys/sem.h: Likewise.
49809 * sysvipc/sys/shm.h: Likewise.
49810 * termios/termios.h: Likewise.
49811 * time/sys/time.h: Likewise.
49812 * time/time.h: Likewise.
49813 * wcsmbs/bits/wchar2.h: Likewise.
49814 * wcsmbs/uchar.h: Likewise.
49815 * wcsmbs/wchar.h: Likewise.
49816 * wctype/wctype.h: Likewise.
49817
49818 [BZ #13551]
49819 * Makeconfig: Remove all but ELF support including AIX support.
49820 * Makerules: Likewise.
49821 * config.h.in: Likewise.
49822 * config.make.in: Likewise.
49823 * configure: Likewise.
49824 * configure.in: Likewise.
49825 * csu/Makefile: Likewise.
49826 * csu/version.c: Likewise.
49827 * debug/Makefile: Likewise.
49828 * dlfcn/Makefile: Likewise.
49829 * elf/Makefile: Likewise.
49830 * extra-lib.mk: Likewise.
49831 * iconv/Makefile: Likewise.
49832 * include/libc-symbols.h: Likewise.
49833 * include/shlib-compat.h: Likewise.
49834 * resolv/Makefile: Likewise.
49835 * resolv/res_libc.c: Likewise.
49836 * rt/Makefile: Likewise.
49837 * sysdeps/i386/asm-syntax.h: Likewise.
49838 * sysdeps/i386/sysdep.h: Likewise.
49839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49840 * sysdeps/mach/sysdep.h: Likewise.
49841 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49842 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49843 * sysdeps/s390/asm-syntax.h: Likewise.
49844 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49846 * sysdeps/sh/sysdep.h: Likewise.
49847 * sysdeps/unix/sparc/sysdep.h: Likewise.
49848 * sysdeps/wordsize-32/divdi3.c: Likewise.
49849 * sysdeps/x86_64/sysdep.h: Likewise.
49850
49851 * argp/Versions: Remove _argp_unlock_xxx.
49852
49853 [BZ #13559]
49854 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49855 * abilist/libBrokenLocale.abilist: Likewise.
49856 * abilist/libanl.abilist: Likewise.
49857 * abilist/libc.abilist: Likewise.
49858 * abilist/libcrypt.abilist: Likewise.
49859 * abilist/libdl.abilist: Likewise.
49860 * abilist/libm.abilist: Likewise.
49861 * abilist/libnsl.abilist: Likewise.
49862 * abilist/libpthread.abilist: Likewise.
49863 * abilist/libresolv.abilist: Likewise.
49864 * abilist/librt.abilist: Likewise.
49865 * abilist/libthread_db.abilist: Likewise.
49866 * abilist/libutil.abilist: Likewise.
49867 * abilist/libnss_db.abilist: New file.
49868
49869 * scripts/abilist.awk: Add support for indirect functions.
49870
49871 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49872
49873 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49874
49875 * shlib-versions: Remove entries for ports architectures.
49876
49877 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49878 files in ports.
49879 * elf/stackguard-macros.h: Remove support for IA-64.
49880 * elf/tst-auditmod1.c: Likewise.
49881 * sysdeps/generic/ldsodefs.h: Likewise.
49882
49883 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49884 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49885 configure files.
49886
49887 [BZ #13552]
49888 * configure.in: Remove --enable-omitfp support.
49889 * FAQ.in: Adjust.
49890 * config.make.in: Likewise.
49891 * Makeconfig: Likewise.
49892 * manual/install.texi: Likewise.
49893
49894 In case anyone cares, the IA-64 architecture could move to ports.
49895 * sysdeps/ia64/*: Removed.
49896 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49897 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49898
49899 [BZ #13555]
49900 * configure.in: Remove entries for unsupported architectures.
49901
49902 [BZ #13533]
49903 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49904 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49905 routines.
49906 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49907 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49908 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49909 fall back to using wcrtomb.
49910 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49911 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49912 renaming.
49913 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49914 * wcsmbs/tst-c16c32-1.c: New file.
49915
49916 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49917 local variable.
49918
49919 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49920
49921 * elf/tst-unique3.cc: Add explicit declaration of gets.
49922 * elf/tst-unique3lib.cc: Likewise.
49923 * elf/tst-unique3lib2.cc: Likewise.
49924 * elf/tst-unique4.cc: Likewise.
49925
49926 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49927
49928 2012-01-06 Joseph Myers <joseph@codesourcery.com>
49929
49930 [BZ #13566]
49931 * assert/assert.h (static_assert): Don't define for C++.
49932 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49933 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49934
49935 2012-01-03 Ulrich Drepper <drepper@gmail.com>
49936
49937 * iconv/loop.c (single loop): Fix assertion in storing of
49938 remaining bytes.
49939
49940 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49941
49942 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49943
49944 * posix/getconf.c: Update copyright year.
49945 * nss/getent.c: Likewise.
49946 * nss/makedb.c: Likewise.
49947 * iconv/iconvconfig.c: Likewise.
49948 * iconv/iconv_prog.c: Likewise.
49949 * elf/ldconfig.c: Likewise.
49950 * elf/pldd.c: Likewise.
49951 * elf/sotruss.ksh: Likewise.
49952 * catgets/gencat.c: Likewise.
49953 * csu/version.c: Likewise.
49954 * elf/ldd.bash.in: Likewise.
49955 * elf/sprof.c (print_version): Likewise.
49956 * locale/programs/locale.c: Likewise.
49957 * locale/programs/localedef.c: Likewise.
49958 * login/programs/pt_chown.c: Likewise.
49959 * nscd/nscd.c (print_version): Likewise.
49960 * debug/xtrace.sh: Likewise.
49961 * malloc/memusage.sh: Likewise.
49962 * malloc/mtrace.pl: Likewise.
49963 * debug/catchsegv.sh: Likewise.
49964
49965 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49966
49967 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49968 pure attribute.
49969
49970 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49971
49972 [BZ #13533]
49973 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49974 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49975 transformations.
49976 * iconv/gconv_int.h: Likewise.
49977 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49978 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49979 from libc for GLIBC_2.16.
49980 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49981 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49982 * wcsmbs/uchar.h: Really define mbstate_t.
49983 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49984 * wcsmbs/c16rtomb.c: New file.
49985 * wcsmbs/mbrtoc16.c: New file.
49986 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49987 for C/POSIX locale.
49988 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49989 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49990
49991 * wcsmbs/wchar.h: Add missing __restrict.
49992
49993 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49994
49995 [BZ #13532]
49996 * time/Makefile (routines): Add timespec_get.
49997 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49998 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49999 timespec for ISO C11.
50000 * time/timespec_get.c: New file.
50001 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50002 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50003
50004 [BZ #13531]
50005 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50006 * stdlib/stdlib.h: Declare aligned_alloc.
50007 * Versions.def: Add GLIBC_2.16 for libc.
50008 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50009
50010 [BZ 13527]
50011 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50012 ISO C11.
50013
50014 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50015 code.
50016
50017 [BZ #13528]
50018 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50019
50020 [BZ #13529]
50021 * assert/assert.h (static_assert): Define.
50022
50023 * version.h: Update for 2.16 development version.
50024
50025 [BZ #13526]
50026 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50027 _ISOC11_SOURCE.
50028
50029 * version.h (RELEASE): Bump for 2.15 release.
50030 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50031
50032 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50033 Patch by Marek Polacek <mpolacek@redhat.com>.
50034
50035 * bits/byteswap.h: Protect long long constants with __extension__.
50036 * sysdeps/i386/bits/byteswap.h: Likewise.
50037 * sysdeps/ia64/bits/byteswap.h: Likewise.
50038 * sysdeps/s390/bits/byteswap.h: Likewise.
50039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50040
50041 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50042
50043 [BZ #13540]
50044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50045 destination buffer.
50046 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50047
50048 2011-12-23 Marek Polacek <polacek@redhat.com>
50049
50050 * elf/dl-addr.c (determine_info): Add inline keyword.
50051 * elf/tst-auditmod4b.c (check_avx): Likewise.
50052 * elf/tst-auditmod6b.c (check_avx): Likewise.
50053 * elf/tst-auditmod6c.c (check_avx): Likewise.
50054 * elf/tst-auditmod7b.c (check_avx): Likewise.
50055
50056 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50057
50058 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50059 !__SSE_MATH__.
50060
50061 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50062
50063 [BZ #13540]
50064 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50065 processing for last bytes.
50066
50067 2011-08-06 Bruno Haible <bruno@clisp.org>
50068
50069 [BZ #13061]
50070 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50071 U+0385, not to U+1FEE.
50072
50073 [BZ #13062]
50074 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50075 entry for U+00A5 U+0301.
50076
50077 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50078
50079 [BZ #13166]
50080 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50081 buffer for the output is too small.
50082
50083 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50084 optimization.
50085
50086 [BZ #13185]
50087 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50088 SSE flags if possible.
50089
50090 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50091
50092 [BZ #13540]
50093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50094 processing for last bytes.
50095
50096 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50097
50098 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50099 (syscall-list-default-options, syscall-list-default-condition)
50100 (syscall-list-includes): Define.
50101 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50102 list of ABIs and options and #if conditions for each ABI. Do not
50103 handle common syscalls between ABIs specially.
50104 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50105 Remove.
50106 (syscall-list-variants, syscall-list-32bit-options)
50107 (syscall-list-32bit-condition, syscall-list-64bit-options)
50108 (syscall-list-64bit-condition): Define.
50109 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50110 (syscall-list-variants, syscall-list-32bit-options)
50111 (syscall-list-32bit-condition, syscall-list-64bit-options)
50112 (syscall-list-64bit-condition): Define.
50113 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50114 Remove.
50115 (syscall-list-variants, syscall-list-32bit-options)
50116 (syscall-list-32bit-condition, syscall-list-64bit-options)
50117 (syscall-list-64bit-condition): Define.
50118 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50119 Remove.
50120 (syscall-list-variants, syscall-list-32bit-options)
50121 (syscall-list-32bit-condition, syscall-list-64bit-options)
50122 (syscall-list-64bit-condition): Define.
50123
50124 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50125
50126 * locale/iso-639.def: Add brx entry.
50127
50128 [BZ #13328]
50129 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50130 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50131
50132 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50133 __feraiseexcept_renamed.
50134
50135 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50136
50137 [BZ #13538]
50138 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50139 EPOLLET with unsigned values.
50140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50141 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50142
50143 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50144 to large cancellation.
50145 * math/s_cacoshf.c: Likewise.
50146 * math/s_cacoshl.c: Likewise.
50147
50148 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50149
50150 [BZ #13305]
50151 [BZ #12786]
50152 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50153 * math/s_cacoshf.c: Likewise.
50154 * math/s_cacoshl.c: Likewise.
50155
50156 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50157
50158 [BZ #13439]
50159 * iconv/gconv.h: Define __GCONV_SWAP.
50160 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50161 * iconvdata/utf-16.c: Likewise.
50162 * iconvdata/utf-32.c: Likewise.
50163
50164 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50165
50166 [BZ #13524]
50167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50168 numerator after shifting it by one limb.
50169
50170 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50171
50172 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50173 under [__USE_EXTERN_INLINES].
50174
50175 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50176
50177 [BZ #13446]
50178 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50179
50180 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50181
50182 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50183 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50184 optimized code.
50185 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50186 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50187 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50188 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50189 for strncasecmp/strncasecmp_l compilation.
50190 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50191 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50192
50193 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50194
50195 [BZ #13484]
50196 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50197 of __asm__.
50198
50199 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50200
50201 [BZ #13506]
50202 * time/tzfile.c (__tzfile_read): Check values from file header.
50203
50204 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50205
50206 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50207 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50208 * powerpc/powerpc32/dl-start.S: Likewise.
50209 * powerpc/powerpc32/elf/start.S: Likewise.
50210 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50211 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50212 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50213 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50214 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50215 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50216 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50217 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50218 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50219 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50220 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50221 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50222 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50223 * powerpc/powerpc32/memset.S: Likewise.
50224 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50225 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50226 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50227 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50228 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50229 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50230 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50231 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50232 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50233 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50234 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50235 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50236 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50237
50238 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50239
50240 * math/libm-test.inc: Added more nearbyint tests.
50241 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50245
50246 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50247
50248 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50249 FD_CLOEXEC.
50250
50251 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50252
50253 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50254 Add wcscpy-ssse3 wcscpy-c.
50255 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50256 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50257 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50258 * sysdeps/x86_64/wcschr.S: New file.
50259 * sysdeps/x86_64/wcsrchr.S: New file.
50260 * string/test-strcmp.c: Remove checking of wcscmp function for
50261 wrong alignments.
50262 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50263 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50264 wcsrchr-sse2 wcsrchr-c.
50265 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50266 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50267 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50268 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50269 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50270 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50271 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50272 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50273 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50274 * wcsmbc/wcschr.c (WCSCHR): New macro.
50275
50276 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50277
50278 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50279 * wcsmbs/test-wcsrchr.c: New file.
50280 * string/test-strrchr.c: Add wcsrchr support.
50281 (WIDE): New macro.
50282 * wcsmbs/test-wcscpy.c: New file.
50283 * string/test-strcpy.c: Add wcscpy support.
50284 (WIDE): New macro.
50285
50286 2011-12-10 Ulrich Drepper <drepper@gmail.com>
50287
50288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50289 the inner loop.
50290
50291 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50292
50293 [BZ #13472]
50294 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50295
50296 2011-12-04 Ulrich Drepper <drepper@gmail.com>
50297
50298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50299 Minor optimizations.
50300
50301 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50302 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50303 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50304
50305 2011-12-03 Ulrich Drepper <drepper@gmail.com>
50306
50307 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50308 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50309 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50310 for gcc to avoid warnings.
50311 * inet/Makefile (tests): Add tst-checks.
50312 * inet/tst-checks.c: New file.
50313
50314 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50315 warning.
50316
50317 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50318 __wmemcmp_sse2.
50319
50320 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50321 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50322
50323 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50324
50325 2011-12-02 Ulrich Drepper <drepper@gmail.com>
50326
50327 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50328 problem.
50329
50330 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50331
50332 2011-11-29 Joseph Myers <joseph@codesourcery.com>
50333
50334 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50335 conditional on GCC version.
50336 (__arch_compare_and_exchange_val_8_acq)
50337 (__arch_compare_and_exchange_val_16_acq)
50338 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50339 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50340 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50341
50342 2011-12-02 Joseph Myers <joseph@codesourcery.com>
50343
50344 * sysdeps/sh/backtrace.c: New file.
50345
50346 2011-12-02 Andreas Schwab <schwab@redhat.com>
50347
50348 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50349 parenthesis.
50350
50351 2011-12-01 Andreas Schwab <schwab@redhat.com>
50352
50353 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50354 falling back to utime.
50355
50356 2011-11-30 Andreas Schwab <schwab@redhat.com>
50357
50358 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50359 expectations for float.
50360
50361 2011-11-29 Andreas Schwab <schwab@redhat.com>
50362
50363 * locale/weight.h (findidx): Add parameter len.
50364 * locale/weightwc.h (findidx): Likewise.
50365 * posix/fnmatch_loop.c (FCT): Adjust caller.
50366 * posix/regcomp.c (build_equiv_class): Likewise.
50367 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50368 * posix/regexec.c (check_node_accept_bytes): Likewise.
50369 * string/strcoll_l.c (STRCOLL): Likewise.
50370 * string/strxfrm_l.c (STRXFRM): Likewise.
50371
50372 2011-11-17 Ulrich Drepper <drepper@gmail.com>
50373
50374 * Makefile.in: Remove CVSOPT handling.
50375 * configure.in: Remove use of AC_REVISION.
50376 * iconvdata/Makefile (distribute): No need to filter out CVS.
50377 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50378 handling.
50379
50380 2011-11-16 Andreas Schwab <schwab@redhat.com>
50381
50382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50383 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50384 [USE_AS_STRNCASECMP_L]: Likewise.
50385 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50386 NO_TLS_DIRECT_SEG_REFS.
50387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50388 Fix argument offsets for non-PIC.
50389 [USE_AS_STRNCASECMP_L]: Likewise.
50390 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50391 NO_TLS_DIRECT_SEG_REFS.
50392
50393 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50394
50395 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50396 O_CLOEXEC.
50397 * locale/loadlocale.c (_nl_load_locale): Likewise.
50398
50399 2011-11-15 Andreas Schwab <schwab@redhat.com>
50400
50401 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50402 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50404 (SYSCALL_GETTIME): Set errno on error.
50405
50406 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50407 count references to noai6ai_cached.
50408
50409 2011-11-15 Ulrich Drepper <drepper@gmail.com>
50410
50411 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50412
50413 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50414 FD_CLOEXEC for /proc/self/maps.
50415
50416 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50417 FD_CLOEXEC for /proc/meminfo.
50418
50419 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50420 gai.conf.
50421
50422 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50423 FD_CLOEXEC for given file.
50424
50425 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50426
50427 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50428 FD_CLOEXEC for /etc/hosts.
50429 (_gethtent): Likewise.
50430
50431 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50432
50433 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50434 cancellation and set FD_CLOEXEC for /etc/netgroup.
50435
50436 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50437 reading /etc/publickey.
50438
50439 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50440 allow cancellation when reading /etc/group.
50441
50442 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50443 cancellation.
50444 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50445
50446 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50447 when using data file.
50448
50449 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50450
50451 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50452 (write_nis_obj): Use "c" and "e" in fopen.
50453
50454 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50455
50456 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50457
50458 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50459
50460 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50461
50462 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50463 locale.alias.
50464
50465 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50466
50467 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50468
50469 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50470
50471 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50472 file parsing and set FD_CLOEXEC.
50473
50474 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50475
50476 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50477
50478 2011-11-14 Andreas Schwab <schwab@redhat.com>
50479
50480 * malloc/arena.c (arena_get2): Don't call reused_arena when
50481 _int_new_arena failed.
50482
50483 2011-11-14 Ulrich Drepper <drepper@gmail.com>
50484
50485 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50486 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50488 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50491 to compile strcasecmp and strncasecmp.
50492 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50493 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50494
50495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50496
50497 2011-11-13 Ulrich Drepper <drepper@gmail.com>
50498
50499 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50500 locale-defines.sym to gen-as-const-headers.
50501 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50502 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50504 to compile strcasecmp and strncasecmp.
50505 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50506 strcasecmp_l and strncasecmp_l.
50507 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50508 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50509 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50510 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50511 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50513 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50514 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50515 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50516 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50517 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50518
50519 2011-11-12 Ulrich Drepper <drepper@gmail.com>
50520
50521 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50522 result of SYSDEP_GETTIME_CPU to retval.
50523 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50524 parameter list to macro. Remove trailing semicolon. Adjust users.
50525
50526 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50527 variable.
50528
50529 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50530 mantissa words.
50531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50532
50533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50534 from unused variable.
50535
50536 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50537 DWARF definitions.
50538 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50539 for assembling.
50540
50541 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50542 over namespaces.
50543
50544 * sunrpc/rpc_prot.c (rejected): Fix case value.
50545
50546 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50547 unsigned long long int to avoid warnings in shift.
50548
50549 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50550 of use of trans.
50551 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50552 variable tmp.
50553
50554 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50555 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50556 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50557
50558 * nis/nis_table.c (nis_list): Use variable of correct type for
50559 result of __follow_path call.
50560
50561 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50562
50563 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50564 of math functions ceil, trunc, floor, round, and sqrt, when
50565 avaliable on the platform.
50566 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50567 name clash.
50568 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50569 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50570 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50571
50572 2011-10-30 Marek Polacek <mpolacek@redhat.com>
50573
50574 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50576
50577 2011-11-11 Roland McGrath <roland@hack.frob.com>
50578
50579 * include/unistd.h: Fix __readlink return type.
50580 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50581
50582 2011-11-11 Ulrich Drepper <drepper@gmail.com>
50583
50584 * stdlib/ucontext.h: Undo last change for makecontext.
50585
50586 2011-11-11 Andreas Schwab <schwab@redhat.com>
50587
50588 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50589
50590 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50591 * setjmp/setjmp.h: Mark functions as non-leaf.
50592 * setjmp/bits/setjmp2.h: Likewise.
50593 * stdlib/ucontext.h: Likewise.
50594
50595 2011-11-10 Andreas Schwab <schwab@redhat.com>
50596
50597 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50598 (reused_arena): Don't check arena limit.
50599 (arena_get2): Atomically check arena limit.
50600
50601 2011-11-08 Ulrich Drepper <drepper@gmail.com>
50602
50603 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50604 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50605
50606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50607 instructions.
50608
50609 2011-11-07 Andreas Schwab <schwab@redhat.com>
50610
50611 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50612 handler when locking.
50613
50614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50615 Fix size of allocated buffer.
50616
50617 2011-11-04 Andreas Schwab <schwab@redhat.com>
50618
50619 [BZ #10103]
50620 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50621 declarations for long double functions.
50622 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50623
50624 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50625
50626 2011-11-03 Andreas Schwab <schwab@redhat.com>
50627
50628 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50629 installed.
50630
50631 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50632 is disabled.
50633
50634 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50635
50636 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50637
50638 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50639
50640 * include/alloca.h (stackinfo_alloca_round): Define.
50641 (extend_alloca): Use it.
50642 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50643 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50644 here.
50645
50646 * scripts/check-local-headers.sh: Ignore libaudit.h.
50647
50648 * nscd/Makefile (extra-objs): Make recursively expanded.
50649
50650 2011-11-01 Ulrich Drepper <drepper@gmail.com>
50651
50652 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50654
50655 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50656 * posix/tst-rfc3484-2.c: Likewise.
50657 * posix/tst-rfc3484-3.c: Likewise.
50658
50659 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50660 process_vm_writev.
50661 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50662 process_vm_writev.
50663 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50664 process_vm_writev from libc using GLIBC_2.15 version.
50665
50666 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50667
50668 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50669
50670 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50671 stack usage.
50672
50673 2011-10-31 Ulrich Drepper <drepper@gmail.com>
50674
50675 [BZ #13367]
50676 * nss/getent.c (initgroups_keys): Show error message in case no group
50677 names are given.
50678
50679 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50680 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50681 __bump_nl_timestamp.
50682 * nscd/connections (nscd_init): When host database is served open
50683 netlink socket and request notification about configuration changes.
50684 (main_loop_poll): Track netlink file descriptor and bump timestamp
50685 in case data becomes available.
50686 (main_loop_epoll): Likewise.
50687 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50688 (database_pers_head): Add extra_data fileds.
50689 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50690 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50691 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50692 Adjust caller.
50693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50694 in6ai data, call __free_in6ai.
50695 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50696 Add -DHAVE_NETLINK.
50697 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50698 interface information. Reuse previous data if netlink timestamp
50699 is not changed.
50700 (__bump_nl_timestamp): New function.
50701 (__free_in6ai): New function.
50702
50703 2011-10-30 Ulrich Drepper <drepper@gmail.com>
50704
50705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50706 close_not_cancel_no_status here.
50707 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50708
50709 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50710
50711 [BZ #13276]
50712 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50713 return value.
50714
50715 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50716 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50717 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50718
50719 2011-07-03 Andreas Jaeger <aj@suse.de>
50720
50721 [BZ #10709]
50722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50723 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50724 * math/libm-test.inc (sin_test): Add test case.
50725
50726 2011-10-29 Ulrich Drepper <drepper@gmail.com>
50727
50728 [BZ #13337]
50729 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50730 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50731
50732 * elf/chroot_canon.c (chroot_canon): Cleanups.
50733
50734 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50735
50736 [BZ #13335]
50737 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50738 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50739
50740 * string/test-strchr.c: Make usable for strchrnul testing.
50741 * string/test-strchrnul.c: New file.
50742 * string/Makefile (strop-tests): Add strchrnul.
50743
50744 * po/it.po: Update from translation team.
50745 * po/es.po: Likewise.
50746
50747 2011-10-28 Ulrich Drepper <drepper@gmail.com>
50748
50749 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50750 the three constants needed as parameters. Drop the others.
50751 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50752 __m128i_strloadu_tolower.
50753 Create and initialize variable zero and use it in all the places
50754 where _mm_setzero_si128 was used.
50755
50756 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50757 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50758 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50760 anymore.
50761 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50762 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50763 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50764 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50765 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50766 __mpranred, __mptan.
50767 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50768 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50769 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50770 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50771 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50772 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50774 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50775 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50776
50777 2011-10-28 Andreas Schwab <schwab@redhat.com>
50778
50779 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50780 redefine if SHARED.
50781 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50782
50783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50784 wide char related routines to wcsmbs subdir.
50785
50786 2011-10-27 Andreas Schwab <schwab@redhat.com>
50787
50788 [BZ #13344]
50789 * misc/sys/cdefs.h (__THROWNL): Define.
50790 * posix/unistd.h: Use __THREADNL instead of __THREAD
50791 for memory synchronization functions.
50792
50793 2011-10-26 Roland McGrath <roland@hack.frob.com>
50794
50795 [BZ #13349]
50796 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50797 doesn't exist.
50798 * manual/stdio.texi (Obstack Streams): Node removed.
50799
50800 2011-10-26 Andreas Schwab <schwab@redhat.com>
50801
50802 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50803 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50804 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50805
50806 * math/math_private.h (math_force_eval): Allow non-addressable
50807 arguments.
50808 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50809
50810 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50811
50812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50813 file is not needed.
50814
50815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50818 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50822 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50823 Add AVX variants.
50824 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50825 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50826 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50827 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50828 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50829 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50830 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50831 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50832 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50833 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50834 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50835 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50837 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50838 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50839 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50841 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50842 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50843
50844 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50845 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50846
50847 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50848 place. Use VEX encoding when compiling for AVX.
50849
50850 2011-10-25 Andreas Schwab <schwab@redhat.com>
50851
50852 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50853 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50854
50855 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50856
50857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50858
50859 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50860 useless if() expression.
50861 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50862 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50866 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50867 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50871 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50872 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50873 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50875 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50877 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50879 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50880
50881 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50882
50883 2011-10-25 Andreas Schwab <schwab@redhat.com>
50884
50885 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50886 condition.
50887 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50888
50889 2011-10-25 Ulrich Drepper <drepper@gmail.com>
50890
50891 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50892 .text section. Avoid duplicate constants.
50893 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50895 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50901 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50902 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50903 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50904 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50905 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50906 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50907 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50908 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50910 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50920 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50922 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50924 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50925 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50926 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50927 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50928 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50929 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50931 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50932 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50934 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50935 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50936 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50937 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50938
50939 2011-10-24 Ulrich Drepper <drepper@gmail.com>
50940
50941 * sysdeps/x86_64/dla.h: Move to ...
50942 * sysdeps/x86_64/fpu/dla.h: ...here.
50943 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50944 situations. Use __builtin_fma only for gcc 4.6 and up.
50945
50946 * config.make.in: Add have-mfma4 entry.
50947 * configure.in: Substitute libc_cv_cc_fma4.
50948 * math/Makefile (dbl-only-routines): Add sincostab.
50949 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50950 Use __sincostab not sincos.
50951 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50952 name is a macro.
50953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50957 using __copysign.
50958 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50959 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50960 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50961 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50962 and __inv.
50963 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50964 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50965 __copysign.
50966 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50967 define aliases when function name is a macro.
50968 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50969 sysdeps/ieee754/dbl-64/sincos.tbl.
50970 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50971 fma4-enabled routines.
50972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50977 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50978 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50979 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50980 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50981 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50982 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50983 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50984 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50987 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50988 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50989 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50990 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50992 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50996 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50999 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51000 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51001 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51002
51003 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51004 rename.
51005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51013
51014 2011-10-24 Andreas Schwab <schwab@redhat.com>
51015
51016 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51017
51018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51019
51020 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51021
51022 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51023 prediction.
51024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51025
51026 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51027 Remove unused variable magic_bits.
51028 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51029
51030 * string/strnlen.c: Define and use STRNLEN macro.
51031 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51032 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51034 * wcsmbs/wcslen.c: Define and use WCSLEN.
51035 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51036 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51037 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51038 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51039 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51040 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51042
51043 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51044
51045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51046 strnlen-sse2-no-bsf.
51047 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51049 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51050 Add strnlen support.
51051 (USE_AS_STRNLEN): New macro.
51052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51054 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51055 * sysdeps/x86_64/wcslen.S: New file.
51056
51057 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51058
51059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51060 XMM-moves are used for copying on small sizes.
51061
51062 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51063
51064 * wcsmbs/Makefile (strop-tests): Add wcschr.
51065 * wcsmbs/test-wcschr.c: New file.
51066 * string/test-strchr.c: Update.
51067 Add wcschr support.
51068 (WIDE): New macro.
51069
51070 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51071
51072 * wcsmbs/Makefile (strop-tests): Add wcslen.
51073 * wcsmbs/test-wcslen.c: New file.
51074 * string/test-strlen.c: Update.
51075 Add wcslen support.
51076 (WIDE): New macro.
51077
51078 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51079
51080 * po/it.po: Update from translation team.
51081
51082 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51083
51084 * sysdeps/x86_64/wcscmp.S: Update.
51085 Fix wrong comparison semantics.
51086 wcscmp shall use signed comparison not unsigned.
51087 Don't use substraction to avoid overflow bug.
51088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51089 * wcsmbc/wcscmp.c: Likewise.
51090 * string/test-strcmp.c: Likewise.
51091 Add new tests to check cases with negative values.
51092
51093 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51094
51095 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51096 * sysdeps/x86_64/dla.h: ...here. New file.
51097 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51106
51107 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51108
51109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51110 __ynl_finite aliases.
51111
51112 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51113
51114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51115
51116 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51117 define DLA_FMA.
51118 [DLA_FMA] (EMULV): Use DLA_FMA.
51119 [DLA_FMA] (MUL12): Use EMULV.
51120 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51121 that are not needed.
51122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51129
51130 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51131
51132 * math/s_nan.c: Undef __nan.
51133 * math/s_nanf.c: Undef __nanf.
51134 * math/s_nanl.c: Undef __nanl.
51135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51136 "math_private.h".
51137
51138 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51139
51140 * math/s_catan.c: Add branch predictions.
51141 * math/s_catanf.c: Likewise.
51142 * math/s_catanh.c: Likewise.
51143 * math/s_catanhf.c: Likewise.
51144 * math/s_catanhl.c: Likewise.
51145 * math/s_catanl.c: Likewise.
51146 * math/s_cexp.c: Likewise.
51147 * math/s_cexpf.c: Likewise.
51148 * math/s_cexpl.c: Likewise.
51149 * math/s_clog.c: Likewise.
51150 * math/s_clog10.c: Likewise.
51151 * math/s_clog10f.c: Likewise.
51152 * math/s_clog10l.c: Likewise.
51153 * math/s_clogf.c: Likewise.
51154 * math/s_clogl.c: Likewise.
51155 * math/s_csqrt.c: Likewise.
51156 * math/s_csqrtf.c: Likewise.
51157 * math/s_csqrtl.c: Likewise.
51158 * math/s_ctanf.c: Likewise.
51159 * math/s_ctanh.c: Likewise.
51160 * math/s_ctanhf.c: Likewise.
51161 * math/s_ctanhl.c: Likewise.
51162 * math/s_ctanl.c: Likewise.
51163
51164 * math/math_private.h: Define __nan, __nanf, __nanl.
51165 * math/s_cacosh.c: Include <math_private.h>.
51166 * math/s_cacoshl.c: Likewise.
51167 * math/s_casinh.c: Likewise.
51168 * math/s_casinhf.c: Likewise.
51169 * math/s_casinhl.c: Likewise.
51170 * math/s_ccos.c: Rely entire on ccosh.
51171 * math/s_ccosf.c: Rely entire on ccoshf.
51172 * math/s_ccosl.c: Rely entirely on ccoshl.
51173 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51174 Remove tests for FE_INVALID.
51175 * math/s_ccoshf.c: Likewise.
51176 * math/s_ccoshl.c: Likewise.
51177 * math/s_csin.c: Likewise.
51178 * math/s_csinf.c: Likewise.
51179 * math/s_csinh.c Likewise.
51180 * math/s_csinhf.c: Likewise.
51181 * math/s_csinhl.c: Likewise.
51182 * math/s_csinl.c: Likewise.
51183 * math/s_ctan.c: Likewise.
51184 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51185 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51186 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51187
51188 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51189
51190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51191 compilation problems.
51192
51193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51194 __builtin_expect.
51195
51196 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51197
51198 * sysdeps/i386/configure.in: Test for -mfma4 option.
51199 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51200 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51201 COMMON_CPUID_INDEX_80000001.
51202 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51203 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51204 use it if FMA3 is not supported.
51205 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51206
51207 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51208 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51209
51210 2011-10-20 Andreas Schwab <schwab@redhat.com>
51211
51212 [BZ #12892]
51213 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51214 it would create a cycle with a link time dependency.
51215
51216 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51217
51218 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51219 instruction.
51220 * string/Makefile (strop-tests): Add rawmemchr.
51221 * string/test-rawmemchr.c: New file.
51222
51223 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51225 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51226 when compiling str{,n}casecmp and when AVX is available. Hook up
51227 new optimized code in initializers.
51228
51229 2011-10-19 Andreas Schwab <schwab@redhat.com>
51230
51231 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51232 __feraiseexcept instead of feraiseexcept.
51233
51234 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51235
51236 * math/math_private.h: Define defaults for libc_fetestexcept and
51237 libc_feupdateenv.
51238 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51239 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51240 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51241 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51242 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51243 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51244 libc_fetestexcept and libc_feupdateenv.
51245
51246 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51247 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51248 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51249 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51250 libc_feholdexcept_setround.
51251
51252 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51253 Add s_nearbyint-c and s_nearbyintf-c.
51254 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51255 nearbyintf inlines.
51256 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51258 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51259 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51260
51261 * math/math_private.h: Define defaults for libc_fegetround,
51262 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51263 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51264 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51265 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51266 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51267 standard functions.
51268 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51269 Remove comments and hacks for old compiler versions.
51270 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51271 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51272 libc_feholdexceptl.
51273
51274 2011-10-18 Andreas Schwab <schwab@redhat.com>
51275
51276 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51277 (__feraiseexcept_renamed): Add __NTH.
51278 (feraiseexcept): Add __NTH. Rename local variables to fix
51279 namespace violations.
51280
51281 2011-10-17 Ulrich Drepper <drepper@gmail.com>
51282
51283 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51284
51285 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51286
51287 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51288 recently added interfaces.
51289 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51290
51291 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51292 about macro parameter expansion.
51293
51294 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51295 __NO_MATH_INLINES is defined. Cleanups.
51296
51297 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51298 and __floorf is target has SSE4.1.
51299 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51300 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51301 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51302 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51303
51304 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51305 name.
51306 (floorf): Likewise.
51307
51308 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51309
51310 2011-10-17 Andreas Schwab <schwab@redhat.com>
51311
51312 * misc/sys/cdefs.h: Fix last change.
51313
51314 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51315 database lookup.
51316
51317 2011-10-16 Ulrich Drepper <drepper@gmail.com>
51318
51319 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51320
51321 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51322 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51323 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51328 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51329 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51330 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51331 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51332 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51333 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51334 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51335 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51336 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51338 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51339 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51340 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51341 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51342 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51343
51344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51345 ceil, ceilf, floor, floorf.
51346
51347 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51348 Perform IRELATIVE relocations last.
51349
51350 * elf/do-rel.h: Add another parameter nrelative, replacing the
51351 local variable with the same name. Change name of the function
51352 to end in Rel or Rela (uppercase).
51353 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51354 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51355 elf_dynamic_do_##reloc function.
51356
51357 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51358
51359 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51360 is sufficient, at least on modern CPUs.
51361
51362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51363
51364 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51365 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51366
51367 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51368 __expl_finite.
51369 * math/bits/math-finite.h: Add entries for exp.
51370 * math/e_expl.c: Add __*_finite alias.
51371 * sysdeps/i386/fpu/e_exp.S: Likewise.
51372 * sysdeps/i386/fpu/e_expf.S: Likewise.
51373 * sysdeps/i386/fpu/e_expl.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51375 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51380 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51381
51382 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51383 is sufficient, at least on modern CPUs.
51384
51385 * ctype/ctype-info.c (__ctype_init): Define.
51386 * include/ctype.h (__ctype_init): Declare.
51387 (__ctype_b_loc): The variable is always initialized.
51388 (__ctype_toupper_loc): Likewise.
51389 (__ctype_tolower_loc): Likewise.
51390 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51391 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51392
51393 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51394
51395 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51396
51397 * configure.in: Also look in $cxxmachine/include for C++ system
51398 headers.
51399
51400 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51401
51402 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51403 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51404 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51405 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51407 (USE_AS_WMEMCMP): New macro.
51408 Fixing indents.
51409 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51410 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51411 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51412 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51414 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51415 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51416 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51417 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51418 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51419 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51420 (USE_AS_WMEMCMP): New macro.
51421 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51422 * sysdeps/string/test-memcmp.c: Update.
51423 Fix simple_wmemcmp.
51424 Add new tests.
51425 * wcsmbs/wmemcmp.c: Update.
51426 (WMEMCMP): New macro.
51427 Fix overflow bug.
51428
51429 2011-10-12 Andreas Jaeger <aj@suse.de>
51430
51431 [BZ #13268]
51432 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51433
51434 2011-10-15 Ulrich Drepper <drepper@gmail.com>
51435
51436 * libio/iofwide.c (do_length): Avoid warning.
51437
51438 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51439
51440 2011-10-14 Ulrich Drepper <drepper@gmail.com>
51441
51442 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51443
51444 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51445 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51446 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51447 * sysdeps/i386/i686/fpu/e_log.S: New file.
51448 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51449 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51450
51451 * ctype/ctype.h: Add support for inlined isXXX functions when
51452 compiling C++ code.
51453
51454 2011-10-14 Andreas Schwab <schwab@redhat.com>
51455
51456 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51457
51458 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51459
51460 2011-10-13 Roland McGrath <roland@hack.frob.com>
51461
51462 [BZ #13291]
51463 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51464
51465 2011-10-13 Andreas Schwab <schwab@redhat.com>
51466
51467 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51468 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51469 feraiseexcept.
51470
51471 * sysdeps/x86_64/memrchr.S: Check for zero size.
51472
51473 * string/stratcliff.c: Add memrchr tests.
51474
51475 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51476
51477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51478 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51479 rawmemchr-sse2 rawmemchr-sse2-bsf.
51480 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51481 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51482 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51483 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51484 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51485 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51486 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51487 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51488 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51489 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51490 * string/memrchr.c (MEMRCHR): New macro.
51491
51492 2011-10-12 Ulrich Drepper <drepper@gmail.com>
51493
51494 Add integration with gcc's -ffinite-math-only and optimize wrapper
51495 functions in libm.
51496 * Versions.def: Define GLIBC_2.15 version for libm.
51497 * math/Makefile (headers): Add bits/math-finite.h.
51498 * math/bits/math-finite.h: New file.
51499 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51500 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51501 * math/e_acoshl.c: Add __*_finite alias.
51502 * math/e_acosl.c: Likewise.
51503 * math/e_asinl.c: Likewise.
51504 * math/e_atan2l.c: Likewise.
51505 * math/e_atanhl.c: Likewise.
51506 * math/e_coshl.c: Likewise.
51507 * math/e_exp10.c: Likewise.
51508 * math/e_exp10f.c: Likewise.
51509 * math/e_exp10l.c: Likewise.
51510 * math/e_exp2l.c: Likewise.
51511 * math/e_fmodl.c: Likewise.
51512 * math/e_gammal_r.c: Likewise.
51513 * math/e_hypotl.c: Likewise.
51514 * math/e_j0l.c: Likewise.
51515 * math/e_j1l.c: Likewise.
51516 * math/e_jnl.c: Likewise.
51517 * math/e_lgammal_r.c: Likewise.
51518 * math/e_log10l.c: Likewise.
51519 * math/e_log2l.c: Likewise.
51520 * math/e_logl.c: Likewise.
51521 * math/e_powl.c: Likewise.
51522 * math/e_sinhl.c: Likewise.
51523 * math/e_sqrtl.c: Likewise.
51524 * math/e_scalb.c: Completely rewritten and optimized.
51525 * math/e_scalbf.c: Likewise.
51526 * math/e_scalbl.c: Likewise.
51527 * math/w_acos.c: Likewise.
51528 * math/w_acosf.c: Likewise.
51529 * math/w_acosl.c: Likewise.
51530 * math/w_acosh.c: Likewise.
51531 * math/w_acoshf.c: Likewise.
51532 * math/w_acoshl.c: Likewise.
51533 * math/w_asin.c: Likewise.
51534 * math/w_asinf.c: Likewise.
51535 * math/w_asinl.c: Likewise.
51536 * math/w_atan2.c: Likewise.
51537 * math/w_atan2f.c: Likewise.
51538 * math/w_atan2l.c: Likewise.
51539 * math/w_atanh.c: Likewise.
51540 * math/w_atanhf.c: Likewise.
51541 * math/w_atanhl.c: Likewise.
51542 * math/w_exp10.c: Likewise.
51543 * math/w_exp10f.c: Likewise.
51544 * math/w_exp10l.c: Likewise.
51545 * math/w_fmod.c: Likewise.
51546 * math/w_fmodf.c: Likewise.
51547 * math/w_fmodl.c: Likewise.
51548 * math/w_j0.c: Likewise.
51549 * math/w_j0f.c: Likewise.
51550 * math/w_j0l.c: Likewise.
51551 * math/w_j1.c: Likewise.
51552 * math/w_j1f.c: Likewise.
51553 * math/w_j1l.c: Likewise.
51554 * math/w_jn.c: Likewise.
51555 * math/w_jnf.c: Likewise.
51556 * math/w_log.c: Likewise.
51557 * math/w_logf.c: Likewise.
51558 * math/w_logl.c: Likewise.
51559 * math/w_log10.c: Likewise.
51560 * math/w_log10f.c: Likewise.
51561 * math/w_log10l.c: Likewise.
51562 * math/w_log2.c: Likewise.
51563 * math/w_log2f.c: Likewise.
51564 * math/w_log2l.c: Likewise.
51565 * math/w_pow.c: Likewise.
51566 * math/w_powf.c: Likewise.
51567 * math/w_powl.c: Likewise.
51568 * math/w_remainder.c: Likewise.
51569 * math/w_remainderf.c: Likewise.
51570 * math/w_remainderl.c: Likewise.
51571 * math/w_scalb.c: Likewise.
51572 * math/w_scalbf.c: Likewise.
51573 * math/w_scalbl.c: Likewise.
51574 * math/w_sqrt.c: Likewise.
51575 * math/w_sqrtf.c: Likewise.
51576 * math/w_sqrtl.c: Likewise.
51577 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51578 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51579 used.
51580 * math/math_private.h: Declare __kernel_standard_f.
51581 * math/w_cosh.c: Remove cruft and optimize a bit.
51582 * math/w_coshf.c: Likewise.
51583 * math/w_coshl.c: Likewise.
51584 * math/w_exp2.c: Likewise.
51585 * math/w_exp2f.c: Likewise.
51586 * math/w_exp2l.c: Likewise.
51587 * math/w_hypot.c: Likewise.
51588 * math/w_hypotf.c: Likewise.
51589 * math/w_hypotl.c: Likewise.
51590 * math/w_lgamma.c: Likewise.
51591 * math/w_lgamma_r.c: Likewise.
51592 * math/w_lgammaf.c: Likewise.
51593 * math/w_lgammaf_r.c: Likewise.
51594 * math/w_lgammal.c: Likewise.
51595 * math/w_lgammal_r.c: Likewise.
51596 * math/w_sinh.c: Likewise.
51597 * math/w_sinhf.c: Likewise.
51598 * math/w_sinhl.c: Likewise.
51599 * math/w_tgamma.c: Likewise.
51600 * math/w_tgammaf.c: Likewise.
51601 * math/w_tgammal.c: Likewise.
51602 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51603 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51604 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51605 Minor optimizations. Pretty printing. Remove cruft.
51606 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51607 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51608 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51609 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51610 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51611 * sysdeps/i386/fpu/e_asin.S: Likewise.
51612 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51613 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51614 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51615 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51616 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51617 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51618 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51619 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51620 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51621 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51622 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51623 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51624 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51625 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51626 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51627 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51628 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51629 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51630 * sysdeps/i386/fpu/e_log.S: Likewise.
51631 * sysdeps/i386/fpu/e_log10.S: Likewise.
51632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51633 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51634 * sysdeps/i386/fpu/e_log2.S: Likewise.
51635 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51637 * sysdeps/i386/fpu/e_logf.S: Likewise.
51638 * sysdeps/i386/fpu/e_logl.S: Likewise.
51639 * sysdeps/i386/fpu/e_pow.S: Likewise.
51640 * sysdeps/i386/fpu/e_powf.S: Likewise.
51641 * sysdeps/i386/fpu/e_powl.S: Likewise.
51642 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51643 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51644 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51645 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51646 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51647 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51648 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51649 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51650 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51659 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51661 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51664 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51672 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51673 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51675 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51676 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51677 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51678 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51679 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51680 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51681 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51682 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51685 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51686 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51687 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51688 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51689 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51690 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51691 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51701 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51706 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51707 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51708 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51727 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51730 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51732 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51734 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51736 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51737 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51738 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51739 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51740 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51746 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51747 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51748 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51749 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51750 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51751 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51752 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51753 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51754 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51756 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51757 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51758 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51759 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51761 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51762 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51763 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51764 (__isnanf): Likewise.
51765 (__isinf_ns): Likewise.
51766 (__isinf_nsf): Likewise.
51767 (__finite): Likewise.
51768 (__finitef): Likewise.
51769 (__ieee754_sqrt): Define as macro.
51770 (__ieee754_sqrtf): Define as macro.
51771 (__ieee754_sqrtl): Define as macro.
51772 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51773 inlined copy.
51774 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51775 __FINITE_MATH_ONLY__ consistent.
51776 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51777
51778 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51779
51780 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51781 of rawmemchr.
51782
51783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51784
51785 2011-10-09 Ulrich Drepper <drepper@gmail.com>
51786
51787 * po/ja.po: Update from translation team.
51788
51789 2011-10-08 Roland McGrath <roland@hack.frob.com>
51790
51791 * locale/programs/locarchive.c (prepare_address_space): New function.
51792 (create_archive, enlarge_archive, open_archive): Use it.
51793
51794 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51795 inside [SHARED], where it is used.
51796
51797 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51798
51799 * nss/getent.c (netgroup_keys): Remove unused variable.
51800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51801
51802 2011-10-08 Ulrich Drepper <drepper@gmail.com>
51803
51804 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51805 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51808 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51809 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51810 * math/Makefile (libm-calls): Add s_isinf_ns.
51811 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51812 * math/multc3.c: Likewise.
51813 * math/s_casin.c: Likewise.
51814 * math/s_casinf.c: Likewise.
51815 * math/s_casinl.c: Likewise.
51816 * math/s_ccos.c: Likewise.
51817 * math/s_ccosf.c: Likewise.
51818 * math/s_ccosl.c: Likewise.
51819 * math/s_ctan.c: Likewise.
51820 * math/s_ctanf.c: Likewise.
51821 * math/s_ctanh.c: Likewise.
51822 * math/s_ctanhf.c: Likewise.
51823 * math/s_ctanhl.c: Likewise.
51824 * math/s_ctanl.c: Likewise.
51825 * math/w_fmod.c: Likewise.
51826 * math/w_fmodf.c: Likewise.
51827 * math/w_fmodl.c: Likewise.
51828 * math/w_remainder.c: Likewise.
51829 * math/w_remainderf.c: Likewise.
51830 * math/w_remainderl.c: Likewise.
51831 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51832 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51833 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51835 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51836 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51837 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51838 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51839
51840 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51841 of the number.
51842 * stdio-common/printf_fphex.c: Likewise.
51843 * stdio-common/printf_size.c: Likewise.
51844
51845 * math/e_exp10.c: Include math_private.h using <...> not "...".
51846 * math/e_exp10f.c: Likewise.
51847 * math/e_exp10l.c: Likewise.
51848 * math/e_exp2l.c: Likewise.
51849 * math/e_j0l.c: Likewise.
51850 * math/e_j1l.c: Likewise.
51851 * math/e_jnl.c: Likewise.
51852 * math/e_lgammal_r.c: Likewise.
51853 * math/e_rem_pio2l.c: Likewise.
51854 * math/e_scalb.c: Likewise.
51855 * math/e_scalbf.c: Likewise.
51856 * math/e_scalbl.c: Likewise.
51857 * math/k_cosl.c: Likewise.
51858 * math/k_sinl.c: Likewise.
51859 * math/k_tanl.c: Likewise.
51860 * math/s_cacoshf.c: Likewise.
51861 * math/s_catan.c: Likewise.
51862 * math/s_catanf.c: Likewise.
51863 * math/s_catanh.c: Likewise.
51864 * math/s_catanhf.c: Likewise.
51865 * math/s_catanhl.c: Likewise.
51866 * math/s_catanl.c: Likewise.
51867 * math/s_ccosh.c: Likewise.
51868 * math/s_ccoshf.c: Likewise.
51869 * math/s_ccoshl.c: Likewise.
51870 * math/s_cexp.c: Likewise.
51871 * math/s_cexpf.c: Likewise.
51872 * math/s_cexpl.c: Likewise.
51873 * math/s_clog.c: Likewise.
51874 * math/s_clog10.c: Likewise.
51875 * math/s_clog10f.c: Likewise.
51876 * math/s_clog10l.c: Likewise.
51877 * math/s_clogf.c: Likewise.
51878 * math/s_clogl.c: Likewise.
51879 * math/s_csin.c: Likewise.
51880 * math/s_csinf.c: Likewise.
51881 * math/s_csinh.c: Likewise.
51882 * math/s_csinhf.c: Likewise.
51883 * math/s_csinhl.c: Likewise.
51884 * math/s_csinl.c: Likewise.
51885 * math/s_csqrt.c: Likewise.
51886 * math/s_csqrtf.c: Likewise.
51887 * math/s_csqrtl.c: Likewise.
51888 * math/s_ctan.c: Likewise.
51889 * math/s_ctanf.c: Likewise.
51890 * math/s_ctanh.c: Likewise.
51891 * math/s_ctanhf.c: Likewise.
51892 * math/s_ctanhl.c: Likewise.
51893 * math/s_ctanl.c: Likewise.
51894 * math/s_ldexp.c: Likewise.
51895 * math/s_ldexpf.c: Likewise.
51896 * math/s_ldexpl.c: Likewise.
51897 * math/s_significand.c: Likewise.
51898 * math/s_significandf.c: Likewise.
51899 * math/s_significandl.c: Likewise.
51900 * math/w_acos.c: Likewise.
51901 * math/w_acosf.c: Likewise.
51902 * math/w_acosh.c: Likewise.
51903 * math/w_acoshf.c: Likewise.
51904 * math/w_acoshl.c: Likewise.
51905 * math/w_acosl.c: Likewise.
51906 * math/w_asin.c: Likewise.
51907 * math/w_asinf.c: Likewise.
51908 * math/w_asinl.c: Likewise.
51909 * math/w_atan2.c: Likewise.
51910 * math/w_atan2f.c: Likewise.
51911 * math/w_atan2l.c: Likewise.
51912 * math/w_atanh.c: Likewise.
51913 * math/w_atanhf.c: Likewise.
51914 * math/w_atanhl.c: Likewise.
51915 * math/w_cosh.c: Likewise.
51916 * math/w_coshf.c: Likewise.
51917 * math/w_coshl.c: Likewise.
51918 * math/w_dremf.c: Likewise.
51919 * math/w_exp10.c: Likewise.
51920 * math/w_exp10f.c: Likewise.
51921 * math/w_exp10l.c: Likewise.
51922 * math/w_exp2.c: Likewise.
51923 * math/w_exp2f.c: Likewise.
51924 * math/w_fmod.c: Likewise.
51925 * math/w_fmodf.c: Likewise.
51926 * math/w_fmodl.c: Likewise.
51927 * math/w_hypot.c: Likewise.
51928 * math/w_hypotf.c: Likewise.
51929 * math/w_hypotl.c: Likewise.
51930 * math/w_j0.c: Likewise.
51931 * math/w_j0f.c: Likewise.
51932 * math/w_j0l.c: Likewise.
51933 * math/w_j1.c: Likewise.
51934 * math/w_j1f.c: Likewise.
51935 * math/w_j1l.c: Likewise.
51936 * math/w_jn.c: Likewise.
51937 * math/w_jnf.c: Likewise.
51938 * math/w_jnl.c: Likewise.
51939 * math/w_lgamma.c: Likewise.
51940 * math/w_lgamma_r.c: Likewise.
51941 * math/w_lgammaf.c: Likewise.
51942 * math/w_lgammaf_r.c: Likewise.
51943 * math/w_lgammal.c: Likewise.
51944 * math/w_lgammal_r.c: Likewise.
51945 * math/w_log.c: Likewise.
51946 * math/w_log10.c: Likewise.
51947 * math/w_log10f.c: Likewise.
51948 * math/w_log10l.c: Likewise.
51949 * math/w_log2.c: Likewise.
51950 * math/w_log2f.c: Likewise.
51951 * math/w_log2l.c: Likewise.
51952 * math/w_logf.c: Likewise.
51953 * math/w_logl.c: Likewise.
51954 * math/w_pow.c: Likewise.
51955 * math/w_powf.c: Likewise.
51956 * math/w_powl.c: Likewise.
51957 * math/w_remainder.c: Likewise.
51958 * math/w_remainderf.c: Likewise.
51959 * math/w_remainderl.c: Likewise.
51960 * math/w_scalb.c: Likewise.
51961 * math/w_scalbf.c: Likewise.
51962 * math/w_scalbl.c: Likewise.
51963 * math/w_sinh.c: Likewise.
51964 * math/w_sinhf.c: Likewise.
51965 * math/w_sinhl.c: Likewise.
51966 * math/w_sqrt.c: Likewise.
51967 * math/w_sqrtf.c: Likewise.
51968 * math/w_sqrtl.c: Likewise.
51969 * math/w_tgamma.c: Likewise.
51970 * math/w_tgammaf.c: Likewise.
51971 * math/w_tgammal.c: Likewise.
51972
51973 * po/ja.po: Update from translation team.
51974
51975 2011-09-29 Andreas Jaeger <aj@suse.de>
51976
51977 [BZ #13179]
51978 * sunrpc/netname.c (netname2host): Fix logic.
51979
51980 [BZ #6779]
51981 [BZ #6783]
51982 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51983 correctly.
51984 * math/w_remainder.c (__remainder): Likewise.
51985 * math/w_remainderf.c (__remainderf): Likewise.
51986 * math/libm-test.inc (remainder_test): Add test cases.
51987
51988 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51989
51990 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51991 sdiv_qrnnd.
51992
51993 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51994
51995 * string/test-memcmp.c: Avoid unncessary #defines.
51996 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51997
51998 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51999
52000 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52001 Use new sse2 version for core i3 - i7 as it's faster
52002 than sse42 version.
52003 (bit_Prefer_PMINUB_for_stringop): New.
52004 * sysdeps/x86_64/rawmemchr.S: Update.
52005 Replace with faster SSE2 version.
52006 * sysdeps/x86_64/memrchr.S: New file.
52007 * sysdeps/x86_64/memchr.S: Update.
52008 Replace with faster SSE2 version.
52009
52010 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52011
52012 * elf/dl-load.c (lose): Add cast to avoid warning.
52013
52014 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52015
52016 * po/ca.po: Update from translation team.
52017
52018 * inet/getnetgrent_r.c: Hook up nscd.
52019 * nscd/Makefile (routines): Add nscd_netgroup.
52020 (nscd-modules): Add netgroupcache.
52021 (CFLAGS-netgroupcache.c): Define.
52022 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52023 (cache_search): Add const to second parameter.
52024 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52025 INNETGR.
52026 (dbs): Add netgrdb entry.
52027 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52028 (verify_persistent_db): Handle netgrdb.
52029 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52030 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52031 GETFDNETGR.
52032 (netgroup_response_header): Define.
52033 (innetgroup_response_header): Define.
52034 (datahead): Add netgroup_response_header and innetgroup_response_header
52035 elements.
52036 * nscd/nscd.conf: Add entries for netgroup cache.
52037 * nscd/nscd.h (dbtype): Add netgrdb.
52038 (_PATH_NSCD_NETGROUP_DB): Define.
52039 (netgroup_iov_disabled): Declare.
52040 (xmalloc, xcalloc, xrealloc): Move declarations here.
52041 (cache_search): Adjust prototype.
52042 Add netgroup-related prototypes.
52043 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52044 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52045 (__nscd_innetgr): Declare.
52046 * nscd/selinux.c (perms): Use access_vector_t as element type and
52047 add netgroup-related initializers.
52048 * nscd/netgroupcache.c: New file.
52049 * nscd/nscd_netgroup.c: New file.
52050 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52051 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52052 For four parameters use innetgr.
52053 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52054 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52055 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52056 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52057
52058 * nscd/connections.c (register_traced_file): Don't register file
52059 for disabled databases.
52060
52061 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52062
52063 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52064
52065 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52066 from tree and freeing node.
52067
52068 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52069
52070 * nss/nsswitch.c (__nss_database_lookup): Handle
52071 nss_parse_service_list out of memory case.
52072
52073 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52074
52075 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52076 out of memory case.
52077
52078 2011-10-04 Andreas Schwab <schwab@redhat.com>
52079
52080 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52081 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52082 pass it down.
52083 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52084 elf_machine_rela, elf_machine_lazy_rel.
52085 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52086 (ELF_DYNAMIC_DO_REL): Likewise.
52087 (ELF_DYNAMIC_DO_RELA): Likewise.
52088 (ELF_DYNAMIC_RELOCATE): Likewise.
52089 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52090 to ELF_DYNAMIC_DO_REL.
52091 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52092 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52093 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52094 elf_machine_rela.
52095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52096 skip_ifunc, don't call ifunc function if non-zero.
52097 (elf_machine_rela): Likewise.
52098 (elf_machine_lazy_rel): Likewise.
52099 (elf_machine_lazy_rela): Likewise.
52100 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52101 (elf_machine_lazy_rel): Likewise.
52102 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52103 Likewise.
52104 (elf_machine_lazy_rel): Likewise.
52105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52106 Likewise.
52107 (elf_machine_lazy_rel): Likewise.
52108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52109 (elf_machine_lazy_rel): Likewise.
52110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52111 (elf_machine_lazy_rel): Likewise.
52112 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52113 (elf_machine_lazy_rel): Likewise.
52114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52115 (elf_machine_lazy_rel): Likewise.
52116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52117 (elf_machine_lazy_rel): Likewise.
52118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52119 (elf_machine_lazy_rel): Likewise.
52120
52121 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52122
52123 * nss/nss_files/files-init.c (_nss_files_init): Use static
52124 initialization for all the *_traced_file variables.
52125
52126 2011-09-28 Andreas Schwab <schwab@redhat.com>
52127
52128 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52129
52130 2011-09-27 Roland McGrath <roland@hack.frob.com>
52131
52132 [BZ #13226]
52133 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52134
52135 2011-09-27 Andreas Schwab <schwab@redhat.com>
52136
52137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52138 Reread the line before reparsing it.
52139
52140 2011-09-26 Andreas Schwab <schwab@redhat.com>
52141
52142 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52143
52144 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52145 Maxim Kuvyrkov <maxim@codesourcery.com>
52146 Joseph Myers <joseph@codesourcery.com>
52147
52148 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52149 if needed for __stack_chk_guard.
52150
52151 2011-09-19 Roland McGrath <roland@hack.frob.com>
52152
52153 * sysdeps/posix/spawni.c (script_execute): Always define it.
52154 It will be optimized away if unused.
52155 (maybe_script_execute): New function.
52156 (__spawni): Call it.
52157
52158 * Makerules: Don't include tls.make.
52159 (config-tls): Always set to thread.
52160 * tls.make.c: File removed.
52161
52162 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52163
52164 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52165 * config.make.in (CPPFLAGS-config): New substituted variable.
52166
52167 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52168
52169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52170
52171 [BZ #13192]
52172 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52173 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52174
52175 2011-09-15 Roland McGrath <roland@hack.frob.com>
52176
52177 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52178 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52180 (CALL_FAIL): Likewise.
52181 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52182 (CALL_FAIL): Macro removed.
52183 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52184
52185 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52186
52187 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52188 for __FINITE_MATH_ONLY__ == 1.
52189
52190 2011-09-15 Andreas Schwab <schwab@redhat.com>
52191
52192 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52193 __ieee754_sqrt instead of sqrt.
52194 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52195 __ieee754_sqrtf instead of sqrtf.
52196 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52197 __floorf instead of floorf.
52198 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52199 __floorf, __truncf instead of floorf, truncf.
52200
52201 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52202
52203 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52204
52205 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52206 __extern_always_inline.
52207 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52208 32-bit.
52209
52210 2011-09-14 Andreas Schwab <schwab@redhat.com>
52211
52212 * elf/rtld.c (dl_main): Also relocate in dependency order when
52213 doing symbol dependency testing.
52214
52215 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52216
52217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52218 Always define `refsym'.
52219
52220 2011-09-13 Andreas Schwab <schwab@redhat.com>
52221
52222 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52223 (__FD_ELT): Renamed from __FDELT.
52224 * misc/bits/select2.h (__FD_ELT): Likewise.
52225 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52226 __FD_MASK instead of __FDELT, __FDMASK.
52227 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52228 Likewise.
52229 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52230 Likewise.
52231
52232 * elf/Makefile (gen-ldd): Fix pattern.
52233
52234 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52235 (init_tls): Likewise.
52236
52237 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52238
52239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52240
52241 2011-09-12 Andreas Schwab <schwab@redhat.com>
52242
52243 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52244 `struct cmsghdr *' instead of `void *'.
52245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52246 Likewise.
52247
52248 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52249
52250 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52251 if non-absolute.
52252 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52253 ldd_rewrite_script.
52254
52255 2011-09-11 Ulrich Drepper <drepper@gmail.com>
52256
52257 * configure.in: Remove --with-tls option.
52258 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52259 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52260 out in case it is missing.
52261 * sysdeps/ia64/elf/configure.in: Likewise.
52262 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52263 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52264 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52265 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52266 * sysdeps/sh/elf/configure.in: Likewise.
52267 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52268 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52269 * sysdeps/x86_64/elf/configure.in: Likewise.
52270 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52271 * sysdeps/mach/hurd/tls.h: Likewise.
52272
52273 [BZ #13067]
52274 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52275
52276 [BZ #13090]
52277 * configure.in: Fix use of AC_INIT.
52278
52279 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52280
52281 2011-09-10 Ulrich Drepper <drepper@gmail.com>
52282
52283 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52284 __set_errno.
52285 * malloc/hooks.c: Likewise.
52286
52287 [BZ #11929]
52288 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52289 variables statically.
52290 (narenas): Initialize.
52291 (list_lock): Initialize.
52292 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52293 initializtion of main_arena and list_lock. Small cleanups.
52294 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52295 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52296 Add initializers to main_arena and mp_.
52297 (malloc_state): Remove pagesize member. Change all users to use
52298 GLRO(dl_pagesize).
52299
52300 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52301 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52302 is always initialized.
52303
52304 * malloc/malloc.c: Removed unused configurations and dead code.
52305 * malloc/arena.c: Likewise.
52306 * malloc/hooks.c: Likewise.
52307 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52308
52309 * include/tls.h: Removed. USE___THREAD must always be defined.
52310 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52311 * elf/dl-libc.c: Likewise.
52312 * elf/dl-tsd.c: Likewise.
52313 * include/errno.h: Likewise.
52314 * include/netdb.h: Likewise.
52315 * include/resolv.h: Likewise.
52316 * inet/herrno-loc.c: Likewise.
52317 * inet/herrno.c: Likewise.
52318 * malloc/arena.c: Likewise.
52319 * malloc/hooks.c: Likewise.
52320 * malloc/malloc.c: Likewise.
52321 * resolv/res-state.c: Likewise.
52322 * resolv/res_libc.c: Likewise.
52323 * sysdeps/i386/dl-machine.h: Likewise.
52324 * sysdeps/ia64/dl-machine.h: Likewise.
52325 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52326 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52327 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52328 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52329 * sysdeps/sh/dl-machine.h: Likewise.
52330 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52331 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52332 * sysdeps/unix/i386/sysdep.S: Likewise.
52333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52334 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52337 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52339 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52343 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52344 * sysdeps/x86_64/dl-machine.h: Likewise.
52345 * tls.make.c: Likewise.
52346
52347 * configure.in: Remove --with-__thread option. Make tests for
52348 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52349 tls_model attribute fail if no support is available. Remove
52350 USE_IN_LIBIO.
52351 * Makeconfig: Adjust for dropped configure option. All features are
52352 now mandatory.
52353 * Makerules: Likewise.
52354 * Versions.def: Likewise.
52355 * argp/argp-fmtstream.c: Likewise.
52356 * argp/argp-fmtstream.h: Likewise.
52357 * argp/argp-help.c: Likewise.
52358 * assert/assert.c: Likewise.
52359 * config.h.in: Likewise.
52360 * config.make.in: Likewise.
52361 * configure: Likewise.
52362 * configure.in: Likewise.
52363 * csu/Versions: Likewise.
52364 * csu/init.c: Likewise.
52365 * elf/tst-audit2.c: Likewise.
52366 * elf/tst-tls10.c: Likewise.
52367 * elf/tst-tls10.h: Likewise.
52368 * elf/tst-tls11.c: Likewise.
52369 * elf/tst-tls12.c: Likewise.
52370 * elf/tst-tls14.c: Likewise.
52371 * elf/tst-tlsmod11.c: Likewise.
52372 * elf/tst-tlsmod12.c: Likewise.
52373 * elf/tst-tlsmod13.c: Likewise.
52374 * elf/tst-tlsmod13a.c: Likewise.
52375 * elf/tst-tlsmod14a.c: Likewise.
52376 * elf/tst-tlsmod15b.c: Likewise.
52377 * elf/tst-tlsmod16a.c: Likewise.
52378 * elf/tst-tlsmod16b.c: Likewise.
52379 * elf/tst-tlsmod7.c: Likewise.
52380 * elf/tst-tlsmod8.c: Likewise.
52381 * elf/tst-tlsmod9.c: Likewise.
52382 * gmon/gmon.c: Likewise.
52383 * grp/fgetgrent_r.c: Likewise.
52384 * grp/putgrent.c: Likewise.
52385 * hurd/fopenport.c: Likewise.
52386 * include/libc-symbols.h: Likewise.
52387 * include/tls.h: Likewise.
52388 * intl/gettextP.h: Likewise.
52389 * intl/loadinfo.h: Likewise.
52390 * locale/global-locale.c: Likewise.
52391 * locale/localeinfo.h: Likewise.
52392 * mach/devstream.c: Likewise.
52393 * malloc/arena.c: Likewise.
52394 * malloc/set-freeres.c: Likewise.
52395 * misc/err.c: Likewise.
52396 * misc/getttyent.c: Likewise.
52397 * misc/mntent_r.c: Likewise.
52398 * posix/getopt.c: Likewise.
52399 * posix/wordexp.c: Likewise.
52400 * pwd/fgetpwent_r.c: Likewise.
52401 * resolv/Versions: Likewise.
52402 * resolv/res_hconf.c: Likewise.
52403 * shadow/fgetspent_r.c: Likewise.
52404 * shadow/putspent.c: Likewise.
52405 * stdio-common/printf_fphex.c: Likewise.
52406 * stdio-common/tmpfile.c: Likewise.
52407 * stdlib/abort.c: Likewise.
52408 * stdlib/fmtmsg.c: Likewise.
52409 * sunrpc/auth_unix.c: Likewise.
52410 * sunrpc/clnt_perr.c: Likewise.
52411 * sunrpc/clnt_tcp.c: Likewise.
52412 * sunrpc/clnt_udp.c: Likewise.
52413 * sunrpc/clnt_unix.c: Likewise.
52414 * sunrpc/openchild.c: Likewise.
52415 * sunrpc/svc_simple.c: Likewise.
52416 * sunrpc/svc_tcp.c: Likewise.
52417 * sunrpc/svc_udp.c: Likewise.
52418 * sunrpc/svc_unix.c: Likewise.
52419 * sunrpc/xdr.c: Likewise.
52420 * sunrpc/xdr_array.c: Likewise.
52421 * sunrpc/xdr_rec.c: Likewise.
52422 * sunrpc/xdr_ref.c: Likewise.
52423 * sunrpc/xdr_stdio.c: Likewise.
52424
52425 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52426
52427 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52428
52429 2011-07-03 Andreas Jaeger <aj@suse.de>
52430
52431 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52432 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52433 regenerate with gen-libm-tests.pl.
52434
52435 2010-05-12 Petr Baudis <pasky@suse.cz>
52436
52437 [BZ #11589]
52438 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52439 around j0() zero points by switching to j1().
52440 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52441 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52444
52445 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52446
52447 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52448 instead of 0.
52449 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52450 instead of 0.
52451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52452 Patch in part by Pavel Roskin <proski@gnu.org>.
52453
52454 [BZ #13138]
52455 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52456 realloc.
52457 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52458 Free memory block if necessary.
52459
52460 [BZ #12847]
52461 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52462 be NULL. Don't lock in this case.
52463
52464 2011-09-09 Roland McGrath <roland@hack.frob.com>
52465
52466 * elf/elf.h (ELFOSABI_GNU): New macro.
52467 (ELFOSABI_LINUX): Define to that.
52468
52469 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52470
52471 * string/strncat.c (strncat): Undef the symbol in case it has been
52472 defined in bits/string.h.
52473
52474 2011-09-09 Ulrich Drepper <drepper@gmail.com>
52475
52476 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52477
52478 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52479 link map.
52480
52481 2011-08-17 Andreas Jaeger <aj@suse.de>
52482
52483 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52484
52485 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52486 Ian Lance Taylor <iant@google.com>
52487
52488 * math/libm-test.inc (lround_test): New testcase.
52489 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52490
52491 2011-09-08 Ulrich Drepper <drepper@gmail.com>
52492
52493 * Makefile: Remove support for automatic cvs check-ins.
52494 * Makerules: Likewise.
52495 * config.make.in: Likewise.
52496 * configure.in: Likewise.
52497 * intl/Makefile: Likewise.
52498 * locale/Makefile: Likewise.
52499 * po/Makefile: Likewise.
52500 * posix/Makefile: Likewise.
52501 * sysdeps/gnu/Makefile: Likewise.
52502 * sysdeps/mach/hurd/Makefile: Likewise.
52503 * sysdeps/sparc/sparc32/Makefile: Likewise.
52504
52505 [BZ #13118]
52506 * posix/Makefile (bug-regex32-ENV): Define.
52507 Patch by John Stanley <jpsinthemix@verizon.net>.
52508
52509 * misc/Makefile (headers): Add bits/select2.h.
52510 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52511 * misc/bits/select2.h: New file.
52512 * include/bits/select2.h: New file.
52513 * debug/Makefile (routines): Add fdelt_chk.
52514 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52515 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52516 FD_ISSET.
52517 * debug/fdelt_chk.c: New file.
52518
52519 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52520 * wcsmbs/test-wmemcmp.c: Likewise.
52521 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52522 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52523
52524 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52525
52526 * string/Makefile (strop-tests): Add memcmp.
52527 * string/test-wmemcmp.c: New file.
52528 * string/test-memcmp.c: Add wmemcmp support.
52529
52530 2011-09-08 Roland McGrath <roland@hack.frob.com>
52531
52532 [BZ #13153]
52533 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52534 2011-07-19 change.
52535
52536 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52537 garbage value in a __mach_port_mod_refs call in the cases of the
52538 task-self and thread-self ports.
52539
52540 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52541
52542 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52543
52544 2011-09-08 Andreas Schwab <schwab@redhat.com>
52545
52546 * elf/dl-load.c (lose): Check for non-null L.
52547
52548 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52549
52550 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52551
52552 * elf/dl-libc.c (dlerror_run): Pass back error code from
52553 dl_catch_error.
52554
52555 [BZ #13123]
52556 * elf/dl-load.c (lose): Free l_origin if it is valid.
52557
52558 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52559 names.
52560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52564 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52565 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52566
52567 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52568
52569 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52570 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52571 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52572 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52573 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52574 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52575 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52576 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52577 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52578 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52579
52580 2011-08-15 Alan Modra <amodra@gmail.com>
52581
52582 [BZ #13092]
52583 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52584 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52585 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52586 ppc_mcount to static-only-routines.
52587 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52588 __mcount_internal.
52589 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52590 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52591
52592 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52593
52594 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52595 for finite and infinity parameters.
52596
52597 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52598
52599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52600 and add nop instructions for throughput optimization.
52601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52602
52603 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52604
52605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52606 aligned copy for power7 with vector-scalar instructions.
52607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52608
52609 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52610
52611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52612 AVX check.
52613
52614 2011-09-07 Andreas Schwab <schwab@redhat.com>
52615
52616 [BZ #13144]
52617 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52618 last change.
52619
52620 2011-09-07 Ulrich Drepper <drepper@gmail.com>
52621
52622 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52623 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52624 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52625 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52626 clock_gettime.
52627
52628 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52629
52630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52631 Forgot to demangle the pointer.
52632
52633 * sysdeps/i386/sysdep.h: Define atom_text_section.
52634 * sysdeps/x86_64/sysdep.h: Likewise.
52635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52636 section with atom_text_section.
52637 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52639 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52641 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52642
52643 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52644 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52645 already be defined. Change to take two parameters and don't assign
52646 result to variable. Adjust all users.
52647 Define INTERNAL_GETTIME if not already defined.
52648 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52649 call.
52650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52651 HAVE_CLOCK_GETTIME_VSYSCALL.
52652 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52653
52654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52655 gettimeofday vsyscall, just use time.
52656
52657 2011-09-06 Andreas Schwab <schwab@redhat.com>
52658
52659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52660 <errno.h>.
52661
52662 2011-09-06 Ulrich Drepper <drepper@gmail.com>
52663
52664 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52665 syscall on x86-64.
52666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52667 syscall.
52668 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52669 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52670 syscall if possible.
52671
52672 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52673
52674 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52675 e_ident. Don't pass to find_mapsXX.
52676 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52677
52678 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52679
52680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52681 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52682 * sysdeps/x86_64/multiarch/strchr.S: Update.
52683 Check bit_slow_BSF bit.
52684 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52685 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52687
52688 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52689
52690 [BZ #13134]
52691 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52692 before glibc 2.15.
52693 (tryshell): Define.
52694 (__spawni): Change last parameter to be flag. Test
52695 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52696 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52697 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52698 * posix/spawni.c: Likewise.
52699 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52700 * posix/spawnp.c: Likewise. Change normal version to use
52701 SPAWN_XFLAGS_USE_PATH.
52702 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52703 SPAWN_XFLAGS_TRY_SHELL.
52704
52705 [BZ #13150]
52706 * posix/glob.h: Remove gcc 1.x support.
52707
52708 [BZ #13068]
52709 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52710
52711 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52712
52713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52714 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52715 strrchr-sse2-bsf
52716 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52717 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52718 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52721 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52722
52723 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52724
52725 * sysdeps/x86_64/wcscmp.S: New file.
52726
52727 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52728 wcscmp-c wcscmp-sse2
52729 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52730 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52731 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52732 * wcsmbs/wcscmp.c: Allow renaming.
52733
52734 2011-09-05 David S. Miller <davem@davemloft.net>
52735
52736 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52737 stack slot, rather than the struct return pointer slot.
52738 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52739 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52741 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52742
52743 2011-09-05 Ulrich Drepper <drepper@gmail.com>
52744
52745 * po/ja.po: Update from translation team.
52746
52747 [BZ #13144]
52748 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52749 kernel in 64-bit binaries.
52750
52751 2011-09-01 David S. Miller <davem@davemloft.net>
52752
52753 * elf/elf.h (HWCAP_SPARC_*): Move to..
52754 * sysdeps/sparc/sysdep.h: this new file and add new values.
52755 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52756 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52757 _DL_HWCAP_COUNT to 24.
52758 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52759 entries.
52760 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52761 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52762 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52764 instead of magic constants.
52765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52766
52767 2011-08-31 David S. Miller <davem@davemloft.net>
52768
52769 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52771 Reimplement to do errno handling inline.
52772 (SYSCALL_ERROR_HANDLER): New macro.
52773 (__SYSCALL_STRING): Do not do errno handling in asm.
52774 (__CLONE_SYSCALL_STRING): Delete.
52775 (__INTERNAL_SYSCALL_STRING): Delete.
52776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52777 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52778 (PSEUDO): Reimplement to do errno handling inline.
52779 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52780 (SYSCALL_ERROR_HANDLER): New macro.
52781 (__SYSCALL_STRING): Do not do errno handling in asm.
52782 (__CLONE_SYSCALL_STRING): Delete.
52783 (__INTERNAL_SYSCALL_STRING): Delete.
52784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52785 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52786 i386.
52787 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52788 (inline_syscall*): Add 'err' argument.
52789 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52790 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52791 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52792 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52793
52794 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52795 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52796
52797 2011-08-30 Andreas Schwab <schwab@redhat.com>
52798
52799 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52800
52801 2011-08-29 Jiri Olsa <jolsa@redhat.com>
52802
52803 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52804 directive.
52805
52806 2011-08-24 David S. Miller <davem@davemloft.net>
52807
52808 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52809
52810 2011-08-24 Andreas Schwab <schwab@redhat.com>
52811
52812 * elf/Makefile: Add rules to build and run unload8 test.
52813 * elf/unload8.c: New file.
52814 * elf/unload8mod1.c: New file.
52815 * elf/unload8mod1x.c: New file.
52816 * elf/unload8mod2.c: New file.
52817 * elf/unload8mod3.c: New file.
52818
52819 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52820 it wasn't used.
52821
52822 2011-08-23 David S. Miller <davem@davemloft.net>
52823
52824 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52825 subtract stack bias.
52826 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52827 %sp not %fp in calculations.
52828 (_JMPBUF_UNWINDS_ADJ): Likewise.
52829
52830 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52831 (aio_suspend): Call it to force an exception region around the
52832 AIO_MISC_WAIT() invocation.
52833
52834 2011-08-23 Andreas Schwab <schwab@redhat.com>
52835
52836 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52837 backslash.
52838
52839 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52840
52841 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52842 protection macro.
52843 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52844 and <dl-machine.h>.
52845 (Elf64_FuncDesc): Remove.
52846
52847 2011-08-22 David S. Miller <davem@davemloft.net>
52848
52849 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52850 sigaltstack check, add missing cfi directives.
52851 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52852 missing cfi directives, and sigaltstack handling.
52853
52854 2011-08-16 Andreas Schwab <schwab@redhat.com>
52855
52856 [BZ #11724]
52857 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52858 object is seen twice.
52859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52860
52861 * elf/Makefile (distribute): Add tst-initorder2.c.
52862 (tests): Add tst-initorder2.
52863 (modules-names): Add tst-initorder2a tst-initorder2b
52864 tst-initorder2c tst-initorder2d. Add rules to build them.
52865 ($(objpfx)tst-initorder2.out): New rule.
52866 * elf/tst-initorder2.c: New file.
52867 * elf/tst-initorder2.exp: New file.
52868
52869 2011-08-22 Andreas Schwab <schwab@redhat.com>
52870
52871 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52872
52873 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52874 dependencies back to end of function.
52875
52876 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52877 $(elfobjdir)/ld.so.
52878
52879 2011-08-21 Ulrich Drepper <drepper@gmail.com>
52880
52881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52882 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52884 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52885 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52886 of __vdso_gettimeofday.
52887 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52888 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52889 attribute_hidden.
52890 (_libc_vdso_platform_setup): Remove initialization of
52891 __vdso_gettimeofday and __vdso_time.
52892
52893 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52894
52895 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52896 and fgetc_unlocked.
52897 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52898 getc_unlocked.
52899
52900 * elf/dl-open.c (add_to_global): Report additions to the global scope
52901 for LD_DEBUG=scopes.
52902 (dl_open_worker): Also print scope of newly loaded dependencies.
52903 (_dl_show_scope): Indicate if there is no scope.
52904
52905 [BZ #13114]
52906 * stdio-common/Makefile (tests): Add bug24.
52907 * stdio-common/bug24.c: New file.
52908
52909 2011-08-19 Andreas Jaeger <aj@suse.de>
52910
52911 [BZ #13114]
52912 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52913 non-existant file when using close-on-exec mode.
52914
52915 2011-08-20 Ulrich Drepper <drepper@gmail.com>
52916
52917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52918 the very first instruction.
52919
52920 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52921 the CFI state in the end.
52922 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52923 inclusion of dl-trampoline.h.
52924 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52925
52926 2011-08-19 Andreas Schwab <schwab@redhat.com>
52927
52928 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52929 expectations for long double.
52930
52931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52932 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52933
52934 2011-08-14 David S. Miller <davem@davemloft.net>
52935
52936 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52937 artificual limit depends upon the system page size.
52938
52939 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52940
52941 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52942 * resolv/Makefile: Define CFLAGS-libresolv.
52943
52944 2011-08-17 Andreas Schwab <schwab@redhat.com>
52945
52946 * nss/makedb.c (compute_tables): Make variables used in nested
52947 function static.
52948
52949 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52950
52951 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52952 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52953 if buffer was too small.
52954
52955 * elf/pldd.c (main): Attach to all threads in the process.
52956 Rewrite /proc handling to use *at functions.
52957
52958 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52959
52960 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52961 specifies first scope to show.
52962 (dl_open_worker): Update callers. Move printing scope of new
52963 object to before the relocation.
52964 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52965 * sysdeps/generic/ldsodefs.h: Update declaration.
52966
52967 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52968 string for the scope number.
52969
52970 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52971
52972 * nscd/servicescache.c (cache_addserv): Make sure written is always
52973 initialized.
52974
52975 2011-08-14 Roland McGrath <roland@hack.frob.com>
52976
52977 * sysdeps/i386/i486/bits/atomic.h
52978 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52979 statement expression, so as to suppress "set but not used" warning.
52980 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52981
52982 * string/strncat.c (STRNCAT): Use prototype definition.
52983
52984 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52985 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52986 -Iprograms here.
52987 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52988 (localedef-modules): Add localedef.
52989 (locale-modules): Add locale.
52990
52991 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52992 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52993 to avoid a warning.
52994
52995 2011-08-14 David S. Miller <davem@davemloft.net>
52996
52997 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52998 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52999
53000 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53001
53002 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53003 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53004 * elf/rtld.c (dl_main): Set l_name of vDSO.
53005 Call _dl_show_scope when DL_DEBUG_SCOPES.
53006 (process_dl_debug): Recognize scopes flag and also set it for all.
53007 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53008 Declare _dl_show_scope.
53009
53010 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53011 (do_dlopen): Pass caller_dlopen to dl_open.
53012 (__libc_dlopen_mode): Initialize caller_dlopen.
53013
53014 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53015 of libc. Make tolower call locale-independent. Optimize a bit by
53016 using isdigit instead of isalnum.
53017 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53018
53019 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53020
53021 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53022 was a dependency or dynamically loaded.
53023
53024 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53025
53026 * intl/l10nflist.c: Allow architecture-specific pop function.
53027 * sysdeps/x86_64/l10nflist.c: New file.
53028
53029 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53030 classification.
53031
53032 2011-08-10 Andreas Schwab <schwab@redhat.com>
53033
53034 * include/dirent.h: Add libc_hidden_proto for scandirat and
53035 scandirat64. Don't declare __scandirat64.
53036 * dirent/scandirat.c: Add libc_hidden_def.
53037 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53038 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53039
53040 2011-08-10 David S. Miller <davem@davemloft.net>
53041
53042 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53043 enum.
53044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53047
53048 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53049
53050 * Versions.def [libc]: Add GLIBC_2.15.
53051 * dirent/Makefile (routines): Add scandirat and scandirat64.
53052 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53053 GLIBC_2.15.
53054 * dirent/dirent.h: Declare scandirat and scandirat64.
53055 * dirent/scandirat.c: New file.
53056 * dirent/scandirat64.c: New file.
53057 * sysdeps/wordsize-64/scandirat.c: New file.
53058 * sysdeps/wordsize-64/scandirat64.c: New file.
53059 * dirent/opendir.c: Define opendirat.
53060 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53061 using scandirat.
53062 * dirent/scandir64.c: Adjust for scandir.c change.
53063 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53064 __scandirat64, and __scandir_cancel_handler.
53065 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53066 additional parameter and use openat instead of open (outside of ld.so).
53067 Add new __opendir as wrapper around __opendirat.
53068 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53069 here without requiring old scandirat implementation.
53070
53071 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53072
53073 * dirent/scandir.c (cancel_handler): Renamed to
53074 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53075 defined. Adjust users.
53076 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53077 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53078
53079 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53080
53081 * string/test-string.h (IMPL): Use __STRING to expand name and then
53082 stringify it.
53083
53084 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53085 of cleanups.
53086
53087 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53088
53089 * string/Makefile: Update.
53090 (strop-tests): Append strncat.
53091 * string/test-wcscmp.c: New file.
53092 New comprehensive test for wcscmp.
53093 * string/test-strcmp.c: Update.
53094 (WIDE): New define.
53095
53096 2011-07-22 Andreas Schwab <schwab@redhat.com>
53097
53098 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53099 line.
53100
53101 2011-07-26 Andreas Schwab <schwab@redhat.com>
53102
53103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53104 encoding to ACE if AI_IDN.
53105
53106 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53107
53108 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53109 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53110
53111 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53112
53113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53114 Fix overflow bug in strncat.
53115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53116
53117 * string/test-strncat.c: Update.
53118 Add new tests for checking overflow bugs.
53119
53120 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53121
53122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53123 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53124 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53125 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53126 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53127 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53128 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53129 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53130 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53131
53132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53133 (USE_AS_STRCAT): Define.
53134 Add strcat and strncat support.
53135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53136
53137 2011-07-25 Andreas Schwab <schwab@redhat.com>
53138
53139 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53140 __n bigger than INT_MAX+1.
53141 (__strncmp_g): Likewise.
53142
53143 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53144
53145 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53146 * libio/stido.h: Likewise.
53147
53148 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53149 (AF_NFC): Define.
53150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53151 (AF_NFC): Define.
53152
53153 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53156 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53158
53159 [BZ #13021]
53160 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53161 installed.
53162
53163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53164 typo.
53165 (_dl_x86_64_save_sse): Likewise.
53166
53167 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53168
53169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53170 OSXSAVE.
53171 (_dl_x86_64_save_sse): Likewise.
53172
53173 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53174
53175 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53176
53177 2011-07-21 Andreas Schwab <schwab@redhat.com>
53178
53179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53180 change.
53181 (_dl_x86_64_save_sse): Use correct AVX check.
53182
53183 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53184
53185 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53186 bug in strncpy/strncat.
53187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53188
53189 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53190
53191 * string/tester.c (test_strcat): Add tests for different alignments
53192 of source and destination.
53193 (test_strncat): Likewise.
53194
53195 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53196
53197 [BZ #12852]
53198 * posix/glob.c (glob): Check passed in values before using them in
53199 expressions to avoid some overflows.
53200 (glob_in_dir): Likewise.
53201
53202 [BZ #13007]
53203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53204 check for AVX enablement so that we don't crash with old kernels and
53205 new hardware.
53206 * elf/tst-audit4.c: Add same checks here.
53207 * elf/tst-audit6.c: Likewise.
53208
53209 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53210
53211 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53212
53213 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53214
53215 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53216
53217 * po/cs.po: Update from translation team.
53218 * po/bg.po: Likewise.
53219
53220 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53221
53222 * misc/sys/cdefs.h: Add support for const attribute.
53223 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53224 to gnu_dev_{major,minor,makedev} functions.
53225
53226 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53227
53228 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53229
53230 2011-07-20 Andreas Schwab <schwab@redhat.com>
53231
53232 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53233 strlen results.
53234
53235 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53236
53237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53238 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53239 register in order to avoid conflicts with the soft frame pointer
53240 being held in r11 when necessary.
53241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53242 (INTERNAL_VSYSCALL_NCS): Likewise.
53243
53244 2011-07-14 Marek Polacek <mpolacek@redhat.com>
53245
53246 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53247 * elf/dl-fini.c (_dl_fini): Adjust caller.
53248 * elf/dl-close.c (_dl_close_worker): Likewise.
53249 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53250
53251 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53252
53253 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53254 "aux_cache->nlibs < 0".
53255
53256 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53257 in the reload-count case.
53258
53259 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53260
53261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53262 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53263 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53264 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53265 * sysdeps/x86_64/multiarch/strcat.S: New file.
53266 * sysdeps/x86_64/multiarch/strncat.S: New file.
53267 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53269 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53270 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53272 (USE_AS_STRCAT): Define.
53273 Add strcat and strncat support.
53274 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53275 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53276 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53277 * string/strncat.c: Update.
53278 (USE_AS_STRNCAT): Define.
53279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53280 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53281 and i7.
53282 * sysdeps/x86_64/multiarch/init-arch.h
53283 (bit_Prefer_PMINUB_for_stringop): New.
53284 (index_Prefer_PMINUB_for_stringop): Likewise.
53285 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53286 bit_Prefer_PMINUB_for_stringop.
53287
53288 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53289
53290 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53291 buffer64.
53292 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53293 of casting of buffer.
53294 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53295 buffer32 and buffer64.
53296 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53297 writes instead of casting of buffer.
53298 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53299 buffer32.
53300 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53301 casting of buffer.
53302
53303 2011-07-19 Andreas Schwab <schwab@redhat.com>
53304
53305 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53306
53307 2011-07-19 Ulrich Drepper <drepper@gmail.com>
53308
53309 * nscd/nscd.c (termination_handler): Don't do anything for a database
53310 if it has not yet been initialized.
53311
53312 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53313
53314 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53315
53316 2011-07-15 Marek Polacek <mpolacek@redhat.com>
53317
53318 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53319
53320 2011-07-18 Ulrich Drepper <drepper@gmail.com>
53321
53322 * po/nl.po: Update from translation team.
53323 * po/sv.po: Likewise.
53324
53325 2011-07-16 Roland McGrath <roland@hack.frob.com>
53326
53327 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53328 now disallowed by GCC.
53329
53330 * configure.in (use-default-link): Default to yes if a test -shared
53331 link meets our qualifications.
53332 * configure: Regenerated.
53333
53334 * config.make.in (output-format): New variable.
53335 * configure.in: Check for ld --print-output-format support.
53336 * configure: Regenerated.
53337 * Makerules ($(common-objpfx)format.lds)
53338 [$(output-format) != unknown]: Just use $(output-format),
53339 instead of the linker-script munging.
53340
53341 2011-07-14 Roland McGrath <roland@hack.frob.com>
53342
53343 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53344 of $(common-objpfx)shlib.lds.
53345 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53346
53347 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53348 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53349
53350 * configure.in (-z relro check): Adjust test code to add a large
53351 writable data section after it.
53352 * configure: Regenerated.
53353
53354 2011-07-11 Roland McGrath <roland@hack.frob.com>
53355
53356 * configure.in (-z relro check): Fix test code to make the variable
53357 truly const.
53358 * configure: Regenerated.
53359
53360 2011-07-11 Ulrich Drepper <drepper@gmail.com>
53361
53362 * nscd/nscd.h (struct traced_file): Define.
53363 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53364 elements. Add traced_files.
53365 (inotify_fd): Declare.
53366 (register_traced_file): Declare.
53367 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53368 (inotify_fd): Export.
53369 (resolv_conf_descr): Remove.
53370 (nscd_init): Move inotify descriptor creation to main.
53371 Don't register files for notification here.
53372 (register_traced_file): New function.
53373 (invalidate_cache): Don't use reset_res to determine whether to call
53374 res_init, go through the list of registered files.
53375 (main_loop_poll): The inotify descriptors are now stored in the
53376 structures for the traced files.
53377 (main_loop_epoll): Likewise
53378 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53379 to __nss_disable_nscd.
53380 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53381 for a database anymore. Check the records for all the registered
53382 files instead.
53383 * nss/Makefile (libnss_files-routines): Add files-init.
53384 (libnss_db-routines): Add db-init.
53385 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53386 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53387 * nss/nss_db/db-init.c: New file.
53388 * nss/nss_files/files-init.c: New file.
53389 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53390 __nss_lookup_function.
53391 (__nss_lookup_function): Call nss_load_library.
53392 (nss_load_all_libraries): New function.
53393 (__nss_disable_nscd): Take parameter with callback function for files
53394 to register. Set is_nscd. Load all the DSOs for the NSS modules
53395 used for the cached services.
53396 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53397 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53398 options for features to all the files in nscd.
53399
53400 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53401
53402 2011-07-10 Roland McGrath <roland@hack.frob.com>
53403
53404 * csu/elf-init.c (__libc_csu_init): Comment typo.
53405
53406 2011-07-09 Ulrich Drepper <drepper@gmail.com>
53407
53408 * po/pl.po: Update from translation team.
53409 * po/ja.po: Likewise.
53410 * po/ru.po: Likewise.
53411 * po/ko.po: Likewise.
53412 * po/fr.po: Likewise.
53413
53414 2011-07-09 Roland McGrath <roland@hack.frob.com>
53415
53416 * configure.in (.ctors/.dtors header and trailer check):
53417 Use an empirical test on a built program.
53418 * configure: Regenerated.
53419
53420 * configure.in (-z relro check): Use an empirical test on a built DSO.
53421 Detect, but do not require, on ia64.
53422 * configure: Regenerated.
53423
53424 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53425 Update tests that use readelf to use $READELF instead.
53426 * configure: Regenerated.
53427
53428 2011-07-08 Ulrich Drepper <drepper@gmail.com>
53429
53430 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53431 if the result is not used.
53432
53433 2011-07-05 Andreas Jaeger <aj@suse.de>
53434
53435 [BZ#9696]
53436 * stdlib/tst-strtod.c: Add testcase.
53437
53438 2011-07-07 Ulrich Drepper <drepper@gmail.com>
53439
53440 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53441 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53442 The latter has a higher limit. Take additional parameter to pass to
53443 the new function.
53444 (__pathconf): Pass file to __statfs_link_max.
53445 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53446 __statfs_link_max.
53447 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53448 __statfs_link_max.
53449
53450 [BZ #12868]
53451 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53453 Handle Lustre.
53454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53455 (__statfs_filesize_max): Likewise.
53456 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53457
53458 2011-07-05 Andreas Jaeger <aj@suse.de>
53459
53460 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53461
53462 2011-07-06 Marek Polacek <mpolacek@redhat.com>
53463
53464 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53465 `status' variable.
53466 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53467 Likewise.
53468
53469 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53470
53471 * Makefile (strop-tests): Add strncat.
53472 * string/test-strncat.c: New file.
53473
53474 2011-06-30 Marek Polacek <mpolacek@redhat.com>
53475
53476 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53477
53478 2011-06-21 Andreas Jaeger <aj@suse.de>
53479
53480 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53481 Copy rule from iconvdata/Makefile.
53482
53483 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53484
53485 [BZ #12922]
53486 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53487 but no long options are defined, just return 'W'.
53488
53489 2011-06-22 Marek Polacek <mpolacek@redhat.com>
53490
53491 [BZ #9696]
53492 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53493
53494 2011-07-06 Ulrich Drepper <drepper@gmail.com>
53495
53496 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53497 netgroups to read.
53498 (innetgr): Likewise.
53499
53500 2011-07-05 Roland McGrath <roland@hack.frob.com>
53501
53502 * config.make.in (install_root): Default to $(DESTDIR).
53503
53504 2011-07-05 Ulrich Drepper <drepper@gmail.com>
53505
53506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53507
53508 2011-07-02 Roland McGrath <roland@hack.frob.com>
53509
53510 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53511
53512 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53513 containing directory rather than embedding absolute directory names.
53514
53515 * scripts/check-local-headers.sh: Rewritten using awk.
53516 Match by word, not by line. Print error messages for matches.
53517 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53518
53519 * Makerules [shlib-lds-flags empty]:
53520 ($(common-objpfx)libc_pic.opts): New target.
53521 ($(common-objpfx)libc_pic.os.clean): New target.
53522 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53523
53524 * config.make.in (OBJCOPY): New variable.
53525 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53526 * configure: Regenerated.
53527
53528 * config.make.in (use-default-link): New variable.
53529 * configure.in (use_default_link): Grok --with-default-link to set it.
53530 * configure: Regenerated.
53531 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53532 (shlib-lds, shlib-lds-flags): Define to empty.
53533
53534 * Makerules (shlib-lds): New variable.
53535 (shlib-lds-flags): New variable.
53536 (build-shlib, build-moduile, build-module-asneeded): Use it.
53537 ($(common-objpfx)libc.so): Use $(shlib-lds).
53538 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53539 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53540
53541 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53542 DT_FLAGS/DT_FLAGS_1 with zero flags.
53543
53544 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53545 linker script munging.
53546
53547 2011-07-02 Ulrich Drepper <drepper@gmail.com>
53548
53549 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53550 as 128-bit value.
53551 * crypt/sha512.c (sha512_process_block): Perform total addition using
53552 128-bit if possible.
53553 (__sha512_finish_ctx): Likewise.
53554 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53555 as 64-bit value.
53556 * crypt/sha256.c (SWAP64): Define.
53557 (sha256_process_block): Perform total addition using 64-bit if
53558 possible.
53559 (__sha256_finish_ctx): Likewise.
53560
53561 2011-07-01 Ulrich Drepper <drepper@gmail.com>
53562
53563 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53565 * nscd/hstcache.c (cache_addhst): Likewise.
53566 * nscd/grpcache.c (cache_addgr): Likewise.
53567 * nscd/aicache.c (addhstaiX): Likewise
53568 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53569
53570 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
53571
53572 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53573 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53574 * nscd/hstcache.c (cache_addhst): Likewise.
53575 * nscd/grpcache.c (cache_addgr): Likewise.
53576 * nscd/aicache.c (addhstaiX): Likewise
53577
53578 2011-07-01 Andreas Schwab <schwab@redhat.com>
53579
53580 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53581 domain only when needed.
53582
53583 2011-06-30 Andreas Schwab <schwab@redhat.com>
53584
53585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53586 is always restored.
53587
53588 2011-06-29 Ulrich Drepper <drepper@gmail.com>
53589
53590 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53591 are re-adding the entry.
53592 * nscd/servicescache.c (cache_addserv): Likewise.
53593
53594 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53595
53596 * sysdeps/generic/dl-irel.h: fix protection against multiple
53597 inclusions.
53598 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53599
53600 2011-06-28 Ulrich Drepper <drepper@gmail.com>
53601
53602 [BZ #12935]
53603 * malloc/memusage.sh: Fix quoting in message.
53604 * debug/xtrace.sh: Likewise.
53605
53606 * configure.in: Remove support for --experimental-malloc option, make
53607 it the default.
53608 * config.make.in: Likewise.
53609 * malloc/Makefile: Likewise.
53610
53611 2011-06-27 Andreas Schwab <schwab@redhat.com>
53612
53613 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53614 two-byte characters.
53615
53616 2011-06-27 Roland McGrath <roland@hack.frob.com>
53617
53618 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53619 AC_CACHE_CHECK invocation.
53620 * configure: Regenerated.
53621
53622 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53623
53624 2011-06-27 Ulrich Drepper <drepper@gmail.com>
53625
53626 [BZ #12350]
53627 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53628 bit from old_res_options.
53629
53630 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53631
53632 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53633 value type for setfct.
53634
53635 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53636
53637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53638 __gettimeofday instead of gettimeofday.
53639
53640 2011-06-26 Ulrich Drepper <drepper@gmail.com>
53641
53642 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53643
53644 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53645
53646 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53647
53648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53649 info.
53650
53651 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53652
53653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53654 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53655 strcpy-sse2-unaligned strncpy-sse2-unaligned
53656 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53657 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53658 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53659 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53660 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53661 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53663 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53664 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53665 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53666 (STRCPY): Support SSE2 and SSSE3 versions.
53667
53668 2011-06-24 Ulrich Drepper <drepper@gmail.com>
53669
53670 [BZ #12874]
53671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53672 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53673 kernels which artificially limit size of requests.
53674
53675 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53676
53677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53678 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53679 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53680 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53681 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53682 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53683 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53684 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53687 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53688 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53689 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53690 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53691 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53693 Enable unaligned load optimization for Intel Core i3, i5 and i7
53694 processors.
53695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53696 Define.
53697 (index_Fast_Unaligned_Load): Define.
53698 (HAS_FAST_UNALIGNED_LOAD): Define.
53699
53700 2011-06-23 Marek Polacek <mpolacek@redhat.com>
53701
53702 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53703
53704 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53705
53706 [BZ #12907]
53707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53708 until it is clear that the information is realy needed.
53709 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53710
53711 2011-06-22 Andreas Schwab <schwab@redhat.com>
53712
53713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53714
53715 2011-06-22 Ulrich Drepper <drepper@gmail.com>
53716
53717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53718 /sys/devices/system/cpu/online if it is usable.
53719
53720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53721 reading the information from the /proc filesystem to once a second.
53722
53723 2011-06-21 Andreas Jaeger <aj@suse.de>
53724
53725 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53726 NULL after inclusion of kernel headers.
53727
53728 2011-06-21 Ulrich Drepper <drepper@gmail.com>
53729
53730 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53731 calls to internal_setent.
53732
53733 [BZ #12885]
53734 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53735 addresses using gethostbyname4_r ignore IPv4 addresses.
53736
53737 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53738 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53739
53740 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53741
53742 2011-06-20 David S. Miller <davem@davemloft.net>
53743
53744 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53745 inclusions.
53746 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53747
53748 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53749 (elf_irel): Use it.
53750 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53751 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53752 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53753 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53754 * sysdeps/x86_64/dl-irel.h: Likewise.
53755
53756 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53757 * elf/dl-sym.c: Likewise.
53758
53759 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53760
53761 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53762 need to dereference resplen2.
53763
53764 2011-06-14 Andreas Schwab <schwab@redhat.com>
53765
53766 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53767
53768 2011-06-15 Ulrich Drepper <drepper@gmail.com>
53769
53770 * Makeconfig: Define vardbdir and inst_vardbdir.
53771 * nss/Makefile: Add rules to install db-Makefile.
53772
53773 * nss/nss_db/db-XXX.c: Cleanup.
53774
53775 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53776 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53777 GLIBC_PRIVATE.
53778 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53779 * nss/makedb.c: Implement -g option to specify that value strings
53780 are generated and should not be added to table iterated over for
53781 get*ent calls.
53782 * nss/nss_db/db-initgroups.c: New file.
53783
53784 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53785 interface.
53786
53787 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53788 (internal_getgrouplist): Adjust to name change.
53789 Update use_initgroups_entry if this is not the first call.
53790 * nss/databases.def: Add initgroups entry.
53791
53792 * nss/makedb.c (compute_tables): Check result of multiple hash table
53793 sizes to minimize maximum chain length.
53794
53795 2011-06-14 Ulrich Drepper <drepper@gmail.com>
53796
53797 * Versions.def: Add entry for libnss_db.
53798 * shlib-versions: Likewise.
53799 * nss/Makefile: Add rules to build libnss_db.
53800 * nss/Versions: Add libnss_db information. Organize libnss_files
53801 entries better.
53802 * nss/db-Makefile: Add gshadow support. Change rules for the new
53803 makedb progra. Some minor improvements to generate smaller files.
53804 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53805 here from...
53806 * nss/makedb.c: ...here.
53807 Improve database format to be smaller and require less memory at
53808 runtime.
53809 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53810 db anymore.
53811 * nss/nss_db/db-netgrp.c: Likewise.
53812 * nss/nss_db/db-open.c: Likewise.
53813 * nss/nss_files/flies-XXX.x: Adjust comments.
53814 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53815 * nss/nss_files/files-grp.c: Likewise.
53816 * nss/nss_files/files-hosts.c: Likewise.
53817 * nss/nss_files/files-network.c: Likewise.
53818 * nss/nss_files/files-proto.c: Likewise.
53819 * nss/nss_files/files-pwd.c: Likewise.
53820 * nss/nss_files/files-rpc.c: Likewise.
53821 * nss/nss_files/files-service.c: Likewise.
53822 * nss/nss_files/files-sgrp.c: Likewise.
53823 * nss/nss_files/files-spwd.c: Likewise.
53824 * nss/nss_db/db-alias.c: Removed.
53825 * nss/nss_db/dummy-db.h: Removed.
53826
53827 2011-06-02 Ulrich Drepper <drepper@gmail.com>
53828
53829 * nss/makedb.c: Rewritten to not use database library.
53830 * nss/Makefile: Update to build new makedb program.
53831
53832 2011-06-14 Andreas Jaeger <aj@suse.de>
53833
53834 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53835 memset declaration.
53836
53837 2011-06-10 Andreas Schwab <schwab@redhat.com>
53838
53839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53840 tmpbuf.
53841
53842 2011-06-10 Roland McGrath <roland@hack.frob.com>
53843
53844 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53845 * elf/Makefile ($(objpfx)ld.so): Likewise.
53846
53847 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53848 Don't list ld.so twice in dependencies.
53849
53850 * posix/bug-regex31.c: Include <stdlib.h>.
53851
53852 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53853
53854 * nis/nss_compat/compat-spwd.c
53855 (getspent_next_nss_netgr): Remove unused variable.
53856 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53857
53858 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53859 nonmembers" output to use the right array.
53860
53861 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53862
53863 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53864
53865 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53866 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53867 * catgets/gencat.c (read_input_file): Likewise.
53868 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53869
53870 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53871 variable definition inside #if's controlling its use.
53872
53873 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53874
53875 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53876
53877 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53878
53879 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53880 unreachable code.
53881
53882 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53883
53884 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53885 * configure: Regenerated.
53886
53887 * Makerules: Revert last change.
53888 * elf/Makefile: Likewise.
53889
53890 2011-06-09 Roland McGrath <roland@hack.frob.com>
53891
53892 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53893 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53894 (reloc-link): Likewise.
53895
53896 2011-06-09 Ulrich Drepper <drepper@gmail.com>
53897
53898 * elf/Makefile: Add rules to build pldd.
53899 * elf/pldd.c: New file.
53900 * elf/pldd-xx.c: New file.
53901
53902 2011-06-07 Ulrich Drepper <drepper@gmail.com>
53903
53904 * version.h: Update for 2.15 development version.
53905
53906 2011-06-07 David S. Miller <davem@davemloft.net>
53907
53908 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53909 ifuncs.
53910 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53911 elf_machine_lazy_rel): Likewise.
53912 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53914 elf_machine_lazy_rel): Likewise.
53915 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53916 dl_hwcap via passed in argument.
53917 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53918 Likewise.
53919
53920 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53921
53922 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53923
53924 2011-06-06 Roland McGrath <roland@hack.frob.com>
53925
53926 [BZ #12849]
53927 * manual/fdl-1.1.texi: New file, verbatim from:
53928 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53929 * manual/lgpl-2.1.texi: New file, verbatim from:
53930 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53931 * manual/Makefile (licenses): New variable, list those new file names.
53932 (texis): Use it.
53933 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53934
53935 * manual/fdl.texi: File removed.
53936 * manual/lesser.texi: File removed.
53937 * manual/libc.texinfo (Copying, Documentation License):
53938 Use new @include file names, put @appendix directive before @include.
53939
53940 2011-06-04 Jakub Jelinek <jakub@redhat.com>
53941
53942 [BZ #12841]
53943 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53944 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53945 (mq_open): Add __NTH.
53946
53947 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53948
53949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53950 Assume Intel Core i3/i5/i7 processor if AVX is available.
53951
53952 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53953
53954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53955 typo.
53956
53957 2011-05-31 Andreas Schwab <schwab@redhat.com>
53958
53959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53960 memory. Use alloca_account. Fix memory leak when retrying.
53961
53962 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53963
53964 * version.h (RELEASE): Bump for 2.14 release.
53965 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53966
53967 * config.make.in (RANLIB): Remove entry.
53968
53969 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53970
53971 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53972 (libc.pot): Work around missing support for .ksh extension in xgettext.
53973
53974 [BZ #12684]
53975 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53976 if both request failed.
53977 (send_dg): In case of server errors clear resplen or *resplen2.
53978
53979 [BZ #12454]
53980 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53981 when there are multiple maps.
53982 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53983 (_dl_fini): Remove test here.
53984
53985 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53986
53987 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53988
53989 [BZ #12350]
53990 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53991 bit from old_res_options.
53992 (gaih_inet): Likewise.
53993
53994 [BZ #11099]
53995 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53996 as signed.
53997
53998 * resolv/res_init.c (res_setoptions): Make the code more compact.
53999
54000 [BZ #11558]
54001 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54002 set RES_USEVC.
54003
54004 [BZ #11634]
54005 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54006
54007 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54008
54009 [BZ #11781]
54010 * malloc/malloc.h: Declare malloc hook variables as volatile.
54011
54012 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54013 in last patch.
54014
54015 [BZ #11799]
54016 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54017 raise in the comment.
54018 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54020 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54021
54022 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54023
54024 [BZ #12811]
54025 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54026 grow the buffers more if it already has to be sufficient.
54027 (build_wcs_upper_buffer): Likewise.
54028 * posix/regexec.c (check_matching): Likewise.
54029 (clean_state_log_if_needed): Likewise.
54030 (extend_buffers): Don't enlarge buffers beyond size of the input
54031 buffer.
54032 Patches mostly by Emil Wojak <emil@wojak.eu>.
54033 * posix/bug-regex32.c: New file.
54034 * posix/Makefile (tests): Add bug-regex32.
54035
54036 * locale/findlocale.c (_nl_find_locale): Return right away if
54037 _nl_explode_name failed.
54038 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54039
54040 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54041
54042 * debug/xtrace.sh: Unify messages.
54043 * malloc/memusage.sh: Likewise.
54044
54045 [BZ #12813]
54046 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54047 time symbol from vDSO. Substitute with vsyscall if not available.
54048 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54049 __vdso_time.
54050
54051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54052 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54053 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54054 Add sendmmsg and internal_sendmmsg.
54055 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54056 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54057 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54058
54059 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54060 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54061 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54062
54063 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54064
54065 [BZ #12813]
54066 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54067 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54068 available.
54069 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54070 __vdso_getcpu.
54071
54072 [BZ #12814]
54073 * iconvdata/Makefile (tests): Add bug-iconv9.
54074 * iconvdata/bug-iconv9.c: New file.
54075
54076 2011-05-27 Andreas Schwab <schwab@redhat.com>
54077
54078 [BZ #12814]
54079 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54080
54081 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54082
54083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54084 (struct user_regs_struct): Change intcs field back to cs.
54085
54086 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54087
54088 * po/ja.po: Update from translation team.
54089
54090 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54091
54092 [BZ #12795]
54093 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54095
54096 2011-05-20 Andreas Schwab <schwab@redhat.com>
54097
54098 * stdlib/longlong.h: Update from GCC.
54099
54100 2011-05-23 Andreas Schwab <schwab@redhat.com>
54101
54102 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54103 parameter name.
54104 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54105 Add parameter name.
54106 (__sysconf): Pass it down.
54107
54108 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54109
54110 [BZ #12671]
54111 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54112 some situations.
54113 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54114 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54115 add in in __libc_use_alloca calls. Adjust callers.
54116 (glob): Use malloc in some situations.
54117
54118 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54119 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54120 pltexit.
54121
54122 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54123
54124 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54125 and CLOCK_BOOTTIME_ALARM.
54126
54127 [BZ #12782]
54128 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54129 is returned.
54130
54131 * string/_strerror.c (__strerror_r): Print negative errors as signed
54132 numbers.
54133
54134 [BZ #12777]
54135 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54136 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54137 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54138
54139 * configure.in: Fix typo in redirection and correct removal of test
54140 files in two cases.
54141
54142 [BZ #12788]
54143 * locale/setlocale.c (new_composite_name): Fix test to check for
54144 identical name of all categories.
54145
54146 [BZ #12792]
54147 * libio/filedoalloc.c (local_isatty): New function.
54148 (_IO_file_doallocate): Use local_isatty.
54149 * stdio-common/perror.c (perror): In case a new stream is used
54150 forward the stream error.
54151 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54152 error flag.
54153
54154 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54155
54156 [BZ #11869]
54157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54158 alloca.
54159 * include/alloca.h (extend_alloca_account): Define.
54160
54161 [BZ #11857]
54162 * posix/regex.h: Fix comments with documentation of user-accessible
54163 fields after compilation and describe correct free'ing of pattern
54164 after re_compile_pattern.
54165 Patch by Reuben Thomas <rrt@sc3d.org>.
54166
54167 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54168
54169 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54170 and -mno-altivec to prevent the compiler from using Altivec and/or
54171 VSX instructions when the corresponding registers are not available.
54172
54173 2011-05-19 Andreas Schwab <schwab@redhat.com>
54174
54175 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54176
54177 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54178
54179 * libio/freopen.c (freopen): Use __dup2, not dup2.
54180 * libio/freopen64.c (freopen64): Likewise.
54181
54182 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54183
54184 [BZ #12775]
54185 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54186 * math/Makefile (tests): Add test-powl.
54187 (CFLAGS-test-powl.c): Define.
54188 * math/test-powl.c: New file.
54189
54190 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54191
54192 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54193
54194 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54195
54196 [BZ #11837]
54197 * iconvdata/gb18030.c: Update to GB18020-2005.
54198
54199 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54200
54201 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54202 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54203 Patch by Aharon Robbins <arnold@skeeve.com>.
54204
54205 [BZ #11892]
54206 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54207 on the stack.
54208
54209 [BZ #11895]
54210 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54211 through underflows.
54212
54213 [BZ #12766]
54214 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54215 point to strings before performing equality test for error_one_per_line
54216 mode.
54217
54218 [BZ #11697]
54219 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54220
54221 [BZ #11820]
54222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54223 (struct user_fpregs_struct): Avoid __uint*_t types.
54224
54225 [BZ #6420]
54226 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54227 symbol info. Use it instead of calling _dl_addr locally.
54228 (lock_and_info): New function.
54229 (tr_freehook): Call lock_and_info and pass symbol info as additional
54230 parameter to tr_where.
54231 (tr_mallochook): Likewise.
54232 (tr_reallochook): Likewise.
54233 (tr_memalignhook): Likewise.
54234
54235 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54236 used and couldn't be at all thread-safe.
54237
54238 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54239
54240 * libio/freopen.c (freopen): Don't close old file descriptor
54241 before the new one is opened. Instead dup the new file descriptor
54242 to the old one after the new stream is created.
54243 * libio/freopen64.c (freopen64): Likewise.
54244 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54245 * libio/fileops.c (_IO_new_file_close_it): Handle new
54246 _IO_FLAGS2_NOCLOSE flag.
54247 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54248 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54249 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54250 _IO_FLAGS2_NOCLOSE flag.
54251 * include/unistd.h: Add hidden_proto for dup3.
54252 Define __have_dup3.
54253 * io/dup3.c: Define hidden symbol.
54254 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54255
54256 [BZ #7101]
54257 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54258 when an incomplete long option is used.
54259 * posix/tst-getopt_long1.c: New file.
54260 * posix/Makefile (tests): Add tst-getopt_long1.
54261
54262 [BZ #10138]
54263 * scripts/config.guess: Update from autoconf-2.68.
54264 * scripts/config.sub: Likewise.
54265
54266 [BZ #10157]
54267 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54268 tests into ...
54269 (has_cpuclock): ...this. New function.
54270 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54271 macro here based on has_cpuclock code.
54272
54273 [BZ #10149]
54274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54275 First byte (not low byte) is now always NUL.
54276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54277
54278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54279 Use non-cancelable interfaces.
54280
54281 [BZ #9809]
54282 * locale/iso-639.def: Add entry for Sorani.
54283
54284 [BZ #11901]
54285 * include/stdlib.h: Move include protection to the right place.
54286 Define abort_msg_s. Declare __abort_msg with it.
54287 * stdlib/abort.c (__abort_msg): Adjust type.
54288 * assert/assert.c (__assert_fail_base): New function. Majority
54289 of code from __assert_fail. Allocate memory for __abort_msg with
54290 mmap.
54291 (__assert_fail): Now call __assert_fail_base.
54292 * assert/assert-perr.c: Remove bulk of implementation. Use
54293 __assert_fail_base.
54294 * include/assert.hL Declare __assert_fail_base.
54295 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54296 mmap.
54297 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54298
54299 2011-05-14 Ulrich Drepper <drepper@gmail.com>
54300
54301 [BZ #11952]
54302 [BZ #12453]
54303 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54304 until all modules are registered in the DTV.
54305 * elf/Makefile: Add rules to build and run tst-tls19.
54306 * elf/tst-tls19.c: New file.
54307 * elf/tst-tls19mod1.c: New file.
54308 * elf/tst-tls19mod2.c: New file.
54309 * elf/tst-tls19mod3.c: New file.
54310 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54311
54312 [BZ #12083]
54313 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54314 correctly.
54315
54316 [BZ #12601]
54317 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54318 two-byte sequence errors.
54319 * iconvdata/Makefile (tests): Add bug-iconv8.
54320 * iconvdata/bug-iconv8.c: New file.
54321
54322 [BZ #12626]
54323 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54324 buf2 definition.
54325
54326 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54327
54328 [BZ #12432]
54329 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54330 (dummy_getcfa): New function.
54331 (init): Get _Unwind_GetCFA address, use dummy if not found.
54332 (backtrace_helper): In recursion check, also check whether CFA changes.
54333 (__backtrace): Completely initialize arg.
54334
54335 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54336 storing incomplete byte sequence in state object. Avoid testing for
54337 guaranteed too small input if we know there is enough data available.
54338
54339 2011-05-11 Andreas Schwab <schwab@redhat.com>
54340
54341 * Makeconfig (+link-pie): Indent.
54342 * Rules (binaries-pie): Define if $(have-fpie) and
54343 $(build-shared).
54344 (binaries-shared): Also filter out $(binaries-pie).
54345 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54346 * nscd/Makefile (others-pie): Add nscd.
54347 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54348 ($(objpfx)nscd): Remove command override.
54349 * login/Makefile (others-pie): Add pt_chown.
54350 ($(objpfx)pt_chown): Remove command override.
54351 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54352 remove command overrides.
54353
54354 2011-05-13 Ulrich Drepper <drepper@gmail.com>
54355
54356 * libio/tst_putwc.c: Fix error messages.
54357
54358 [BZ #12724]
54359 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54360 currently writing and seek to current position when not.
54361 * libio/Makefile (tests): Add bug-fclose1.
54362 * libio/bug-fclose1.c: New file.
54363
54364 2011-05-12 Ulrich Drepper <drepper@gmail.com>
54365
54366 [BZ #12511]
54367 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54368 don't set DF_1_NODELETE here.
54369 (do_lookup_x): When entering new entry test for copy relocation
54370 and if necessary set DF_1_NODELETE flag.
54371 * elf/tst-unique4.cc: New file.
54372 * elf/tst-unique4.h: New file.
54373 * elf/tst-unique4lib.cc: New file.
54374 * elf/Makefile: Add rules to build and run tst-unique4.
54375 Patch by Piotr Bury <pbury@goahead.com>.
54376
54377 2011-05-11 Ulrich Drepper <drepper@gmail.com>
54378
54379 [BZ #12052]
54380 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54381
54382 [BZ #12625]
54383 * misc/mntent_r.c (addmntent): Flush the stream after the output
54384
54385 [BZ #12393]
54386 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54387 (is_trusted_path_normalize): Skip initial colon. Append slash
54388 to empty buffer. Duplicate is_trusted_path code but allow
54389 constructed patch to be prefix.
54390 (is_dst): Allow $ORIGIN followed by /.
54391 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54392 Correct testing of result of is_trusted_path_normalize
54393 (decompose_rpath): Fix warning.
54394
54395 2011-05-10 Ulrich Drepper <drepper@gmail.com>
54396
54397 [BZ #11257]
54398 * grp/initgroups.c (internal_getgrouplist): When we found the service
54399 list through the initgroups entry in nsswitch.conf do not always
54400 continue on a successful lookup. Don't always use the
54401 __nss_group_database value if it is set.
54402 * nss/nsswitch.conf (initgroups): Change action for successful db
54403 lookup to continue for compatibility.
54404
54405 2011-05-09 Ulrich Drepper <drepper@gmail.com>
54406
54407 [BZ #11532]
54408 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54409 and CP774 modules.
54410 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54411 and CP774 modules.
54412 * iconvdata/tst-tables.sh: Likewise.
54413 * iconvdata/cp770.c: New file.
54414 * iconvdata/cp771.c: New file.
54415 * iconvdata/cp772.c: New file.
54416 * iconvdata/cp773.c: New file.
54417 * iconvdata/cp774.c: New file.
54418 * iconvdata/testdata/CP770: New file.
54419 * iconvdata/testdata/CP770..UTF8: New file.
54420 * iconvdata/testdata/CP771: New file.
54421 * iconvdata/testdata/CP771..UTF8: New file.
54422 * iconvdata/testdata/CP772: New file.
54423 * iconvdata/testdata/CP772..UTF8: New file.
54424 * iconvdata/testdata/CP773: New file.
54425 * iconvdata/testdata/CP773..UTF8: New file.
54426 * iconvdata/testdata/CP774: New file.
54427 * iconvdata/testdata/CP774..UTF8: New file.
54428
54429 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54430 END CHARMAP line.
54431 * iconvdata/gen-8bit-gap.sh: Likewise.
54432 * iconvdata/gen-8bit.sh: Likewise.
54433
54434 * locale/iso-639.def: Add ary entry.
54435
54436 [BZ #11258]
54437 * locale/C-translit.h.in: Add U20A1 transliteration.
54438
54439 [BZ #12178]
54440 * locale/iso-639.def: Add wae entry.
54441 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54442
54443 [BZ #12545]
54444 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54445 for n.
54446
54447 [BZ #12711]
54448 * locale/C-translit.h.in: Add entry for U20B9.
54449 Patch by pravin.d.s@gmail.com.
54450
54451 2011-05-08 Ulrich Drepper <drepper@gmail.com>
54452
54453 [BZ #12713]
54454 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54455 ENAMETOOLONG use generic getcwd.
54456 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54457 in rtld. Use *stat64.
54458 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54459 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54460 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54461 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54462 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54463 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54464 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54465 __fstatat64 macros.
54466 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54467 * dirent/rewinddir.c: Add libc_hidden_def.
54468 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54469 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54470
54471 * include/dirent.h (__alloc_dir): Add flags parameter.
54472 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54473 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54474 __alloc_dir.
54475 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54476 from fdopendir if O_CLOEXEC is already set.
54477
54478 2011-03-15 Alan Modra <amodra@gmail.com>
54479
54480 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54481 l_tls_firstbyte_offset non-zero. Save padding offset in
54482 l_tls_firstbyte_offset for later use.
54483 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54484 freeing static tls block.
54485
54486 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54487
54488 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54489 where #ifdef was intended. The intent is to prevent ARG_MAX from
54490 being defined by the kernel headers.
54491
54492 2011-05-07 Ulrich Drepper <drepper@gmail.com>
54493
54494 [BZ #12734]
54495 * resolv/resolv.h: Define RES_NOTLDQUERY.
54496 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54497 no-tld-query and set RES_NOTLDQUERY.
54498 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54499 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54500 modern BIND to search name as TLD unless forbidden.
54501
54502 2011-05-07 Petr Baudis <pasky@suse.cz>
54503 Ulrich Drepper <drepper@gmail.com>
54504
54505 [BZ #12393]
54506 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54507 (is_trusted_path): ...to here.
54508 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54509 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54510 using is_trusted_path_normalize() in setuid scripts.
54511
54512 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54513
54514 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54515 __BEGIN/__END_DECLS.
54516
54517 2011-05-06 Ulrich Drepper <drepper@gmail.com>
54518
54519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54520 NSS_STATUS_NOTFOUND if no record was found.
54521
54522 2011-05-05 Andreas Schwab <schwab@redhat.com>
54523
54524 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54525 (headers-not-in-tirpc): Remove rpc/netdb.h
54526 * resolv/netdb.h: Revert last change.
54527
54528 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54529
54530 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54531 circular dependency between libgcc.a and libc.a.
54532
54533 2011-05-05 Andreas Schwab <schwab@redhat.com>
54534
54535 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54536 * nis/Makefile: Don't install rpcsvc/*.
54537 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54538 instead of <rpc/types.h>.
54539 (MAXHOSTNAMELEN): Define.
54540
54541 2011-05-03 Andreas Schwab <schwab@redhat.com>
54542
54543 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54544
54545 2011-04-28 Maciej Babinski <mbabinski@google.com>
54546
54547 [BZ #12714]
54548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54549 gethostbyname4_r when IPv6 results are possible.
54550
54551 2011-05-02 Ulrich Drepper <drepper@gmail.com>
54552
54553 [BZ #12723]
54554 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54555 _PC_PIPE_BUF handling.
54556
54557 2011-04-30 Bruno Haible <bruno@clisp.org>
54558
54559 [BZ #12717]
54560 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54561 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54562 to 'int'.
54563 * inet/getnameinfo.c (getnameinfo): Likewise.
54564
54565 2011-04-29 Ulrich Drepper <drepper@gmail.com>
54566
54567 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54568 to groups setting in database lookup.
54569 * nss/nsswitch.conf: Add initgroups entry.
54570
54571 2011-04-22 Ulrich Drepper <drepper@gmail.com>
54572
54573 [BZ #12685]
54574 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54575 mode string.
54576 Patch by Eric Blake <eblake@redhat.com>.
54577
54578 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54579
54580 * sunrpc/Makefile (need-export-routines): Add svc_run.
54581 (routines): Remove svc_run.
54582 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54583 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54584 * sunrpc/svc_run.c (svc_run): Likewise.
54585 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54586
54587 2011-04-21 Ulrich Drepper <drepper@gmail.com>
54588
54589 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54590 problem in reallocation in last patch.
54591
54592 2011-04-20 Ulrich Drepper <drepper@gmail.com>
54593
54594 * sunrpc/Makefile: Move inclusion of Rules.
54595
54596 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54597
54598 * nss/nss_files/files-initgroups.c: New file.
54599 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54600 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54601 _nss_files_initgroups_dyn.
54602
54603 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54604
54605 * elf/elf.h (R_ARM_IRELATIVE): Define.
54606
54607 2011-04-19 Ulrich Drepper <drepper@gmail.com>
54608
54609 * po/ru.po: Update from translation team.
54610
54611 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54612
54613 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54614 dependencies.
54615
54616 2011-02-06 Mike Frysinger <vapier@gentoo.org>
54617
54618 [BZ #12653]
54619 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54620 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54623 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54624
54625 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54626
54627 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54628 differing bytes.
54629 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54632
54633 2011-04-17 Ulrich Drepper <drepper@gmail.com>
54634
54635 [BZ #12420]
54636 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54637 storing it.
54638 * stdlib/bug-getcontext.c: New file.
54639 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54640
54641 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54642
54643 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54644 instructions into .machine "z9-109".
54645 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54646 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54647
54648 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54649
54650 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54651 between environment variables and auxiliary vector.
54652
54653 2011-04-16 Ulrich Drepper <drepper@gmail.com>
54654
54655 * Makefile: Add rules to build linkobj/libc.so.
54656 * include/libc-symbols.h: Define libc_hidden_nolink.
54657 * include/rpc/auth.h: Mark functions which are to be hidden.
54658 * include/rpc/auth_des.h: Likewise.
54659 * include/rpc/auth_unix.h: Likewise.
54660 * include/rpc/clnt.h: Likewise.
54661 * include/rpc/des_crypt.h: Likewise.
54662 * include/rpc/key_prot.h: Likewise.
54663 * include/rpc/pmap_clnt.h: Likewise.
54664 * include/rpc/pmap_prot.h: Likewise.
54665 * include/rpc/pmap_rmt.h: Likewise.
54666 * include/rpc/rpc_msg.h: Likewise.
54667 * include/rpc/svc.h: Likewise.
54668 * include/rpc/svc_auth.h: Likewise.
54669 * include/rpc/xdr.h: Likewise.
54670 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54671 * nss/Makefile: Likewise.
54672 * sunrpc/Makefile: Don't install headers. Build library with normal
54673 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54674 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54675 for the compat linking library. Remove use of INTDEF/INTUSE.
54676 * sunrpc/auth_none.c: Likewise.
54677 * sunrpc/auth_unix.c: Likewise.
54678 * sunrpc/authdes_prot.c: Likewise.
54679 * sunrpc/authuxprot.c: Likewise.
54680 * sunrpc/clnt_gen.c: Likewise.
54681 * sunrpc/clnt_perr.c: Likewise.
54682 * sunrpc/clnt_raw.c: Likewise.
54683 * sunrpc/clnt_simp.c: Likewise.
54684 * sunrpc/clnt_tcp.c: Likewise.
54685 * sunrpc/clnt_udp.c: Likewise.
54686 * sunrpc/clnt_unix.c: Likewise.
54687 * sunrpc/des_crypt.c: Likewise.
54688 * sunrpc/des_soft.c: Likewise.
54689 * sunrpc/get_myaddr.c: Likewise.
54690 * sunrpc/key_call.c: Likewise.
54691 * sunrpc/key_prot.c: Likewise.
54692 * sunrpc/netname.c: Likewise.
54693 * sunrpc/pm_getmaps.c: Likewise.
54694 * sunrpc/pm_getport.c: Likewise.
54695 * sunrpc/pmap_clnt.c: Likewise.
54696 * sunrpc/pmap_prot.c: Likewise.
54697 * sunrpc/pmap_prot2.c: Likewise.
54698 * sunrpc/pmap_rmt.c: Likewise.
54699 * sunrpc/publickey.c: Likewise.
54700 * sunrpc/rpc_cmsg.c: Likewise.
54701 * sunrpc/rpc_common.c: Likewise.
54702 * sunrpc/rpc_dtable.c: Likewise.
54703 * sunrpc/rpc_prot.c: Likewise.
54704 * sunrpc/rpc_thread.c: Likewise.
54705 * sunrpc/rtime.c: Likewise.
54706 * sunrpc/svc.c: Likewise.
54707 * sunrpc/svc_auth.c: Likewise.
54708 * sunrpc/svc_authux.c: Likewise.
54709 * sunrpc/svc_raw.c: Likewise.
54710 * sunrpc/svc_run.c: Likewise.
54711 * sunrpc/svc_simple.c: Likewise.
54712 * sunrpc/svc_tcp.c: Likewise.
54713 * sunrpc/svc_udp.c: Likewise.
54714 * sunrpc/svc_unix.c: Likewise.
54715 * sunrpc/svcauth_des.c: Likewise.
54716 * sunrpc/xcrypt.c: Likewise.
54717 * sunrpc/xdr.c: Likewise.
54718 * sunrpc/xdr_array.c: Likewise.
54719 * sunrpc/xdr_float.c: Likewise.
54720 * sunrpc/xdr_intXX_t.c: Likewise.
54721 * sunrpc/xdr_mem.c: Likewise.
54722 * sunrpc/xdr_rec.c: Likewise.
54723 * sunrpc/xdr_ref.c: Likewise.
54724 * sunrpc/xdr_sizeof.c: Likewise.
54725 * sunrpc/xdr_stdio.c: Likewise.
54726
54727 2011-04-10 Ulrich Drepper <drepper@gmail.com>
54728
54729 [BZ #12650]
54730 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54731 * sysdeps/ia64/dl-tls.h: Likewise.
54732 * sysdeps/powerpc/dl-tls.h: Likewise.
54733 * sysdeps/s390/dl-tls.h: Likewise.
54734 * sysdeps/sh/dl-tls.h: Likewise.
54735 * sysdeps/sparc/dl-tls.h: Likewise.
54736 * sysdeps/x86_64/dl-tls.h: Likewise.
54737 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54738
54739 2011-03-14 Andreas Schwab <schwab@redhat.com>
54740
54741 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54742 rpath element also skip the following colon.
54743 (expand_dynamic_string_token): Add is_path parameter and pass
54744 down to DL_DST_REQUIRED and _dl_dst_substitute.
54745 (decompose_rpath): Call expand_dynamic_string_token with
54746 non-zero is_path. Ignore empty rpaths.
54747 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54748 with zero is_path.
54749
54750 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54751
54752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54753 Make cancelable.
54754
54755 2011-04-09 Ulrich Drepper <drepper@gmail.com>
54756
54757 [BZ #12655]
54758 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54759 Patch by Filipe David Manana <fdmanana@apache.org>.
54760
54761 2011-04-07 Andreas Schwab <schwab@redhat.com>
54762
54763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54764 Maintain aligned stack.
54765 (CHECK_RSP): Remove unused macro.
54766
54767 2011-04-03 Ulrich Drepper <drepper@gmail.com>
54768
54769 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54770 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54771
54772 2011-04-02 Ulrich Drepper <drepper@gmail.com>
54773
54774 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54775
54776 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54777
54778 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54779
54780 [BZ #12518]
54781 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54782 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54783 * sysdeps/x86_64/memmove.c: New file.
54784 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54785 (memcpy): Renamed to ...
54786 (__new_memcpy): This.
54787 (memcpy): Provide GLIBC_2_14 memcpy.
54788 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54789 (memcpy): Provide GLIBC_2_2_5 memcpy.
54790
54791 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54792
54793 [BZ #12631]
54794 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54795
54796 2011-03-30 Andreas Schwab <schwab@redhat.com>
54797
54798 * misc/syncfs.c: New file.
54799 * misc/Makefile (routines): Add syncfs.
54800 * posix/unistd.h: Declare syncfs.
54801 * sysdeps/unix/syscalls.list: Add syncfs.
54802
54803 2011-04-01 Andreas Schwab <schwab@redhat.com>
54804
54805 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54806 open_by_handle_at.
54807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54812 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54814
54815 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54816
54817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54818 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54824
54825 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54826 sync_file_range.c with -fexceptions.
54827 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54828 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54829 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54830 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54831 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54832 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54834 sync_file_range as cancellation point
54835 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54836 now a wrapper around __call_sync_file_range with cancellation handling.
54837 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54838 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54839 function name to __call_sync_file_range.
54840 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54841 Add call_sync_file_range.
54842
54843 2011-04-01 Andreas Schwab <schwab@redhat.com>
54844
54845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54846 bits/timex.h.
54847
54848 2011-04-01 Ulrich Drepper <drepper@gmail.com>
54849
54850 * iconv/iconv.h: Fix typo in comment.
54851 * io/fcntl.h: Likewise.
54852 * libio/stdio.h: Likewise.
54853 * posix/spawn.h: Likewise.
54854 * posix/unistd.h: Likewise.
54855 * stdlib/stdlib.h: Likewise.
54856 * time/time.h: Likewise.
54857 * wcsmbs/wchar.h: Likewise.
54858
54859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54860 open_by_handle): Add.
54861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54862 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54863 Augment a few comments.
54864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54869 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54870 open_by_handle.
54871
54872 * io/fcntl.h (AT_EMPTY_PATH): Define.
54873
54874 2011-03-30 Ulrich Drepper <drepper@gmail.com>
54875
54876 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54877 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54878 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54879 to...
54880 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54881 * Versions.def: Add GLIBC_2.14.
54882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54883 Export.
54884
54885 2011-03-22 Ulrich Drepper <drepper@gmail.com>
54886
54887 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54888 round counter.
54889 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54890
54891 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54892
54893 [BZ #12597]
54894 * string/test-strncmp.c (do_page_test): New function.
54895 (check2): Likewise.
54896 (test_main): Call check2.
54897 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54898
54899 2011-03-20 Ulrich Drepper <drepper@gmail.com>
54900
54901 [BZ #12587]
54902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54903 Handle cache information in CPU leaf 4.
54904 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54905
54906 2011-03-18 Ulrich Drepper <drepper@gmail.com>
54907
54908 [BZ #12583]
54909 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54910 character representation.
54911 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54912
54913 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54914
54915 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54916 END(__isnan) to END(__isnanf) to match function entry point/label
54917 EALIGN(__isnanf,...).
54918
54919 2011-03-10 Jakub Jelinek <jakub@redhat.com>
54920
54921 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54922
54923 2011-03-10 Ulrich Drepper <drepper@gmail.com>
54924
54925 [BZ #12510]
54926 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54927 copy from the symbol referenced in the relocation to initialize the
54928 used variable.
54929 Patch by Piotr Bury <pbury@goahead.com>.
54930 * elf/Makefile: Add rules to build and tst-unique3.
54931 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54932 * elf/tst-unique3.cc: New file.
54933 * elf/tst-unique3.h: New file.
54934 * elf/tst-unique3lib.cc: New file.
54935 * elf/tst-unique3lib2.cc: New file.
54936
54937 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54938
54939 2011-03-10 Mike Frysinger <vapier@gentoo.org>
54940
54941 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54942 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54943 to _start.
54944
54945 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54946
54947 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54948 to-be-loaded object along a path to loader is ld.so.
54949
54950 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54951 Ulrich Drepper <drepper@gmail.com>
54952
54953 * sysdeps/x86_64/memset.S: After aligning destination, code
54954 branches to different locations depending on the value of
54955 misalignment, when multiarch is enabled. Fix this.
54956
54957 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54958
54959 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54960 Set _x86_64_preferred_memory_instruction for AMD processsors.
54961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54962 Set bit_Prefer_SSE_for_memop for AMD processors.
54963
54964 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54965
54966 * libio/fmemopen.c (fmemopen): Optimize a bit.
54967
54968 2011-03-03 Andreas Schwab <schwab@redhat.com>
54969
54970 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54971
54972 2011-03-03 Roland McGrath <roland@redhat.com>
54973
54974 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54975
54976 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54977
54978 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54979 __bzero_ultra1 instead of __memset_ultra1.
54980
54981 2011-02-23 Andreas Schwab <schwab@redhat.com>
54982 Ulrich Drepper <drepper@gmail.com>
54983
54984 [BZ #12509]
54985 * include/link.h (struct link_map): Add l_orig_initfini.
54986 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54987 returning unsuccessfully.
54988 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54989 close of a file loaded at startup, restore the original l_initfini
54990 list.
54991 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54992 list, store the pointer.
54993 * elf/Makefile ($(objpfx)noload-mem): New rule.
54994 (noload-ENV): Define.
54995 (tests): Add $(objpfx)noload-mem.
54996 * elf/noload.c: Include <memcheck.h>.
54997 (main): Call mtrace. Close all opened handles.
54998
54999 2011-02-17 Andreas Schwab <schwab@redhat.com>
55000
55001 [BZ #12454]
55002 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55003 dependencies are missing.
55004
55005 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55006
55007 Fix __if_freereq crash: Unlike the generic version which uses free,
55008 Hurd needs munmap.
55009 * sysdeps/mach/hurd/ifreq.h: New file.
55010
55011 2011-01-27 Petr Baudis <pasky@suse.cz>
55012 Ulrich Drepper <drepper@gmail.com>
55013
55014 [BZ 12445]#
55015 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55016 to extend_alloca().
55017 * stdio-common/bug23.c: New file.
55018 * stdio-common/Makefile (tests): Add bug23.
55019
55020 2010-09-28 Andreas Schwab <schwab@redhat.com>
55021 Ulrich Drepper <drepper@gmail.com>
55022
55023 [BZ #12489]
55024 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55025 before performing relro protection. At old place add assertion
55026 to make sure nothing changed.
55027
55028 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55029 Glauber de Oliveira Costa <glommer@gmail.com>
55030
55031 * elf/elf.h: Add new ARM TLS relocs.
55032
55033 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55034
55035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55036 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55037 cast from r3.
55038 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55039 'tests' variable.
55040 * sysdeps/wordsize-64/tst-writev.c: New file.
55041
55042 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55043
55044 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55045 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55046 insns in _dl_start to prevent a TOC reference before relocs are
55047 resolved.
55048
55049 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55050
55051 [BZ #12469]
55052 * Makeconfig: Remove RANLIB definition.
55053 * Makerules: Don't use RANLIB.
55054 * aclocal.m4: Remove ranlib test.
55055 * configure.in: No need to check for ranlib.
55056 * elf/rtld-Rules: Don't use RANLIB.
55057
55058 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55059
55060 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55061 protection macro.
55062 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55063 inclusion protection macro.
55064
55065 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55066 SIGRTMIN and SIGRTMAX and print information in that case only when
55067 SIGRTMIN is defined.
55068
55069 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55070
55071 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55072 arginfo fn returning -1.
55073
55074 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55075 and thousands string is zero terminated.
55076
55077 2011-02-03 Andreas Schwab <schwab@redhat.com>
55078
55079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55080 sysdeps/unix/sysv/linux/bits/socket.h.
55081
55082 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55083
55084 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55085 (__CPU_COUNT): Remove old macros.
55086 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55087 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55088 (__CPU_ALLOC, __CPU_FREE): Add macros.
55089 (__sched_cpualloc, __sched_cpufree): Add declarations.
55090
55091 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55092
55093 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55094 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55095 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55096 (readdhstai): Return value of addhstaiX call.
55097 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55098 (addgrbyX): Return value returned by cache_addgr.
55099 (readdgrbyname): Return value returned by addgrbyX.
55100 (readdgrbygid): Likewise.
55101 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55102 (addpwbyX): Return value returned by cache_addpw.
55103 (readdpwbyname): Return value returned by addhstbyX.
55104 (readdpwbyuid): Likewise.
55105 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55106 (addservbyX): Return value returned by cache_addserv.
55107 (readdservbyname): Return value returned by addservbyX:
55108 (readdservbyport): Likewise.
55109 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55110 (addhstbyX): Return value returned by cache_addhst.
55111 (readdhstbyname): Return value returned by addhstbyX.
55112 (readdhstbyaddr): Likewise.
55113 (readdhstbynamev6): Likewise.
55114 (readdhstbyaddrv6): Likewise.
55115 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55116 (readdinitgroups): Return value returned by addinitgroupsX.
55117 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55118 (prune_cache): Keep track of timeout value of re-added entries.
55119 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55120 * nscd/nscd.h: Adjust prototypes of readd* functions.
55121
55122 2011-02-04 Roland McGrath <roland@redhat.com>
55123
55124 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55125 (nis_stats): Likewise.
55126 * nis/nis_modify.c (nis_modify): Likewise.
55127 * nis/nis_remove.c (nis_remove): Likewise.
55128 * nis/nis_add.c (nis_add): Likewise.
55129
55130 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55131
55132 * posix/fnmatch_loop.c: Add some consts.
55133
55134 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55135
55136 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55137
55138 [BZ #12460]
55139 * config.make.in (config-cflags-novzeroupper): Define.
55140 * configure.in: Substitute libc_cv_cc_novzeroupper.
55141 * elf/Makefile (AVX-CFLAGS): Define.
55142 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55143 (CFLAGS-tst-auditmod4a.c): Likewise.
55144 (CFLAGS-tst-auditmod4b.c): Likewise.
55145 (CFLAGS-tst-auditmod6b.c): Likewise.
55146 (CFLAGS-tst-auditmod6c.c): Likewise.
55147 (CFLAGS-tst-auditmod7b.c): Likewise.
55148 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55149
55150 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55151
55152 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55153 function to the callback.
55154 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55155
55156 2011-02-02 Andreas Schwab <schwab@redhat.com>
55157
55158 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55159 of errno.
55160
55161 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55162
55163 [BZ #11724]
55164 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55165 of constructors.
55166 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55167 of destructors.
55168 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55169
55170 [BZ #11724]
55171 * elf/Makefile: Add rules to build and run new test.
55172 * elf/tst-initorder.c: New file.
55173 * elf/tst-initorder.exp: New file.
55174 * elf/tst-initordera1.c: New file.
55175 * elf/tst-initordera2.c: New file.
55176 * elf/tst-initordera3.c: New file.
55177 * elf/tst-initordera4.c: New file.
55178 * elf/tst-initorderb1.c: New file.
55179 * elf/tst-initorderb2.c: New file.
55180 * elf/tst-order-a1.c: New file.
55181 * elf/tst-order-a2.c: New file.
55182 * elf/tst-order-a3.c: New file.
55183 * elf/tst-order-a4.c: New file.
55184 * elf/tst-order-b1.c: New file.
55185 * elf/tst-order-b2.c: New file.
55186 * elf/tst-order-main.c: New file.
55187 New test case by George Gensure <werkt0@gmail.com>.
55188
55189 2010-10-01 Andreas Schwab <schwab@redhat.com>
55190
55191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55192 decoding ACE if AI_CANONIDN.
55193
55194 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55195
55196 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55197
55198 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55199
55200 * version.h (RELEASE): Bump for 2.13 release.
55201 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55202
55203 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55204
55205 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55206 MADV_NOHUGEPAGE.
55207 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55209 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55212 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55213
55214 * posix/getconf.c: Update copyright year.
55215 * catgets/gencat.c: Likewise.
55216 * csu/version.c: Likewise.
55217 * debug/catchsegv.sh: Likewise.
55218 * debug/xtrace.sh: Likewise.
55219 * elf/ldconfig.c: Likewise.
55220 * elf/ldd.bash.in: Likewise.
55221 * elf/sprof.c (print_version): Likewise.
55222 * iconv/iconv_prog.c: Likewise.
55223 * iconv/iconvconfig.c: Likewise.
55224 * locale/programs/locale.c: Likewise.
55225 * locale/programs/localedef.c: Likewise.
55226 * malloc/memusage.sh: Likewise.
55227 * malloc/mtrace.pl: Likewise.
55228 * nscd/nscd.c (print_version): Likewise.
55229 * nss/getent.c: Likewise.
55230
55231 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55232 PF_CAIF, and PF_ALG.
55233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55234
55235 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55236
55237 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55238 (modules-names): Use them.
55239 (ifunc-test-modules, ifunc-pie-tests): Define.
55240 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55241 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55242 (test-extras): Likewise.
55243 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55244 $(compile-command.c).
55245 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55246 (all-built-dso): Define.
55247 (check-textrel.out, check-execstack.out): Depend on it.
55248
55249 * configure.in: Don't override --enable-multi-arch.
55250
55251 2011-01-15 Ulrich Drepper <drepper@gmail.com>
55252
55253 [BZ #6812]
55254 * nscd/hstcache.c (tryagain): Define.
55255 (cache_addhst): Return tryagain not notfound for temporary errors.
55256 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55257 failed.
55258
55259 2011-01-14 Ulrich Drepper <drepper@gmail.com>
55260
55261 [BZ #10563]
55262 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55263 to make the syscall.
55264 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55265
55266 [BZ #12378]
55267 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55268 and fall back to matching as normal character if the string ends before
55269 the matching ']' is found. This is what POSIX requires.
55270 * posix/testfnm.c: Adjust test result.
55271 * posix/globtest.sh: Adjust test result. Add new test.
55272 * posix/tst-fnmatch.input: Likewise.
55273 * posix/tst-fnmatch2.c: Add new test.
55274
55275 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55276
55277 * elf/Makefile (check-execstack): Revert last change. Depend on
55278 check-execstack.h.
55279 (check-execstack.h): New target.
55280 (generated): Add check-execstack.h.
55281 * elf/check-execstack.c: Include "check-execstack.h".
55282 (main): Revert last change.
55283 (handle_file): Return zero if GNU_STACK is absent and
55284 DEFAULT_STACK_PERMS doesn't include PF_X.
55285
55286 2011-01-13 Ulrich Drepper <drepper@gmail.com>
55287
55288 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55289 in child fails because the descriptor is already closed.
55290 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55291 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55293
55294 [BZ #12397]
55295 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55296 syscall.
55297
55298 [BZ #10484]
55299 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55300 temporary buffer used to handle multi lookups locally.
55301 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55302
55303 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55304
55305 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55306 loader is ld.so.
55307
55308 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55309
55310 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55311 alignment for SSE2.
55312
55313 2011-01-12 Ulrich Drepper <drepper@gmail.com>
55314
55315 [BZ #12394]
55316 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55317 characters. When rounding increased number of integer digits recompute
55318 number of groups.
55319 * stdio-common/tst-grouping.c: New file.
55320 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55321
55322 2011-01-09 Ulrich Drepper <drepper@gmail.com>
55323
55324 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55325 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55326
55327 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55328 void.
55329 * bits/select.h: Likewise.
55330
55331 2011-01-08 Ulrich Drepper <drepper@gmail.com>
55332
55333 * po/ja.po: Update from translation team.
55334
55335 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
55336
55337 [BZ #11155]
55338 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55339 implementation just like for lxstat, fxstatat, et al.
55340
55341 2010-12-27 Jim Meyering <meyering@redhat.com>
55342
55343 [BZ #12348]
55344 * posix/regexec.c (build_trtable): Return failure indication upon
55345 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55346
55347 2010-12-25 Ulrich Drepper <drepper@gmail.com>
55348
55349 [BZ #12201]
55350 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55351 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55352 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55353 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55354
55355 [BZ #12207]
55356 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55357
55358 [BZ #12204]
55359 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55360 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55361
55362 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55363
55364 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55365 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55366 script has SORT_BY_INIT_PRIORITY.
55367 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55368 NO_CTORS_DTORS_SECTIONS is defined.
55369 * elf/soinit.c: Likewise.
55370 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55371 NO_CTORS_DTORS_SECTIONS is defined.
55372 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55373 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55374 * sysdeps/sh/init-first.c: Likewise.
55375 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55376
55377 2010-12-24 Ulrich Drepper <drepper@gmail.com>
55378
55379 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55380 always use the slow path.
55381
55382 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55383
55384 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55385 similar rule which adds the sysdep directories to the header search in
55386 order to pick up the correct platform stackinfo.h.
55387 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55388 perform test if it is, otherwise return successfully without testing.
55389 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55390 DEFAULT_STACK_PERMS define in stackinfo.h.
55391 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55392 defined in stackinfo.h.
55393 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55394 DEFAULT_STACK_PERMS defined in stackinfo.h.
55395 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55396 * sysdeps/ia64/stackinfo.h: Likewise.
55397 * sysdeps/s390/stackinfo.h: Likewise.
55398 * sysdeps/sh/stackinfo.h: Likewise.
55399 * sysdeps/sparc/stackinfo.h: Likewise.
55400 * sysdeps/x86_64/stackinfo.h: Likewise.
55401 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55402 PF_X for powerpc64. Retain PF_X for powerpc32.
55403
55404 2010-12-19 Ulrich Drepper <drepper@gmail.com>
55405
55406 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55407 accurately.
55408 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55409 GETDENTS_64BIT_ALIGNED.
55410
55411 2010-12-14 Ulrich Drepper <dreper@gmail.com>
55412
55413 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55414
55415 2010-12-10 Andreas Schwab <schwab@redhat.com>
55416
55417 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55418 _GNU_SOURCE.
55419
55420 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55421 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55422 Remove __restrict.
55423 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55424 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55425
55426 2010-12-09 Ulrich Drepper <drepper@gmail.com>
55427
55428 [BZ #11655]
55429 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55430 are initialized.
55431
55432 2010-12-09 Jakub Jelinek <jakub@redhat.com>
55433
55434 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55435
55436 2010-12-03 Ulrich Drepper <drepper@gmail.com>
55437
55438 * po/it.po: Update from translation team.
55439
55440 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55441
55442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55443 unused codes.
55444
55445 2010-11-30 Ulrich Drepper <drepper@gmail.com>
55446
55447 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55448
55449 2010-11-24 Andreas Schwab <schwab@redhat.com>
55450
55451 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55452 specially.
55453 (gaih_getanswer_slice): Likewise.
55454
55455 2010-10-20 Jakub Jelinek <jakub@redhat.com>
55456
55457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55458
55459 2010-05-31 Petr Baudis <pasky@suse.cz>
55460
55461 [BZ #11149]
55462 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55463 silently even in the chroot mode.
55464
55465 2010-11-22 Ulrich Drepper <drepper@gmail.com>
55466
55467 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55468 last patch a bit. Pretty printing
55469
55470 2010-05-31 Petr Baudis <pasky@suse.cz>
55471
55472 [BZ #10085]
55473 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55474 initialization of skip_initgroups_dyn.
55475
55476 2010-11-19 Ulrich Drepper <drepper@gmail.com>
55477
55478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55480
55481 2010-11-16 Ulrich Drepper <drepper@gmail.com>
55482
55483 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55484
55485 2010-11-11 Andreas Schwab <schwab@redhat.com>
55486
55487 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55488 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55489 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55490 ($(objpfx)tst-fnmatch-mem): New rule.
55491 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55492 * posix/tst-fnmatch.c (main): Call mtrace.
55493
55494 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55495
55496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55497 Support Intel processor model 6 and model 0x2c.
55498
55499 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
55500
55501 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55502 signed comparison.
55503
55504 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55505
55506 [BZ #12205]
55507 * string/test-strncasecmp.c (check_result): New function.
55508 (do_one_test): Use it.
55509 (check1): New function.
55510 (test_main): Use it.
55511 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55512 Support strcasecmp and strncasecmp.
55513
55514 2010-11-08 Ulrich Drepper <drepper@gmail.com>
55515
55516 [BZ #12194]
55517 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55519
55520 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55521
55522 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55523 IFUNC support.
55524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55525 memset-x86-64.
55526 * sysdeps/x86_64/multiarch/bzero.S: New file.
55527 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55528 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55529 * sysdeps/x86_64/multiarch/memset.S: New file.
55530 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55532 Set bit_Prefer_SSE_for_memop for Intel processors.
55533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55534 Define.
55535 (index_Prefer_SSE_for_memop): Define.
55536 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55537
55538 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
55539
55540 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55541 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55542
55543 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55544
55545 [BZ #12191]
55546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55547 (__x86_64_raw_data_cache_size_half): Likewise.
55548 (__x86_64_raw_shared_cache_size): Likewise.
55549 (__x86_64_raw_shared_cache_size_half): Likewise.
55550
55551 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55552 (__x86_64_raw_data_cache_size_half): Likewise.
55553 (__x86_64_raw_shared_cache_size): Likewise.
55554 (__x86_64_raw_shared_cache_size_half): Likewise.
55555 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55556 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55557 and __x86_64_raw_shared_cache_size_half. Round
55558 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55559 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55560 to multiple of 256 bytes.
55561
55562 2010-11-03 Ulrich Drepper <drepper@gmail.com>
55563
55564 [BZ #12167]
55565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55566 of inacessible symlinks. Verify result of symlink before returning it.
55567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55568 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55569
55570 2010-10-28 Erich Ritz <erichritz@gmail.com>
55571
55572 * math/math.h (isinf): Fix typo in comment.
55573
55574 2010-11-01 Ulrich Drepper <drepper@gmail.com>
55575
55576 * po/da.po: Update from translation team.
55577
55578 2010-10-26 Ulrich Drepper <drepper@gmail.com>
55579
55580 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55581 is added to the list.
55582
55583 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55584 Ulrich Drepper <drepper@gmail.com>
55585
55586 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55587 the global list here. Move code to...
55588 (_dl_add_to_namespace_list): ...here. New function.
55589 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55590 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55591 * elf/dl-load.c (lose): Don't remove the element from the list.
55592 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55593 (_dl_map_object): Likewise.
55594
55595 2010-10-25 Ulrich Drepper <drepper@gmail.com>
55596
55597 [BZ #12159]
55598 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55599 into all bytes of SSE register.
55600 Patch by Richard Li <richardpku@gmail.com>.
55601
55602 2010-10-24 Ulrich Drepper <drepper@gmail.com>
55603
55604 [BZ #12140]
55605 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55606 perturbing.
55607
55608 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55609
55610 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55611 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55612 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55613 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55615 submachine.
55616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55617
55618 2010-10-22 Andreas Schwab <schwab@redhat.com>
55619
55620 * include/dlfcn.h (__RTLD_SECURE): Define.
55621 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55622 mode & __RTLD_SECURE instead.
55623 (open_path): Rename preloaded parameter to secure.
55624 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55625 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55626 * elf/dl-deps.c (openaux): Likewise.
55627 * elf/rtld.c (struct map_args): Remove is_preloaded.
55628 (map_doit): Don't use it.
55629 (dl_main): Likewise.
55630 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55631 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55632
55633 2010-09-09 Andreas Schwab <schwab@redhat.com>
55634
55635 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55636 (sysd-rules-targets): Remove duplicates.
55637 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55638 rtld-%.$o dependency.
55639
55640 2010-10-18 Andreas Schwab <schwab@redhat.com>
55641
55642 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55643 _dl_map_object do it.
55644
55645 2010-10-19 Ulrich Drepper <drepper@gmail.com>
55646
55647 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55648 fast fma builtins, define the macros in the C99 standard.
55649 (FP_FAST_FMAF): Likewise.
55650 (FP_FAST_FMAL): Likewise.
55651 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55652
55653 * bits/mathdef.h: Update copyright year.
55654 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55655
55656 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55657
55658 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55659 builtins, define the macros in the C99 standard.
55660 (FP_FAST_FMAF): Likewise.
55661 (FP_FAST_FMAL): Likewise.
55662 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55663 multiply/add.
55664 (FP_FAST_FMAF): Likewise.
55665
55666 2010-10-15 Jakub Jelinek <jakub@redhat.com>
55667
55668 [BZ #3268]
55669 * math/libm-test.inc (fma_test): Some new testcases.
55670 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55672 y and infinite z. Do multiplication by C already in long double.
55673 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55675 y and infinite z. Do bitwise or of inexact bit into u.d.
55676 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55677 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55678 * sysdeps/i386/fpu/s_fma.S: Removed.
55679 * sysdeps/i386/fpu/s_fmal.S: Removed.
55680
55681 2010-10-16 Jakub Jelinek <jakub@redhat.com>
55682
55683 [BZ #3268]
55684 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55686 computation is not scheduled after fetestexcept. Fix value
55687 of minimum denormal long double.
55688
55689 2010-10-14 Jakub Jelinek <jakub@redhat.com>
55690
55691 [BZ #3268]
55692 * math/libm-test.inc (fma_test): Add some more tests.
55693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55694 correctly.
55695
55696 2010-10-15 Andreas Schwab <schwab@redhat.com>
55697
55698 * scripts/data/localplt-s390-linux-gnu.data: New file.
55699 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55700
55701 2010-10-13 Jakub Jelinek <jakub@redhat.com>
55702
55703 [BZ #3268]
55704 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55705 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55706 instead of dbl-64.
55707 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55708 inlines.
55709 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55711 if one of x and y is very large and the other is subnormal.
55712 * sysdeps/s390/fpu/s_fmaf.c: New file.
55713 * sysdeps/s390/fpu/s_fma.c: New file.
55714 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55715 * sysdeps/powerpc/fpu/s_fma.S: New file.
55716 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55717 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55718 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55719
55720 2010-10-12 Jakub Jelinek <jakub@redhat.com>
55721
55722 [BZ #3268]
55723 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55724 fma tests.
55725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55726 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55727 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55728 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55729 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55730 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55731 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55732
55733 2010-10-12 Ulrich Drepper <drepper@redhat.com>
55734
55735 [BZ #12078]
55736 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55737 * posix/bug-regex31.input: Add test case.
55738
55739 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55740
55741 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55742 * posix/bug-regex31.input: New file.
55743
55744 [BZ #12078]
55745 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55746 (parse_sub_exp): Fix last change, use postorder.
55747
55748 * posix/bug-regex31.c: New file.
55749 * posix/Makefile: Add rules to build and run bug-regex31.
55750
55751 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55752
55753 [BZ #12078]
55754 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55755
55756 [BZ #12108]
55757 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55758 to have entries in sys_siglist.
55759
55760 [BZ #12093]
55761 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55762 be NULL.
55763
55764 2010-10-07 Jakub Jelinek <jakub@redhat.com>
55765
55766 [BZ #3268]
55767 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55768 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55769 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55770 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55771 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55772 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55773 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55774 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55775 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55776 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55777 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55778 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55779 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55780 * math/ftestexcept.c (fetestexcept): Likewise.
55781 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55782 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55783 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55784 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55785 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55786 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55787 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55788
55789 2010-10-11 Ulrich Drepper <drepper@gmail.com>
55790
55791 [BZ #12107]
55792 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55793 newline.
55794
55795 2010-10-06 Ulrich Drepper <drepper@gmail.com>
55796
55797 * string/bug-strstr1.c: New file.
55798 * string/Makefile: Add rules to build and run bug-strstr1.
55799
55800 2010-10-05 Eric Blake <eblake@redhat.com>
55801
55802 [BZ #12092]
55803 * string/str-two-way.h (two_way_long_needle): Always clear memory
55804 when skipping input due to the shift table.
55805
55806 2010-10-03 Ulrich Drepper <drepper@gmail.com>
55807
55808 [BZ #12005]
55809 * malloc/mcheck.c: Handle large requests.
55810
55811 [BZ #12077]
55812 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55813 for strncmp and strncasecmp.
55814 * string/stratcliff.c: Add tests for strcmp and strncmp.
55815 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55816
55817 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55818
55819 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55820 __set_fpscr.
55821
55822 2010-09-30 Andreas Jaeger <aj@suse.de>
55823
55824 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55825 (CGROUP_SUPER_MAGIC): Define.
55826 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55827 Handle btrfs and cgroup file systems.
55828 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55829 Likewise.
55830
55831 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
55832
55833 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55834 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55835
55836 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55837
55838 [BZ #12067]
55839 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55840 trying to locate the ELF header.
55841
55842 2010-09-27 Andreas Schwab <schwab@redhat.com>
55843
55844 [BZ #11611]
55845 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55846 Mask out sign-bit copies when constructing f_fsid.
55847
55848 2010-09-24 Petr Baudis <pasky@suse.cz>
55849
55850 * debug/stack_chk_fail_local.c: Add missing licence exception.
55851 * debug/warning-nop.c: Likewise.
55852
55853 2010-09-15 Joseph Myers <joseph@codesourcery.com>
55854
55855 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55856 implementing getdents64 using getdents syscall, set d_type if
55857 __ASSUME_GETDENTS32_D_TYPE.
55858
55859 2010-09-16 Andreas Schwab <schwab@redhat.com>
55860
55861 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55862 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55863
55864 2010-09-21 Ulrich Drepper <drepper@redhat.com>
55865
55866 [BZ #12037]
55867 * posix/unistd.h: Undo change of feature selection for ftruncate from
55868 2010-01-11.
55869
55870 2010-09-20 Ulrich Drepper <drepper@redhat.com>
55871
55872 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55873 detection.
55874
55875 2010-09-20 Andreas Schwab <schwab@redhat.com>
55876
55877 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55878 fanotify_mark.
55879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55880
55881 2010-09-14 Andreas Schwab <schwab@redhat.com>
55882
55883 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55884 variables after CHECK_SP call.
55885 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55886
55887 2010-09-13 Andreas Schwab <schwab@redhat.com>
55888 Ulrich Drepper <drepper@redhat.com>
55889
55890 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55891 re-relocationg ld.so.
55892 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55893 _dl_init_paths call.
55894 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55895 here anymore.
55896
55897 2010-09-14 Ulrich Drepper <drepper@redhat.com>
55898
55899 * resolv/res_init.c (__res_vinit): Count the default server we added.
55900
55901 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55902 Ulrich Drepper <drepper@redhat.com>
55903
55904 [BZ #11968]
55905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55906 (____longjmp_chk): Use %ebx for saving value across system call.
55907 Add unwind info.
55908
55909 2010-09-06 Andreas Schwab <schwab@redhat.com>
55910
55911 * manual/Makefile: Don't mix pattern rules with normal rules.
55912
55913 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55914
55915 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55916 operation.
55917 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55918 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55919 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55920 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55922 Likewise.
55923
55924 2010-09-04 Ulrich Drepper <drepper@redhat.com>
55925
55926 [BZ #11979]
55927 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55928 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55929
55930 2010-09-02 Ulrich Drepper <drepper@redhat.com>
55931
55932 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55933 * sysdeps/x86_64/addmul_1.S: Likewise.
55934 * sysdeps/x86_64/lshift.S: Likewise.
55935 * sysdeps/x86_64/mul_1.S: Likewise.
55936 * sysdeps/x86_64/rshift.S: Likewise.
55937 * sysdeps/x86_64/sub_n.S: Likewise.
55938 * sysdeps/x86_64/submul_1.S: Likewise.
55939
55940 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55941
55942 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55943 Define __sched_param instead of SCHED_* and sched_param when
55944 <bits/sched.h> is included with __need_schedparam defined.
55945 * bits/sched.h [__need_schedparam]
55946 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55947 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55948 (__defined_schedparam): Define to 1.
55949 (__sched_param): New structure, identical to sched_param.
55950 (__need_schedparam): Undefine.
55951
55952 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55953
55954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55955 (epoll_create1): Declare.
55956
55957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55958
55959 2010-08-31 Andreas Schwab <schwab@redhat.com>
55960
55961 [BZ #7066]
55962 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55963 shifting retval into place.
55964
55965 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55966
55967 * nis/rpcsvc/nis.h: Update copyright notice.
55968 * nis/rpcsvc/nis.x: Likewise.
55969 * nis/rpcsvc/nis_callback.h: Likewise.
55970 * nis/rpcsvc/nis_callback.x: Likewise.
55971 * nis/rpcsvc/nis_object.x: Likewise.
55972 * nis/rpcsvc/nis_tags.h: Likewise.
55973 * nis/rpcsvc/yp.h: Likewise.
55974 * nis/rpcsvc/yp.x: Likewise.
55975 * nis/rpcsvc/ypupd.h: Likewise.
55976 * nis/yp_xdr.c: Likewise.
55977 * nis/ypupdate_xdr.c: Likewise.
55978
55979 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55980 mainly the body of pmap_getport. Add parameters to specify timeouts.
55981 (pmap_getport): Use __libc_rpc_getport.
55982 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55983 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55984 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55985
55986 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55987
55988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55989 fanotify_mark.
55990
55991 2010-08-27 Roland McGrath <roland@redhat.com>
55992
55993 * sysdeps/i386/i686/multiarch/Makefile
55994 (CFLAGS-varshift.c): New variable.
55995
55996 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55997
55998 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55999 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56000
56001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56002
56003 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56004
56005 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56006
56007 * sysdeps/x86_64/strlen.S: Unroll the loop.
56008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56009 strlen-sse2 strlen-sse2-bsf.
56010 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56011 __strlen_no_bsf if bit_Slow_BSF is set.
56012 (__strlen_sse42): Removed.
56013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56014 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56015
56016 2010-08-25 Roland McGrath <roland@redhat.com>
56017
56018 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56019 * sysdeps/x86_64/multiarch/varshift.c: New file.
56020 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56021 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56022 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56023 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56024
56025 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56026
56027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56028 strlen-sse2 strlen-sse2-bsf.
56029 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56030 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56031 (__strlen_sse2): Removed.
56032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56035 bit_Slow_BSF for Atom.
56036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56037 (index_Slow_BSF): Define.
56038 (HAS_SLOW_BSF): Define.
56039
56040 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56041
56042 [BZ #10851]
56043 * resolv/res_init.c (__res_vinit): When no server address at all
56044 is given default to loopback.
56045
56046 2010-08-24 Roland McGrath <roland@redhat.com>
56047
56048 * configure.in: Remove config-name.h generation.
56049 * configure: Regenerated.
56050 * config-name.in: File removed.
56051 * scripts/config-uname.sh: New file.
56052 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56053 ($(objdir)config-name.h): New target.
56054
56055 * sunrpc/rpc_parse.h: Avoid nested comment.
56056
56057 2010-08-24 Richard Henderson <rth@redhat.com>
56058 Ulrich Drepper <drepper@redhat.com>
56059 H.J. Lu <hongjiu.lu@intel.com>
56060
56061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56063 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56064 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56065 _mm_alignr_epi8 with _mm_loadu_si128.
56066 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56067 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56068 (__m128i_shift_right): Removed.
56069 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56070 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56071 * sysdeps/x86_64/multiarch/varshift.h: New file.
56072 * sysdeps/x86_64/multiarch/varshift.S: New file.
56073
56074 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56075
56076 * configure.in: Move assembler checks to before sysdep dir checking.
56077
56078 2010-08-20 Petr Baudis <pasky@suse.cz>
56079
56080 * LICENSES: Sync the sunrpc license.
56081
56082 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56083
56084 * sunrpc/auth_des.c: Update copyright notice once again.
56085 * sunrpc/auth_none.c: Likewise.
56086 * sunrpc/auth_unix.c: Likewise.
56087 * sunrpc/authdes_prot.c: Likewise.
56088 * sunrpc/authuxprot.c: Likewise.
56089 * sunrpc/bindrsvprt.c: Likewise.
56090 * sunrpc/clnt_gen.c: Likewise.
56091 * sunrpc/clnt_perr.c: Likewise.
56092 * sunrpc/clnt_raw.c: Likewise.
56093 * sunrpc/clnt_simp.c: Likewise.
56094 * sunrpc/clnt_tcp.c: Likewise.
56095 * sunrpc/clnt_udp.c: Likewise.
56096 * sunrpc/clnt_unix.c: Likewise.
56097 * sunrpc/des_crypt.c: Likewise.
56098 * sunrpc/des_soft.c: Likewise.
56099 * sunrpc/get_myaddr.c: Likewise.
56100 * sunrpc/getrpcport.c: Likewise.
56101 * sunrpc/key_call.c: Likewise.
56102 * sunrpc/key_prot.c: Likewise.
56103 * sunrpc/openchild.c: Likewise.
56104 * sunrpc/pm_getmaps.c: Likewise.
56105 * sunrpc/pm_getport.c: Likewise.
56106 * sunrpc/pmap_clnt.c: Likewise.
56107 * sunrpc/pmap_prot.c: Likewise.
56108 * sunrpc/pmap_prot2.c: Likewise.
56109 * sunrpc/pmap_rmt.c: Likewise.
56110 * sunrpc/rpc/auth.h: Likewise.
56111 * sunrpc/rpc/auth_unix.h: Likewise.
56112 * sunrpc/rpc/clnt.h: Likewise.
56113 * sunrpc/rpc/des_crypt.h: Likewise.
56114 * sunrpc/rpc/key_prot.h: Likewise.
56115 * sunrpc/rpc/netdb.h: Likewise.
56116 * sunrpc/rpc/pmap_clnt.h: Likewise.
56117 * sunrpc/rpc/pmap_prot.h: Likewise.
56118 * sunrpc/rpc/pmap_rmt.h: Likewise.
56119 * sunrpc/rpc/rpc.h: Likewise.
56120 * sunrpc/rpc/rpc_des.h: Likewise.
56121 * sunrpc/rpc/rpc_msg.h: Likewise.
56122 * sunrpc/rpc/svc.h: Likewise.
56123 * sunrpc/rpc/svc_auth.h: Likewise.
56124 * sunrpc/rpc/types.h: Likewise.
56125 * sunrpc/rpc/xdr.h: Likewise.
56126 * sunrpc/rpc_clntout.c: Likewise.
56127 * sunrpc/rpc_cmsg.c: Likewise.
56128 * sunrpc/rpc_common.c: Likewise.
56129 * sunrpc/rpc_cout.c: Likewise.
56130 * sunrpc/rpc_dtable.c: Likewise.
56131 * sunrpc/rpc_hout.c: Likewise.
56132 * sunrpc/rpc_main.c: Likewise.
56133 * sunrpc/rpc_parse.c: Likewise.
56134 * sunrpc/rpc_parse.h: Likewise.
56135 * sunrpc/rpc_prot.c: Likewise.
56136 * sunrpc/rpc_sample.c: Likewise.
56137 * sunrpc/rpc_scan.c: Likewise.
56138 * sunrpc/rpc_scan.h: Likewise.
56139 * sunrpc/rpc_svcout.c: Likewise.
56140 * sunrpc/rpc_tblout.c: Likewise.
56141 * sunrpc/rpc_util.c: Likewise.
56142 * sunrpc/rpc_util.h: Likewise.
56143 * sunrpc/rpcinfo.c: Likewise.
56144 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56145 * sunrpc/rpcsvc/key_prot.x: Likewise.
56146 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56147 * sunrpc/rpcsvc/mount.x: Likewise.
56148 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56149 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56150 * sunrpc/rpcsvc/rex.x: Likewise.
56151 * sunrpc/rpcsvc/rstat.x: Likewise.
56152 * sunrpc/rpcsvc/rusers.x: Likewise.
56153 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56154 * sunrpc/rpcsvc/spray.x: Likewise.
56155 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56156 * sunrpc/rtime.c: Likewise.
56157 * sunrpc/svc.c: Likewise.
56158 * sunrpc/svc_auth.c: Likewise.
56159 * sunrpc/svc_authux.c: Likewise.
56160 * sunrpc/svc_raw.c: Likewise.
56161 * sunrpc/svc_run.c: Likewise.
56162 * sunrpc/svc_simple.c: Likewise.
56163 * sunrpc/svc_tcp.c: Likewise.
56164 * sunrpc/svc_udp.c: Likewise.
56165 * sunrpc/svc_unix.c: Likewise.
56166 * sunrpc/svcauth_des.c: Likewise.
56167 * sunrpc/xcrypt.c: Likewise.
56168 * sunrpc/xdr.c: Likewise.
56169 * sunrpc/xdr_array.c: Likewise.
56170 * sunrpc/xdr_float.c: Likewise.
56171 * sunrpc/xdr_mem.c: Likewise.
56172 * sunrpc/xdr_rec.c: Likewise.
56173 * sunrpc/xdr_ref.c: Likewise.
56174 * sunrpc/xdr_sizeof.c: Likewise.
56175 * sunrpc/xdr_stdio.c: Likewise.
56176
56177 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56178 handling.
56179
56180 2010-08-19 Andreas Schwab <schwab@redhat.com>
56181
56182 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56183
56184 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56185
56186 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56187 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56188 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56189 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56190 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56191 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56192 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56193 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56195 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56196 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56197 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56198 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56199 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56200
56201 2010-07-26 Anton Blanchard <anton@samba.org>
56202
56203 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56204 * malloc/arena.c (heap_trim): Likewise.
56205
56206 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56207
56208 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56209 here. Not...
56210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56211 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56212
56213 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56214
56215 * sysdeps/i386/elf/Makefile: New file.
56216
56217 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56218
56219 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56220 from fanotify_init.
56221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56223
56224 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56225
56226 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56227 of strncasecmp_l.
56228 * sysdeps/multiarch/strcmp.S: Likewise.
56229
56230 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56231
56232 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56233 strncase_l-nonascii.
56234 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56235 Add strncase_l-ssse3.
56236 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56237 * sysdeps/x86_64/strcmp.S: Likewise.
56238 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56239 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56240 * sysdeps/x86_64/strncase.S: New file.
56241 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56242 * sysdeps/x86_64/strncase_l.S: New file.
56243 * string/Makefile (strop-tests): Add strncasecmp.
56244 * string/test-strncasecmp.c: New file.
56245
56246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56247 warning.
56248
56249 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56250 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56251
56252 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56253
56254 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56255
56256 2010-08-12 Ulrich Drepper <drepper@redhat.com>
56257
56258 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56259 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56260 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56261
56262 2010-05-01 Alan Modra <amodra@gmail.com>
56263
56264 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56265 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56266 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56267 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56268 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56269 tidying. Don't tail-call __sigjmp_save for static lib.
56270 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56271 save location.
56272 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56273 (CALL_MCOUNT): Add eh info, and nop after bl.
56274 (TAIL_CALL_SYSCALL_ERROR): New macro.
56275 (PSEUDO_RET): Use it.
56276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56277 Correct save location of integer regs and cr.
56278 (_dl_profile_resolve): Correct cr save location. Delete nops
56279 after bl when SHARED. Reduce cfi size a little by better
56280 placement of cfi directives.
56281 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56282 make a stack frame. Instead use parm save area as a temp.
56283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56284 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56286 Don't make a stack frame for parent, use parm save area.
56287 Increase child stack frame to 112 bytes. Don't save unused reg,
56288 and adjust reg usage. Set up cfi on error recovery and
56289 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56291 (__makecontext): Add dummy nop after jump to exit.
56292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56293 Use correct parm save area and cr save, reduce stack frame.
56294 Correct cfi for possible PSEUDO_RET frame setup.
56295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56296 Branch to local label emitted by PSEUDO_RET rather than
56297 __syscall_error.
56298
56299 2010-08-12 Andreas Schwab <schwab@redhat.com>
56300
56301 [BZ #11904]
56302 * locale/programs/locale.c (print_assignment): New function.
56303 (show_locale_vars): Use it.
56304
56305 2010-08-11 Ulrich Drepper <drepper@redhat.com>
56306
56307 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56308 field.
56309 (struct statfs64): Likewise.
56310 (_STATFS_F_FLAGS): Define.
56311 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56312 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56313 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56314 (ST_VALID): Define locally.
56315 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56316 __statvfs_getflags, use the provided value.
56317 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56318 __ASSUME_STATFS_F_FLAGS.
56319
56320 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56321
56322 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56323 Add sys/fanotify.h.
56324 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56325 fanotify_mask for GLIBC_2.13.
56326 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56327 fanotify_init and fanotify_mark.
56328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56329 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56330
56331 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56332 Add prlimit.
56333 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56334 prlimit64 for GLIBC_2.13.
56335 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56336 prlimit64.
56337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56338 syscall.
56339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56341 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56342 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56344 add prlimit alias.
56345 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56346
56347 [BZ #11903]
56348 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56349 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56350
56351 * nss/Makefile: Add rules to build and run tst-nss-test1.
56352 * shlib-versions: Add entry for libnss_test1.
56353 * nss/nss_test1.c: New file.
56354 * nss/tst-nss-test1.c: New file.
56355
56356 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56357 (__nss_configure_lookup): Set appropriate entry in
56358 __nss_configure_lookup to true.
56359 * nss/nsswitch.h: Define enum with indeces of databases in
56360 databases and __nss_database_custom arrays. Declare
56361 __nss_database_custom.
56362 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56363 to avoid using nscd when custom rules are installed.
56364 * nss/getXXbyYY_r.c: Likewise.
56365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56366
56367 * nss/nss_files/files-parse.c: Whitespace fixes.
56368
56369 2010-08-09 Ulrich Drepper <drepper@redhat.com>
56370
56371 [BZ #11883]
56372 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56373 * posix/fnmatch_loop.c: Likewise.
56374
56375 2010-07-17 Andi Kleen <ak@linux.intel.com>
56376
56377 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56378 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56379 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56380 * Versions.def [GLIBC_2.13]: Add.
56381
56382 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56383
56384 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56385 Also fail if tpwd after pwuid call is NULL.
56386
56387 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56388
56389 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56390 when converting to ms.
56391
56392 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56393
56394 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56395 EOPNOTSUPP errors with ENOTTY.
56396 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56397 EOPNOTSUPP errors with ENOTTY.
56398
56399 2010-07-31 Ulrich Drepper <drepper@redhat.com>
56400
56401 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56402 Add strcasecmp_l-ssse3.
56403 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56404 strcasecmp.
56405 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56406 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56408
56409 2010-07-30 Ulrich Drepper <drepper@redhat.com>
56410
56411 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56412
56413 * string/Makefile (strop-tests): Add strcasecmp.
56414 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56415 strcasecmp_l-nonascii.
56416 (gen-as-const-headers): Add locale-defines.sym.
56417 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56418 * sysdeps/x86_64/strcasecmp.S: New file.
56419 * sysdeps/x86_64/strcasecmp_l.S: New file.
56420 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56421 * sysdeps/x86_64/locale-defines.sym: New file.
56422 * string/test-strcasecmp.c: New file.
56423
56424 * string/test-strcasestr.c: Test both ends of the range of characters.
56425 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56426
56427 2010-07-29 Roland McGrath <roland@redhat.com>
56428
56429 [BZ #11856]
56430 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56431
56432 2010-07-27 Ulrich Drepper <drepper@redhat.com>
56433
56434 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56435 for ld.so.
56436
56437 2010-07-27 Andreas Schwab <schwab@redhat.com>
56438
56439 * manual/memory.texi (Malloc Tunable Parameters): Document
56440 M_PERTURB.
56441
56442 2010-07-26 Roland McGrath <roland@redhat.com>
56443
56444 [BZ #11840]
56445 * configure.in (-fgnu89-inline check): Set and substitute
56446 gnu89_inline, not libc_cv_gnu89_inline.
56447 * configure: Regenerated.
56448 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56449
56450 2010-07-26 Ulrich Drepper <drepper@redhat.com>
56451
56452 * string/test-strnlen.c: New file.
56453 * string/Makefile (strop-tests): Add strnlen.
56454 * string/tester.c (test_strnlen): Add a few more test cases.
56455 * string/tst-strlen.c: Better error reporting.
56456
56457 * sysdeps/x86_64/strnlen.S: New file.
56458
56459 2010-07-24 Ulrich Drepper <drepper@redhat.com>
56460
56461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56462 lower-latency instructions.
56463
56464 2010-07-23 Ulrich Drepper <drepper@redhat.com>
56465
56466 * string/test-strcasestr.c: New file.
56467 * string/test-strstr.c: New file.
56468 * string/Makefile (strop-tests): Add strstr and strcasestr.
56469 * string/str-two-way.h: Don't undefine MAX.
56470 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56471
56472 2010-07-21 Andreas Schwab <schwab@redhat.com>
56473
56474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56475 strcasestr-nonascii.
56476 (CFLAGS-strcasestr-nonascii.c): Define.
56477 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56479 Remove unused attribute.
56480
56481 2010-07-20 Roland McGrath <roland@redhat.com>
56482
56483 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56484 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56485 ld.so.cache was broken. With it, there is no way to disable dsocaps
56486 like LD_HWCAP_MASK can disable hwcaps.
56487
56488 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56489
56490 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56491
56492 2010-07-16 Ulrich Drepper <drepper@redhat.com>
56493
56494 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56495 call in strcasestr.
56496 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56497 __strcasestr_sse42_nonascii.
56498 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56499 strcasestr-nonascii.c.
56500 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56501
56502 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
56503
56504 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56507 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56508
56509 2010-07-09 Ulrich Drepper <drepper@redhat.com>
56510
56511 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56512 fcntl.
56513
56514 2010-07-06 Andreas Schwab <schwab@redhat.com>
56515
56516 [BZ #11577]
56517 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56518 dl_signal_cerror.
56519
56520 2010-07-06 Ulrich Drepper <drepper@redhat.com>
56521
56522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56523 _PC_PIPE_BUF using F_GETPIPE_SZ.
56524
56525 2010-07-05 Roland McGrath <roland@redhat.com>
56526
56527 * manual/arith.texi (Rounding Functions): Fix rint description
56528 implicit in round description.
56529
56530 2010-07-02 Ulrich Drepper <drepper@redhat.com>
56531
56532 * elf/Makefile: Fix linking for a few tests to make recent linker
56533 happy.
56534
56535 2010-06-30 Andreas Schwab <schwab@redhat.com>
56536
56537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56538 $(common-objpfx)libc_nonshared.a.
56539
56540 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
56541
56542 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56543 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56544 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56545 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56546 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56547 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56548 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56549 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56564 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56565 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56566 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56567 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56568 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56569 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56570 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56571 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56572 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56573 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56574 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56575 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56590
56591 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56592
56593 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56594 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56595 * string/memmove.c (memmove): Renamed to ...
56596 (MEMMOVE): ...this. Default to memmove.
56597 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56598 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56599 (END_CHK): Define.
56600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56601 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56602 mempcpy-ssse3-back memmove-ssse3-back.
56603 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56606 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56607 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56608 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56609 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56610 * sysdeps/x86_64/multiarch/memmove.c: New file.
56611 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56612 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56613 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56614 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56615 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56616 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56617 Define.
56618 (index_Fast_Copy_Backward): Define.
56619 (HAS_ARCH_FEATURE): Define.
56620 (HAS_FAST_REP_STRING): Define.
56621 (HAS_FAST_COPY_BACKWARD): Define.
56622
56623 2010-06-21 Andreas Schwab <schwab@redhat.com>
56624
56625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56626 Restore proper fallback handling.
56627
56628 2010-06-19 Ulrich Drepper <drepper@redhat.com>
56629
56630 [BZ #11701]
56631 * posix/group_member.c (__group_member): Correct checking loop.
56632
56633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56634 OOM in getpwuid_r correctly. Return error number when the caller
56635 should return, otherwise -1.
56636 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56637 call returning > 0 value.
56638 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56639
56640 2010-06-07 Andreas Schwab <schwab@redhat.com>
56641
56642 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56643 libc_nonshared.a from targets in modules-names.
56644
56645 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56646
56647 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56648 requires it.
56649
56650 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
56651
56652 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56653 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56656
56657 2010-06-02 Andreas Schwab <schwab@redhat.com>
56658
56659 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56660
56661 2010-06-14 Ulrich Drepper <drepper@redhat.com>
56662
56663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56664 and F_GETPIPE_SZ.
56665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56669 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56671
56672 2010-06-14 Roland McGrath <roland@redhat.com>
56673
56674 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56675
56676 2010-06-07 Jakub Jelinek <jakub@redhat.com>
56677
56678 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56679 __REDIRECT followed by __THROW.
56680 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56681 * posix/getopt.h (getopt): Likewise.
56682
56683 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56684
56685 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56686 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56687 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56688 in AT_FLAGS.
56689 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56690 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56691
56692 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
56693
56694 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56695
56696 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56697
56698 [BZ #11640]
56699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56700 Properly check family and model.
56701
56702 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56703
56704 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56705
56706 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
56707
56708 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56709
56710 2010-05-21 Ulrich Drepper <drepper@redhat.com>
56711
56712 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56713 symbol reference.
56714
56715 2010-05-19 Andreas Schwab <schwab@redhat.com>
56716
56717 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56718 symbol reference.
56719
56720 2010-05-21 Andreas Schwab <schwab@redhat.com>
56721
56722 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56723 and internal_recvmmsg.
56724 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56725 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56726 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56727 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56728
56729 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56730 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56731 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56732
56733 2010-05-20 Andreas Schwab <schwab@redhat.com>
56734
56735 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56736
56737 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
56738
56739 POWER7 optimizations.
56740 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56741 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56742
56743 2010-05-19 Ulrich Drepper <drepper@redhat.com>
56744
56745 * version.h: Update for 2.13 development version.
56746
56747 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
56748
56749 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56750 exceptions. Return 0.
56751
56752 2010-05-07 Roland McGrath <roland@redhat.com>
56753
56754 * elf/ldconfig.c (main): Add a const.
56755
56756 2010-05-06 Ulrich Drepper <drepper@redhat.com>
56757
56758 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56759 (args_options): Add no-idn option.
56760 (ahosts_keys_int): Add idn_flags to ai_flags.
56761 (parse_option): Handle 'i' option to clear idn_flags.
56762
56763 * malloc/malloc.c (_int_free): Possible race in the most recently
56764 added check. Only act on the data if no current modification
56765 happened.
56766
56767 See ChangeLog.17 for earlier changes.