]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Make error checking effective in nptl/tst-cond25.c.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-02-16 Torvald Riegel <triegel@redhat.com>
2
3 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4 acquired.
5
62015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
7
8 [BZ #17792]
9 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11 HOST_STACK_END_ADDR): Likewise.
12
132015-02-13 Steve Ellcey <sellcey@imgtec.com>
14
15 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18
192015-02-13 Roland McGrath <roland@hack.frob.com>
20
21 * sysdeps/generic/c++-types.data: New file.
22 * sysdeps/generic/ld.abilist: New file.
23 * sysdeps/generic/libBrokenLocale.abilist: New file.
24 * sysdeps/generic/libanl.abilist: New file.
25 * sysdeps/generic/libc.abilist: New file.
26 * sysdeps/generic/libcrypt.abilist: New file.
27 * sysdeps/generic/libdl.abilist: New file.
28 * sysdeps/generic/libm.abilist: New file.
29 * sysdeps/generic/libpthread.abilist: New file.
30 * sysdeps/generic/libresolv.abilist: New file.
31 * sysdeps/generic/librt.abilist: New file.
32
332015-02-13 Joseph Myers <joseph@codesourcery.com>
34
35 [BZ #17569]
36 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37 Compute absolute value of x as modified by fmod, not original
38 value of x.
39 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
40 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
41 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
42 RUN_TEST_ffI_f1_mod8.
43 (remquo_test_data): Add more tests.
44
452015-02-13 Roland McGrath <roland@hack.frob.com>
46
47 * sysdeps/init_array/pt-crti.S: New file.
48
492015-02-13 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #17967]
52 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
53 __builtin_fmaf instead of relying on contraction of a * b + c.
54
552015-02-12 J William Piggott <elseifthen@gmx.com>
56
57 [BZ #17969]
58 * manual/time.texi: correct the zoneinfo path in the TZ Variable
59 node.
60
612015-02-12 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #17964]
64 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
65 __builtin_fma instead of relying on contraction of a * b + c.
66
672015-02-12 Roland McGrath <roland@hack.frob.com>
68
69 * Makeconfig (ASFLAGS): Add -Werror=undef.
70 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
71 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
72 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
73
74 * Makeconfig (after-link): New variable.
75 (+link-pie, +link-pie-tests): Use it.
76 (+link-static, +link-static-tests): Likewise.
77 (+link, +link-tests): Likewise.
78 * Makerules (build-module, build-module-asneeded): Likewise.
79 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
80 Likewise.
81 * elf/Makefile ($(objpfx)ld.so): Likewise.
82
832015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
84
85 [BZ #17965]
86 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
87 both struct timeval and struct timespec.
88
892015-02-12 Joseph Myers <joseph@codesourcery.com>
90
91 [BZ #16560]
92 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
93 and redefine.
94 (__ieee754_exp2l): Do not multiply small fractional parts by
95 M_LN2l.
96 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
97 small argument.
98 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
99 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
100 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
101 * math/auto-libm-test-in: Add more tests of exp2.
102 * math/auto-libm-test-out: Regenerated.
103
1042015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
105
106 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
107 unaligned path.
108
1092015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
112 little endian.
113
1142015-02-12 Andreas Schwab <schwab@suse.de>
115
116 [BZ #15790]
117 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
118 Filter out elision flags from value returned in kind.
119 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
120 * nptl/tst-pthread-mutexattr.c: New file.
121
1222015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
123
124 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
125 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
126 into gnu-gnu, and update comment to refer to abi-tags.
127
1282015-02-11 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #15467]
131 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
132 (__sincos): Set errno to EDOM for infinite argument.
133 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
134 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
135 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
136 (__sincosl): Set errno to EDOM for infinite argument.
137 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
138 (__sincosl): Set errno to EDOM for infinite argument.
139 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
140 (__sincosl): Set errno to EDOM for infinite argument.
141 * math/libm-test.inc (sincos_test_data): Test errno setting.
142
1432015-02-11 Leonhard Holz <leonhard.holz@web.de>
144
145 * string/strxfrm_l.c: Remove #define STRCMP.
146 * string/strcoll_l.c: Remove #define STRLEN.
147 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
148 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
149
1502015-02-10 Joseph Myers <joseph@codesourcery.com>
151
152 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
153 * sysdeps/mips/mips32/sfp-machine.h: ... here.
154 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
155 * sysdeps/mips/mips64/Makefile: ... here.
156 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
157 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
158 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
159 * sysdeps/mips/mips64/sfp-machine.h: ... here.
160 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
161 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
162 * sysdeps/mips/mips64/n64/Implies: Likewise.
163
1642015-02-10 Roland McGrath <roland@hack.frob.com>
165
166 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
167 <sys/time.h>, <string.h>, and <errno.h>.
168 (dest_offset, dest_address, value, zero): Remove unused variables.
169 (ldouble): Remove typedef.
170 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
171 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
172 1). Fix code style.
173 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
174 (check): Function removed.
175 (CHECK): New macro.
176 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
177 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
178 Don't call set_sigaction_FP and remove_sigaction_FP here.
179 (ldouble_test): Just use 'long double' as macro argument, no need for
180 the 'ldouble' typedef.
181 (do_test): Set up SIGFPE handler at start, using plain signal rather
182 than sigaction. Fix code style.
183
1842015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
185
186 [BZ #17949]
187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
188 jump label.
189
1902015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
191
192 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
194
195 * sysdeps/powerpc/configure.ac: Remove file.
196 * sysdeps/powerpc/configure: Likewise.
197
198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
199 [sysdep_routines]: Remove wordcopy-power6 object.
200 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
201 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
202 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
203 (__memmove_ppc32): Likewise.
204 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
205 file.
206 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
207 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
208 Remove preprocessor.
209
210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
211 [sysdep_routines]: Remove wide chars objects.
212 [wcsmbs]: New rule for wide char objects.
213
214 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
215 Remove wordcopy-power6 obejct.
216 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
217 Use local call for wordcopy and memcpy symbols.
218 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
220 implementation for loader.
221 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
222
223 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
224 Remove wordcopy-power7 object.
225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
227 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
228 (_wordcopy_fwd_dest_aligned): Likewise.
229 (_wordcopy_bwd_aligned): Likewise.
230 (_wordcopy_bwd_dest_aligned): Likewise.
231
232 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
233 Rewrite to call __memmove_ppc instead of include default
234 implementation.
235
236 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
237 Remove wide chars objects.
238 [wcsmbs]: New rule for wide char objects.
239
2402015-02-09 Andreas Schwab <schwab@suse.de>
241
242 [BZ #17912]
243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
244 in terms of __O_DIRECTORY.
245
2462015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
247
248 * time/getdate.c: Include <stdbool.h>.
249 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
250 call PTR_MANGLE.
251 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
252 PTR_DEMANGLE.
253
2542015-02-07 Paul Eggert <eggert@cs.ucla.edu>
255
256 Add ersatz _Static_assert on older C hosts
257 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
258 pre-C11 C platform that is not known to support _Static_assert.
259
2602015-02-07 Richard Braun <rbraun@sceen.net>
261
262 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
263 sigstate.
264 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
265
2662015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
267
268 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
269 priority against unexistent AIO_PRIO_DELTA_MAX.
270 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
271 instead of int.
272 * misc/fchflags.c (fchflags): Likewise.
273 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
274 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
275 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
276 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
277 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
278 Declare macros.
279 [__USE_MISC] (chflags, fchflags): Declare functions.
280 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
281 EINVAL when nfds is greater than FD_SETSIZE.
282 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
283 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
284 45.
285 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
286 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
287 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
288 MACH_RCV_TIMED_OUT.
289 * hurd/hurd/signal.h (_hurd_self_sigstate,
290 _hurd_critical_section_lock, _hurd_critical_section_unlock):
291 Explicit casts from void *.
292 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
293 * abi-tags: Rename gnu-gnu os into gnu.
294
295 [BZ #4719]
296 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
297 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
298 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
299 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
300 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
301 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
302
303 [BZ #17944]
304 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
305 duplicates ADDR->sun_path with sockaddr LEN limitation.
306 * sysdeps/mach/hurd/connect.c: Include <string.h>
307 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
308 * sysdeps/mach/hurd/sendmsg.c: Likewise.
309 * sysdeps/mach/hurd/sendto.c: Likewise.
310 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
311 implementing it by hand.
312
3132015-02-06 Roland McGrath <roland@hack.frob.com>
314
315 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
316 Use sfi_breg on ldr.
317 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
318 Likewise.
319
320 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
321 it's defined.
322 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
323 Test SIGSETXID only if it's defined.
324
325 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
326
327 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
328 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
329
330 * nptl/tst-align2.c: Moved ...
331 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
332 * nptl/Makefile (tests): Remove tst-align2.
333 * sysdeps/unix/sysv/linux/Makefile
334 [$(subdir) = nptl] (tests): Add tst-align-clone.
335 * nptl/tst-getpid1.c: Moved ...
336 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
337 * nptl/tst-getpid2.c: Moved ...
338 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
339 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
340 * sysdeps/unix/sysv/linux/Makefile
341 [$(subdir) = nptl] (tests): ... here.
342 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
343 * sysdeps/unix/sysv/linux/Makefile
344 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
345
346 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
347 Drop trailing \n from perror argument. Use return rather than exit.
348
349 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
350 on [SA_SIGINFO].
351 * nptl/tst-cancel21.c (do_test): Likewise.
352 * debug/tst-backtrace6.c: Include <signal.h> first thing.
353 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
354 [!SA_SIGINFO]: Make it a stub test.
355
356 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
357 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
358
359 * posix/tst-getlogin.c: Move to ...
360 * login/tst-getlogin.c: ... here.
361 * posix/Makefile (tests): Move tst-getlogin to ...
362 * login/Makefile (tests): ... here.
363
364 * libio/tst-atime.c (do_test): Move local variables SV and E
365 inside [ST_NOATIME] conditional.
366
367 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
368
369 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
370
371 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
372 (wait_code): New function replaces macro.
373 Call nanosleep rather than syscall.
374
375 * nptl/pt-system.c: Rewritten. Put everything under
376 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
377 Use IFUNC to redirect when possible.
378
379 * nptl/pt-longjmp.c: Rewritten. Put everything under
380 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
381 Use IFUNC to redirect when possible.
382
383 * nptl/pt-fork.c: Rewritten. Put everything under
384 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
385 Use IFUNC to redirect when possible.
386 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
387
388 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
389 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
390 unconditionally nowadays. This included the only reference to
391 __vdso_clock_gettime that appears outside libc proper.
392 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
393 Remove version set (containing only __vdso_clock_gettime).
394 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
395 Add attribute_hidden.
396 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
397 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
398 libc_hidden_data_def.
399 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
400 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
401
402 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
403 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
404 setrpcent, and getrpcport to ...
405 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
406 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
407 getrpcbynumber_r, and getrpcent_r to ...
408 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
409 * inet/getrpcbyname.c: Moved ...
410 * sunrpc/getrpcbyname.c: ... here.
411 * inet/getrpcbyname_r.c: Moved ...
412 * sunrpc/getrpcbyname_r.c: ... here.
413 * inet/getrpcbynumber.c: Moved ...
414 * sunrpc/getrpcbynumber.c: ... here.
415 * inet/getrpcbynumber_r.c: Moved ...
416 * sunrpc/getrpcbynumber_r.c: ... here.
417 * inet/getrpcent.c: Moved ...
418 * sunrpc/getrpcent.c: ... here.
419 * inet/getrpcent_r.c: Moved ...
420 * sunrpc/getrpcent_r.c: ... here.
421 * inet/Makefile (routines): Move those to ...
422 * sunrpc/Makefile (routines): ... here.
423 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
424 the $(subdirs) list.
425 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
426 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
427 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
428 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
429
430 * elf/Makefile (routines): Include $(all-dl-routines), not just
431 $(dl-routines).
432 (rtld-routines): Likewise. Use = rather than :=.
433 * sysdeps/aarch64/Makefile [$(subdir) = elf]
434 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
435 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
436 * sysdeps/arm/Makefile: Likewise.
437 * sysdeps/i386/Makefile: Likewise.
438 * sysdeps/x86_64/Makefile: Likewise.
439 * sysdeps/hppa/Makefile [$(subdir) = elf]
440 (sysdep_routines, sysdep-rtld-routines): Don't add
441 $(sysdep-dl-routines) to these.
442 * sysdeps/ia64/Makefile: Likewise.
443 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
444 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
445 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
446 Don't add dl-static to these; sysdep-dl-routines alone is enough.
447 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
448 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
449 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
450 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
451 * sysdeps/powerpc/Makefile [$(subdir) = elf]
452 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
453 these; sysdep-dl-routines alone is enough.
454
4552015-02-06 Joseph Myers <joseph@codesourcery.com>
456
457 [BZ #17932]
458 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
459 where multiplication results in zero and third argument is finite
460 and nonzero.
461 * math/auto-libm-test-in: Add more tests of fma.
462 * math/auto-libm-test-out: Regenerated.
463
464 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
465 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
466 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
467 (_FP_CMP_EQ): Likewise.
468 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
469
470 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
471 extra argument CHECK_NAN. Redefine as wrapper around
472 _FP_EXTEND_CNAN.
473
4742015-02-06 Carlos O'Donell <carlos@systemhalted.org>
475
476 * version.h (RELEASE): Set to "stable".
477 (VERSION): Set to "2.21"
478 * include/features.h (__GLIBC_MINOR__): Set to 21.
479
480 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
481
4822015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
483 Paul Eggert <eggert@cs.ucla.edu>
484
485 [BZ #16618]
486 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
487 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
488 size in bytes. Store needed elements in wpmax. Use needed size
489 in bytes for extend_alloca.
490
4912015-02-05 Carlos O'Donell <carlos@systemhalted.org>
492
493 * manual/install.texi: Latest tested versions are GCC 4.9.2,
494 binutls 2.25, and texinfo 5.2.
495 * INSTALL: Regenerate.
496 * sysdeps/nios2/configure: Regenerate.
497 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
498 * manual/contrib.texi: Update.
499 * po/be.po: Update.
500 * po/bg.po: Update.
501 * po/ca.po: Update.
502 * po/cs.po: Update.
503 * po/da.po: Update.
504 * po/de.po: Update.
505 * po/el.po: Update.
506 * po/eo.po: Update.
507 * po/es.po: Update.
508 * po/fi.po: Update.
509 * po/fr.po: Update.
510 * po/gl.po: Update.
511 * po/hr.po: Update.
512 * po/hu.po: Update.
513 * po/ia.po: Update.
514 * po/id.po: Update.
515 * po/it.po: Update.
516 * po/ja.po: Update.
517 * po/ko.po: Update.
518 * po/lt.po: Update.
519 * po/nb.po: Update.
520 * po/nl.po: Update.
521 * po/pl.po: Update.
522 * po/pt_BR.po: Update.
523 * po/ru.po: Update.
524 * po/rw.po: Update.
525 * po/sk.po: Update.
526 * po/sl.po: Update.
527 * po/sv.po: Update.
528 * po/tr.po: Update.
529 * po/uk.po: Update.
530 * po/vi.po: Update.
531 * po/zh_CN.po: Update.
532 * po/zh_TW.po: Update.
533
534 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
535 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
536 * sysdeps/hppa/dl-irel.h: Remove #warning.
537 * sysdeps/hppa/entry.h: Provide prototype for
538 __canonicalize_funcptr_for_compare and cast argument.
539 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
540 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
541 * sysdeps/hppa/sotruss-lib.c: New file.
542 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
543 (atomic_compare_and_exchange_val_acq): Use __typeof__.
544 (atomic_compare_and_exchange_bool_acq): Likewise.
545 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
546 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
547
548 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
549 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
550 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
551
5522015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
553
554 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
555 called function in non-PIC case.
556
5572015-01-31 David S. Miller <davem@davemloft.net>
558
559 * sysdeps/sparc/sparc32/bits/atomic.h
560 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
561 unlock not after it.
562 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
563 volatile register usage warnings from the compiler.
564
565 * sysdeps/sparc/nptl/sem_init.c: Delete.
566 * sysdeps/sparc/nptl/sem_post.c: Delete.
567 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
568 * sysdeps/sparc/nptl/sem_wait.c: Delete.
569 * sysdeps/sparc/sparc32/sem_init.c: New file.
570 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
571 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
572 padding explicitly initialized.
573 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
574 padding for in-semaphore spinlock.
575 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
576 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
577 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
578 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
579 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
580 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
581 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
582 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
583 version.
584 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
585 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
586
5872015-01-30 H.J. Lu <hongjiu.lu@intel.com>
588
589 [BZ #17801]
590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
591 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
592 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
593 New.
594 (index_AVX_Fast_Unaligned_Load): Likewise.
595 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
596 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
597 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
598 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
599 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
600 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
601 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
602 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
603 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
604
6052015-01-29 Andreas Schwab <schwab@suse.de>
606
607 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
608
6092015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
610
611 [BZ #17892]
612 * nscd/nscd_stat.c (send_stats): Initialize DATA.
613
6142015-01-28 Martin Sebor <msebor@redhat.com>
615
616 * math/README.libm-test: Clarify. Add "How to read the test output."
617
6182015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
619
620 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
621 Define to 0.
622
6232015-01-28 Joseph Myers <joseph@codesourcery.com>
624
625 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
626 (__HAVE_64B_ATOMICS): Define to 0.
627
6282015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
629
630 [BZ #17885]
631 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
632 value to set as new flag.
633
634 [BZ #16576]
635 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
636 and use _ARCH_PPCSQ instead.
637 (__ieee754_sqrt): Likewise.
638 (__ieee754_sqrtf): Likewise.
639 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
640 _ARCH_PPCSQ is defined.
641 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
642 fsqrt instruction.
643 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
644 _ARCH_PPCSQ is defined.
645 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
646 fsqrts instruction.
647 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
648
6492015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
650
651 * iconv/loop.c: Suppress array out of bound warning caused by GCC
652 bug (GCC BZ #64739).
653
6542015-01-25 Andreas Schwab <schwab@linux-m68k.org>
655
656 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
657 Mark _retval as used.
658 (lll_futex_wake_unlock): Likewise.
659 (lll_futex_timed_wait_requeue_pi): Likewise.
660
661 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
662 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
663 register variables.
664
665 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
666 libm_hidden_def.
667
668 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
669 (__bswap_64): Mark as __always_inline.
670
6712015-01-25 Bram <bug_rh@spam.wizbit.be>
672
673 [BZ #15378]
674 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
675 when none of the search directories exist.
676
6772015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
678
679 [BZ #17869]
680 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
681 power8 in .machine directive.
682
683 [BZ #17868]
684 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
685 set dependency from opd value.
686
6872015-01-23 H.J. Lu <hongjiu.lu@intel.com>
688
689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
690 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
691 architecture.
692
6932015-01-23 H.J. Lu <hongjiu.lu@intel.com>
694
695 [BZ #17870]
696 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
697 with uint64_t.
698 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
699 (uint64_t) 1.
700 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
701 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
702 Replace 1UL with (uint64_t) 1.
703 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
704 int with uint64_t.
705
7062015-01-23 Roland McGrath <roland@hack.frob.com>
707
708 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
709 (if_freenameindex): Likewise.
710
711 * resource/getrlimit64.c: Add missing libc_hidden_def.
712
7132015-01-22 Joseph Myers <joseph@codesourcery.com>
714
715 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
716 __label__.
717 (_FP_FMA): Likewise.
718 (_FP_TO_INT_ROUND): Likewise.
719 (_FP_FROM_INT): Likewise.
720
7212015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722
723 [BZ #16418]
724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
725 Make code racy and cancel safe.
726
7272015-01-21 Carlos O'Donell <carlos@redhat.com>
728
729 * sysdeps/arm/unwind-resume.h: Fix copyright year.
730 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
731 attribution.
732
733 * pwd/tst-getpw.c: Rewrite.
734
735 [BZ #17702]
736 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
737 (modules-names): Add moddummy1 and moddummy2.
738 ($(objpfx)tst-rec-dlopen): Define.
739 * dlfcn/moddummy1.c: New file.
740 * dlfcn/moddummy2.c: New file.
741 * dlfcn/tst-rec-dlopen.c: New file.
742 * elf/dl-cache.c (_dl_load_cache_lookup):
743 Return char*. Copy result with alloca/strcpy/strdup.
744 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
745 returns char*. Free cached. If not saving realname
746 free cached.
747 * elf/dl-open.c (dl_open_worker): Do not assert that
748 _r_debug->r_state is RT_CONSISTENT.
749 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
750 returns char*.
751
7522015-01-21 Torvald Riegel <triegel@redhat.com>
753 Carlos O'Donell <carlos@redhat.com>
754
755 [BZ #12674]
756 * nptl/sem_waitcommon.c: New file.
757 * nptl/sem_wait.c: Include sem_waitcommon.c.
758 (__sem_wait_cleanup, do_futex_wait): Remove.
759 (__new_sem_wait): Adapt.
760 (__new_sem_trywait): New function.
761 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
762 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
763 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
764 (sem_timedwait): Adapt.
765 * nptl/sem_post.c (__new_sem_post): Adapt.
766 (futex_wake): New function.
767 (__old_sem_post): Add release MO fence.
768 * nptl/sem_open.c (sem_open): Adapt.
769 * nptl/sem_init.c (__new_sem_init): Adapt.
770 (futex_private_if_supported): New function.
771 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
772 (__old_sem_getvalue): Add using previous code.
773 * sysdeps/nptl/internaltypes.h: Adapt.
774 * nptl/tst-sem13.c (do_test): Adapt.
775 * nptl/tst-sem11.c (main): Adapt.
776 * nptl/sem_trywait.c: Remove.
777 * nptl/DESIGN-sem.txt: Remove.
778 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
779 (gen-as-const-headers): Remove structsem.sym.
780 * nptl/structsem.sym: Remove.
781 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
782 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
783 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
784 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
785 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
786 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
787 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
788 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
789 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
790 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
791 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
792 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
793 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
794 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
795 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
796 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
797 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
798 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
799 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
800 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
801 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
802 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
803
8042015-01-20 Carlos O'Donell <carlos@redhat.com>
805
806 * INSTALL: Regenerated.
807
808 * po/libc.pot: Regenerated.
809
8102015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
811 Sandra Loosemore <sandra@codesourcery.com>
812 Andrew Jenner <andrew@codesourcery.com>
813 Joseph Myers <joseph@codesourcery.com>
814 Nathan Sidwell <nathan@codesourcery.com>
815
816 * NEWS: Mention new Nios II port.
817 * sysdeps/nios2/Implies: New file.
818 * sysdeps/nios2/Makefile: New file.
819 * sysdeps/nios2/Subdirs: New file.
820 * sysdeps/nios2/Versions: New file.
821 * sysdeps/nios2/__longjmp.S: New file.
822 * sysdeps/nios2/abort-instr.h: New file.
823 * sysdeps/nios2/backtrace.c: New file.
824 * sysdeps/nios2/bits/endian.h: New file.
825 * sysdeps/nios2/bits/fenv.h: New file.
826 * sysdeps/nios2/bits/link.h: New file.
827 * sysdeps/nios2/bits/setjmp.h: New file.
828 * sysdeps/nios2/bsd-_setjmp.S: New file.
829 * sysdeps/nios2/bsd-setjmp.S: New file.
830 * sysdeps/nios2/configure: New generated file.
831 * sysdeps/nios2/configure.ac: New file.
832 * sysdeps/nios2/crti.S: New file.
833 * sysdeps/nios2/crtn.S: New file.
834 * sysdeps/nios2/dl-init.c: New file.
835 * sysdeps/nios2/dl-machine.h: New file.
836 * sysdeps/nios2/dl-sysdep.h: New file.
837 * sysdeps/nios2/dl-tls.h: New file.
838 * sysdeps/nios2/dl-trampoline.S: New file.
839 * sysdeps/nios2/gccframe.h: New file.
840 * sysdeps/nios2/gmp-mparam.h: New file.
841 * sysdeps/nios2/jmpbuf-offsets.h: New file.
842 * sysdeps/nios2/jmpbuf-unwind.h: New file.
843 * sysdeps/nios2/ldsodefs.h: New file.
844 * sysdeps/nios2/libc-tls.c: New file.
845 * sysdeps/nios2/libm-test-ulps: New file.
846 * sysdeps/nios2/machine-gmon.h: New file.
847 * sysdeps/nios2/math-tests.h: New file.
848 * sysdeps/nios2/math_private.h: New file.
849 * sysdeps/nios2/memusage.h: New file.
850 * sysdeps/nios2/nptl/Makefile: New file.
851 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
852 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
853 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
854 * sysdeps/nios2/nptl/pthreaddef.h: New file.
855 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
856 * sysdeps/nios2/nptl/tls.h: New file.
857 * sysdeps/nios2/preconfigure: New file.
858 * sysdeps/nios2/s_fma.c: New file.
859 * sysdeps/nios2/s_fmaf.c: New file.
860 * sysdeps/nios2/setjmp.S: New file.
861 * sysdeps/nios2/sfp-machine.h: New file.
862 * sysdeps/nios2/sotruss-lib.c: New file.
863 * sysdeps/nios2/stackguard-macros.h: New file.
864 * sysdeps/nios2/stackinfo.h: New file.
865 * sysdeps/nios2/start.S: New file.
866 * sysdeps/nios2/sysdep.h: New file.
867 * sysdeps/nios2/tls-macros.h: New file.
868 * sysdeps/nios2/tst-audit.h: New file.
869 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
870 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
871 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
872 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
873 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
874 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
875 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
876 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
877 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
878 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
879 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
880 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
881 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
882 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
883 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
884 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
885 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
886 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
887 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
888 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
889 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
890 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
891 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
892 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
893 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
894 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
895 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
896 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
897 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
898 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
899 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
900 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
901 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
902 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
903 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
904 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
905 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
906 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
907 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
908 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
909 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
910 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
911 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
912 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
913
9142015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
915
916 [BZ #17844]
917 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
918 (getutent): Use weak_alias in non SHARED case
919 and default_symbol_version in SHARED case.
920 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
921 (getutent_r, pututline): Likewise.
922 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
923 (getutid): Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
925 (getutid_r): Likewise.
926 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
927 (getutline): Likewise.
928 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
929 (getutline_r): Likewise.
930 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
931 (updwtmp): Likewise.
932
9332015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
934
935 [BZ #17848]
936 * sysdeps/s390/s390-32/memcmp.S
937 (memcmp_g5): Rename to __memcmp_g5.
938 * sysdeps/s390/s390-32/memcpy.S
939 (memcpy_g5): Rename to __memcpy_g5.
940 Jump to __memcpy_mvcle instead of memcpy_mvcle.
941 (memcpy_mvcle) Rename to __memcpy_mvcle.
942 * sysdeps/s390/s390-32/memset.S
943 (memset_g5): Rename to __memset_g5.
944 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
945 (IFUNC_RESOLVE): Prefix ifunc-resolve function
946 and use prefixed functions.
947 * sysdeps/s390/s390-32/multiarch/memcmp.S
948 (memcmp_z196): Rename to __memcmp_z196.
949 (memcmp_z10): Rename to __memcmp_z10.
950 (memcmp): Set alias to __memcmp_g5.
951 (bcmp): Set alias to __memcmp_g5.
952 * sysdeps/s390/s390-32/multiarch/memcpy.S
953 (memcpy_z196): Rename to __memcpy_z196.
954 Jump to __memcpy_mvcle instead of memcpy_mvcle.
955 (memcpy_z10): Rename to __memcpy_z10.
956 Jump to __memcpy_mvcle instead of memcpy_mvcle.
957 (memcpy): Set alias to __memcpy_g5.
958 * sysdeps/s390/s390-32/multiarch/memset.S
959 (memset_z196): Rename to __memset_z196.
960 Jump to __memset_mvcle instead of memset_mvcle.
961 (memset_z10): Rename to __memset_z10.
962 Jump to __memset_mvcle instead of memset_mvcle.
963 (memset_mvcle) Rename to __memset_mvcle.
964 (memset): Set alias to __memset_g5.
965 * sysdeps/s390/s390-64/memcmp.S
966 (memcmp_z900): Rename to __memcmp_z900.
967 * sysdeps/s390/s390-64/memcpy.S
968 (memcpy_z900): Rename to __memcpy_z900.
969 Jump to __memcpy_mvcle instead of memcpy_mvcle.
970 (memcpy_mvcle) Rename to __memcpy_mvcle.
971 * sysdeps/s390/s390-64/memset.S
972 (memset_z900): Rename to __memset_z900.
973 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
974 (IFUNC_RESOLVE): Prefix ifunc-resolve function
975 and use prefixed functions.
976 * sysdeps/s390/s390-64/multiarch/memcmp.S
977 (memcmp_z196): Rename to __memcmp_z196.
978 (memcmp_z10): Rename to __memcmp_z10.
979 (memcmp): Set alias to __memcmp_z900.
980 (bcmp): Set alias to __memcmp_z900.
981 * sysdeps/s390/s390-64/multiarch/memcpy.S
982 (memcpy_z196): Rename to __memcpy_z196.
983 Jump to __memcpy_mvcle instead of memcpy_mvcle.
984 (memcpy_z10): Rename to __memcpy_z10.
985 Jump to __memcpy_mvcle instead of memcpy_mvcle.
986 (memcpy): Set alias to __memcpy_z900.
987 * sysdeps/s390/s390-64/multiarch/memset.S
988 (memset_z196): Rename to __memset_z196.
989 Jump to __memset_mvcle instead of memset_mvcle.
990 (memset_z10): Rename to __memset_z10.
991 Jump to __memset_mvcle instead of memset_mvcle.
992 (memset_mvcle) Rename to __memset_mvcle.
993 (memset): Set alias to __memset_z900.
994
9952015-01-14 Joseph Myers <joseph@codesourcery.com>
996
997 [BZ #17748]
998 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
999 __fesetenv instead of fesetenv.
1000
10012015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1002
1003 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1004 macro.
1005
10062015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007
1008 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1009 regression on LE.
1010
1011 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1012 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1014 strncmp-power8 object.
1015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1016 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1017 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1018 * NEWS: Update.
1019
10202015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1021 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022
1023 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1024 trailing byte check.
1025
10262015-01-13 David S. Miller <davem@davemloft.net>
1027
1028 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1029
10302015-01-13 Roland McGrath <roland@hack.frob.com>
1031
1032 * login/logout.c (logout): Use memset rather than bzero.
1033 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1034 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1035 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1036 (_gethtbyaddr): Likewise.
1037 * locale/programs/simple-hash.c (bcopy): Macro removed.
1038
10392015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040
1041 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1042 Add strcmp-power8 object.
1043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1044 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1045 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1046 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1047 __strcmp_power8 implementation.
1048 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1049 * NEWS: Update.
1050
1051 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1052 Add strncpy-power8 and stpncpy-power8 objects.
1053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1054 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1055 implementations.
1056 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1058 __stpncpy_power8 implementation.
1059 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1060 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1061 __strncpy_power8 implementation.
1062 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1063 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1064 * NEWS: Update.
1065
1066 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1067 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1068 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1069
1070 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1071 strncat-power8 object.
1072 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1073 __strcat_power8 implementation.
1074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1075 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1076 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1077 optimized strcat for power8.
1078
1079 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1080 strcpy-power8 and stpcpy-power8 objects.
1081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1082 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1083 implementations.
1084 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1085 multiarch stpcpy implementation for POWER8.
1086 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1087 multiarch strcpy implementation for POWER8.
1088 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1089 __strcpy_power8 function.
1090 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1091 stpcpy for POWER8.
1092 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1093 strcpy for POWER8.
1094 * NEWS: Update.
1095
10962015-01-13 Leonhard Holz <leonhard.holz@web.de>
1097
1098 [BZ #16009]
1099 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1100 weights and rules. Use do_xfrm_cached if data fits in cache,
1101 do_xfrm otherwise. Moved former main loop to...
1102 * (do_xfrm_cached): New function.
1103 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1104 find_idx, find_position and stack_push.
1105 * (find_idx): New function.
1106 * (find_position): Likewise.
1107 * localedata/sort-test.sh: Added test run for do_xfrm.
1108 * localedata/xfrm-test.c (main): Added command line option
1109 -nocache to run the test with strings that are too large for
1110 the STRXFRM cache.
1111
11122015-01-13 Torvald Riegel <triegel@redhat.com>
1113
1114 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1115 variable to lll_futex_wake call, not the value itself.
1116
11172015-01-12 Joseph Myers <joseph@codesourcery.com>
1118
1119 [BZ #17803]
1120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1121 twom64. Adjust value to 0x1p-64L.
1122 (__scalblnl): Only return standard underflowing result for K <=
1123 -64 not K <= -63; adjust exponent for underflowing result by 64
1124 not 63.
1125 * math/libm-test.inc (scalbn_test_data): Add more tests.
1126 (scalbln_test_data): Likewise.
1127
1128 [BZ #17834]
1129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1130 0x1p63L.
1131 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1132 not HX.
1133 * math/libm-test.inc (scalbn_test_data): Add more tests.
1134 (scalbln_test_data): Likewise.
1135
11362015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1137 Stefani Seibold <stefani@seibold.net>
1138
1139 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1140 (sysdep_routines): Add dl-vdso here, ...
1141 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1142 (sysdep_routines): ... not here.
1143 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1144 fallback when vDSO is not presented.
1145 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1146 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1147 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1148 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1149 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1151 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1152 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1153 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1155 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1156 fallback configurable symbol when vDSO is not available.
1157 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1158 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1159 be able to redefine fallback symbol when vDSO is not available.
1160 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1161 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1162
11632015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
1165 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1166 (TLS_INIT_TP): Add tm_capable initialization.
1167 (TLS_DEFINE_INIT_TP): Likewise.
1168 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1169 TCB.
1170 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1171 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1172 calculation.
1173 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1174 transactoion is lock elision is built and TCB tm_capable is set.
1175 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1177 (INTERNAL_SYSCALL_NCS): Likewise.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1179 (INTERNAL_SYSCALL_NCS): Likewise.
1180 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1181
1182 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1183 for powerpc.
1184 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1185 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1186 and remove it for 32 bits case.
1187 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1188 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1189 initialization.
1190 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1191 Disable lock elision with rdlocks if elision is not available.
1192
1193 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1194 (sysdep_routines): Add lock elision objects.
1195 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1196 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1197 [pthread_mutex_t] (__elision): Add field.
1198 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1199 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1200 elision definitions for powerpc.
1201 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1202 implementation of lock elision for powerpc.
1203 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1204 implementation of timed lock elision for powerpc.
1205 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1206 implementation of trylock with lock elision for powerpc.
1207 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1208 implementaion of unlock for lock elision for powerpc.
1209 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1210 automatic enable lock elision for mutexes.
1211 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1212 transaction execution definitions for powerpc.
1213 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1214 definitions.
1215 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1216 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1218 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1219 * NEWS: Update.
1220
12212015-01-09 Roland McGrath <roland@hack.frob.com>
1222
1223 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1224 for #include of <shm-directory.h>.
1225
12262015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1227
1228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1229 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1230
12312015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1232
1233 [BZ #17791]
1234 * NEWS: Mention bug fix.
1235 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1236 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1237 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1238
12392015-01-09 Torvald Riegel <triegel@redhat.com>
1240
1241 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1242
12432015-01-09 Torvald Riegel <triegel@redhat.com>
1244
1245 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1246
12472015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1248
1249 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1250 pointer and cast to uintptr_t.
1251
12522015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1253
1254 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1255 removed.
1256 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1257
12582015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1259
1260 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1261 of 0.
1262
12632015-01-08 Roland McGrath <roland@hack.frob.com>
1264
1265 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1266 <nptl/pthreadP.h> instead.
1267 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1268
1269 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1270 already defined.
1271 [__SIGRTMIN] (init): Function removed.
1272 [__SIGRTMIN] (initialized): Variable removed.
1273 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1274 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1275 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1276 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1277 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1278 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1279 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1280 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1281 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1282 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1283 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1284 * sysdeps/nptl/allocrtsig.c: New file.
1285 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1286 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1287 * sysdeps/generic/testrtsig.h: File removed.
1288
1289 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1290 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1291
1292 * nptl/nptl-init.c (pthread_functions): Conditionalize
1293 .ptr__nptl_setxid initialization on [SIGSETXID].
1294
1295 * sysdeps/nptl/sys/procfs.h: New file.
1296 * nptl_db/Makefile (headers): Add it.
1297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1298
1299 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1300 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1301 * nptl/pthread_attr_setaffinity.c: Include it.
1302 * nptl/pthread_setattr_default_np.c: Likewise.
1303 * nptl/check-cpuset.h: New file.
1304
13052015-01-08 Richard Henderson <rth@redhat.com>
1306
1307 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1308 (CFLAGS-tst-execstack-prog.c): Likewise.
1309 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1310
13112015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1312 Sandra Loosemore <sandra@codesourcery.com>
1313 Andrew Jenner <andrew@codesourcery.com>
1314 Joseph Myers <joseph@codesourcery.com>
1315 Nathan Sidwell <nathan@codesourcery.com>
1316
1317 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1318 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1319 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1320 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1321 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1322 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1323 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1324 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1325 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1326 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1327 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1328 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1329 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1330 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1331 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1332 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1333 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1334
13352015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336
1337 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1338 timespec struct member in syscall macro.
1339 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1340 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1341 first timeval struct member in syscall macro.
1342 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1343
13442015-01-07 Joseph Myers <joseph@codesourcery.com>
1345
1346 [BZ #17748]
1347 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1348 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1349 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1350 __feupdateenv and define as weak alias of __feupdateenv. Use
1351 libm_hidden_weak.
1352 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1353 libm_hidden_def.
1354 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1355 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1356 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1357 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1358 libm_hidden_def.
1359 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1360 __feupdateenv and define as weak alias of __feupdateenv. Use
1361 libm_hidden_weak.
1362 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1363 libm_hidden_def.
1364 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1365 __feupdateenv and define as weak alias of __feupdateenv. Use
1366 libm_hidden_weak.
1367 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1368 libm_hidden_def.
1369 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1370 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1371 (__feupdateenv): Likewise.
1372 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1373 __feupdateenv and define as weak alias of __feupdateenv. Use
1374 libm_hidden_weak.
1375 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1376 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1377 libm_hidden_def.
1378 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1379 function.
1380 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1381 libm_hidden_def.
1382 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1383 __feupdateenv instead of feupdateenv.
1384 (default_libc_feupdateenv_test): Likewise.
1385 (libc_feresetround_ctx): Likewise.
1386
13872015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1390 prototype.
1391
13922015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1393
1394 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1395 COLL_SYM in a couple of places to avoid uninitialized variable
1396 wanings on tilegx gcc 4.8.2.
1397
13982015-01-07 Richard Earnshaw <rearnsha@arm.com>
1399
1400 * sysdeps/aarch64/strcpy.S: New file.
1401 * sysdeps/aarch64/stpcpy.S: New file.
1402 * NEWS: Updated.
1403
14042015-01-07 Richard Earnshaw <rearnsha@arm.com>
1405
1406 * sysdeps/aarch64/strrchr.S: New file.
1407 * NEWS: Updated.
1408
14092015-01-07 Eric Biggers <ebiggers3@gmail.com>
1410
1411 [BZ #17658]
1412 * stdlib/setenv.c: Fix memory leak when setting large,
1413 duplicate string.
1414
14152015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1416
1417 [BZ #17273]
1418 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1419 and tabs from buffer before parsing fstab entry.
1420 * misc/tst-mntent.c (main): Add test for mount entry with
1421 trailing spaces and tabs.
1422
14232015-01-06 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #17748]
1426 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1427 * math/fesetround.c (fesetround): Rename to __fesetround and
1428 define as weak alias of __fesetround. Use libm_hidden_weak.
1429 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1430 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1431 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1432 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1433 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1434 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1435 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1436 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1437 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1438 __fesetround_inline.
1439 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1440 __fesetround_inline instead of __fesetround.
1441 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1442 __fesetround and define as weak alias of __fesetround. Use
1443 libm_hidden_weak. Call __fesetround_inline instead of
1444 __fesetround.
1445 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1446 __fesetround and define as weak alias of __fesetround. Use
1447 libm_hidden_weak.
1448 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1449 Likewise.
1450 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1451 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1452 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1453 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1454 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1455 __fesetround and define as weak alias of __fesetround. Use
1456 libm_hidden_weak.
1457 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1458 __fesetround instead of fesetround.
1459 (default_libc_feholdexcept_setround): Likewise.
1460 (libc_feholdsetround_ctx): Likewise.
1461 (libc_feholdsetround_noex_ctx): Likewise.
1462
1463 [BZ #17748]
1464 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1465 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1466 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1467 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1468 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1469 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1470 define as weak alias of __fesetenv. Use libm_hidden_weak.
1471 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1472 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1473 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1474 define as weak alias of __fesetenv. Use libm_hidden_weak.
1475 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1476 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1477 define as weak alias of __fesetenv. Use libm_hidden_weak.
1478 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1479 libm_hidden_def.
1480 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1481 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1482 Likewise.
1483 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1484 define as weak alias of __fesetenv. Use libm_hidden_weak.
1485 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1486 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1487 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1488 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1489 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1490 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1491 __fesetenv instead of fesetenv.
1492 (libc_feresetround_noex_ctx): Likewise.
1493 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1494 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1495 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1496 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1497 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1498 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1499 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1500 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1501 (__feupdateenv): Likewise.
1502 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1503 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1504 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1505 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1506
15072015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1508
1509 [BZ #17806]
1510 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1511 addresses have been freed.
1512
15132015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1514
1515 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1516 and nservall.
1517
15182015-01-06 Ondřej Bílka <neleai@seznam.cz>
1519
1520 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1521 Clean up check_pf allocation pattern. addresses
1522
15232015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1526 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1527 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1528 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1529 * nptl/pthread_join.c (pthread_join): Likewise.
1530 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1531 * sysdeps/posix/waitid.c (__waitid): Likewise.
1532 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1533 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1534 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1535 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1536 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1537 Likewise.
1538 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1539 (__libc_pread64): Likewise.
1540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1541 (__libc_pwrite): Likewise.
1542 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1543 (__libc_pwrite64): Likewsie.
1544 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1545 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1546 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1547 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1548 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1549 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1550 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1552 Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1554 (__libc_pread64): Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1556 Likewise.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1558 (__libc_pwrite64): Likewise.
1559 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1560 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1561 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1562 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1563 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1564 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1565 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1566 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1567 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1568 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1569 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1570 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1571 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1572 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1573 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1575 Likewise.
1576
15772015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1578
1579 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1580 (CFLAGS-test-double.c): Likewise.
1581 (CFLAGS-test-ldouble.c): Likewise.
1582 (CPPFLAGS-test-ifloat.c): Likewise.
1583 (CPPFLAGS-test-idouble.c): Likewise.
1584 (CPPFLAGS-test-ildoubl.c): Likewise.
1585 (CFLAGS-test-test-fenv.c): Remove variable.
1586 (CFLAGS-test-misc.c): Likewise.
1587
15882015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 [BZ #17797]
1591 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1592 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1593 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1594 CLOCKS_PER_SEC == 1000000.
1595 * time/clocktest.c (main): Replace %ld with %jd and cast to
1596 intmax_t.
1597
15982015-01-05 Roland McGrath <roland@hack.frob.com>
1599
1600 * sysdeps/generic/unwind-resume.h: New file.
1601 * sysdeps/gnu/unwind-resume.c: Include it.
1602 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1603 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1604 argument list.
1605 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1606 global rather than static.
1607 (_Unwind_Resume): Update user.
1608 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1609 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1610 rather than static. Add __attribute__ ((cold)).
1611 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1612 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1613 * sysdeps/arm/arm-unwind-resume.S: New file.
1614 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1615 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1616 * sysdeps/arm/Makefile [$(subdir) = csu]
1617 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1618 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1619 Add rt-arm-unwind-resume.
1620 [$(subdir) = nptl]
1621 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1622 Add pt-arm-unwind-resume.
1623 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1624 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1625
16262015-01-05 Joseph Myers <joseph@codesourcery.com>
1627
1628 [BZ #17748]
1629 * include/fenv.h (__feholdexcept): Declare. Use
1630 libm_hidden_proto.
1631 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1632 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1633 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1634 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1635 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1636 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1637 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1638 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1639 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1640 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1641 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1642 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1643 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1644 (feholdexcept): Likewise.
1645 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1646 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1647 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1648 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1649 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1650 __feholdexcept instead of feholdexcept.
1651 (default_libc_feholdexcept_setround): Likewise.
1652
16532015-01-05 Steve Ellcey <sellcey@imgtec.com>
1654
1655 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1656 to avoid using stl/str to align destination.
1657
16582015-01-05 Steve Ellcey <sellcey@imgtec.com>
1659
1660 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1661
16622015-01-05 Joseph Myers <joseph@codesourcery.com>
1663
1664 [BZ #17796]
1665 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1666 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1667 Define as weak alias not strong alias.
1668
16692015-01-05 Steve Ellcey <sellcey@imgtec.com>
1670
1671 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1672 bltzal with addiupc.
1673 (RTLD_START): Ditto.
1674
16752015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1676
1677 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1678 for __vdso_* functions in declarations.
1679 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1680 definitions.
1681 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1682 INTERNAL_VSYSCALL): Use struct return types to check for error.
1683
1684 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1685 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1686 function with cast from llround().
1687 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1688 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1689 Define.
1690
16912015-01-05 Joseph Myers <joseph@codesourcery.com>
1692
1693 [BZ #17793]
1694 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1695 Define as weak alias not strong alias.
1696
1697 [BZ #17635]
1698 * ctype/ctype-c99.c: New file. isblank implementation moved from
1699 ...
1700 * ctype/ctype-extn.c: ... here.
1701 (__isblank_l): Move to ...
1702 * ctype/ctype-c99_l.c: ... here. New file.
1703 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1704 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1705 Remove variable.
1706 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1707 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1708 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1709 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1710 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1711
1712 [BZ #17777]
1713 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1714 (posix_fadvise64): Define as weak alias not strong alias.
1715 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1716 (posix_fallocate64): Likewise.
1717 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1718 Remove variable.
1719 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1720 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1721 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1722 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1723 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1724
17252015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1726
1727 [BZ #16191]
1728 * NEWS: Mention bug fix.
1729 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1730 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1731 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1732 (HOST_STACK_END_ADDR): Likewise.
1733
17342015-01-02 Joseph Myers <joseph@codesourcery.com>
1735
1736 [BZ #17748]
1737 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1738 * math/fegetround.c (fegetround): Rename to __fegetround and
1739 define as weak alias of __fegetround. Use libm_hidden_weak.
1740 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1741 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1742 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1743 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1744 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1745 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1746 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1747 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1748 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1749 Undefine after rather than before function definition; use
1750 parentheses around function name in definition.
1751 (__fegetround): Also undefine macro after function definition.
1752 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1753 __fegetround and define as weak alias of __fegetround. Use
1754 libm_hidden_weak. Do not undefine as macro.
1755 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1756 Likewise.
1757 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1758 __fegetround and define as weak alias of __fegetround. Use
1759 libm_hidden_weak.
1760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1761 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1762 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1763 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1764 __fegetround and define as weak alias of __fegetround. Use
1765 libm_hidden_weak.
1766 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1767 __fegetround instead of fegetround.
1768
1769 [BZ #17782]
1770 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1771 Condition macro definition on [__USE_MISC].
1772
1773 [BZ #17781]
1774 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1775 (struct sigaction): Change type of sa_flags field to int.
1776
1777 [BZ #17780]
1778 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1779 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1780 __glibc_reserved0.
1781
1782 * nptl/version.c (banner): Use single year in copyright notice.
1783
1784 * NEWS: Update copyright dates.
1785 * catgets/gencat.c (print_version): Likewise.
1786 * csu/version.c (banner): Likewise.
1787 * debug/catchsegv.sh: Likewise.
1788 * debug/pcprofiledump.c (print_version): Likewise.
1789 * debug/xtrace.sh (do_version): Likewise.
1790 * elf/ldconfig.c (print_version): Likewise.
1791 * elf/ldd.bash.in: Likewise.
1792 * elf/pldd.c (print_version): Likewise.
1793 * elf/sotruss.sh: Likewise.
1794 * elf/sprof.c (print_version): Likewise.
1795 * iconv/iconv_prog.c (print_version): Likewise.
1796 * iconv/iconvconfig.c (print_version): Likewise.
1797 * locale/programs/locale.c (print_version): Likewise.
1798 * locale/programs/localedef.c (print_version): Likewise.
1799 * login/programs/pt_chown.c (print_version): Likewise.
1800 * malloc/memusage.sh (do_version): Likewise.
1801 * malloc/memusagestat.c (print_version): Likewise.
1802 * malloc/mtrace.pl: Likewise.
1803 * manual/libc.texinfo: Likewise.
1804 * nptl/version.c (banner): Likewise.
1805 * nscd/nscd.c (print_version): Likewise.
1806 * nss/getent.c (print_version): Likewise.
1807 * nss/makedb.c (print_version): Likewise.
1808 * posix/getconf.c (main): Likewise.
1809 * scripts/test-installation.pl: Likewise.
1810 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1811
18122015-01-02 Will Newton <will.newton@linaro.org>
1813
1814 * sysdeps/arm/armv7/configure: Removed.
1815 * sysdeps/arm/armv7/configure.ac: Likewise.
1816
18172015-01-02 Joseph Myers <joseph@codesourcery.com>
1818
1819 * All files with FSF copyright notices: Update copyright dates
1820 using scripts/update-copyrights.
1821 * intl/plural.c: Regenerated.
1822 * locale/programs/charmap-kw.h: Likewise.
1823 * locale/programs/locfile-kw.h: Likewise.
1824
18252015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1826
1827 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1828
18292014-12-31 Joseph Myers <joseph@codesourcery.com>
1830
1831 [BZ #17748]
1832 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1833 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1834 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1835 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1836 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1837 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1838 define as weak alias of __fegetenv. Use libm_hidden_weak.
1839 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1840 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1841 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1842 define as weak alias of __fegetenv. Use libm_hidden_weak.
1843 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1844 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1845 define as weak alias of __fegetenv. Use libm_hidden_weak.
1846 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1847 libm_hidden_def.
1848 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1849 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1850 Likewise.
1851 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1852 define as weak alias of __fegetenv. Use libm_hidden_weak.
1853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1854 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1855 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1856 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1857 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1858 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1859 __fegetenv instead of fegetenv.
1860 (libc_feholdsetround_noex_ctx): Likewise.
1861
18622014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1863
1864 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1865 (Elf_MIPS_ABIFlags_v0): New structure.
1866 (EF_MIPS_FP64): Define.
1867 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1868 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1869 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1870 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1871 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1872 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1873 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1874 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1875 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1876 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1877 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1878 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1879 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1880 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1881 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1882 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1883 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1884 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1885 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1886 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1887 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1888 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1889 field.
1890 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1891 EF_MIPS_FP64.
1892 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1893 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1894 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1895 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1896 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1897 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1898 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1899 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1900 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1901 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1903 record the current FP ABI extension.
1904 (mips-mode-switch): Define to show if kernel headers support mode
1905 switching.
1906 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1907 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1908 supported SYSV ABI version to 3.
1909 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1910 feature.
1911
19122014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1913 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914
1915 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1916 path.
1917 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1918
19192014-12-31 Joseph Myers <joseph@codesourcery.com>
1920
1921 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1922 __fegetround and redefine to call __fegetround. Remove condition
1923 on [!__NO_MATH_INLINES].
1924 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1925 function.
1926 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1927 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1928 Remove macro.
1929 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1930 instead of <fenv_libc.h>.
1931 (__llrintl): Call fegetround instead of __fegetround.
1932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1933 instead of <fenv_libc.h>.
1934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1935 (__lrintl): Call fegetround instead of __fegetround.
1936 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1937 instead of <fenv_libc.h>.
1938 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1939 (__rintl): Call fegetround instead of __fegetround.
1940
19412014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
1943 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1944 arrays.
1945
19462014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 [BZ #17775]
1949 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1950 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1951 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1952
19532014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1954
1955 * sysdeps/i386/tls-macros.h: Include <features.h>.
1956 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1957 (TLS_IE): Likewise.
1958 (TLS_LD): Likewise.
1959 (TLS_GD): Likewise.
1960 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1961 define for GCC >= 5.0.
1962
19632014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1964
1965 * math/test-fenv.c (test_single_exception, set_single_exc,
1966 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1967 feexcp_mask_test, feenable_test, fe_single_test): Add
1968 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1969 case where they are not used.
1970 * math/libm-test.inc: Likewise.
1971 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1972 unused in the absence of FP rounding/exception support.
1973 * stdio-common/tst-printf-round.c: Likewise.
1974 * stdlib/tst-strtod-round.c: Likewise.
1975 * stdlib/tst-strtod-underflow.c: Likewise.
1976
19772014-12-30 Joseph Myers <joseph@codesourcery.com>
1978
1979 [BZ #17723]
1980 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1981 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1982 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1983 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1984 libm_hidden_weak.
1985 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1986 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1987 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1988 libm_hidden_def.
1989 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1990 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1991 libm_hidden_weak.
1992 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1993 Likewise.
1994 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1995 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1996 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1997 libm_hidden_weak.
1998 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1999 libm_hidden_def.
2000 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2001 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2002 (__feraiseexcept): Likewise.
2003 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2004 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2005 libm_hidden_weak.
2006 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2007 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2008 libm_hidden_def.
2009 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2010 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2011 Use libm_hidden_def.
2012 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2013 libm_hidden_def.
2014 (feraiseexcept): Define as weak not strong alias. Use
2015 libm_hidden_weak.
2016 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2017 New inline function. Factored out of ...
2018 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2019 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2020 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2021 feraiseexcept.
2022 * math/w_acos.c (__acos): Likewise.
2023 * math/w_asin.c (__asin): Likewise.
2024 * math/w_ilogb.c (__ilogb): Likewise.
2025 * math/w_j0.c (y0): Likewise.
2026 * math/w_j1.c (y1): Likewise.
2027 * math/w_jn.c (yn): Likewise.
2028 * math/w_log.c (__log): Likewise.
2029 * math/w_log10.c (__log10): Likewise.
2030 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2031 * sysdeps/aarch64/fpu/math_private.h
2032 (libc_feupdateenv_test_aarch64): Likewise.
2033 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2034 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2035 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2036 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2037 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2038 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2039 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2040 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2041 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2042 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2043
20442014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 [BZ #17732]
2047 * io/test-utime.c (main): Replace %ld with %jd and cast to
2048 intmax_t.
2049 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2050 * nptl/tst-mutex5.c: Include <stdint.h>.
2051 (do_test): Replace %ld with %jd and cast to intmax_t.
2052 * posix/tst-regex.c (run_test): Likewise.
2053 (run_test_backwards): Likewise.
2054 * rt/tst-clock.c: Include <stdint.h>.
2055 (clock_test): Replace %ld with %jd and cast to intmax_t.
2056 * rt/tst-cpuclock1.c: Include <stdint.h>.
2057 (do_test): Replace %lu with %ju and cast to uintmax_t.
2058 * rt/tst-cpuclock2.c: Include <stdint.h>.
2059 (do_test): Replace %lu with %ju and cast to uintmax_t.
2060 * rt/tst-mqueue1.c: Include <stdint.h>.
2061 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2062 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2063 intmax_t.
2064 * rt/tst-mqueue4.c (do_test): Likewise.
2065 * rt/tst-timer4.c: Include <stdint.h>.
2066 (check_ts): Replace %ld with %jd and cast to intmax_t.
2067 (do_test): Likewise.
2068 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2069 and cast to intmax_t.
2070 * sysdeps/pthread/tst-timer.c (main): Likewise.
2071 * time/clocktest.c (main): Likewise.
2072 * time/tst-posixtz.c (do_test): Likewise.
2073 * timezone/tst-timezone.c (main): Likewise.
2074
20752014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2076 H.J. Lu <hongjiu.lu@intel.com>
2077
2078 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2079 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2080 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2081 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2082 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2083 version if bit_Fast_Unaligned_Load is set.
2084 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2085 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2086 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2087 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2088 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2089 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2091 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2092 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2093 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2094 to 4.
2095 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2096 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2097 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2098 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2099
21002014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2101
2102 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2103 instead of #if to avoid a Wundef warning.
2104 * stdlib/tst-limits.c (do_test): Likewise.
2105
2106 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2107 parallel other exception macros.
2108 (fegetenv): Convert from macro to extern inline so that it applies
2109 retroactively to inline functions already seen by the compiler.
2110 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2111
2112 * posix/Makefile (before-compile): Use $(objpfx) for
2113 posix-conf-vars-def.h.
2114
21152014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2116
2117 * posix/getconf.c (main): Use size_t for type of I.
2118 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2119 NSPEC.
2120
2121 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2122 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2123 * posix/posix-envs.def: Likewise.
2124 * sysdeps/posix/sysconf.c: Likewise.
2125 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2126 (specs): Remove array.
2127 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2128 array.
2129
2130 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2131 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2132 (__sysconf): Use CONF_IS_* macros.
2133
2134 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2135 ($(objpfx)posix-conf-vars-def.h): New target.
2136 * posix/posix-conf-vars.list: New file.
2137 * posix/posix-conf-vars.h: New file.
2138 * posix/confstr.c: Include posix-conf-vars.h.
2139 (confstr): Use CONF_IS_* macros.
2140 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2141 CONF_IS_* macros.
2142 * scripts/gen-posix-conf-vars.awk: New file.
2143
21442014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2145
2146 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2147 fegetround): Add no-op macros to avoid linknamespace issues.
2148
2149 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2150 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2151
2152 * sysdeps/unix/sysv/linux/tile/sysdep.h
2153 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2154 assembly-specific section to avoid a redefinition warning.
2155
2156 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2157 long before casting to pointer to avoid a cast warning.
2158
21592014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2160
2161 * sysdeps/tile/tilegx/Implies: New file.
2162
21632014-12-23 Richard Earnshaw <rearnsha@arm.com>
2164
2165 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2166
21672014-12-23 Florian Weimer <fweimer@redhat.com>
2168
2169 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2170
21712014-12-22 Joseph Myers <joseph@codesourcery.com>
2172
2173 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2174 not define.
2175 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2176 <kernel-features.h>.
2177 (__utimes) [__NR_utimes]: Make code unconditional.
2178 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2179 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2180 (__ASSUME_UTIMES): Do not undefine.
2181 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2182 (__ASSUME_UTIMES): Likewise.
2183 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2184 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2185 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2186 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2187
21882014-12-22 Steve Ellcey <sellcey@imgtec.com>
2189
2190 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2191
21922014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2193
2194 [BZ #17747]
2195 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2196 alias to weak alias for j0l, y0l.
2197 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2198 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2199
2200 [BZ #17746]
2201 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2202 conversion.
2203
22042014-12-22 Steve Ellcey <sellcey@imgtec.com>
2205
2206 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2207 to zero if not already defined.
2208
22092014-12-22 Joseph Myers <joseph@codesourcery.com>
2210
2211 [BZ #17724]
2212 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2213 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2214 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2215 (char *) casts added.
2216 * sysdeps/ieee754/k_standardf.c: New file.
2217 * sysdeps/ieee754/k_standardl.c: Likewise.
2218 * math/Makefile (libm-support): Remove k_standard.
2219 (libm-calls): Add k_standard.
2220
22212014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2222
2223 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2224 Optimize to avoid an unnecessary FPCR read.
2225
22262014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2227
2228 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2229 Optimize to reduce FPCR/FPSR accesses.
2230
22312014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2232
2233 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2234 Call libc_fetestexcept_aarch64.
2235
22362014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2237
2238 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2239 Call libc_fesetround_aarch64.
2240
22412014-12-22 Joseph Myers <joseph@codesourcery.com>
2242
2243 [BZ #17733]
2244 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2245 (__bind): Do not define as weak alias.
2246 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2247 define.
2248 (__getsockname): Do not define as weak alias.
2249
22502014-12-22 Will Newton <will.newton@linaro.org>
2251
2252 * manual/install.texi: Document that we require bison 2.7
2253 or above.
2254 * INSTALL: Regenerate.
2255 * configure.ac: Use AC_CHECK_PROG_VER instead of
2256 AC_PATH_PROG when checking for bison and check for
2257 version 2.7 or above.
2258 * configure: Regenerate.
2259
22602014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2261
2262 [BZ #17745]
2263 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2264 * sysdeps/tile/ffsll.c (ffsll): To here.
2265
2266 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2267
22682014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2269
2270 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2271 if not defined.
2272 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2273 definition.
2274 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2275 hidden ___tls_get_addr.
2276 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2277 hidden __tls_get_addr.
2278 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2279 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2280 Likewise.
2281
22822014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2283
2284 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2285 _dl_init call.
2286
22872014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2290 from "call _dl_init@PLT".
2291 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2292
22932014-12-21 Anders Kaseorg <andersk@mit.edu>
2294
2295 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2296 guarantees.
2297
22982014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2299
2300 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2301
23022014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2303
2304 [BZ #17744]
2305 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2306 strnlen.
2307
23082014-12-19 Steve Ellcey <sellcey@imgtec.com>
2309
2310 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2311 of multu on MIPSr6.
2312 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2313 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2314 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2315 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2316 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2317
23182014-12-19 Steve Ellcey <sellcey@imgtec.com>
2319
2320 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2321 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2322 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2323 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2324 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2325 mips32r6/mips64r6.
2326 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2327
23282014-12-19 Ondřej Bílka <neleai@seznam.cz>
2329
2330 * string/strncat.c (STRNCAT): Simplify implementation.
2331
23322014-12-19 David S. Miller <davem@davemloft.net>
2333
2334 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2335 access the quad as both a long double and as a series of 4 words.
2336
2337 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2338 link_map->l_info array access.
2339
23402014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2341
2342 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2343
2344 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2345 * math/atest-exp2.c (TIMEOUT): Likewise.
2346 * math/atest-sincos.c (TIMEOUT): Likewise.
2347
23482014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2349
2350 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2351 -Wno-error with -fno-builtin-lround.
2352
23532014-12-19 Torvald Riegel <triegel@redhat.com>
2354
2355 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2356 Contains futex constants and functions moved over from ...
2357 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2358 <lowlevellock-futex.h>.
2359 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2360 (lll_timedwait_tid): Add comments and parentheses around macro
2361 arguments.
2362
23632014-12-19 Torvald Riegel <triegel@redhat.com>
2364
2365 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2366 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2367 (__lll_private_flag): Remove.
2368 (lll_futex_wait): Likewise.
2369 (lll_futex_timed_wait): Likewise.
2370 (lll_futex_wake): Likewise.
2371 (lll_futex_requeue): Likewise.
2372 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2373 (__lll_timedwait_tid): Spell out argument names.
2374 (lll_timedwait_tid): Add comments and parentheses around macro
2375 arguments.
2376 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2377 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2378
23792014-12-19 Torvald Riegel <triegel@redhat.com>
2380
2381 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2382 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2383 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2384 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2385 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2386 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2387 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2388 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2389 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2390 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2391 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2392 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2393 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2394 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2395 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2396 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2397 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2398 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2399 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2400
24012014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2402
2403 * sysdeps/x86_64/x32/Makefile: New file.
2404
24052014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2406
2407 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2408 1L with (mp_limb_t) 1.
2409
24102014-12-17 Roland McGrath <roland@hack.frob.com>
2411
2412 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2413 * nptl/libc_pthread_init.c: ... here.
2414 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2415 * nptl/register-atfork.c: ... here.
2416
2417 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2418 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2419 Use assert_perror to check its return value.
2420 (__gai_create_helper_thread): Likewise.
2421
2422 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2423
2424 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2425
24262014-12-17 Joseph Myers <joseph@codesourcery.com>
2427
2428 [BZ #17725]
2429 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2430 __profil_counter.
2431 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2436 Likewise.
2437 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2438 (profil_counter): Likewise.
2439 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2440 (profil_counter): Likewise.
2441 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2444 Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2446 (profil_counter): Likewise.
2447 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2448 Likewise.
2449 [!__profil_counter] (profil_counter): Define as weak alias of
2450 __profil_counter.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2452 (profil_counter): Rename to __profil_counter.
2453 [!__profil_counter] (profil_counter): Define as weak alias of
2454 __profil_counter.
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2456 (profil_counter): Rename to __profil_counter.
2457 [!__profil_counter] (profil_counter): Define as weak alias of
2458 __profil_counter.
2459 * sysdeps/posix/profil.c: Update comment referring to
2460 profil_counter.
2461 (__profil): Use __profil_counter instead of profil_counter.
2462 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2463 __profil_counter. Use __profil_counter_ushort and
2464 __profil_counter_uint in definitions.
2465 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2466 instead of profil_counter_uint and profil_counter_ushort.
2467
2468 [BZ #17722]
2469 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2470 define as weak alias of __inet_makeaddr.
2471 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2472 as weak alias of __inet_addr.
2473 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2474 as weak alias of __inet_pton. Use libc_hidden_weak.
2475 * include/arpa/inet.h (__inet_pton): Declare. Use
2476 libc_hidden_proto.
2477 (inet_makeaddr): Don't use libc_hidden_proto.
2478 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2479 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2480 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2481 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2482 Remove variable.
2483 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2484 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2485
24862014-12-17 Steve Ellcey <sellcey@imgtec.com>
2487
2488 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2489
24902014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2491
2492 * stdio-common/bug-vfprintf-nargs.c (do_test):
2493 Cast value to intptr_t to avoid format warning
2494 for usage with PRIdPTR printing macro.
2495
24962014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2497
2498 * libio/tst-widetext.c (do_test):
2499 Use format type %td instead of %Zd for ptrdiff_t
2500 in order to avoid format warning.
2501
25022014-12-17 Andreas Schwab <schwab@suse.de>
2503
2504 * nscd/mem.c (gc): Add size_t cast to match printf format.
2505
25062014-12-16 Roland McGrath <roland@hack.frob.com>
2507
2508 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2509 (init): Apply PTR_MANGLE to pointers before storing them.
2510 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2511 before using them.
2512
25132014-12-16 Joseph Myers <joseph@codesourcery.com>
2514
2515 [BZ #17719]
2516 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2517 define as weak alias of __memrchr.
2518 (__memrchr): Do not define as strong alias of memrchr.
2519 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2520 Remove variable.
2521 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2522 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2523 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2524
2525 [BZ #17717]
2526 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2527 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2528 (if_indextoname): Rename to __if_indextoname and define as weak
2529 alias of __if_indextoname. Use libc_hidden_weak.
2530 (if_freenameindex): Rename to __if_freenameindex and define as
2531 weak alias of __if_freenameindex.
2532 (if_nameindex): Rename to __if_nameindex and define as weak alias
2533 of __if_nameindex.
2534 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2535 __if_nametoindex and define as weak alias of __if_nametoindex.
2536 Use libc_hidden_weak.
2537 (if_freenameindex): Rename to __if_freenameindex and define as
2538 weak alias of __if_freenameindex.
2539 (if_nameindex): Rename to __if_nameindex and define as weak alias
2540 of __if_nameindex.
2541 (if_indextoname): Rename to __if_indextoname and define as weak
2542 alias of __if_indextoname. Use libc_hidden_weak.
2543 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2544 __if_nametoindex and define as weak alias of __if_nametoindex.
2545 Use libc_hidden_weak.
2546 (if_freenameindex): Rename to __if_freenameindex and define as
2547 weak alias of __if_freenameindex. Use libc_hidden_weak.
2548 (if_nameindex_netlink): Use __if_freenameindex instead of
2549 if_freenameindex.
2550 (if_nameindex): Rename to __if_nameindex and define as weak alias
2551 of __if_nameindex. Use libc_hidden_weak.
2552 (if_indextoname): Rename to __if_indextoname and define as weak
2553 alias of __if_indextoname. Use libc_hidden_weak.
2554 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2555 libc_hidden_proto.
2556 [!_ISOMAC] (__if_freenameindex): Likewise.
2557 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2558 if_nametoindex.
2559 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2560 variable.
2561 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2562 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2563 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2564 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2565 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2566 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2567 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2568
2569 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2570 Remove variable.
2571 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2572 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2573
25742014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
2576 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2577 subscript above bounds'
2578
2579 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2580 bounds.
2581
25822014-12-16 Arjun Shankar <arjun.is@lostca.se>
2583
2584 * libio/tst-fopenloc.c: Use test-skeleton.c.
2585
2586 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2587 (entry): Rename to ITEM.
2588 (do_test, comp): Adjust.
2589
2590 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2591
25922014-12-16 Torvald Riegel <triegel@redhat.com>
2593
2594 * string/tester.c: Include <libc-internal.h>.
2595 (test_memset): Ignore -Wmemset-transposed-args.
2596
25972014-12-16 Torvald Riegel <triegel@redhat.com>
2598
2599 * misc/tst-mntent2.c (do_test): Fix warning.
2600
26012014-12-16 Torvald Riegel <triegel@redhat.com>
2602
2603 * elf/tst-unique4lib.cc(a): Mark as used.
2604
26052014-12-16 Florian Weimer <fweimer@redhat.com>
2606
2607 [BZ #17630]
2608 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2609 names.
2610
26112014-12-16 Allan McRae <allan@archlinux.org>
2612
2613 * stdio-common/Makefile (tests): Re-add bug26.
2614
26152014-12-15 Ondřej Bílka <neleai@seznam.cz>
2616
2617 [BZ #17657]
2618 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2619 static array.
2620
26212014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2622
2623 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2624 (__lll_lock_wait): Likewise.
2625 (__lll_timedlock_wait): Likewise.
2626 (__lll_timedwait_tid): Likewise.
2627 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2628 (__lll_robust_timedlock_wait): Likewise.
2629 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2630 (lll_cond_trylock): Likewise.
2631 (__lll_lock): Likewise.
2632 (__lll_robust_lock): Likewise.
2633 (__lll_cond_lock): Likewise.
2634 (lll_robust_cond_lock): Likewise.
2635 (__lll_timedlock): Likewise.
2636 (__lll_robust_timedlock): Likewise.
2637 (__lll_unlock): Likewise.
2638 (__lll_robust_unlock): Likewise.
2639 (lll_wait_tid): Likewise.
2640 (lll_timedwait_tid): Likewise.
2641
26422014-12-15 Torvald Riegel <triegel@redhat.com>
2643
2644 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2645
26462014-12-15 Torvald Riegel <triegel@redhat.com>
2647
2648 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2649
26502014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2651
2652 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2653 * stdio-common/tst-sprintf.c: Likewise.
2654
26552014-12-15 Torvald Riegel <triegel@redhat.com>
2656
2657 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2658
26592014-12-15 Jeff Law <law@redhat.com>
2660
2661 [BZ #16617]
2662 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2663 on the heap. (CVE-2012-3406)
2664 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2665 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2666 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2667
26682014-12-15 Will Newton <will.newton@linaro.org>
2669
2670 * manual/install.texi: Bump required version of texinfo
2671 to 4.7 from 4.5.
2672 * INSTALL: Regenerated.
2673 * configure.ac: Check for makeinfo version 4.7 and above.
2674 * configure: Regenerated.
2675
26762014-12-12 Roland McGrath <roland@hack.frob.com>
2677
2678 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2679 PREFIX, string constant to insert between directory and name.
2680 * sysdeps/posix/shm_open.c: Update caller.
2681 * sysdeps/posix/shm_unlink.c: Likewise.
2682 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2683 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2684 (SEM_SHM_PREFIX): New macro.
2685 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2686 [$(have-thread-library) = no].
2687 * nptl/Makefile (libpthread-routines): Add shm-directory.
2688 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2689 * sysdeps/nptl/shm-directory.h: New file.
2690 * sysdeps/posix/shm-directory.c
2691 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2692 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2693 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2694 INTERNAL_SYSCALL.
2695 (__where_is_shmfs): Function removed.
2696 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2697 Variables removed.
2698 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2699 Use SHM_GET_NAME.
2700 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2701
2702 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2703 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2704 unconditional for use inside libpthread.
2705 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2706
27072014-12-12 Roland McGrath <roland@hack.frob.com>
2708
2709 * nptl/pthread_getaffinity.c: New file.
2710 * nptl/pthread_setaffinity.c: New file.
2711 * nptl/pthread_getname.c: New file.
2712 * nptl/pthread_setname.c: New file.
2713
2714 * nptl/pthread_create.c (START_THREAD_DEFN)
2715 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2716
27172014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2718 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * resolv/res_send.c (send_vc): Disable warning resplen may
2721 be used uninitialized.
2722
27232014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2724
2725 * nptl/tst-mutex6.c
2726 (ATTR_NULL): New define checks ATTR against NULL.
2727 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2728 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2729
27302014-12-11 James Lemke <jwlemke@codesourcery.com>
2731
2732 [BZ #17581]
2733 * malloc/hooks.c
2734 (mem2mem_check): Revert my previous change.
2735 (malloc_check_get_size): Revert my previous change.
2736 (mem2chunk_check): Revert my previous change.
2737
27382014-12-11 Roland McGrath <roland@hack.frob.com>
2739
2740 * sysdeps/posix/shm-directory.c: New file.
2741 * sysdeps/posix/shm-directory.h: New file.
2742 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2743 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2744 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2745 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2746 Transmute EPERM to EACCES.
2747 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2748 from ...
2749 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2750 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2751
27522014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2753
2754 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2755 pointer and cast to uintptr_t.
2756 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2757 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2758 Add cast to avoid warning.
2759 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2760
27612014-12-11 Joseph Myers <joseph@codesourcery.com>
2762
2763 * nptl/semaphore.h: Move to ...
2764 * sysdeps/pthread/semaphore.h: ... here.
2765 * Makefile (installed-headers): Change nptl/semaphore.h to
2766 sysdeps/pthread/semaphore.h.
2767
27682014-12-11 Roland McGrath <roland@hack.frob.com>
2769
2770 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2771 generated error format strings.
2772
2773 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2774 -Wformat-extra-args warnings for scanf formats.
2775 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2776 test of zero-length format (duh).
2777 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2778 corner-case scanf format test.
2779 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2780 generated fprintf format string.
2781 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2782 corner-case sprintf format tests.
2783 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2784 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2785 -Wformat-extra-args warnings throughout.
2786 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2787 (CFLAGS-scanf4.c): Likewise.
2788 (CFLAGS-scanf7.c): Likewise.
2789 (CFLAGS-tst-sprintf.c): Likewise.
2790 (CFLAGS-tst-printf.c): Likewise.
2791 (CFLAGS-tst-printfsz.c): Likewise.
2792
27932014-12-11 Joseph Myers <joseph@codesourcery.com>
2794
2795 * include/cpio.h: New file.
2796 * include/fmtmsg.h: Likewise.
2797
2798 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2799 corresponding format argument to size_t.
2800 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2801 arguments.
2802 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2803 corresponding format argument to size_t.
2804 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2805 arguments.
2806 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2807 corresponding format argument to size_t.
2808 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2809 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2810 (CFLAGS-tst-mbswcs2.c): Likewise.
2811 (CFLAGS-tst-mbswcs3.c): Likewise.
2812 (CFLAGS-tst-mbswcs4.c): Likewise.
2813 (CFLAGS-tst-mbswcs5.c): Likewise.
2814 (CFLAGS-tst-trans.c): Likewise
2815
28162014-12-11 Roland McGrath <roland@hack.frob.com>
2817
2818 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2819 rather than assuming they won't contain any '%'s.
2820
28212014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2822
2823 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2824 inhibit_loop_to_libcall to avoid recursive calls.
2825 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2826 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2827
28282014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2829
2830 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2831 prototype.
2832
28332014-12-11 Steve Ellcey <sellcey@imgtec.com>
2834
2835 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2836 integer value instead of boolean.
2837
28382014-12-11 Steve Ellcey <sellcey@imgtec.com>
2839
2840 * malloc/malloc.c: Fix powerof2 check.
2841
28422014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2843
2844 * locale/programs/locfile.h (maybe_swap_uint32):
2845 Remove inline and add unused attribute.
2846
28472014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2848
2849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2850 Truncating assembler expression to a .long expression.
2851
28522014-12-11 Andreas Schwab <schwab@suse.de>
2853
2854 * elf/rtld.c (struct map_args): Constify str member.
2855 (do_preload): Constify fname argument.
2856
28572014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858
2859 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2860 constants definition.
2861
28622014-12-11 Andreas Schwab <schwab@suse.de>
2863
2864 [BZ #16657]
2865 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2866 FORCE_ELISION instead of DO_ELISION.
2867 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2868 Remove.
2869 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2870 Likewise.
2871
2872 * iconvdata/gconv-modules: Remove duplicate entry.
2873
28742014-12-11 Will Newton <will.newton@linaro.org>
2875
2876 Merge gettext 0.19.3 into intl/.
2877
2878 This involves a number of cosmetic changes to comments
2879 and ANSI function definitions and prototypes throughout
2880 all the files. The gettext copyright header is used but
2881 with the date ranges taken from the glibc copy.
2882
2883 * NEWS: Add gettext merge to 2.21.
2884 * intl/bindtextdom.c: Switch to gettext copyright.
2885 Use ANSI definitions and prototypes.
2886 Use gl_* locking primitives rather than __libc_* ones.
2887 Use __builtin_expect rather than __glibc_likely/unlikely.
2888 * intl/dcgettext.c: Switch to gettext copyright.
2889 Use ANSI definitions and prototypes.
2890 * intl/dcigettext.c: Switch to gettext copyright.
2891 Use ANSI definitions and prototypes.
2892 (INTDIV0_RAISES_SIGFPE): New define.
2893 Use gl_* locking primitives rather than __libc_* ones.
2894 Include eval-plural.h instead of plural-eval.c.
2895 Use __builtin_expect rather than __glibc_likely/unlikely.
2896 * intl/dcngettext.c: Switch to gettext copyright.
2897 Use ANSI definitions and prototypes.
2898 * intl/dgettext.c: Likewise.
2899 * intl/dngettext.c: Likewise.
2900 * intl/plural-eval.c: Renamed to...
2901 * intl/eval-plural.h: ...this.
2902 * intl/explodename.c: Switch to gettext copyright.
2903 Use ANSI definitions and prototypes.
2904 (_nl_explode_name): Use strchr instead of __rawmemchr.
2905 * intl/finddomain.c: Switch to gettext copyright.
2906 Use ANSI definitions and prototypes.
2907 Use gl_* locking primitives rather than __libc_* ones.
2908 (_nl_find_domain): Use malloc rather than alloca for
2909 allocation of temporary locale name.
2910 * intl/gettext.c: Switch to gettext copyright.
2911 Use ANSI definitions and prototypes.
2912 * intl/gettextP.h: Switch to gettext copyright.
2913 Use ANSI definitions and prototypes.
2914 Use gl_* locking primitives rather than __libc_* ones.
2915 * intl/gmo.h: Switch to gettext copyright.
2916 (struct sysdep_string): Move struct segment_pair outside of
2917 struct definition.
2918 * intl/hash-string.c: Use ANSI definitions and prototypes.
2919 * intl/hash-string.h: Switch to gettext copyright.
2920 Use ANSI definitions and prototypes.
2921 * intl/l10nflist.c: Switch to gettext copyright.
2922 Use ANSI definitions and prototypes.
2923 (_nl_normalize_codeset): Avoid integer overflow.
2924 * intl/loadinfo.h: Switch to gettext copyright.
2925 Use ANSI definitions and prototypes.
2926 (LIBINTL_DLL_EXPORTED): New define.
2927 (PATH_SEPARATOR): New define.
2928 * intl/loadmsgcat.c: Switch to gettext copyright.
2929 * intl/localealias.c: Switch to gettext copyright.
2930 Use ANSI definitions and prototypes.
2931 (_nl_expand_alias): Use PATH_SEPARATOR.
2932 * intl/ngettext.c: Switch to gettext copyright.
2933 Use ANSI definitions and prototypes.
2934 * intl/plural-exp.c: Likewise.
2935 * intl/plural-exp.h: Switch to gettext copyright.
2936 Use ANSI definitions and prototypes.
2937 (struct expression): Move definition of enum operator outside
2938 of struct definition.
2939 * intl/plural.c: Regenerate.
2940 * intl/plural.y: Switch to gettext copyright.
2941 Use ANSI definitions and prototypes.
2942 Port to bison 3.0.
2943 * intl/textdomain.c: Switch to gettext copyright.
2944 Use ANSI definitions and prototypes.
2945 Use gl_* locking primitives rather than __libc_* ones.
2946
29472014-12-10 Steve Ellcey <sellcey@imgtec.com>
2948
2949 * debug/warning-nop.c: Add used atrribute.
2950
29512014-12-10 Joseph Myers <joseph@codesourcery.com>
2952
2953 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2954
2955 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2956 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2957 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2958
29592014-12-10 Joseph Myers <joseph@codesourcery.com>
2960 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2961
2962 [BZ #17634]
2963 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2964 Undefine after defining function. Define as weak alias of
2965 __wcschr. Use libc_hidden_weak.
2966 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2967 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2968 (libc_hidden_def): Also define __GI___wcschr alias.
2969 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2970 __wcschr and define as weak alias of __wcschr.
2971 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2972 __wcschr.
2973 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2974 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2975 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2976 libc_hidden_weak. Do not use libc_hidden_def.
2977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2978 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2979 __GI___wcschr alias.
2980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2981 [IS_IN (libc)] (wcschr): Define as macro expanding to
2982 __redirect_wcschr.
2983 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2984 [IS_IN (libc)] (__wcschr_power6): Likewise.
2985 [IS_IN (libc)] (__wcschr_power7): Likewise.
2986 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2987 instead of wcschr.
2988 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2989 __libc_wcschr.
2990 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2991 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2992 __wcschr and define as weak alias of __wcschr. Use
2993 libc_hidden_builtin_def.
2994 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2995 as weak alias of __wcschr. Use libc_hidden_weak.
2996 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2997 wcschr.
2998 * time/era.c (_nl_init_era_entries): Likewise.
2999 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3000 variable.
3001 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3002 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3003
30042014-12-10 Joseph Myers <joseph@codesourcery.com>
3005
3006 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3007 format for long int variable.
3008
30092014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3010
3011 [BZ #10672]
3012 * manual/search.texi: (Array Sort Function): Remove claim how to make
3013 qsort stable.
3014
30152014-12-10 Andreas Schwab <schwab@suse.de>
3016
3017 [BZ #12847]
3018 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3019 user-controlled locks.
3020
30212014-12-10 Richard Earnshaw <rearnsha@arm.com>
3022
3023 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3024 register.
3025
30262014-12-10 Joseph Myers <joseph@codesourcery.com>
3027
3028 * configure.ac (--disable-werror): New configure option.
3029 (enable_werror): New AC_SUBST.
3030 * configure: Regenerated.
3031 * config.make.in (enable-werror): New variable.
3032 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3033 -Wno-error=undef.
3034 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3035 * manual/install.texi (Configuring and compiling): Document
3036 --disable-werror.
3037 * INSTALL: Regenerated.
3038 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3039 (CFLAGS-tst-chk2.c): Likewise.
3040 (CFLAGS-tst-chk3.c): Likewise.
3041 (CFLAGS-tst-chk4.cc): Likewise.
3042 (CFLAGS-tst-chk5.cc): Likewise.
3043 (CFLAGS-tst-chk6.cc): Likewise.
3044 (CFLAGS-tst-lfschk1.c): Likewise.
3045 (CFLAGS-tst-lfschk2.c): Likewise.
3046 (CFLAGS-tst-lfschk3.c): Likewise.
3047 (CFLAGS-tst-lfschk4.cc): Likewise.
3048 (CFLAGS-tst-lfschk5.cc): Likewise.
3049 (CFLAGS-tst-lfschk6.cc): Likewise.
3050
3051 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3052 (main): Disable -Wdeprecated-declarations around calls to
3053 register_printf_function.
3054
3055 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3056 (do_test): Disable -Wdiv-by-zero around some calls to
3057 fwrite_unlocked and fread_unlocked.
3058
3059 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3060 (DIAG_POP_NEEDS_COMMENT): Likewise.
3061 (_DIAG_STR1): Likewise.
3062 (_DIAG_STR): Likewise.
3063 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3064 * stdio-common/bug21.c: Include <libc-internal.h>.
3065 (do_test): Disable -Wformat around call to sscanf.
3066 * stdio-common/scanf14.c: Include <libc-internal.h>.
3067 (main): Disable -Wformat around some calls to scanf functions.
3068
30692014-12-09 Torvald Riegel <triegel@redhat.com>
3070
3071 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3072
30732014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3074
3075 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3076 stack variable alignment.
3077
30782014-12-06 Joseph Myers <joseph@codesourcery.com>
3079
3080 [BZ #17682]
3081 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3082 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3083 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3084 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3085 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3086 __getrlimit instead of getrlimit.
3087 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3088 __gettimeofday instead of gettimeofday.
3089 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3090 Likewise.
3091 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3092 Likewise.
3093 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3094 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3095 Remove variable.
3096 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3097 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3098
30992014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3100
3101 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3102 for wide-character tests.
3103
31042014-12-04 Roland McGrath <roland@hack.frob.com>
3105
3106 * io/openat64.c: #include <libc-internal.h>
3107 (__openat64): Prototypify. Use ignore_value on MODE.
3108 * io/openat.c: Likewise.
3109 * misc/reboot.c: #include <libc-internal.h>
3110 (reboot): Prototypify. Use ignore_value on HOWTO.
3111 * misc/ptrace.c: #include <libc-internal.h>
3112 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3113
31142014-12-04 Joseph Myers <joseph@codesourcery.com>
3115
3116 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3117 XPG4, UNIX98 and XOPEN2K.
3118 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3119 Remove variable.
3120 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3121
31222014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3123
3124 * libio/fileops.c: Use ISO C style for function definitions.
3125 * libio/iofopen.c: Likewise.
3126 * libio/wfileops.c: Likewise.
3127
3128 [BZ #17653]
3129 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3130 offset on EOF.
3131 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3132 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3133 (fgets_func): Function pointer to fgets and fgetws.
3134 (do_ftell_test): Add test to verify ftell value after read
3135 EOF.
3136 (do_test): Set fgets_func.
3137
3138 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3139 O_TRUNC flag for w and w+ modes.
3140 (do_rewind_test): Likewise.
3141 (do_ftell_test): Likewise.
3142 (do_write_test): Likewise.
3143
3144 [BZ #17647]
3145 * libio/fileops.c (do_ftell): Seek only when there are
3146 unflushed writes.
3147 * libio/wfileops.c (do_ftell_wide): Likewise.
3148 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3149 test case.
3150 (do_one_test): Call it.
3151
31522014-12-03 Joseph Myers <joseph@codesourcery.com>
3153
3154 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3155 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3156 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3157 Remove variable.
3158 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3159 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3160 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3161
31622014-12-02 Joseph Myers <joseph@codesourcery.com>
3163
3164 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3165 Remove variable.
3166 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3167
3168 [BZ #17668]
3169 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3170 as weak alias of __getifaddrs. Use libc_hidden_weak.
3171 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3172 __freeifaddrs. Use libc_hidden_weak.
3173 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3174 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3175 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3176 __freeifaddrs. Use libc_hidden_weak.
3177 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3178 __getifaddrs and define as weak alias of __getifaddrs. Use
3179 libc_hidden_weak.
3180 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3181 __freeifaddrs. Use libc_hidden_weak.
3182 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3183 Remove variable.
3184 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3185 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3186
31872014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3188
3189 [BZ #17601]
3190 * sysdeps/mips/start.S (__start): Use indirect jump to call
3191 __libc_start_main.
3192
31932014-12-02 Joseph Myers <joseph@codesourcery.com>
3194
3195 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3196
3197 * nptl/tst-mutex1.c: Include <stdbool.h>.
3198 [!ATTR] (ATTR_NULL): New macro.
3199 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3200 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3201 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3202
3203 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3204 to char *.
3205
3206 [BZ #17665]
3207 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3208 Change conditional to [__USE_MISC].
3209
3210 [BZ #17664]
3211 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3212 fgets_unlocked.
3213 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3214 __fgets_unlocked.
3215 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3216 fgets_unlocked.
3217 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3218 Remove variable.
3219 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3220 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3221 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3222 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3223 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3224 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3225 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3226 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3227 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3228
3229 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3230
32312014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232
3233 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3234 Remove strpbrk objects.
3235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3236 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3237 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3238 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3239 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3240 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3241
3242 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3243 Remove strcspn objects.
3244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3245 (__libc_ifunc_impl_list): Remove strcspn implementation.
3246 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3247 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3248 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3249 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3250
3251 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3252 Remove strspn objetcs.
3253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3254 (__libc_ifunc_impl_list): Remove strspn implementation.
3255 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3256 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3257 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3258 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3259
32602014-12-01 James Lemke <jwlemke@codesourcery.com>
3261
3262 [BZ #17581]
3263 * malloc/hooks.c
3264 (mem2mem_check): Add a terminator to the chain of checking blocks.
3265 (malloc_check_get_size): Use it here.
3266 (mem2chunk_check): Ditto.
3267
32682014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3269
3270 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3271 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3272
32732014-11-29 Carlos O'Donell <carlos@redhat.com>
3274
3275 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3276
3277 * nptl/nptl-init.c: Include libc-internal.h.
3278 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3279
3280 * elf/ldconfig.c (search_dir): Expand comment.
3281
32822014-11-29 Joseph Myers <joseph@codesourcery.com>
3283
3284 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3285 variable.
3286 (linknamespace-symlist-stdlibs-tests): Likewise.
3287 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3288 instead of $(objpfx)symlist-stdlibs.
3289 (linknamespace-libs-isoc): New variable.
3290 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3291 (linknamespace-libs-ISO): New variable.
3292 (linknamespace-libs-ISO99): Likewise.
3293 (linknamespace-libs-ISO11): Likewise.
3294 (linknamespace-libs-XPG3): Likewise.
3295 (linknamespace-libs-XPG4): Likewise.
3296 (linknamespace-libs-POSIX): Likewise.
3297 (linknamespace-libs-UNIX98): Likewise.
3298 (linknamespace-libs-XOPEN2K): Likewise.
3299 (linknamespace-libs-POSIX2008): Likewise.
3300 (linknamespace-libs-XOPEN2K8): Likewise.
3301 ($(objpfx)symlist-stdlibs): Replace by
3302 $(linknamespace-symlist-stdlibs-tests). Use
3303 $(linknamespace-libs-$*) as set of libraries.
3304 ($(linknamespace-header-tests)): Update dependencies. Use
3305 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3306 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3307 * conform/linknamespace.pl: Remove comment about considering
3308 definitions of symbols from irrelevant libraries.
3309
33102014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 [BZ #13862]
3313 * elf/dl-tls.c: Include <atomic.h>.
3314 (oom): Remove #ifdef SHARED/#endif.
3315 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3316 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3317 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3318 big enough.
3319 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3320 * nptl/Makefile (tests): Add tst-stack4.
3321 (modules-names): Add tst-stack4mod.
3322 ($(objpfx)tst-stack4): New.
3323 (tst-stack4mod.sos): Likewise.
3324 ($(objpfx)tst-stack4.out): Likewise.
3325 ($(tst-stack4mod.sos)): Likewise.
3326 (clean): Likewise.
3327 * nptl/tst-stack4.c: New file.
3328 * nptl/tst-stack4mod.c: Likewise.
3329
33302014-11-27 J. Brown <jb999@gmx.de>
3331
3332 * sysdeps/x86/bits/string.h: Add recent CPUs.
3333
33342014-11-27 Joseph Myers <joseph@codesourcery.com>
3335
3336 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3337 sigblock.
3338
3339 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3340 feof.
3341
3342 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3343 variable.
3344
33452014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3346
3347 * nscd/connections.c: Include libc-internal.h because of macro
3348 usage ignore_value.
3349
33502014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3351
3352 * string/bits/string3.h (__warn_memset_zero_len): Don't
3353 declare for gcc newer than 5.0.
3354 (memset): Don't test for zero-length __LEN for gcc newer than
3355 5.0.
3356
33572014-11-27 Joseph Myers <joseph@codesourcery.com>
3358
3359 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3360 size_t for %zu format.
3361
3362 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3363 difference, not %ju.
3364
33652014-11-26 Joseph Myers <joseph@codesourcery.com>
3366
3367 * include/libc-internal.h (ignore_value): New macro.
3368 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3369 with ignore_value.
3370
3371 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3372 definition.
3373
3374 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3375 pthread_cleanup_push to void *.
3376
3377 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3378 Undefine.
3379
3380 [BZ #16619]
3381 [BZ #16740]
3382 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3383 instead of 1L << 52.
3384
3385 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3386 * libio/bug-rewind2.c (do_test): Likewise.
3387
3388 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3389 * debug/test-strcpy_chk-ifunc.c: Likewise.
3390 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3391 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3392 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3393 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3394 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3395 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3396 * Rules [$(multi-arch) = no] (tests): Do not filter out
3397 $(tests-ifunc).
3398 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3399 * debug/Makefile (tests-ifunc): Remove variable.
3400 (tests): Do not add $(tests-ifunc).
3401 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3402 (tests): Do not add $(tests-ifunc).
3403 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3404 [TEST_IFUNC]: Remove conditionals.
3405 * string/test-string.h (TEST_IFUNC): Remove macro.
3406 [TEST_IFUNC]: Remove conditionals.
3407
3408 * string/test-strchr.c [!WIDE] (L): New macro.
3409 [WIDE] (L): Likewise.
3410 (check1): Use CHAR instead of char. Use L on string and character
3411 constants.
3412
34132014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3414
3415 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3416 tests.
3417 * sysdeps/powerpc/bits/atomic.h
3418 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3419 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3420 (atomic_exchange_and_add_acq): Likewise.
3421 (atomic_exchange_and_add_rel): Likewise.
3422 * sysdeps/powerpc/powerpc32/bits/atomic.h
3423 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3424 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3425 * sysdeps/powerpc/powerpc64/bits/atomic.h
3426 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3427 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3428
34292014-11-26 Torvald Riegel <triegel@redhat.com>
3430
3431 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3432 Change synchronization of __sched_fifo_min_prio and
3433 __sched_fifo_max_prio.
3434 * nptl/pthread_mutexattr_getprioceiling.c
3435 (pthread_mutexattr_getprioceiling): Likewise.
3436 * nptl/pthread_mutexattr_setprioceiling.c
3437 (pthread_mutexattr_setprioceiling): Likewise.
3438 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3439 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3440 Likewise.
3441
34422014-11-26 Joseph Myers <joseph@codesourcery.com>
3443
3444 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3445 void.
3446
34472014-11-25 Joseph Myers <joseph@codesourcery.com>
3448
3449 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3450 third argument const.
3451
34522014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3453
3454 fnmatch: work around GCC compiler warning bug with uninit var
3455 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3456 This works around a bug with x86-64 GCC 4.9.2 and earlier
3457 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3458 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3459 used uninitialized in this function [-Wmaybe-uninitialized]".
3460
34612014-11-25 Joseph Myers <joseph@codesourcery.com>
3462
3463 * posix/bug-regex31.c (main): Return RES not 0.
3464
34652014-11-25 Anton Blanchard <anton@samba.org>
3466
3467 * sysdeps/powerpc/bits/atomic.h
3468 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3469
34702014-11-24 Sterling Augustine <saugustine@google.com>
3471
3472 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3473
34742014-11-24 Ryan Cumming <etaoins@gmail.com>
3475
3476 [BZ #17608]
3477 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3478
34792014-11-24 Joseph Myers <joseph@codesourcery.com>
3480
3481 [BZ #17633]
3482 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3483 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3484 variable.
3485 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3486 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3487
34882014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3489
3490 * string/strncpy.c (strncpy): Improve performance by using memset.
3491
34922014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3493
3494 * string/strcpy.c (strcpy):
3495 Improve performance by using strlen and memcpy.
3496
34972014-11-24 Leonhard Holz <leonhard.holz@web.de>
3498
3499 * string/strcoll_l.c (get_next_seq): __always_inline.
3500 * string/strcoll_l.c (do_compare): __always_inline.
3501
35022014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3503
3504 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3505 defined.
3506 * include/mqueue.h: Likewise.
3507 * include/stdlib.h: Likewise.
3508
3509 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3510 (get_null_defines): Adjust.
3511 * sunrpc/Makefile: Adjust comment.
3512 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3513 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3514 (CFLAGS-interp.c): Likewise.
3515 (CFLAGS-ldconfig.c): Likewise.
3516 (CPPFLAGS-.os): Likewise.
3517 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3518 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3519 * extra-modules.mk (extra-modules.mk): Likewise.
3520 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3521 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3522 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3523 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3524 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3525 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3526 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3527 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3528 * iconvdata/Makefile (CPPFLAGS): Likewise.
3529 (cpp-srcs-left): Add libof for all iconvdata routines.
3530 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3531 * include/assert.h: Likewise.
3532 * include/ctype.h: Likewise.
3533 * include/errno.h: Likewise.
3534 * include/libc-symbols.h: Likewise.
3535 * include/math.h: Likewise.
3536 * include/netdb.h: Likewise.
3537 * include/resolv.h: Likewise.
3538 * include/stdio.h: Likewise.
3539 * include/stdlib.h: Likewise.
3540 * include/string.h: Likewise.
3541 * include/sys/stat.h: Likewise.
3542 * include/wctype.h: Likewise.
3543 * intl/l10nflist.c: Likewise.
3544 * libidn/idn-stub.c: Likewise.
3545 * libio/libioP.h: Likewise.
3546 * nptl/libc_multiple_threads.c: Likewise.
3547 * nptl/pthreadP.h: Likewise.
3548 * posix/regex_internal.h: Likewise.
3549 * resolv/res_hconf.c: Likewise.
3550 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3551 * sysdeps/arm/memmove.S: Likewise.
3552 * sysdeps/arm/sysdep.h: Likewise.
3553 * sysdeps/generic/_itoa.h: Likewise.
3554 * sysdeps/generic/symbol-hacks.h: Likewise.
3555 * sysdeps/gnu/errlist.awk: Likewise.
3556 * sysdeps/gnu/errlist.c: Likewise.
3557 * sysdeps/i386/i586/memcpy.S: Likewise.
3558 * sysdeps/i386/i586/memset.S: Likewise.
3559 * sysdeps/i386/i686/memcpy.S: Likewise.
3560 * sysdeps/i386/i686/memmove.S: Likewise.
3561 * sysdeps/i386/i686/mempcpy.S: Likewise.
3562 * sysdeps/i386/i686/memset.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3580 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3610 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3615 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3618 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3621 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3623 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3624 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3625 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3626 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3627 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3628 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3629 * sysdeps/posix/closedir.c: Likewise.
3630 * sysdeps/posix/opendir.c: Likewise.
3631 * sysdeps/posix/readdir.c: Likewise.
3632 * sysdeps/posix/rewinddir.c: Likewise.
3633 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3635 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3636 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3637 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3638 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3640 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3643 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3649 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3655 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3656 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3660 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3668 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3669 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3671 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3672 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3673 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3674 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3677 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3678 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3679 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3680 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3681 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3682 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3683 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3686 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3687 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3690 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3691 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3692 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3693 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3694 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3695 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3696 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3697 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3699 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3700 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3701 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3702 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3704 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3705 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3706 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3707 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3708 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3709 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3710 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3711 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3712 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3713 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3714 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3715 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3716 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3717 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3719 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3720 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3721 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3722 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3723 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3724 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3725 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3726 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3729 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3731 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3732 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3734 * sysdeps/unix/alpha/sysdep.S: Likewise.
3735 * sysdeps/unix/alpha/sysdep.h: Likewise.
3736 * sysdeps/unix/make-syscalls.sh: Likewise.
3737 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3740 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3741 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3742 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3743 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3744 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3745 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3746 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3747 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3748 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3750 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3751 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3752 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3753 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3754 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3755 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3756 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3757 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3758 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3759 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3760 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3761 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3762 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3766 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3767 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3776 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3778 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3780 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3787 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3788 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3789 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3790 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3792 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3795 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3796 * sysdeps/x86_64/memcpy.S: Likewise.
3797 * sysdeps/x86_64/memmove.c: Likewise.
3798 * sysdeps/x86_64/memset.S: Likewise.
3799 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3801 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3802 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3803 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3806 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3807 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3808 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3809 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3810 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3811 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3812 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3813 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3814 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3815 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3816 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3817 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3818 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3819 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3820 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3821 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3823 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3824 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3825 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3826 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3827 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3828 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3829 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3830 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3831 * sysdeps/x86_64/strcmp.S: Likewise.
3832
3833 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3834
3835 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3836 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3837 * elf/rtld-Rules: Likewise.
3838 * elf/setup-vdso.h: Likewise.
3839 * include/assert.h: Likewise.
3840 * include/bits/stdlib-float.h: Likewise.
3841 * include/errno.h: Likewise.
3842 * include/sys/stat.h: Likewise.
3843 * include/unistd.h: Likewise.
3844 * sysdeps/aarch64/setjmp.S: Likewise.
3845 * sysdeps/alpha/setjmp.S: Likewise.
3846 * sysdeps/arm/__longjmp.S: Likewise.
3847 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3848 * sysdeps/arm/setjmp.S: Likewise.
3849 * sysdeps/arm/sysdep.h: Likewise.
3850 * sysdeps/generic/_itoa.h: Likewise.
3851 * sysdeps/generic/dl-sysdep.h: Likewise.
3852 * sysdeps/generic/ldsodefs.h: Likewise.
3853 * sysdeps/i386/dl-tls.h: Likewise.
3854 * sysdeps/i386/setjmp.S: Likewise.
3855 * sysdeps/m68k/setjmp.c: Likewise.
3856 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3857 * sysdeps/mach/hurd/opendir.c: Likewise.
3858 * sysdeps/posix/getcwd.c: Likewise.
3859 * sysdeps/posix/opendir.c: Likewise.
3860 * sysdeps/posix/profil.c: Likewise.
3861 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3862 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3863 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3864 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3865 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3866 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3867 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3868 * sysdeps/s390/dl-tls.h: Likewise.
3869 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3870 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3871 * sysdeps/sh/sh3/setjmp.S: Likewise.
3872 * sysdeps/sh/sh4/setjmp.S: Likewise.
3873 * sysdeps/unix/alpha/sysdep.h: Likewise.
3874 * sysdeps/unix/arm/sysdep.S: Likewise.
3875 * sysdeps/unix/i386/sysdep.S: Likewise.
3876 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3877 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3878 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3879 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3880 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3881 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3882 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3883 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3884 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3885 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3886 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3887 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3888 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3891 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3893 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3894 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3895 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3896 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3899 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3900 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3904 * sysdeps/x86_64/setjmp.S: Likewise.
3905
3906 * include/math.h: Use IS_IN instead of IS_IN_libm.
3907 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3919 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3927 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3928 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3929 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3930 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3931 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3932 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3934 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3935 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3936 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3937 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3938 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3939 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3941 Likewise.
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3943 Likewise.
3944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3945 Likewise.
3946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3947 Likewise.
3948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3949 Likewise.
3950 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3953 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3955 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3961 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3963 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3969 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3974 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3976 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3977
3978 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3979 * nptl/pthreadP.h: Likewise.
3980 * nptl_db/structs.def: Likewise.
3981 * sysdeps/arm/sysdep.h: Likewise.
3982 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3983 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3984 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3985 * sysdeps/unix/alpha/sysdep.h: Likewise.
3986 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3988 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3989 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3990 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3991 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3993 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3994 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3995 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3996 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3997 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3998 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3999 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4002 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4004 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4005 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4007 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4008 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4009 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4010 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4011 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4012
4013 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4014 * nptl/pthreadP.h: Likewise.
4015 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4016 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4017 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4018 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4019 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4020 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4022 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4023 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4024 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4025 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4026 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4028 Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4030 Likewise.
4031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4032 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4033 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4036 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4037 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4038 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4039
4040 * dlfcn/dladdr.c: Use IS_IN.
4041 * dlfcn/dladdr1.c: Likewise.
4042 * dlfcn/dlclose.c: Likewise.
4043 * dlfcn/dlerror.c: Likewise.
4044 * dlfcn/dlinfo.c: Likewise.
4045 * dlfcn/dlmopen.c: Likewise.
4046 * dlfcn/dlopen.c: Likewise.
4047 * dlfcn/dlsym.c: Likewise.
4048 * dlfcn/dlvsym.c: Likewise.
4049
4050 * include/ifaddrs.h: Use IS_IN.
4051 * inet/check_pf.c: Likewise.
4052 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4053 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4054
4055 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4056 IS_IN_ldconfig.
4057 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4058 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4059
4060 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4061 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4062 IS_IN (libc).
4063
4064 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4065
4066 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4067 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4068 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4069 * include/libc-symbols.h (IS_IN_LIB): New macro.
4070 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4071 * include/netdb.h: Likewise.
4072 * include/stap-probe.h: Remove all uses of IN_LIB.
4073
4074 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4075 instead of IN_MODULE.
4076 * include/libc-symbols.h (IN_MODULE): Define using
4077 MODULE_NAME.
4078 (PASTE_NAME, PASTE_NAME1): New macros.
4079 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4080 of IN_LIB.
4081 (STAP_PROBE_ASM): Likewise.
4082
40832014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4084
4085 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4086 __mach_init in dlopened libc.
4087
40882014-11-22 Mike Frysinger <vapier@gentoo.org>
4089
4090 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4091 * sysdeps/arm/preconfigure: Regenerate.
4092
40932014-11-21 Roland McGrath <roland@hack.frob.com>
4094
4095 * nptl/pthread_create.c (__pthread_create_2_1): Set
4096 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4097 when copying values from IATTR into PD.
4098
40992014-11-21 Will Newton <will.newton@linaro.org>
4100 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4101
4102 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4103 Refactor inline-asm. Also add comment.
4104
4105 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4106 ElfW macro instead of hardcoded Elf64 types.
4107 (la_aarch64_gnu_pltenter): Likewise.
4108 * sysdeps/aarch64/dl-machine.h
4109 (elf_machine_runtime_setup): Use ElfW(Addr).
4110
4111 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4112 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4113 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4114 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4115 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4116 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4117 (R_AARCH64_TLS_DTPMOD): This.
4118 (R_AARCH64_TLS_DTPREL64): Rename to ...
4119 (R_AARCH64_TLS_DTPREL): This.
4120 (R_AARCH64_TLS_TPREL64): Rename to ...
4121 (R_AARCH64_TLS_TPREL): This.
4122 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4123 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4124 R_AARCH64_TLS_TPREL64.
4125 (elf_machine_rela): Likewise.
4126
41272014-11-21 Torvald Riegel <triegel@redhat.com>
4128
4129 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4130 by setting it to 0. 64b atomics are not supported currently.
4131
41322014-11-21 Alexandre Oliva <aoliva@redhat.com>
4133
4134 [BZ #16469]
4135 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4136 search domain names.
4137
41382014-11-21 Alexandre Oliva <aoliva@redhat.com>
4139
4140 [BZ #16469]
4141 * NEWS: Update.
4142 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4143 trailing dot.
4144 * posix/tst-getaddrinfo5.c: New.
4145 * posix/Makefile (tests): Add it.
4146
41472014-11-21 Alexandre Oliva <aoliva@redhat.com>
4148
4149 [BZ #14498]
4150 * NEWS: Fixed.
4151 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4152 after parsing line but before break_if_match.
4153 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4154 if there is a protocol mismatch.
4155
41562014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4157
4158 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4159 because the potential race is on the user-supplied stream.
4160
41612014-11-21 Alexandre Oliva <aoliva@redhat.com>
4162
4163 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4164 string literal if not passed a buffer.
4165 * manual/job.texi (ctermid): Update reasoning, note deviation
4166 from posix, suggest mtasurace when not passed a buffer, for
4167 future non-preliminary safety notes.
4168
41692014-11-21 Alexandre Oliva <aoliva@redhat.com>
4170
4171 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4172 of not passing it a buffer.
4173 Reported by Peng Haitao.
4174
41752014-11-21 Alexandre Oliva <aoliva@redhat.com>
4176
4177 * manual/Makefile ($(objpfx)stamp-summary): Require
4178 check-safety.sh to pass.
4179 * manual/check-safety.sh: Wish for verification that every
4180 @deftypefn and @deftypefun is followed by a @safety remark.
4181
41822014-11-20 Roland McGrath <roland@hack.frob.com>
4183
4184 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4185
4186 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4187 PTHREAD_CANCEL_ASYNCHRONOUS.
4188 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4189 send SIGCANCEL.
4190
4191 * nptl/default-sched.h: New file.
4192 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4193 * nptl/pthread_create.c: Include it.
4194 (__pthread_create_2_1): Use collect_default_sched instead of making
4195 Linux syscalls here directly.
4196
41972014-11-20 Torvald Riegel <triegel@redhat.com>
4198
4199 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4200 __pthread_once): Use C11 atomics.
4201
42022014-11-20 Torvald Riegel <triegel@redhat.com>
4203
4204 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4205
42062014-11-20 Torvald Riegel <triegel@redhat.com>
4207
4208 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4209 atomic_thread_fence_acquire, atomic_thread_fence_release,
4210 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4211 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4212 atomic_compare_exchange_weak_relaxed,
4213 atomic_compare_exchange_weak_acquire,
4214 atomic_compare_exchange_weak_release,
4215 atomic_exchange_acquire, atomic_exchange_release,
4216 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4217 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4218 atomic_fetch_and_acquire,
4219 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4220
42212014-11-20 Torvald Riegel <triegel@redhat.com>
4222
4223 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4224 USE_ATOMIC_COMPILER_BUILTINS): Define.
4225 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4227 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4228 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4229 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4231 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4233 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4234 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4235 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4236 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4237 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4238 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4239 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4241 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4243 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4245 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4247 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4249 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4251 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4253 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4255 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4256 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4257 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4259 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4260 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4261 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4262 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4263 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4265
42662014-11-19 Roland McGrath <roland@hack.frob.com>
4267
4268 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4269 the sched_priority value here. It was already checked when the user
4270 called pthread_attr_setschedparam.
4271
4272 * nptl/tst-bad-schedattr.c: New file.
4273 * nptl/Makefile (tests): Add it.
4274
42752014-11-19 Carlos O'Donell <carlos@redhat.com>
4276 Florian Weimer <fweimer@redhat.com>
4277 Joseph Myers <joseph@codesourcery.com>
4278 Adam Conrad <adconrad@0c3.net>
4279 Andreas Schwab <schwab@suse.de>
4280 Brooks <bmoses@google.com>
4281
4282 [BZ #17625]
4283 * wordexp-test.c (__dso_handle): Add prototype.
4284 (__register_atfork): Likewise.
4285 (__app_register_atfork): New function.
4286 (registered_forks): New global.
4287 (register_fork): New function.
4288 (test_case): Add 3 new tests for WRDE_CMDSUB.
4289 (main): Call __app_register_atfork.
4290 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4291 fork count is non-zero fail the test.
4292 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4293 is set.
4294 (parse_dollars): Remove check for WRDE_NOCMD.
4295 (parse_dquote): Likewise.
4296
42972014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4298
4299 * Makeconfig (built-modules): List non-library modules to be
4300 built.
4301 (module-cppflags): Include libc-modules.h for
4302 everything except shlib-versions.v.i.
4303 (CPPFLAGS): Use it.
4304 (before-compile): Add libc-modules.h.
4305 ($(common-objpfx)libc-modules.h,
4306 $(common-objpfx)libc-modules.stmp): New targets.
4307 (common-generated): Add libc-modules.h and libc-modules.stmp.
4308 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4309 * include/libc-symbols.h: Don't include libc-modules.h.
4310 * include/libc-modules.h: Remove file.
4311 * scripts/gen-libc-modules.awk: New script to generate
4312 libc-modules.h.
4313 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4314 Depend on libc-modules.stmp.
4315
4316 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4317
4318 * Makeconfig (in-module): Get value of libof set for the
4319 translation unit.
4320 (CPPFLAGS): Use $(in-module).
4321 * Makerules: Don't suffix routine names for nonlib.
4322 * include/libc-modules.h: New file.
4323 * include/libc-symbols.h: Include libc-modules.h
4324 (IS_IN): New macro to replace IS_IN_* macros.
4325 * elf/Makefile: Set libof-* for each routine.
4326 * elf/rtld-Rules: Likewise.
4327 * extra-modules.mk: Likewise.
4328 * iconv/Makefile: Likewise.
4329 * iconvdata/Makefile: Likewise.
4330 * locale/Makefile: Likewise.
4331 * malloc/Makefile: Likewise.
4332 * nss/Makefile: Likewise.
4333 * sysdeps/gnu/Makefile: Likewise.
4334 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4335 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4336 * sysdeps/s390/s390-64/Makefile: Likewise.
4337 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4338 CPPFLAGS for nscd instead of nonlib.
4339
43402014-11-18 Roland McGrath <roland@hack.frob.com>
4341
4342 * nptl/createthread.c: New file.
4343
4344 * nptl/createthread.c: Moved ...
4345 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4346
4347 * nptl/createthread.c: Add proper top-line comment.
4348 (do_clone): Folded into ...
4349 (create_thread): ... here. Take new arguments STOPPED_START and
4350 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4351 increment __nptl_threads, do event-reporting logic, do
4352 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4353 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4354 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4355 just send SIGCANCEL.
4356 * nptl/pthread_create.c: Forward-declare create_thread before
4357 including createthread.c.
4358 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4359 declaration, and new macro START_THREAD_SELF to replace argument.
4360 Remove return statement.
4361 (report_thread_creation): New function.
4362 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4363 synchronization logic, and __nptl_nthreads increment here, around
4364 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4365 PD->parent_cancelhandling here, before create_thread. When
4366 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4367 __deallocate_stack, and ENOMEM translation here.
4368
43692014-11-18 Joseph Myers <joseph@codesourcery.com>
4370
4371 [BZ #17616]
4372 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4373 (mptwo): Rename to __mptwo.
4374 (__inv): Use __mptwo instead of mptwo.
4375 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4376 (mptwo): Rename to __mptwo.
4377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4378 of mpone and __mptwo instead of mptwo.
4379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4380 instead of mpone.
4381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4382 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4383 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4384 of mpone and __mptwo instead of mptwo.
4385 (__mpranred): Use __mpone instead of mpone.
4386 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4387 variable.
4388 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4389 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4390 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4391 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4392 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4393 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4394 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4395 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4396 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4397 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4398 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4399 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4400 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4401 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4402 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4403 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4404 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4405 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4406 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4407
44082014-11-18 Tom de Vries <tom@codesoucery.com>
4409
4410 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4411 replace BSD Handler xref with BSD Signal Handling.
4412
44132014-11-17 Richard Henderson <rth@redhat.com>
4414
4415 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4416 (_FP_PACK_RAW_2): Remove.
4417 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4418 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4419 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4420 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4421 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4422 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4423 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4424 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4425 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4426 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4427 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4428 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4429 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4430 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4431 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4432 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4433
44342014-11-14 Roland McGrath <roland@hack.frob.com>
4435
4436 * signal/signal.h [__USE_MISC]
4437 (struct sigvec): Remove type.
4438 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4439 (sigvec): Remove declaration.
4440 * sysdeps/posix/sigvec.c: Moved ...
4441 * signal/sigvec.c: ... here, replacing old file.
4442 (struct sigvec): New type, copied from old signal.h definition.
4443 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4444 (__sigvec): Convert definition to prototype.
4445 (sigvec): Replace weak_alias with compat_symbol.
4446 * signal/Versions (libc: GLIBC_2.21): New version set.
4447 * include/signal.h: Remove __sigvec declaration.
4448 * sysdeps/unix/bsd/sigvec.c: Remove file.
4449 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4450 * manual/signal.texi (BSD Handler): Remove subsection.
4451 Move siginterrupt up to ...
4452 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4453 (Blocking in BSD): Fold subsection into its parent.
4454 * NEWS: Mention sigvec removal.
4455
44562014-11-14 Joseph Myers <joseph@codesourcery.com>
4457
4458 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4459 (DLA_FMS): Make definition conditional only on [__FMA4__].
4460 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4461 definition.
4462
4463 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4464 Make definition conditional only on [PROF].
4465 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4466 definition.
4467 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4468 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4469
4470 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4471 !__GNUC__].
4472 * include/signal.h (__sigpause): Move declaration above call to
4473 libc_hidden_proto.
4474 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4475 variable.
4476 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4477 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4478
44792014-11-14 David S. Miller <davem@davemloft.net>
4480
4481 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4482 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4483
44842014-11-14 Joseph Myers <joseph@codesourcery.com>
4485
4486 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4487 * configure: Regenerated.
4488 * manual/install.texi (Tools for Compilation): Document a
4489 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4490 compiler verified to work.
4491 * INSTALL: Regenerated.
4492
4493 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4494 redeclare with asm name.
4495 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4496 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4497 including <string.h>.
4498 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4499 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4500 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4502 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4504 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4505
45062014-11-13 Joseph Myers <joseph@codesourcery.com>
4507
4508 * stdlib/strtol.c (__strtol): Use prototype definition.
4509
4510 [BZ #17594]
4511 * stdlib/strtol.c (SYM__): New macro.
4512 (SYM__1): Likewise.
4513 (__strtol): Likewise.
4514 (strtol): Rename to __strtol and define as weak alias of
4515 __strtol. Use libc_hidden_weak.
4516
45172014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4518
4519 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4520 Use numbered labels in inline assembly.
4521
45222014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4523
4524 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4525 Add setjmp LIBC_PROBE.
4526 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4527 Likewise.
4528 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4529 Add longjmp, longjmp_target LIBC_PROBE.
4530 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4531 Likewise.
4532
45332014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4534
4535 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4536 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4537 to get rid of unused variable warning.
4538
45392014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4540
4541 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4542 Check for unwind_backtrace == NULL only in SHARED case.
4543 (__backchain_backtrace): Compile only in SHARED case.
4544 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4545 Likewise.
4546 (__backchain_backtrace): Declare as static.
4547
45482014-11-12 Roland McGrath <roland@hack.frob.com>
4549
4550 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4551 (__libc_multiple_threads_ptr): Variable moved ...
4552 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4553
45542014-11-12 Joseph Myers <joseph@codesourcery.com>
4555
4556 * conform/GlibcConform.pm: New file.
4557 * conform/conformtest.pl: Use GlibcConform module.
4558 * conform/linknamespace.pl: New file.
4559 * conform/list-header-symbols.pl: Likewise.
4560 * conform/Makefile (linknamespace-symlists-base): New variable.
4561 (linknamespace-symlists-tests): Likewise.
4562 (linknamespace-header-base): Likewise.
4563 (linknamespace-header-tests): Likewise.
4564 (tests-special): Add new tests.
4565 ($(linknamespace-symlists-tests)): New rule.
4566 (linknamespace-libs): New variable.
4567 ($(objpfx)symlist-stdlibs): New rule.
4568 ($(linknamespace-header-tests)): Likewise.
4569 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4570 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4571 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4572 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4573 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4575 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4576 (test-xfail-ISO/math.h/linknamespace): Likewise.
4577 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4578 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4579 (test-xfail-ISO/time.h/linknamespace): Likewise.
4580 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4581 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4582 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4583 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4584 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4585 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4586 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4587 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4588 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4589 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4590 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4591 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4592 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4593 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4594 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4595 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4596 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4597 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4598 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4599 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4600 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4601 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4602 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4603 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4604 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4605 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4606 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4607 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4608 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4609 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4610 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4611 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4612 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4613 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4614 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4615 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4616 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4617 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4618 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4619 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4620 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4621 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4622 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4623 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4624 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4625 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4626 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4627 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4628 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4629 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4630 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4631 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4632 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4633 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4634 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4635 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4636 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4637 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4638 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4639 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4640 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4641 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4642 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4643 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4644 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4645 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4646 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4647 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4648 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4649 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4650 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4651 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4652 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4653 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4654 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4655 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4656 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4657 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4658 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4659 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4660 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4661 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4662 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4663 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4664 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4665 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4666 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4667 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4668 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4669 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4670 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4671 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4673 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4674 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4675 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4676 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4677 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4678 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4679 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4680 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4681 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4682 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4683 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4684 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4685 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4686 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4687 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4688 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4689 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4690 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4691 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4692 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4693 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4694 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4695 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4696 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4697 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4698 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4699 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4700 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4701 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4702 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4703 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4704 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4705 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4706 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4707 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4708 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4709 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4710 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4711 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4712 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4713 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4714 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4715 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4716 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4717 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4718 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4719 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4720 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4721 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4722 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4723 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4724 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4725 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4726 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4727 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4728 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4729 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4730
4731 [BZ #17589]
4732 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4733 of fgets_unlocked.
4734
4735 [BZ #17585]
4736 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4737 (memmem): Rename to __memmem and define as weak alias of
4738 __memmem. Use libc_hidden_weak.
4739 (__memmem): Use libc_hidden_def.
4740 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4741 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4742 memmem.
4743
4744 [BZ #17582]
4745 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4746 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4747 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4748 and define as weak alias of __fgets_unlocked. Use
4749 libc_hidden_weak.
4750 (__fgets_unlocked): Use libc_hidden_def.
4751 * include/stdio.h (__fgets_unlocked): Declare. Use
4752 libc_hidden_proto.
4753 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4754 __fgets_unlocked instead of fgets_unlocked.
4755 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4756 (GET_NPROCS_CONF_PARSER): Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4758 (GET_NPROCS_CONF_PARSER): Likewise.
4759
4760 [BZ #17574]
4761 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4762 weak alias of __wmemset. Use libc_hidden_weak.
4763 (__wmemset): Use libc_hidden_def.
4764 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4765 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4766 of wmemset.
4767
4768 [BZ #17573]
4769 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4770 with asm name __mempcpy.
4771 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4772
4773 [BZ #17572]
4774 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4775 and define as weak alias of __rawmemchr.
4776 (__rawmemchr): Do not define as strong alias of rawmemchr.
4777
4778 [BZ #17571]
4779 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4780 alias of __qsort_r.
4781 (qsort): Call __qsort_r instead of qsort_r.
4782 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4783 (__qsort_r): Declare. Call libc_hidden_proto.
4784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4785 instead of qsort_r.
4786 * nscd/gai.c (__qsort_r): Define to qsort_r.
4787 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4788 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4789 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4790
4791 [BZ #17570]
4792 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4793 define as weak alias of __malloc_info.
4794
4795 [BZ #17584]
4796 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4797 as weak alias of __rewinddir. Don't use libc_hidden_def.
4798 (__rewinddir): Use libc_hidden_def.
4799 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4800 as weak alias of __rewinddir. Don't use libc_hidden_def.
4801 (__rewinddir): Use libc_hidden_def.
4802 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4803 weak alias of __rewinddir. Don't use libc_hidden_def.
4804 (__rewinddir): Use libc_hidden_def.
4805 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4806 (__rewinddir): Use libc_hidden_proto.
4807 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4808 rewinddir.
4809 (__getcwd): Use __rewinddir instead of rewinddir.
4810
4811 [BZ #17583]
4812 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4813 alias of __fileno. Use libc_hidden_weak.
4814 (__fileno): Use libc_hidden_def.
4815 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4816 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4817 alias of __ftello.
4818 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4819 __ftello.
4820 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4821 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4822 libc_hidden_def.
4823 (fread_unlocked): Don't use libc_hidden_ver.
4824 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4825 and define as weak alias of __fread_unlocked. Don't use
4826 libc_hidden_def.
4827 (__fread_unlocked): Use libc_hidden_def.
4828 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4829 (ftello): Don't use libc_hidden_proto.
4830 (__ftello): Declare. Use libc_hidden_proto.
4831 (fread_unlocked): Don't use libc_hidden_proto.
4832 (__fread_unlocked): Declare. Use libc_hidden_proto.
4833 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4834 and __ftello instead of fileno, fread_unlocked and ftello.
4835
48362012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4837
4838 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4839 GOT12.
4840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4841 Likewise.
4842 (_dl_start_user): Likewise.
4843 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4844
48452014-11-12 Carlos O'Donell <carlos@redhat.com>
4846 Siddhesh Poyarekar <siddhesh@redhat.com>
4847
4848 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4849 Move argv and envp down instead of moving argc up.
4850 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4851
48522014-11-12 Leonhard Holz <leonhard.holz@web.de>
4853
4854 [BZ #17506]
4855 * test-skeleton.c (main): Return successful if one of
4856 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4857 * string/tst-strcoll-overflow.c: Define expected status.
4858
48592014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4860
4861 [BZ #17475]
4862 * locale/iso-639.def: Define Bhili and Tulu language codes.
4863
48642014-11-11 Alan Hayward <alan.hayward@arm.com>
4865
4866 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4867
48682014-11-10 Renlin Li <Renlin.Li@arm.com>
4869
4870 [BZ #17555]
4871 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4872
48732014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4874
4875 * configure.ac: Updated check of minimal required version to
4876 2.22.
4877 * manual/install.texi (Tools for Compilation): Updated version
4878 number.
4879 * configure: Regenerated.
4880 * INSTALL: Likewise.
4881
48822014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4883
4884 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4885 __tls_get_addr.
4886
48872014-11-07 Joseph Myers <joseph@codesourcery.com>
4888
4889 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4890 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4891 (__waitpid): Don't define as alias. Use libc_hidden_def not
4892 libc_hidden_weak.
4893 (waitpid): Define as alias of __waitpid.
4894 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4895 __waitpid.
4896 (__waitpid): Don't define as alias. Use libc_hidden_def not
4897 libc_hidden_weak.
4898 (waitpid): Define as alias of __waitpid.
4899 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4900 __libc_waitpid alias.
4901 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4902 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4903 Likewise.
4904 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4905 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4906 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4907 alias.
4908 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4909 __waitpid.
4910 (__waitpid): Don't define as alias. Use libc_hidden_def not
4911 libc_hidden_weak.
4912 (waitpid): Define as alias of __waitpid.
4913
49142014-11-06 Carlos O'Donell <carlos@redhat.com>
4915
4916 * manual/llio.texi: Add comment that write safety has been
4917 fixed in Linux.
4918
4919 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4920 (localplt-build-dso): Add elf/ld.so.
4921 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4922 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4923 and free for ld.so.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4925 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4927 Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4929 Likewise.
4930 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4931 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4932 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4933 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4934 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4935 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4936 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4937 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4938 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4941
49422014-11-05 Joseph Myers <joseph@codesourcery.com>
4943
4944 [BZ #14132]
4945 * include/libc-symbols.h (INTUSE): Remove macro.
4946 (INTDEF): Likewise.
4947 (INTVARDEF): Likewise.
4948 (_INTVARDEF): Likewise.
4949 (INTDEF2): Likewise.
4950 (INTVARDEF2): Likewise.
4951 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4952 rtld_hidden_def instead of INTVARDEF.
4953 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4954 (_dl_starting_up_internal): Remove declaration.
4955 (_dl_starting_up): Use rtld_hidden_proto.
4956 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4957 declaration.
4958 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4959 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4960 _dl_starting_up.
4961 * elf/dl-writev.h (_dl_writev): Likewise.
4962 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4963 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4964 _dl_starting_up_internal.
4965
49662014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967
4968 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4969 test-skeleton.c.
4970
49712014-11-05 Will Newton <will.newton@linaro.org>
4972
4973 * benchtests/Makefile: (bench-malloc): Add malloc thread
4974 scalability benchmark.
4975 * benchtests/bench-malloc-threads.c: New file.
4976
49772014-11-05 Richard Earnshaw <rearnsha@arm.com>
4978
4979 * sysdeps/aarch64/strchrnul.S: New file.
4980
49812014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982
4983 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4984 definition.
4985 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4986 Likwise.
4987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4988 Likewise.
4989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4990 Likewise.
4991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4992 Likewise.
4993 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4994 Likewise.
4995
49962014-11-05 Arjun Shankar <arjun.is@lostca.se>
4997
4998 * catgets/test-gencat.c: Use test-skeleton.c.
4999 * catgets/tst-catgets.c: Likewise.
5000 * csu/tst-empty.c: Likewise.
5001 * elf/tst-audit2.c: Likewise.
5002 * elf/tst-global1.c: Likewise.
5003 * elf/tst-pathopt.c: Likewise.
5004 * elf/tst-piemod1.c: Likewise.
5005 * elf/tst-tls10.c: Likewise.
5006 * elf/tst-tls11.c: Likewise.
5007 * elf/tst-tls12.c: Likewise.
5008 * gnulib/tst-gcc.c: Likewise.
5009 * iconvdata/tst-e2big.c: Likewise.
5010 * iconvdata/tst-loading.c: Likewise.
5011 * iconv/tst-iconv1.c: Likewise.
5012 * iconv/tst-iconv2.c: Likewise.
5013 * inet/test-inet6_opt.c: Likewise.
5014 * inet/tst-gethnm.c: Likewise.
5015 * inet/tst-network.c: Likewise.
5016 * inet/tst-ntoa.c: Likewise.
5017 * intl/tst-codeset.c: Likewise.
5018 * intl/tst-gettext2.c: Likewise.
5019 * intl/tst-gettext3.c: Likewise.
5020 * intl/tst-ngettext.c: Likewise.
5021 * intl/tst-translit.c: Likewise.
5022 * io/test-stat.c: Likewise.
5023 * libio/test-fmemopen.c: Likewise.
5024 * libio/tst-freopen.c: Likewise.
5025 * libio/tst-sscanf.c: Likewise.
5026 * libio/tst-ungetwc1.c: Likewise.
5027 * libio/tst-ungetwc2.c: Likewise.
5028 * libio/tst-widetext.c: Likewise.
5029 * localedata/tst-ctype.c: Likewise.
5030 * localedata/tst-digits.c: Likewise.
5031 * localedata/tst-leaks.c: Likewise.
5032 * localedata/tst-mbswcs1.c: Likewise.
5033 * localedata/tst-mbswcs2.c: Likewise.
5034 * localedata/tst-mbswcs3.c: Likewise.
5035 * localedata/tst-mbswcs4.c: Likewise.
5036 * localedata/tst-mbswcs5.c: Likewise.
5037 * localedata/tst-setlocale.c: Likewise.
5038 * localedata/tst-trans.c: Likewise.
5039 * localedata/tst-wctype.c: Likewise.
5040 * localedata/tst-xlocale1.c: Likewise.
5041 * login/tst-grantpt.c: Likewise.
5042 * malloc/tst-calloc.c: Likewise.
5043 * malloc/tst-malloc.c: Likewise.
5044 * malloc/tst-mallocstate.c: Likewise.
5045 * malloc/tst-mcheck.c: Likewise.
5046 * malloc/tst-mtrace.c: Likewise.
5047 * malloc/tst-obstack.c: Likewise.
5048 * math/atest-exp2.c: Likewise.
5049 * math/atest-exp.c: Likewise.
5050 * math/atest-sincos.c: Likewise.
5051 * math/test-matherr.c: Likewise.
5052 * math/test-misc.c: Likewise.
5053 * math/test-powl.c: Likewise.
5054 * math/tst-definitions.c: Likewise.
5055 * misc/tst-dirname.c: Likewise.
5056 * misc/tst-efgcvt.c: Likewise.
5057 * misc/tst-fdset.c: Likewise.
5058 * misc/tst-hsearch.c: Likewise.
5059 * misc/tst-mntent2.c: Likewise.
5060 * nptl/tst-sem7.c: Likewise.
5061 * nptl/tst-sem8.c: Likewise.
5062 * nptl/tst-sem9.c: Likewise.
5063 * nss/test-netdb.c: Likewise.
5064 * posix/tst-fnmatch.c: Likewise.
5065 * posix/tst-getlogin.c: Likewise.
5066 * posix/tst-gnuglob.c: Likewise.
5067 * posix/tst-mmap.c: Likewise.
5068 * pwd/tst-getpw.c: Likewise.
5069 * resolv/tst-inet_ntop.c: Likewise.
5070 * rt/tst-timer.c: Likewise.
5071 * stdio-common/test-fseek.c: Likewise.
5072 * stdio-common/test-popen.c: Likewise.
5073 * stdio-common/test-vfprintf.c: Likewise.
5074 * stdio-common/tst-cookie.c: Likewise.
5075 * stdio-common/tst-fileno.c: Likewise.
5076 * stdio-common/tst-gets.c: Likewise.
5077 * stdio-common/tst-obprintf.c: Likewise.
5078 * stdio-common/tst-perror.c: Likewise.
5079 * stdio-common/tst-sprintf2.c: Likewise.
5080 * stdio-common/tst-sprintf3.c: Likewise.
5081 * stdio-common/tst-sprintf.c: Likewise.
5082 * stdio-common/tst-swprintf.c: Likewise.
5083 * stdio-common/tst-tmpnam.c: Likewise.
5084 * stdio-common/tst-unbputc.c: Likewise.
5085 * stdio-common/tst-wc-printf.c: Likewise.
5086 * stdlib/tst-environ.c: Likewise.
5087 * stdlib/tst-fmtmsg.c: Likewise.
5088 * stdlib/tst-limits.c: Likewise.
5089 * stdlib/tst-rand48-2.c: Likewise.
5090 * stdlib/tst-rand48.c: Likewise.
5091 * stdlib/tst-random2.c: Likewise.
5092 * stdlib/tst-random.c: Likewise.
5093 * stdlib/tst-strtol.c: Likewise.
5094 * stdlib/tst-strtoll.c: Likewise.
5095 * stdlib/tst-tls-atexit.c: Likewise.
5096 * stdlib/tst-xpg-basename.c: Likewise.
5097 * string/test-ffs.c: Likewise.
5098 * string/tst-bswap.c: Likewise.
5099 * string/tst-inlcall.c: Likewise.
5100 * string/tst-strtok.c: Likewise.
5101 * string/tst-strxfrm.c: Likewise.
5102 * sysdeps/x86_64/tst-audit10.c: Likewise.
5103 * sysdeps/x86_64/tst-audit3.c: Likewise.
5104 * sysdeps/x86_64/tst-audit4.c: Likewise.
5105 * sysdeps/x86_64/tst-audit5.c: Likewise.
5106 * time/tst-ftime_l.c: Likewise.
5107 * time/tst-getdate.c: Likewise.
5108 * time/tst-mktime3.c: Likewise.
5109 * time/tst-mktime.c: Likewise.
5110 * time/tst-posixtz.c: Likewise.
5111 * time/tst-strptime2.c: Likewise.
5112 * time/tst-strptime3.c: Likewise.
5113 * wcsmbs/tst-btowc.c: Likewise.
5114 * wcsmbs/tst-mbrtowc.c: Likewise.
5115 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5116 * wcsmbs/tst-wchar-h.c: Likewise.
5117 * wcsmbs/tst-wcpncpy.c: Likewise.
5118 * wcsmbs/tst-wcrtomb.c: Likewise.
5119 * wcsmbs/tst-wcsnlen.c: Likewise.
5120 * wcsmbs/tst-wcstof.c: Likewise.
5121
51222014-11-04 Joseph Myers <joseph@codesourcery.com>
5123
5124 [BZ #14132]
5125 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5126 INTDEF.
5127 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5128 declaration.
5129 (_dl_mcount): Use rtld_hidden_proto.
5130 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5131 _dl_mcount.
5132 * elf/rtld.c (_rtld_global_ro): Likewise.
5133
5134 [BZ #14132]
5135 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5136 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5137 of _dl_init_internal.
5138 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5139 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5140 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5141 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5142 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5143 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5144 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5145 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5146 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5147 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5148 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5149 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5151 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5152 * sysdeps/tile/dl-start.S (_start): Likewise.
5153 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5154 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5155
5156 [BZ #14132]
5157 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5158 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5159 (rtld_progname): Make macro definition unconditional.
5160 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5161 INTDEF.
5162 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5163 (dl_main): Likewise.
5164 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5165 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5166 instead of _dl_argv_internal.
5167 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5168 __GI__dl_argv instead of INTUSE(_dl_argv).
5169 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5170 __GI__dl_argv instead of _dl_argv_internal.
5171
5172 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5173 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5174 macro.
5175 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5176 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5177 New macro.
5178 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5179 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5180 macro.
5181 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5182 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5183
51842014-11-04 Andreas Schwab <schwab@suse.de>
5185
5186 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5187
51882014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5189
5190 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5191 mtvsrd instruction in binary form.
5192
51932014-11-03 Andreas Schwab <schwab@suse.de>
5194
5195 [BZ #17522]
5196 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5197 for less than MB_LEN_MAX use a local buffer of that size.
5198 * libio/tst-fputws.c: New file.
5199 * libio/Makefile (tests): Add tst-fputws.
5200
52012014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5202
5203 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5204 the size of the fpu_fr.fpu_dregs[] array.
5205
52062014-11-01 Joseph Myers <joseph@codesourcery.com>
5207
5208 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5209 (__nanosleep): Do not define as alias.
5210 (nanosleep): Define as alias of __nanosleep.
5211 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5212 __libc_nanosleep name.
5213
52142014-10-31 Joseph Myers <joseph@codesourcery.com>
5215
5216 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5217 install.texi in comment.
5218
52192014-10-31 Torvald Riegel <triegel@redhat.com>
5220
5221 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5222 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5223 ... add here and use lwsync or sync ...
5224 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5225 ... and add here using lwsync.
5226
52272014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5228
5229 * elf/dl-machine-reject-phdr.h: New file.
5230 * elf/dl-load.c: #include that.
5231 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5232 if that returned true.
5233
52342014-10-31 Roland McGrath <roland@hack.frob.com>
5235
5236 [BZ #17496]
5237 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5238 gen-as-const-headers chunk. Add a big scare comment after the last
5239 safe place to touch before-compile.
5240
52412014-10-31 Joseph Myers <joseph@codesourcery.com>
5242
5243 * manual/install.texi (Tools for Compilation): Update autoconf
5244 version requirements.
5245 * INSTALL: Regenerated.
5246
5247 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5248 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5249 (__libc_pselect): Likewise.
5250
5251 [BZ #14138]
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5256
52572014-10-31 Torvald Riegel <triegel@redhat.com>
5258
5259 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5260 correct barrier instruction.
5261 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5262 Likewise.
5263 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5264 Likewise.
5265
52662014-10-30 Roland McGrath <roland@hack.frob.com>
5267
5268 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5269 after defining inlines. Instead, just use parens to defeat macro
5270 expansion of __isctype in its declaration.
5271
52722014-10-30 Joseph Myers <joseph@codesourcery.com>
5273
5274 * include/sys/uio.h (__libc_readv): Remove declaration.
5275 (__libc_writev): Likewise.
5276 * misc/readv.c (__libc_readv): Rename to __readv.
5277 (__readv): Do not define as alias.
5278 (readv): Define as alias of __readv.
5279 * misc/writev.c (__libc_writev): Rename to __writev.
5280 (__writev): Do not define as alias.
5281 (writev): Define as alias of __writev.
5282 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5283 (__readv): Do not define as alias.
5284 (readv): Define unconditionally as alias of __readv.
5285 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5286 (__writev): Do not define as alias.
5287 (writev): Define unconditionally as alias of __writev.
5288 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5289 name.
5290 (writev): Do not define __libc_writev name.
5291
52922014-10-30 Roland McGrath <roland@hack.frob.com>
5293
5294 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5295 (convert_charseq): New function, broken out of ...
5296 (use_from_charmap): ... here. Call it.
5297 (use_to_charmap): Use convert_charseq and free instead of duplicating
5298 its code with a variable-length stack struct.
5299
53002014-10-30 Joseph Myers <joseph@codesourcery.com>
5301
5302 * include/fcntl.h (__libc_creat): Remove declaration.
5303 * io/creat.c (__libc_creat): Rename to creat.
5304 (creat): Do not define as alias.
5305 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5306 of creat instead of __libc_creat.
5307 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5308 to creat.
5309 (creat): Do not define as alias.
5310 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5311 __libc_creat.
5312 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5313 __libc_creat name.
5314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5315 Likewise.
5316
53172014-10-29 Carlos O'Donell <carlos@redhat.com>
5318
5319 * manual/llio.texi: Add comments discussing why write() may be
5320 considered MT-unsafe on Linux.
5321
53222014-10-28 Carlos O'Donell <carlos@redhat.com>
5323
5324 * dl-load.c (local_strdup): Remove.
5325 (expand_dynamic_string_token): Use __strdup.
5326 (decompose_rpath): Likewise.
5327 (_dl_map_object): Likewise.
5328
53292014-10-28 Joseph Myers <joseph@codesourcery.com>
5330
5331 [BZ #14132]
5332 * sysdeps/generic/unwind-dw2-fde.c
5333 (__register_frame_info_bases_internal): Do not declare.
5334 (__register_frame_info_table_bases_internal): Likewise.
5335 (__deregister_frame_info_bases_internal): Likewise.
5336 (__register_frame_info_bases): Declare and use hidden_proto before
5337 definition. Use hidden_def instead of INTDEF.
5338 (__register_frame_info_table_bases): Likewise.
5339 (__deregister_frame_info_bases): Likewise.
5340 (__register_frame_info): Do not use INTUSE.
5341 (__register_frame): Likewise.
5342 (__register_frame_info_table): Likewise.
5343 (__register_frame_table): Likewise.
5344 (__deregister_frame_info): Likewise.
5345 (__deregister_frame): Likewise.
5346
53472014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5348
5349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5350 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5351 not undefine.
5352 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5353 Likewise.
5354 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5355 Likewise.
5356
53572014-10-27 Joseph Myers <joseph@codesourcery.com>
5358
5359 [BZ #14138]
5360 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5361 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5362 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5363 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5364 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5365 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5366 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5367 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5368 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5369 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5370 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5371 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5372 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5373 syscall.
5374 (setfsuid): Likewise.
5375 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5376 (setfsuid): Likewise.
5377 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5378 (setfsuid): Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5380 Likewise.
5381 (setfsuid): Likewise.
5382 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5383 (setfsuid): Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5385 Likewise.
5386 (setfsuid): Likewise.
5387
53882014-10-27 Andreas Schwab <schwab@suse.de>
5389
5390 [BZ #17501]
5391 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5392 check for Slow_SSE4_2 feature bit.
5393 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5394 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5395 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5396 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5397
53982014-10-24 Roland McGrath <roland@hack.frob.com>
5399
5400 * configure.ac: Validate compiler version with a empirical test of
5401 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5402 $CC -v output.
5403 * configure: Regenerated.
5404
5405 * inet/htons.c (htons): Prototypify.
5406 * inet/htonl.c (htonl): Likewise.
5407
54082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5409
5410 * string/strncat.c (strncat): Improve performance by using strlen.
5411
54122014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5413
5414 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5415
54162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5417
5418 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5419 Call libc_fetestexcept_aarch64.
5420
54212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5422
5423 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5424 Call libc_feholdexcept_aarch64.
5425
54262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5427
5428 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5429 Call get_rounding_mode.
5430
54312014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5432
5433 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5434 Simplify logic.
5435
54362014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5437
5438 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5439 Simplify logic.
5440
54412014-10-24 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #14138]
5444 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5445 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5446 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5447 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5448 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5449 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5450 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5451 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5452 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5453 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5454 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5455 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5456 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5457 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5458 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5459 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5460 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5461 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5462 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5463 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5464 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5465 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5466 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5468 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5469 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5470 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5471 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5472 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5473 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5474 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5475 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5476 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5477 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5478 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5480 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5482 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5483 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5484 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5485 syscall.
5486 (geteuid): Likewise.
5487 (getgid): Likewise.
5488 (getuid): Likewise.
5489 (getresgid): Likewise.
5490 (getresuid): Likewise.
5491 (getgroups): Likewise.
5492 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5493 (geteuid): Likewise.
5494 (getgid): Likewise.
5495 (getuid): Likewise.
5496 (getresgid): Likewise.
5497 (getresuid): Likewise.
5498 (getgroups): Likewise.
5499 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5500 (geteuid): Likewise.
5501 (getgid): Likewise.
5502 (getuid): Likewise.
5503 (getresgid): Likewise.
5504 (getresuid): Likewise.
5505 (getgroups): Likewise.
5506 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5507 Likewise.
5508 (geteuid): Likewise.
5509 (getgid): Likewise.
5510 (getuid): Likewise.
5511 (getresgid): Likewise.
5512 (getresuid): Likewise.
5513 (getgroups): Likewise.
5514 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5515 (geteuid): Likewise.
5516 (getgid): Likewise.
5517 (getuid): Likewise.
5518 (getresgid): Likewise.
5519 (getresuid): Likewise.
5520 (getgroups): Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5522 Likewise.
5523 (geteuid): Likewise.
5524 (getgid): Likewise.
5525 (getuid): Likewise.
5526 (getgroups): Likewise.
5527
5528 [BZ #14138]
5529 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5530 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5531 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5532 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5533 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5534 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5535 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5536 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5537 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5538 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5539 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5540 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5542 __chown.
5543 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5544 (lchown): Likewise.
5545 (fchown): Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5547 Likewise.
5548 (lchown): Likewise.
5549 (fchown): Likewise.
5550 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5551 (lchown): Likewise.
5552 (fchown): Likewise.
5553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5554 Likewise.
5555 (lchown): Likewise.
5556 (fchown): Likewise.
5557
55582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5559
5560 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5561 Simplify logic.
5562
55632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5564
5565 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5566 Cleanup logic.
5567
55682014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5569
5570 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5571 Remove unused include.
5572
55732014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5574
5575 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5576 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5577 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5578 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5579
55802014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5581 Helge Deller <deller@gmx.de>
5582
5583 [BZ #17508]
5584 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5585 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5586 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5587
55882014-10-23 Joseph Myers <joseph@codesourcery.com>
5589
5590 [BZ #14132]
5591 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5592 Remove macro definition.
5593 (__ashrdi3_v_glibc20): Likewise.
5594 (__lshrdi3_v_glibc20): Likewise.
5595 (__cmpdi2_v_glibc20): Likewise.
5596 (__ucmpdi2_v_glibc20): Likewise.
5597 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5598 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5599 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5600 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5601 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5602 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5603
56042014-10-22 Roland McGrath <roland@hack.frob.com>
5605
5606 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5607 old GNU extension [0] syntax.
5608 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5609 alloca rather than an array member with variable length.
5610 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5611 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5612 (parse_opt): ... here. Likewise use alloca there.
5613 Validate the -i argument before checking for rootness.
5614 (send_shutdown): New function, broken out of ...
5615 (parse_opt): ... here.
5616
56172014-10-22 Roland McGrath <roland@hack.frob.com>
5618
5619 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5620 macro to get at the _rt_local_ro field.
5621 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5622 ([PIC] case) or _dl_hwcap ([!PIC] case).
5623 * sysdeps/arm/setjmp.S: Likewise.
5624
5625 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5626 * sysdeps/arm/configure.ac: New check to define it.
5627 * sysdeps/arm/configure: Regenerated.
5628 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5629 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5630 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5631 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5632 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5633 Use move/movt pair instead of a load.
5634 (LDST_GLOBAL): Macro removed.
5635 (LDR_GLOBAL): New macro replaces it.
5636 (LDR_HIDDEN): New macro.
5637 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5638 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5639
5640 * setjmp/tst-setjmp-static.c: New file.
5641 * setjmp/Makefile (tests): Add it.
5642 (tests-static): New variable.
5643
56442014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5645
5646 [BZ #17485]
5647 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5648
56492014-10-21 Joseph Myers <joseph@codesourcery.com>
5650
5651 [BZ #14132]
5652 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5653
56542014-10-21 Roland McGrath <roland@hack.frob.com>
5655
5656 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5657
56582014-10-20 Roland McGrath <roland@hack.frob.com>
5659
5660 * io/fts.c (dirent_not_directory): New function.
5661 (fts_build): Call it.
5662
56632014-10-20 Roland McGrath <roland@hack.frob.com>
5664
5665 * nptl/version.c (__nptl_main): Use normal __write rather than
5666 INTERNAL_SYSCALL.
5667 (banner): Update copyright years.
5668
5669 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5670 gettimeofday.
5671 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5672 * nptl/pthread_cond_timedwait.c: Likewise.
5673 * nptl/pthread_mutex_timedlock.c: Likewise.
5674 * nptl/sem_timedwait.c: Likewise.
5675
5676 * sysdeps/nptl/bits/libc-lock.h
5677 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5678 (__libc_lock_init_recursive): Return void, not 0.
5679 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5680 (__libc_rwlock_init): Likewise.
5681 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5682
56832014-10-20 Torvald Riegel <triegel@redhat.com>
5684
5685 [BZ #15215]
5686 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5687 (__pthread_once_slow): ... here.
5688 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5689 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5690
56912014-10-20 Torvald Riegel <triegel@redhat.com>
5692
5693 [BZ #15215]
5694 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5695 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5696 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5697 * nptl/pthread_once.c (__pthread_once): Likewise.
5698 Update comments.
5699
57002014-10-20 Joseph Myers <joseph@codesourcery.com>
5701
5702 [BZ #14138]
5703 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5704 name.
5705 (writev): Use __libc_writev as strong name.
5706 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5707 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5708
57092014-10-17 Roland McGrath <roland@hack.frob.com>
5710
5711 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5712
5713 * sysdeps/i386/nptl/tls.h
5714 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5715 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5716 New macros.
5717 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5718 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5719 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5720 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5721 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5722 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5723
5724 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5725 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5726 on [__NR_futex].
5727 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5728 broken out of ...
5729 (__pthread_mutex_init): ... here. Call it.
5730 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5731 Conditionalize PI cases on [__NR_futex].
5732 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5733 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5734 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5735
5736 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5737 conditional on [SIGSETXID].
5738 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5739 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5740 is defined. Likewise for SIGSETXID.
5741 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5742 Conditionalize definitions on [SIGSETXID].
5743 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5744 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5745 unblocking on [SIGCANCEL].
5746
5747 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5748 [__NR_set_robust_list].
5749
57502014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5751
5752 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5753 (do_compare): Likewise.
5754
57552014-10-17 Leonhard Holz <leonhard.holz@web.de>
5756
5757 [BZ #15884]
5758 * string/strcoll_l.c: Don't include stdio.h.
5759 (coll_seq): Remove members idxarr and rulearr.
5760 (get_next_seq_cached): Remove function.
5761 (get_next_seq): Likewise.
5762 (get_next_seq_nocache): Rename to get_next_seq.
5763 (do_compare): Remove function.
5764 (do_compare_nocache): Rename to do_compare.
5765 (STRCOLL): Remove weight and rules cache.
5766
57672014-10-16 Roland McGrath <roland@hack.frob.com>
5768
5769 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5770 * sysdeps/arm/sfp-machine.h: ... to here.
5771 * sysdeps/arm/Implies: Remove arm/soft-fp.
5772
57732014-10-14 Joseph Myers <joseph@codesourcery.com>
5774
5775 * conform/data/sys/utsname.h-data (*_t): Allow.
5776 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5777 [POSIX] (WEXITED): Do not expect constant.
5778 [POSIX] (WSTOPPED): Likewise.
5779 [POSIX] (WNOHANG): Likewise.
5780 [POSIX] (WNOWAIT): Likewise.
5781 [POSIX] (siginfo_t): Do not expect type or elements.
5782 [POSIX] (pid_t): Do not expect type.
5783 [POSIX] (signal.h): Do not allow header.
5784 [POSIX] (sys/resource.h): Likewise.
5785 [POSIX] (si_*): Do not allow pattern.
5786 [POSIX] (W*): Likewise.
5787 [POSIX] (P_*): Likewise.
5788 [POSIX] (BUS_*): Likewise.
5789 [POSIX] (CLD_*): Likewise.
5790 [POSIX] (FPE_*): Likewise.
5791 [POSIX] (ILL_*): Likewise.
5792 [POSIX] (POLL_*): Likewise.
5793 [POSIX] (SEGV_*): Likewise.
5794 [POSIX] (SI_*): Likewise.
5795 [POSIX] (TRAP_*): Likewise.
5796 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5797 variable.
5798
57992014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5800
5801 [BZ #12926]
5802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5803 infinite loop when __recvmsg returns 0.
5804
58052014-10-10 Joseph Myers <joseph@codesourcery.com>
5806
5807 * CANCEL-FCT-WAIVE: Remove file.
5808 * CANCEL-FILE-WAIVE: Likewise.
5809
5810 [BZ #14132]
5811 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5812 instead of INTVARDEF.
5813 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5814 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5815 rtld_hidden_data_def instead of INTVARDEF.
5816 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5817 * elf/dl-deps.c (expand_dst): Likewise.
5818 * elf/dl-load.c (_dl_dst_count): Likewise.
5819 (_dl_dst_substitute): Likewise.
5820 (decompose_rpath): Likewise.
5821 (_dl_init_paths): Likewise.
5822 (open_path): Likewise.
5823 (_dl_map_object): Likewise.
5824 * elf/rtld.c (dl_main): Likewise.
5825 (process_dl_audit): Likewise.
5826 (process_envvars): Likewise.
5827 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5828 Remove declaration.
5829 (__libc_enable_secure): Use rtld_hidden_proto.
5830
58312014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5832
5833 * elf/dl-load.c
5834 (add_path): New function broken out of _dl_rtld_di_serinfo.
5835 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5836
58372014-10-09 Joseph Myers <joseph@codesourcery.com>
5838
5839 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5840 parentheses around macro arguments.
5841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5842 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5843 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5844 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5845 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5846 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5847 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5848 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5849 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5850 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5851 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5852 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5853 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5854 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5855 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5856 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5857 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5858 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5859 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5862 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5863 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5864 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5866 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5868 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5869 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5870 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5871 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5872 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5873 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5874 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5875 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5876 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5877 Likewise.
5878 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5879 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5880 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5881 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5882 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5883 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5884 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5885 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5886 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5887 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5888 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5889 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5890 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5891 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5892 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5893 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5894 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5895 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5896 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5897 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5898 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5899 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5900 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5901 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5902 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5903 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5904 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5905 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5906 (_FP_FRAC_SRS_1): Likewise.
5907 (_FP_FRAC_CLZ_1): Likewise.
5908 (_FP_MUL_MEAT_1_imm): Likewise.
5909 (_FP_MUL_MEAT_1_wide): Likewise.
5910 (_FP_MUL_MEAT_1_hard): Likewise.
5911 (_FP_SQRT_MEAT_1): Likewise.
5912 (_FP_FRAC_ASSEMBLE_1): Likewise.
5913 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5914 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5915 (__FP_CLZ_2): Likewise.
5916 (_FP_MUL_MEAT_2_wide): Likewise.
5917 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5918 (_FP_MUL_MEAT_2_gmp): Likewise.
5919 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5920 (_FP_SQRT_MEAT_2): Likewise.
5921 (_FP_FRAC_ASSEMBLE_2): Likewise.
5922 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5923 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5924 (_FP_FRAC_CLZ_4): Likewise.
5925 (_FP_MUL_MEAT_4_wide): Likewise.
5926 (_FP_MUL_MEAT_4_gmp): Likewise.
5927 (_FP_SQRT_MEAT_4): Likewise.
5928 (_FP_FRAC_ASSEMBLE_4): Likewise.
5929 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5930 * soft-fp/op-common.h (_FP_CMP): Likewise.
5931 (_FP_CMP_EQ): Likewise.
5932 (_FP_CMP_UNORD): Likewise.
5933 (_FP_TO_INT): Likewise.
5934 (_FP_FROM_INT): Likewise.
5935 [!__FP_CLZ] (__FP_CLZ): Likewise.
5936 (_FP_DIV_HELP_imm): Likewise.
5937 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5938 Likewise.
5939 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5940 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5941 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5942 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5943 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5944 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5945 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5946 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5947 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5948 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5949 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5950 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5951 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5952 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5953 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5954 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5955 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5956 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5957 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5958 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5959 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5960 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5962 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5963 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5964 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5966 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5967 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5968 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5969 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5970 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5971 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5972 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5973 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5974 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5975 (FP_UNPACK_RAW_SP): Likewise.
5976 (FP_PACK_RAW_S): Likewise.
5977 (FP_PACK_RAW_SP): Likewise.
5978 (FP_UNPACK_S): Likewise.
5979 (FP_UNPACK_SP): Likewise.
5980 (FP_UNPACK_SEMIRAW_S): Likewise.
5981 (FP_UNPACK_SEMIRAW_SP): Likewise.
5982 (FP_PACK_S): Likewise.
5983 (FP_PACK_SP): Likewise.
5984 (FP_PACK_SEMIRAW_S): Likewise.
5985 (FP_PACK_SEMIRAW_SP): Likewise.
5986 (_FP_SQRT_MEAT_S): Likewise.
5987 (FP_CMP_S): Likewise.
5988 (FP_CMP_EQ_S): Likewise.
5989 (FP_CMP_UNORD_S): Likewise.
5990 (FP_TO_INT_S): Likewise.
5991 (FP_FROM_INT_S): Likewise.
5992
5993 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5994
5995 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5996 (FP_EX_INVALID_IMZ): Likewise.
5997 (FP_EX_INVALID_IMZ_FMA): Likewise.
5998 (FP_EX_INVALID_ISI): Likewise.
5999 (FP_EX_INVALID_ZDZ): Likewise.
6000 (FP_EX_INVALID_IDI): Likewise.
6001 (FP_EX_INVALID_SQRT): Likewise.
6002 (FP_EX_INVALID_CVI): Likewise.
6003 (FP_EX_INVALID_VC): Likewise.
6004 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6005 "invalid" exceptions.
6006 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6007 (_FP_ADD_INTERNAL): Likewise.
6008 (_FP_MUL): Likewise.
6009 (_FP_FMA): Likewise.
6010 (_FP_DIV): Likewise.
6011 (_FP_CMP_CHECK_NAN): Likewise.
6012 (_FP_SQRT): Likewise.
6013 (_FP_TO_INT): Likewise.
6014 (FP_EXTEND): Likewise.
6015
60162014-10-09 Allan McRae <allan@archlinux.org>
6017
6018 * po/fr.po: Update French translation from translation project.
6019
60202014-10-09 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #14132]
6023 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6024 of INTDEF.
6025 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6026 (__cxa_atexit): Use libc_hidden_proto.
6027 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6028
6029 [BZ #14132]
6030 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6031 declaration.
6032 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6033 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6034 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6035 [!_ISOMAC] (__iswctype_internal): Likewise.
6036 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6037 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6038 alias.
6039 (fcntl): Remove __fcntl_internal alias.
6040 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6041 __connect_internal alias.
6042 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6043 Likewise.
6044
6045 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6046 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6047 FP_DENORM_ZERO.
6048 (_FP_CHECK_FLUSH_ZERO): New macro.
6049 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6050 (_FP_CMP): Likewise.
6051 (_FP_CMP_EQ): Likewise.
6052 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6053 FP_DENORM_ZERO.
6054 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6055 (FP_TRUNC): Likewise.
6056
6057 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6058 treated as invalid conversion, not as normal exponent.
6059
6060 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6061 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6062 (_FP_CMP_EQ): Likewise.
6063 (_FP_CMP_UNORD): Likewise.
6064 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6065 (FP_CMP_EQ_D): Likewise.
6066 (FP_CMP_UNORD_D): Likewise.
6067 * soft-fp/extended.h (FP_CMP_E): Likewise.
6068 (FP_CMP_EQ_E): Likewise.
6069 (FP_CMP_UNORD_E): Likewise.
6070 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6071 (FP_CMP_EQ_Q): Likewise.
6072 (FP_CMP_UNORD_Q): Likewise.
6073 * soft-fp/single.h (FP_CMP_S): Likewise.
6074 (FP_CMP_EQ_S): Likewise.
6075 (FP_CMP_UNORD_S): Likewise.
6076 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6077 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6078 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6079 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6080 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6081 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6082 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6083 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6084 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6085 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6086 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6087 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6088 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6089 to FP_CMP_Q.
6090 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6091 FP_CMP_Q.
6092 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6093 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6094 FP_CMP_EQ_Q.
6095 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6096 FP_CMP_Q.
6097 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6098 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6099 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6100 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6101 FP_CMP_EQ_Q.
6102 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6103 FP_CMP_Q.
6104 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6105 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6106 FP_CMP_EQ_Q.
6107 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6108 FP_CMP_Q.
6109 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6110 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6111 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6112 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6113 FP_CMP_EQ_Q.
6114
6115 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6116 a subnormal result, set the underflow exception if trapping on
6117 underflow is enabled.
6118 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6119 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6120 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6121 redefine to 0.
6122 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6123 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6124 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6125 * soft-fp/extendxftf2.c (__extendxftf2): Use
6126 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6127
6128 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6129 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6130 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6131 FP_HANDLE_EXCEPTIONS.
6132 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6133 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6134 FP_HANDLE_EXCEPTIONS.
6135 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6136 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6137 FP_HANDLE_EXCEPTIONS.
6138 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6139 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6140 FP_HANDLE_EXCEPTIONS.
6141
61422014-10-08 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #14132]
6145 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6146 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6147 use INTUSE.
6148 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6149 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6150 Remove alias.
6151 (__adjtimex): Define using libc_hidden_ver.
6152 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6153 Remove declaration.
6154 (ntp_gettime): Call __adjtimex directly.
6155 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6156 Remove declaration.
6157 (ntp_gettimex): Call __adjtimex directly.
6158 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6159 __adjtimex_internal alias.
6160
61612014-10-08 Roland McGrath <roland@hack.frob.com>
6162
6163 [BZ #17460]
6164 * nscd/nscd.c (more_help): Rewrite list of tables collection
6165 using xstrdup and asprintf.
6166
6167 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6168
61692014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6170 Roland McGrath <roland@hack.frob.com>
6171
6172 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6173 (do_lookup_unique): ... local function 'enter' here; update callers.
6174
61752014-10-06 Joseph Myers <joseph@codesourcery.com>
6176
6177 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6178 compat_symbol calls on [SHARED].
6179 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6180 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6181 Remove.
6182 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6183 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6184 (oldsetrlimit): Remove.
6185 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6187 (lchown): New syscall entry.
6188 (oldsetrlimit): Remove.
6189 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6190 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6191 (oldsetrlimit): Remove.
6192 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6193
6194 [BZ #14138]
6195 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6196 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6197 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6198 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6200 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6201 (fchown): Likewise.
6202 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6203 (fchown): Likewise.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6205 Likewise.
6206
62072014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208
6209 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6210 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6211 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6212 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6213 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6214 Likewise.
6215 (__old_sem_post): Likewise.
6216
62172014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6218
6219 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6220 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6221 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6222 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6223 Use INLINE_VSYSCALL macro.
6224 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6225 __vdso_clock_gettime.
6226 * sysdeps/unix/sysv/linux/tile/init-first.c
6227 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6228 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6229 __vdso_clock_gettime.
6230
6231 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6232 to set up frame more cleanly.
6233
6234 * sysdeps/tile/memcmp.c: New file.
6235
6236 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6237
6238 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6239 * sysdeps/tile/tilegx/strcasestr.c: New file.
6240 * sysdeps/tile/tilegx/strnlen.c: New file.
6241 * sysdeps/tile/tilegx/strstr.c: New file.
6242
6243 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6244
62452014-10-06 Arjun Shankar <arjun.is@lostca.se>
6246
6247 * nptl/tst-setuid3.c: Write errors to stdout.
6248
62492014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6250
6251 * elf/dl-deps.c
6252 (preload): New functions broken out of _dl_map_object_deps.
6253 (_dl_map_object_deps): Remove a nested function. Update call sites.
6254
62552014-10-01 Joseph Myers <joseph@codesourcery.com>
6256
6257 [BZ #14138]
6258 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6259 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6260
62612014-10-01 Steve Ellcey <sellcey@mips.com>
6262
6263 * sysdeps/mips/strcmp.S: New.
6264
62652014-09-30 Joseph Myers <joseph@codesourcery.com>
6266
6267 [BZ #14138]
6268 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6269 (linkat): Likewise.
6270 (mkdirat): Likewise.
6271 (readlinkat): Likewise.
6272 (renameat): Likewise.
6273 (symlinkat): Likewise.
6274 (unlinkat): Likewise.
6275 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6276 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6277 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6278 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6279 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6280 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6281 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6282
62832014-09-30 Will Newton <will.newton@linaro.org>
6284
6285 * math/math.h: Define long double math functions if
6286 _LIBC_TEST is defined.
6287 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6288
6289 * localedata/Makefile: Move assignment to tests-special
6290 into an ifdef testing run-built-tests.
6291 * timezone/Makefile: Likewise.
6292
62932014-09-29 Joseph Myers <joseph@codesourcery.com>
6294
6295 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6296 with $(BASH) not $(SHELL).
6297
62982014-09-29 Carlos O'Donell <carlos@redhat.com>
6299 Matthew LeGendre <legendre1@llnl.gov>
6300
6301 [BZ #17411]
6302 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6303 l_reloc_result.
6304
63052014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6306
6307 * stdio-common/printf_fp.c
6308 (hack_digit): New function, broken out of ...
6309 (__printf_fp): ... local function here. Update call sites.
6310 hack_digit now takes an additional parameter that is a pointer
6311 to a struct of the referenced locals. Those locals moved inside
6312 the struct and references updated.
6313
63142014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 * aclocal.m4: Require autoconf 2.69.
6317 * configure: Regenerated.
6318 * sysdeps/aarch64/configure: Likewise.
6319 * sysdeps/alpha/configure: Likewise.
6320 * sysdeps/arm/armv7/configure: Likewise.
6321 * sysdeps/arm/configure: Likewise.
6322 * sysdeps/ia64/configure: Likewise.
6323 * sysdeps/mach/configure: Likewise.
6324 * sysdeps/mips/configure: Likewise.
6325 * sysdeps/s390/configure: Likewise.
6326 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6328
6329 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6330 file.
6331 * sysdeps/ia64/configure.ac: Likewise.
6332
63332014-09-26 Joseph Myers <joseph@codesourcery.com>
6334
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6336 specify symbol version for ld.so. Do not include entry for
6337 libpthread.
6338 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6339 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6340 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6341
6342 [BZ #14171]
6343 * Makeconfig [$(build-shared) = yes]
6344 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6345 makefiles.
6346 [$(build-shared) = yes && $(soversions.mk-done) = t]
6347 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6348 [$(build-shared) = yes && $(soversions.mk-done) = t]
6349 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6350 to Makerules.
6351 [$(build-shared) = yes && $(soversions.mk-done) = t]
6352 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6353 here.
6354 [$(build-shared) = yes && $(soversions.mk-done) = t]
6355 (common-generated): Don't append gnu/lib-names.h and
6356 gnu/lib-names.stmp here.
6357 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6358 (lib-names-h-abi): New variable.
6359 [$(build-shared) = yes && $(soversions.mk-done) = t]
6360 (lib-names-stmp-abi): Likewise.
6361 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6362 abi-variants] (before-compile): Append
6363 $(common-objpfx)$(lib-names-h-abi).
6364 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6365 abi-variants] (common-generated): Append gnu/lib-names.h.
6366 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6367 abi-variants] (install-others-nosubdir): Depend on
6368 $(inst_includedir)/$(lib-names-h-abi).
6369 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6370 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6371 [$(build-shared) = yes && $(soversions.mk-done) = t]
6372 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6373 [$(build-shared) = yes && $(soversions.mk-done) = t]
6374 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6375 [$(build-shared) = yes && $(soversions.mk-done) = t]
6376 (common-generated): Append $(lib-names-h-abi) and
6377 $(lib-names-stmp-abi).
6378 * scripts/lib-names.awk: Do not handle multi being set.
6379 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6380 Remove variable.
6381 (abi-lp64_be-ld-soname): Likewise.
6382 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6383 Likewise.
6384 (abi-hard-ld-soname): Likewise.
6385 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6386 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6387 Remove variable.
6388 (abi-o32_hard-ld-soname): Likewise.
6389 (abi-o32_soft_2008-ld-soname): Likewise.
6390 (abi-o32_hard_2008-ld-soname): Likewise.
6391 (abi-n32_soft-ld-soname): Likewise.
6392 (abi-n32_hard-ld-soname): Likewise.
6393 (abi-n32_soft_2008-ld-soname): Likewise.
6394 (abi-n32_hard_2008-ld-soname): Likewise.
6395 (abi-n64_soft-ld-soname): Likewise.
6396 (abi-n64_hard-ld-soname): Likewise.
6397 (abi-n64_soft_2008-ld-soname): Likewise.
6398 (abi-n64_hard_2008-ld-soname): Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6400 Likewise.
6401 (abi-64-v2-ld-soname): Likewise.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6403 ld.so entries.
6404 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6405 variable.
6406 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6407 entry.
6408 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6409 variable.
6410 (abi-64-ld-soname): Likewise.
6411 (abi-x32-ld-soname): Likewise.
6412 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6413 entry.
6414 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6415
64162014-09-23 Joseph Myers <joseph@codesourcery.com>
6417
6418 [BZ #14138]
6419 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6420 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6421 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6422 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6424 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6426 syscall entry for GLIBC_2.2 symbol version.
6427 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6430 (setrlimit): Likewise.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6432 Likewise.
6433
64342014-09-23 Will Newton <will.newton@linaro.org>
6435
6436 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6437 _LINUX_ARM_SYSDEP_H include guard too.
6438 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6439 define.
6440
64412014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6442
6443 * sysdeps/unix/sysv/linux/eventfd.c:
6444 Make first argument unsigned.
6445 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6446 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6447
64482014-09-20 Ondřej Bílka <neleai@seznam.cz>
6449
6450 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6451 * socket/sys/socket.h: Likewise
6452 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6453
64542014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6455
6456 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6457
64582014-09-17 Arjun Shankar <arjun.is@lostca.se>
6459
6460 * time/tst-ftime.c: New test.
6461 * time/Makefile (tests): Add tst-ftime.
6462
64632014-09-17 Joseph Myers <joseph@codesourcery.com>
6464
6465 * soft-fp/extended.h: Fix comment formatting.
6466 * soft-fp/op-1.h: Likewise.
6467 * soft-fp/op-2.h: Likewise.
6468 * soft-fp/op-4.h: Likewise.
6469 * soft-fp/op-8.h: Likewise.
6470 * soft-fp/op-common.h: Likewise.
6471 * soft-fp/soft-fp.h: Likewise.
6472
6473 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6474
64752014-09-16 Joseph Myers <joseph@codesourcery.com>
6476
6477 [BZ #6652]
6478 * Makeconfig (soversions-default-setname): Remove variable.
6479 ($(common-objpfx)soversions.i): Don't pass default_setname to
6480 soversions.awk.
6481 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6482 oldest_abi to abi-versions.awk.
6483 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6484 * config.make.in (oldest-abi): Remove variable.
6485 * configure.ac (--enable-oldest-abi): Remove configure option.
6486 * configure: Regenerated.
6487 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6488 text.
6489 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6490 * scripts/soversions.awk: Do not handle default_setname variable.
6491 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6492 variable.
6493 * sysdeps/mach/hurd/configure: Regenerated.
6494 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6495 variable.
6496 * sysdeps/unix/sysv/linux/configure: Regenerated.
6497
64982014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6499
6500 * elf/Makefile (CFLAGS-interp.c): Remove.
6501 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6502 path string.
6503 * elf/interp.c: Include generated runtime-linker.h
6504
6505 * Makerules (lib%.so): Don't include $(+interp) in
6506 prerequisites.
6507 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6508 * dlfcn/eval.c: Remove file.
6509
6510 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6511 macros.
6512
6513 [BZ #17266]
6514 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6515 4.2 and newer.
6516
6517 [BZ #17370]
6518 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6519
65202014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6521 Jakub Jelinek <jakub@redhat.com>
6522
6523 [BZ #17266]
6524 * libio/stdio.h: Check definition of __fortify_function
6525 instead of __extern_always_inline to include bits/stdio2.h.
6526 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6527 check if __extern_always_inline is defined.
6528 [__USE_MISC || __USE_XOPEN]: Likewise.
6529 [__USE_ISOC99] Likewise.
6530 * misc/sys/cdefs.h (__fortify_function): Define only if
6531 __extern_always_inline is defined.
6532 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6533 __extern_always_inline and __extern_inline only for g++-4.3
6534 and newer or a compatible gcc.
6535
65362014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6537
6538 [BZ #17371]
6539 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6540 last change to handle zero prefix length.
6541
65422014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
6544 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6545 _SC_REGEX_VERSION.
6546
6547 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6548 _POSIX_RAW_SOCKETS.
6549
65502014-09-13 Allan McRae <allan@archlinux.org>
6551
6552 * po/ru.po: Update Russian translation from translation project.
6553
65542014-09-12 Roland McGrath <roland@hack.frob.com>
6555
6556 * locale/programs/locale.c (show_locale_vars): Inline local function
6557 into its sole call site. Clean up some style nits.
6558 (print_item): New function, broken out of ...
6559 (show_info): ... local function here. Clean up style nits.
6560
6561 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6562 out of ...
6563 (set_class_defaults): ... local function set_default here.
6564 Define set_default as a macro locally to pass constant parameters.
6565 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6566 rather than a shared local.
6567
6568 * stdlib/rpmatch.c (try): New function, broken out of ...
6569 (rpmatch): ... local function here. Also, prototypify definition.
6570
65712014-09-12 Joseph Myers <joseph@codesourcery.com>
6572
6573 * scripts/soversions.awk: Do not handle configuration names.
6574 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6575 vendor and os variables to soversions.awk.
6576 * configure.ac: Do not modify gnu-* host_os.
6577 * configure: Regenerated
6578 * shlib-versions: Remove first column with configuration names.
6579 * nptl/shlib-versions: Likewise.
6580 * nptl_db/shlib-versions: Likewise.
6581 * sysdeps/hppa/shlib-versions: Likewise.
6582 * sysdeps/m68k/shlib-versions: Likewise.
6583 * sysdeps/mach/hurd/shlib-versions: Likewise.
6584 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6585 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6586 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6587 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6588 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6589 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6590 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6591 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6593 Likewise.
6594 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6595 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6596 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6597 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6599 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6600 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6601 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6602
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6604 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6606 Regenerated.
6607 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6609 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6610
6611 * shlib-versions: Remove OS-specific entries. Moved to files in
6612 sysdeps.
6613 * sysdeps/mach/hurd/shlib-versions: New file.
6614 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6615
6616 * nptl/shlib-versions: Remove architecture-specific entries.
6617 Moved to files in sysdeps.
6618 * shlib-versions: Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6620 file.
6621 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6622 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6623 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6624 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6625
6626 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6627 (UDP_NO_CHECK6_RX): Likewise.
6628
66292014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6630
6631 * sysdeps/posix/sysconf.c (__sysconf): Spell
6632 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6633
66342014-08-12 Florian Weimer <fweimer@redhat.com>
6635
6636 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6637 loading.
6638 * iconv/Versions (__gconv_transliterate): Export for use from
6639 gconv modules.
6640 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6641 (struct __gconv_trans_data, __gconv_trans_fct,
6642 __gconv_trans_context_fct, __gconv_trans_query_fct,
6643 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6644 definitions.
6645 (struct __gconv_step_data): Remove __trans member.
6646 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6647 longer hidden. Remove unused trans_data argument.
6648 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6649 (__gconv_translit_find): Remove declaration.
6650 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6651 prototype.
6652 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6653 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6654 trans_data argument. Add hidden definition.
6655 (__gconv_translit_find): Remove.
6656 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6657 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6658 * iconv/skeleton.c: Remove transliteration initialization.
6659 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6660 __gconv_step_data initialization.
6661 * libio/iofwide.c (__libio_translit_): Remove.
6662 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6663 * wcsmbs/btowc.c (__btowc): Likewise.
6664 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6665 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6666 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6667 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6668 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6669 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6670 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6671 * wcsmbs/wctob.c (wctob): Likewise.
6672
66732014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6674
6675 [BZ #16194]
6676 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6677 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6678 register usage.
6679 * sysdeps/x86/Makefile: Adjust.
6680
66812014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6682 Roland McGrath <roland@hack.frob.com>
6683
6684 * locale/weight.h: Add include guard.
6685 (findidx): Make static rather than auto; take new parameters
6686 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6687 * locale/weightwc.h: Likewise.
6688 * posix/fnmatch_loop.c
6689 (FCT): Change type of EXTRA from int32_t to wint_t.
6690 Don't include either header inside the function.
6691 Call FINDIDX rather than findidx, and pass new arguments.
6692 #undef FINDIDX at the end of the file.
6693 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6694 FINDIDX before including fnmatch_loop.c for the non-wide version.
6695 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6696 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6697 for the wide version.
6698 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6699 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6700 Pass new arguments to findidx.
6701 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6702 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6703 Don't #include it inside the function. Pass new arguments to findidx.
6704 * posix/regex_internal.h
6705 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6706 (re_string_elem_size_at): Don't #include it inside the function.
6707 Pass new arguments to findidx.
6708 * string/strcoll_l.c: #include WEIGHT_H at top level.
6709 (get_next_seq): Don't #include it inside the function.
6710 Pass new arguments to findidx.
6711 (get_next_seq_nocache): Likewise.
6712 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6713 (STRXFRM): Don't #include it inside the function.
6714 Pass new arguments to findidx.
6715
67162014-09-11 Florian Weimer <fweimer@redhat.com>
6717
6718 [BZ #17344]
6719 * malloc/malloc.c (unlink): Turn asserts into a call to
6720 malloc_printerr.
6721
67222014-09-11 Tim Lammens <tim.lammens@gmail.com>
6723
6724 [BZ #17370]
6725 * libio/wfileops (do_ftell_wide): Free OUT.
6726
67272014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6728
6729 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6730
67312014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6732
6733 [BZ #17363]
6734 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6735 group if the current group is empty.
6736
67372014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738
6739 * benchtests/bench-memset.c (test_main): Add more test from size
6740 from 32 to 512 bytes.
6741 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6742 Add POWER8 memset object.
6743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6744 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6745 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6746 implementation.
6747 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6748 Likewise.
6749 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6750 multiarch POWER8 memset optimization.
6751 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6752 POWER8 memset optimization.
6753
6754 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6755 Remove bzero multiarch objects.
6756 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6757 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6758 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6759 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6760 Remove define.
6761 [__bzero]: Redefine to specific name.
6762 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6764 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6765 define.
6766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6768
67692014-09-10 Florian Weimer <fweimer@redhat.com>
6770
6771 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6772 warnings into errors.
6773
6774 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6775 __cxa_thread_atexit_impl prototype.
6776
67772014-09-09 Steve Ellcey <sellcey@mips.com>
6778
6779 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6780 Fix capitalization of error message.
6781
67822014-09-09 Steve Ellcey <sellcey@mips.com>
6783
6784 * sysdeps/mips/preconfigure: Modify ABI tests.
6785
67862014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6787
6788 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6789
67902014-09-07 Roland McGrath <roland@hack.frob.com>
6791 Carlos O'Donell <carlos@systemhalted.org>
6792
6793 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6794 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6795 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6796 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6797 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6798 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6799 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6800 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6801 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6802 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6803 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6804 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6805 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6806 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6807 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6808 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6809 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6810 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6811 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6812 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6813 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6814 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6815 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6816 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6817 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6818 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6819 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6820 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6821 Deconditionalize the code that was previously under [RESET_PID].
6822 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6823 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6824 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6825 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6826 include sysdep.h.
6827
68282014-09-08 Allan McRae <allan@archlinux.org>
6829
6830 * version.h (RELEASE): Set to "development".
6831 (VERSION): Set to "2.20.90"
6832
68332014-09-07 Allan McRae <allan@archlinux.org
6834
6835 * version.h (RELEASE): Set to "stable".
6836 (VERSION): Set to "2.20"
6837 * include/features.h (__GLIBC_MINOR__): Set to 20.
6838
6839 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6840 Liebler.
6841
6842 * po/ko.po: Update Korean translation from translation project.
6843
68442014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6845
6846 [BZ #17354]
6847 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6848 macro for handling signed relocations.
6849
68502014-09-03 Florian Weimer <fweimer@redhat.com>
6851
6852 [BZ #17325]
6853 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6854 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6855 assert.
6856 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6857 * iconvdata/ibm935.c (BODY): Likewise.
6858 * iconvdata/ibm937.c (BODY): Likewise.
6859 * iconvdata/ibm939.c (BODY): Likewise.
6860 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6861 assert.
6862 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6863 script.
6864 * iconvdata/run-iconv-test.sh: New test loop for checking for
6865 decoder crashers.
6866
68672014-09-02 Khem Raj <raj.khem@gmail.com>
6868
6869 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6870 libm_hidden_ver.
6871
68722014-09-01 Allan McRae <allan@archlinux.org>
6873
6874 * po/eo.po: Update Esperanto translation from translation project.
6875
6876 * po/ca.po: Update Catalan translation from translation project.
6877
68782014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6879
6880 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6881 __proc_dostop call.
6882
68832014-08-27 Mark Wielaard <mjw@redhat.com>
6884
6885 [BZ #17319]
6886 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6887 to call set_thread_area instead of hand written asm.
6888 (__NR_set_thread_area): Removed define.
6889 (TLS_FLAG_WRITABLE): Likewise.
6890 (__ASSUME_SET_THREAD_AREA): Remove check.
6891 (TLS_EBX_ARG): Remove define.
6892 (TLS_LOAD_EBX): Likewise.
6893
68942014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6895
6896 Simplify atomicity of socket creation in bind.
6897
6898 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6899 looking up the name after linking the file.
6900
69012014-08-27 Allan McRae <allan@archlinux.org>
6902
6903 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6904
69052014-08-26 Florian Weimer <fweimer@redhat.com>
6906
6907 [BZ #17187]
6908 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6909 trans_compare, open_translit, __gconv_translit_find):
6910 Remove module loading code.
6911
69122014-08-26 Allan McRae <allan@archlinux.org>
6913
6914 * po/vi.po: Update Vietnamese translation from translation project.
6915
6916 * po/uk.po: Update Ukrainian translation from translation project.
6917
6918 * po/fr.po: Update French translation from translation project.
6919
6920 * po/ru.po: Update Russian translation from translation project.
6921
6922 * po/pl.po: Update Polish translation from translation project.
6923
6924 * po/cs.po: Update Czech translation from translation project.
6925
6926 * po/de.po: Update German translation from translation project.
6927
6928 * po/bg.po: Update Bulgarian translation from translation project.
6929
6930 * po/sv.po: Update Sweedish translation from translation project.
6931
6932 * po/nl.po: Update Dutch translation from translation project.
6933
6934 * po/es.po: Update Spanish translation from translation project.
6935
69362014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6937
6938 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6939
6940 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6941 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6942 (CPPFLAGS-iconvconfig): Likewise.
6943 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6944
6945 * include/libc-symbols.h: Remove unnecessary check for
6946 NOT_IN_libc.
6947 * nptl/pthreadP.h: Likewise.
6948 * sysdeps/aarch64/setjmp.S: Likewise.
6949 * sysdeps/alpha/setjmp.S: Likewise.
6950 * sysdeps/arm/sysdep.h: Likewise.
6951 * sysdeps/i386/setjmp.S: Likewise.
6952 * sysdeps/m68k/setjmp.c: Likewise.
6953 * sysdeps/posix/getcwd.c: Likewise.
6954 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6955 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6956 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6957 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6958 * sysdeps/sh/sh3/setjmp.S: Likewise.
6959 * sysdeps/sh/sh4/setjmp.S: Likewise.
6960 * sysdeps/unix/alpha/sysdep.h: Likewise.
6961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6963 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6964 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6967 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6968 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6969 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6972 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6974 * sysdeps/x86_64/setjmp.S: Likewise.
6975
69762014-08-13 Joseph Myers <joseph@codesourcery.com>
6977
6978 [BZ #17263]
6979 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6980 <stdint.h>.
6981 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6982 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6983
69842014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6985
6986 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6987
6988 [BZ #17262]
6989 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6990 and __x86_64__ when disabling x87 inline functions.
6991
69922014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6993
6994 [BZ #17259]
6995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6996 asm statement with __cpuid_count.
6997
69982014-08-12 Mike Frysinger <vapier@gentoo.org>
6999
7000 * configure.ac: Change __ehdr_start code to dereference the struct.
7001 Run readelf on the output to look for relocations.
7002 * configure: Regenerated.
7003
70042014-08-12 Joseph Myers <joseph@codesourcery.com>
7005
7006 [BZ #17261]
7007 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7008 value to 0.
7009 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7010
70112014-08-12 Roland McGrath <roland@hack.frob.com>
7012
7013 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7014
70152014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7016
7017 [BZ #16892]
7018 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7019 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7020
70212014-08-12 Sean Anderson <seanga2@gmail.com>
7022
7023 * malloc/malloc.c: Fix typo in comment.
7024
70252014-08-09 Allan McRae <allan@archlinux.org>
7026
7027 * Regenerate libc.po.
7028
70292014-08-08 Mike Frysinger <vapier@gentoo.org>
7030
7031 * intl/tst-gettext2.sh: Check every lang file for creation.
7032
70332014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7034
7035 * sysdeps/aarch64/fpu/math_private.h
7036 (libc_feholdsetround_noex_aarch64_ctx): New function.
7037
70382014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7039
7040 * sysdeps/arm/armv6/strcpy.S (strcpy):
7041 Fix performance issue in misaligned cases.
7042
70432014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044
7045 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7046 Move definition from termios.h.
7047 (struct termio): Likewise.
7048 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7049 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7050 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7051 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7052 Likewise.
7053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7054 Move definition to ioctl-types.h
7055 (struct termio): Likewise.
7056 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7057 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7058 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7059 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7060 Likewise.
7061
70622014-08-05 Richard Henderson <rth@redhat.com>
7063
7064 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7065 exceptions.
7066 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7067 Add fraiseexcpt.
7068 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7069 Use __feraiseexcept.
7070 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7071 Protect libm symbols with IS_IN_libm.
7072
7073 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7074
70752014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7076
7077 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7078
70792014-08-04 Will Newton <will.newton@linaro.org>
7080
7081 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7082 file.
7083
70842014-08-04 Mike Frysinger <vapier@gentoo.org>
7085
7086 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7087 variants for each function.
7088
70892014-08-04 Roland McGrath <roland@hack.frob.com>
7090
7091 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7092 appended ...
7093 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7094 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7095 appended ...
7096 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7097 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7098 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7099 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7100 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7101 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7102 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7103 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7104 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7105 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7106 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7107 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7111 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7112 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7113 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7114 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7116 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7117 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7120 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7121 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7122 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7123 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7124 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7126 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7132 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7133 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7134 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7135 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7136 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7137 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7138 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7139 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7140 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7141 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7142 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7143 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7144 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7145 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7146 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7147 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7148 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7149 Update #include.
7150 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7151 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7152
71532014-08-04 Roland McGrath <roland@hack.frob.com>
7154
7155 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7156 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7157 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7158 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7159 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7160 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7161
71622014-08-04 Roland McGrath <roland@hack.frob.com>
7163
7164 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7165 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7166 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7167 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7168
71692014-08-04 Roland McGrath <roland@hack.frob.com>
7170
7171 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7172 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7173 (__libc_vfork): Define function under this name.
7174 (__vfork): Define as an alias.
7175 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7176 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7177
71782014-08-04 Roland McGrath <roland@hack.frob.com>
7179
7180 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7181 that was previously under [RESET_PID].
7182 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7183
71842014-08-04 Andreas Schwab <schwab@suse.de>
7185
7186 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7187
71882014-08-03 Mike Frysinger <vapier@gentoo.org>
7189
7190 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7191 (main): Likewise.
7192
71932014-08-01 Roland McGrath <roland@hack.frob.com>
7194
7195 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7196
71972014-08-01 Richard Henderon <rth@redhat.com>
7198
7199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7200 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7201 typo in exact zero test.
7202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7205
72062014-08-01 Roland McGrath <roland@hack.frob.com>
7207
7208 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7209 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7210 * sysdeps/arm/sysdep.h: ... here.
7211 [!__ASSEMBLER__]: Include <stdint.h>.
7212
72132014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7214
7215 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7216 (HAVE_WCTYPE_H): Likewise.
7217 (HAVE_ISWCTYPE): Likewise.
7218 (ENABLE_NLS): Likewise.
7219 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7220 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7221
7222 * posix/regex_internal.c: Check if DEBUG is defined and is
7223 set.
7224
7225 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7226 (HAVE_MBSRTOWCS): Likewise.
7227 * posix/fnmatch.c: Include string.h unconditionally.
7228
72292014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7230
7231 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7232 reversal.
7233
72342014-07-31 Roland McGrath <roland@hack.frob.com>
7235
7236 * sysdeps/generic/safe-fatal.h: New file.
7237 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7238 * nptl/forward.c: Include it.
7239 (__pthread_unwind): Use __safe_fatal as default action, rather
7240 than a bogus use of INTERNAL_SYSCALL that could never work.
7241
7242 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7243 * configure.ac (libc_cv_builtin_trap): New test.
7244 * configure: Regenerated.
7245 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7246 (ABORT_INSTRUCTION): Define using __builtin_trap.
7247
7248 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7249 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7250 * sysdeps/nptl/nptl-signals.h: New file.
7251 * nptl/pthreadP.h: Include <nptl-signals.h>.
7252
72532014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7254
7255 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7256 (ONE_DIRECTION): Define.
7257 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7258 (ONE_DIRECTION): Define.
7259 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7260 (ONE_DIRECTION): Define.
7261
72622014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7263
7264 * sysdeps/s390/Makefile: Delete file.
7265 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7266 * sysdeps/s390/__longjmp.c: Delete file.
7267 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7268 Remove fields __flags and __reserved.
7269 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7270 and add versioning.
7271 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7272 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7273 * sysdeps/s390/rtld-setjmp.S: Likewise.
7274 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7275 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7276 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7277 * sysdeps/s390/s390-32/setjmp.S: ... here.
7278 Add versioning.
7279 (__sigsetjmp): Remove setting __flags field.
7280 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7281 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7282 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7283 * sysdeps/s390/s390-64/setjmp.S: ... here.
7284 Add versioning.
7285 (__sigsetjmp): Remove setting __flags field.
7286 * sysdeps/s390/setjmp.S: Delete file.
7287 * sysdeps/s390/sigjmp.c: Likewise.
7288 * sysdeps/s390/v1-longjmp.c: Likewise.
7289 * sysdeps/s390/v1-setjmp.h: Likewise.
7290 * sysdeps/s390/v1-sigjmp.c: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7292 Remove v1-longjmp_chk.
7293 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7294 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7295 Include debug/longjmp_chk.c and add versioning.
7296 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7297 Include nptl/pt-longjmp.c and add versioning.
7298 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7300 Include __longjmp.c.
7301 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7302 Move to ...
7303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7304 (__getcontext): Remove setting __flags field.
7305 Add versioning.
7306 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7307 Don't restore upper high grps.
7308 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7309 Likewise.
7310 (__swapcontext): Remove setting uc_flags field.
7311 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7312 Delete file.
7313 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7314 Include __longjmp.c.
7315 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7316 Move to ...
7317 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7318 (__getcontext): Remove setting __flags field.
7319 Add versioning.
7320 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7321 (__swapcontext): Remove setting uc_flags field.
7322 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7324 Remove fields uc_high_gprs and __reserved.
7325 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7326 New file with reverted content.
7327 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7329 Regenerated.
7330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7331 Regenerated.
7332
73332014-07-31 Andreas Schwab <schwab@suse.de>
7334
7335 * config.h.in (HAVE_IFUNC): Define to 0.
7336 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7337 definedness.
7338
73392014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7340
7341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7342 memmove-avx-unaligned, memcpy-avx-unaligned and
7343 mempcpy-avx-unaligned.
7344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7345 Add tests for AVX memcpy functions.
7346 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7347 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7348 memcpy_chk.
7349 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7350 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7351 memmove_chk.
7352 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7353 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7354 mempcpy_chk.
7355 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7356 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7357 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7358
73592013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7360
7361 [BZ #17213]
7362 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7363 powerpc64le.
7364
73652014-07-29 Jeff Layton <jlayton@poochiereds.net>
7366
7367 [BZ #16839]
7368 * manual/llio.texi: Add section about open file description locks.
7369 * manual/examples/ofdlocks.c: Example of open file description
7370 lock usage.
7371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7372 F_OFD_SETLK, and F_OFD_SETLKW.
7373
73742014-07-23 Allan McRae <allan@archlinux.org>
7375
7376 * po/es.po: Update Spanish translation from translation project.
7377
73782014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7379
7380 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7381
73822014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7383
7384 [BZ #17078]
7385 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7386 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7387 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7388
73892014-07-17 Joseph Myers <joseph@codesourcery.com>
7390
7391 [BZ #17088]
7392 * math/fesetenv.c (__fesetenv)
7393 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7394 * math/feupdateenv.c (__feupdateenv)
7395 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7396
7397 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7398 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7399 (__ASSUME_SOCKETCALL): Do not define.
7400
7401 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7402 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7403 (__ASSUME_SOCKETCALL): Do not define.
7404 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7405 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7406 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7407 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7408 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7409 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7410 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7411 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7412
7413 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7414 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7415 (__ASSUME_SOCKETCALL): Do not define.
7416 (__ASSUME_IPC64): Define unconditionally.
7417 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7418 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7419 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7420 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7421 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7422 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7423 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7424 Likewise.
7425
7426 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7427 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7428 (__ASSUME_SOCKETCALL): Do not define.
7429 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7430 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7431 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7432 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7433 (__ASSUME_REQUEUE_PI): Define unconditionally.
7434 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7435 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7436 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7437 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7439 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7440
7441 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7442 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7443 (__ASSUME_SOCKETCALL): Do not define.
7444 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7446 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7447 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7448 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7449 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7450
7451 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7452 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7453 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7454 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7455 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7456 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7457 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7458 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7459 (__ASSUME_GETCPU_SYSCALL): Likewise.
7460
7461 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7462 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7463 cases for individual architectures.
7464 * sysdeps/gnu/configure: Regenerated.
7465 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7466 LIBC_SLIBDIR_RTLDDIR.
7467 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7468 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7469 LIBC_SLIBDIR_RTLDDIR.
7470 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7472 LIBC_SLIBDIR_RTLDDIR.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7474 Regenerated.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7477 file.
7478 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7480 file.
7481 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7482 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7483 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7485
7486 * sysdeps/aarch64/shlib-versions: Move to ...
7487 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7488 * sysdeps/alpha/shlib-versions: Move to ...
7489 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7490 * sysdeps/arm/shlib-versions: Move to ...
7491 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7492 * sysdeps/hppa/shlib-versions: Move all contents except for
7493 libgcc_s entry to ...
7494 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7495 entry from ...
7496 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7497 * sysdeps/ia64/shlib-versions: Move to ...
7498 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7499 entry from ...
7500 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7501 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7502 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7503 * sysdeps/microblaze/shlib-versions: Move to ...
7504 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7505 * sysdeps/mips/shlib-versions: Move to ...
7506 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7507 entry from ...
7508 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7509 * sysdeps/tile/shlib-versions: Move to ...
7510 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7511 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7512 from ...
7513 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7515 entry from ...
7516 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7517
75182014-07-17 Will Newton <will.newton@linaro.org>
7519
7520 * sysdeps/arm/bits/atomic.h
7521 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7522 (__arch_compare_and_exchange_bool_16_int): Likewise.
7523 (__arch_compare_and_exchange_bool_64_int): Likewise.
7524
7525 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7526 into an #else block.
7527
75282014-07-16 Roland McGrath <roland@hack.frob.com>
7529
7530 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7531 just Linux configurations. Test empirically that the compiler sets
7532 __ARM_EABI__, rather than using the tuple to decide.
7533 * sysdeps/arm/preconfigure: Regenerated.
7534 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7535 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7536 contents appended ...
7537 * sysdeps/arm/configure.ac: ... here.
7538 * sysdeps/arm/configure: Regenerated.
7539
75402014-07-15 Roland McGrath <roland@hack.frob.com>
7541
7542 * nptl/pthread_kill.c: New file.
7543 * nptl/pthread_sigmask.c: New file.
7544 * nptl/pthread_sigqueue.c: New file.
7545
7546 * sysdeps/nptl/lowlevellock.h: New file.
7547 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7548 * sysdeps/nptl/lowlevellock-futex.h: New file.
7549
7550 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7551 Remove dead declarations.
7552
75532014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7556 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7557 config-cflags-avx2.
7558 * sysdeps/x86_64/configure.ac: Likewise.
7559 * sysdeps/i386/configure: Regenerated.
7560 * sysdeps/x86_64/configure: Likewise.
7561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7562 memset-avx2 only if config-cflags-avx2 is yes.
7563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7564 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7565 defined.
7566 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7567 only if HAVE_AVX2_SUPPORT is defined.
7568 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7569
75702014-07-14 Alan Modra <amodra@gmail.com>
7571
7572 [BZ #17153]
7573 * elf/elf.h (DT_PPC64_NUM): Correct value.
7574 * NEWS: Add to fixed bug list.
7575
75762014-07-13 Jim Meyering <meyering@fb.com>
7577
7578 [BZ 17150]
7579 regex: don't deref NULL upon heap allocation failure
7580 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7581 failure in one more place.
7582 To trigger the segfault, configure grep -with-included-regex,
7583 build it, and run these commands:
7584 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7585
75862014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7589
75902014-07-11 Richard Henderson <rth@redhat.com>
7591
7592 * sysdeps/aarch64/libm-test-ulps: Update.
7593
75942014-07-10 Florian Weimer <fweimer@redhat.com>
7595
7596 [BZ #17135]
7597 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7598 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7599 (__nptl_setxid): Initialize error member. Call
7600 __nptl_setxid_error.
7601 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7602 * nptl/descr.h (struct xid_command): Add error member.
7603 * nptl/tst-setuid3.c: New file.
7604 * nptl/Makefile (tests): Add it.
7605
76062014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7607
7608 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7609 New define.
7610 (__lll_trylock): Use __lll_base_trylock.
7611 (__lll_cond_trylock): Likewise.
7612
76132014-07-10 Roland McGrath <roland@hack.frob.com>
7614
7615 * nptl/pthread_create.c (start_thread): Use atomic_or and
7616 lll_futex_wake directly rather than lll_robust_dead.
7617 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7618 (lll_robust_dead): Macro removed.
7619 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7620 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7621 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7622 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7624 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7625 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7626 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7627 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7629 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7630 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7631 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7632 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7634
7635 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7636 Use atomic_compare_and_exchange_val_acq directly rather than
7637 lll_robust_trylock.
7638 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7639 (__lll_robust_trylock, lll_robust_trylock): Removed.
7640 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7641 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7642 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7643 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7644 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7645 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7646 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7647 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7648 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7649 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7650 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7652 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7653 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7654
76552014-07-02 Florian Weimer <fweimer@redhat.com>
7656
7657 * manual/locale.texi (Locale Names): New section documenting
7658 locale name syntax. Adjust menu and node chaining accordingly.
7659 (Choosing Locale): Reference Locale Names, Locale Categories.
7660 Mention setting LC_ALL=C. Reflect that name syntax is now
7661 documented.
7662 (Locale Categories): New section title. Reference Locale Names.
7663 LC_ALL is an environment variable, but not a category.
7664 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7665 description, now in Locale Name. Reference that section. Locale
7666 name syntax is now documented.
7667
76682014-07-02 Florian Weimer <fweimer@redhat.com>
7669
7670 [BZ #17137]
7671 * locale/findlocale.c (name_present, valid_locale_name): New
7672 functions.
7673 (_nl_find_locale): Use the loc_name variable to store name
7674 candidates. Call name_present and valid_locale_name to check and
7675 validate locale names. Return an error if the locale is invalid.
7676
76772014-07-02 Florian Weimer <fweimer@redhat.com>
7678
7679 * locale/setlocale.c (setlocale): Use strdup for allocating
7680 composite name copy.
7681
76822014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7683
7684 Sync up with gnulib.
7685 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7686 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7687 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7688 and _GL_ARG_NONNULL.
7689 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7690 [!_LIBC]: Include code for Windows and Cygwin.
7691 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7692 Include prototype for int strerror_r.
7693 [!_LIBC] (is_open): New function.
7694 (flush_stdout): New function.
7695 (print_errno_message): Use it.
7696 (error): Likewise.
7697 (error_at_line): Likewise.
7698 (error_tail) Add function attribute macros. Use
7699 __builtin_expect.
7700
7701 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7702
7703 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7704
7705 * io/ftw.c: Include sys/param.h unconditionally.
7706
7707 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7708
7709 [BZ #17125]
7710 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7711 libc_freeres_ptr.
7712 (freecache): New function to free CACHE on exit.
7713
7714 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7715 initialization.
7716
77172014-07-09 David S. Miller <davem@davemloft.net>
7718
7719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7720
7721 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7722 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7723 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7724 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7725 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7726 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7727 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7728 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7729 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7730 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7731 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7732 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7733 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7734
77352014-07-09 Andreas Schwab <schwab@suse.de>
7736
7737 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7738 output.
7739 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7740 (do_test): Likewise.
7741
7742 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7743
77442014-07-09 Will Newton <will.newton@linaro.org>
7745
7746 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7747 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7748 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7749 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7750 * sysdeps/hppa/start.S (_start): Likewise.
7751
77522014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7753
7754 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7755
7756 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7757 defined.
7758
77592014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
7761 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7762 after checking that it is non-NULL.
7763
7764 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7765
77662014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7767
7768 * sysdeps/powerpc/memmove.c: Remove file.
7769 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7770 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7771 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7772 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7773 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7774 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7775 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7776 string memmove instead of removed powerpc one.
7777
7778 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7779 [weak_alias]: Fix compiler warning due trailing data.
7780 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7781 [weak_alias]: Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7783 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7784
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7786 (__libc_ifunc_impl_list): Add memmove functions.
7787
77882014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7789
7790 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7791 Remove code.
7792 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7793 Likewise
7794 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7795 Likewise
7796 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7797 Likewise
7798 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7799 Likewise
7800 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7801 Likewise
7802 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7803 Likewise
7804 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7805 Likewise
7806 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7807 Likewise
7808 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7809 Likewise
7810 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7811 Likewise
7812 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7813 Likewise
7814 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7815 Likewise
7816 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7817 Likewise
7818 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7819 Likewise
7820 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7821 Likewise
7822 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7823 Likewise
7824
78252014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7826
7827 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7828 to avoid alignment traps in non-cacheable memory.
7829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7830
7831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7832 multiarch objects.
7833 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7834 file: multiarch power7 memmove.
7835 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7836 multiarch default memmove.
7837 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7838 multiarch memove for powerpc32/power4.
7839
7840 * string/bcopy.c: Use full path to include memmove.c.
7841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7842 multiarch objects.
7843 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7844 bcopy for powerpc64.
7845 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7846 bcopy for powerpc64.
7847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7848 and memmove implementations.
7849 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7850 optimized multiarch memmove for POWER7/powerpc64.
7851 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7852 default multiarch memmove for powerpc64.
7853 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7854 multiarch for powerpc64.
7855 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7856 for POWER7/powerpc64.
7857 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7858 memmove for POWER7/powerpc64.
7859
7860 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7861 glibc default one.
7862
7863 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7864 __ELF_NATIVE_CLASS equal to 64.
7865
78662014-07-07 Roland McGrath <roland@hack.frob.com>
7867
7868 * sysdeps/nptl/lowlevellock.h: File removed.
7869
7870 * NEWS: NPTL is no longer an add-on!
7871 * nptl/internaltypes.h: Moved ...
7872 * sysdeps/nptl/internaltypes.h: ... here.
7873 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7874 * sysdeps/nptl/fork.c: Likewise.
7875 * sysdeps/nptl/gai_misc.h: Likewise.
7876 * sysdeps/nptl/librt-cancellation.c: Likewise.
7877 * sysdeps/nptl/jmp-unwind.c: Likewise.
7878 * sysdeps/nptl/setxid.h: Likewise.
7879 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7880 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7881 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7882 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7883 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7884 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7885 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7886 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7887 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7888 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7889 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7890 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7891 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7892 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7893 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7894 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7896 * nptl/Makeconfig: Moved ...
7897 * sysdeps/nptl/Makeconfig: ... here.
7898 * nptl/configure: File removed.
7899 * nptl/ANNOUNCE: File removed.
7900 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7901 * sysdeps/unix/sysv/linux/configure: Regenerated.
7902
7903 * nptl/Makefile (routines): Add libc_pthread_init,
7904 libc_multiple_threads, register-atfork and unregister-atfork.
7905 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7906 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7907 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7908 pthread-pi-defines.sym, structsem.sym.
7909 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7910 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7911 [$(subdir) = nptl] (tests): Add tst-setgetname.
7912 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7913 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7914 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7915 [!LIBC_SIGACTION]: Remove aliases.
7916 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7917 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7918 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7919 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7920 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7921 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7924 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7925 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7926 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7927 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7928 __libc_allocate_rtsig_private.
7929 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7931 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7932 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7933 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7934 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7935 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7936 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7937 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7938 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7939 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7940 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7941 * nptl/internaltypes.h: ... here.
7942 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7943 * sysdeps/nptl/jmp-unwind.c: ... here.
7944 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7945 * nptl/libc-lowlevellock.c: ... here.
7946 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7947 * nptl/libc_multiple_threads.c: ... here.
7948 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7949 * nptl/libc_pthread_init.c: ... here.
7950 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7951 * nptl/lowlevelbarrier.sym: ... here.
7952 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7953 * nptl/lowlevelcond.sym: ... here.
7954 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7955 * nptl/lowlevellock.c: ... here.
7956 * nptl/lowlevellock.h: Moved ...
7957 * sysdeps/nptl/lowlevellock.h: ... here.
7958 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7959 * nptl/lowlevelrobustlock.c: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7961 * nptl/lowlevelrobustlock.sym: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7963 * nptl/lowlevelrwlock.sym: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7965 * nptl/pt-fork.c: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7967 * nptl/pthread-pi-defines.sym: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7969 * nptl/pthread_attr_getaffinity.c: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7971 * nptl/pthread_attr_setaffinity.c: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7973 * nptl/pthread_mutex_cond_lock.c: ... here.
7974 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7975 Update #include.
7976 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7977 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7978 * nptl/pthread_once.c: ... here, replacing old file.
7979 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7980 * nptl/pthread_yield.c: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7982 * nptl/register-atfork.c: ... here.
7983 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7984 * nptl/sem_post.c: ... here.
7985 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7986 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7987 * nptl/sem_timedwait.c: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7989 * nptl/sem_trywait.c: ... here.
7990 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7991 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7992 * nptl/sem_wait.c: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7994 * nptl/structsem.sym: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7996 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7997 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7998 * nptl/unregister-atfork.c: ... here.
7999 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8000 * nptl/unwindbuf.sym: ... here.
8001 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8002 * sysdeps/nptl/fork.c: ... here.
8003 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8004 * sysdeps/nptl/fork.h: ... here.
8005 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8006 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8007 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8008 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8009 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8010 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8011 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8013 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8014 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8015 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8016 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8017 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8018 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8019 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8020 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8021 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8022 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8023 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8025 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8027 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8028 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8029 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8030 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8031 * sysdeps/unix/sysv/linux/raise.c: ... here.
8032 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8033 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8034 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8035 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8036 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8037 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8038 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8039 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8040 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8041 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8042 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8043 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8044 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8045 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8046 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8047
80482014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8049
8050 * sysdeps/generic/memcopy.h: Add comment for
8051 MEMCPY_OK_FOR_FWD_MEMMOVE.
8052
80532014-07-04 Will Newton <will.newton@linaro.org>
8054
8055 * string/memchr.c: Merge from gnulib.
8056 [_LIBC]: Remove conditionals.
8057 (__ptr_t): Remove define.
8058 (LONG_MAX_32_BITS): Likewise.
8059 (LONG_MAX): Likewise.
8060 (MEMCHR): Use ANSI prototype and optimize algorithm.
8061
8062 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8063
80642014-07-03 Roland McGrath <roland@hack.frob.com>
8065
8066 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8067 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8068
8069 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8070 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8071 in a bare environment with no <stdlib.h> installed.
8072 * sysdeps/nptl/configure: Regenerated.
8073
8074 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8075
8076 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8077 AC_EGREP_CPP for kernel header checks, so they only succeed if
8078 including <linux/version.h> actually works right.
8079 * sysdeps/unix/sysv/linux/configure: Regenerated.
8080
8081 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8082 value so it's not diagnosed as unused.
8083
8084 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8085 thing) with "ifeq ($(subdir),rt)".
8086
80872014-07-03 Richard Henderson <rth@redhat.com>
8088
8089 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8090 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8091 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8092
8093 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8094 (math_force_eval): New.
8095
8096 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8097 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8098
8099 * sysdeps/alpha/fpu/s_round.c: Remove file.
8100 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8101
8102 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8103 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8104 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8105 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8106 (_dl_start, print_statistics): Likewise.
8107 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8108 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8109
8110 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8111 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8112 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8113 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8115 (HP_SMALL_TIMING_AVAIL): Define.
8116 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8117 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8118 (HP_SMALL_TIMING_AVAIL): Define.
8119 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8120 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8121
8122 * sysdeps/aarch64/hp-timing.h: New file.
8123
8124 * sysdeps/generic/hp-timing.h: Remove dead comment.
8125 * sysdeps/generic/hp-timing-common.h: New file.
8126 * sysdeps/alpha/hp-timing.h: Include it.
8127 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8128 * sysdeps/i386/i686/hp-timing.h: Likewise.
8129 * sysdeps/ia64/hp-timing.h: Likewise.
8130 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8131 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8132 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8133 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8134 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8135 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8136 (hp_timing_t): New.
8137
8138 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8139 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8140 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8141 * elf/rtld.c (_dl_start_final): Likewise.
8142 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8143 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8144 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8145 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8146 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8148 (HP_TIMING_DIFF_INIT): Remove.
8149 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8150 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8151 (HP_TIMING_DIFF_INIT): Remove.
8152 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8153 * sysdeps/i386/i686/hp-timing.c: Remove file.
8154 * sysdeps/x86_64/hp-timing.c: Remove file.
8155 * sysdeps/ia64/hp-timing.c: Remove file.
8156 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8157 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8159 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8160
8161 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8162 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8163 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8164 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8166 (HP_TIMING_ACCUM): Remove.
8167 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8168 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8169 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8170
8171 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8172 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8173 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8174 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8175 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8176 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8177 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8178 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8179
8180 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8181
81822014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8183
8184 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8185
81862014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8187
8188 Sync up with gettext.
8189 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8190 [_MSC_VER]: Include malloc.h
8191 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8192 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8193 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8194 TEMP_FAILURE_RETRY. Cast return of alloca.
8195 [!_LIBC] Call gl_rwlock_init.
8196 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8197
81982014-07-02 Roland McGrath <roland@hack.frob.com>
8199
8200 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8201 before checking its value.
8202
82032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8204
8205 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8206
8207 * debug/memcpy_chk.c: Don't include pagecopy.h.
8208 * debug/mempcpy_chk.c: Likewise.
8209 * string/memcpy.c: Likewise.
8210 * string/memmove.c: Likewise.
8211 * sysdeps/powerpc/memmove.c: Likewise.
8212 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8213 definition of PAGE_COPY_FWD_MAYBE here...
8214 * sysdeps/generic/pagecopy.h: ... from here.
8215 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8216
82172014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8218 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8219
8220 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8222 optimizations.
8223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8224 (__libc_ifunc_impl_list): Likewise.
8225 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8226 multiarch strcat for PPC64.
8227 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8228 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8229
82302014-07-02 Roland McGrath <roland@hack.frob.com>
8231
8232 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8233
82342014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8235
8236 * intl/loadmsgcat.c: Remove declaration of
8237 get_sysdep_segment_value.
8238 (get_sysdep_segment_value): Use ISO C style.
8239 (_nl_load_domain): Use ISO C style. Get rid of redundant
8240 semicolon. Fix typo and formatting in comment.
8241 (_nl_unload_domain): Use ISO C style.
8242
8243 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8244
82452014-07-02 Will Newton <will.newton@linaro.org>
8246
8247 * malloc/obstack.c: Merge from gnulib master.
8248 [HAVE_CONFIG_H]: Remove conditional code.
8249 [!_LIBC]: Include config.h.
8250 [!ELIDE_CODE]: Don't include inttypes.h, include
8251 stdint.h unconditionally.
8252 (print_and_abort): Mark as _Noreturn.
8253 (_obstack_allocated_p): Mark as __attribute_pure__.
8254 (obstack_free): Rename to __obstack_free.
8255 [!__attribute__]: Remove conditional code.
8256 * malloc/obstack.h: Merge from gnulib master.
8257 [__cplusplus]: Move conditional down.
8258 [!__attribute_pure__]: Define __attribute_pure__ here
8259 if it is not already defined.
8260 (_obstack_memory_used): Mark as __attribute_pure__.
8261 [!__obstack_free]: Define as obstack_free.
8262 [__GNUC__]: Remove check for ancient NeXT gcc.
8263
82642014-07-02 Will Newton <will.newton@linaro.org>
8265 Paul Eggert <eggert@cs.ucla.edu>
8266
8267 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8268
82692014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8270
8271 * resolv/gethnamaddr.c: Add comment warning that the file is
8272 not maintained.
8273
82742014-07-01 Carlos O'Donell <carlos@redhat.com>
8275
8276 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8277 entries.
8278
8279 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8280 entry for aio_cancel and aio_cancel64.
8281 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8282 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8283 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8284 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8285 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8286 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8287 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8288 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8289 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8290 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8291 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8292 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8293 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8294
82952014-07-01 Roland McGrath <roland@hack.frob.com>
8296
8297 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8298 * nptl/pthread_mutex_lock.c: Likewise.
8299 * nptl/pthread_mutex_timedlock.c: Likewise.
8300 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8301
83022014-07-01 Richard henderson <rth@redhat.com>
8303
8304 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8305 (__isnan, __isnanl): Remove.
8306 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8307
8308 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8309
83102014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8311
8312 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8313
83142014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8315
8316 * resolv/nss_dns/dns-host.c (getanswer_r)
8317 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8318
83192014-07-01 Joseph Myers <joseph@codesourcery.com>
8320
8321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8322 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8323 undefine.
8324 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8325 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8326
83272014-07-01 Roland McGrath <roland@hack.frob.com>
8328
8329 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8330 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8331
8332 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8333 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8334
8335 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8336 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8337 ... here.
8338 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8339 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8340
8341 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8342 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8343 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8344 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8345
8346 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8347 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8348 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8349 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8350 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8351 Moved ...
8352 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8353 ... here.
8354 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8355 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8356 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8357 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8358 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8359 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8363 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8367 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8369 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8370 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8374 ... here.
8375 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8376 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8377 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8378 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8379 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8380 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8381 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8382 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8383
83842014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8385
8386 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8387 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8388 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8389 Add sysdep.
8390
83912014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8392
8393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8394
83952014-06-30 Joseph Myers <joseph@codesourcery.com>
8396
8397 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8398 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8399
8400 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8401
8402 * sysdeps/arm/libm-test-ulps: Regenerated.
8403
84042014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8405 Roland McGrath <roland@hack.frob.com>
8406
8407 * test-skeleton.c (signal_handler): Kill the whole process group
8408 before killing the child individually.
8409 (main): Report any failure on `setpgid'.
8410
84112014-06-30 Roland McGrath <roland@hack.frob.com>
8412
8413 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8414 from _TLS_H to _ARM_NPTL_TLS_H.
8415 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8416 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8417
84182014-06-30 Joseph Myers <joseph@codesourcery.com>
8419
8420 [BZ #16539]
8421 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8422 (__expm1l): Return argument unchanged when small but not
8423 subnormal.
8424
8425 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8426 include macro name.
8427 (_FP_UNPACK_RAW_1_P): Likewise.
8428 (_FP_PACK_RAW_1): Likewise.
8429 (_FP_PACK_RAW_1_P): Likewise.
8430 (_FP_MUL_MEAT_1_wide): Likewise.
8431 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8432 (_FP_MUL_MEAT_1_hard): Likewise.
8433 (_FP_DIV_MEAT_1_imm): Likewise.
8434 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8435 (_FP_DIV_MEAT_1_udiv): Likewise.
8436 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8437 (_FP_UNPACK_RAW_2): Likewise.
8438 (_FP_UNPACK_RAW_2_P): Likewise.
8439 (_FP_PACK_RAW_2): Likewise.
8440 (_FP_PACK_RAW_2_P): Likewise.
8441 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8442 (_FP_MUL_MEAT_2_wide): Likewise.
8443 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8444 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8445 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8446 (_FP_MUL_MEAT_2_gmp): Likewise.
8447 (_FP_DIV_MEAT_2_udiv): Likewise.
8448 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8449 (_FP_FRAC_SRL_4): Likewise.
8450 (_FP_FRAC_SRST_4): Likewise.
8451 (_FP_FRAC_SRS_4): Likewise.
8452 (_FP_UNPACK_RAW_4): Likewise.
8453 (_FP_UNPACK_RAW_4_P): Likewise.
8454 (_FP_PACK_RAW_4): Likewise.
8455 (_FP_PACK_RAW_4_P): Likewise.
8456 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8457 (_FP_MUL_MEAT_4_wide): Likewise.
8458 (_FP_MUL_MEAT_4_gmp): Likewise.
8459 (umul_ppppmnnn): Likewise.
8460 (_FP_DIV_MEAT_4_udiv): Likewise.
8461 (__FP_FRAC_ADD_4): Likewise.
8462 (__FP_FRAC_SUB_3): Likewise.
8463 (__FP_FRAC_SUB_4): Likewise.
8464 (__FP_FRAC_DEC_3): Likewise.
8465 (__FP_FRAC_DEC_4): Likewise.
8466 (__FP_FRAC_ADDI_4): Likewise.
8467 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8468 (_FP_FRAC_SRL_8): Likewise.
8469 (_FP_FRAC_SRS_8): Likewise.
8470
8471 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8472 include macro name.
8473 (FP_UNPACK_RAW_EP): Likewise.
8474 (FP_PACK_RAW_E): Likewise.
8475 (FP_PACK_RAW_EP): Likewise.
8476 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8477 (_FP_ISSIGNAN): Likewise.
8478 (_FP_ADD_INTERNAL): Likewise.
8479 (_FP_FMA): Likewise.
8480 (_FP_CMP): Likewise.
8481 (_FP_SQRT): Likewise.
8482 (_FP_TO_INT): Likewise.
8483 (_FP_FROM_INT): Likewise.
8484 (FP_EXTEND): Likewise.
8485 (_FP_DIV_MEAT_N_loop): Likewise.
8486
84872014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8488
8489 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8490 throughout.
8491
84922014-06-29 Joseph Myers <joseph@codesourcery.com>
8493
8494 [BZ #17097]
8495 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8496 result with correct sign in case of exponents that produce
8497 overflow except for X very close to 1.
8498
84992014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8500
8501 mktime: merge #if/#ifdef usage from glibc
8502 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8503 as that works with both Glibc's and Gnulib's style.
8504 See thread starting at Siddhesh Poyarekar's bug report at:
8505 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8506
85072014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8508
8509 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8510 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8511 * sysdeps/tile/tilegx/memmove.c: Remove file.
8512
85132014-06-27 Joseph Myers <joseph@codesourcery.com>
8514
8515 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8516 abi-name definition.
8517 * scripts/soversions.awk: Do not handle or generate ABI lines.
8518 * shlib-versions: Remove ABI entries.
8519 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8520 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8521
85222014-06-27 Roland McGrath <roland@hack.frob.com>
8523
8524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8525 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8526 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8527 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8533 ... here.
8534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8535 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8539 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8541 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8543 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8544 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8545 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8550 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8552 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8554 Moved ...
8555 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8557 Moved ...
8558 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8560 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8562 Moved ...
8563 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8567 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8571 Moved ...
8572 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8576 Moved ...
8577 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8579 Moved ...
8580 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8582 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8583 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8584 Moved ...
8585 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8586 ... here.
8587 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8588 Identical file removed.
8589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8590 Moved ...
8591 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8593 Identical file removed.
8594 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8597 Moved ...
8598 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8600 Identical file removed.
8601 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8604 Identical file removed.
8605 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8608 Identical file removed.
8609 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8612 Identical file removed.
8613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8614 Moved ...
8615 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8617 Identical file removed.
8618 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8619 Moved ...
8620 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8624 Identical file removed.
8625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8626 Moved ...
8627 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8628 ... here.
8629 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8630 Identical file removed.
8631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8632 Moved ...
8633 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8635 Identical file removed.
8636 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8637 Moved ...
8638 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8639 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8640 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8644 Moved ...
8645 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8647 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8648
8649 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8650 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8651 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8652 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8653 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8654
86552014-06-27 Arjun Shankar <arjun.is@lostca.se>
8656
8657 [BZ #17092]
8658 * nscd/nscd.c (monitor_child): Return exit status of child
8659 instead of return value from wait syscall.
8660
86612014-06-27 Joseph Myers <joseph@codesourcery.com>
8662
8663 * configure.ac (libc_commonpagesize): Remove variable.
8664 (libc_relro_required): Likewise.
8665 (libc_cv_z_relro): Remove configure test.
8666 * configure: Regenerated.
8667 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8668 variable.
8669 (libc_relro_required): Likewise.
8670 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8671 (libc_relro_required): Likewise.
8672 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8673 (libc_relro_required): Likewise.
8674 * sysdeps/arm/preconfigure: Regenerated.
8675 * sysdeps/ia64/preconfigure: Remove file.
8676 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8677 variable.
8678 (libc_relro_required): Likewise.
8679
8680 [BZ #16561]
8681 [BZ #16562]
8682 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8683 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8684 recompute overflowing results in original rounding mode.
8685 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8686 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8687 recompute overflowing results in original rounding mode.
8688 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8689 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8690 recompute overflowing results in original rounding mode.
8691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8692 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8693 recompute overflowing results in original rounding mode.
8694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8695 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8696 recompute overflowing results in original rounding mode.
8697 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8698 (libc_feholdsetround_ctx): New macro.
8699 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8700 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8702
87032014-06-26 Joseph Myers <joseph@codesourcery.com>
8704
8705 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8706 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8707 corresponding .cpsetup call.
8708
87092014-06-26 Roland McGrath <roland@hack.frob.com>
8710
8711 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8712 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8713 * sysdeps/arm/Makefile [$(subdir) = csu]
8714 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8715 (static-only-routines): Add aeabi_read_tp here.
8716 (shared-only-routines): Add libc-aeabi_read_tp here.
8717 (CFLAGS-libc-start.c): Add -fexceptions here.
8718 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8719 (sysdep_routines, static-only-routines, shared-only-routines):
8720 Don't add to these here.
8721 (CFLAGS-libc-start.c): Likewise.
8722
8723 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8724 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8725 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8726 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8727 * sysdeps/arm/Makefile [$(subdir) = rt]
8728 (librt-sysdep_routines, librt-shared-only-routines):
8729 Append rt-aeabi_unwind_cpp_pr1 here.
8730 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8731 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8732 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8733 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8734 Append nptl-aeabi_unwind_cpp_pr1 here.
8735 (tests): Filter out tst-cleanupx4 here.
8736 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8737 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8738 Don't do those here.
8739
87402014-06-26 Joseph Myers <joseph@codesourcery.com>
8741
8742 * scripts/list-sources.sh: Do not handle ports specially.
8743
87442014-06-26 Roland McGrath <roland@hack.frob.com>
8745
8746 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8747 * sysdeps/arm/feupdateenv.c: Likewise.
8748
8749 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8750
87512014-06-26 Joseph Myers <joseph@codesourcery.com>
8752
8753 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8754 trailing whitespace removed.
8755 * scripts/config.guess: Update to version 2014-03-23.
8756 * scripts/config.sub: Update to version 2014-05-01
8757 * scripts/install-sh: Update to version 2013-12-25.23.
8758 * scripts/move-if-change: Update from gnulib.
8759
87602014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8761
8762 * debug/memmove_chk.c: Remove pagecopy.h include.
8763
87642014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8765
8766 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8767 identical to gnulib mktime.
8768
87692014-06-26 Joseph Myers <joseph@codesourcery.com>
8770
8771 * configure.ac: Do not test for machine being rs6000. Do not test
8772 for powerpc*-*soft.
8773 * configure: Regenerated.
8774
8775 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8776 test.
8777 * configure: Regenerated.
8778 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8779 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8780 Remove configure test.
8781 * sysdeps/arm/configure: Regenerated.
8782 * sysdeps/nptl/configure.ac: Do not check
8783 libc_cv_asm_cfi_directives.
8784 * sysdeps/nptl/configure: Regenerated.
8785 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8786 * sysdeps/x86_64/nptl/configure: Remove generated file.
8787 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8788 unconditional.
8789 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8790
87912014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8792
8793 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8794 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8795 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8796 it is defined.
8797
8798 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8799 instead of whether it is defined.
8800 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8801 * sysdeps/hppa/dl-machine.h: Likewise.
8802 * sysdeps/ia64/dl-machine.h: Likewise.
8803 * sysdeps/m68k/dl-machine.h: Likewise.
8804 * sysdeps/microblaze/dl-machine.h: Likewise.
8805 * sysdeps/mips/dl-machine.: Likewise.
8806 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8807 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8808 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8809 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8810 * sysdeps/sh/dl-machine.h: Likewise.
8811 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8812 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8813 * sysdeps/tile/dl-machine.h: Likewise.
8814 * sysdeps/x86_64/dl-machine.h: Likewise.
8815
8816 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8817 code.
8818 (verify_persistent_db): Likewise.
8819
88202014-06-26 Roland McGrath <roland@hack.frob.com>
8821
8822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8823 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8827 Moved ...
8828 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8829 ... here.
8830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8831 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8833 Identical file removed.
8834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8837 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8845 Moved ...
8846 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8848 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8850 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8852 Moved ...
8853 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8857 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8859 Identical file removed.
8860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8861 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8865 Moved ...
8866 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8867 ... here.
8868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8871 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8873 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8875 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8877 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8879 Moved ...
8880 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8882 Moved ...
8883 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8887 Moved ...
8888 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8890 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8891
8892 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8893 folded into ...
8894 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8895 * sysdeps/unix/sysv/linux/s390/Versions
8896 (libpthread: GLIBC_2.19): New version set.
8897 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8898 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8899 (librt: GLIBC_2.3.3): New version set.
8900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8901 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8903 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8904 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8905 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8906 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8907 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8909 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8910 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8912 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8913 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8914 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8915 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8916 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8917 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8918 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8919 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8920 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8922 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8924 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8925 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8926 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8927 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8928 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8929 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8930 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8931 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8934 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8936 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8938 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8940 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8942 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8943 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8944 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8945
8946 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8947 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8948 (__libc_vfork): Define the function under this name.
8949 [!NOT_IN_libc] (__vfork): Make this an alias.
8950 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8953 (__libc_vfork): Define the function under this name.
8954 [!NOT_IN_libc] (__vfork): Make this an alias.
8955 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8956 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8957 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8960 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8961
8962 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8963 code that was previously under [RESET_PID].
8964 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8965 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8967
8968 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8969 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8970 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8971 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8972 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8973 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8974 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8975 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8976 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8977 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8978 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8979 Moved ...
8980 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8981 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8986 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8987 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9004 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9005 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9006 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9007 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9008 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9009
90102014-06-25 Roland McGrath <roland@hack.frob.com>
9011
9012 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9013 that was previously under [RESET_PID].
9014 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9015
90162014-06-25 Joseph Myers <joseph@codesourcery.com>
9017
9018 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9019 not undefine and redefine.
9020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9021 [O_CLOEXEC]: Make code unconditional.
9022 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9023 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9024 <kernel-features.h>.
9025 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9026 conditional variable definition.
9027 (shm_open) [O_CLOEXEC]: Make code unconditional.
9028 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9029 code.
9030
9031 * configure.ac (USE_REGPARMS): Don't define here.
9032 * configure: Regenerated.
9033 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9034 * sysdeps/i386/configure: Regenerated.
9035
9036 * nptl/createthread.c: Don't include kernel-features.h.
9037 * nptl/pthread_cancel.c: Likewise.
9038 * nptl/pthread_condattr_setclock.c: Likewise.
9039 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9040 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9041 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9042 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9043 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9044 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9045 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9046 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9048 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9049 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9050 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9051 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9052 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9053 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9054 * nscd/gai.c: Likewise.
9055 * nss/nss_db/db-open.c: Likewise.
9056 * sysdeps/generic/ldsodefs.h: Likewise.
9057 * sysdeps/sh/nptl/tls.h: Likewise.
9058 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9059 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9060 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9061 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9062 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9063 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9064 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9065 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9067 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9068 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9069 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9070 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9071 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9072 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9073 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9074 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9075 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9076 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9077 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9078 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9080 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9081 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9082 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9083 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9084 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9085 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9086 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9087 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9088 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9089 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9090 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9091 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9092 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9093 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9094 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9095 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9096 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9097 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9098 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9099 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9100 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9101 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9102 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9103 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9104 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9105 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9106 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9107 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9108 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9109 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9110 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9111 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9112 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9113 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9138 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9139 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9140 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9141 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9142 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9143 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9144 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9146 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9147 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9148 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9149 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9150 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9151 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9152 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9153 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9156 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9157 * sysdeps/unix/sysv/linux/system.c: Likewise.
9158 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9159 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9160 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9161 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9162 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9163 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9164 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9165
9166 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9167 * configure: Regenerated.
9168 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9169
9170 * configure.ac (base_machine): Do not set specially for particular
9171 machines here.
9172 * configure: Regenerated.
9173 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9174 settings from configure.ac.
9175 * sysdeps/i386/preconfigure: New file.
9176 * sysdeps/s390/preconfigure: Likewise.
9177 * sysdeps/sh/preconfigure: Likewise.
9178 * sysdeps/sparc/preconfigure: Likewise.
9179
91802014-06-25 Roland McGrath <roland@hack.frob.com>
9181
9182 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9183 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9184 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9185 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9186 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9187 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9188 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9189 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9190 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9191 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9192 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9193 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9194 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9195 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9196 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9199 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9200 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9201
9202 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9203 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9204 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9205 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9206 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9207 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9208 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9209 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9210 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9211 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9212 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9213 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9214 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9215 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9216 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9217 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9218 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9219 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9220 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9221 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9222 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9223 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9225 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9227 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9228 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9229 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9230 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9231 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9232 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9233 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9234 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9235 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9236 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9237 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9238 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9239 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9240
9241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9242 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9246 Moved ...
9247 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9248 ... here.
9249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9254 Moved ...
9255 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9263 Moved ...
9264 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9266 Moved ...
9267 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9271 Moved ...
9272 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9274 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9276 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9278 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9280 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9282 Moved ...
9283 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9284 ... here.
9285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9288 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9290 Moved ...
9291 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9299 Moved ...
9300 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9302 Moved ...
9303 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9307 Moved ...
9308 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9310 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9312 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9313
93142014-06-25 Joseph Myers <joseph@codesourcery.com>
9315
9316 * timezone/checktab.awk: Update from tzcode 2014e.
9317 * timezone/private.h: Likewise.
9318 * timezone/tzfile.h: Likewise.
9319 * timezone/zdump.c: Likewise.
9320 * timezone/zic.c: Likewise.
9321
9322 * sysdeps/unix/sysv/linux/kernel-features.h
9323 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9324 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9325 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9326 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9327 Remove conditional code.
9328
93292014-06-25 Will Newton <will.newton@linaro.org>
9330
9331 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9332 (_dl_arm_cap_flags): Add HWCAP2 values.
9333 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9334 (_DL_HWCAP_COUNT): Increase to 37.
9335 (_DL_HWCAP_LAST): New define.
9336 (_DL_HWCAP2_LAST): New define.
9337 (_dl_procinfo): Add support for printing
9338 AT_HWCAP2 entries.
9339 (_dl_string_hwcap): Use _dl_hwcap_string.
9340
93412014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342
9343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9344
93452014-06-25 Joseph Myers <joseph@codesourcery.com>
9346
9347 * README: Do not mention ports directory.
9348
9349 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9350 Remove macro.
9351 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9352 <kernel-features.h>.
9353 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9354 conditional variable definition.
9355 (__futimes): Update comment.
9356 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9357 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9358
9359 [BZ #16560]
9360 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9361 arguments close to 0.
9362 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9363 Likewise.
9364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9365 Likewise.
9366 * math/auto-libm-test-in: Add more tests of exp10.
9367 * math/auto-libm-test-out: Regenerated.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9369
9370 * sysdeps/unix/sysv/linux/kernel-features.h
9371 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9372 * sysdeps/unix/sysv/linux/readv.c: Do not include
9373 <kernel-features.h>.
9374 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9375 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9376 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9377 unconditional.
9378 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9379 conditional code.
9380 * sysdeps/unix/sysv/linux/writev.c: Do not include
9381 <kernel-features.h>.
9382 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9383 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9384 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9385 unconditional.
9386 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9387 conditional code.
9388
93892014-06-25 Will Newton <will.newton@linaro.org>
9390
9391 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9392 comment changes throughout the file. Remove checks
9393 for HAVE_*_H definitions that are not required.
9394 (__gen_tempname): Call abort if an unknown kind value is
9395 passed.
9396
93972014-06-25 Andreas Schwab <schwab@suse.de>
9398
9399 [BZ #17086]
9400 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9401 scalbln, scalblnf, scalblnl in libc.
9402
94032014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 [BZ #17086]
9406 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9407 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9408 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9409
94102014-06-24 Roland McGrath <roland@hack.frob.com>
9411
9412 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9413 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9414 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9415 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9416 Update #include.
9417 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9418 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9419 Update #include.
9420 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9421 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9422 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9423 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9424 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9425 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9426 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9427 * sysdeps/x86/bits/semaphore.h: ... here.
9428 * sysdeps/x86/nptl/elide.h: Moved ...
9429 * sysdeps/x86/elide.h: ... here.
9430 * sysdeps/x86_64/nptl/Implies: File removed.
9431 * sysdeps/i386/nptl/Implies: File removed.
9432
94332014-06-24 Joseph Myers <joseph@codesourcery.com>
9434
9435 [BZ #16539]
9436 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9437 return the argument for normal arguments with exponent below -64.
9438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9439 Likewise.
9440 * math/auto-libm-test-in: Add another test of expm1.
9441 * math/auto-libm-test-out: Regenerated.
9442
9443 [BZ #16287]
9444 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9445 calling __erfcl for arguments at least 16.
9446 * math/auto-libm-test-in: Add more tests of erf.
9447 * math/auto-libm-test-out: Regenerated.
9448
9449 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9450 individual architectures.
9451 * sysdeps/unix/sysv/linux/configure: Regenerated.
9452 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9453 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9454 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9455 (ldd_rewrite_script): Define variable.
9456 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9458 file.
9459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9460 generated file.
9461 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9462 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9463 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9464 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9465 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9466 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9467 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9468 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9469
94702014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9471
9472 [BZ #17084]
9473 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9474 Rename member __data.d to __data.__elision_data.
9475
94762014-06-24 Wilco <wdijkstr@arm.com>
9477
9478 * NEWS: Add 16918 to fixed bug list.
9479
94802014-06-24 Wilco <wdijkstr@arm.com>
9481
9482 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9483
94842014-06-24 Wilco <wdijkstr@arm.com>
9485
9486 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9487 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9488 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9489 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9490 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9491 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9492 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9493 Use _FPU_MASK_RM.
9494
94952014-06-24 Wilco <wdijkstr@arm.com>
9496
9497 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9498
94992014-06-24 Wilco <wdijkstr@arm.com>
9500
9501 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9502 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9503 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9504 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9505
95062014-06-24 Wilco <wdijkstr@arm.com>
9507
9508 [BZ #16918]
9509 * sysdeps/arm/feupdateenv.c (feupdateenv):
9510 Rewrite to reduce FPSCR accesses and fix return value.
9511
95122014-06-24 Wilco <wdijkstr@arm.com>
9513
9514 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9515 Optimize to avoid unnecessary FPSCR writes.
9516 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9517 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9518 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9519 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9520
95212014-06-24 Wilco <wdijkstr@arm.com>
9522
9523 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9524 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9525 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9526 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9527 Call libc_fetestexcept_vfp.
9528 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9529 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9530 __SOFTFP__ ifdef so that they can be built for softfp.
9531
95322014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9533
9534 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9535 argument type signed char.
9536
9537 * Makerules (check-abi): Dump diff of symlist if the test
9538 fails.
9539
95402014-06-23 Roland McGrath <roland@hack.frob.com>
9541
9542 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9543 using abort.
9544
9545 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9546 Remove unused variable ST.
9547
95482014-06-23 Joseph Myers <joseph@codesourcery.com>
9549
9550 [BZ #16354]
9551 [BZ #17061]
9552 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9553 small arguments before calling __expm1.
9554 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9555 small arguments before calling __expm1f.
9556 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9557 small arguments before calling __expm1l.
9558 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9559 Likewise.
9560 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9561 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9562 spurious underflow for some cosh tests.
9563 * math/auto-libm-test-out: Regenerated.
9564 * sysdeps/i386/fpu/libm-test-ulps: Update.
9565
9566 [BZ #17050]
9567 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9568 (__ieee754_y1): Set errno if return value overflows.
9569 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9570 (__ieee754_y1f): Set errno if return value overflows.
9571 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9572 (__ieee754_y1l): Set errno if return value overflows.
9573 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9574 (__ieee754_y1l): Set errno if return value overflows.
9575 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9576 * math/auto-libm-test-out: Regenerated.
9577
9578 * math/gen-auto-libm-tests.c: Document use of
9579 ignore-zero-inf-sign.
9580 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9581 (input_flags): Add ignore-zero-inf-sign.
9582 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9583 * math/gen-libm-test.pl (generate_testfile): Handle
9584 ignore-zero-inf-sign.
9585 * math/auto-libm-test-in: Mark some cpow tests with
9586 ignore-zero-inf-sign and some with xfail-rounding.
9587 * math/auto-libm-test-out: Regenerated.
9588 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9589 * sysdeps/i386/fpu/libm-test-ulps: Update.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591
9592 [BZ #16315]
9593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9594 overflowing or underflowing operations take place with sign of
9595 result.
9596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9597 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9598 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9599 (__ieee754_pow): Recompute overflowing and underflowing results in
9600 original rounding mode.
9601 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9602 (__powl_helper): Allow negative argument X and scale negated value
9603 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9604 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9605 overflowing or underflowing operations take place with sign of
9606 result.
9607 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9608 Include <math.h>.
9609 * math/auto-libm-test-in: Add more tests of pow.
9610 * math/auto-libm-test-out: Regenerated.
9611 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9612 (pow_tonearest_test_data): Remove.
9613 (pow_test_tonearest): Likewise.
9614 (pow_towardzero_test_data): Likewise.
9615 (pow_test_towardzero): Likewise.
9616 (pow_downward_test_data): Likewise.
9617 (pow_test_downward): Likewise.
9618 (pow_upward_test_data): Likewise.
9619 (pow_test_upward): Likewise.
9620 (main): Don't call removed functions.
9621 * sysdeps/i386/fpu/libm-test-ulps: Update.
9622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623
96242014-06-23 Roland McGrath <roland@hack.frob.com>
9625
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9630 Moved ...
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9633 Moved ...
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9636 Moved ...
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9639 File removed.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9641 File removed.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9643 File removed.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9645 File removed.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9647 File removed.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9649 File removed.
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9651 File removed.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9653 File removed.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9655 File removed.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9657 File removed.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9659 File removed.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9661 File removed.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9663 Moved ...
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9666 Moved ...
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9668 ... here.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9670 Moved ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9673 Moved ...
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9676 Moved ...
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9679 Moved ...
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9682 Moved ...
9683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9685 Moved ...
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9688 Moved ...
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9692 ... here.
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9697 Moved ...
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9699 ... here.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9701 Moved ...
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9703 ... here.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9707 ... here.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9719 ... here.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9723 ... here.
9724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9725 Moved ...
9726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9734 Moved ...
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9737 Moved ...
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9739 ... here.
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9744 Moved ...
9745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9755 Moved ...
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9758 Moved ...
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9761 Moved ...
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9763 ... here.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9765 Moved ...
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9767 ... here.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9769 Moved ...
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9771 ... here.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9773 Moved ...
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9776 Moved ...
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9779 Moved ...
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9782 Moved ...
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9784 ... here.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9786 Moved ...
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9788 ... here.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9790 Moved ...
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9792 ... here.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9794 Moved ...
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9797 Moved ...
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9799
98002014-06-23 Will Newton <will.newton@linaro.org>
9801 Wilco <wdijkstr@arm.com>
9802
9803 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9804 implementation. Include get-rounding-mode.h.
9805 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9806 [!libc_feholdsetround_noex_ctx]: Define
9807 libc_feholdsetround_noex_ctx.
9808 [!libc_feholdsetround_noexf_ctx]: Define
9809 libc_feholdsetround_noexf_ctx.
9810 [!libc_feholdsetround_noexl_ctx]: Define
9811 libc_feholdsetround_noexl_ctx.
9812 (libc_feholdsetround_ctx): New function.
9813 (libc_feresetround_ctx): New function.
9814 (libc_feholdsetround_noex_ctx): New function.
9815 (libc_feresetround_noex_ctx): New function.
9816
98172014-06-23 Roland McGrath <roland@hack.frob.com>
9818
9819 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9820 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9821 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9822 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9823 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9824 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9825
9826 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9827 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9828 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9829 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9830 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9831 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9833 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9837 Moved ...
9838 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9839 ... here.
9840 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9852 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9854 Moved ...
9855 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9857 Moved ...
9858 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9862 Moved ...
9863 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9865 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9867 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9868 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9869 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9871 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9872 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9873 Moved ...
9874 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9875 ... here.
9876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9877 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9879 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9881 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9882 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9883 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9889 Moved ...
9890 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9891 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9892 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9896 Moved ...
9897 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9901 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9902
9903 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9904 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9905 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9908 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9920 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9924 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9925 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9926 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9927 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9930 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9931
99322014-06-23 Joseph Myers <joseph@codesourcery.com>
9933
9934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9935 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9936 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9937 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9938 (IPV6_PMTUDISC_INTERFACE): Likewise.
9939 (IPV6_PMTUDISC_OMIT): Likewise.
9940
99412014-06-23 Andreas Schwab <schwab@suse.de>
9942
9943 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9944 Remove unused errout label.
9945
99462014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9947
9948 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9949 macro: hardware supports Vector Crypto instructions.
9950
99512014-06-23 Will Newton <will.newton@linaro.org>
9952
9953 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9954 rather than __builtin_expect.
9955
9956 * elf/dl-lookup.c (undefined_msg): Remove variable.
9957 (_dl_lookup_symbol_x): Replace undefined_msg with string
9958 literal.
9959
9960 * elf/dl-lookup.c (do_lookup_unique): New function.
9961 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9962 to a separate function.
9963
99642014-06-23 Andreas Schwab <schwab@suse.de>
9965
9966 [BZ #17079]
9967 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9968 before reading the next line.
9969
99702014-06-23 Will Newton <will.newton@linaro.org>
9971
9972 * test-skeleton.c (signal_handler): Use printf and %m
9973 rather than perror. Use printf rather than fprintf to
9974 stderr. Use puts rather than fputs to stderr.
9975 (main): Likewise.
9976
99772014-06-22 Ludovic Courtès <ludo@gnu.org>
9978
9979 * nscd/nscd.c (thread_info_t): Remove typedef.
9980 (thread_info): Remove variable.
9981
99822014-06-21 Allan McRae <allan@archlinux.org>
9983
9984 * NEWS: Mention CVE-2014-4043.
9985
99862014-06-20 Roland McGrath <roland@hack.frob.com>
9987
9988 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9989 * nptl/smp.h: ... here.
9990
9991 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9992
9993 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9994 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9995 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9996 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9997
9998 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9999 * nptl/stack-aliasing.h: New file.
10000 * sysdeps/i386/i686/stack-aliasing.h: New file.
10001 * sysdeps/i386/i686/nptl/Makefile: File removed.
10002 * sysdeps/x86_64/stack-aliasing.h: New file.
10003 * sysdeps/x86_64/nptl/Makefile
10004 (CFLAGS-pthread_create.c): Variable removed.
10005
10006 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10007 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10008 old file.
10009 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10010 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10011 old file.
10012
100132014-06-21 Joseph Myers <joseph@codesourcery.com>
10014
10015 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10016 (__ASSUME_SIGFRAME_V2): Remove macro.
10017 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10018 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10019 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10020 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10021 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10022 Declare as function. Remove conditional macro definitions.
10023 (__default_rt_sa_restorer): Likewise.
10024 (__default_sa_restorer_v1): Remove declaration.
10025 (__default_sa_restorer_v2): Likewise.
10026 (__default_rt_sa_restorer_v1): Likewise.
10027 (__default_rt_sa_restorer_v2): Likewise.
10028 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10029 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10030 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10031
100322014-06-20 Roland McGrath <roland@hack.frob.com>
10033
10034 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10035 (libpthread-routines): Add sysdep.
10036 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10037 * sysdeps/unix/sysv/linux/sparc/Versions
10038 (libpthread: GLIBC_2.3.3): New version set.
10039 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10040 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10041 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10042 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10043 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10044 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10045 Moved ...
10046 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10047 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10048 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10049 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10050 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10051 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10052 * sysdeps/sparc/nptl/sem_init.c: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10054 * sysdeps/sparc/nptl/sem_post.c: ... here.
10055 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10056 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10058 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10060 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10061 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10062 (libpthread-routines): Add cpu_relax.
10063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10064 File removed.
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10066 (librt: GLIBC_2.3.3): New version set.
10067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10068 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10070 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10073 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10075 Moved ...
10076 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10078 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10080 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10082 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10084 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10086 Moved ...
10087 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10088 Update #include.
10089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10090 Moved ...
10091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10092 Update #include.
10093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10094 Moved ...
10095 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10096 Update #include.
10097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10098 Moved ...
10099 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10100 Update #include.
10101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10102 Moved ...
10103 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10104 Update #include.
10105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10106 Moved ...
10107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10108 Update #include.
10109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10110 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10116 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10118 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10120 Moved ...
10121 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10123 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10125 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10126
101272014-06-20 Joseph Myers <joseph@codesourcery.com>
10128
10129 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10130 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10131 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10132 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10133 * nscd/nscd.c: Likewise.
10134 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10135 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10136 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10137 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10138
10139 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10140 <kernel-features.h>.
10141 (init_mq_netlink): Remove conditional have_sock_cloexec
10142 definitions. Remove code conditional on have_sock_cloexec < 0.
10143 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10144 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10145 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10146 <kernel-features.h>.
10147 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10148 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10149
101502014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10151
10152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10153 Add tests for memset_chk and memset.
10154
10155 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10156 with AVX2_Usable.
10157
101582014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10159
10160 [BZ #16046]
10161 * elf/tst-dl-iter-static.c: New file.
10162 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10163
10164 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10165 error.
10166
101672014-06-20 Joseph Myers <joseph@codesourcery.com>
10168
10169 * sysdeps/unix/sysv/linux/kernel-features.h
10170 (__ASSUME_F_GETOWN_EX): Remove macro.
10171 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10172 <kernel-features.h>.
10173 (miss_F_GETOWN_EX): Remove variable or macro.
10174 (do_fcntl): Do not check miss_F_GETOWN_EX.
10175 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10176
10177 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10178 Remove macro.
10179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10180 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10181 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10182
10183 * sysdeps/unix/sysv/linux/kernel-features.h
10184 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10185 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10186 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10187 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10188
101892014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10190
10191 [BZ #17075]
10192 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10193 Fix calculation of the symbol's value.
10194 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10195 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10196 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10197 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10198 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10199 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10200 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10201 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10202 (modules-names): Add `tst-armtlsdescmod',
10203 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10204 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10205 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10206 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10207 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10208 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10209 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10210 ($(objpfx)tst-armtlsdescloc): New dependency.
10211 ($(objpfx)tst-armtlsdescextnow): Likewise.
10212 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10213 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10214 TLS scheme support.
10215 * sysdeps/arm/configure: Regenerate.
10216
102172014-06-20 Joseph Myers <joseph@codesourcery.com>
10218
10219 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10220 (__atfct_seterrno_2): Likewise.
10221 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10222 <kernel-features.h>.
10223 (__ASSUME_ATFCTS): Do not undefine and redefine.
10224 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10225 (__have_atfcts): Remove conditional definition.
10226 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10227 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10228 unreachable if [__ASSUME_ATFCTS].
10229 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10230 not undefine and redefine.
10231 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10232 <kernel-features.h>.
10233 (faccessat) [__NR_faccessat]: Make code unconditional.
10234 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10235 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10236 <kernel-features.h>.
10237 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10238 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10239 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10240 <kernel-features.h>.
10241 (fchownat) [__NR_fchownat]: Make code unconditional.
10242 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10243 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10244 <kernel-features.h>.
10245 (futimesat) [__NR_futimesat]: Make code unconditional.
10246 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10247 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10248 <kernel-features.h>.
10249 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10250 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10251 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10252 <kernel-features.h>.
10253 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10254 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10255 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10256 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10257 <kernel-features.h>.
10258 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10259 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10260 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10261 <kernel-features.h>.
10262 (linkat) [__NR_linkat]: Make code unconditional.
10263 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10264 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10265 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10266 <kernel-features.h>.
10267 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10268 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10269 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10270 <kernel-features.h>.
10271 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10272 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10273 * sysdeps/unix/sysv/linux/openat.c: Do not include
10274 <kernel-features.h>.
10275 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10276 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10277 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10278 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10279 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10280 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10281 <kernel-features.h>.
10282 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10283 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10284 result of INLINE_SYSCALL directly, not via int variable.
10285 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10286 <kernel-features.h>.
10287 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10288 (renameat) [__NR_renameat]: Make code unconditional.
10289 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10290 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10291 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10292 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10293 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10294 (__ASSUME_ATFCTS): Do not undefine and redefine.
10295 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10296 <kernel-features.h>.
10297 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10298 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10299 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10300 <kernel-features.h>.
10301 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10302 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10303 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10304 (__ASSUME_ATFCTS): Do not undefine and redefine.
10305 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10306 <kernel-features.h>.
10307 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10308 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10309 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10310 <kernel-features.h>.
10311 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10312 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10313
103142014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10317
103182014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10319
10320 [BZ #17069]
10321 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10322 constructed tree before returning error.
10323 * posix/bug-regexp36.c: Expand test case.
10324
103252014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10326
10327 [BZ #6803]
10328 * math/libm-test.inc (scalbln_test_date):
10329 Add errno expectations.
10330 * math/w_scalblnf.c: New File.
10331 Add wrapper which checks for setting errno to ERANGE.
10332 Add weak_alias for corresponding scalbln function.
10333 * math/w_scalbln.c: Likewise.
10334 * math/w_scalblnl.c: Likewise.
10335 * math/Makefile (libm-calls): Add w_scalbln.
10336 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10337 Remove weak_alias for corresponding scalbln function.
10338 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10342 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10343 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10344 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10345 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10346 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10347 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10348 Remove long_double_symbol for scalblnl function in libm, libc.
10349 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10350 Add wrapper which checks for setting errno to ERANGE.
10351 Add long_double_symbol for scalblnl function in libm, libc.
10352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10353 Remove long_double_symbol for scalblnl in libm.
10354 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10355 Add wrapper which checks for setting errno to ERANGE.
10356 Add long_double_symbol for scalblnl function in libm.
10357 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10358 Do not use wrapper because of own implementation.
10359
103602014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10363 3 bytes for __pad1 for x32.
10364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10365
103662014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10367 H.J. Lu <hongjiu.lu@intel.com>
10368
10369 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10370 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10371 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10372 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10373 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10374
103752014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10376
10377 [BZ #17069]
10378 * posix/regcomp.c (parse_expression): Deallocate partially
10379 constructed tree before returning error.
10380 * posix/Makefile.c (tests): Add bug-regex36.
10381 (generated): Add bug-regex36.mtrace.
10382 (tests-special): Add $(objpfx)bug-regex36-mem.out
10383 (bug-regex36-ENV): New variable.
10384 ($(objpfx)bug-regex36-mem.out): New rule.
10385 * posix/bug-regex36.c: New file.
10386
103872014-06-19 Will Newton <will.newton@linaro.org>
10388
10389 * malloc/malloc.c (systrim): If extra is zero then return
10390 early.
10391
103922014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10393
10394 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10395
103962014-06-19 Richard Earnshaw <rearnsha@arm.com>
10397
10398 * sysdeps/aarch64/strchr.S: New file.
10399
104002014-06-18 Joseph Myers <joseph@codesourcery.com>
10401
10402 [BZ #17022]
10403 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10404 from arguments -2 or below.
10405 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10406 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10407
104082014-06-18 Andreas Schwab <schwab@suse.de>
10409
10410 [BZ #17062]
10411 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10412 of a bracket expr not to run off the end of the string.
10413 * posix/Makefile (tests): Add tst-fnmatch3.
10414 * posix/tst-fnmatch3.c: New file.
10415
104162014-06-18 Joseph Myers <joseph@codesourcery.com>
10417
10418 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10419 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10420 [$(cross-compiling) = no]: Likewise.
10421 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10422 [$(cross-compiling) = no]: Likewise.
10423
104242014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10425
10426 [BZ #17031]
10427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10428 double, adjusted for any remainder from the high double.
10429 * math/libm-test.inc (nearbyint): Add tests.
10430 (rint): Likewise.
10431
104322014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433
10434 * nptl/sysdeps/powerpc/Makefile: Moved ...
10435 * sysdeps/powerpc/nptl/Makefile: ... here.
10436 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10437 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10438 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10439 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10440 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10441 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10442 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10443 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10444 * nptl/sysdeps/powerpc/tls.h: Moved ...
10445 * sysdeps/powerpc/nptl/tls.h: ... here.
10446
104472014-06-16 Joseph Myers <joseph@codesourcery.com>
10448
10449 [BZ #16681]
10450 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10451 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10452 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10453 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10454 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10455 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10456 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10457 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10458 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10459
104602014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10461
10462 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10463
104642014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10465
10466 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10467 defined operator.
10468
10469 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10470 $TIMEOUTFACTOR.
10471
104722014-06-16 Florian Weimer <fweimer@redhat.com>
10473
10474 [BZ #17058]
10475 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10476 non-executed part of the test.
10477
104782014-06-16 Andreas Schwab <schwab@suse.de>
10479
10480 * string/bits/string2.h (strdup, strndup): Update feature guard.
10481
104822014-06-14 David S. Miller <davem@davemloft.net>
10483
10484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10485
104862014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10487
10488 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10489 that was previously under [RESET_PID].
10490 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10491
10492 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10493 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10494 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10495 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10496 (__libc_vfork): New strong alias.
10497 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10498
104992014-06-14 Andi Kleen <ak@linux.intel.com>
10500
10501 * sysdeps/generic/elide.h: New file.
10502
105032014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10504
10505 * Makefile (installed-headers): Adjust path of pthread.h header.
10506
105072014-06-13 Roland McGrath <roland@hack.frob.com>
10508
10509 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10510 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10511 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10512 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10513
10514 * nptl/sysdeps/s390/Makefile: Moved ...
10515 * sysdeps/s390/nptl/Makefile: ... here.
10516 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10517 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10518 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10519 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10520 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10521 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10522 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10523 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10524 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10525 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10526 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10527 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10528 * nptl/sysdeps/s390/tls.h: Moved ...
10529 * sysdeps/s390/nptl/tls.h: ... here.
10530
10531 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10532 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10533
105342014-06-13 David S. Miller <davem@davemloft.net>
10535
10536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10539 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10543 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10544 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10545 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10546 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10547 Remove RESET_PID cpp guards.
10548 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10549 Remove RESET_PID cpp guards.
10550 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10551
105522014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10553
10554 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10555 __sp to uintptr_t.
10556
105572014-06-13 Andi Kleen <ak@linux.intel.com>
10558
10559 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10560 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10561 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10562 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10563 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10565 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10566 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10567 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10568 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10569 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10571 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10572 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10573 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10574 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10575 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10576 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10577 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10578 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10579
10580 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10581 (pthread_rwlock_rdlock): Add elision.
10582 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10583 (pthread_rwlock_wrlock): Add elision.
10584 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10585 (pthread_rwlock_trywrlock): Add elision.
10586 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10587 (pthread_rwlock_tryrdlock): Add elision.
10588 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10589 (pthread_rwlock_tryrdlock): Add elision unlock.
10590 * nptl/sysdeps/pthread/pthread.h:
10591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10592 (PTHREAD_RWLOCK_INITIALIZER,
10593 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10594 Handle new elision field.
10595 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10596 * sysdeps/arm/nptl/bits/pthreadtypes.h
10597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10598 * sysdeps/sh/nptl/bits/pthreadtypes.h
10599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10600 * sysdeps/tile/nptl/bits/pthreadtypes.h
10601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10602 * sysdeps/a/nptl/bits/pthreadtypes.h
10603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10604 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10606 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10607 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10608 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10610 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10611 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10612 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10613 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10614 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10616 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10617 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10618 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10619 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10620 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10621 (elision_init): Set try_xbegin to zero when no RTM.
10622 * sysdeps/x86/nptl/bits/pthreadtypes.h
10623 (pthread_rwlock_t): Change __pad1 to __rwelision.
10624 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10625
106262014-06-13 Andi Kleen <ak@linux.intel.com>
10627
10628 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10629 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10630 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10631 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10632
106332014-06-13 Meador Inge <meadori@codesourcery.com>
10634
10635 [BZ #16996]
10636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10637 that the cached result has been set before returning it.
10638
106392014-06-12 Roland McGrath <roland@hack.frob.com>
10640
10641 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10642 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10643 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10644 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10645 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10646 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10647
10648 * nptl/sysdeps/sparc/Makefile: Moved ...
10649 * sysdeps/sparc/nptl/Makefile: ... here.
10650 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10651 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10652 * nptl/sysdeps/sparc/tls.h: Moved ...
10653 * sysdeps/sparc/nptl/tls.h: ... here.
10654 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10655 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10656 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10657 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10658 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10659 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10660 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10661 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10662 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10663 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10664 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10665 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10666 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10667 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10668 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10669 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10670 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10672 Update #include.
10673 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10674 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10675 Update #include.
10676 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10678 Update #include.
10679 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10680 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10681 Update #include.
10682
10683 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10684
10685 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10686 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10687
10688 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10689 (struct list_links): Type removed.
10690 (struct thread_node, struct timer_node): Replace struct list_links
10691 with struct list_head.
10692 (list_unlink_ip): Likewise.
10693 * sysdeps/pthread/timer_routines.c
10694 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10695 (list_append, list_insbefore): Likewise.
10696 (list_init): Function removed.
10697 (thread_init, init_module): Use INIT_LIST_HEAD instead.
10698 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10699 * sysdeps/pthread/Makefile: ... here, new file.
10700
10701 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10702 * sysdeps/nptl/Implies: ... here.
10703 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10704 * nptl/sysdeps/pthread/list.h: Moved ...
10705 * include/list.h: ... here.
10706 * nptl/sysdeps/pthread/createthread.c: Moved ...
10707 * nptl/createthread.c: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10709 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10710 * nptl/pt-longjmp.c: ... here.
10711 * nptl/sysdeps/pthread/Makefile: Moved ...
10712 * sysdeps/nptl/Makefile: ... here.
10713 * nptl/sysdeps/pthread/Subdirs: Moved ...
10714 * sysdeps/nptl/Subdirs: ... here.
10715 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10716 * sysdeps/nptl/aio_misc.h: ... here.
10717 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10718 * sysdeps/nptl/bits/libc-lock.h: ... here.
10719 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10720 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10721 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10722 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10723 * nptl/sysdeps/pthread/configure: Moved ...
10724 * sysdeps/nptl/configure: ... here.
10725 * nptl/sysdeps/pthread/configure.ac: Moved ...
10726 * sysdeps/nptl/configure.ac: ... here.
10727 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10728 * sysdeps/nptl/gai_misc.h: ... here.
10729 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10730 * sysdeps/nptl/librt-cancellation.c: ... here.
10731 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10732 * sysdeps/nptl/malloc-machine.h: ... here.
10733 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10734 * sysdeps/nptl/pthread-functions.h: ... here.
10735 * nptl/sysdeps/pthread/pthread.h: Moved ...
10736 * sysdeps/nptl/pthread.h: ... here.
10737 * nptl/sysdeps/pthread/setxid.h: Moved ...
10738 * sysdeps/nptl/setxid.h: ... here.
10739 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10740 * sysdeps/nptl/sigfillset.c: ... here.
10741 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10742 * sysdeps/nptl/tcb-offsets.h: ... here.
10743 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10744 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10745 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10746 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10747 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10748 * sysdeps/pthread/allocalim.h: ... here.
10749 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10750 * sysdeps/pthread/bits/sigthread.h: ... here.
10751 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10752 * sysdeps/pthread/flockfile.c: ... here.
10753 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10754 * sysdeps/pthread/ftrylockfile.c: ... here.
10755 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10756 * sysdeps/pthread/funlockfile.c: ... here.
10757 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10758 * sysdeps/pthread/posix-timer.h: ... here.
10759 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10760 * sysdeps/pthread/timer_create.c: ... here.
10761 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10762 * sysdeps/pthread/timer_delete.c: ... here.
10763 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10764 * sysdeps/pthread/timer_getoverr.c: ... here.
10765 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10766 * sysdeps/pthread/timer_gettime.c: ... here.
10767 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10768 * sysdeps/pthread/timer_routines.c: ... here.
10769 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10770 * sysdeps/pthread/timer_settime.c: ... here.
10771 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10772 * sysdeps/pthread/tst-timer.c: ... here.
10773 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10774 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10775
10776 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10777 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10778
10779 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10780 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10781 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10782 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10783 Update #include target.
10784 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10785 * sysdeps/i386/i686/nptl/Makefile: ... here.
10786 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10787 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10788 Update #include target.
10789 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10790 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10791 * nptl/sysdeps/i386/Makefile: Moved ...
10792 * sysdeps/i386/nptl/Makefile: ... here.
10793 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10794 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10795 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10796 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10797 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10798 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10799 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10800 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10801 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10802 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10803 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10804 * nptl/sysdeps/i386/tls.h: Moved ...
10805 * sysdeps/i386/nptl/tls.h: ... here.
10806
10807 * sysdeps/sh/Makefile [$(subdir) = csu]
10808 (gen-as-const-headers): Add tcb-offsets.sym.
10809 * nptl/sysdeps/sh/Makefile: File removed.
10810 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10811 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10812 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10813 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10814 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10815 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10816 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10817 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10818 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10819 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10820 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10821 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10822 * nptl/sysdeps/sh/tls.h: Moved ...
10823 * sysdeps/sh/nptl/tls.h: ... here.
10824 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10825 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10827 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10829 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10830 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10831 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10832 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10833 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10835 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10837 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10839 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10841 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10843 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10844 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10845 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10848 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10849 Moved ...
10850 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10851 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10852 Moved ...
10853 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10854 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10855 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10856 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10857 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10858 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10859 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10860 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10861 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10862 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10863 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10864 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10865 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10866 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10867 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10868 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10869 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10871 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10872
108732014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10874
10875 * posix/spawn_faction_addopen.c: Include string.h.
10876
108772014-06-11 Roland McGrath <roland@hack.frob.com>
10878
10879 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10880 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10881 * nptl/sysdeps/x86_64/Makefile: Moved ...
10882 * sysdeps/x86_64/nptl/Makefile: ... here.
10883 * nptl/sysdeps/x86_64/configure: Moved ...
10884 * sysdeps/x86_64/nptl/configure: ... here.
10885 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10886 * sysdeps/x86_64/nptl/configure.ac: ... here.
10887 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10888 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10889 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10890 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10891 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10892 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10893 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10894 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10895 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10896 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10897 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10898 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10899 * nptl/sysdeps/x86_64/tls.h: Moved ...
10900 * sysdeps/x86_64/nptl/tls.h: ... here.
10901 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10902 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10903 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10904 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10905
10906 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10907
109082014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10909
10910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10911
109122014-06-11 Joseph Myers <joseph@codesourcery.com>
10913
10914 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10915 type.
10916 [POSIX] (off_t): Likewise.
10917 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10918 [POSIX] (S_ISBLK): Require macro.
10919 [POSIX] (S_ISCHR): Likewise.
10920 [POSIX] (S_ISDIR): Likewise.
10921 [POSIX] (S_ISFIFO): Likewise.
10922 [POSIX] (S_ISREG): Likewise.
10923 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10924 optional-macro.
10925 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10926 type.
10927 [POSIX] (time_t): Likewise.
10928 [POSIX] (timer_t): Likewise.
10929
109302014-06-11 Florian Weimer <fweimer@redhat.com>
10931
10932 [BZ #17048]
10933 * posix/spawn_int.h (struct __spawn_action): Make the path string
10934 non-const to support deallocation.
10935 * posix/spawn_faction_addopen.c
10936 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10937 * posix/spawn_faction_destroy.c
10938 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10939 path in all spawn_do_open actions.
10940 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10941 posix_spawn_file_actions_addopen.
10942
109432014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10944
10945 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10946 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10947 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10948 conditional code always true.
10949 (__libc_vfork): New alias.
10950
109512014-06-11 Roland McGrath <roland@hack.frob.com>
10952
10953 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10954 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10955
10956 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10957
10958 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10959 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10960
10961 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10962 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10963
10964 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10965 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10966
109672014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10968
10969 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10970 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10971 multiarch strcmp for PPC64.
10972 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10973 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10975 multiarch optimizations.
10976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10977 (__libc_ifunc_impl_list): Likewise.
10978
109792014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10980
10981 * benchtests/scripts/validate_benchout.py: New script.
10982 * benchtests/Makefile (bench-func): Call it.
10983 * benchtests/scripts/benchout.schema.json: New file.
10984
109852014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10986
10987 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10988 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10989 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10990 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10991 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10992 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10993 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10994 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10995 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10996 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10997 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10998 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10999 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11000 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11001 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11002 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11004 Moved ...
11005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11006 ... here.
11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11008 Moved ...
11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11011 Moved ...
11012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11013 ... here.
11014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11015 Moved ...
11016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11017 ... here.
11018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11019 Moved ...
11020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11022 Moved ...
11023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11024 ... here.
11025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11026 Moved ...
11027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11028 ... here.
11029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11030 Moved ...
11031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11033 Moved ...
11034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11035 ... here.
11036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11037 Moved ...
11038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11039 ... here.
11040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11041 Moved ...
11042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11043 ... here.
11044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11045 Moved ...
11046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11048 Moved ...
11049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11050 ... here.
11051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11052 Moved ...
11053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11054 ... here.
11055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11056 Moved ...
11057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11058 ... here.
11059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11060 Moved ...
11061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11063 Moved ...
11064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11065 ... here.
11066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11067 Moved ...
11068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11069 ... here.
11070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11071 Moved ...
11072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11074 Moved ...
11075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11076 ... here.
11077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11078 Moved ...
11079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11081 Moved ...
11082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11084 Moved ...
11085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11086 ... here.
11087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11090 ... here.
11091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11092 Moved ...
11093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11094 ... here.
11095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11096 Moved ...
11097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11099 Moved ...
11100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11101 ... here.
11102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11103 Moved ...
11104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11105 ... here.
11106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11107 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11108 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11109 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11110 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11111 Moved ...
11112 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11113 ... here.
11114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11115 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11116 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11117 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11118 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11119 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11120 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11121 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11123 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11125 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11126 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11127 Moved ...
11128 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11129 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11130 Moved ...
11131 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11133 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11135 Moved ...
11136 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11140 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11141 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11142 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11143
111442014-06-10 Wilco <wdijkstr@arm.com>
11145
11146 * math/test-fenv-return.c: New file.
11147 * math/Makefile: Add new test test-fenv-return.
11148
111492014-06-10 Joseph Myers <joseph@codesourcery.com>
11150
11151 [BZ #17042]
11152 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11153 when x - 1 is zero.
11154 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11155 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11156 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11157 0.0L for an argument of 1.0L.
11158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11159 Likewise.
11160 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11161 value when x - 1 is zero.
11162 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11163 * sysdeps/i386/fpu/libm-test-ulps: Update.
11164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11165
111662014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11167
11168 [BZ #15119]
11169 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11170
111712014-06-09 Roland McGrath <roland@hack.frob.com>
11172
11173 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11174 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11175
111762014-06-09 Roland McGrath <roland@hack.frob.com>
11177
11178 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11179 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11180
11181 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11182 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11183
11184 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11185 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11186
11187 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11188 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11189
11190 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11191 if not already defined.
11192 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11193 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11194 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11195 (TLS_INIT_TP): Use it.
11196 (TLS_DEFINE_INIT_TP): New macro.
11197 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11198
111992014-06-09 Joseph Myers <joseph@codesourcery.com>
11200
11201 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11202 constant.
11203 [POSIX] (IXANY): Likewise.
11204 [POSIX] (OLCUC): Likewise.
11205 [POSIX || POSIX2008] (CBAUD): Do not allow.
11206 [POSIX || POSIX2008] (DEFECHO): Likewise.
11207 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11208 [POSIX || POSIX2008] (ECHOKE): Likewise.
11209 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11210 [POSIX || POSIX2008] (EXTA): Likewise.
11211 [POSIX || POSIX2008] (EXTB): Likewise.
11212 [POSIX || POSIX2008] (FLUSHO): Likewise.
11213 [POSIX || POSIX2008] (LOBLK): Likewise.
11214 [POSIX || POSIX2008] (PENDIN): Likewise.
11215 [POSIX || POSIX2008] (SWTCH): Likewise.
11216 [POSIX || POSIX2008] (VDISCARD): Likewise.
11217 [POSIX || POSIX2008] (VDSUSP): Likewise.
11218 [POSIX || POSIX2008] (VLNEXT): Likewise.
11219 [POSIX || POSIX2008] (VREPRINT): Likewise.
11220 [POSIX || POSIX2008] (VSTATUS): Likewise.
11221 [POSIX || POSIX2008] (VWERASE): Likewise.
11222 (B*): Change to B[0123456789]*.
11223 * conform/data/time.h-data [POSIX || UNIX98]
11224 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11225 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11226 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11227 [POSIX] (tm_*): Do not allow.
11228
112292014-06-07 Joseph Myers <joseph@codesourcery.com>
11230
11231 * Makefile (install): Don't set LANGUAGE.
11232 * Makefile.in (install): Likewise.
11233 * assert/Makefile (test-assert-ENV): Remove variable.
11234 (test-assert-perr-ENV): Likewise.
11235 * elf/Makefile (neededtest4-ENV): Likewise.
11236 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11237 [$(cross-compiling) = no]: Don't set LANGUAGE.
11238 * io/ftwtest-sh (LANG): Remove variable.
11239 * libio/Makefile (tst-widetext-ENV): Likewise.
11240 * manual/install.texi (Running make install): Don't refer to
11241 environment settings for make install.
11242 * INSTALL: Regenerated.
11243 * nptl/tst-tls6.sh: Don't set LANG.
11244 * posix/globtest.sh (LANG): Remove variable.
11245 * string/Makefile (tester-ENV): Likewise.
11246 (inl-tester-ENV): Likewise.
11247 (noinl-tester-ENV): Likewise.
11248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11249 [$(cross-compiling) = no]: Don't set LANGUAGE.
11250 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11251 without explicit environment settings.
11252
112532014-06-06 Roland McGrath <roland@hack.frob.com>
11254
11255 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11256 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11258 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11259
112602014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11261
11262 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11263 other files in the crypt directory.
11264 * crypt/crypt.c: Remove duplicate includes.
11265 * crypt/crypt-entry.c: Likewise.
11266 * crypt/crypt_util.c: Likewise.
11267
112682014-06-06 Joseph Myers <joseph@codesourcery.com>
11269
11270 * Makeconfig (run-program-env): New variable.
11271 (run-program-prefix-before-env): Likewise.
11272 (run-program-prefix-after-env): Likewise.
11273 (run-program-prefix): Define in terms of new variables.
11274 (built-program-cmd-before-env): New variable.
11275 (built-program-cmd-after-env): Likewise.
11276 (built-program-cmd): Define in terms of new variables.
11277 (test-program-prefix-before-env): New variable.
11278 (test-program-prefix-after-env): Likewise.
11279 (test-program-prefix): Define in terms of new variables.
11280 (test-program-cmd-before-env): New variable.
11281 (test-program-cmd-after-env): Likewise.
11282 (test-program-cmd): Define in terms of new variables.
11283 * Rules (make-test-out): Use $(run-program-env).
11284 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11285 (help): Do not mention environment variables. Mention
11286 --timeoutfactor option.
11287 (timeoutfactor): New variable.
11288 (blacklist_exports): Remove function.
11289 (exports): Remove variable.
11290 (command): Do not include ${exports}.
11291 * manual/install.texi (Configuring and compiling): Do not mention
11292 test wrappers preserving environment variables. Mention that last
11293 assignment to a variable must take precedence.
11294 * INSTALL: Regenerated.
11295 * benchtests/Makefile (run-bench): Use $(run-program-env).
11296 * catgets/Makefile ($(objpfx)test1.cat): Use
11297 $(built-program-cmd-before-env), $(run-program-env) and
11298 $(built-program-cmd-after-env).
11299 ($(objpfx)test2.cat): Do not specify environment variables
11300 explicitly.
11301 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11302 $(run-program-env) and $(built-program-cmd-after-env).
11303 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11304 $(run-program-env) and $(test-program-cmd-after-env).
11305 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11306 explicitly.
11307 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11308 run_program_env and test_program_cmd_after_env arguments.
11309 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11310 * elf/tst-pathopt.sh: Use run_program_env argument.
11311 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11312 $(test-wrapper-env) and $(run-program-env).
11313 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11314 run_program_env arguments.
11315 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11316 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11317 $(test-program-prefix-before-env), $(run-program-env) and
11318 $(test-program-prefix-after-env).
11319 ($(objpfx)tst-gettext2.out): Likewise.
11320 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11321 run_program_env and test_program_prefix_after_env arguments.
11322 * intl/tst-gettext2.sh: Likewise.
11323 * intl/tst-gettext4.sh: Do not set environment variables
11324 explicitly.
11325 * intl/tst-gettext6.sh: Likewise.
11326 * intl/tst-translit.sh: Likewise.
11327 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11328 $(test-program-prefix-before-env), $(run-program-env) and
11329 $(test-program-prefix-after-env).
11330 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11331 run_program_env and test_program_prefix_after_env arguments.
11332 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11333 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11334 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11335 explicitly with each use of ${test_wrapper_env}.
11336 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11337 $(test-program-prefix-before-env), $(run-program-env) and
11338 $(test-program-prefix-after-env).
11339 * posix/tst-getconf.sh: Do not set environment variables
11340 explicitly.
11341 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11342 run_program_env and test_program_prefix_after_env arguments.
11343 * stdio-common/tst-printf.sh: Do not set environment variables
11344 explicitly.
11345 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11346 $(test-program-prefix-before-env), $(run-program-env) and
11347 $(test-program-prefix-after-env).
11348 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11349 run_program_env and test_program_prefix_after_env arguments.
11350 Split $test calls into $test_pre and $test.
11351 * timezone/Makefile (build-testdata): Use
11352 $(built-program-cmd-before-env), $(run-program-env) and
11353 $(built-program-cmd-after-env).
11354
113552014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11356
11357 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11358 strlen for non SHARED builds.
11359
113602014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11361
11362 * nptl/allocatestack.c (check_list): Inlined function...
11363 (__reclaim_stacks): ... here.
11364
113652014-06-05 Ondřej Bílka <neleai@seznam.cz>
11366
11367 [BZ #15698]
11368 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11369 memory overrun.
11370
113712014-06-05 Joseph Myers <joseph@codesourcery.com>
11372
11373 * Rules (make-test-out): Include
11374 LOCPATH=$(common-objpfx)localedata in default environment.
11375 * debug/Makefile (tst-chk1-ENV): Remove variable.
11376 (tst-chk2-ENV): Likewise.
11377 (tst-chk3-ENV): Likewise.
11378 (tst-chk4-ENV): Likewise.
11379 (tst-chk5-ENV): Likewise.
11380 (tst-chk6-ENV): Likewise.
11381 (tst-lfschk1-ENV): Likewise.
11382 (tst-lfschk2-ENV): Likewise.
11383 (tst-lfschk3-ENV): Likewise.
11384 (tst-lfschk4-ENV): Likewise.
11385 (tst-lfschk5-ENV): Likewise.
11386 (tst-lfschk6-ENV): Likewise.
11387 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11388 (tst-iconv7-ENV): Likewise.
11389 * intl/Makefile (LOCPATH-ENV): Likewise.
11390 (tst-codeset-ENV): Likewise.
11391 (tst-gettext3-ENV): Likewise.
11392 (tst-gettext5-ENV): Likewise.
11393 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11394 (tst-fopenloc-ENV): Likewise.
11395 (tst-fgetws-ENV): Remove variable.
11396 (tst-ungetwc1-ENV): Likewise.
11397 (tst-ungetwc2-ENV): Likewise.
11398 (bug-ungetwc2-ENV): Likewise.
11399 (tst-swscanf-ENV): Likewise.
11400 (bug-ftell-ENV): Likewise.
11401 (tst-fgetwc-ENV): Likewise.
11402 (tst-fseek-ENV): Likewise.
11403 (tst-ftell-partial-wide-ENV): Likewise.
11404 (tst-ftell-active-handler-ENV): Likewise.
11405 (tst-ftell-append-ENV): Likewise.
11406 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11407 (tst-regexloc-ENV): Likewise.
11408 (bug-regex1-ENV): Likewise.
11409 (tst-regex-ENV): Likewise.
11410 (tst-regex2-ENV): Likewise.
11411 (bug-regex5-ENV): Likewise.
11412 (bug-regex6-ENV): Likewise.
11413 (bug-regex17-ENV): Likewise.
11414 (bug-regex18-ENV): Likewise.
11415 (bug-regex19-ENV): Likewise.
11416 (bug-regex20-ENV): Likewise.
11417 (bug-regex22-ENV): Likewise.
11418 (bug-regex23-ENV): Likewise.
11419 (bug-regex25-ENV): Likewise.
11420 (bug-regex26-ENV): Likewise.
11421 (bug-regex30-ENV): Likewise.
11422 (bug-regex32-ENV): Likewise.
11423 (bug-regex33-ENV): Likewise.
11424 (bug-regex34-ENV): Likewise.
11425 (bug-regex35-ENV): Likewise.
11426 (tst-rxspencer-ENV): Likewise.
11427 (tst-rxspencer-no-utf8-ENV): Likewise.
11428 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11429 (tst-sscanf-ENV): Likewise.
11430 (tst-swprintf-ENV): Likewise.
11431 (tst-swscanf-ENV): Likewise.
11432 (test-vfprintf-ENV): Likewise.
11433 (scanf13-ENV): Likewise.
11434 (bug14-ENV): Likewise.
11435 (tst-grouping-ENV): Likewise.
11436 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11437 (tst-strtod3-ENV): Likewise.
11438 (tst-strtod4-ENV): Likewise.
11439 (tst-strtod5-ENV): Likewise.
11440 (testmb2-ENV): Likewise./
11441 * string/Makefile (tst-strxfrm-ENV): Likewise.
11442 (tst-strxfrm2-ENV): Likewise.
11443 (bug-strcoll1-ENV): Likewise.
11444 (test-strcasecmp-ENV): Likewise.
11445 (test-strncasecmp-ENV): Likewise.
11446 * time/Makefile (tst-strptime-ENV): Likewise.
11447 (tst-ftime_l-ENV): Likewise.
11448 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11449 (tst-mbrtowc-ENV): Likewise.
11450 (tst-wcrtomb-ENV): Likewise.
11451 (tst-mbrtowc2-ENV): Likewise.
11452 (tst-c16c32-1-ENV): Likewise.
11453 (tst-mbsnrtowcs-ENV): Likewise.
11454
114552014-06-05 Ondřej Bílka <neleai@seznam.cz>
11456
11457 * manual/resource.texi (How to get information about the memory
11458 subsystem?): Fix typo.
11459 Reported by Peon de la Parra Ivan <peon@keba.com>
11460
114612014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11462
11463 [BZ #16882]
11464 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11465 (pthread_spin_lock): Branch out of spin loop to proper location.
11466 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11467 (pthread_spin_lock): Likewise.
11468
11469 * nptl/tst-spin4.c: New test.
11470 * nptl/Makefile (tests): Add tst-spin4.
11471
114722014-06-03 Andreas Schwab <schwab@suse.de>
11473
11474 [BZ #15946]
11475 * resolv/res_send.c (send_dg): Reload file descriptor after
11476 calling reopen.
11477
114782014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11479
11480 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11481
114822014-06-03 Richard Henderson <rth@redhat.com>
11483
11484 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11485 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11486 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11487 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11488 in the SAVE_PID block.
11489 (__libc_vfork): New alias.
11490 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11491
11492 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11493 child in registers, not on the stack. Remove RESET_PID conditionals.
11494 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11495
114962014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11497
11498 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11499
115002014-06-03 Wilco <wdijkstr@arm.com>
11501
11502 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11503 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11504 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11505 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11506 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11507 Likewise.
11508
115092014-06-03 Wilco <wdijkstr@arm.com>
11510
11511 * sysdeps/aarch64/fpu/math_private.h
11512 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11513 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11514 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11515 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11516 Fix declarations.
11517
115182014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11519
11520 * crypt/crypt-private.h: Include ufc-crypt.h.
11521 (__b64_from_24bit): Declare extern.
11522 * crypt/crypt_util.c(__b64_from_24bit): New function.
11523 (b64t): New static const variable.
11524 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11525 (b64t): Remove variable.
11526 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11527 * crypt/sha256-crypt.c: Include crypt-private.h.
11528 (b64t): Remove variable.
11529 (__sha256_crypt_r): Remove b64_from_24bit and replace
11530 with __b64_from_24bit.
11531 * crypt/sha512-crypt.c: Likewise.
11532
115332014-06-02 Roland McGrath <roland@hack.frob.com>
11534
11535 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11536 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11537 Label the code __libc_vfork rather than __vfork.
11538 [!NOT_IN_libc] (vfork): Define as weak alias.
11539 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11540 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11541 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11542
115432014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11544
11545 * malloc/malloc.c (malloc_info): Fix format specifier for
11546 n_mmaps.
11547
115482014-06-02 Wilco <wdijkstr@arm.com>
11549
11550 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11551 FPCR write.
11552
115532014-06-02 Wilco <wdijkstr@arm.com>
11554
11555 [BZ #17009]
11556 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11557 Rewrite to reduce FPCR/FPSR accesses.
11558
115592014-06-01 David S. Miller <davem@davemloft.net>
11560
11561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11562
115632014-05-31 David S. Miller <davem@davemloft.net>
11564
11565 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11566 to occur in round to nearest mode when |x| >= 2.0
11567
115682014-05-30 Richard Henderson <rth@twiddle.net>
11569
11570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11571 (PSEUDO_RET_NOERRNO): Remove.
11572 (ret): Don't redefine.
11573 (ret_NOERRNO): Define in terms of ret.
11574 (ret_ERRVAL): Likewise.
11575
11576 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11577 use of PSEUDO_RET; perform the error check directly.
11578
115792014-05-30 Marko Myllynen <myllynen@redhat.com>
11580
11581 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11582 with __int128_t.
11583
115842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
11586 * malloc/malloc (malloc_info): Fix formatting.
11587
115882014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11589 Roland McGrath <roland@hack.frob.com>
11590
11591 * malloc/malloc (malloc_info): Also print mmapped statistics.
11592
115932014-05-30 Roland McGrath <roland@hack.frob.com>
11594
11595 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11596 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11597
115982014-05-30 Ondřej Bílka <neleai@seznam.cz>
11599
11600 * malloc/malloc.c (malloc_info): Inline mi_arena.
11601
116022014-05-29 Richard Henderson <rth@twiddle.net>
11603
11604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11605 Remove comma before expanding ASM_ARGS_##nr.
11606 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11607 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11608 of ASM_ARGS_##nr.
11609 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11610 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11611 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11612 (ASM_ARGS_1): Add leading comma.
11613
11614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11615 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11616 to __errno_location.
11617 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11618 Remove the expected plt for __errno_location.
11619
11620 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11621 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11622 call to __read_tp.
11623
11624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11625 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11626 it and break it down.
11627 (DOCARGS_0, DOCARGS_1): Do nothing.
11628 (DOCARGS_2): Update to store into the new stack frame.
11629 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11630 (UNDOCARGS_1): Update to restore from the new stack frame.
11631 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11632 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11633
11634 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11635 (SINGLE_THREAD_P): New parameter for result regno.
11636 (PSEUDO): Update to match; use cbz instead of beq.
11637
11638 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11639 Use ENTRY to define the _nocancel entry point. Share the syscall
11640 and syscall error check paths with the cancel path.
11641 (PSEUDO_END): New.
11642
11643 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11644 whitespace; tabs before and after asm mnemonics.
11645
116462014-05-29 Eric Wong <normalperson@yhbt.net>
11647
11648 [BZ #15132]
11649 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11650 Call fstat64 or stat64 internally, depending on arguments passed.
11651 Replace stat buffer argument with file descriptor argument.
11652 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11653 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11654 Pass fd to __internal_statvfs instead of calling fstat64.
11655 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11656 Pass fd to __internal_statvfs64 instead of calling fstat64.
11657 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11658 Pass -1 to __internal_statvfs instead of calling stat64.
11659 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11660 Pass -1 to __internal_statvfs64 instead of calling stat64.
11661
116622014-05-28 Roland McGrath <roland@hack.frob.com>
11663
11664 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11665 that was previously under [RESET_PID].
11666 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11667
11668 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11669 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11670
116712014-05-27 Roland McGrath <roland@hack.frob.com>
11672
11673 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11674
11675 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11676 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11677
116782014-05-27 Ondřej Bílka <neleai@seznam.cz>
11679
11680 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11681
116822014-05-27 Andreas Schwab <schwab@suse.de>
11683
11684 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11685 TLS_INIT_TP macro.
11686 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11687 * elf/rtld.c (init_tls, dl_main): Likewise.
11688 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11689 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11690 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11691 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11692 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11693 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11694 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11695 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11696 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11697 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11698 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11699 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11700 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11701 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11702 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11703 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11704 * sysdeps/generic/tls.h: Update description.
11705
117062014-05-27 Will Newton <will.newton@linaro.org>
11707
11708 [BZ #16990]
11709 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11710 and restore r2 rather than just restoring.
11711
117122014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11713
11714 [BZ #16724]
11715 * libio/tst-ftell-append.c: New test case.
11716 * libio/Makefile (tests): Add test case.
11717 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11718 append mode.
11719 * libio/wfileops.c (do_ftell_wide): Likewise.
11720
117212014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722
11723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11724
11725 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11726 ...
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11729 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11730 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11731 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11732 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11733 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11734 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11736 Moved ...
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11739 Moved ...
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11742 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11744 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11745 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11746 ...
11747 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11748 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11749 Moved ...
11750 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11751 here.
11752 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11753 ...
11754 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11755 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11756 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11757
11758 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11759 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11760 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11761 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11762
11763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11764 merge into ...
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11767 ...
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11770 ...
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11773 Moved ...
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11775 here.
11776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11777 Moved ...
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11779 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11780 Moved ...
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11782
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11784 conditional [RESET_PID].
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11787 removed.
11788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11789 removed.
11790
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11792 <tcb-offsets.h>.
11793 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11794 (__libc_vfork): New strong alias.
11795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11796 removed.
11797 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11798 Removed.
11799
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11801 <tcb-offsets.h>.
11802 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11803 (__libc_vfork): New strong alias.
11804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11805 removed.
11806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11807 removed.
11808
118092014-05-26 Carlos O'Donell <carlos@redhat.com>
11810
11811 * malloc/malloc.c (mi_arena): New function.
11812 (malloc_info): Remove nested function mi_arena. Call non-nosted
11813 function mi_arena.
11814
118152014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11816
11817 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11818 by insrwi.
11819 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11820 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11821 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11822 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11823 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11824 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11826
118272014-05-26 Andreas Schwab <schwab@suse.de>
11828
11829 [BZ #16984]
11830 * locale/programs/repertoire.c (repertoire_read): Add slash
11831 between I18NPATH element and file name.
11832 * locale/programs/locfile.c (locfile_read): Likewise.
11833
118342014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11835
11836 * nptl/pthread_mutexattr_settype.c
11837 (__pthread_mutexattr_settype):
11838 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11839
118402014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11841
11842 * nptl/tst-mutex5 (do_test):
11843 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11844
118452014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
11847 * benchtests/README: Document 'init' directive.
11848 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11849 BENCH_INIT.
11850 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11851 (parse_file): Recognize 'init' directive.
11852
118532014-05-26 Kyle McMartin <kyle@redhat.com>
11854
11855 [BZ #16796]
11856 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11857 alignment of struct pthread.
11858
118592014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11860
11861 [BZ #16878]
11862 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11863 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11864 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11865 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11866
118672014-05-25 Richard Henderson <rth@twiddle.net>
11868
11869 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11870 (SINGLE_THREAD_P_PIC): Remove.
11871 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11872 (SINGLE_THREAD_P_PIC): Remove.
11873
11874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11875 branch to syscall error ...
11876 (PSEUDO): ... here.
11877 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11878 from __local_syscall_error to .Lsyscall_error.
11879 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11880 (SYSCALL_ERROR): Update label name.
11881
11882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11883 Do not use DOARGS/UNDOARGS.
11884 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11885 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11886 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11887 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11888 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11889
11890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11891 block comment.
11892
11893 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11894 define if !NOT_IN_libc.
11895 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11896 define with non-default symbol versions.
11897
118982014-05-23 Richard Henderson <rth@twiddle.net>
11899
11900 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11901 (vfork, __vfork): Define via compat_symbol.
11902
11903 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11904 [!HAVE_IFUNC] (vfork_compat): Remove.
11905 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11906
119072014-05-23 Joseph Myers <joseph@codesourcery.com>
11908
11909 [BZ #16978]
11910 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11911 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11912 variable.
11913
119142014-05-23 Richard Henderson <rth@twiddle.net>
11915
11916 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11917 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11918 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11919 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11920
11921 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11922 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11923 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11924 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11925 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11926 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11927 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11928 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11929 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11930 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11932 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11933 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11934 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11935 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11936 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11937 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11938 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11939 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11940 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11941 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11942 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11944 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11945 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11948 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11950 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11951 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11952 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11953 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11954 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11955 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11956 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11957 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11958 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11960 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11961 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11962 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11963 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11964 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11965 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11966 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11967 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11968 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11969 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11970 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11971 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11972 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11973 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11974 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11975 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11976 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11977
11978 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11979 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11980 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11981 before exiting on error.
11982 (__libc_vfork): New strong alias.
11983 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11984 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11985
11986 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11987 that was previously under [RESET_PID].
11988 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11989
11990 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11991
119922014-05-23 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #16977]
11995 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11996 value when x - 1 is zero.
11997 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11998 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11999 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12000 0.0L for an argument of 1.0L.
12001 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12002 Likewise.
12003 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12004 value when x - 1 is zero.
12005 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12006 * sysdeps/i386/fpu/libm-test-ulps: Update.
12007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008
120092014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12010
12011 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12012 alphasort and versionsort.
12013
120142014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015
12016 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12017 macro.
12018 [copysignf]: Likewise.
12019
120202014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12021
12022 * crypt/md5-crypt.c: Fix formatting.
12023
120242014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12025
12026 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12027 (b64_from_24bit): New function.
12028
120292014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12030
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12032 libc_hidden_builtin_def to ifunc.
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12034 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12035
120362014-05-21 Roland McGrath <roland@hack.frob.com>
12037
12038 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12039 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12040
120412014-05-21 Joseph Myers <joseph@codesourcery.com>
12042
12043 * nscd/Depend (linuxthreads): Remove.
12044 (nptl): Add.
12045 * resolv/Depend (linuxthreads): Remove.
12046 * rt/Depend (linuxthreads): Remove.
12047
12048 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12049 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12050 $(common-objpfx)elf/.
12051 (link-libc-before-gnulib): Likewise.
12052 (elfobjdir): Remove variable.
12053 * Makefile (install): Use $(elf-objpfx) instead of
12054 $(common-objpfx)elf/.
12055 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12056 $(elfobjdir)/.
12057 (link-libc-deps): Likewise.
12058 ($(common-objpfx)libc.so): Likewise.
12059 ($(common-objpfx)linkobj/libc.so): Likewise.
12060 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12061 instead of $(common-objpfx)elf/.
12062 (symbolic-link-list): Likewise.
12063 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12064 [$(cross-compiling) = no]: Likewise.
12065 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12066 $(elfobjdir)/.
12067 (static-gnulib-arch): Likewise.
12068 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12069 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12070 $(common-objpfx)elf/.
12071
120722014-05-21 Richard Henderson <rth@redhat.com>
12073
12074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12075 (SINGLE_THREAD_P): Use the correct width load. Fold
12076 into the ldr offset.
12077
12078 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12079 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12080
120812014-05-20 Joseph Myers <joseph@codesourcery.com>
12082
12083 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12084 (libgcc_s_resume): Use __attribute_used__.
12085 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12086 Likewise.
12087
120882014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12089
12090 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12091 optimization when used with float constants.
12092
12093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12094
120952014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12096
12097 [BZ #16915]
12098 * locale/nl_langinfo_l.c: Make direct reference to every
12099 _nl_current_CATEGORY symbol.
12100 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12101 (tests-static): Add tst-langinfo-static.
12102 (tests-special): Add tst-langinfo-static.out.
12103 ($(objpfx)tst-langinfo.out): Redirect output.
12104 ($(objpfx)tst-langinfo-static.out): New.
12105 * localedata/tst-langinfo.sh: Send output to stdout.
12106 * localedata/tst-langinfo-static.c: New file.
12107
12108 [BZ #16965]
12109 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12110 when the shift amount is modulo the limb size.
12111
121122014-05-20 Richard Henderson <rth@redhat.com>
12113
12114 [BZ #16967]
12115 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12116 Change type of sa_flags from unsigned int to int.
12117
12118 [BZ #16966]
12119 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12120
12121 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12122
121232014-05-20 Will Newton <will.newton@linaro.org>
12124
12125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12126 Test the return value of the system call in the nocancel case.
12127
121282014-05-20 Will Newton <will.newton@linaro.org>
12129 Yvan Roux <yvan.roux@linaro.org>
12130
12131 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12132 #include of asm/ptrace.h.
12133 (PTRACE_GET_THREAD_AREA): Remove #undef.
12134 (PTRACE_GETHBPREGS): Likewise.
12135 (PTRACE_SETHBPREGS): Likewise.
12136 (struct user_regs_struct): New structure.
12137 (struct user_fpsimd_struct): New structure.
12138 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12139 #include of asm/ptrace.h and second #include of sys/user.h.
12140 (PTRACE_GET_THREAD_AREA): Remove #undef.
12141 (PTRACE_GETHBPREGS): Likewise.
12142 (PTRACE_SETHBPREGS): Likewise.
12143 (ELF_NGREG): Use new struct user_regs_struct.
12144 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12145
121462014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12147
12148 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12149 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12150
121512014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12152
12153 [BZ #16958]
12154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12155 membar to avoid block loads/stores to overlap previous stores.
12156
121572014-05-17 Richard Henderson <rth@redhat.com>
12158
12159 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12160 Create the __##syscall_name##_nocancel entry point.
12161 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12162 Remove; let the sysdep-cancel.h code create it.
12163
121642014-05-17 David S. Miller <davem@davemloft.net>
12165
12166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12167 Protect with __USE_GNU.
12168 (TIOCSET_TEMPT): Likewise.
12169 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12170 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12171 these are already provided in bits/ioctl-types.h
12172
121732014-05-16 Roland McGrath <roland@hack.frob.com>
12174
12175 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12176 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12177
12178 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12179 Use wait4 regardless of [__NR_waitpid].
12180
121812014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12182
12183 PR libgcc/60166
12184 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12185 (_FP_NANSIGN_Q): Set the quiet bit.
12186
121872014-05-16 Joseph Myers <joseph@codesourcery.com>
12188
12189 * benchtests/Makefile
12190 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12191 not $(common-objpfx)math/libm.so.
12192 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12193 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12194 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12195 $(common-objpfx)dlfcn/libdl.so.
12196 ($(objpfx)tst-audit8): Depend on $(libm), not
12197 $(common-objpfx)math/libm.so.
12198 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12199 not $(common-objpfx)dlfcn/libdl.so.
12200 * math/Makefile
12201 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12202 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12203 [$(build-shared) = yes].
12204 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12205 $(common-objpfx)nptl/libpthread.so.
12206 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12207 $(common-objpfx)math/libm.so$(libm.so-version) or
12208 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12209 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12210 $(common-objpfx)dlfcn/libdl.so.
12211 * setjmp/Makefile (link-libm): Remove variable.
12212 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12213 * stdio-common/Makefile (link-libm): Remove variable.
12214 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12215 * stdlib/Makefile (link-libm): Remove variable.
12216 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12217 ($(objpfx)tst-strtod-round): Likewise.
12218 ($(objpfx)tst-tininess): Likewise.
12219 ($(objpfx)tst-strtod-underflow): Likewise.
12220 ($(objpfx)tst-strtod6): Likewise.
12221 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12222 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12223 $(common-objpfx)dlfcn/libdl.so.
12224
122252014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12226
12227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12228 BSD terminal modes definitions.
12229
122302014-05-16 Roland McGrath <roland@hack.frob.com>
12231
12232 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12233 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12234
12235 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12236 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12237 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12238 Don't do #include_next.
12239 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12240 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12241 Don't do #include_next.
12242 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12243 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12244 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12245 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12246
122472014-05-16 Allan McRae <allan@archlinux.org>
12248
12249 * po/sv.po: Update Swedish translation from translation project.
12250
12251 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12252 in sed expression.
12253
122542014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12255
12256 [BZ #16917]
12257 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12258 errno if the TIOCGPTN ioctl fails with an error different than
12259 EINVAL.
12260 * login/tst-ptsname.c: New file.
12261 * login/Makefile (tests): Add tst-ptsname.
12262
12263 [BZ #16943]
12264 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12265 and prlimit64.
12266
122672014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12268
12269 [BZ #16849]
12270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12271 herrno to return EAI_AGAIN.
12272
122732014-05-14 Roland McGrath <roland@hack.frob.com>
12274
12275 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12276 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12277 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12278 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12279 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12280 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12281 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12282 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12284 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12285 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12286 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12287 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12288 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12289 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12290 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12292 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12294 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12296 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12304 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12306 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12310 Moved ...
12311 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12313 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12315 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12317 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12319 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12321 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12323 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12325 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12327 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12329 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12331 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12333 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12335 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12337 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12339 Moved ...
12340 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12342 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12344 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12346 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12348 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12350 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12352 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12354 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12356 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12358 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12360 Moved ...
12361 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12364
12365 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12366 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12367 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12368 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12369 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12370 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12371 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12372 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12373 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12374 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12375 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12377 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12379 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12381 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12383 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12385 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12387 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12389 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12390 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12391 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12393 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12394 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12395 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12396
12397 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12398 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12399
12400 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12401 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12402 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12403 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12404 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12405 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12406 Moved ...
12407 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12409 Moved ...
12410 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12412 Moved ...
12413 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12415 Moved ...
12416 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12418 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12420 Moved ...
12421 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12422 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12423 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12425 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12427 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12429 Moved ...
12430 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12431 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12432 Moved ...
12433 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12434 ... here.
12435 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12436 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12438 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12440 Moved ...
12441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12442 ... here.
12443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12444 Moved ...
12445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12446 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12447 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12448 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12449 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12451 Moved ...
12452 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12454 Moved ...
12455 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12457 Moved ...
12458 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12460 Moved ...
12461 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12463 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12465 Moved ...
12466 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12468 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12470 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12472 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12474 Moved ...
12475 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12476 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12477 Moved ...
12478 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12479 ... here.
12480 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12481 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12483 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12484 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12485 Moved ...
12486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12487 ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12489 Moved ...
12490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12492 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12493 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12494 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12497 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12498 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12500 Moved ...
12501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12503 Moved ...
12504 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12506 Moved ...
12507 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12509 Moved ...
12510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12512 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12514 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12515 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12516 Moved ...
12517 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12519 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12521 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12523 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12525 Moved ...
12526 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12528 Moved ...
12529 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12530 ... here.
12531 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12532 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12534 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12536 Moved ...
12537 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12538 ... here.
12539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12540 Moved ...
12541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12543 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12545 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12547 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12548 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12549 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12551 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12552
12553 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12554 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12555
12556 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12557 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12558
12559 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12560 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12561 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12563 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12565 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12567 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12569 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12571 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12573 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12575 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12577 Moved ...
12578 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12579 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12580 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12582 Moved ...
12583 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12585 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12587 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12590 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12591 Moved ...
12592 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12594 Moved ...
12595 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12597 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12599 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12601 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12602 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12603 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12604 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12605 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12606 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12607 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12608 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12609 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12610 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12611 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12612
12613 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12614 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12615 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12616 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12617 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12618
12619 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12620 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12622 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12623 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12624 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12625 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12626 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12627 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12628 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12629
12630 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12632
12633 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12634 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12636 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12637 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12638 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12639 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12640 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12641 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12642 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12643 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12644 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12645 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12646 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12648 Update #include.
12649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12650 Likewise.
12651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12652 Likewise.
12653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12654 Likewise.
12655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12656 Likewise.
12657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12658 Likewise.
12659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12660 Likewise.
12661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12662 Likewise.
12663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12664 Likewise.
12665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12666 Likewise.
12667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12672 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12673 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12674 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12675 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12676 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12677 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12678 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12679 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12680 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12681 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
12682
12683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12684 that was previously under [RESET_PID].
12685 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12686 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12687 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12688
12689 * sysdeps/i386/nptl/Implies: New file.
12690 * sysdeps/x86_64/nptl/Implies: New file.
12691 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12692 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12693 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12694 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12695
12696 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12697 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12698 (__libc_vfork): New strong alias.
12699 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12700 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12701
12702 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12703 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12704 (__libc_vfork): New strong alias.
12705 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12706 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12707
12708 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12712 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12713 * nptl/pt-vfork.c: New file.
12714 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12715 (libpthread: GLIBC_2.20): New version set (empty).
12716
127172014-05-14 Will Newton <will.newton@linaro.org>
12718
12719 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12720 rather than #if.
12721
127222014-05-14 Joseph Myers <joseph@codesourcery.com>
12723
12724 [BZ #16564]
12725 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12726 arguments with exponent 65 or above.
12727 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12728 arguments 0x1p113L or above.
12729 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12730 to arguments 0x1p107L or above.
12731 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12732 positive arguments with exponent 65 or above.
12733 * math/auto-libm-test-in: Add more tests of log1p.
12734 * math/auto-libm-test-out: Regenerated.
12735
12736 [BZ #16928]
12737 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12738 non-finite arguments is +0.
12739 * math/s_cacosf.c (__cacosf): Likewise.
12740 * math/s_cacosl.c (__cacosl): Likewise.
12741 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12742 * sysdeps/i386/fpu/libm-test-ulps: Update.
12743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744
12745 [BZ #16927]
12746 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12747 value.
12748 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12749 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12750 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12751 for explicit high bit of mantissa when testing for argument equal
12752 to 1.
12753 * math/libm-test.inc (acosh_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 #16516]
12758 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12759 (__erf): Scale by 16 instead of 8 in potentially underflowing
12760 case. Ensure exception if result actually underflows.
12761 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12762 (__erff): Scale by 16 instead of 8 in potentially underflowing
12763 case. Ensure exception if result actually underflows.
12764 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12765 (efx8): Remove variable.
12766 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12767 case. Ensure exception if result actually underflows.
12768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12769 (efx8): Remove variable.
12770 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12771 case. Ensure exception if result actually underflows.
12772 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12773 (efx8): Remove variable.
12774 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12775 case. Ensure exception if result actually underflows.
12776 * math/auto-libm-test-in: Add more tests of erf.
12777 * math/auto-libm-test-out: Regenerated.
12778
127792014-05-14 Andreas Schwab <schwab@suse.de>
12780
12781 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12782 Remove code conditionalized on USE___THREAD.
12783
12784 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12785 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12786 not definedness.
12787
127882014-05-14 Joseph Myers <joseph@codesourcery.com>
12789
12790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12791 Define unconditionally.
12792 (__ASSUME_O_CLOEXEC): Likewise.
12793 (__ASSUME_SOCK_CLOEXEC): Likewise.
12794 (__ASSUME_IN_NONBLOCK): Likewise.
12795 (__ASSUME_PIPE2): Likewise.
12796 (__ASSUME_EVENTFD2): Likewise.
12797 (__ASSUME_SIGNALFD4): Likewise.
12798 (__ASSUME_DUP3): Likewise.
12799 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12800 (__ASSUME_DUP3): Do not define.
12801 (__ASSUME_EVENTFD2): Likewise.
12802 (__ASSUME_IN_NONBLOCK): Likewise.
12803 (__ASSUME_O_CLOEXEC): Likewise.
12804 (__ASSUME_PIPE2): Likewise.
12805 (__ASSUME_SIGNALFD4): Likewise.
12806 (__ASSUME_SOCK_CLOEXEC): Likewise.
12807 (__ASSUME_UTIMES): Undefine.
12808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12809 (__ASSUME_UTIMES): Do not define.
12810 (__ASSUME_O_CLOEXEC): Likewise.
12811 (__ASSUME_SOCK_CLOEXEC): Likewise.
12812 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12813 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12814 0x020621].
12815 (__ASSUME_PIPE2): Likewise.
12816 (__ASSUME_EVENTFD2): Likewise.
12817 (__ASSUME_SIGNALFD4): Likewise.
12818 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12819 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12820 Do not define.
12821 (__ASSUME_EVENTFD2): Likewise.
12822 (__ASSUME_SIGNALFD4): Likewise.
12823 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12824 (__ASSUME_32BITUIDS): Likewise.
12825 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12826 (__ASSUME_IPC64): Likewise.
12827 (__ASSUME_ST_INO_64_BIT): Likewise.
12828 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12829 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12831 (__ASSUME_UTIMES): Do not define.
12832 (__ASSUME_PSELECT): Likewise.
12833 (__ASSUME_PPOLL): Likewise.
12834 (__ASSUME_O_CLOEXEC): Likewise.
12835 (__ASSUME_SOCK_CLOEXEC): Likewise.
12836 (__ASSUME_IN_NONBLOCK): Likewise.
12837 (__ASSUME_PIPE2): Likewise.
12838 (__ASSUME_EVENTFD2): Likewise.
12839 (__ASSUME_SIGNALFD4): Likewise.
12840 (__ASSUME_DUP3): Likewise.
12841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12842 (__ASSUME_UTIMES): Likewise.
12843 (__ASSUME_O_CLOEXEC): Likewise.
12844 (__ASSUME_SOCK_CLOEXEC): Likewise.
12845 (__ASSUME_IN_NONBLOCK): Likewise.
12846 (__ASSUME_PIPE2): Likewise.
12847 (__ASSUME_EVENTFD2): Likewise.
12848 (__ASSUME_SIGNALFD4): Likewise.
12849 (__ASSUME_DUP3): Likewise.
12850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12851 (__ASSUME_UTIMES): Likewise.
12852 (__ASSUME_O_CLOEXEC): Likewise.
12853 (__ASSUME_SOCK_CLOEXEC): Likewise.
12854 (__ASSUME_IN_NONBLOCK): Likewise.
12855 (__ASSUME_PIPE2): Likewise.
12856 (__ASSUME_EVENTFD2): Likewise.
12857 (__ASSUME_SIGNALFD4): Likewise.
12858 (__ASSUME_DUP3): Likewise.
12859 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12860 Likewise.
12861 (__ASSUME_UTIMES): Likewise.
12862 (__ASSUME_EVENTFD2): Likewise.
12863 (__ASSUME_SIGNALFD4): Likewise.
12864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12865 (__ASSUME_O_CLOEXEC): Likewise.
12866 (__ASSUME_SOCK_CLOEXEC): Likewise.
12867 (__ASSUME_IN_NONBLOCK): Likewise.
12868 (__ASSUME_PIPE2): Likewise.
12869 (__ASSUME_EVENTFD2): Likewise.
12870 (__ASSUME_SIGNALFD4): Likewise.
12871 (__ASSUME_DUP3): Likewise.
12872 (__ASSUME_UTIMES): Undefine.
12873
12874 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12875 feclearexcept. Remove symbol versioning code.
12876 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12877 symbol versioning code.
12878 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12879 symbol versioning code.
12880 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12881 feupdateenv. Remove symbol versioning code.
12882 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12883 fegetexceptflag. Remove symbol versioning code.
12884 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12885 fesetexceptflag. Remove symbol versioning code.
12886 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12887 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12888 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12889 (__posix_fadvise64_l32): Remove prototype.
12890 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12891 code.
12892
128932014-05-13 Roland McGrath <roland@hack.frob.com>
12894
12895 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12896 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12897 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12898 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12899
129002014-05-13 Sami Kerola <kerolasa@iki.fi>
12901
12902 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12903 current working directory
12904
129052014-05-13 Roland McGrath <roland@hack.frob.com>
12906
12907 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12908 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12909 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12910 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12911 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12912 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12913 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12918 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12920 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12921 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12922 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12938 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12939 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12940 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12941 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12942 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12943 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12944 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12945 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12946 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12947 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12948 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12949
12950 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12951 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12952
12953 * sysdeps/unix/sysv/linux/arm/Makefile
12954 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12955 Add rt-aeabi_unwind_cpp_pr1.
12956 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12957 Add nptl-aeabi_unwind_cpp_pr1.
12958 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12959 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12960 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12961 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12962 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12963 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12964
12965 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12966 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12967 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12968 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12969
12970 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12971 Deconditionalize the code that was previously under [RESET_PID].
12972 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12973
12974 * sysdeps/generic/exit-thread.h: New file.
12975 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12976 * include/unistd.h (__exit_thread): Remove declaration.
12977 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12978 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12979 * csu/libc-start.c: Include <exit-thread.h>.
12980 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12981 * nptl/pthread_create.c: Include <exit-thread.h>.
12982 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12983 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12984 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12985 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12986 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12987 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12988 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12989 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12990 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12991 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12992 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12993 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12994 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12995 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12996 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12997 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12998 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12999
130002014-05-13 Andreas Schwab <schwab@suse.de>
13001
13002 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13003
130042014-05-12 Joseph Myers <joseph@codesourcery.com>
13005
13006 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13007 (__ASSUME_UTIMES): Do not condition on kernel version.
13008 (__ASSUME_PSELECT): Define unconditionally.
13009 (__ASSUME_PPOLL): Likewise.
13010 (__ASSUME_ATFCTS): Likewise.
13011 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13012 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13013 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13014 (__ASSUME_UTIMENSAT): Define unconditionally.
13015 (__ASSUME_PRIVATE_FUTEX): Likewise.
13016 (__ASSUME_FALLOCATE): Likewise.
13017 (__ASSUME_O_CLOEXEC): Likewise.
13018 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13019 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13020 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13021 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13022 (__ASSUME_IN_NONBLOCK): Likewise.
13023 (__ASSUME_PIPE2): Likewise.
13024 (__ASSUME_EVENTFD2): Likewise.
13025 (__ASSUME_SIGNALFD4): Likewise.
13026 (__ASSUME_DUP3): Likewise.
13027 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13028 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13029 (__ASSUME_AT_RANDOM): Likewise.
13030 (__ASSUME_PREADV): Likewise.
13031 (__ASSUME_PWRITEV): Likewise.
13032 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13033 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13034 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13036 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13037 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13038 (__ASSUME_O_CLOEXEC): Define unconditionally.
13039 (__ASSUME_PSELECT): Do not undefine conditionally.
13040 (__ASSUME_PPOLL): Likewise.
13041 (__ASSUME_ATFCTS): Likewise.
13042 (__ASSUME_SET_ROBUST_LIST): Likewise.
13043 (__ASSUME_UTIMENSAT): Likewise.
13044 (__ASSUME_FDATASYNC): Define unconditionally.
13045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13046 (__ASSUME_SIGFRAME_V2): Likewise.
13047 )__ASSUME_EVENTFD2): Likewise.
13048 (__ASSUME_SIGNALFD4): Likewise.
13049 (__ASSUME_PSELECT): Do not undefine conditionally.
13050 (__ASSUME_PPOLL): Likewise.
13051 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13052 (__ASSUME_PSELECT): Define unconditionally.
13053 (__ASSUME_PPOLL): Likewise.
13054 (__ASSUME_O_CLOEXEC): Likewise.
13055 (__ASSUME_SOCK_CLOEXEC): Likewise.
13056 (__ASSUME_IN_NONBLOCK): Likewise.
13057 (__ASSUME_PIPE2): Likewise.
13058 (__ASSUME_EVENTFD2): Likewise.
13059 (__ASSUME_SIGNALFD4): Likewise.
13060 (__ASSUME_DUP3): Likewise.
13061 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13062 (__ASSUME_O_CLOEXEC): Likewise.
13063 (__ASSUME_SOCK_CLOEXEC): Likewise.
13064 (__ASSUME_IN_NONBLOCK): Likewise.
13065 (__ASSUME_PIPE2): Likewise.
13066 (__ASSUME_EVENTFD2): Likewise.
13067 (__ASSUME_SIGNALFD4): Likewise.
13068 (__ASSUME_DUP3): Likewise.
13069 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13070 (__ASSUME_EVENTFD2): Likewise.
13071 (__ASSUME_SIGNALFD4): Likewise.
13072 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13073
130742014-05-12 Andreas Schwab <schwab@suse.de>
13075
13076 [BZ #16932]
13077 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13078 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13079 than maximum RPC packet size.
13080 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13081 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13082 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13083 (_nss_nis_getservbyport_r): Likewise.
13084
130852014-05-12 Will Newton <will.newton@linaro.org>
13086
13087 * malloc/Makefile (tests): Add tst-mallopt.
13088 * malloc/tst-mallopt.c: New file.
13089
130902014-05-09 Roland McGrath <roland@hack.frob.com>
13091
13092 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13093 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13094
130952014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13096
13097 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13098 (tst-tlsmod6.so): Likewise.
13099
131002014-05-09 Roland McGrath <roland@hack.frob.com>
13101
13102 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13103
131042014-05-09 Joseph Myers <joseph@codesourcery.com>
13105
13106 [BZ #16064]
13107 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13108 and <dl-procinfo.h>.
13109 (__fegetenv): Save SSE state in envp->__eip if supported.
13110 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13111 envp->__eip if supported.
13112 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13113 and <dl-procinfo.h>.
13114 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13115 __data_offset and __data_selector in environment to 0. Set SSE
13116 state if supported.
13117 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13118 test-fenv-sse.
13119 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13120 -mfpmath=sse.
13121 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13122
131232014-05-09 Will Newton <will.newton@linaro.org>
13124
13125 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13126 and libc_relro_required for ARM.
13127 * sysdeps/arm/preconfigure: Regenerate.
13128
131292014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13130 Stefan Liebler <stli@linux.vnet.ibm.com>
13131
13132 * config.make.in (enable-lock-elision): New Makefile variable.
13133 * configure.ac: Likewise.
13134 * configure: Regenerate.
13135 * sysdeps/s390/configure.ac:
13136 Add check for gcc transactions support.
13137 * sysdeps/s390/configure: Regenerate.
13138 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13139 Build elision files if enabled.
13140 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13141 Add lock elision support for s390.
13142 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13143 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13144 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13145 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13146 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13147 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13148 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13149 Likewise.
13150 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13151 Likewise.
13152 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13153 Likewise.
13154 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13155 Likewise.
13156 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13157 (__lll_timedlock_elision, __lll_lock_elision)
13158 (__lll_unlock_elision, __lll_trylock_elision)
13159 (lll_timedlock_elision, lll_lock_elision)
13160 (lll_unlock_elision, lll_trylock_elision): Add.
13161 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13162 (pthread_mutex_t): Add lock elision support for s390.
13163
131642014-05-14 Wilco <wdijkstr@arm.com>
13165
13166 * sysdeps/arm/fclrexcpt.c: Cleanup.
13167 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13168 * sysdeps/arm/feenablxcpt.c: Cleanup.
13169 * sysdeps/arm/fegetenv.c: Cleanup.
13170 * sysdeps/arm/fegetexcept.c: Cleanup.
13171 * sysdeps/arm/fegetround.c: Cleanup.
13172 * sysdeps/arm/feholdexcpt.c: Cleanup.
13173 * sysdeps/arm/fesetenv.c: Cleanup.
13174 * sysdeps/arm/fesetround.c: Cleanup.
13175 * sysdeps/arm/feupdateenv.c: Cleanup.
13176 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13177 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13178 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13179 * sysdeps/arm/ftestexcept.c: Cleanup.
13180 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13181 * sysdeps/arm/setfpucw.c: Cleanup.
13182
131832014-05-09 Will Newton <will.newton@linaro.org>
13184
13185 * sysdeps/arm/armv7/strcmp.S: New file.
13186 * NEWS: Mention addition of ARMv7 optimized strcmp.
13187
131882014-05-08 Roland McGrath <roland@hack.frob.com>
13189
13190 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13191 look for %.ac rather than %.in.
13192
13193 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13194 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13195 * sysdeps/mach/hurd/configure: Regenerated.
13196 * sysdeps/unix/sysv/linux/configure: Regenerated.
13197
13198 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13199
132002014-05-07 Steve Ellcey <sellcey@mips.com>
13201
13202 [BZ# 16922]
13203 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13204 (LONG_SUB): Ditto.
13205 (PTR_SUB): Ditto.
13206
132072014-05-07 Andreas Schwab <schwab@suse.de>
13208
13209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13210 when skipping over non-matching result from nscd.
13211
132122014-05-07 Ondřej Bílka <neleai@seznam.cz>
13213
13214 [BZ #16876]
13215 * nptl/sockperf.c (client): Check socket return value.
13216
13217 [BZ #16877]
13218 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13219 nscd security class.
13220
132212014-05-06 Roland McGrath <roland@hack.frob.com>
13222
13223 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13224 * sysdeps/arm/unwind.h: ... here.
13225
132262014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13227
13228 [BZ# 16916]
13229 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13230 Define.
13231
132322014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13233
13234 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13235 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13236 multiarch strncpy for PPC64.
13237 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13238 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13240 multiarch optimizations.
13241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13242 (__libc_ifunc_impl_list): Likewise.
13243 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13244 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13245 multiarch stpncpy for PPC64.
13246 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13247 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13248
132492014-05-06 Andreas Schwab <schwab@suse.de>
13250
13251 [BZ #16912]
13252 * gmon/mcount.c (_MCOUNT_DECL): Use
13253 atomic_compare_and_exchange_bool_acq instead of
13254 catomic_compare_and_exchange_bool_acq.
13255
132562014-05-05 Roland McGrath <roland@hack.frob.com>
13257
13258 * elf/Makefile (others, install-bin): Remove pldd.
13259 (pldd-modules): Variable removed.
13260 ($(objpfx)pldd): Target removed.
13261 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13262 (others, install-bin): Append pldd here.
13263 ($(objpfx)pldd): New target.
13264
13265 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13266 to 0, so the first #if test emitted later doesn't see it undefined.
13267 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13268 * sysdeps/gnu/errlist.c: Regenerated.
13269
132702014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13271
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13273 [libc_hidden_builtin_def]: Define to empty value.
13274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13275 [libc_hidden_builtin_def]: Likewise.
13276 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13277 [libc_hidden_builtin_def]: Likewise.
13278 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13279 [libc_hidden_builtin_def]: Likewise.
13280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13281 __redirect_memcpy and define ifunc as default hidden symbol.
13282 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13283 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13284
132852014-05-04 Adam Conrad <adconrad@0c3.net>
13286
13287 * locale/iso-4217.def: Reintroduce XDR currency.
13288
132892014-05-04 Allan McRae <allan@archlinux.org>
13290
13291 * po/eo.po: Update Esperanto translation from translation project.
13292
132932014-05-02 Carlos O'Donell <carlos@redhat.com>
13294
13295 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13296 and FEATURE_INDEX_MAX to 1.
13297 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13298
132992014-05-01 Steve Ellcey <sellcey@mips.com>
13300
13301 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13302 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13303 * iconvdata/big5.c (ONE_DIRECTION): Define.
13304 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13305 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13306 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13307 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13308 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13309 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13310 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13311 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13312 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13313 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13314 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13315 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13316 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13317 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13318 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13319 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13320 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13321 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13322 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13323 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13324 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13325 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13326 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13327 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13328 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13329 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13330 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13331 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13332 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13333 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13334 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13335 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13336 * iconvdata/johab.c (ONE_DIRECTION): Define.
13337 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13338 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13339 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13340 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13341 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13342 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13343 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13344 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13345 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13346 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13347
133482014-05-01 Roland McGrath <roland@hack.frob.com>
13349
13350 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13351 (_IO_JUMPS_OFFSET): Define to 0.
13352
13353 * nptl/sysdeps/pthread/bits/libc-lock.h
13354 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13355 (__libc_lock_define_initialized_recursive): Always define using
13356 initializer. Modern compilers treat uninitialized (implicit zero) and
13357 explicit zero initializers the same (i.e. put the datum in bss).
13358
133592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13360
13361 * nscd/nscd-client.h: Include <string.h>.
13362
133632014-05-01 David S. Miller <davem@davemloft.net>
13364
13365 [BZ #16885]
13366 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13367 multiple zero bytes exist at the end of a string.
13368 Reported by Aurelien Jarno <aurelien@aurel32.net>
13369
13370 * string/test-strcmp.c (check): Add explicit test for situations where
13371 there are multiple zero bytes after the first.
13372
133732014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13374
13375 [BZ #16890]
13376 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13377 when compiling wprintf.
13378 * stdio-common/tstdiomisc.c (t3): New function.
13379 (main): Call it.
13380
133812014-05-01 Steve Ellcey <sellcey@mips.com>
13382
13383 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13384 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13385 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13386 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13387
133882014-05-01 Steve Ellcey <sellcey@mips.com>
13389
13390 * stdlib/longlong.h: Updated from GCC.
13391
133922014-05-01 Will Newton <will.newton@linaro.org>
13393 Bernard Ogden <bernie.ogden@linaro.org>
13394
13395 * NEWS: Update fixed bug list.
13396
13397 [BZ #15119]
13398 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13399
134002014-04-30 David S. Miller <davem@davemloft.net>
13401
13402 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13403 (libc_feholdexcept_setround_sparc_ctx): New function.
13404 (libc_fesetenv_sparc_ctx): Likewise.
13405 (libc_feupdateenv_sparc_ctx): Likewise.
13406 (libc_feholdsetround_sparc_ctx): Likewise.
13407 (libc_feholdexcept_setround_ctx): Define.
13408 (libc_feholdexcept_setroundf_ctx): Likewise.
13409 (libc_feholdexcept_setroundl_ctx): Likewise.
13410 (libc_fesetenv_ctx): Likewise.
13411 (libc_fesetenvf_ctx): Likewise.
13412 (libc_fesetenvl_ctx): Likewise.
13413 (libc_feupdateenv_ctx): Likewise.
13414 (libc_feupdateenvf_ctx): Likewise.
13415 (libc_feupdateenvl_ctx): Likewise.
13416 (libc_feresetround_ctx): Likewise.
13417 (libc_feresetroundf_ctx): Likewise.
13418 (libc_feresetroundl_ctx): Likewise.
13419 (libc_feholdsetround_ctx): Likewise.
13420 (libc_feholdsetroundf_ctx): Likewise.
13421 (libc_feholdsetroundl_ctx): Likewise.
13422
13423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13424 with __USE_GNU instead of XOPEN cpp guards.
13425
13426 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13427 0.
13428
13429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13430 with XOPEN cpp guards.
13431
134322014-04-30 Julian Brown <julian@codesourcery.com>
13433
13434 [BZ #16888]
13435 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13436 handling.
13437
134382014-04-30 Joseph Myers <joseph@codesourcery.com>
13439
13440 [BZ #9894]
13441 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13442 Change to 2.6.32.
13443 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13444 * sysdeps/unix/sysv/linux/configure: Regenerated.
13445 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13446 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13447 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13448 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13449 * README: Update reference to required Linux kernel version.
13450 * manual/install.texi (Linux): Update reference to required Linux
13451 kernel headers version.
13452 * INSTALL: Regenerated.
13453
13454 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13455 header inclusion.
13456 [POSIX] (limits.h): Likewise.
13457 [POSIX] (math.h): Likewise.
13458 [POSIX] (sys/wait.h): Likewise.
13459 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13460 function.
13461 [POSIX] (stddef.h): Do not allow header inclusion.
13462
134632014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464
13465 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13466
134672014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13468
13469 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13470 Return immediately after lll_futex_wake.
13471
134722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13473
13474 [BZ #16791]
13475 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13476 structure.
13477 (datahead_init_pos): Call datahead_init_common early.
13478 (datahead_init_neg): Likewise.
13479
13480 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13481 datahead_init_neg): New functions.
13482 * nscd/aicache.c (addhstaiX): Use them.
13483 * nscd/grpcache.c (cache_addgr): Likewise.
13484 * nscd/hstcache.c (cache_addhst): Likewise.
13485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13486 * nscd/netgroupcache.c (do_notfound): Likewise.
13487 (addgetnetgrentX): Likewise.
13488 (addinnetgrX): Likewise.
13489 * nscd/pwdcache.c (cache_addpw): Likewise.
13490 * nscd/servicescache.c (cache_addserv): Likewise.
13491
134922014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13493 Atsushi Onoe <atsushi@onoe.org>
13494
13495 [BZ #14308]
13496 [BZ #12994]
13497 [BZ #13651]
13498 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13499 one response is valid.
13500 * resolv/res_send.c (send_dg): Check for validity of other
13501 response if the current response is a referral.
13502
135032014-04-29 Steve Ellcey <sellcey@mips.com>
13504
13505 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13506
135072014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13508
13509 [BZ #16823]
13510 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13511 Always divide by positive zero when computing -Inf result.
13512 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13513 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13514
135152014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516
13517 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13518 FPSCR if value do not change.
13519 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13520 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13521 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13522 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13523 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13524 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13525 function.
13526
135272014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13528
13529 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13530 * sysdeps/unix/sysv/linux/hppa: Move directory from
13531 ports/systeps/unix/sysv/linux/hppa.
13532 * README: Update listing for hppa-*-linux-gnu.
13533
135342014-04-28 Ondřej Bílka <neleai@seznam.cz>
13535
13536 [BZ #16754]
13537 * manual/stdio.texi (Hook functions): Fix types of stream hook
13538 functions.
13539 [BZ #16854]
13540 * socket/sys/socket.h: Fix typo in comment.
13541
135422014-04-28 Wilco <wdijkstr@arm.com>
13543
13544 * sysdeps/arm/fenv_private.h: New file.
13545 * sysdeps/arm/math_private.h: New file.
13546 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13547
135482014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13549
13550 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13551 with __int128_t.
13552 (La_x86_64_retval): Likewise.
13553
135542014-04-24 Ian Bolton <ian.bolton@arm.com>
13555
13556 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13557 fpsr if value didn't change.
13558 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13559 to fpcr if value didn't change.
13560 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13561 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13562 fpsr or fpcr if value didn't change.
13563 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13564 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13565 fpcr if value didn't change.
13566 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13567 to fpsr if value didn't change.
13568
135692014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13570
13571 * nptl/tst-sem3.c: Use test-skeleton.c
13572 (main): Rename to do_test. Use return instead of
13573 exit.
13574 * nptl/tst-sem4.c: Use test-skeleton.c
13575 (main): Rename to do_test.
13576
135772014-04-22 David S. Miller <davem@davemloft.net>
13578
13579 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13580 (struct sigaction): New struct member __glibc_reserved0, change
13581 type of sa_flags to int.
13582
135832014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13584
13585 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13586 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13587
135882014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13589
13590 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13591 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13592
135932014-04-22 Will Newton <will.newton@linaro.org>
13594 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13595
13596 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13597 (__longjmp): Add longjmp and longjmp_target SystemTap
13598 probes.
13599 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13600 (__sigsetjmp): Add setjmp SystemTap probe.
13601
136022014-04-17 Carlos O'Donell <carlos@redhat.com>
13603
13604 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13605 match manual order.
13606
136072014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608
13609 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13610
13611 * sysdeps/powerpc/fpu/fenv_private.h
13612 (libc_feholdexcept_setroundl_ctx): Define to
13613 libc_feholdexcept_setround_ppc_ctx.
13614 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13615 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13616 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13617 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13618
136192014-04-17 Ian Bolton <ian.bolton@arm.com>
13620
13621 * sysdeps/aarch64/math-tests.h: New file.
13622
136232014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13624
13625 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13626 New.
13627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13628 Check and set bit_AVX2_Usable.
13629 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13630 macro.
13631 (bit_AVX2): Likewise.
13632 (index_AVX2_Usable): Likewise.
13633 (CPUID_AVX2): Likewise.
13634 (HAS_AVX2): Likewise.
13635
136362014-04-17 Will Newton <will.newton@linaro.org>
13637
13638 * manual/setjmp.texi (System V contexts): Add note that
13639 calling setcontext on a context created by a call to a
13640 signal handler is undefined. Update text to note that
13641 setcontext from a signal handler is possible but not
13642 recommended.
13643
13644 [BZ #16629]
13645 * stdlib/tst-setcontext.c: Include signal.h.
13646 (main): Check that the signal stack before and
13647 after swapcontext is the same.
13648
13649 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13650 Re-implement to restore registers in user code and avoid
13651 rt_sigreturn system call.
13652
136532014-04-17 Wilco <wdijkstr@arm.com>
13654
13655 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13656 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13657 * math/test-fenv.c: Skip exception trap tests on targets which only
13658 support non-stop mode.
13659
136602014-04-17 Ian Bolton <ian.bolton@arm.com>
13661 Wilco Dijkstra <wilco.dijkstra@arm.com>
13662
13663 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13664 (libc_feholdsetround_aarch64_ctx)
13665 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13666 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13667 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13668 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13669 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13670 (libc_feresetround_noexl_ctx): Define.
13671
136722014-04-16 Richard Henderson <rth@redhat.com>
13673
13674 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13675
13676 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13677 unwind tables.
13678
13679 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13680 const from the non-libc, non-ldso copy.
13681
13682 * sysdeps/alpha/libm-test-ulps: Regenerate.
13683
136842014-04-16 Ian Bolton <ian.bolton@arm.com>
13685 Wilco Dijkstra <wilco.dijkstra@arm.com>
13686
13687 * sysdeps/aarch64/fpu/math_private.h: New file.
13688
136892014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13690
13691 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13692
136932014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13694
13695 [BZ #16275]
13696 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13697 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13699 Intel MPX bound registers before _dl_profile_fixup.
13700 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13701 registers after _dl_profile_fixup. Save and restore bound
13702 registers bnd0/bnd1 when calling _dl_call_pltexit.
13703 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13704 (LR_BND_OFFSET): Likewise.
13705 (LRV_BND0_OFFSET): Likewise.
13706 (LRV_BND1_OFFSET): Likewise.
13707
137082014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13709
13710 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13711 to...
13712 * sysdeps/mach/hurd/i386/tls.h: ... here.
13713 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13714 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13715 fields.
13716
137172014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13718
13719 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13720
137212014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13722
13723 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13724
137252014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13726
13727 [BZ #14770]
13728 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13729 * sysdeps/s390/configure: Regenerate.
13730
13731 [BZ #16824]
13732 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13733 Set round-to-nearest internally to reduce error accumulation.
13734
137352014-04-16 Alan Modra <amodra@gmail.com>
13736
13737 [BZ #16740]
13738 [BZ #16619]
13739 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13740 * math/libm-test.inc (frexp_test_data): Add tests.
13741 * NEWS: Update fixed bug list.
13742
137432014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13744
13745 * benchtests/Makefile: Depend on libraries in build directory.
13746 (bench-math): Separate out math tests.
13747 (bench-pthread): Separate out pthread tests.
13748 (bench): Include math and pthread tests.
13749
137502014-04-14 Carlos O'Donell <carlos@redhat.com>
13751
13752 [BZ #16831]
13753 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13754 _dl_debug_initialize.
13755
13756 * configure.ac: Remove SELinux header check.
13757 * configure: Regenerate.
13758 * nscd/selinux.c (perms): Array of const char* to permission names.
13759 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13760 default policy. Call string_to_security_class and string_to_av_perm to
13761 translate strings. Enforce default policy and call avs_has_perm with
13762 results of translated strings.
13763
137642014-04-13 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13767
137682014-04-12 Allan McRae <allan@archlinux.org>
13769
13770 [BZ #16838]
13771 * manual/string.texi (Collation Functions): Fix qsort argument
13772 order in example.
13773 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13774
137752014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13776
13777 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13778 Make the test a no-op if there are no exceptions defined.
13779
137802014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13781
13782 * elf/Makefile (tests): make tst-dlopen-aout conditional on
13783 enable-hardcoded-path-in-tests
13784
137852014-04-11 Will Newton <will.newton@linaro.org>
13786
13787 * benchtests/Makefile (extra-objs): Add json-lib.o.
13788 (bench-func): Tidy up JSON output.
13789 * benchtests/bench-skeleton.c: Include json-lib.h.
13790 (main): Use JSON library functions to do output of
13791 benchmark results.
13792 * benchtests/bench-timing-type.c (main): Output the
13793 timing type simply, leaving formatting to the user.
13794 * benchtests/json-lib.c: New file.
13795 * benchtests/json-lib.h: Likewise.
13796
137972014-04-11 Torvald Riegel <triegel@redhat.com>
13798
13799 [BZ #15215]
13800 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13801 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13802 memory barriers. Add comments.
13803 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13804 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13805 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13806 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13807 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13808 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13809
138102014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13811
13812 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13813 * sysdeps/s390/s390-64/configure.ac: ... this ...
13814 * sysdeps/s390/configure.ac: ... to here.
13815 * sysdeps/s390/s390-32/configure: Delete file.
13816 * sysdeps/s390/s390-64/configure: Delete file.
13817 * sysdeps/s390/configure: Regenerate.
13818
138192014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13820
13821 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13822
138232014-04-11 Will Newton <will.newton@linaro.org>
13824
13825 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13826 to zero if it is not defined elsewhere. (mtrim): Test
13827 the value of MALLOC_DEBUG with #if rather than #ifdef.
13828
138292014-04-10 Torvald Riegel <triegel@redhat.com>
13830
13831 * benchtests/pthread_once-inputs: New file.
13832 * benchtests/pthread_once-source.c: New file.
13833 * benchtests/README: Update documentation.
13834
138352014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13836 H.J. Lu <hongjiu.lu@intel.com>
13837
13838 [BZ #16275]
13839 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13840 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13841 * sysdeps/x86_64/configure: Regenerated.
13842 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13843 macro.
13844 (REGISTER_SAVE_RAX): Likewise.
13845 (REGISTER_SAVE_RCX): Likewise.
13846 (REGISTER_SAVE_RDX): Likewise.
13847 (REGISTER_SAVE_RSI): Likewise.
13848 (REGISTER_SAVE_RDI): Likewise.
13849 (REGISTER_SAVE_R8): Likewise.
13850 (REGISTER_SAVE_R9): Likewise.
13851 (REGISTER_SAVE_BND0): Likewise.
13852 (REGISTER_SAVE_BND1): Likewise.
13853 (REGISTER_SAVE_BND2): Likewise.
13854 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13855 bound registers when calling _dl_fixup.
13856
138572014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13858
13859 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13860 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13861 of its definition.
13862 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13863 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13864 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13865 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13866 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13867 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13868 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13869
138702014-04-09 Peter Brett <peter@peter-b.co.uk>
13871
13872 [BZ #15514]
13873 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13874 pathconf(_PC_NAME_MAX).
13875
138762014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13877
13878 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13879 Remove macro usage.
13880 (__PTHREAD_SPINS): Move definition to ...
13881 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13882 (__PTHREAD_SPINS): ... here.
13883 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13884 (__PTHREAD_SPIN): Likewise.
13885 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13886 (__PTHREAD_SPIN): Likewise.
13887 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13888 (__PTHREAD_SPIN): Likewise.
13889 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13890 (__PTHREAD_SPIN): Likewise.
13891 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13892 (__PTHREAD_SPIN): Likewise.
13893 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13894 (__PTHREAD_SPIN): Likewise.
13895 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13896 (__PTHREAD_SPIN): Likewise.
13897 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13898 (__PTHREAD_SPIN): Likewise.
13899 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13900 (__PTHREAD_SPIN): Likewise.
13901 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13902 (__PTHREAD_SPIN): Likewise.
13903 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13904 (__PTHREAD_SPIN): Likewise.
13905 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13906 (__PTHREAD_SPIN): Likewise.
13907
13908 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13909 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13910 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13911 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13912 imply folder.
13913 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13914 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13915 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13916 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13917 correct imply path.
13918 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13919 strlen symbol for non multi-arch builds.
13920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13921 missing hidden_def and weak_alias.
13922
139232014-04-08 Carlos O'Donell <carlos@redhat.com>
13924
13925 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13926
139272014-04-07 Will Newton <will.newton@linaro.org>
13928
13929 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13930 and contents. [!_LIBC] Remove #ifndef and contents.
13931 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13932 * string/memccpy.c (__memccpy): Use ANSI prototype.
13933 * string/memfrob.c (memfrob): Likewise.
13934 * string/strcoll.c (STRCOLL): Likewise.
13935 * string/strlen.c (strlen): Likewise.
13936 * string/strtok.c (STRTOK): Likewise.
13937 * string/strcat.c: Remove unused #include of memcopy.h.
13938 (strcat): Use ANSI prototype.
13939 * string/strchr.c: Remove unused #include of memcopy.h.
13940 (strchr): Use ANSI prototype.
13941 * string/strcmp.c: Remove unused #include of memcopy.h.
13942 (strcmp): Use ANSI prototype.
13943 * string/strcpy.c: Remove unused #include of memcopy.h.
13944 (strcpy): Use ANSI prototype.
13945
139462014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13947
13948 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13949 * config.make.in (config-extra-cppflags): Set it from
13950 libc_extra_cppflags.
13951 * configure.ac (libc_extra_cflags): Make it accumulate over
13952 configure fragments.
13953 (libc_extra_cppflags): New flag.
13954 * configure. Regenerate.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13956 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13957 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13959
13960 [BZ #16815]
13961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13962 result for FE_DOWNWARD rounding mode.
13963 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13964 Likewise.
13965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13966
139672014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13968
13969 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13970 in function argument name.
13971
139722014-04-03 David Svoboda <svoboda@cert.org>
13973
13974 [BZ #5666]
13975 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13976 explicitly.
13977
139782014-04-03 Roland McGrath <roland@hack.frob.com>
13979
13980 * elf/dl-unmap-segments.h: New file.
13981 * sysdeps/generic/ldsodefs.h
13982 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13983 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13984 * elf/dl-fptr.c: Likewise.
13985 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13986 * sysdeps/aarch64/tlsdesc.c: Likewise.
13987 * sysdeps/arm/tlsdesc.c: Likewise.
13988 * sysdeps/i386/tlsdesc.c: Likewise.
13989 * sysdeps/tile/dl-runtime.c: Likewise.
13990 * sysdeps/x86_64/tlsdesc.c: Likewise.
13991 * elf/dl-load.h: New file.
13992 * elf/dl-load.c: Include it.
13993 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13994 Macros moved to dl-load.h.
13995 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13996 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13997 Use _dl_unmap_segments in place of __munmap.
13998 Break out segment-mapping loop into ...
13999 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14000
140012014-04-03 Will Newton <will.newton@linaro.org>
14002
14003 * elf/dl-lookup.c (do_lookup_x): Remove comment
14004 referring to nested function and move variable
14005 declarations down to before first use.
14006
140072014-04-02 Joseph Myers <joseph@codesourcery.com>
14008
14009 [BZ #16799]
14010 [BZ #16800]
14011 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14012 with 0 numerator.
14013 * math/s_catanf.c (__catanf): Likewise.
14014 * math/s_catanh.c (__catanh): Likewise.
14015 * math/s_catanhf.c (__catanhf): Likewise.
14016 * math/s_catanhl.c (__catanhl): Likewise.
14017 * math/s_catanl.c (__catanl): Likewise.
14018 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14019 by positive zero when computing -Inf result.
14020 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14021 (catanh_test): Likewise.
14022 * sysdeps/i386/fpu/libm-test-ulps: Update.
14023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024
14025 [BZ #16789]
14026 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14027 instead of using underflowing value in computing result.
14028 * math/s_clog10.c (__clog10): Likewise.
14029 * math/s_clog10f.c (__clog10f): Likewise.
14030 * math/s_clog10l.c (__clog10l): Likewise.
14031 * math/s_clogf.c (__clogf): Likewise.
14032 * math/s_clogl.c (__clogl): Likewise.
14033 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14034 (clog10_test): Likewise.
14035 * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037
140382014-04-02 Alan Modra <amodra@gmail.com>
14039
14040 [BZ #16739]
14041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14042 output when value is near a power of two. Use int64_t for lx and
14043 remove casts. Use decimal rather than hex exponent constants.
14044 Don't use long double multiplication when double will suffice.
14045 * math/libm-test.inc (nextafter_test_data): Add tests.
14046 * NEWS: Add 16739 and 16786 to bug list.
14047
14048 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14049
14050 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14051
140522014-04-01 Will Newton <will.newton@linaro.org>
14053
14054 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14055 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14056
140572014-04-01 Florian Weimer <fweimer@redhat.com>
14058
14059 [BZ #13347]
14060 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14061 * nptl/tst-setuid2.c: New file.
14062 * nptl/Makefile (xtests): Add tst-setuid2.
14063
140642014-04-01 Alan Modra <amodra@gmail.com>
14065
14066 [BZ #16786]
14067 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14068
140692014-03-31 Joseph Myers <joseph@codesourcery.com>
14070
14071 [BZ #6803]
14072 [BZ #6804]
14073 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14074 set errno as appropriate.
14075 * math/w_scalbf.c (__scalbf): Likewise.
14076 * math/w_scalbl.c (__scalbl): Likewise.
14077 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14078 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14079 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14080 Add more NaN tests.
14081
14082 [BZ #16349]
14083 * math/w_atan2.c: Include <errno.h>.
14084 (__atan2): Set errno for result underflowing to zero.
14085 * math/w_atan2f.c: Include <errno.h>.
14086 (__atan2f): Set errno for result underflowing to zero.
14087 * math/w_atan2l.c: Include <errno.h>.
14088 (__atan2l): Set errno for result underflowing to zero.
14089 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14090 tests.
14091 * math/auto-libm-test-out: Regenerated.
14092
140932014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14094
14095 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14096 Encode instruction correctly in little endian.
14097 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14098 Likewise.
14099 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14100 Likewise.
14101 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14102 Likewise.
14103 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14104 Likewise.
14105
141062014-03-31 Joseph Myers <joseph@codesourcery.com>
14107
14108 [BZ #9894]
14109 * sysdeps/unix/sysv/linux/kernel-features.h
14110 [__sparc__ && !__arch64__ && !__sparc_v9__]
14111 (__ASSUME_SET_ROBUST_LIST): Do not define.
14112 [__sparc__ && !__arch64__ && !__sparc_v9__]
14113 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14114 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14115 Likewise.
14116 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14117 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14118 (__ASSUME_REQUEUE_PI): Likewise.
14119 (__ASSUME_SET_ROBUST_LIST): Likewise.
14120 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14121 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14122 Undefine.
14123 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14124 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14125 Likewise.
14126 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14127 Likewise.
14128 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14129 Likewise.
14130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14131 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14132 Undefine.
14133 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14134 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14135 Likewise.
14136
14137 [BZ #16648]
14138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14139 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14140 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14141
141422014-03-31 Will Newton <will.newton@linaro.org>
14143
14144 * benchtests/Makefile (bench): Add ffs and ffsll to list
14145 of tests.
14146 * benchtests/ffs-inputs: New file.
14147 * benchtests/ffsll-inputs: Likewise.
14148
141492014-03-29 Joseph Myers <joseph@codesourcery.com>
14150
14151 [BZ #16770]
14152 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14153 too large before casting to int.
14154 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14155 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14156 * math/libm-test.inc (scalb_test_data): Add more tests.
14157
141582014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14159
14160 * benchtests/Makefile (DETAILED_OPT): New make option.
14161 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14162 set.
14163 * benchtests/bench-skeleton.c: Include stdbool.h.
14164 (main): Store and print timings per input.
14165 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14166 member to each argument value.
14167 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14168 (_print_arg_data): Initialize per-input timing to 0.
14169
14170 * benchtests/Makefile (timing-type): New binary.
14171 (bench-clean): Also remove bench-timing-type.
14172 (bench): New target for timing-type.
14173 (bench-func): Print output in JSON format.
14174 * benchtests/bench-skeleton.c (main): Print output in JSON
14175 format.
14176 * benchtests/bench-timing-type.c: New file.
14177 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14178 (TIMING_PRINT_STATS): Remove.
14179 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14180 name separately.
14181
14182 * benchtests/bench-modf.c: Remove.
14183 * benchtests/modf-inputs: New inputs file.
14184
141852014-03-28 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #16362]
14188 * math/s_clog10.c (M_PI_LOG10E): New macro.
14189 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14190 imaginary parts are 0.
14191 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14192 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14193 imaginary parts are 0.
14194 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14195 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14196 imaginary parts are 0.
14197 * math/libm-test.inc (clog10_test_data): Update expected results
14198 for when real and imaginary parts are 0.
14199
142002014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14201
14202 * elf/dl-load.c: Finish conversion of __builtin_expect into
14203 __glibc_{un}likely.
14204
142052014-03-27 Joseph Myers <joseph@codesourcery.com>
14206
14207 [BZ #16348]
14208 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14209 1+x for argument with exponent below -67.
14210 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14211 Likewise.
14212 * math/auto-libm-test-in: Add more tests of exp.
14213 * math/auto-libm-test-out: Regenerated.
14214
142152014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14216
14217 [BZ #16759]
14218 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14219 (nscd_getnetgrent): Use it.
14220
14221 [BZ #16760]
14222 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14223 of stpcpy.
14224
142252014-03-27 Andi Kleen <ak@linux.intel.com>
14226
14227 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14228 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14229 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14230 (lll_robust_unlock): Remove out of line section. Use cfi
14231 intrinsics.
14232 (LLL_STUB_UNWIND_INFO*): Remove.
14233 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14234 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14235 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14236 (lll_robust_unlock): Remove out of line section. Use cfi
14237 intrinsics.
14238 (LLL_STUB_UNWIND_INFO*): Remove.
14239
142402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14241
14242 [BZ #16758]
14243 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14244 blank values.
14245
142462014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14247
14248 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14249
142502014-03-26 Joseph Myers <joseph@codesourcery.com>
14251
14252 [BZ #16198]
14253 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14254 fnstenv.
14255 * math/test-fenv-preserve.c: New file.
14256 * math/Makefile (tests): Add test-fenv-preserve.
14257
142582014-03-26 Will Newton <will.newton@linaro.org>
14259
14260 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14261
142622014-03-25 Roland McGrath <roland@hack.frob.com>
14263
14264 * scripts/versionlist.awk: Partition the version sets and emit all
14265 GLIBC_* (sorted) before all others (sorted).
14266
142672014-03-25 Joseph Myers <joseph@codesourcery.com>
14268
14269 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14270 GLIBC_2.2.5 version.
14271
142722014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14273
14274 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14275 calls.
14276
14277 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14278 previous change.
14279
14280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14281
142822014-03-25 Andreas Schwab <schwab@suse.de>
14283
14284 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14285 label to be used after in6ailist is initialized.
14286
142872014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288
14289 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14290 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14291
142922014-03-25 Joseph Myers <joseph@codesourcery.com>
14293
14294 [BZ #16357]
14295 [BZ #16599]
14296 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14297 min_plus_half.
14298 (fp_formats): Update initializers.
14299 (init_fp_formats): Initialize new field.
14300 (output_for_one_input_case): Allow underflow for results up to
14301 min_plus_half.
14302 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14303 * math/auto-libm-test-in: Don't mark some underflows from asin and
14304 atanh as spurious.
14305 * math/auto-libm-test-out: Regenerated.
14306 * sysdeps/i386/fpu/libm-test-ulps: Update.
14307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14308
143092014-03-25 Andreas Schwab <schwab@suse.de>
14310
14311 * libio/Makefile (tst-ftell-partial-wide-ENV)
14312 (tst-ftell-active-handler-ENV): Define.
14313
143142014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14315
14316 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14317
143182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14319
14320 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14321
143222014-03-24 Joseph Myers <joseph@codesourcery.com>
14323
14324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14325 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14326 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14327
143282014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14329
14330 [BZ #16634]
14331 * elf/dl-load.c (open_verify): Add mode parameter.
14332 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14333 (open_path): Change from boolean 'secure' to complete flag 'mode'
14334 (_dl_map_object): Adjust.
14335 * elf/Makefile (tests): Add tst-dlopen-aout.
14336 * elf/tst-dlopen-aout.c: New test.
14337
143382014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14339
14340 [BZ #16714]
14341 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14342 (struct stat): Rename member pad0 to __glibc_reserved0.
14343
14344 [BZ #16712]
14345 * sysdeps/s390/s390-32/bits/wordsize.h
14346 (__WORDSIZE32_SIZE_ULONG): New define.
14347 * sysdeps/s390/s390-64/bits/wordsize.h
14348 (__WORDSIZE32_SIZE_ULONG): Likewise.
14349 * sysdeps/generic/stdint.h (SIZE_MAX):
14350 Define as UL if __WORDSIZE32_SIZE_ULONG.
14351
14352 [BZ #16713]
14353 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14354 (__glibc_reserved0): New variable.
14355 (sa_flags): Change type to int.
14356
14357 * posix/Makefile (before-compile): Use += before-compile instead
14358 of a :=.
14359
14360 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14361 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14362
143632014-03-20 Andreas Schwab <schwab@suse.de>
14364
14365 [BZ #16743]
14366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14367 non-matching result from nscd.
14368
143692014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14370
14371 * scripts/bench.py: Moved to ...
14372 * benchtests/scripts/bench.py: ... here.
14373 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14374
143752014-03-24 Andreas Schwab <schwab@suse.de>
14376
14377 [BZ #16002]
14378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14379 alloca_account and account alloca use for struct in6ailist.
14380
143812014-03-24 Joseph Myers <joseph@codesourcery.com>
14382
14383 [BZ #16284]
14384 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14385 rounding mode to recompute results that overflow to infinity or
14386 underflow to zero.
14387 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14388 bug 16284.
14389 * math/auto-libm-test-out: Regenerated.
14390 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14391 (ccosh_test): Likewise.
14392 (csin_test_data): Use plus_oflow.
14393 (csin_test): Use ALL_RM_TEST.
14394 (csinh_test_data): Use plus_oflow.
14395 (csinh_test): Use ALL_RM_TEST.
14396 * sysdeps/i386/fpu/libm-test-ulps: Update.
14397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14398
143992014-03-21 Joseph Myers <joseph@codesourcery.com>
14400
14401 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14402 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14403 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14404
14405 [BZ #16731]
14406 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14407 when x - 1 is zero.
14408 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14409 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14410 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14412 argument is 1.
14413 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14414 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14415 zero.
14416 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14417 * sysdeps/i386/fpu/libm-test-ulps: Update.
14418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14419
144202014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14421
14422 * scripts/bench.pl: Remove file.
14423 * scripts/bench.py: New benchmark script.
14424 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14425 * benchtests/README: Mention python dependency.
14426 * scripts/pylintrc: New file.
14427 * scripts/pylint: New file.
14428
14429 * bits/mathdef.h: Use #ifdef instead of #if.
14430 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14431 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14432 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14433 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14434 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14435 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14436
144372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14439
14440 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14442 and strpbrk-ppc64 objects.
14443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14444 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14445 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14446 multiarch strpbrk for POWER7.
14447 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14448 multiarch strpbrk for PPC64.
14449 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14450 ifunc selector.
14451 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14452 strpbrk for POWER7.
14453
144542014-03-20 Joseph Myers <joseph@codesourcery.com>
14455
14456 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14457 (atan_test): Likewise.
14458 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14459 (atanh_test): Use ALL_RM_TEST.
14460 (atan2_test_data): Likewise.
14461 (cabs_test): Likewise.
14462 (cacosh_test): Likewise.
14463 (carg_test): Likewise.
14464 (casin_test): Likewise.
14465 (casinh_test): Likewise.
14466 (cbrt_test): Likewise.
14467 (csqrt_test): Likewise.
14468 (erf_test): Likewise.
14469 (erfc_test): Likewise.
14470 (pow10_test): Likewise.
14471 (exp2_test): Likewise.
14472 (hypot_test): Likewise.
14473 (j0_test): Likewise.
14474 (j1_test): Likewise.
14475 (lgamma_test): Likewise.
14476 (gamma_test): Likewise.
14477 (sincos_test): Likewise.
14478 (tanh_test): Likewise.
14479 (y0_test): Likewise.
14480 (y1_test): Likewise.
14481 * sysdeps/i386/fpu/libm-test-ulps: Update.
14482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483
144842014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14485
14486 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14488 and strcspn-ppc64 objects.
14489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14490 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14491 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14492 multiarch strcspn for POWER7.
14493 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14494 multiarch strcspn for PPC64.
14495 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14496 ifunc selector.
14497 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14498 strcspn for POWER7.
14499
145002014-03-20 Joseph Myers <joseph@codesourcery.com>
14501
14502 * math/gen-libm-test.pl (generate_testfile): Expect only function
14503 name as argument to AUTO_TESTS_* and pass results for all rounding
14504 modes to parse_args.
14505 (parse_auto_input): Separate inputs of automatic tests from
14506 outputs before storing in %auto_tests.
14507 * math/libm-test.inc (acos_test_data): Update call to
14508 AUTO_TESTS_f_f.
14509 (acos_test): Use ALL_RM_TEST.
14510 (acos_tonearest_test_data): Remove.
14511 (acos_test_tonearest): Likewise.
14512 (acos_towardzero_test_data): Likewise.
14513 (acos_test_towardzero): Likewise.
14514 (acos_downward_test_data): Likewise.
14515 (acos_test_downward): Likewise.
14516 (acos_upward_test_data): Likewise.
14517 (acos_test_upward): Likewise.
14518 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14519 (asin_test_data): Likewise.
14520 (asin_test): Use ALL_RM_TEST.
14521 (asin_tonearest_test_data): Remove.
14522 (asin_test_tonearest): Likewise.
14523 (asin_towardzero_test_data): Likewise.
14524 (asin_test_towardzero): Likewise.
14525 (asin_downward_test_data): Likewise.
14526 (asin_test_downward): Likewise.
14527 (asin_upward_test_data): Likewise.
14528 (asin_test_upward): Likewise.
14529 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14530 (atan_test_data): Likewise.
14531 (atanh_test_data): Likewise.
14532 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14533 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14534 (carg_test_data): Likewise.
14535 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14536 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14537 (ccosh_test_data): Likewise.
14538 (cexp_test_data): Likewise.
14539 (clog_test_data): Likewise.
14540 (clog10_test_data): Likewise.
14541 (cos_test_data): Update call to AUTO_TESTS_f_f.
14542 (cos_test): Use ALL_RM_TEST.
14543 (cos_tonearest_test_data): Remove.
14544 (cos_test_tonearest): Likewise.
14545 (cos_towardzero_test_data): Likewise.
14546 (cos_test_towardzero): Likewise.
14547 (cos_downward_test_data): Likewise.
14548 (cos_test_downward): Likewise.
14549 (cos_upward_test_data): Likewise.
14550 (cos_test_upward): Likewise.
14551 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14552 (cosh_test): Use ALL_RM_TEST.
14553 (cosh_tonearest_test_data): Remove.
14554 (cosh_test_tonearest): Likewise.
14555 (cosh_towardzero_test_data): Likewise.
14556 (cosh_test_towardzero): Likewise.
14557 (cosh_downward_test_data): Likewise.
14558 (cosh_test_downward): Likewise.
14559 (cosh_upward_test_data): Likewise.
14560 (cosh_test_upward): Likewise.
14561 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14562 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14563 (ctan_test_data): Likewise.
14564 (ctan_test): Use ALL_RM_TEST.
14565 (ctan_tonearest_test_data): Remove.
14566 (ctan_test_tonearest): Likewise.
14567 (ctan_towardzero_test_data): Likewise.
14568 (ctan_test_towardzero): Likewise.
14569 (ctan_downward_test_data): Likewise.
14570 (ctan_test_downward): Likewise.
14571 (ctan_upward_test_data): Likewise.
14572 (ctan_test_upward): Likewise.
14573 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14574 (ctanh_test): Use ALL_RM_TEST.
14575 (ctanh_tonearest_test_data): Remove.
14576 (ctanh_test_tonearest): Likewise.
14577 (ctanh_towardzero_test_data): Likewise.
14578 (ctanh_test_towardzero): Likewise.
14579 (ctanh_downward_test_data): Likewise.
14580 (ctanh_test_downward): Likewise.
14581 (ctanh_upward_test_data): Likewise.
14582 (ctanh_test_upward): Likewise.
14583 (erf_test_data): Update call to AUTO_TESTS_f_f.
14584 (erfc_test_data): Likewise.
14585 (exp_test_data): Likewise.
14586 (exp_test): Use ALL_RM_TEST.
14587 (exp_tonearest_test_data): Remove.
14588 (exp_test_tonearest): Likewise.
14589 (exp_towardzero_test_data): Likewise.
14590 (exp_test_towardzero): Likewise.
14591 (exp_downward_test_data): Likewise.
14592 (exp_test_downward): Likewise.
14593 (exp_upward_test_data): Likewise.
14594 (exp_test_upward): Likewise.
14595 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14596 (exp10_test): Use ALL_RM_TEST.
14597 (exp10_tonearest_test_data): Remove.
14598 (exp10_test_tonearest): Likewise.
14599 (exp10_towardzero_test_data): Likewise.
14600 (exp10_test_towardzero): Likewise.
14601 (exp10_downward_test_data): Likewise.
14602 (exp10_test_downward): Likewise.
14603 (exp10_upward_test_data): Likewise.
14604 (exp10_test_upward): Likewise.
14605 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14606 (expm1_test_data): Likewise.
14607 (expm1_test): Use ALL_RM_TEST.
14608 (expm1_tonearest_test_data): Remove.
14609 (expm1_test_tonearest): Likewise.
14610 (expm1_towardzero_test_data): Likewise.
14611 (expm1_test_towardzero): Likewise.
14612 (expm1_downward_test_data): Likewise.
14613 (expm1_test_downward): Likewise.
14614 (expm1_upward_test_data): Likewise.
14615 (expm1_test_upward): Likewise.
14616 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14617 (fma_test): Use ALL_RM_TEST.
14618 (fma_towardzero_test_data): Remove.
14619 (fma_test_towardzero): Likewise.
14620 (fma_downward_test_data): Likewise.
14621 (fma_test_downward): Likewise.
14622 (fma_upward_test_data): Likewise.
14623 (fma_test_upward): Likewise.
14624 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14625 (j0_test_data): Update call to AUTO_TESTS_f_f.
14626 (j1_test_data): Likewise.
14627 (jn_test_data): Update call to AUTO_TESTS_if_f.
14628 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14629 (log_test_data): Update call to AUTO_TESTS_f_f.
14630 (log10_test_data): Likewise.
14631 (log1p_test_data): Likewise.
14632 (log2_test_data): Likewise.
14633 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14634 (pow_tonearest_test_data): Likewise.
14635 (sin_test_data): Update call to AUTO_TESTS_f_f.
14636 (sin_test): Use ALL_RM_TEST.
14637 (sin_tonearest_test_data): Remove.
14638 (sin_test_tonearest): Likewise.
14639 (sin_towardzero_test_data): Likewise.
14640 (sin_test_towardzero): Likewise.
14641 (sin_downward_test_data): Likewise.
14642 (sin_test_downward): Likewise.
14643 (sin_upward_test_data): Likewise.
14644 (sin_test_upward): Likewise.
14645 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14646 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14647 (sinh_test): Use ALL_RM_TEST.
14648 (sinh_tonearest_test_data): Remove.
14649 (sinh_test_tonearest): Likewise.
14650 (sinh_towardzero_test_data): Likewise.
14651 (sinh_test_towardzero): Likewise.
14652 (sinh_downward_test_data): Likewise.
14653 (sinh_test_downward): Likewise.
14654 (sinh_upward_test_data): Likewise.
14655 (sinh_test_upward): Likewise.
14656 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14657 (sqrt_test): Use ALL_RM_TEST.
14658 (sqrt_tonearest_test_data): Remove.
14659 (sqrt_test_tonearest): Likewise.
14660 (sqrt_towardzero_test_data): Likewise.
14661 (sqrt_test_towardzero): Likewise.
14662 (sqrt_downward_test_data): Likewise.
14663 (sqrt_test_downward): Likewise.
14664 (sqrt_upward_test_data): Likewise.
14665 (sqrt_test_upward): Likewise.
14666 (tan_test_data): Update call to AUTO_TESTS_f_f.
14667 (tan_test): Use ALL_RM_TEST.
14668 (tan_tonearest_test_data): Remove.
14669 (tan_test_tonearest): Likewise.
14670 (tan_towardzero_test_data): Likewise.
14671 (tan_test_towardzero): Likewise.
14672 (tan_downward_test_data): Likewise.
14673 (tan_test_downward): Likewise.
14674 (tan_upward_test_data): Likewise.
14675 (tan_test_upward): Likewise.
14676 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14677 (tgamma_test_data): Likewise.
14678 (y0_test_data): Likewise.
14679 (y1_test_data): Likewise.
14680 (yn_test_data): Update call to AUTO_TESTS_if_f.
14681 (main): Do not call removed functions.
14682
146832014-03-19 Joseph Myers <joseph@codesourcery.com>
14684
14685 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14686 (ldexp_test_data): Remove.
14687 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14688 scalbn_test_data.
14689 (scalb_test): Use ALL_RM_TEST.
14690
146912014-03-19 Andreas Schwab <schwab@suse.de>
14692
14693 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14694
146952014-03-19 Joseph Myers <joseph@codesourcery.com>
14696
14697 [BZ #16649]
14698 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14699 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14702 (__ASSUME_PREADV): Undefine.
14703 (__ASSUME_PWRITEV): Likewise.
14704
147052014-03-18 Roland McGrath <roland@hack.frob.com>
14706
14707 * bits/mman-linux.h: Add comment about non-Linux use.
14708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14709 bits/mman-linux.h resting place.
14710
14711 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14712 * bits/mman-linux.h: ... here.
14713
147142014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14715
14716 * conform/conformtest.pl: Add standard definition when calling C
14717 preprocessor on data files.
14718 (checknamespace): Remove unused variable.
14719
147202014-03-18 Joseph Myers <joseph@codesourcery.com>
14721
14722 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14723 minus_oflow, plus_uflow and minus_uflow in expected results.
14724 * math/libm-test.inc (scalbn_test_data): Add more tests of
14725 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14726 minus_uflow.
14727 (scalbn_test): Use ALL_RM_TEST.
14728 (scalbln_test_data): Add more tests of negative arguments. Use
14729 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14730 (scalbln_test): Use ALL_RM_TEST.
14731
147322014-03-18 Roland McGrath <roland@hack.frob.com>
14733
14734 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14735
147362014-03-18 Will Newton <will.newton@linaro.org>
14737
14738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14739 inaccurate comment.
14740
147412014-03-18 Joseph Myers <joseph@codesourcery.com>
14742
14743 * Makerules [!subdir] (check-abi): Exit with error status if a
14744 test failed.
14745
147462014-03-17 Joseph Myers <joseph@codesourcery.com>
14747
14748 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14749 for rint. Include results for all rounding modes.
14750 (nearbyint_test): Use ALL_RM_TEST.
14751 (rint_test_data): Include all tests used for nearbyint.
14752
147532014-03-17 Will Newton <will.newton@linaro.org>
14754
14755 * nptl/sysdeps/pthread/pthread.h: Revert previous
14756 change.
14757
14758 * sysdeps/generic/ldsodefs.h: Revert previous
14759 change.
14760
14761 * libio/genops.c: Revert previous change.
14762 * libio/libioP.h: Likewise.
14763 * stdio-common/vfprintf.c: Likewise.
14764
14765 * sysdeps/generic/math_private.h: Revert previous
14766 change.
14767
14768 * sysdeps/generic/math_private.h: Check whether
14769 HAVE_RM_CTX is defined with #ifdef rather
14770 than #if.
14771
14772 * argp/argp-fmtstream.h: Check whether
14773 __STRICT_ANSI__ is defined with #ifdef rather
14774 than #if.
14775 * argp/argp.h: Likewise.
14776
14777 * libio/genops.c: Check whether
14778 _IO_JUMPS_OFFSET is defined with #ifdef rather
14779 than #if.
14780 * libio/libioP.h: Likewise.
14781 * stdio-common/vfprintf.c: Likewise.
14782
14783 * sysdeps/generic/ldsodefs.h: Check whether
14784 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14785 than #if.
14786
14787 * nptl/sysdeps/pthread/pthread.h: Check
14788 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14789 its value.
14790
147912014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14792
14793 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14794 setting O_APPEND.
14795 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14796 test case.
14797
14798 [BZ #16680]
14799 * libio/fileops.c (_IO_file_open): Seek to end of file but
14800 don't cache the offset.
14801 (get_file_offset): Remove function.
14802 (do_ftell): Use cached offset when available.
14803 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14804 don't cache the offset.
14805 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14806 case.
14807 (do_one_test): Call it.
14808 (do_ftell_test): Fix up expected old offset for a+ mode.
14809 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14810 available.
14811
14812 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14813 up test status with function return status.
14814 (do_write_test): Likewise.
14815 (do_append_test): Likewise.
14816
14817 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14818 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14819 Remove.
14820
148212014-03-17 Joseph Myers <joseph@codesourcery.com>
14822
14823 * math/gen-libm-test.pl (parse_args): Handle results specified for
14824 each rounding mode separately.
14825 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14826 tests and results from lrint_tonearest_test_data,
14827 lrint_towardzero_test_data, lrint_downward_test_data and
14828 lrint_upward_test_data.
14829 (lrint_test): Use ALL_RM_TEST.
14830 (lrint_tonearest_test_data): Remove.
14831 (lrint_test_tonearest): Likewise.
14832 (lrint_towardzero_test_data): Likewise.
14833 (lrint_test_towardzero): Likewise.
14834 (lrint_downward_test_data): Likewise.
14835 (lrint_test_downward): Likewise.
14836 (lrint_upward_test_data): Likewise.
14837 (lrint_test_upward): Likewise.
14838 (llrint_test_data): Merge in per-rounding-mode tests and results
14839 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14840 llrint_downward_test_data and llrint_upward_test_data.
14841 (llrint_test): Use ALL_RM_TEST.
14842 (llrint_tonearest_test_data): Remove.
14843 (llrint_test_tonearest): Likewise.
14844 (llrint_towardzero_test_data): Likewise.
14845 (llrint_test_towardzero): Likewise.
14846 (llrint_downward_test_data): Likewise.
14847 (llrint_test_downward): Likewise.
14848 (llrint_upward_test_data): Likewise.
14849 (llrint_test_upward): Likewise.
14850 (rint_test_data): Merge in per-rounding-mode tests and results
14851 from rint_tonearest_test_data, rint_towardzero_test_data,
14852 rint_downward_test_data and rint_upward_test_data. Add
14853 per-rounding-mode results for tests not in those arrays.
14854 (rint_test): Use ALL_RM_TEST.
14855 (rint_tonearest_test_data): Remove.
14856 (rint_test_tonearest): Likewise.
14857 (rint_towardzero_test_data): Likewise.
14858 (rint_test_towardzero): Likewise.
14859 (rint_downward_test_data): Likewise.
14860 (rint_test_downward): Likewise.
14861 (rint_upward_test_data): Likewise.
14862 (rint_test_upward): Likewise.
14863 (main): Don't call removed functions.
14864
148652014-03-14 Roland McGrath <roland@hack.frob.com>
14866
14867 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14868 "Compiled on ..." crapola. It is anti-useful.
14869
148702014-03-14 Joseph Myers <joseph@codesourcery.com>
14871
14872 * scripts/evaluate-test.sh: Handle fourth argument to determine
14873 whether test run should stop on failure.
14874 * Makeconfig (stop-on-test-failure): New variable.
14875 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14876 $(stop-on-test-failure).
14877 * Makefile (tests): Give a summary of results from testing and
14878 exit with failure status if they include an ERROR or FAIL.
14879 (xtests): Likewise.
14880 * manual/install.texi (Configuring and compiling): Mention
14881 stop-on-test-failure=y.
14882 * INSTALL: Regenerated.
14883
148842014-03-14 Roland McGrath <roland@hack.frob.com>
14885
14886 * scripts/versionlist.awk: New file.
14887 * Makerules [$(build-shared) = yes]
14888 (postclean-generated): Add Versions.def, not Versions.def.v and
14889 Versions.def.v.i.
14890 ($(common-objpfx)Versions.def.v.i): Target removed.
14891 ($(common-objpfx)Versions.def): New target.
14892 ($(common-objpfx)Versions.all): Depend on that rather that
14893 $(common-objpfx)Versions.def.v.
14894 * Versions.def: File removed.
14895
14896 * Makeconfig (+gccwarn): Add -Wundef.
14897 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14898 a dl-sysdep.h breaking its contract.
14899 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14900 * include/stackinfo.h: New file.
14901 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14902 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14903 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14904 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14905 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14906 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14907 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14908 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14909 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14910 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14911 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14912 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14913 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14914 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14915 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14916
149172014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14918
14919 [BZ #16707]
14920 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14921 implementation.
14922 * math/libm-test.inc (round_test_data): Add more tests.
14923
14924 [BZ #16706]
14925 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14926 implementation.
14927 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14928
14929 [BZ #16701]
14930 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14931 implementation.
14932 * math/libm-test.inc (ceil_test_data): Add more tests.
14933
14934 * math/libm-test.inc (trunc_test_data): Add more tests related to
14935 BZ#16414.
14936
149372014-03-14 Roland McGrath <roland@hack.frob.com>
14938
14939 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14940 with #if rather than #ifdef.
14941 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14942
149432014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14944
14945 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14946 first. Disable AVX-512 GCC support if assembler doesn't support
14947 it.
14948 * sysdeps/x86_64/configure: Regenerated.
14949
149502014-03-13 Carlos O'Donell <carlos@redhat.com>
14951
14952 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14953 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14954 (__old_pthread_attr_setstack): Likewise.
14955 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14956 [!_STACK_GROWS_DOWN]: Likewise.
14957
149582014-03-13 Mike Frysinger <vapier@gentoo.org>
14959
14960 * config.make.in (have-bash2): Delete.
14961 * configure.ac (libc_cv_have_bash2): Delete.
14962 * configure: Regenerate.
14963 * elf/Makefile (common-ldd-rewrite): Rename to ...
14964 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14965 (sh-ldd-rewrite): Delete.
14966 (bash-ldd-rewrite): Delete.
14967 (have-bash2): Delete checks.
14968 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14969 ldd-rewrite.
14970
14971 * config.make.in (have-ksh): Delete.
14972 (KSH): Delete.
14973 * configure.ac (libc_cv_have_ksh): Delete.
14974 * configure: Regenerate.
14975
14976 * elf/Makefile: Delete $(have-ksh) check.
14977 ($(objpfx)sotruss): Change KSH to BASH.
14978 * elf/sotruss.ksh: Rename to ...
14979 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14980 function style to match POSIX. Drop ksh vim mode setting.
14981
14982 * manual/time.texi (Specifying the Time Zone with TZ): Change
14983 Tuesday to Thursday.
14984
14985 * debug/tst-longjmp_chk2.c: Update header comment.
14986 (stackoverflow_handler): Add comment. Call assert on pass value.
14987
149882014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14989
14990 [BZ #16194]
14991 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14992 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14993 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14994 (La_x86_64_vector): Add zmm.
14995 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14996 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14997 ($(objpfx)tst-audit10): New target.
14998 ($(objpfx)tst-audit10.out): Likewise.
14999 (tst-audit10-ENV): New.
15000 (AVX512-CFLAGS): Likewise.
15001 (CFLAGS-tst-audit10.c): Likewise.
15002 (CFLAGS-tst-auditmod10a.c): Likewise.
15003 (CFLAGS-tst-auditmod10b.c): Likewise.
15004 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15005 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15006 * sysdeps/x86_64/configure: Regenerated.
15007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15008 AVX-512 zmm register support.
15009 (_dl_x86_64_save_sse): Likewise.
15010 (_dl_x86_64_restore_sse): Likewise.
15011 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15012 size vector registers.
15013 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15014 (ZMM_SIZE): Likewise.
15015 * sysdeps/x86_64/tst-audit10.c: New file.
15016 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15017 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15018
150192014-03-13 Roland McGrath <roland@hack.frob.com>
15020
15021 * configure.ac (HAVE_EHDR_START): New check.
15022 * configure: Regenerated.
15023 * config.h.in (HAVE_EHDR_START): New #undef.
15024 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15025 assuming the lowest-addressed segment maps the start of the file.
15026
150272014-03-13 Joseph Myers <joseph@codesourcery.com>
15028
15029 * INSTALL: Regenerated.
15030
150312014-03-13 Will Newton <will.newton@linaro.org>
15032
15033 * manual/setjmp.texi (System V contexts): Improve
15034 clarity and grammar of documentation.
15035
150362014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15037
15038 [BZ #16381]
15039 * elf/Makefile (tests): Add tst-pie2.
15040 (tests-pie): Add tst-pie2.
15041 * elf/tst-pie2.c: New file.
15042 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15043 for ET_EXEC.
15044 * elf/rtld.c (map_doit): Load executable as lt_executable.
15045 (dl_main): Likewise.
15046
150472014-03-12 Joseph Myers <joseph@codesourcery.com>
15048
15049 [BZ #16642]
15050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15051 (__ASSUME_PSELECT): Undefine.
15052
150532014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054
15055 [BZ #16689]
15056 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15057 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15058 static build.
15059 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15060 selector for static builds.
15061
150622014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15063
15064 [BZ #16695]
15065 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15066 key in the buffer.
15067
150682014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15069
15070 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15071 IFUNC selector for static builds.
15072
150732014-03-11 Joseph Myers <joseph@codesourcery.com>
15074
15075 * sysdeps/mips/math_private.h [__mips_hard_float]
15076 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15077 libc_feresetround_mips_ctx.
15078 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15079 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15080 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15081
15082 [BZ #16677]
15083 * math/s_nextafter.c (__nextafter): Do not return value from
15084 overflowing computation.
15085 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15086 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15087 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15088 Likewise.
15089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15090 Likewise.
15091 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15092 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15093
150942014-03-11 Roland McGrath <roland@hack.frob.com>
15095
15096 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15097 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15098 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15099 the new mov targetting sp.
15100
151012014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15102
15103 [BZ #16683]
15104 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15105 Define it for static builds as well.
15106 (NO_BZERO_IMPL): Likewise.
15107
151082014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15109
15110 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15111 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15112 multiarch strspn for PPC64.
15113 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15114 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15116 (__libc_ifunc_impl_list): Likewise.
15117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15118 multiarch optimizations
15119 * string/strspn.c (strspn): Using macro to redefine symbol name.
15120
151212014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15122 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123
15124 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15125 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15126 multiarch strncat for PPC64.
15127 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15128 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15130 (__libc_ifunc_impl_list): Likewise.
15131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15132 multiarch optimizations
15133
151342014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15135
15136 [BZ #16639]
15137 * nscd/nscd.service: Make service type forking.
15138
151392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140
15141 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15142 sign in non default rounding modes.
15143 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15144
151452014-03-08 Joseph Myers <joseph@codesourcery.com>
15146
15147 * math/libm-test.inc (ALL_RM_TEST): New macro.
15148 (ceil_test): Use ALL_RM_TEST.
15149 (cimag_test): Likewise.
15150 (conj_test): Likewise.
15151 (copysign_test): Likewise.
15152 (cproj_test): Likewise.
15153 (creal_test): Likewise.
15154 (fabs_test): Likewise.
15155 (floor_test): Likewise.
15156 (fmax_test): Likewise.
15157 (fmin_test): Likewise.
15158 (fmod_test): Likewise.
15159 (fpclassify_test): Likewise.
15160 (frexp_test): Likewise.
15161 (ilogb_test): Likewise.
15162 (isfinite_test): Likewise.
15163 (finite_test): Likewise.
15164 (isgreater_test): Likewise.
15165 (isgreaterequal_test): Likewise.
15166 (isinf_test): Likewise.
15167 (isless_test): Likewise.
15168 (islessequal_test): Likewise.
15169 (islessgreater_test): Likewise.
15170 (isnan_test): Likewise.
15171 (isnormal_test): Likewise.
15172 (issignaling_test): Likewise.
15173 (isunordered_test): Likewise.
15174 (logb_test): Likewise.
15175 (logb_downward_test_data): Remove.
15176 (logb_test_downward): Likewise.
15177 (lround_test): Use ALL_RM_TEST.
15178 (llround_test): Likewise.
15179 (modf_test): Likewise.
15180 (nexttoward_test): Likewise.
15181 (remainder_test): Likewise.
15182 (drem_test): Likewise.
15183 (remainder_tonearest_test_data): Likewise.
15184 (remainder_test_tonearest): Likewise.
15185 (drem_test_tonearest): Likewise.
15186 (remainder_towardzero_test_data): Likewise.
15187 (remainder_test_towardzero): Likewise.
15188 (drem_test_towardzero): Likewise.
15189 (remainder_downward_test_data): Likewise.
15190 (remainder_test_downward): Likewise.
15191 (drem_test_downward): Likewise.
15192 (remainder_upward_test_data): Likewise.
15193 (remainder_test_upward): Likewise.
15194 (drem_test_upward): Likewise.
15195 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15196 (round_test): Use ALL_RM_TEST.
15197 (signbit_test): Likewise.
15198 (trunc_test): Likewise.
15199 (significand_test): Likewise.
15200 (main): Don't call removed functions.
15201
152022014-03-07 Joseph Myers <joseph@codesourcery.com>
15203
15204 [BZ #16674]
15205 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15206 || __USE_XOPEN2K8].
15207 (ILL_ILLOPN): Likewise.
15208 (ILL_ILLADR): Likewise.
15209 (ILL_ILLTRP): Likewise.
15210 (ILL_PRVOPC): Likewise.
15211 (ILL_PRVREG): Likewise.
15212 (ILL_COPROC): Likewise.
15213 (ILL_BADSTK): Likewise.
15214 (FPE_INTDIV): Likewise.
15215 (FPE_INTOVF): Likewise.
15216 (FPE_FLTDIV): Likewise.
15217 (FPE_FLTOVF): Likewise.
15218 (FPE_FLTUND): Likewise.
15219 (FPE_FLTRES): Likewise.
15220 (FPE_FLTINV): Likewise.
15221 (FPE_FLTSUB): Likewise.
15222 (SEGV_MAPERR): Likewise.
15223 (SEGV_ACCERR): Likewise.
15224 (BUS_ADRALN): Likewise.
15225 (BUS_ADRERR): Likewise.
15226 (BUS_OBJERR): Likewise.
15227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15228 (TRAP_TRACE): Likewise.
15229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15230 __USE_XOPEN2K8].
15231 (CLD_KILLED): Likewise.
15232 (CLD_DUMPED): Likewise.
15233 (CLD_TRAPPED): Likewise.
15234 (CLD_STOPPED): Likewise.
15235 (CLD_CONTINUED): Likewise.
15236 (POLL_IN): Likewise.
15237 (POLL_OUT): Likewise.
15238 (POLL_MSG): Likewise.
15239 (POLL_ERR): Likewise.
15240 (POLL_PRI): Likewise.
15241 (POLL_HUP): Likewise.
15242 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15243 Likewise.
15244 (ILL_ILLOPN): Likewise.
15245 (ILL_ILLADR): Likewise.
15246 (ILL_ILLTRP): Likewise.
15247 (ILL_PRVOPC): Likewise.
15248 (ILL_PRVREG): Likewise.
15249 (ILL_COPROC): Likewise.
15250 (ILL_BADSTK): Likewise.
15251 (FPE_INTDIV): Likewise.
15252 (FPE_INTOVF): Likewise.
15253 (FPE_FLTDIV): Likewise.
15254 (FPE_FLTOVF): Likewise.
15255 (FPE_FLTUND): Likewise.
15256 (FPE_FLTRES): Likewise.
15257 (FPE_FLTINV): Likewise.
15258 (FPE_FLTSUB): Likewise.
15259 (SEGV_MAPERR): Likewise.
15260 (SEGV_ACCERR): Likewise.
15261 (BUS_ADRALN): Likewise.
15262 (BUS_ADRERR): Likewise.
15263 (BUS_OBJERR): Likewise.
15264 (BUS_MCEERR_AR): Likewise.
15265 (BUS_MCEERR_AO): Likewise.
15266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15267 (TRAP_TRACE): Likewise.
15268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15269 __USE_XOPEN2K8].
15270 (CLD_KILLED): Likewise.
15271 (CLD_DUMPED): Likewise.
15272 (CLD_TRAPPED): Likewise.
15273 (CLD_STOPPED): Likewise.
15274 (CLD_CONTINUED): Likewise.
15275 (POLL_IN): Likewise.
15276 (POLL_OUT): Likewise.
15277 (POLL_MSG): Likewise.
15278 (POLL_ERR): Likewise.
15279 (POLL_PRI): Likewise.
15280 (POLL_HUP): Likewise.
15281 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15282 (ILL_ILLOPN): Likewise.
15283 (ILL_ILLADR): Likewise.
15284 (ILL_ILLTRP): Likewise.
15285 (ILL_PRVOPC): Likewise.
15286 (ILL_PRVREG): Likewise.
15287 (ILL_COPROC): Likewise.
15288 (ILL_BADSTK): Likewise.
15289 (FPE_INTDIV): Likewise.
15290 (FPE_INTOVF): Likewise.
15291 (FPE_FLTDIV): Likewise.
15292 (FPE_FLTOVF): Likewise.
15293 (FPE_FLTUND): Likewise.
15294 (FPE_FLTRES): Likewise.
15295 (FPE_FLTINV): Likewise.
15296 (FPE_FLTSUB): Likewise.
15297 (SEGV_MAPERR): Likewise.
15298 (SEGV_ACCERR): Likewise.
15299 (BUS_ADRALN): Likewise.
15300 (BUS_ADRERR): Likewise.
15301 (BUS_OBJERR): Likewise.
15302 (BUS_MCEERR_AR): Likewise.
15303 (BUS_MCEERR_AO): Likewise.
15304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15305 (TRAP_TRACE): Likewise.
15306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15307 __USE_XOPEN2K8].
15308 (CLD_KILLED): Likewise.
15309 (CLD_DUMPED): Likewise.
15310 (CLD_TRAPPED): Likewise.
15311 (CLD_STOPPED): Likewise.
15312 (CLD_CONTINUED): Likewise.
15313 (POLL_IN): Likewise.
15314 (POLL_OUT): Likewise.
15315 (POLL_MSG): Likewise.
15316 (POLL_ERR): Likewise.
15317 (POLL_PRI): Likewise.
15318 (POLL_HUP): Likewise.
15319 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15320 Likewise.
15321 (ILL_ILLOPN): Likewise.
15322 (ILL_ILLADR): Likewise.
15323 (ILL_ILLTRP): Likewise.
15324 (ILL_PRVOPC): Likewise.
15325 (ILL_PRVREG): Likewise.
15326 (ILL_COPROC): Likewise.
15327 (ILL_BADSTK): Likewise.
15328 (ILL_BADIADDR): Likewise.
15329 (ILL_BREAK): Likewise.
15330 (FPE_INTDIV): Likewise.
15331 (FPE_INTOVF): Likewise.
15332 (FPE_FLTDIV): Likewise.
15333 (FPE_FLTOVF): Likewise.
15334 (FPE_FLTUND): Likewise.
15335 (FPE_FLTRES): Likewise.
15336 (FPE_FLTINV): Likewise.
15337 (FPE_FLTSUB): Likewise.
15338 (FPE_DECOVF): Likewise.
15339 (FPE_DECDIV): Likewise.
15340 (FPE_DECERR): Likewise.
15341 (FPE_INVASC): Likewise.
15342 (FPE_INVDEC): Likewise.
15343 (SEGV_MAPERR): Likewise.
15344 (SEGV_ACCERR): Likewise.
15345 (SEGV_PSTKOVF): Likewise.
15346 (BUS_ADRALN): Likewise.
15347 (BUS_ADRERR): Likewise.
15348 (BUS_OBJERR): Likewise.
15349 (BUS_MCEERR_AR): Likewise.
15350 (BUS_MCEERR_AO): Likewise.
15351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15352 (TRAP_TRACE): Likewise.
15353 (TRAP_BRANCH): Likewise.
15354 (TRAP_HWBKPT): Likewise.
15355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15356 __USE_XOPEN2K8].
15357 (CLD_KILLED): Likewise.
15358 (CLD_DUMPED): Likewise.
15359 (CLD_TRAPPED): Likewise.
15360 (CLD_STOPPED): Likewise.
15361 (CLD_CONTINUED): Likewise.
15362 (POLL_IN): Likewise.
15363 (POLL_OUT): Likewise.
15364 (POLL_MSG): Likewise.
15365 (POLL_ERR): Likewise.
15366 (POLL_PRI): Likewise.
15367 (POLL_HUP): Likewise.
15368 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15369 (ILL_ILLOPN): Likewise.
15370 (ILL_ILLADR): Likewise.
15371 (ILL_ILLTRP): Likewise.
15372 (ILL_PRVOPC): Likewise.
15373 (ILL_PRVREG): Likewise.
15374 (ILL_COPROC): Likewise.
15375 (ILL_BADSTK): Likewise.
15376 (FPE_INTDIV): Likewise.
15377 (FPE_INTOVF): Likewise.
15378 (FPE_FLTDIV): Likewise.
15379 (FPE_FLTOVF): Likewise.
15380 (FPE_FLTUND): Likewise.
15381 (FPE_FLTRES): Likewise.
15382 (FPE_FLTINV): Likewise.
15383 (FPE_FLTSUB): Likewise.
15384 (SEGV_MAPERR): Likewise.
15385 (SEGV_ACCERR): Likewise.
15386 (BUS_ADRALN): Likewise.
15387 (BUS_ADRERR): Likewise.
15388 (BUS_OBJERR): Likewise.
15389 (BUS_MCEERR_AR): Likewise.
15390 (BUS_MCEERR_AO): Likewise.
15391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15392 (TRAP_TRACE): Likewise.
15393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15394 __USE_XOPEN2K8].
15395 (CLD_KILLED): Likewise.
15396 (CLD_DUMPED): Likewise.
15397 (CLD_TRAPPED): Likewise.
15398 (CLD_STOPPED): Likewise.
15399 (CLD_CONTINUED): Likewise.
15400 (POLL_IN): Likewise.
15401 (POLL_OUT): Likewise.
15402 (POLL_MSG): Likewise.
15403 (POLL_ERR): Likewise.
15404 (POLL_PRI): Likewise.
15405 (POLL_HUP): Likewise.
15406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15407 (ILL_ILLOPN): Likewise.
15408 (ILL_ILLADR): Likewise.
15409 (ILL_ILLTRP): Likewise.
15410 (ILL_PRVOPC): Likewise.
15411 (ILL_PRVREG): Likewise.
15412 (ILL_COPROC): Likewise.
15413 (ILL_BADSTK): Likewise.
15414 (FPE_INTDIV): Likewise.
15415 (FPE_INTOVF): Likewise.
15416 (FPE_FLTDIV): Likewise.
15417 (FPE_FLTOVF): Likewise.
15418 (FPE_FLTUND): Likewise.
15419 (FPE_FLTRES): Likewise.
15420 (FPE_FLTINV): Likewise.
15421 (FPE_FLTSUB): Likewise.
15422 (SEGV_MAPERR): Likewise.
15423 (SEGV_ACCERR): Likewise.
15424 (BUS_ADRALN): Likewise.
15425 (BUS_ADRERR): Likewise.
15426 (BUS_OBJERR): Likewise.
15427 (BUS_MCEERR_AR): Likewise.
15428 (BUS_MCEERR_AO): Likewise.
15429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15430 (TRAP_TRACE): Likewise.
15431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15432 __USE_XOPEN2K8].
15433 (CLD_KILLED): Likewise.
15434 (CLD_DUMPED): Likewise.
15435 (CLD_TRAPPED): Likewise.
15436 (CLD_STOPPED): Likewise.
15437 (CLD_CONTINUED): Likewise.
15438 (POLL_IN): Likewise.
15439 (POLL_OUT): Likewise.
15440 (POLL_MSG): Likewise.
15441 (POLL_ERR): Likewise.
15442 (POLL_PRI): Likewise.
15443 (POLL_HUP): Likewise.
15444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15445 (ILL_ILLOPN): Likewise.
15446 (ILL_ILLADR): Likewise.
15447 (ILL_ILLTRP): Likewise.
15448 (ILL_PRVOPC): Likewise.
15449 (ILL_PRVREG): Likewise.
15450 (ILL_COPROC): Likewise.
15451 (ILL_BADSTK): Likewise.
15452 (FPE_INTDIV): Likewise.
15453 (FPE_INTOVF): Likewise.
15454 (FPE_FLTDIV): Likewise.
15455 (FPE_FLTOVF): Likewise.
15456 (FPE_FLTUND): Likewise.
15457 (FPE_FLTRES): Likewise.
15458 (FPE_FLTINV): Likewise.
15459 (FPE_FLTSUB): Likewise.
15460 (SEGV_MAPERR): Likewise.
15461 (SEGV_ACCERR): Likewise.
15462 (BUS_ADRALN): Likewise.
15463 (BUS_ADRERR): Likewise.
15464 (BUS_OBJERR): Likewise.
15465 (BUS_MCEERR_AR): Likewise.
15466 (BUS_MCEERR_AO): Likewise.
15467 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15468 (TRAP_TRACE): Likewise.
15469 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15470 __USE_XOPEN2K8].
15471 (CLD_KILLED): Likewise.
15472 (CLD_DUMPED): Likewise.
15473 (CLD_TRAPPED): Likewise.
15474 (CLD_STOPPED): Likewise.
15475 (CLD_CONTINUED): Likewise.
15476 (POLL_IN): Likewise.
15477 (POLL_OUT): Likewise.
15478 (POLL_MSG): Likewise.
15479 (POLL_ERR): Likewise.
15480 (POLL_PRI): Likewise.
15481 (POLL_HUP): Likewise.
15482 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15483 (ILL_ILLOPN): Likewise.
15484 (ILL_ILLADR): Likewise.
15485 (ILL_ILLTRP): Likewise.
15486 (ILL_PRVOPC): Likewise.
15487 (ILL_PRVREG): Likewise.
15488 (ILL_COPROC): Likewise.
15489 (ILL_BADSTK): Likewise.
15490 (ILL_DBLFLT): Likewise.
15491 (ILL_HARDWALL): Likewise.
15492 (FPE_INTDIV): Likewise.
15493 (FPE_INTOVF): Likewise.
15494 (FPE_FLTDIV): Likewise.
15495 (FPE_FLTOVF): Likewise.
15496 (FPE_FLTUND): Likewise.
15497 (FPE_FLTRES): Likewise.
15498 (FPE_FLTINV): Likewise.
15499 (FPE_FLTSUB): Likewise.
15500 (SEGV_MAPERR): Likewise.
15501 (SEGV_ACCERR): Likewise.
15502 (BUS_ADRALN): Likewise.
15503 (BUS_ADRERR): Likewise.
15504 (BUS_OBJERR): Likewise.
15505 (BUS_MCEERR_AR): Likewise.
15506 (BUS_MCEERR_AO): Likewise.
15507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15508 (TRAP_TRACE): Likewise.
15509 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15510 __USE_XOPEN2K8].
15511 (CLD_KILLED): Likewise.
15512 (CLD_DUMPED): Likewise.
15513 (CLD_TRAPPED): Likewise.
15514 (CLD_STOPPED): Likewise.
15515 (CLD_CONTINUED): Likewise.
15516 (POLL_IN): Likewise.
15517 (POLL_OUT): Likewise.
15518 (POLL_MSG): Likewise.
15519 (POLL_ERR): Likewise.
15520 (POLL_PRI): Likewise.
15521 (POLL_HUP): Likewise.
15522 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15523 (ILL_ILLOPN): Likewise.
15524 (ILL_ILLADR): Likewise.
15525 (ILL_ILLTRP): Likewise.
15526 (ILL_PRVOPC): Likewise.
15527 (ILL_PRVREG): Likewise.
15528 (ILL_COPROC): Likewise.
15529 (ILL_BADSTK): Likewise.
15530 (FPE_INTDIV): Likewise.
15531 (FPE_INTOVF): Likewise.
15532 (FPE_FLTDIV): Likewise.
15533 (FPE_FLTOVF): Likewise.
15534 (FPE_FLTUND): Likewise.
15535 (FPE_FLTRES): Likewise.
15536 (FPE_FLTINV): Likewise.
15537 (FPE_FLTSUB): Likewise.
15538 (SEGV_MAPERR): Likewise.
15539 (SEGV_ACCERR): Likewise.
15540 (BUS_ADRALN): Likewise.
15541 (BUS_ADRERR): Likewise.
15542 (BUS_OBJERR): Likewise.
15543 (BUS_MCEERR_AR): Likewise.
15544 (BUS_MCEERR_AO): Likewise.
15545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15546 (TRAP_TRACE): Likewise.
15547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15548 __USE_XOPEN2K8].
15549 (CLD_KILLED): Likewise.
15550 (CLD_DUMPED): Likewise.
15551 (CLD_TRAPPED): Likewise.
15552 (CLD_STOPPED): Likewise.
15553 (CLD_CONTINUED): Likewise.
15554 (POLL_IN): Likewise.
15555 (POLL_OUT): Likewise.
15556 (POLL_MSG): Likewise.
15557 (POLL_ERR): Likewise.
15558 (POLL_PRI): Likewise.
15559 (POLL_HUP): Likewise.
15560 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15561 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15562
15563 [BZ #16670]
15564 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15565 before #include of <time.h>.
15566 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15567 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15568 (test-xfail-UNIX98/sched.h/conform): Likewise.
15569
155702014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15571
15572 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15573 error absence of trapping exception support.
15574 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15575
155762014-03-07 Joseph Myers <joseph@codesourcery.com>
15577
15578 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15579 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15580 * timezone/Makefile (testdata): Move definition above include of
15581 Rules.
15582 (test-zones): New variable.
15583 (tests-special): Add zone files.
15584 (build-testdata): Use $(evaluate-test).
15585
15586 * elf/Makefile (tests-special): Rename tests to end with .out.
15587 ($(objpfx)noload-mem): Likewise.
15588 ($(objpfx)tst-leaks1-mem): Likewise.
15589 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15590 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15591 $(objpfx)test-iconvconfig.out.
15592 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15593 set -e inside subshell and redirect output to file.
15594 * iconvdata/Makefile (generated): Rename tests to end with .out.
15595 Correct type.
15596 (tests-special): Rename tests to end with .out.
15597 ($(objpfx)mtrace-tst-loading): Likewise.
15598 * intl/Makefile (generated): Likewise.
15599 (tests-special): Likewise.
15600 ($(objpfx)mtrace-tst-gettext): Likewise.
15601 * misc/Makefile (generated): Likewise.
15602 (tests-special): Likewise.
15603 ($(objpfx)tst-error1-mem): Likewise.
15604 * nptl/Makefile (tests-special): Likewise.
15605 ($(objpfx)tst-stack3-mem): Likewise.
15606 (generated): Likewise.
15607 * posix/Makefile (generated): Likewise.
15608 (tests-special): Likewise.
15609 (xtests-special): Likewise.
15610 ($(objpfx)tst-fnmatch-mem): Likewise.
15611 ($(objpfx)bug-regex2-mem): Likewise.
15612 ($(objpfx)bug-regex14-mem): Likewise.
15613 ($(objpfx)bug-regex21-mem): Likewise.
15614 ($(objpfx)bug-regex31-mem): Likewise.
15615 ($(objpfx)tst-vfork3-mem): Likewise.
15616 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15617 ($(objpfx)tst-pcre-mem): Likewise.
15618 ($(objpfx)tst-boost-mem): Likewise.
15619 ($(objpfx)bug-ga2-mem): Likewise.
15620 ($(objpfx)bug-glob2-mem): Likewise.
15621 * resolv/Makefile (generate): Likewise.
15622 (tests-special): Likewise.
15623 (xtests-special): Likewise.
15624 (generated): Likewise.
15625 ($(objpfx)mtrace-tst-leaks): Likewise.
15626 ($(objpfx)mtrace-tst-leaks2): Likewise.
15627
15628 * scripts/merge-test-results.sh: New file.
15629 * Makefile (tests-special-notdir): New variable.
15630 (tests): Run merge-test-results.sh.
15631 (xtests): Likewise.
15632 * Rules (tests-special-notdir): New variable.
15633 (xtests-special-notdir): Likewise.
15634 (tests): Run merge-test-results.sh
15635 (xtests): Likewise.
15636
15637 * Makeconfig (test-xfail-name): New variable.
15638 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15639 compute variable name for expected failures.
15640 * conform/Makefile (conformtest-headers-data): New variable.
15641 (conformtest-standards): Likewise.
15642 (conformtest-headers-ISO): Likewise.
15643 (conformtest-headers-ISO99): Likewise.
15644 (conformtest-headers-ISO11): Likewise.
15645 (conformtest-headers-POSIX): Likewise.
15646 (conformtest-headers-XPG3): Likewise.
15647 (conformtest-headers-XPG4): Likewise.
15648 (conformtest-headers-UNIX98): Likewise.
15649 (conformtest-headers-XOPEN2K): Likewise.
15650 (conformtest-headers-POSIX2008): Likewise.
15651 (conformtest-headers-XOPEN2K8): Likewise.
15652 (conformtest-header-list-base): Likewise.
15653 (conformtest-header-list-tests): Likewise.
15654 (conformtest-header-base): Likewise.
15655 (conformtest-header-tests): Likewise.
15656 (tests-special): Add $(conformtest-header-list-tests). If
15657 [$(fast-check) && !$(cross-compiling)], add
15658 $(conformtest-header-tests) instead of
15659 $(objpfx)run-conformtest.out.
15660 (generated): Add $(conformtest-header-list-base). If
15661 [$(fast-check) && !$(cross-compiling)], add
15662 $(conformtest-header-base). Remove previous setting.
15663 ($(conformtest-header-list-tests)): New target.
15664 (test-xfail-run-conformtest): Remove variable.
15665 ($(objpfx)run-conformtest.out): Remove target.
15666 (test-xfail-ISO11/complex.h/conform): New variable.
15667 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15668 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15669 (test-xfail-XPG3/varargs.h/conform): Likewise.
15670 (test-xfail-XPG4/varargs.h/conform): Likewise.
15671 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15672 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15673 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15674 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15675 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15676 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15677 (test-xfail-XPG3/ftw.h/conform): Likewise.
15678 (test-xfail-XPG3/grp.h/conform): Likewise.
15679 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15680 (test-xfail-XPG3/limits.h/conform): Likewise.
15681 (test-xfail-XPG3/pwd.h/conform): Likewise.
15682 (test-xfail-XPG3/search.h/conform): Likewise.
15683 (test-xfail-XPG3/signal.h/conform): Likewise.
15684 (test-xfail-XPG3/stdio.h/conform): Likewise.
15685 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15686 (test-xfail-XPG3/string.h/conform): Likewise.
15687 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15688 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15689 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15690 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15691 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15692 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15693 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15694 (test-xfail-XPG3/termios.h/conform): Likewise.
15695 (test-xfail-XPG3/time.h/conform): Likewise.
15696 (test-xfail-XPG3/unistd.h/conform): Likewise.
15697 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15698 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15699 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15700 (test-xfail-XPG4/netdb.h/conform): Likewise.
15701 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15702 (test-xfail-XPG4/signal.h/conform): Likewise.
15703 (test-xfail-XPG4/stdio.h/conform): Likewise.
15704 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15705 (test-xfail-XPG4/stropts.h/conform): Likewise.
15706 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15707 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15708 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15709 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15710 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15711 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15712 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15713 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15714 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15715 (test-xfail-XPG4/termios.h/conform): Likewise.
15716 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15717 (test-xfail-XPG4/unistd.h/conform): Likewise.
15718 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15719 (test-xfail-POSIX/sched.h/conform): Likewise.
15720 (test-xfail-POSIX/signal.h/conform): Likewise.
15721 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15722 (test-xfail-POSIX/tar.h/conform): Likewise.
15723 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15724 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15725 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15726 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15727 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15728 (test-xfail-UNIX98/sched.h/conform): Likewise.
15729 (test-xfail-UNIX98/signal.h/conform): Likewise.
15730 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15731 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15732 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15733 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15734 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15735 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15736 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15737 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15738 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15739 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15740 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15741 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15742 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15743 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15744 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15745 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15746 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15747 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15748 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15749 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15750 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15751 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15752 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15753 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15754 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15755 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15756 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15757 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15758 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15759 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15760 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15761 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15762 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15763 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15764 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15765 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15766 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15767 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15768 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15769 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15770 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15771 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15772 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15773 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15774 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15775 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15776 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15777 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15778 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15779 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15780 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15781 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15782 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15783 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15784 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15785 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15786 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15787 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15788 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15789 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15790 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15791 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15792 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15793 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15794 (conformtest-cc-flags): Likewise.
15795 ($(conformtest-header-tests): New target.
15796 * conform/check-header-lists.sh: New file.
15797 * conform/run-conformtest.sh: Remove.
15798
15799 * conform/conformtest.pl: Allow ' and \ in values given for
15800 constants.
15801 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15802 inclusion.
15803 [POSIX] (sys/types.h): Likewise.
15804 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15805 inclusion.
15806 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15807 inclusion.
15808 * conform/data/signal.h-data (SIGIO): Remove expectation.
15809 [XPG3] (SIGBUS): Do not expect.
15810 [POSIX || XPG3] (SIGPOLL): Likewise.
15811 [POSIX || XPG3] (SIGPROF): Likewise.
15812 [POSIX || XPG3] (SIGSYS): Likewise.
15813 [XPG3] (SIGTRAP): Likewise.
15814 [POSIX || XPG3] (SIGURG): Likewise.
15815 [POSIX || XPG3] (SIGVTALRM): Likewise.
15816 [POSIX || XPG3] (SIGXCPU): Likewise.
15817 [POSIX || XPG3] (SIGXFSZ): Likewise.
15818 [POSIX] (SA_SIGINFO): Expect.
15819 [XPG3] (siginfo_t): Do not expect type or contents.
15820 [POSIX] (si_pid): Do not expect element.
15821 [POSIX] (si_uid): Likewise.
15822 [POSIX] (si_addr): Likewise.
15823 [POSIX] (si_status): Likewise.
15824 [POSIX] (si_band): Likewise.
15825 [XPG4] (si_value): Likewise.
15826 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15827 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15828 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15829 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15830 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15831 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15832 [POSIX || XPG3] (ILL_COPROC): Likewise.
15833 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15834 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15835 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15836 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15837 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15838 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15839 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15840 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15841 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15842 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15843 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15844 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15845 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15846 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15847 [POSIX || XPG3] (CLD_EXITED): Likewise.
15848 [POSIX || XPG3] (CLD_KILLED): Likewise.
15849 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15850 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15851 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15852 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15853 [POSIX || XPG3] (POLL_IN): Likewise.
15854 [POSIX || XPG3] (POLL_OUT): Likewise.
15855 [POSIX || XPG3] (POLL_MSG): Likewise.
15856 [POSIX || XPG3] (POLL_ERR): Likewise.
15857 [POSIX || XPG3] (POLL_PRI): Likewise.
15858 [POSIX || XPG3] (POLL_HUP): Likewise.
15859 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15860 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15861 (SIG*): Do not allow.
15862 [XPG3] (si_*): Likewise.
15863 [XPG3] (SI_*): Likewise.
15864 [XPG3 || XPG4] (sigev_*): Likewise.
15865 [XPG3 || XPG4] (SIGEV_*): Likewise.
15866 [XPG3 || XPG4] (sival_*): Likewise.
15867 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15868 [POSIX || XPG3] (BUS_*): Likewise.
15869 [POSIX || XPG3] (CLD_*): Likewise.
15870 [POSIX || XPG3] (FPE_*): Likewise.
15871 [POSIX || XPG3] (ILL_*): Likewise.
15872 [POSIX || XPG3] (POLL_*): Likewise.
15873 [POSIX || XPG3] (SEGV_*): Likewise.
15874 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15875 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15876 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15877 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15878 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15879 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15880 Specify type and value.
15881 (TVERSLEN): Likewise.
15882 (REGTYPE): Likewise.
15883 (AREGTYPE): Likewise.
15884 (LNKTYPE): Likewise.
15885 (SYMTYPE): Likewise.
15886 (CHRTYPE): Likewise.
15887 (BLKTYPE): Likewise.
15888 (DIRTYPE): Likewise.
15889 (FIFOTYPE): Likewise.
15890 (CONTTYPE): Likewise.
15891 (TSUID): Likewise.
15892 (TSGID): Likewise.
15893 (TSVTX): Likewise.
15894 (TUREAD): Likewise.
15895 (TUWRITE): Likewise.
15896 (TUEXEC): Likewise.
15897 (TGREAD): Likewise.
15898 (TGWRITE): Likewise.
15899 (TGEXEC): Likewise.
15900 (TOREAD): Likewise.
15901 (TOWRITE): Likewise.
15902 (TOEXEC): Likewise.
15903 [POSIX] (TSVTX): Expect constant.
15904
159052014-03-06 Joseph Myers <joseph@codesourcery.com>
15906
15907 * Makefile (tests): Change dependencies to ....
15908 (tests-special): ... additions to this variable.
15909 (tests): Depend on $(tests-special).
15910 * Makerules (check-abi-list): New variable.
15911 (check-abi): Depend on $(check-abi-list).
15912 [$(subdir) = elf] (tests-special): Add
15913 $(objpfx)check-abi-libc.out.
15914 [$(build-shared) = yes && subdir] (tests-special): Add
15915 $(check-abi-list).
15916 [$(build-shared) = yes && subdir] (tests): Do not depend on
15917 check-abi.
15918 * Rules (tests): Depend on $(tests-special).
15919 (xtests): Depend on $(xtests-special).
15920 * catgets/Makefile (tests): Change dependencies to ....
15921 (tests-special): ... additions to this variable.
15922 * conform/Makefile (tests): Change dependencies to ....
15923 (tests-special): ... additions to this variable.
15924 * elf/Makefile (tests): Change dependencies to ....
15925 (tests-special): ... additions to this variable.
15926 * grp/Makefile (tests): Change dependencies to ....
15927 (tests-special): ... additions to this variable.
15928 * iconv/Makefile (xtests): Change dependencies to ....
15929 (xtests-special): ... additions to this variable.
15930 * iconvdata/Makefile (tests): Change dependencies to ....
15931 (tests-special): ... additions to this variable.
15932 * intl/Makefile (tests): Change dependencies to ....
15933 (tests-special): ... additions to this variable. Also add
15934 $(objpfx)tst-gettext.out.
15935 * io/Makefile (tests): Change dependencies to ....
15936 (tests-special): ... additions to this variable.
15937 * libio/Makefile (tests): Change dependencies to ....
15938 (tests-special): ... additions to this variable.
15939 * malloc/Makefile (tests): Change dependencies to ....
15940 (tests-special): ... additions to this variable.
15941 * misc/Makefile (tests): Change dependencies to ....
15942 (tests-special): ... additions to this variable.
15943 * nptl/Makefile (tests): Change dependencies to ....
15944 (tests-special): ... additions to this variable.
15945 * nptl_db/Makefile (tests): Change dependencies to ....
15946 (tests-special): ... additions to this variable.
15947 * posix/Makefile (tests): Change dependencies to ....
15948 (tests-special): ... additions to this variable.
15949 (xtests): Change dependencies to ....
15950 (xtests-special): ... additions to this variable.
15951 * resolv/Makefile (tests): Change dependencies to ....
15952 (tests-special): ... additions to this variable.
15953 (xtests): Change dependencies to ....
15954 (xtests-special): ... additions to this variable.
15955 * stdio-common/Makefile (tests): Change dependencies to ....
15956 (tests-special): ... additions to this variable.
15957 (do-tst-unbputc): Remove target.
15958 (do-tst-printf): Likewise.
15959 * stdlib/Makefile (tests): Change dependencies to ....
15960 (tests-special): ... additions to this variable.
15961 * string/Makefile (tests): Change dependencies to ....
15962 (tests-special): ... additions to this variable.
15963 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15964 (tests-special): ... additions to this variable.
15965
15966 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15967 whole file.
15968 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15969 whole file.
15970 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15971 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15972
15973 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15974 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15975 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15976 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15977 * conform/data/libgen.h-data [XPG3]: Likewise.
15978 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15979 * conform/data/ndbm.h-data [XPG3]: Likewise.
15980 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15981 * conform/data/netdb.h-data [XPG3]: Likewise.
15982 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15983 * conform/data/poll.h-data [XPG3]: Likewise.
15984 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15985 * conform/data/strings.h-data [XPG3]: Likewise.
15986 * conform/data/stropts.h-data [XPG3]: Likewise.
15987 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15988 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15989 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15990 Likewise.
15991 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15992 * conform/data/sys/time.h-data [XPG3]: Likewise.
15993 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15994 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15995 * conform/data/sys/un.h-data [XPG3]: Likewise.
15996 * conform/data/syslog.h-data [XPG3]: Likewise.
15997 * conform/data/ucontext.h-data [XPG3]: Likewise.
15998 * conform/data/utmpx.h-data [XPG3]: Likewise.
15999 * conform/data/varargs.h-data [UNIX98]: Enable file.
16000
16001 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16002
16003 * math/libm-test.inc (struct test_f_f_data): Move expected results
16004 into structure for each rounding mode.
16005 (struct test_ff_f_data): Likewise.
16006 (struct test_ff_f_data_nexttoward): Likewise.
16007 (struct test_fi_f_data): Likewise.
16008 (struct test_fl_f_data): Likewise.
16009 (struct test_if_f_data): Likewise.
16010 (struct test_fff_f_data): Likewise.
16011 (struct test_c_f_data): Likewise.
16012 (struct test_f_f1_data): Likewise.
16013 (struct test_fF_f1_data): Likewise.
16014 (struct test_ffI_f1_data): Likewise.
16015 (struct test_c_c_data): Likewise.
16016 (struct test_cc_c_data): Likewise.
16017 (struct test_f_i_data): Likewise.
16018 (struct test_ff_i_data): Likewise.
16019 (struct test_f_l_data): Likewise.
16020 (struct test_f_L_data): Likewise.
16021 (struct test_fFF_11_data): Likewise.
16022 (RM_): New macro.
16023 (RM_FE_DOWNWARD): Likewise.
16024 (RM_FE_TONEAREST): Likewise.
16025 (RM_FE_TOWARDZERO): Likewise.
16026 (RM_FE_UPWARD): Likewise.
16027 (RUN_TEST_LOOP_f_f): Update references to expected results.
16028 (RUN_TEST_LOOP_2_f): Likewise.
16029 (RUN_TEST_LOOP_fff_f): Likewise.
16030 (RUN_TEST_LOOP_c_f): Likewise.
16031 (RUN_TEST_LOOP_f_f1): Likewise.
16032 (RUN_TEST_LOOP_fF_f1): Likewise.
16033 (RUN_TEST_LOOP_fI_f1): Likewise.
16034 (RUN_TEST_LOOP_ffI_f1): Likewise.
16035 (RUN_TEST_LOOP_c_c): Likewise.
16036 (RUN_TEST_LOOP_cc_c): Likewise.
16037 (RUN_TEST_LOOP_f_i): Likewise.
16038 (RUN_TEST_LOOP_f_i_tg): Likewise.
16039 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16040 (RUN_TEST_LOOP_f_b): Likewise.
16041 (RUN_TEST_LOOP_f_b_tg): Likewise.
16042 (RUN_TEST_LOOP_f_l): Likewise.
16043 (RUN_TEST_LOOP_f_L): Likewise.
16044 (RUN_TEST_LOOP_fFF_11): Likewise.
16045 * math/gen-libm-test.pl (parse_args): Output four copies of
16046 expected results for each test.
16047
16048 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16049 (__ASSUME_UTIMES): Remove.
16050 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16051 (__ASSUME_UTIMES): Likewise.
16052
16053 * math/gen-auto-libm-tests.c: Update comment on output format.
16054 (output_for_one_input_case): Generate before-rounding and
16055 after-rounding information as conditions on output flags not
16056 floating-point format.
16057 * math/auto-libm-test-out: Regenerated.
16058 * math/gen-libm-test.pl (cond_value): New function.
16059 (or_cond_value): Use cond_value.
16060 (generate_testfile): Handle conditional exceptions.
16061
160622014-03-05 Joseph Myers <joseph@codesourcery.com>
16063
16064 * math/libm-test.inc (max_valid_error): New variable.
16065 (init_max_error): Take new argument specifying whether function
16066 results are exactly determined. Set max_valid_error and bound
16067 other variables for errors based on this argument.
16068 (set_max_error): Do not record results above max_valid_error.
16069 (check_float_internal): Only accept errors of up to 0.5ulps if
16070 also at most max_valid_error.
16071 (START): Take new argument EXACT and pass it to init_max_error.
16072 (acos_test): Update call to START.
16073 (acos_test_tonearest): Likewise.
16074 (acos_test_towardzero): Likewise.
16075 (acos_test_downward): Likewise.
16076 (acos_test_upward): Likewise.
16077 (acosh_test): Likewise.
16078 (asin_test): Likewise.
16079 (asin_test_tonearest): Likewise.
16080 (asin_test_towardzero): Likewise.
16081 (asin_test_downward): Likewise.
16082 (asin_test_upward): Likewise.
16083 (asinh_test): Likewise.
16084 (atan_test): Likewise.
16085 (atanh_test): Likewise.
16086 (atan2_test): Likewise.
16087 (cabs_test): Likewise.
16088 (cacos_test): Likewise.
16089 (cacosh_test): Likewise.
16090 (carg_test): Likewise.
16091 (casin_test): Likewise.
16092 (casinh_test): Likewise.
16093 (catan_test): Likewise.
16094 (catanh_test): Likewise.
16095 (cbrt_test): Likewise.
16096 (ccos_test): Likewise.
16097 (ccosh_test): Likewise.
16098 (ceil_test): Likewise.
16099 (cexp_test): Likewise.
16100 (cimag_test): Likewise.
16101 (clog_test): Likewise.
16102 (clog10_test): Likewise.
16103 (conj_test): Likewise.
16104 (copysign_test): Likewise.
16105 (cos_test): Likewise.
16106 (cos_test_tonearest): Likewise.
16107 (cos_test_towardzero): Likewise.
16108 (cos_test_downward): Likewise.
16109 (cos_test_upward): Likewise.
16110 (cosh_test): Likewise.
16111 (cosh_test_tonearest): Likewise.
16112 (cosh_test_towardzero): Likewise.
16113 (cosh_test_downward): Likewise.
16114 (cosh_test_upward): Likewise.
16115 (cpow_test): Likewise.
16116 (cproj_test): Likewise.
16117 (creal_test): Likewise.
16118 (csin_test): Likewise.
16119 (csinh_test): Likewise.
16120 (csqrt_test): Likewise.
16121 (ctan_test): Likewise.
16122 (ctan_test_tonearest): Likewise.
16123 (ctan_test_towardzero): Likewise.
16124 (ctan_test_downward): Likewise.
16125 (ctan_test_upward): Likewise.
16126 (ctanh_test): Likewise.
16127 (ctanh_test_tonearest): Likewise.
16128 (ctanh_test_towardzero): Likewise.
16129 (ctanh_test_downward): Likewise.
16130 (ctanh_test_upward): Likewise.
16131 (erf_test): Likewise.
16132 (erfc_test): Likewise.
16133 (exp_test): Likewise.
16134 (exp_test_tonearest): Likewise.
16135 (exp_test_towardzero): Likewise.
16136 (exp_test_downward): Likewise.
16137 (exp_test_upward): Likewise.
16138 (exp10_test): Likewise.
16139 (exp10_test_tonearest): Likewise.
16140 (exp10_test_towardzero): Likewise.
16141 (exp10_test_downward): Likewise.
16142 (exp10_test_upward): Likewise.
16143 (pow10_test): Likewise.
16144 (exp2_test): Likewise.
16145 (expm1_test): Likewise.
16146 (expm1_test_tonearest): Likewise.
16147 (expm1_test_towardzero): Likewise.
16148 (expm1_test_downward): Likewise.
16149 (expm1_test_upward): Likewise.
16150 (fabs_test): Likewise.
16151 (fdim_test): Likewise.
16152 (floor_test): Likewise.
16153 (fma_test): Likewise.
16154 (fma_test_towardzero): Likewise.
16155 (fma_test_downward): Likewise.
16156 (fma_test_upward): Likewise.
16157 (fmax_test): Likewise.
16158 (fmin_test): Likewise.
16159 (fmod_test): Likewise.
16160 (fpclassify_test): Likewise.
16161 (frexp_test): Likewise.
16162 (hypot_test): Likewise.
16163 (ilogb_test): Likewise.
16164 (isfinite_test): Likewise.
16165 (finite_test): Likewise.
16166 (isgreater_test): Likewise.
16167 (isgreaterequal_test): Likewise.
16168 (isinf_test): Likewise.
16169 (isless_test): Likewise.
16170 (islessequal_test): Likewise.
16171 (islessgreater_test): Likewise.
16172 (isnan_test): Likewise.
16173 (isnormal_test): Likewise.
16174 (issignaling_test): Likewise.
16175 (isunordered_test): Likewise.
16176 (j0_test): Likewise.
16177 (j1_test): Likewise.
16178 (jn_test): Likewise.
16179 (ldexp_test): Likewise.
16180 (lgamma_test): Likewise.
16181 (gamma_test): Likewise.
16182 (lrint_test): Likewise.
16183 (lrint_test_tonearest): Likewise.
16184 (lrint_test_towardzero): Likewise.
16185 (lrint_test_downward): Likewise.
16186 (lrint_test_upward): Likewise.
16187 (llrint_test): Likewise.
16188 (llrint_test_tonearest): Likewise.
16189 (llrint_test_towardzero): Likewise.
16190 (llrint_test_downward): Likewise.
16191 (llrint_test_upward): Likewise.
16192 (log_test): Likewise.
16193 (log10_test): Likewise.
16194 (log1p_test): Likewise.
16195 (log2_test): Likewise.
16196 (logb_test): Likewise.
16197 (logb_test_downward): Likewise.
16198 (lround_test): Likewise.
16199 (llround_test): Likewise.
16200 (modf_test): Likewise.
16201 (nearbyint_test): Likewise.
16202 (nextafter_test): Likewise.
16203 (nexttoward_test): Likewise.
16204 (pow_test): Likewise.
16205 (pow_test_tonearest): Likewise.
16206 (pow_test_towardzero): Likewise.
16207 (pow_test_downward): Likewise.
16208 (pow_test_upward): Likewise.
16209 (remainder_test): Likewise.
16210 (drem_test): Likewise.
16211 (remainder_test_tonearest): Likewise.
16212 (drem_test_tonearest): Likewise.
16213 (remainder_test_towardzero): Likewise.
16214 (drem_test_towardzero): Likewise.
16215 (remainder_test_downward): Likewise.
16216 (drem_test_downward): Likewise.
16217 (remainder_test_upward): Likewise.
16218 (drem_test_upward): Likewise.
16219 (remquo_test): Likewise.
16220 (rint_test): Likewise.
16221 (rint_test_tonearest): Likewise.
16222 (rint_test_towardzero): Likewise.
16223 (rint_test_downward): Likewise.
16224 (rint_test_upward): Likewise.
16225 (round_test): Likewise.
16226 (scalb_test): Likewise.
16227 (scalbn_test): Likewise.
16228 (scalbln_test): Likewise.
16229 (signbit_test): Likewise.
16230 (sin_test): Likewise.
16231 (sin_test_tonearest): Likewise.
16232 (sin_test_towardzero): Likewise.
16233 (sin_test_downward): Likewise.
16234 (sin_test_upward): Likewise.
16235 (sincos_test): Likewise.
16236 (sinh_test): Likewise.
16237 (sinh_test_tonearest): Likewise.
16238 (sinh_test_towardzero): Likewise.
16239 (sinh_test_downward): Likewise.
16240 (sinh_test_upward): Likewise.
16241 (sqrt_test): Likewise.
16242 (sqrt_test_tonearest): Likewise.
16243 (sqrt_test_towardzero): Likewise.
16244 (sqrt_test_downward): Likewise.
16245 (sqrt_test_upward): Likewise.
16246 (tan_test): Likewise.
16247 (tan_test_tonearest): Likewise.
16248 (tan_test_towardzero): Likewise.
16249 (tan_test_downward): Likewise.
16250 (tan_test_upward): Likewise.
16251 (tanh_test): Likewise.
16252 (tgamma_test): Likewise.
16253 (trunc_test): Likewise.
16254 (y0_test): Likewise.
16255 (y1_test): Likewise.
16256 (yn_test): Likewise.
16257 (significand_test): Likewise.
16258
16259 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16260 individual tests in comment.
16261 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16262 (prev_max_error): New variable.
16263 (prev_real_max_error): Likewise.
16264 (prev_imag_max_error): Likewise.
16265 (compare_ulp_data): Don't refer to test names in comment.
16266 (find_test_ulps): Remove function.
16267 (find_function_ulps): Likewise.
16268 (find_complex_function_ulps): Likewise.
16269 (init_max_error): Take function name as argument. Look up ulps
16270 for that function.
16271 (print_ulps): Remove function.
16272 (print_max_error): Use prev_max_error instead of calling
16273 find_function_ulps.
16274 (print_complex_max_error): Use prev_real_max_error and
16275 prev_imag_max_error instead of calling find_complex_function_ulps.
16276 (check_float_internal): Take max_ulp parameter instead of calling
16277 find_test_ulps. Don't call print_ulps.
16278 (check_float): Update call to check_float_internal.
16279 (check_complex): Update calls to check_float_internal.
16280 (START): Pass argument to init_max_error.
16281 * math/gen-libm-test.pl (%results): Don't include "kind"
16282 information.
16283 (parse_ulps): Don't handle ulps of individual tests.
16284 (print_ulps_file): Likewise.
16285 (output_ulps): Likewise.
16286 * math/README.libm-test: Update.
16287 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16288 individual tests.
16289 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16290 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16291 * sysdeps/arm/libm-test-ulps: Likewise.
16292 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16293 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16294 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16295 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16296 * sysdeps/microblaze/libm-test-ulps: Likewise.
16297 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16298 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16300 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16301 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16302 * sysdeps/sh/libm-test-ulps: Likewise.
16303 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16304 * sysdeps/tile/libm-test-ulps: Likewise.
16305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16306
163072014-03-04 Joseph Myers <joseph@codesourcery.com>
16308
16309 * math/libm-test.inc (print_complex_max_error): Check separately
16310 whether real and imaginary errors are within allowed range and
16311 pass 0 to print_complex_function_ulps instead of value within
16312 allowed range.
16313
163142014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16315
16316 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16317 formatting.
16318 (get_handles_fopen): Likewise.
16319 (do_write_test): Likewise.
16320
16321 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16322
16323 * libio/fileops.c (do_ftell): Use cached offset when
16324 available.
16325 * libio/iofwide.c (do_ftell_wide): Likewise.
16326 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16327 _IO_file_attach.
16328 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16329
16330 [BZ #16532]
16331 * libio/libioP.h (get_file_offset): New function.
16332 * libio/fileops.c (get_file_offset): Likewise.
16333 (do_ftell): Likewise.
16334 (_IO_new_file_seekoff): Split out ftell logic.
16335 * libio/wfileops.c (do_ftell_wide): Likewise.
16336 (_IO_wfile_seekoff): Split out ftell logic.
16337 * libio/tst-ftell-active-handler.c: New test case.
16338 * libio/Makefile (tests): Add it.
16339
163402014-03-03 Roland McGrath <roland@hack.frob.com>
16341
16342 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16343 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16344
163452014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16346
16347 [BZ #16639]
16348 * nscd/connections.c (nscd_init): Call do_exit.
16349 (start_threads): Call do_exit and notify_parent.
16350 (begin_drop_privileges): Call do_exit.
16351 (finish_drop_privileges): Likewise.
16352 * nscd/selinux.c (preserve_capabilities): Likewise.
16353 (install_real_capabilities): Likewise.
16354 (nscd_selinux_enabled): Likewise.
16355 (avc_create_thread): Likewise.
16356 (avc_alloc_lock): Likewise.
16357 (nscd_avc_init): Likewise.
16358 * nscd/nscd.c (parent_fd): New static variable.
16359 (main): Create a pipe between parent and child processes.
16360 Skip closing parent_fd.
16361 (monitor_child): New function.
16362 (do_exit): Likewise.
16363 (notify_parent): Likewise.
16364 * nscd/nscd.h (notify_parent): Likewise.
16365 (do_exit): Likewise.
16366
163672014-03-03 Carlos O'Donell <carlos@redhat.com>
16368
16369 * malloc/malloc.c (__libc_calloc): Revert last change.
16370
163712014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16372
16373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16374
163752014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16376
16377 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16379 implementation.
16380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16381 (__libc_ifunc_impl_list): Likewise.
16382 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16383 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16384 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16385 * string/strrchr.c: Define STRRCHR.
16386
163872014-02-28 Ondřej Bílka <neleai@seznam.cz>
16388
16389 * benchtest/bench-strtok.c (simple_strtok): Delete.
16390 (strtok_string): Use as benchmark.
16391 * string/strtok (STRTOK): New macro.
16392
163932014-02-28 Carlos O'Donell <carlos@redhat.com>
16394
16395 * manual/threads.texi: Add header and standard comments to all
16396 functions.
16397
16398 * elf/dl-lookup.c (check_match): New function.
16399 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16400 (do_lookup_x): Remove nested function check_match. Use non-nested
16401 function check_match.
16402
164032014-02-28 Roland McGrath <roland@hack.frob.com>
16404
16405 * csu/Makefile (generated, before-compile): Use += rather than =.
16406 * catgets/Makefile (generated, generated-dirs): Likewise.
16407 * debug/Makefile (generated): Likewise.
16408 * dlfcn/Makefile (generated): Likewise.
16409 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16410 * iconvdata/Makefile (before-compile, generated): Likewise.
16411 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16412 * libio/Makefile (generated): Likewise.
16413 * malloc/Makefile (generated): Likewise.
16414 * manual/Makefile (generated, generated-dirs): Likewise.
16415 * misc/Makefile (generated): Likewise.
16416 * posix/Makefile (generated): Likewise.
16417 * resolv/Makefile (generated): Likewise.
16418 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16419 * timezone/Makefile (generated, generated-dirs): Likewise.
16420
16421 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16422
164232014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16424
16425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16426 power8 implementation.
16427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16428 file: POWER8 llround ifunc implementation.
16429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16430 (__lllround): Add POWER8 implementation.
16431 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16432 POWER8 llround implementation.
16433
16434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16435 power8 implementation.
16436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16437 file: POWER8 llrint ifunc implementation.
16438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16439 Add POWER8 implementation.
16440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16441 POWER8 llrint implementation.
16442
16443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16444 power8 implementation.
16445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16446 file: POWER8 finite ifunc implementation.
16447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16448 Add POWER8 implementation.
16449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16450 Likewise.
16451 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16452 POWER8 finite implementation.
16453 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16454
16455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16456 power8 implementation.
16457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16458 file: POWER8 isinf ifunc implementation.
16459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16460 POWER8 implementation.
16461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16462 Likewise.
16463 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16464 isinf implementation.
16465 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16466
16467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16468 (INIT_ARCH): Add hwcap2 initialization.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16470 power8 implementation.
16471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16472 file: POWER8 isnan ifunc implementation.
16473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16474 POWER8 implementation.
16475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16476 Likewise.
16477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16478 isnan implementation.
16479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16480
164812014-02-27 Joey Ye <joey.ye@arm.com>
16482
16483 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16484 (_FP_NANFRAC_Q): Set to zero.
16485
164862014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16487
16488 [BZ #16623]
16489 * math/auto-libm-test-in: New test inputs.
16490 * math/auto-libm-test-out: Regenerate.
16491 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16492 and DA.
16493 (__cos): Likewise.
16494 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16495
164962014-02-27 Joseph Myers <joseph@codesourcery.com>
16497
16498 * scripts/evaluate-test.sh: Take new argument indicating whether
16499 failure is expected.
16500 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16501 indicating whether failure is expected.
16502 * conform/Makefile (test-xfail-run-conformtest): New variable.
16503 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16504 level.
16505 * posix/Makefile (test-xfail-annexc): New variable.
16506 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16507
165082014-02-26 Joseph Myers <joseph@codesourcery.com>
16509
16510 * argp/Makefile: Include Makeconfig immediately after defining
16511 subdir.
16512 * assert/Makefile: Likewise.
16513 * benchtests/Makefile: Likewise.
16514 * catgets/Makefile: Likewise.
16515 * conform/Makefile: Likewise.
16516 * crypt/Makefile: Likewise.
16517 * csu/Makefile: Likewise.
16518 (all): Remove target.
16519 * ctype/Makefile: Include Makeconfig immediately after defining
16520 subdir.
16521 * debug/Makefile: Likewise.
16522 * dirent/Makefile: Likewise.
16523 * dlfcn/Makefile: Likewise.
16524 * gmon/Makefile: Likewise.
16525 * gnulib/Makefile: Likewise.
16526 * grp/Makefile: Likewise.
16527 * gshadow/Makefile: Likewise.
16528 * hesiod/Makefile: Likewise.
16529 * hurd/Makefile: Likewise.
16530 (all): Remove target.
16531 * iconvdata/Makefile: Include Makeconfig immediately after
16532 defining subdir.
16533 * inet/Makefile: Likewise.
16534 * intl/Makefile: Likewise.
16535 * io/Makefile: Likewise.
16536 * libio/Makefile: Likewise.
16537 (all): Remove target.
16538 * locale/Makefile: Include Makeconfig immediately after defining
16539 subdir.
16540 * login/Makefile: Likewise.
16541 * mach/Makefile: Likewise.
16542 (all): Remove target.
16543 * malloc/Makefile: Include Makeconfig immediately after defining
16544 subdir.
16545 (all): Remove target.
16546 * manual/Makefile: Include Makeconfig immediately after defining
16547 subdir.
16548 * math/Makefile: Likewise.
16549 * misc/Makefile: Likewise.
16550 * nis/Makefile: Likewise.
16551 * nss/Makefile: Likewise.
16552 * po/Makefile: Likewise.
16553 (all): Remove target.
16554 * posix/Makefile: Include Makeconfig immediately after defining
16555 subdir.
16556 * pwd/Makefile: Likewise.
16557 * resolv/Makefile: Likewise.
16558 * resource/Makefile: Likewise.
16559 * rt/Makefile: Likewise.
16560 * setjmp/Makefile: Likewise.
16561 * shadow/Makefile: Likewise.
16562 * signal/Makefile: Likewise.
16563 * socket/Makefile: Likewise.
16564 * soft-fp/Makefile: Likewise.
16565 * stdio-common/Makefile: Likewise.
16566 * stdlib/Makefile: Likewise.
16567 * streams/Makefile: Likewise.
16568 * string/Makefile: Likewise.
16569 * sunrpc/Makefile: Likewise.
16570 (all): Remove target.
16571 * sysvipc/Makefile: Include Makeconfig immediately after defining
16572 subdir.
16573 * termios/Makefile: Likewise.
16574 * time/Makefile: Likewise.
16575 * timezone/Makefile: Likewise.
16576 (all): Remove target.
16577 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16578 subdir.
16579 * wctype/Makefile: Likewise.
16580
165812014-02-26 Steve Ellcey <sellcey@mips.com>
16582
16583 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16584 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16585 (libc_feholdexcept_setround_mips): Ditto.
16586 (libc_feholdsetround): New.
16587 (libc_feholdsetroundf): New.
16588 (libc_feholdsetroundl): New.
16589 (libc_feupdateenv_test_mips): New.
16590 (libc_feupdateenv_test): New.
16591 (libc_feupdateenv_testf): New.
16592 (libc_feupdateenv_testl): New.
16593 (libc_feresetround): New.
16594 (libc_feresetroundf): New.
16595 (libc_feresetroundl): New.
16596 (libc_fetestexcept_mips): New.
16597 (libc_fetestexcept): New.
16598 (libc_fetestexceptf): New.
16599 (libc_fetestexceptl): New.
16600 (HAVE_RM_CTX): New.
16601 (libc_feholdexcept_setround_mips_ctx): New.
16602 (libc_feholdexcept_setround_ctx): New.
16603 (libc_feholdexcept_setroundf_ctx): New.
16604 (libc_feholdexcept_setroundl_ctx): New.
16605 (libc_fesetenv_mips_ctx): New.
16606 (libc_fesetenv_ctx): New.
16607 (libc_fesetenv_ctxf): New.
16608 (libc_fesetenv_ctxl): New.
16609 (libc_feupdateenv_mips_ctx): New.
16610 (libc_feupdateenv_ctx): New.
16611 (libc_feupdateenvf_ctx): New.
16612 (libc_feupdateenvl_ctx): New.
16613 (libc_feholdsetround_mips_ctx): New.
16614 (libc_feholdsetround_ctx): New.
16615 (libc_feholdsetroundf_ctx): New.
16616 (libc_feholdsetroundl_ctx): New.
16617 (libc_feresetround_mips_ctx): New.
16618 (libc_feresetround_ctx): New.
16619 (libc_feresetroundf_ctx): New.
16620 (libc_feresetroundl_ctx): New.
16621
166222014-02-26 Carlos O'Donell <carlos@redhat.com>
16623
16624 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16625
16626 * manual/ipc.texi: New file.
16627 * manual/Makefile (chapters): Add ipc.
16628 * manual/job.texi: Add "Inter-Process Communication" to next.
16629 * manual/process.texi: Add "Inter-Process Communication" to prev.
16630
166312014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16632
16633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16634
166352014-02-26 Ondřej Bílka <neleai@seznam.cz>
16636
16637 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16638
16639 * manual/arith.texi: Fix spaces after sentences.
16640 * manual/charset.texi: Likewise.
16641 * manual/errno.texi: Likewise.
16642 * manual/install.texi: Likewise.
16643 * manual/llio.texi: Likewise.
16644 * manual/locale.texi: Likewise.
16645 * manual/maint.texi: Likewise.
16646 * manual/math.texi: Likewise.
16647 * manual/memory.texi: Likewise.
16648 * manual/message.texi: Likewise.
16649 * manual/probes.texi: Likewise.
16650 * manual/resource.texi: Likewise.
16651 * manual/signal.texi: Likewise.
16652 * manual/socket.texi: Likewise.
16653 * manual/stdio.texi: Likewise.
16654 * manual/string.texi: Likewise.
16655 * manual/time.texi: Likewise.
16656 * manual/users.texi: Likewise.
16657
166582014-02-25 Carlos O'Donell <carlos@redhat.com>
16659
16660 [BZ #16632]
16661 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16662 _DEFAULT_SOURCE is defined.
16663
166642014-02-25 Ulrich Drepper <drepper@gmail.com>
16665 Carlos O'Donell <carlos@redhat.com>
16666
16667 [BZ #16613]
16668 * elf/dl-tls.c (_dl_count_modids): New function.
16669 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16670 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16671 audit library and increment generation counter.
16672 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16673 * elf/tst-audit9.c: New file.
16674 * elf/tst-auditmod9a.c: New file.
16675 * elf/tst-auditmod9b.c: New file.
16676 * elf/Makefile: Add rules to build and run tst-audit9.
16677
166782014-02-25 Florian Weimer <fweimer@redhat.com>
16679
16680 [BZ #15347]
16681 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16682
166832014-02-25 Will Newton <will.newton@linaro.org>
16684
16685 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16686 (__longjmp): Restore sp and lr before restoring callee
16687 saved registers. Add longjmp and longjmp_target
16688 SystemTap probe point.
16689 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16690 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16691 Define to zero to match jmpbuf layout.
16692 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16693 (__sigsetjmp): Save sp and lr before saving callee
16694 saved registers. Add setjmp SystemTap probe point.
16695
166962014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16697
16698 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16699
167002014-02-24 Andreas Schwab <schwab@suse.de>
16701
16702 [BZ #15804]
16703 * elf/pldd.c (wait_for_ptrace_stop): New function.
16704 (main): Call it after attaching.
16705
167062014-02-22 Roland McGrath <roland@hack.frob.com>
16707
16708 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16709 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16710 Versions files is now verboten.
16711 * hurd/Versions (libc: GLIBC_2.0):
16712 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16713 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16714 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16715 * mach/Versions: Likewise.
16716
16717 * csu/Versions: Remove unused %include.
16718 * resolv/Versions: Likewise.
16719
167202014-02-21 Joseph Myers <joseph@codesourcery.com>
16721
16722 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16723 ($(objpfx)check-local-headers.out): Likewise.
16724 ($(objpfx)begin-end-check.out): Likewise.
16725 * Makerules (check-abi-%.out): Likewise.
16726 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16727 ($(objpfx)test2.cat): Likewise.
16728 ($(objpfx)de/libc.cat): Likewise.
16729 ($(objpfx)test-gencat.out): Likewise.
16730 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16731 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16732 ($(objpfx)noload-mem): Likewise.
16733 ($(objpfx)tst-pathopt.out): Likewise.
16734 ($(objpfx)tst-rtld-load-self.out): Likewise.
16735 ($(objpfx)tst-array1-cmp.out): Likewise.
16736 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16737 ($(objpfx)tst-array2-cmp.out): Likewise.
16738 ($(objpfx)tst-array3-cmp.out): Likewise.
16739 ($(objpfx)tst-array4-cmp.out): Likewise.
16740 ($(objpfx)tst-array5-cmp.out): Likewise.
16741 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16742 ($(objpfx)check-textrel.out): Likewise.
16743 ($(objpfx)check-execstack.out): Likewise.
16744 ($(objpfx)check-localplt.out): Likewise.
16745 ($(objpfx)order2-cmp.out): Likewise.
16746 ($(objpfx)tst-leaks1-mem): Likewise.
16747 ($(objpfx)tst-leaks1-static-mem): Likewise.
16748 ($(objpfx)tst-initorder-cmp.out): Likewise.
16749 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16750 ($(objpfx)tst-unused-dep.out): Likewise.
16751 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16752 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16753 * iconv/Makefile (test-iconvconfig): Likewise.
16754 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16755 ($(objpfx)iconv-test.out): Likewise.
16756 ($(objpfx)tst-tables.out): Likewise.
16757 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16758 ($(objpfx)tst-gettext.out): Likewise.
16759 ($(objpfx)tst-translit.out): Likewise.
16760 ($(objpfx)tst-gettext2.out): Likewise.
16761 ($(objpfx)tst-gettext4.out): Likewise.
16762 ($(objpfx)tst-gettext6.out): Likewise.
16763 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16764 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16765 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16766 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16767 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16768 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16769 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16770 ($(objpfx)wordexp-tst.out): Likewise.
16771 ($(objpfx)annexc.out): Likewise.
16772 ($(objpfx)tst-fnmatch-mem): Likewise.
16773 ($(objpfx)bug-regex2-mem): Likewise.
16774 ($(objpfx)bug-regex14-mem): Likewise.
16775 ($(objpfx)bug-regex21-mem): Likewise.
16776 ($(objpfx)bug-regex31-mem): Likewise.
16777 ($(objpfx)tst-vfork3-mem): Likewise.
16778 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16779 ($(objpfx)tst-pcre-mem): Likewise.
16780 ($(objpfx)tst-boost-mem): Likewise.
16781 ($(objpfx)tst-getconf.out): Likewise.
16782 ($(objpfx)bug-ga2-mem): Likewise.
16783 ($(objpfx)bug-glob2-mem): Likewise.
16784 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16785 ($(objpfx)mtrace-tst-leaks2): Likewise.
16786 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16787 ($(objpfx)tst-printf.out): Likewise.
16788 ($(objpfx)tst-setvbuf1.out): Likewise.
16789 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16790 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16791 ($(objpfx)tst-fmtmsg.out): Likewise.
16792 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16793 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16794
16795 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16796 * bits/sigaction.h [__USE_MISC]: Likewise.
16797 * bits/waitstatus.h: Update #endif comments.
16798 * ctype/ctype.h: Likewise.
16799 * dirent/dirent.h: Likewise.
16800 [__USE_MISC]: Remove redundant conditionals.
16801 * grp/grp.h: Update #endif comments.
16802 [__USE_GNU]: Remove redundant conditionals.
16803 [__USE_MISC]: Likewise.
16804 * inet/netinet/in.h [__USE_GNU]: Likewise.
16805 * io/sys/stat.h [__USE_MISC]: Likewise.
16806 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16807 * libio/bits/stdio.h: Update #endif comments.
16808 [__USE_MISC]: Remove redundant conditionals.
16809 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16810 * libio/stdio.h: Update #endif comments.
16811 [__USE_MISC]: Remove redundant conditionals.
16812 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16813 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16814 * math/math.h: Update #else and #endif comments.
16815 [__USE_MISC]: Remove redundant conditionals.
16816 * misc/sys/uio.h: Update #endif comments.
16817 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16818 * posix/glob.h [__USE_MISC]: Likewise.
16819 * posix/sys/types.h: Update #endif comments.
16820 [__USE_MISC]: Remove redundant conditionals.
16821 * posix/sys/wait.h: Update #endif comments.
16822 [__USE_MISC]: Remove redundant conditionals.
16823 * posix/unistd.h: Update #endif comments.
16824 [__USE_MISC]: Remove redundant conditionals.
16825 * pwd/pwd.h [__USE_GNU]: Likewise.
16826 [__USE_MISC]: Likewise.
16827 * resolv/netdb.h [__USE_GNU]: Likewise.
16828 * signal/signal.h: Update #endif comments.
16829 [__USE_MISC]: Remove redundant conditionals.
16830 * stdlib/stdlib.h: Update #else and #endif comments.
16831 [__USE_MISC]: Remove redundant conditionals.
16832 [__USE_GNU]: Likewise.
16833 * string/bits/string2.h [__USE_MISC]: Likewise.
16834 * string/string.h: Update #endif comments.
16835 [__USE_MISC]: Remove redundant conditionals.
16836 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16837 Likewise.
16838 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16839 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16840 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16841 Likewise.
16842 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16843 Likewise.
16844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16845 comments.
16846 [__USE_MISC]: Remove redundant conditionals.
16847 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16848 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16849 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16850 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16851 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16852 Likewise.
16853 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16854 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16855 Likewise.
16856 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16857 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16858 Likewise.
16859 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16860 Likewise.
16861 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16862 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16863 Likewise.
16864 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16865 Likewise.
16866 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16867 * sysdeps/x86/bits/string.h: Update #endif comments.
16868 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16869 conditionals.
16870 * time/sys/time.h: Update #endif comments.
16871 * time/time.h: Likewise.
16872 [__USE_MISC]: Remove redundant conditionals.
16873
168742014-02-21 Yury Gribov <y.gribov@samsung.com>
16875
16876 [BZ #16600]
16877 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16878
168792014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16880
16881 * Versions.def (librt): Add GLIBC_2.17.
16882
168832014-02-21 Adam Conrad <adconrad@0c3.net>
16884
16885 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16886 synonym for _SYS_AUXV_H to allow direct inclusion.
16887 * sysdeps/sparc/bits/hwcap.h: Likewise.
16888 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16889 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16890 * sysdeps/sparc/sysdep.h: Likewise.
16891
168922014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
16894 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16895
168962014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16897
16898 * benchtests/bench-strrchr.c: Print length instead of position.
16899
169002014-02-20 Joseph Myers <joseph@codesourcery.com>
16901
16902 [BZ #16611]
16903 * sysdeps/unix/sysv/linux/kernel-features.h
16904 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16905 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16906 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16907 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16908 Likewise.
16909 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16910 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16911 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16912 (__ASSUME_SENDMMSG): Define instead of using previous
16913 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16914 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16915 (__ASSUME_SENDMMSG_SYSCALL): Define.
16916 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16917 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16918 Likewise.
16919 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16920 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16921 Likewise.
16922 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16923 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16924 Likewise.
16925 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16926 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16927 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16928 [__ASSUME_SENDMMSG]: Change conditionals to
16929 [__ASSUME_SENDMMSG_SOCKETCALL].
16930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16931 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16932 Define.
16933 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16934 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16935 Likewise.
16936 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16937 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16938 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16939 [!__ASSUME_SENDMMSG]: Change conditional to
16940 [!__ASSUME_SENDMMSG_SOCKETCALL].
16941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16942 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16943 Define.
16944
16945 [BZ #16610]
16946 * sysdeps/unix/sysv/linux/kernel-features.h
16947 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16948 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16949 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16950 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16951 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16952 [__i386__ || __sparc__]
16953 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16954 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16955 (__ASSUME_RECVMMSG): Define instead of using previous
16956 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16957 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16958 (__ASSUME_RECVMMSG_SYSCALL): Define.
16959 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16961 Likewise.
16962 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16963 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16964 Likewise.
16965 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16966 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16967 Likewise.
16968 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16969 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16970 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16971 [__ASSUME_RECVMMSG]: Change condition to
16972 [__ASSUME_RECVMMSG_SOCKETCALL].
16973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16974 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16975 Define.
16976 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16977 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16978 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
16986 (__ASSUME_RECVMMSG_SYSCALL): Define.
16987
16988 [BZ #16609]
16989 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16990 __powerpc__ || __s390__ || __sh__ || __sparc__]
16991 (__ASSUME_SOCKETCALL): Define.
16992 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16993 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16994 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16995 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16996 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16997 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16998 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16999 (__ASSUME_ACCEPT4): Define instead of using previous
17000 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17001 __powerpc__ || __sparc__ || __s390__)] condition.
17002 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17003 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17004 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17005 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17006 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17007 [!__ASSUME_ACCEPT4]: Change condition to
17008 [!__ASSUME_ACCEPT4_SOCKETCALL].
17009 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17010 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17011 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17012 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17013 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17014 __ASSUME_ACCEPT4_SYSCALL.
17015 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17016 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17018 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17019 __ASSUME_ACCEPT4_SYSCALL.
17020 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17021 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17022 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17023 [__ASSUME_ACCEPT4]: Change condition to
17024 [__ASSUME_ACCEPT4_SOCKETCALL].
17025 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17026 (__ASSUME_SOCKETCALL): Define.
17027 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17028 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17029 (__ASSUME_SOCKETCALL): Define.
17030 (__ASSUME_ACCEPT4): Remove.
17031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17032 Define.
17033 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17034 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17037 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17038
17039 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17040 macro.
17041 (HWCAP_ARM_LPAE): Likewise.
17042 (HWCAP_ARM_EVTSTRM): Likewise.
17043 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17044 Add vpfd32, lpae and evtstrm.
17045 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17046 Increase to 22.
17047
170482014-02-19 Joseph Myers <joseph@codesourcery.com>
17049
17050 * math/auto-libm-test-in: Add tests of clog10.
17051 * math/auto-libm-test-out: Regenerated.
17052 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17053 * sysdeps/i386/fpu/libm-test-ulps: Update.
17054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17055
170562014-02-18 Andreas Schwab <schwab@suse.de>
17057
17058 [BZ #16574]
17059 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17060 Store non-zero if the second buffer was newly allocated.
17061 (send_dg): Likewise.
17062 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17063 to send_vc and send_dg.
17064 (res_nsend): Pass NULL for ansp2_malloced.
17065 * resolv/res_query.c (__libc_res_nquery): Add parameter
17066 answerp2_malloced and pass it down to __libc_res_nsend.
17067 (res_nquery): Pass additional NULL to __libc_res_nquery.
17068 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17069 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17070 second answer buffer if answerp2_malloced was set.
17071 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17072 (__libc_res_nquerydomain): Add parameter
17073 answerp2_malloced and pass it down to __libc_res_nquery.
17074 (res_nquerydomain): Pass additional NULL to
17075 __libc_res_nquerydomain.
17076 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17077 additional NULL to __libc_res_nsend and __libc_res_nquery.
17078 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17079 additional NULL to __libc_res_nsearch.
17080 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17081 parameter of __libc_res_nsearch to check for separately allocated
17082 second buffer.
17083 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17084 __libc_res_nquery.
17085 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17086 additional NULL to __libc_res_nquery.
17087 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17088 __libc_res_nsearch.
17089 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17090 * include/resolv.h: Update prototypes of __libc_res_nquery,
17091 __libc_res_nsearch, __libc_res_nsend.
17092
170932014-02-18 Joseph Myers <joseph@codesourcery.com>
17094
17095 * math/auto-libm-test-in: Add tests of fma.
17096 * math/auto-libm-test-out: Regenerated.
17097 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17098 (fma_towardzero_test_data): Likewise.
17099 (fma_downward_test_data): Likewise.
17100 (fma_upward_test_data): Likewise.
17101 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17102 mpc_mode.
17103 (rounding_modes): Add values for new field.
17104 (func_calc_method): Add value mpfr_fff_f.
17105 (func_calc_desc): Add mpfr_fff_f union field.
17106 (test_function): Add field exact_args.
17107 (FUNC): Add macro argument EXACT_ARGS.
17108 (FUNC_mpfr_f_f): Update call to FUNC.
17109 (FUNC_mpfr_f_f): Likewise.
17110 (FUNC_mpfr_ff_f): Likewise.
17111 (FUNC_mpfr_if_f): Likewise.
17112 (FUNC_mpc_c_f): Likewise.
17113 (FUNC_mpc_c_c): Likewise.
17114 (test_functions): Add fma. Update calls to FUNC.
17115 (handle_input_arg): Add argument exact_args.
17116 (add_test): Update call to handle_input_arg.
17117 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17118 (output_for_one_input_case): Update call to calc_generic_results.
17119 Recalculate exact zero results in each rounding mode.
17120
17121 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17122 non-negative before setting low bit.
17123 * math/auto-libm-test-in: Mark one asin test possibly having
17124 spurious underflow.
17125 * math/auto-libm-test-out: Regenerated.
17126 * sysdeps/i386/fpu/libm-test-ulps: Update.
17127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17128
171292014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17130
17131 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17132 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17133 ports/sysdeps/unix/sysv/linux/microblaze.
17134 * README: Add missing listing for microblaze*-*-linux-gnu.
17135
171362014-02-16 Ondřej Bílka <neleai@seznam.cz>
17137
17138 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17139 duplicate code
17140
171412014-02-16 Mike Frysinger <vapier@gentoo.org>
17142
17143 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17144 * sysdeps/unix/sysv/linux/ia64: Move directory from
17145 ports/sysdeps/unix/sysv/linux/ia64.
17146 * README: Update listing for ia64-*-linux-gnu.
17147
171482014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17149 Joseph Myers <joseph@codesourcery.com>
17150
17151 * Makeconfig (test-name): New variable.
17152 (evaluate-test): Likewise.
17153 * Makerules (do-test-clean): Remove .test-result files.
17154 (common-mostlyclean): Likewise.
17155 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17156 * scripts/evaluate-test.sh: New file.
17157
171582014-02-14 Joseph Myers <joseph@codesourcery.com>
17159
17160 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17161 separate $(objpfx)tst-fopenloc-cmp.out and
17162 $(objpfx)tst-fopenloc-mem.out targets.
17163 (tests): Update dependencies.
17164 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17165 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17166 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17167 (tst-rxspencer-no-utf8-ARGS): New variable.
17168 (tst-rxspencer-no-utf8-ENV): Likewise.
17169 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17170 instead of $(objpfx)tst-rxspencer-mem.
17171 ($(objpfx)tst-rxspencer-mem): Change target to
17172 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17173 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17174 * posix/tst-rxspencer-no-utf8.c: New file.
17175
17176 * elf/Makefile ($(objpfx)order.out): Remove rule.
17177 [$(run-built-tests) = yes] (tests): Depend on
17178 $(objpfx)order-cmp.out.
17179 ($(objpfx)order-cmp.out): New rule.
17180 [$(run-built-tests) = yes] (tests): Depend on
17181 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17182 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17183 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17184 $(objpfx)tst-array5-static-cmp.out.
17185 ($(objpfx)tst-array1.out): Remove rule.
17186 ($(objpfx)tst-array1-cmp.out): New rule.
17187 ($(objpfx)tst-array1-static.out): Remove rule.
17188 ($(objpfx)tst-array1-static-cmp.out): New rule.
17189 ($(objpfx)tst-array2.out): Remove rule.
17190 ($(objpfx)tst-array2-cmp.out): New rule.
17191 ($(objpfx)tst-array3.out): Remove rule.
17192 ($(objpfx)tst-array3-cmp.out): New rule.
17193 ($(objpfx)tst-array4.out): Remove rule.
17194 ($(objpfx)tst-array4-cmp.out): New rule.
17195 ($(objpfx)tst-array5.out): Remove rule.
17196 ($(objpfx)tst-array5-cmp.out): New rule.
17197 ($(objpfx)tst-array5-static.out): Remove rule.
17198 ($(objpfx)tst-array5-static-cmp.out): New rule.
17199 [$(run-built-tests) = yes] (tests): Depend on
17200 $(objpfx)order2-cmp.out.
17201 ($(objpfx)order2.out): Remove rule.
17202 ($(objpfx)order2-cmp.out): New rule.
17203 ($(objpfx)tst-initorder.out): Remove rule.
17204 [$(run-built-tests) = yes] (tests): Depend on
17205 $(objpfx)tst-initorder-cmp.out.
17206 ($(objpfx)tst-initorder-cmp.out): New rule.
17207 ($(objpfx)tst-initorder2.out): Remove rule.
17208 [$(run-built-tests) = yes] (tests): Depend on
17209 $(objpfx)tst-initorder2-cmp.out.
17210 ($(objpfx)tst-initorder2-cmp.out): New rule.
17211 [$(run-built-tests) = yes] (tests): Depend on
17212 $(objpfx)tst-unused-dep-cmp.out.
17213 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17214 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17215 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17216 on $(objpfx)tst-setvbuf1-cmp.out.
17217 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17218 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17219 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17220 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17221 ($(objpfx)tst-svc.out): Remove rule.
17222 ($(objpfx)tst-svc-cmp.out): New rule.
17223
172242014-02-13 Joseph Myers <joseph@codesourcery.com>
17225
17226 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17227 * ctype/ctype.h [__USE_MISC]: Likewise.
17228 * dirent/dirent.h [__USE_MISC]: Likewise.
17229 * grp/grp.h [__USE_MISC]: Likewise.
17230 * io/fcntl.h [__USE_MISC]: Likewise.
17231 * io/sys/stat.h [__USE_MISC]: Likewise.
17232 * libio/stdio.h [__USE_MISC]: Likewise.
17233 * posix/unistd.h [__USE_MISC]: Likewise.
17234 * pwd/pwd.h [__USE_MISC]: Likewise.
17235 * stdlib.h [__USE_MISC]: Likewise.
17236 * string/bits/string2.h [__USE_MISC]: Likewise.
17237 * string/string.h [__USE_MISC]: Likewise.
17238 * time/time.h [__USE_MISC]: Likewise.
17239
172402014-02-13 Andreas Schwab <schwab@suse.de>
17241
17242 [BZ #16574]
17243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17244 second answer buffer if it was separately allocated.
17245
172462014-02-12 Joseph Myers <joseph@codesourcery.com>
17247
17248 * sysdeps/mips/math-tests.h: Include <features.h>.
17249 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17250 (ROUNDING_TESTS_long_double): Do not define.
17251 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17252 (EXCEPTION_TESTS_long_double): Likewise.
17253 * sysdeps/mips/mips64/libm-test-ulps: Update.
17254
17255 * include/features.h (__USE_BSD): Remove macro definitions.
17256 (__USE_SVID): Likewise.
17257 (_BSD_SOURCE): Likewise.
17258 (_SVID_SOURCE): Likewise.
17259 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17260 from definition of _DEFAULT_SOURCE.
17261 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17262 [_DEFAULT_SOURCE].
17263 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17264 * bits/mman.h [__USE_BSD]: Likewise.
17265 * bits/termios.h [__USE_BSD]: Likewise.
17266 * bits/waitstatus.h [__USE_BSD]: Likewise.
17267 * ctype/ctype.h [__USE_SVID]: Likewise.
17268 * dirent/dirent.h [__USE_BSD]: Likewise.
17269 * grp/grp.h [__USE_SVID]: Likewise.
17270 [__USE_BSD]: Likewise.
17271 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17272 * io/fcntl.h [__USE_BSD]: Likewise.
17273 * io/ftw.h [__USE_BSD]: Likewise.
17274 * io/sys/stat.h [__USE_BSD]: Likewise.
17275 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17276 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17277 * libio/stdio.h [__USE_SVID]: Likewise.
17278 [__USE_BSD]: Likewise.
17279 * math/math.h [__USE_SVID]: Likewise.
17280 [__USE_BSD]: Likewise.
17281 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17282 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17283 * misc/search.h [__USE_SVID]: Likewise.
17284 * misc/sys/mman.h [__USE_BSD]: Likewise.
17285 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17286 * misc/sys/uio.h [__USE_BSD]: Likewise.
17287 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17288 * posix/glob.h [__USE_BSD]: Likewise.
17289 * posix/regex.h [__USE_BSD]: Likewise.
17290 * posix/sys/types.h [__USE_BSD]: Likewise.
17291 [__USE_SVID]: Likewise.
17292 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17293 * posix/sys/wait.h [__USE_BSD]: Likewise.
17294 [__USE_SVID]: Likewise.
17295 * posix/unistd.h [__USE_BSD]: Likewise.
17296 [__USE_SVID]: Likewise.
17297 * pwd/pwd.h [__USE_SVID]: Likewise.
17298 * resolv/netdb.h [__USE_BSD]: Likewise.
17299 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17300 * signal/signal.h [__USE_BSD]: Likewise.
17301 [__USE_SVID]: Likewise.
17302 * socket/sys/socket.h [__USE_BSD]: Likewise.
17303 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17304 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17305 [__USE_SVID]: Likewise.
17306 * string/bits/string2.h [__USE_BSD]: Likewise.
17307 [__USE_SVID]: Likewise.
17308 * string/bits/string3.h [__USE_BSD]: Likewise.
17309 * string/endian.h [__USE_BSD]: Likewise.
17310 * string/string.h [__USE_SVID]: Likewise.
17311 [__USE_BSD]: Likewise.
17312 * string/strings.h [__USE_BSD]: Likewise.
17313 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17314 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17315 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17316 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17317 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17318 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17319 Likewise.
17320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17321 Likewise.
17322 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17323 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17324 Likewise.
17325 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17326 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17327 Likewise.
17328 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17329 Likewise.
17330 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17331 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17332 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17333 Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17335 Likewise.
17336 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17337 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17338 * termios/termios.h [__USE_BSD]: Likewise.
17339 * time/sys/time.h [__USE_BSD]: Likewise.
17340 * time/time.h [__USE_BSD]: Likewise.
17341 [__USE_SVID]: Likewise.
17342
17343 * Makefile (subdir_targets): Remove subdir_lint.out.
17344
17345 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17346 (do-tst-printf): Likewise.
17347 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17348 $(objpfx)tst-printf.out.
17349
17350 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17351
17352 * Makerules (check-abi-%): Change target to
17353 $(objpfx)check-abi-%.out.
17354 (check-abi target): Update dependencies.
17355 (check-abi-pattern variable): Redirect output of diff to $@.
17356 (check-abi variable): Likewise.
17357 * elf/Makefile (check-abi): Update dependencies.
17358
17359 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17360 unused.
17361 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17362 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17363 subnormal range.
17364 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17365 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17366 value has largest subnormal exponent.
17367 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17368 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17369 * sysdeps/aarch64/soft-fp/sfp-machine.h
17370 (_FP_TININESS_AFTER_ROUNDING): New macro.
17371 * sysdeps/alpha/soft-fp/sfp-machine.h
17372 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17373 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17374 Likewise.
17375 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17377 * sysdeps/mips/soft-fp/sfp-machine.h
17378 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17379 * sysdeps/powerpc/soft-fp/sfp-machine.h
17380 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17381 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17382 Likewise.
17383 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17384 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17386 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17387 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17388 Likewise.
17389
173902014-02-12 Dylan Alex Simon <dylan@dylex.net>
17391
17392 [BZ #16545]
17393 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17394 model 1.
17395
173962014-02-12 Richard Henderson <rth@redhat.com>
17397
17398 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17399 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17400 * sysdeps/unix/sysv/linux/alpha: Move directory from
17401 ports/sysdeps/unix/sysv/linux/alpha.
17402 * README: Update listing for alpha-*-linux-gnu.
17403
174042014-02-11 Joseph Myers <joseph@codesourcery.com>
17405
17406 * include/features.h: Update comment documenting feature test
17407 macros.
17408 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17409 _DEFAULT_SOURCE.
17410 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17411 (_SVID_SOURCE): Likewise.
17412 (_DEFAULT_SOURCE): Update description of default features.
17413 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17414 with _GNU_SOURCE.
17415 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17416 (S_ISVTX): Likewise.
17417 * manual/math.texi (Mathematical Constants): Likewise.
17418 * manual/signal.texi (Interrupted Primitives): Likewise.
17419 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17420 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17421 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17422 Don't refer to _SVID_SOURCE in warning text.
17423
17424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17425
17426 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17427 already defined.
17428 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17429 * sysdeps/mips/dl-lookup.c: Remove.
17430 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17431
174322014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17433
17434 [BZ #16447]
17435 * math/auto-libm-test-in: Add testcase for expl.
17436 * math/auto-libm-test-out: Regenerate.
17437 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17438 calculation of unsafe.
17439 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17440
174412014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17442
17443 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17444 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17445 ports/sysdeps/unix/sysv/linux/aarch64.
17446 * README: Update listing for aarch64*-*-linux-gnu.
17447
174482014-02-11 Will Newton <will.newton@linaro.org>
17449
17450 * manual/probes.texi (Mathematical Function Probes): Use
17451 "triggered" instead of "hit".
17452
17453 * manual/probes.texi (Internal Probes): Add documentation
17454 of setjmp, longjmp and longjmp_target probes.
17455
17456 * include/stap-probe.h: Add comment about probe argument
17457 format.
17458
17459 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17460 definition. (tr_where, tr_freehook, tr_mallochook,
17461 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17462
174632014-02-11 David S. Miller <davem@davemloft.net>
17464
17465 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17466 processing int_tests.
17467
174682014-02-10 Joseph Myers <joseph@codesourcery.com>
17469
17470 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17471 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17472 * sysdeps/unix/sysv/linux/mips: Move directory from
17473 ports/sysdeps/unix/sysv/linux/mips.
17474 * README: Update listing for mips-*-linux-gnu and
17475 mips64-*-linux-gnu.
17476
174772014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17478
17479 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17480 * sysdeps/unix/sysv/linux/m68k: Move directory from
17481 ports/sysdeps/unix/sysv/linux/m68k.
17482 * README: Update listing for m68k-*-linux-gnu.
17483
174842014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17485
17486 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17487 * sysdeps/unix/sysv/linux/generic: Move directory from
17488 ports/sysdeps/unix/sysv/linux/generic.
17489 * sysdeps/unix/sysv/linux/tile: Move directory from
17490 ports/sysdeps/unix/sysv/linux/tile.
17491 * README: Update listing for tile*-*-linux-gnu.
17492
174932014-02-10 Ondřej Bílka <neleai@seznam.cz>
17494
17495 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17496 __builtin_expect.
17497 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17498 * catgets/open_catalog.c (__open_catalog): Likewise.
17499 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17500 * debug/confstr_chk.c: Likewise.
17501 * debug/fread_chk.c (__fread_chk): Likewise.
17502 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17503 * debug/getgroups_chk.c: Likewise.
17504 * debug/mbsnrtowcs_chk.c: Likewise.
17505 * debug/mbsrtowcs_chk.c: Likewise.
17506 * debug/mbstowcs_chk.c: Likewise.
17507 * debug/memcpy_chk.c: Likewise.
17508 * debug/memmove_chk.c: Likewise.
17509 * debug/mempcpy_chk.c: Likewise.
17510 * debug/memset_chk.c: Likewise.
17511 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17512 * debug/strcat_chk.c (__strcat_chk): Likewise.
17513 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17514 * debug/strncat_chk.c (__strncat_chk): Likewise.
17515 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17516 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17517 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17518 * debug/wcpncpy_chk.c: Likewise.
17519 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17520 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17521 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17522 * debug/wcsncpy_chk.c: Likewise.
17523 * debug/wcsnrtombs_chk.c: Likewise.
17524 * debug/wcsrtombs_chk.c: Likewise.
17525 * debug/wcstombs_chk.c: Likewise.
17526 * debug/wmemcpy_chk.c: Likewise.
17527 * debug/wmemmove_chk.c: Likewise.
17528 * debug/wmempcpy_chk.c: Likewise.
17529 * debug/wmemset_chk.c: Likewise.
17530 * dirent/scandirat.c (SCANDIRAT): Likewise.
17531 * dlfcn/dladdr1.c (dladdr1): Likewise.
17532 * dlfcn/dladdr.c (dladdr): Likewise.
17533 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17534 * dlfcn/dlerror.c (__dlerror): Likewise.
17535 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17536 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17537 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17538 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17539 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17540 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17541 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17542 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17543 Likewise.
17544 * elf/dl-conflict.c: Likewise.
17545 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17546 * elf/dl-dst.h: Likewise.
17547 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17548 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17549 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17550 * elf/dl-init.c (call_init, _dl_init): Likewise.
17551 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17552 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17553 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17554 Likewise.
17555 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17556 Likewise.
17557 * elf/dl-minimal.c (__libc_memalign): Likewise.
17558 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17559 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17560 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17561 * elf/dl-sym.c (do_sym): Likewise.
17562 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17563 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17564 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17565 * elf/dl-writev.h (_dl_writev): Likewise.
17566 * elf/ldconfig.c (search_dir): Likewise.
17567 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17568 (dl_main): Likewise.
17569 * elf/setup-vdso.h (setup_vdso): Likewise.
17570 * grp/compat-initgroups.c (compat_call): Likewise.
17571 * grp/fgetgrent.c (fgetgrent): Likewise.
17572 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17573 * grp/putgrent.c (putgrent): Likewise.
17574 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17575 Likewise.
17576 * hurd/hurdinit.c: Likewise.
17577 * iconvdata/8bit-gap.c (struct): Likewise.
17578 * iconvdata/ansi_x3.110.c : Likewise.
17579 * iconvdata/big5.c : Likewise.
17580 * iconvdata/big5hkscs.c : Likewise.
17581 * iconvdata/cp1255.c: Likewise.
17582 * iconvdata/cp1258.c : Likewise.
17583 * iconvdata/cp932.c : Likewise.
17584 * iconvdata/euc-cn.c: Likewise.
17585 * iconvdata/euc-jisx0213.c : Likewise.
17586 * iconvdata/euc-jp.c: Likewise.
17587 * iconvdata/euc-jp-ms.c : Likewise.
17588 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17589 * iconvdata/gb18030.c : Likewise.
17590 * iconvdata/gbbig5.c (const): Likewise.
17591 * iconvdata/gbgbk.c: Likewise.
17592 * iconvdata/gbk.c : Likewise.
17593 * iconvdata/ibm1364.c : Likewise.
17594 * iconvdata/ibm930.c : Likewise.
17595 * iconvdata/ibm932.c: Likewise.
17596 * iconvdata/ibm933.c : Likewise.
17597 * iconvdata/ibm935.c : Likewise.
17598 * iconvdata/ibm937.c : Likewise.
17599 * iconvdata/ibm939.c : Likewise.
17600 * iconvdata/ibm943.c: Likewise.
17601 * iconvdata/iso_11548-1.c: Likewise.
17602 * iconvdata/iso-2022-cn.c : Likewise.
17603 * iconvdata/iso-2022-cn-ext.c : Likewise.
17604 * iconvdata/iso-2022-jp-3.c: Likewise.
17605 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17606 * iconvdata/iso-2022-kr.c : Likewise.
17607 * iconvdata/iso646.c (gconv_end): Likewise.
17608 * iconvdata/iso_6937-2.c : Likewise.
17609 * iconvdata/iso_6937.c : Likewise.
17610 * iconvdata/iso8859-1.c: Likewise.
17611 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17612 * iconvdata/shift_jisx0213.c : Likewise.
17613 * iconvdata/sjis.c : Likewise.
17614 * iconvdata/t.61.c : Likewise.
17615 * iconvdata/tcvn5712-1.c : Likewise.
17616 * iconvdata/tscii.c: Likewise.
17617 * iconvdata/uhc.c : Likewise.
17618 * iconvdata/unicode.c (gconv_end): Likewise.
17619 * iconvdata/utf-16.c (gconv_end): Likewise.
17620 * iconvdata/utf-32.c (gconv_end): Likewise.
17621 * iconvdata/utf-7.c (base64): Likewise.
17622 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17623 * iconv/gconv_close.c (__gconv_close): Likewise.
17624 * iconv/gconv_open.c (__gconv_open): Likewise.
17625 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17626 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17627 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17628 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17629 (ucs4le_internal_loop_single): Likewise.
17630 * iconv/iconv.c (iconv): Likewise.
17631 * iconv/iconv_close.c: Likewise.
17632 * iconv/loop.c (SINGLE): Likewise.
17633 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17634 * include/atomic.h: Likewise.
17635 * inet/inet6_option.c (option_alloc): Likewise.
17636 * intl/bindtextdom.c (set_binding_values): Likewise.
17637 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17638 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17639 * intl/localealias.c (read_alias_file): Likewise.
17640 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17641 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17642 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17643 * libio/fmemopen.c (fmemopen): Likewise.
17644 * libio/iofgets.c (_IO_fgets): Likewise.
17645 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17646 * libio/iofgetws.c (fgetws): Likewise.
17647 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17648 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17649 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17650 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17651 * locale/findlocale.c (_nl_find_locale): Likewise.
17652 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17653 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17654 Likewise.
17655 * locale/setlocale.c (setlocale): Likewise.
17656 * login/programs/pt_chown.c (main): Likewise.
17657 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17658 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17659 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17660 (mmap, mmap64, mremap, munmap): Likewise.
17661 * math/e_exp2l.c: Likewise.
17662 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17663 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17664 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17665 * math/s_catan.c (__catan): Likewise.
17666 * math/s_catanf.c (__catanf): Likewise.
17667 * math/s_catanh.c (__catanh): Likewise.
17668 * math/s_catanhf.c (__catanhf): Likewise.
17669 * math/s_catanhl.c (__catanhl): Likewise.
17670 * math/s_catanl.c (__catanl): Likewise.
17671 * math/s_ccosh.c (__ccosh): Likewise.
17672 * math/s_ccoshf.c (__ccoshf): Likewise.
17673 * math/s_ccoshl.c (__ccoshl): Likewise.
17674 * math/s_cexp.c (__cexp): Likewise.
17675 * math/s_cexpf.c (__cexpf): Likewise.
17676 * math/s_cexpl.c (__cexpl): Likewise.
17677 * math/s_clog10.c (__clog10): Likewise.
17678 * math/s_clog10f.c (__clog10f): Likewise.
17679 * math/s_clog10l.c (__clog10l): Likewise.
17680 * math/s_clog.c (__clog): Likewise.
17681 * math/s_clogf.c (__clogf): Likewise.
17682 * math/s_clogl.c (__clogl): Likewise.
17683 * math/s_csin.c (__csin): Likewise.
17684 * math/s_csinf.c (__csinf): Likewise.
17685 * math/s_csinh.c (__csinh): Likewise.
17686 * math/s_csinhf.c (__csinhf): Likewise.
17687 * math/s_csinhl.c (__csinhl): Likewise.
17688 * math/s_csinl.c (__csinl): Likewise.
17689 * math/s_csqrt.c (__csqrt): Likewise.
17690 * math/s_csqrtf.c (__csqrtf): Likewise.
17691 * math/s_csqrtl.c (__csqrtl): Likewise.
17692 * math/s_ctan.c (__ctan): Likewise.
17693 * math/s_ctanf.c (__ctanf): Likewise.
17694 * math/s_ctanh.c (__ctanh): Likewise.
17695 * math/s_ctanhf.c (__ctanhf): Likewise.
17696 * math/s_ctanhl.c (__ctanhl): Likewise.
17697 * math/s_ctanl.c (__ctanl): Likewise.
17698 * math/w_pow.c: Likewise.
17699 * math/w_powf.c: Likewise.
17700 * math/w_powl.c: Likewise.
17701 * math/w_scalb.c (sysv_scalb): Likewise.
17702 * math/w_scalbf.c (sysv_scalbf): Likewise.
17703 * math/w_scalbl.c (sysv_scalbl): Likewise.
17704 * misc/error.c (error_tail): Likewise.
17705 * misc/pselect.c (__pselect): Likewise.
17706 * nis/nis_callback.c (__nis_create_callback): Likewise.
17707 * nis/nis_call.c (__nisfind_server): Likewise.
17708 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17709 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17710 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17711 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17712 * nis/nis_lookup.c (nis_lookup): Likewise.
17713 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17714 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17715 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17716 * nis/nis_xdr.c (xdr_endpoint): Likewise.
17717 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17718 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17719 * nis/nss_compat/compat-initgroups.c (add_group)
17720 (internal_getgrent_r): Likewise.
17721 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17722 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17723 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17724 (internal_getspnam_r): Likewise.
17725 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17726 (_nss_nis_getaliasbyname_r): Likewise.
17727 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17728 (_nss_nis_getntohost_r): Likewise.
17729 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17730 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17731 (_nss_nis_getgrgid_r): Likewise.
17732 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17733 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17734 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17735 (_nss_nis_gethostbyname4_r): Likewise.
17736 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17737 (initgroups_netid): Likewise.
17738 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17739 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17740 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17741 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17742 (_nss_nis_getprotobynumber_r): Likewise.
17743 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17744 (_nss_nis_getsecretkey): Likewise.
17745 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17746 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17747 (_nss_nis_getpwuid_r): Likewise.
17748 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17749 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17750 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17751 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17752 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17753 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17754 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17755 Likewise.
17756 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17757 (_nss_nisplus_getntohost_r): Likewise.
17758 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17759 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17760 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17761 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17762 Likewise.
17763 * nis/nss_nisplus/nisplus-initgroups.c
17764 (_nss_nisplus_initgroups_dyn): Likewise.
17765 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17766 (_nss_nisplus_getnetbyaddr_r): Likewise.
17767 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17768 (_nss_nisplus_getprotobynumber_r): Likewise.
17769 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17770 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17771 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17772 Likewise.
17773 * nis/nss_nisplus/nisplus-service.c
17774 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17775 (_nss_nisplus_getservbyport_r): Likewise.
17776 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17777 (_nss_nisplus_getspnam_r): Likewise.
17778 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17779 Likewise.
17780 * nscd/aicache.c (addhstaiX): Likewise.
17781 * nscd/cache.c (cache_search, prune_cache): Likewise.
17782 * nscd/connections.c (register_traced_file, send_ro_fd)
17783 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17784 (main_loop_epoll): Likewise.
17785 * nscd/grpcache.c (addgrbyX): Likewise.
17786 * nscd/hstcache.c (addhstbyX): Likewise.
17787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17788 * nscd/mem.c (gc, mempool_alloc): Likewise.
17789 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17790 (addinnetgrX): Likewise.
17791 * nscd/nscd-client.h (__nscd_acquire_maplock)
17792 (__nscd_drop_map_ref): Likewise.
17793 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17794 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17795 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17796 Likewise.
17797 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17799 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17800 (__nscd_get_map_ref): Likewise.
17801 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17802 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17803 Likewise.
17804 * nscd/pwdcache.c (addpwbyX): Likewise.
17805 * nscd/selinux.c (preserve_capabilities): Likewise.
17806 * nscd/servicescache.c (addservbyX): Likewise.
17807 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17808 * posix/fnmatch.c (fnmatch): Likewise.
17809 * posix/getopt.c (_getopt_internal_r): Likewise.
17810 * posix/glob.c (glob, glob_in_dir): Likewise.
17811 * posix/wordexp.c (exec_comm_child): Likewise.
17812 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17813 (getanswer_r, gaih_getanswer_slice): Likewise.
17814 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17815 * resolv/res_init.c: Likewise.
17816 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17817 * resolv/res_query.c (__libc_res_nquery): Likewise.
17818 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17819 Likewise.
17820 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17821 * stdio-common/perror.c (perror): Likewise.
17822 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17823 * stdio-common/tmpnam.c (tmpnam): Likewise.
17824 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17825 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17826 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17827 Likewise.
17828 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17829 * stdlib/putenv.c (putenv): Likewise.
17830 * stdlib/setenv.c (__add_to_environ): Likewise.
17831 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17832 * stdlib/strtol_l.c (INTERNAL): Likewise.
17833 * string/memmem.c (memmem): Likewise.
17834 * string/strerror.c (strerror): Likewise.
17835 * string/strnlen.c (__strnlen): Likewise.
17836 * string/test-memmem.c (simple_memmem): Likewise.
17837 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17838 * sunrpc/pm_getport.c (__get_socket): Likewise.
17839 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17840 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17841 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17842 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17843 Likewise.
17844 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17846 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17847 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17848 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17849 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17850 Likewise.
17851 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17852 Likewise.
17853 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17854 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17856 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17857 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17859 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17860 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17861 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17862 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17863 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17864 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17865 Likewise.
17866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17867 Likewise.
17868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17869 Likewise.
17870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17872 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17873 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17874 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17875 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17876 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17886 Likewise.
17887 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17888 Likewise.
17889 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17890 Likewise.
17891 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17892 Likewise.
17893 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17895 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17896 Likewise.
17897 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17898 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17899 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17900 * sysdeps/posix/sleep.c: Likewise.
17901 * sysdeps/posix/tempname.c: Likewise.
17902 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17903 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17904 Likewise.
17905 * sysdeps/powerpc/powerpc32/dl-machine.h
17906 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17907 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17908 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17909 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17910 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17911 Likewise.
17912 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17913 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17914 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17915 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17916 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17917 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17918 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17919 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17920 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17921 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17923 (elf_machine_lazy_rel): Likewise.
17924 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17926 (elf_machine_lazy_rel): Likewise.
17927 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17928 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17929 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17930 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17931 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17932 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17935 Likewise.
17936 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17937 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17938 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17939 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17940 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17941 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17942 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17943 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17944 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17945 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17946 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17947 Likewise.
17948 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17949 (__posix_fallocate64_l64): Likewise.
17950 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17951 (posix_fallocate): Likewise.
17952 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17953 Likewise.
17954 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17955 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17956 (getifaddrs_internal): Likewise.
17957 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17958 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17959 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17960 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17961 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17962 (__posix_fallocate64_l64): Likewise.
17963 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17964 Likewise.
17965 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17966 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17967 (__get_clockfreq): Likewise.
17968 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17969 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17970 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17973 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17974 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17975 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17976 Likewise.
17977 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17978 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17979 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17980 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17981 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17982 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17983 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17984 Likewise.
17985 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17986 (posix_fallocate): Likewise.
17987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17988 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17989 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17990 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17991 (elf_machine_rela, elf_machine_rela_relative)
17992 (elf_machine_lazy_rel): Likewise.
17993 * time/asctime.c (asctime_internal): Likewise.
17994 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17995 * time/tzset.c (__tzset_parse_tz): Likewise.
17996 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17997 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17998 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17999 * wcsmbs/wcsmbsload.h: Likewise.
18000
18001 [BZ #15894]
18002 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18003
18004 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18005 (arena_get2): Remove THREAD_STATS conditionals.
18006 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18007 (__malloc_stats, int): Likewise.
18008
180092014-02-08 Mike Frysinger <vapier@gentoo.org>
18010
18011 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18012 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18013
18014 * manual/setjmp.texi: Fix typos/grammar errors.
18015
18016 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18017 Only return early when n is <= 0. Delete unused return statement.
18018
18019 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18020 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18021 * debug/tst-longjmp_chk3.c: New file.
18022
18023 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18024 (test_main): Replace code with set_fortify_handler call.
18025 * debug/test-strcpy_chk.c: Likewise.
18026 * debug/tst-chk1.c: Likewise.
18027 * debug/tst-longjmp_chk.c: Likewise.
18028 * test-skeleton.c: Include fcntl.h & paths.h
18029 (set_fortify_handler): Define.
18030
18031 * debug/tst-longjmp_chk.c: Add header comment and include
18032 ../test-skeleton.c.
18033 (do_test): Mark static.
18034 (TEST_FUNCTION): Define.
18035
18036 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18037 (IP_PMTUDISC_INTERFACE): Likewise.
18038 (IP_MULTICAST_IF): Likewise.
18039 (IP_MULTICAST_TTL): Likewise.
18040 (IP_MULTICAST_LOOP): Likewise.
18041 (IP_ADD_MEMBERSHIP): Likewise.
18042 (IP_DROP_MEMBERSHIP): Likewise.
18043 (IP_UNBLOCK_SOURCE): Likewise.
18044 (IP_BLOCK_SOURCE): Likewise.
18045 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18046 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18047 (IP_MSFILTER): Likewise.
18048 (MCAST_JOIN_GROUP): Likewise.
18049 (MCAST_BLOCK_SOURCE): Likewise.
18050 (MCAST_UNBLOCK_SOURCE): Likewise.
18051 (MCAST_LEAVE_GROUP): Likewise.
18052 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18053 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18054 (MCAST_MSFILTER): Likewise.
18055 (IP_MULTICAST_ALL): Likewise.
18056 (IP_UNICAST_IF): Likewise.
18057
18058 * timezone/Makefile: Delete $(have-ksh) check.
18059 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18060 * timezone/tzselect.ksh: Add +x mode bits.
18061
18062 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18063 (ANON_INODE_FS_MAGIC): Likewise.
18064 (BDEVFS_MAGIC): Likewise.
18065 (BINFMTFS_MAGIC): Likewise.
18066 (BTRFS_TEST_MAGIC): Likewise.
18067 (CRAMFS_MAGIC_WEND): Likewise.
18068 (DEBUGFS_MAGIC): Likewise.
18069 (ECRYPTFS_SUPER_MAGIC): Likewise.
18070 (EXT3_SUPER_MAGIC): Likewise.
18071 (EXT4_SUPER_MAGIC): Likewise.
18072 (FUTEXFS_SUPER_MAGIC): Likewise.
18073 (HOSTFS_SUPER_MAGIC): Likewise.
18074 (HUGETLBFS_MAGIC): Likewise.
18075 (MINIX3_SUPER_MAGIC): Likewise.
18076 (MTD_INODE_FS_MAGIC): Likewise.
18077 (NILFS_SUPER_MAGIC): Likewise.
18078 (OPENPROM_SUPER_MAGIC): Likewise.
18079 (PIPEFS_MAGIC): Likewise.
18080 (PSTOREFS_MAGIC): Likewise.
18081 (QNX6_SUPER_MAGIC): Likewise.
18082 (RAMFS_MAGIC): Likewise.
18083 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18084 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18085 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18086 (SECURITYFS_MAGIC): Likewise.
18087 (SELINUX_MAGIC): Likewise.
18088 (SMACK_MAGIC): Likewise.
18089 (SOCKFS_MAGIC): Likewise.
18090 (SQUASHFS_MAGIC): Likewise.
18091 (STACK_END_MAGIC): Likewise.
18092 (TMPFS_MAGIC): Likewise.
18093 (USBDEVICE_SUPER_MAGIC): Likewise.
18094 (V9FS_MAGIC): Likewise.
18095 (XENFS_SUPER_MAGIC): Likewise.
18096 (CRAMFS_MAGIC): Fix typo in comment.
18097 (EXT2_SUPER_MAGIC): Update comment.
18098 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18099
181002014-02-08 Joseph Myers <joseph@codesourcery.com>
18101
18102 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18103 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18104 * sysdeps/unix/sysv/linux/arm: Move directory from
18105 ports/sysdeps/unix/sysv/linux/arm.
18106 * README: Update listing for arm-*-linux-gnueabi.
18107
18108 * README: Remove mention of am33.
18109
181102014-02-07 Roland McGrath <roland@hack.frob.com>
18111
18112 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18113 than the comma operator, to avoid "rhs of comma has no effect"
18114 compiler warnings.
18115 (__sigfillset, __sigandset, __sigorset): Likewise.
18116 * include/signal.h (__sigemptyset): Likewise.
18117 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18118
181192014-02-07 Allan McRae <allan@archlinux.org>
18120
18121 * version.h (RELEASE): Set to "development".
18122 (VERSION): Set to "2.19.90"
18123 * NEWS: Add 2.20 section.
18124
181252014-02-06 Carlos O'Donell <carlos@redhat.com>
18126
18127 [BZ #16529]
18128 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18129
181302014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18131
18132 * manual/contrib.texi: Update entry for Carlos O'Donell,
18133 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18134
181352014-02-05 Carlos O'Donell <carlos@rehdat.com>
18136
18137 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18138
18139 * sysdeps/unix/sysv/linux/kernel-features.h
18140 [__LINUX_KERNEL_VERSION >= 0x020621]
18141 (__ASSUME_PROC_PID_TASK_COMM): Define.
18142
181432014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18144
18145 [BZ #16398]
18146 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18147 conversion when destination buffer does not have enough space.
18148 * libio/tst-ftell-partial-wide.c: New test case.
18149 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18150
18151 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18152 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18153 Leonard and Allan McRae.
18154
181552014-02-04 David S. Miller <davem@davemloft.net>
18156
18157 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18158 32-bit.
18159
181602014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18161
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18163 New file
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18165 New file
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18167 New file.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18169 New file.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18171 New file.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18173 New file.
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18175 New file.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18177 New file.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18179 New file.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18181 New file.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18183 New file.
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18185 New file.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18187 New file.
18188
181892014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18190
18191 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18192 * shlib-versions: Likewise.
18193
181942014-02-04 Roland McGrath <roland@hack.frob.com>
18195 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18196
18197 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18198 (abilist-pattern): New variable, set to %-le.abilist.
18199
18200 * Makerules (abilist-pattern): New variable.
18201 (vpath): Use $(abilist-pattern) in place of %.abilist.
18202 (check-abi-% pattern rule): Likewise.
18203 (check-abi, update-abi): Likewise.
18204
182052014-02-04 Eric Wong <normalperson@yhbt.net>
18206
18207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18208
182092014-02-03 Carlos O'Donell <carlos@redhat.com>
18210
18211 * manual/startup.texi: Add next, previous, and top entries for
18212 the `Program Arguments' and `Environment Variables' nodes.
18213
182142014-02-03 Alexandre Oliva <aoliva@redhat.com>
18215
18216 * manual/macros.texi: Add comments before MTASC-safety macros.
18217
18218 * manual/users.texi: Document MTASC-safety properties.
18219
18220 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18221 (pthread_getspecific, pthread_setspecific): Format with
18222 @deftypefun, and add @safety note.
18223 * manual/signal.texi: Move comments that analyze the above
18224 functions to their home place.
18225
182262014-02-03 Allan McRae <allan@archlinux.org>
18227
18228 * po/sl.po: Update Slovenian translation from translation project.
18229
182302014-02-02 Alexandre Oliva <aoliva@redhat.com>
18231
18232 * manual/time.texi (timegm): Add missing blank after @c.
18233 Reported by Joseph Myers <joseph@codesourcery.com>.
18234
182352014-02-01 Alexandre Oliva <aoliva@redhat.com>
18236
18237 * manual/check-safety.sh: New.
18238 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18239
18240 * manual/terminal.texi: Document MTASC-safety properties.
18241
18242 * manual/filesys.texi: Document MTASC-safety properties.
18243
18244 * manual/errno.texi: Document MTASC-safety properties.
18245
18246 * manual/intro.texi: Document safety identifiers and
18247 conditionals.
18248
18249 * manual/string.texi (wcstok): Fix prototype.
18250 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18251
18252 * manual/time.texi: Document MTASC-safety properties.
18253
18254 * manual/string.texi: Document MTASC-safety properties.
18255
18256 * manual/threads.texi: Document MTASC-safety properties.
18257
18258 * manual/stdio.texi: Document MTASC-safety properties.
18259
18260 * manual/syslog.texi: Document MTASC-safety properties.
18261
18262 * manual/sysinfo.texi: Document MTASC-safety properties.
18263
18264 * manual/startup.texi: Document MTASC-safety properties.
18265
18266 * manual/socket.texi: Document MTASC-safety properties.
18267
18268 * manual/signal.texi: Document MTASC-safety properties.
18269
182702014-01-31 Alexandre Oliva <aoliva@redhat.com>
18271
18272 * manual/setjmp.texi: Document MTASC-safety properties.
18273
18274 * manual/search.texi: Document MTASC-safety properties.
18275
18276 * manual/resource.texi: Document MTASC-safety properties.
18277
18278 * manual/process.texi: Document MTASC-safety properties.
18279
18280 * manual/platform.texi: Document MTASC-safety properties.
18281
18282 * manual/pipe.texi: Document MTASC-safety properties.
18283
18284 * manual/pattern.texi: Document MTASC-safety properties.
18285
18286 * manual/message.texi: Document MTASC-safety properties.
18287
18288 [BZ #12751]
18289 * manual/memory.texi: Document MTASC-safety properties.
18290
18291 * manual/math.texi: Document MTASC-safety properties.
18292
18293 * manual/locale.texi: Document MTASC-safety properties.
18294
18295 * manual/llio.texi: Document MTASC-safety properties.
18296
18297 * manual/libdl.texi: New.
18298
18299 * manual/lang.texi: Document MTASC-safety properties.
18300
18301 * manual/job.texi: Document MTASC-safety properties.
18302
18303 * manual/getopt.texi: Document MTASC-safety properties.
18304
18305 * manual/ctype.texi: Document MTASC-safety properties.
18306
183072014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18308
18309 [BZ #16046]
18310 * csu/libc-tls.c (static_map): Remove variable.
18311 (__libc_setup_tls): Use main executable's link map for TLS data.
18312 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18313 casing for LM_ID_BASE and GL(dl_nns).
18314 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18315 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18316 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18317 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18318 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18319 member.
18320 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18321 l_phnum members.
18322
183232014-01-30 Alexandre Oliva <aoliva@redhat.com>
18324
18325 * manual/debug.texi: Document MTASC-safety properties.
18326
183272014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 [BZ #16510]
18330 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18331 of __x86_64__ when disabling x87 inline functions.
18332
183332014-01-29 Alexandre Oliva <aoliva@redhat.com>
18334
18335 * manual/charset.texi: Document MTASC-safety properties.
18336
18337 * manual/crypt.texi: Document MTASC-safety properties.
18338
18339 * manual/conf.texi: Document MTASC-safety properties.
18340
18341 * manual/arith.texi: Document MTASC-safety properties.
18342
18343 * manual/argp.texi: Document MTASC-safety properties.
18344
18345 * manual/macros.texi: Introduce macros to document multi
18346 thread, asynchronous signal and asynchronous cancellation
18347 safety properties.
18348 * manual/intro.texi: Introduce the properties themselves.
18349
183502014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18351
18352 * sysdeps/sh/sh4/Makefile: New file.
18353
183542014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18355
18356 * math/gen-libm-test.pl ($srcdir): New variable.
18357 ($auto_input): Use it.
18358
183592014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18360
18361 [BZ #16506]
18362 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18363 access beyond array bounds when parsing netgroups file.
18364
18365 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18366 the old buffer before realloc.
18367
183682014-01-27 Allan McRae <allan@archlinux.org>
18369
18370 * po/fr.po: Update French translation from translation project.
18371
183722014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18373
18374 * sysdeps/sh/libm-test-ulps: Regenerate.
18375
183762014-01-24 David S. Miller <davem@davemloft.net>
18377
18378 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18379
183802014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18381
18382 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18383 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18384
183852013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18386
18387 [BZ #16474]
18388 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18389 string pointers after reallocation.
18390
183912014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18392
18393 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18394 __SH4A__ instead of __SH_FPU_ANY__.
18395
183962014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18397
18398 * sysdeps/sh/fpu_control.h: New file.
18399 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18400 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18401 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18402 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18403 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18404 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18405 * sysdeps/sh/sys/ucontext.h: Remove.
18406 * sysdeps/sh/sys: Remove directory.
18407
184082014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18409
18410 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18411 s390/sys/ucontext.h.
18412 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18413 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18414
184152014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 [BZ #15605]
18418 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18419
184202014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18421
18422 [BZ#16431]
18423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18424 Adjust the vDSO correctly for internal calls.
18425 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18426
184272014-01-20 Allan McRae <allan@archlinux.org>
18428
18429 * po/ca.po: Update Catalan translation from translation project.
18430
184312014-01-16 Mike Frysinger <vapier@gentoo.org>
18432
18433 * sysdeps/s390/sotruss-lib.c: New file.
18434
184352014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18436
18437 [BZ#16430]
18438 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18439 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18440 local calls issues by not having a PLT stub required for IFUNC calls.
18441 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18442
184432014-01-16 Joseph Myers <joseph@codesourcery.com>
18444
18445 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18446 * math/test-fpucw-static.c: Likewise.
18447
184482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18449
18450 [BZ #16453]
18451 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18452
184532014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18454
18455 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18456 implementation for powerpc.
18457
184582014-01-15 Ondřej Bílka <neleai@seznam.cz>
18459
18460 [BZ #14782]
18461 * sysdeps/posix/system.c (__libc_system): Do not enable
18462 asynchronous cancellation.
18463
184642014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18465
18466 [BZ #16427]
18467 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18468 handling only for numbers special also in the IEEE case.
18469
184702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18471
18472 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18473
184742014-01-11 Allan McRae <allan@archlinux.org>
18475
18476 * po/bg.po: Update Bulgarian translation from translation project.
18477
18478 * po/de.po: Update German translation from translation project.
18479
184802014-01-10 Roland McGrath <roland@hack.frob.com>
18481
18482 * sysdeps/generic/gcc-compat.h: New file.
18483
184842014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
18486 * benchtests/asin-inputs: Correct slow inputs.
18487 * benchtests/acos-inputs: Likewise.
18488
184892014-01-10 Allan McRae <allan@archlinux.org>
18490
18491 * po:sv.po: Update Swedish translation from translation project.
18492
18493 * po/vi.po: Update Vietnamese translation from translation project.
18494
18495 * po/eo.po: Update Esperanto translation from translation project.
18496
18497 * po/cs.po: Update Czech translation from translation project.
18498
18499 * po/nl.po: Update Dutch translation from translation project.
18500
18501 * po/pl.po: Update Polish translation from translation project.
18502
18503 * po/ru.po: Update Russian translation from translation project.
18504
18505 * po/uk.po: Update Ukrainian translation from translation project.
18506
185072014-01-08 Brooks Moses <bmoses@google.com>
18508
18509 * elf/dl-load.c: Fix comment typo.
18510
185112014-01-08 Carlos O'Donell <carlos@redhat.com>
18512
18513 * po/header.pot: Rename to...
18514 * po/pot.header: ... this.
18515 * po/Makefile: Use pot.header.
18516
185172014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18518 Maxim Kuvyrkov <maxim@kugelworks.com>
18519
18520 [BZ #16394]
18521 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18522 SRC and DEST against LEN.
18523
185242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18525
18526 [BZ #16414]
18527 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18528 implementation.
18529 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18530
185312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18532
18533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18534
185352014-01-08 Joseph Myers <joseph@codesourcery.com>
18536
18537 [BZ #16408]
18538 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18539 for large positive arguments.
18540
185412014-01-07 Joseph Myers <joseph@codesourcery.com>
18542
18543 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18544
18545 * math/auto-libm-test-in: Mark various tests with
18546 xfail-rounding:ldbl-128ibm.
18547 * math/auto-libm-test-out: Regenerated.
18548
18549 [BZ #16407]
18550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18551 Increase overflow threshold.
18552
185532014-01-07 Ondřej Bílka <neleai@seznam.cz>
18554
18555 [BZ #14286]
18556 * stdio-common/vfprintf.c: Check for integer overflow.
18557
185582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18559
18560 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18561 the first argument and return value of __tls_get_addr_internal.
18562
185632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18564
18565 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18566 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18567
185682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18569
18570 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18571 * sysdeps/s390/rtld-global-offsets.sym: New file.
18572 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18573 GLIBC_2.19 symbol.
18574 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18577 ... this.
18578 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18579 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18580 ... this.
18581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18582 Regenerate.
18583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18584 Regenerate.
18585 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18586 halfs of GPRs for high_gprs contexts.
18587 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18588 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18589 field.
18590 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18591 uc_flags field.
18592 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18593 64 bit versions:
18594 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18595 for high GPRs (uc_high_gprs) and for future extensions
18596 (__reserved).
18597 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18598 for future extensions (__reserved).
18599 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18600 64 bit versions:
18601 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18602 SC_HIGHGPRS offset definition.
18603 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18604 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18605
18606 * Versions.def: Add GLIBC_2.19 for libpthread.
18607 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18608 siglongjmp for libpthread with GLIBC_2.19 symver.
18609 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18610 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18611 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18612 * sysdeps/s390/__longjmp.c: New file.
18613 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18614 * sysdeps/s390/longjmp.c: New file.
18615 * sysdeps/s390/setjmp.S: New file.
18616 * sysdeps/s390/sigjmp.S: New file.
18617 * sysdeps/s390/v1-longjmp.c: New file.
18618 * sysdeps/s390/v1-setjmp.h: New file.
18619 * sysdeps/s390/v1-sigjmp.c: New file.
18620 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18621 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18622 GLIBC_2.19 version.
18623 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18624 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18625 versioned symbols for ____longjmp_chk.
18626 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18627 Likewise.
18628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18629 Regenerate.
18630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18631 Regenerate.
18632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18633 Regenerate.
18634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18635 Regenerate.
18636 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18637 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18638 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18639 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18640 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18641 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18642 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18643 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18644 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18645 * sysdeps/s390/rtld-__longjmp.c: New file.
18646 * sysdeps/s390/rtld-setjmp.S: New file.
18647
186482014-01-06 Joseph Myers <joseph@codesourcery.com>
18649
18650 [BZ #16400]
18651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18652 Return -__logl (x) for small positive arguments without evaluating
18653 a polynomial.
18654
186552014-01-06 Mike Frysinger <vapier@gentoo.org>
18656
18657 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18658 Rename to ...
18659 (__ptrace_peeksiginfo_args): ... this.
18660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18663
186642014-01-06 Allan McRae <allan@archlinux.org>
18665
18666 * inet/netinet/in.h: Fix typo in comment.
18667
186682014-01-05 Andreas Jaeger <aj@suse.de>
18669
18670 * sysdeps/i386/fpu/libm-test-ulps: Update.
18671
186722014-01-05 Allan McRae <allan@archlinux.org>
18673
18674 * po/libc.pot: Regenerated.
18675
18676 * malloc/memusagestat.c: Fix gettext call formatting.
18677
186782014-01-04 Sami Kerola <kerolasa@iki.fi>
18679
18680 * nscd/nscd.c: Improve usage() output.
18681
186822014-01-04 Mike Frysinger <vapier@gentoo.org>
18683
18684 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18685 * sysdeps/unix/sysv/linux/configure: Regenerated.
18686 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18687 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18688
186892014-01-03 Joseph Myers <joseph@codesourcery.com>
18690
18691 [BZ #16390]
18692 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18693 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18694
186952014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18696
18697 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18698 extra tokens at end of #undef directive.
18699 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18700 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18701 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18702
187032014-01-03 Joseph Myers <joseph@codesourcery.com>
18704
18705 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18706
18707 * math/auto-libm-test-in: Mark various tests with
18708 xfail-rounding:ldbl-128ibm.
18709 * math/auto-libm-test-out: Regenerated.
18710
187112014-01-02 Joseph Myers <joseph@codesourcery.com>
18712
18713 [BZ #16386]
18714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18715 numbers with subnormal high part when calculating exponent.
18716
18717 [BZ #16385]
18718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18719 fabs.
18720
18721 [BZ #16384]
18722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18723 M_LN2l.
18724 (__ieee754_acoshl): Use __log1pl not __log1p.
18725
187262013-01-02 Ondřej Bílka <neleai@seznam.cz>
18727
18728 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18729 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18730 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18731 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18732 (reused_arena, arena_get2): Convert to GNU style.
18733 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18734 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18735 (memalign_check, __malloc_set_state): Likewise.
18736 * malloc/mallocbug.c (main): Likewise.
18737 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18738 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18739 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18740 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18741 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18742 (__posix_memalign, malloc_info): Likewise.
18743 * malloc/malloc.h: Likewise.
18744 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18745 (mallochook, memalignhook, reallochook, mabort): Likewise.
18746 * malloc/mcheck.h: Likewise.
18747 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18748 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18749 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18750 * malloc/morecore.c (__default_morecore): Likewise.
18751 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18752 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18753 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18754 (print_and_abort): Likewise.
18755 * malloc/obstack.h: Likewise.
18756 * malloc/set-freeres.c (__libc_freeres): Likewise.
18757 * malloc/tst-mallocstate.c (main): Likewise.
18758 * malloc/tst-mtrace.c (main): Likewise.
18759 * malloc/tst-realloc.c (do_test): Likewise.
18760
187612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18762
18763 [BZ #16366]
18764 * nscd/netgroupcache.c (do_notfound): New function.
18765 (addgetnetgrentX): Use it.
18766
18767 [BZ # 16365]
18768 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18769 NSS_STATUS_NOTFOUND.
18770
187712014-01-01 Joseph Myers <joseph@codesourcery.com>
18772
18773 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775
187762014-01-01 Allan McRae <allan@archlinux.org>
18777
18778 * scripts/update-copyrights: Update configure input file suffix.
18779
18780 * NEWS: Update copyright year.
18781 * catgets/gencat.c: Likewise.
18782 * csu/version.c: Likewise.
18783 * debug/catchsegv.sh: Likewise.
18784 * debug/pcprofiledump.c: Likewise.
18785 * debug/xtrace.sh: Likewise.
18786 * elf/ldconfig.c: Likewise.
18787 * elf/ldd.bash.in: Likewise.
18788 * elf/pldd.c: Likewise.
18789 * elf/sotruss.ksh: Likewise.
18790 * elf/sprof.c: Likewise.
18791 * iconv/iconv_prog.c: Likewise.
18792 * iconv/iconvconfig.c: Likewise.
18793 * locale/programs/locale.c: Likewise.
18794 * locale/programs/localedef.c: Likewise.
18795 * login/programs/pt_chown.c: Likewise.
18796 * malloc/memusage.sh: Likewise.
18797 * malloc/memusagestat.c: Likewise.
18798 * malloc/mtrace.pl: Likewise.
18799 * manual/libc.texinfo: Likewise.
18800 * nscd/nscd.c: Likewise.
18801 * nss/getent.c: Likewise.
18802 * nss/makedb.c: Likewise.
18803 * posix/getconf.c: Likewise.
18804 * scripts/test-installation.pl: Likewise.
18805
18806 * All files with FSF copyright notices: Update copyright dates
18807 using scripts/update-copyrights.
18808 * intl/plural.c: Regenerated.
18809 * locale/programs/charmap-kw.h: Likewise.
18810 * locale/programs/locfile-kw.h: Likewise.
18811
188122013-12-31 Mike Frysinger <vapier@gentoo.org>
18813
18814 * sysdeps/unix/sysv/linux/configure: Regenerated.
18815 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18816 the linux/fanotify.h header.
18817 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18818 HAVE_LINUX_FANOTIFY_H is defined.
18819
188202013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18821
18822 * benchtests/cos-inputs: New inputs.
18823 * benchtests/sin-inputs: Likewise.
18824
18825 * benchtests/atan-inputs: New inputs. Fix name of multiple
18826 precision fallback inputs.
18827
18828 * benchtests/atanh-inputs: New inputs.
18829 * benchtests/tanh-inputs: Likewise.
18830
18831 * benchtests/acosh-inputs: New inputs.
18832 * benchtests/asinh-inputs: Likewise.
18833
18834 * benchtests/cosh-inputs: New inputs.
18835 * benchtests/sinh-inputs: Likewise.
18836
18837 * benchtests/acos-inputs: Add more inputs.
18838 * benchtests/asin-inputs: Likewise.
18839
188402013-12-30 Ville Skytta <ville.skytta@iki.fi>
18841
18842 [BZ #16375]
18843 * manual/arith.texi: Fix spelling.
18844 * manual/charset.texi: Likewise.
18845 * manual/errno.texi: Likewise.
18846 * manual/filesys.texi: Likewise.
18847 * manual/lang.texi: Likewise.
18848 * manual/llio.texi: Likewise.
18849 * manual/locale.texi: Likewise.
18850 * manual/message.texi: Likewise.
18851 * manual/resource.texi: Likewise.
18852 * manual/search.texi: Likewise.
18853 * manual/setjmp.texi: Likewise.
18854 * manual/stdio.texi: Likewise.
18855 * manual/string.texi: Likewise.
18856 * manual/sysinfo.texi: Likewise.
18857 * manual/time.texi: Likewise.
18858
188592013-12-27 Carlos O'Donell <carlos@redhat.com>
18860
18861 * po/sl.po: New file.
18862
188632013-12-27 Mike Frysinger <vapier@gentoo.org>
18864
18865 * .gitignore: Add core/.gdbinit/.gdb_history.
18866
188672013-12-27 Allan McRae <allan@archlinux.org>
18868
18869 [BZ #16369]
18870 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18871 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18872
188732013-12-24 Brooks Moses <bmoses@google.com>
18874
18875 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18876 all compilers that claim C++98 compliance, not just GCC.
18877 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18878 Likewise.
18879
188802013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18881
18882 * NEWS: Restore accidentally deleted bug-fix entries.
18883
188842013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18885 Ondřej Bílka <neleai@seznam.cz>
18886
18887 [BZ #15073]
18888 * malloc/malloc.c (_int_free): Perform sanity check only if we
18889 have_lock.
18890
188912013-12-23 Ondřej Bílka <neleai@seznam.cz>
18892
18893 [BZ #12986]
18894 * manual/stdio.texi (String Input Conversions): Clarify that character
18895 classes are not supported.
18896
188972013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898
18899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18900
189012013-12-22 Joseph Myers <joseph@codesourcery.com>
18902
18903 [BZ #16337]
18904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18905 Calculate results for small negative arguments directly rather
18906 than using reflection formula with special underflow handling.
18907
18908 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18909 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18910 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18911 (fchflags): Likewise.
18912 (revoke): Likewise.
18913 (setlogin): Likewise.
18914 (sigaltstack): Likewise.
18915 (wait4): Likewise.
18916 (sigblock): Remove.
18917 (sigsetmask): Likewise.
18918 (wait3): Likewise.
18919 (waitpid): Likewise.
18920 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18921 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18922 file.
18923 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18924 * sysdeps/unix/bsd/Makefile: ... here.
18925 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18926 * sysdeps/unix/bsd/Versions: ... here.
18927 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18928 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18929 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18930 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18931 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18932 * sysdeps/unix/bsd/sigblock.c: ... here.
18933 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18934 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18935 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18936 * sysdeps/unix/bsd/sigvec.c: ... here.
18937 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18938 * sysdeps/unix/bsd/tcdrain.c: ... here.
18939 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18940 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18941 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18942 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18943 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18944 * sysdeps/unix/bsd/wait.c: ... here.
18945 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18946 * sysdeps/unix/bsd/wait3.c: ... here.
18947 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18948 * sysdeps/unix/bsd/waitpid.c: ... here.
18949
189502013-12-21 Joseph Myers <joseph@codesourcery.com>
18951
18952 [BZ #16356]
18953 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18954 round-to-nearest for [!USE_AS_EXPM1L].
18955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18956 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18957 more tests of exp and exp10. Expect some exp10 tests to miss
18958 exceptions or fail in directed rounding modes.
18959 * math/auto-libm-test-out: Regenerated.
18960 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18961 (exp10_test_tonearest): New function.
18962 (exp10_towardzero_test_data): New array.
18963 (exp10_test_towardzero): New function.
18964 (exp10_downward_test_data): New array.
18965 (exp10_test_downward): New function.
18966 (exp10_upward_test_data): New array.
18967 (exp10_test_upward): New function.
18968 (main): Call the new functions.
18969 * sysdeps/i386/fpu/libm-test-ulps: Update.
18970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18971
189722013-12-20 Joseph Myers <joseph@codesourcery.com>
18973
18974 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18975 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18976 * math/auto-libm-test-out: Regenerated.
18977 * math/libm-test.inc (acosh_test_data): Add more tests.
18978 (atanh_test_data): Likewise.
18979 (ceil_test_data): Likewise.
18980 (copysign_test_data): Likewise.
18981 * sysdeps/i386/fpu/libm-test-ulps: Update.
18982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983
18984 * timezone/checktab.awk: Update from tzcode 2013i.
18985 * timezone/private.h: Likewise.
18986 * timezone/scheck.c: Likewise.
18987 * timezone/tzfile.h: Likewise.
18988 * timezone/tzselect.ksh: Likewise.
18989 * timezone/zdump.c: Likewise.
18990 * timezone/zic.c: Likewise.
18991
18992 * math/auto-libm-test-in: Add tests of cpow.
18993 * math/auto-libm-test-out: Regenerated.
18994 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18995 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18996 mpc_cc_c.
18997 (func_calc_desc): Add mpc_cc_c union field.
18998 (test_functions): Add cpow.
18999 (special_fill_2pi): New function.
19000 (special_real_inputs): Add 2pi.
19001 (calc_generic_results): Handle mpc_cc_c.
19002 * sysdeps/i386/fpu/libm-test-ulps: Update.
19003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19004
19005 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19006 csqrt, ctan and ctanh.
19007 * math/auto-libm-test-out: Regenerated.
19008 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19009 (TEST_COND_x86): Likewise.
19010 (ccos_test_data): Use AUTO_TESTS_c_c.
19011 (ccosh_test_data): Likewise.
19012 (cexp_test_data): Likewise.
19013 (clog_test_data): Likewise.
19014 (csqrt_test_data): Likewise.
19015 (ctan_test_data): Likewise.
19016 (ctan_tonearest_test_data): Likewise.
19017 (ctan_towardzero_test_data): Likewise.
19018 (ctan_downward_test_data): Likewise.
19019 (ctan_upward_test_data): Likewise.
19020 (ctanh_test_data): Likewise.
19021 (ctanh_tonearest_test_data): Likewise.
19022 (ctanh_towardzero_test_data): Likewise.
19023 (ctanh_downward_test_data): Likewise.
19024 (ctanh_upward_test_data): Likewise.
19025 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19026 mpc_c_c.
19027 (func_calc_desc): Add mpc_c_c union field.
19028 (FUNC_mpc_c_c): New macro.
19029 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19030 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19031 ctanh.
19032 (special_fill_min_subnorm_p120): New function.
19033 (special_real_inputs): Add min_subnorm_p120.
19034 (calc_generic_results): Handle mpc_c_c.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
190382013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19039
19040 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19041 (do_sin_slow): New functions.
19042 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19043 (cslow2, csloww1, csloww2): Use the new functions.
19044
19045 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19046 Use M to change sign of result instead of X. Assume X is
19047 positive.
19048 (csloww1): Likewise.
19049 (__sin): Adjust.
19050 (__cos): Adjust.
19051
19052 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19053 arguments A and DA.
19054 (__sin): Adjust.
19055 (__cos): Likewise.
19056
19057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19058 (__cos): Likewise.
19059 (sloww1): Don't adjust sign of DX.
19060 (csloww1): Likewise.
19061 (sloww2): Use X directly and don't adjust sign of DX.
19062 (csloww2): Likewise.
19063
190642013-12-19 Joseph Myers <joseph@codesourcery.com>
19065
19066 * math/auto-libm-test-in: Add tests of cabs and carg.
19067 * math/auto-libm-test-out: Regenerated.
19068 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19069 (carg_test_data): Likewise.
19070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19071 mpc_c_f.
19072 (func_calc_desc): Add mpc_c_f union field.
19073 (test_functions): Add cabs and carg.
19074 (calc_generic_results): Handle mpc_c_f.
19075
19076 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19077 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19078 as a macro and a compat symbol.
19079 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19080 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19081 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19082 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19083 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19085 not use .hidden.
19086 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19087 Likewise.
19088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19089 Likewise.
19090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19091 Likewise.
19092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19093 Likewise.
19094 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19095 Likewise.
19096 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19097 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19098 from GLIBC_2.3.2.
19099
191002013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19101
19102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19103
191042013-12-19 Joseph Myers <joseph@codesourcery.com>
19105
19106 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19107 trailing whitespace removed.
19108 * scripts/config.guess: Update to version 2013-11-29.
19109 * scripts/config.sub: Update to version 2013-10-01.
19110
19111 * math/auto-libm-test-in: Add tests of sincos.
19112 * math/auto-libm-test-out: Regenerated.
19113 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19114 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19115 mpfr_f_11.
19116 (func_calc_desc): Add mpfr_f_11 union field.
19117 (test_functions): Add sincos.
19118 (calc_generic_results): Handle mpfr_f_11.
19119 * sysdeps/i386/fpu/libm-test-ulps: Update.
19120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19121
191222013-12-19 Andreas Schwab <schwab@suse.de>
19123
19124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19125 CALL_MCOUNT.
19126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19127 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19128 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19129
191302013-12-19 Joseph Myers <joseph@codesourcery.com>
19131
19132 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19133 * sysdeps/i386/fpu/libm-test-ulps: Update.
19134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135
19136 [BZ #16293]
19137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19138 round-to-nearest mode when using frndint.
19139 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19140 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19141 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19142 Likewise.
19143 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19144 sinh test to fail.
19145 * math/auto-libm-test-out: Regenerated.
19146 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19147 (TEST_COND_x86): Likewise.
19148 (expm1_tonearest_test_data): New array.
19149 (expm1_test_tonearest): New function.
19150 (expm1_towardzero_test_data): New array.
19151 (expm1_test_towardzero): New function.
19152 (expm1_downward_test_data): New array.
19153 (expm1_test_downward): New function.
19154 (expm1_upward_test_data): New array.
19155 (expm1_test_upward): New function.
19156 (main): Run the new test functions.
19157 * sysdeps/i386/fpu/libm-test-ulps: Update.
19158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19159
19160 * include/features.h: Update comment documenting feature test
19161 macros. Mention _DEFAULT_SOURCE in comment.
19162 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19163 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19164 _BSD_SOURCE and _SVID_SOURCE.
19165 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19166 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19167 !_SVID_SOURCE]: Likewise.
19168 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19169 (__USE_POSIX_IMPLICITLY): Define.
19170 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19171 (_POSIX_SOURCE): Undefine and redefine.
19172 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19173 (_POSIX_C_SOURCE): Likewise.
19174 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19175 (Feature Test Macros): Update documentation of default features.
19176
191772013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19178
19179 * benchtests/Makefile: Add bench-strtok.
19180 * benchtests/bench-strtok.c: New file: strtok benchtest.
19181
191822013-12-19 Allan McRae <allan@archlinux.org>
19183
19184 * manual/install.texi: Suppress menu for plain text output.
19185 * INSTALL: Regenerated.
19186
191872013-12-18 Brooks Moses <bmoses@google.com>
19188
19189 [BZ #15846]
19190 * misc/getauxval.c: Include errno.h.
19191 (__getauxval): Set errno to ENOENT if the requested type is not
19192 found.
19193 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19194 don't declare with __attribute_const__.
19195 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19196 * manual/startup.texi: Document that getauxval sets errno.
19197
191982013-12-18 Joseph Myers <joseph@codesourcery.com>
19199
19200 * math/auto-libm-test-in: Add tests of jn and yn.
19201 * math/auto-libm-test-out: Regenerated.
19202 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19203 (yn_test_data): Likewise.
19204 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19205 mpfr_if_f.
19206 (func_calc_desc): Add mpfr_if_f union field.
19207 (FUNC_mpfr_if_f): New macro.
19208 (test_functions): Add jn and yn.
19209 (calc_generic_results): Assert type of second input for
19210 mpfr_ff_f. Handle mpfr_if_f.
19211 (output_for_one_input_case): Disable all checking for arguments
19212 fitting floating-point types in case of an integer argument.
19213 * sysdeps/i386/fpu/libm-test-ulps: Update.
19214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19215
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19217 Don't expect fegetround reference in libm.so.
19218
192192013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19220
19221 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19222 $(config-cflags-nofma).
19223
192242013-12-18 Joseph Myers <joseph@codesourcery.com>
19225
19226 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19227 * math/auto-libm-test-out: Regenerated.
19228
19229 [BZ #16338]
19230 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19231 to determine exponent and adjust argument to have exponent of -1.
19232 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19233 log2.
19234 * math/auto-libm-test-out: Regenerated.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237
192382013-12-18 Ondřej Bílka <neleai@seznam.cz>
19239
19240 * manual/probes.texi: Remove cases when per-thread arenas are
19241 disabled.
19242
192432013-12-18 Andreas Schwab <schwab@suse.de>
19244
19245 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19246 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19247 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19248 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19249 * sysdeps/i386/i686/multiarch/Makefile: Update.
19250 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19251
192522013-12-17 Joseph Myers <joseph@codesourcery.com>
19253
19254 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19255 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19256
192572013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19258
19259 [BZ #15968]
19260 Support TZ transition times < 00:00:00.
19261 This is needed for version-3 tz-format files; it supports time
19262 stamps past 2037 for America/Godthab (the only entry in the tz
19263 database for which this change is relevant).
19264 * manual/time.texi (TZ Variable): Document transition times
19265 from -167:59:59 through -00:00:01.
19266 * time/tzset.c (tz_rule): Time of day is now signed.
19267 (__tzset_parse_tz): Parse negative time of day.
19268
19269 Document TZ transition times >= 25:00:00.
19270 * manual/time.texi (TZ Variable): Document transition times from
19271 25:00:00 through 167:59:59. These are already supported, and this
19272 support will help with version-3 tz-format files.
19273
19274 * manual/time.texi (TZ Variable): Modernize North America example
19275 to reflect current (i.e., 2007-and-later) daylight saving rules.
19276
19277 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19278
192792013-12-17 Joseph Myers <joseph@codesourcery.com>
19280
19281 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19282 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19285 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19286 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19287 * sysdeps/unix/bsd/clock.c: Likewise.
19288 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19289 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19290 * sysdeps/unix/bsd/init-posix.c: Likewise.
19291 * sysdeps/unix/bsd/poll.c: Likewise.
19292 * sysdeps/unix/bsd/ptsname.c: Likewise.
19293 * sysdeps/unix/bsd/seekdir.c: Likewise.
19294 * sysdeps/unix/bsd/setegid.c: Likewise.
19295 * sysdeps/unix/bsd/seteuid.c: Likewise.
19296 * sysdeps/unix/bsd/setgid.c: Likewise.
19297 * sysdeps/unix/bsd/setrgid.c: Likewise.
19298 * sysdeps/unix/bsd/setruid.c: Likewise.
19299 * sysdeps/unix/bsd/setsid.c: Likewise.
19300 * sysdeps/unix/bsd/setuid.c: Likewise.
19301 * sysdeps/unix/bsd/sigaction.c: Likewise.
19302 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19303 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19304 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19305 * sysdeps/unix/bsd/telldir.c: Likewise.
19306 * sysdeps/unix/bsd/times.c: Likewise.
19307 * sysdeps/unix/bsd/usleep.c: Likewise.
19308
19309 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19310 ($(objpfx)libbsd-compat.a): Remove rule.
19311
19312 * include/features.h (__FAVOR_BSD): Do not define.
19313 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19314 features conflicting with POSIX.
19315 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19316 (_BSD_SOURCE): Remove description of not being a subset of other
19317 feature test macros.
19318 * manual/job.texi (getpgrp): Do not document BSD version.
19319 (getpgid): Do not document by reference to BSD getpgrp.
19320 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19321 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19322 * signal/signal.h [__FAVOR_BSD]: Likewise.
19323 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19324 instead of making contents conditional on [__FAVOR_BSD].
19325 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19326
193272013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19328
19329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19330
193312013-12-17 Joseph Myers <joseph@codesourcery.com>
19332
19333 [BZ #16314]
19334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19335 values below 2**-450, not 2**-500.
19336 * math/auto-libm-test-in: Don't allow spurious underflow from
19337 hypot.
19338 * math/auto-libm-test-out: Regenerated.
19339
19340 [BZ #16316]
19341 [BZ #16330]
19342 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19343 values of ha and hb and sort them after adjusting subnormal
19344 arguments.
19345 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19346 Likewise.
19347 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19348 values of ea and eb and sort them after adjusting subnormal
19349 arguments.
19350 * math/auto-libm-test-in: Do not expect some hypot tests of
19351 subnormals to fail. Add more hypot tests.
19352 * math/auto-libm-test-out: Regenerated.
19353
193542013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19355
19356 [BZ #13304]
19357 * sysdeps/sh/s_fma.c: New file.
19358 * sysdeps/sh/s_fmaf.c: New file.
19359 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19360 version.
19361 * sysdeps/sh/Implies: Add sh/soft-fp.
19362
193632013-12-16 Roland McGrath <roland@hack.frob.com>
19364
19365 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19366 level of indirection to members `objname', `errstring', `malloced'.
19367 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19368 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19369 it as the __longjmp argument (just pass 1 instead).
19370 (_dl_catch_error): Initialize C with argument pointers and address of
19371 volatile local ERRCODE rather than copying values out of C at return.
19372
193732013-12-16 Joseph Myers <joseph@codesourcery.com>
19374
19375 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19376 * math/auto-libm-test-out: Regenerated.
19377 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19378 (hypot_test_data): Likewise.
19379 (pow_test_data): Likewise.
19380 (pow_tonearest_test_data): Likewise.
19381 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19382 mpfr_ff_f.
19383 (func_calc_desc): Add mpfr_ff_f union field.
19384 (FUNC_mpfr_ff_f): New macro.
19385 (test_functions): Add atan2, hypot and pow.
19386 (special_fill_min): New function.
19387 (special_fill_minus_min): Likewise.
19388 (special_fill_min_subnorm): Likewise.
19389 (special_fill_minus_min_subnorm): Likewise.
19390 (special_real_inputs): Add min, -min, min_subnorm and
19391 -min_subnorm.
19392 (calc_generic_results): Handle mpfr_ff_f.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395
193962013-12-16 Will Newton <will.newton@linaro.org>
19397
19398 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19399 (Aligned Memory Blocks): Add documentation for aligned_alloc
19400 and suggest it as an alternative to posix_memalign.
19401 (Hooks for Malloc): Document __memalign_hook is also called
19402 for aligned_alloc. (Summary of Malloc): Add summary for
19403 aligned alloc. Document __memalign_hook is also called
19404 for aligned_alloc.
19405
194062013-12-16 Will Newton <will.newton@linaro.org>
19407
19408 * manual/memory.texi (Malloc Examples): Clarify default
19409 alignment documentation. Suggest posix_memalign rather
19410 than memalign or valloc.
19411 (Aligned Memory Blocks): Remove suggestion to use memalign
19412 or valloc. Remove obsolete comment about BSD.
19413 Document memalign errno values and mark the function obsolete.
19414 Document posix_memalign returned error codes. Mark valloc
19415 as obsolete. (Hooks for Malloc): __memalign_hook is also
19416 called for posix_memalign and valloc.
19417 (Summary of Malloc): Add posix_memalign to function summary.
19418 __memalign_hook is also called for posix_memalign and valloc.
19419
194202013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19421
19422 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19423 TAYLOR_SIN.
19424 (__sin): Adjust.
19425 (__cos): Likewise.
19426 (sloww): Use mynumber union. Expand ternary operator into
19427 if-else statements.
19428 (cslow): use mynumber union.
19429
194302013-12-16 Allan McRae <allan@archlinux.org>
19431
19432 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19433 * configure: Regenerated.
19434
19435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19436
19437 [BZ #14120]
19438 * configure.ac: Added --enable-maintainer-mode. Check for
19439 autoconf when enabled.
19440 * configure: Regenerated.
19441
19442 * nscd/nscd.service: New file.
19443 * nscd/nscd.tmpfiles: New file.
19444
194452013-12-14 Ondřej Bílka <neleai@seznam.cz>
19446
19447 [BZ #12100]
19448 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19449 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19450 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19451 (strstr): Add __strstr_sse2_unaligned ifunc.
19452 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19453 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19454 (strcasestr): Remove __strcasestr_sse42 ifunc.
19455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19458
194592013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19460
19461 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19462 * sysdeps/sh/bits/fenv.h: ... here.
19463 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19464
194652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19466
19467 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19468
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19470 hypotf multiarch implementations.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19474 multiarch hypot for PPC64.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19478 multiarch hypotf for PPC64.
19479
19480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19481 modff multiarch implementations.
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19485 multiarch modf for PPC64.
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19489 multiarch modff for PPC64.
19490
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19492 and logl multiarch implementations.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19496 multiarch logb for PPC64.
19497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19500 multiarch logb for PPC64.
19501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19504 multiarch logb for PPC64.
19505
19506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19507 isinff multiarch implementation.
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19509 file.
19510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19512 multiarch isinf for PPC64.
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19514 file.
19515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19516 multiarch isinff for PPC64.
19517
19518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19519 finitef multiarch implementation.
19520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19521 file.
19522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19524 multiarch finite for PPC64.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19526 file.
19527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19528 multiarch finitef for PPC64.
19529
19530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19531 lrint multiarch implementation.
19532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19533 file.
19534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19536 multiarch llrint for PPC64.
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19538 multiarch lrint for PPC64.
19539
19540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19541 copysignf multiarch implementation.
19542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19543 file.
19544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19545 file.
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19547 multiarch copysign for PPC64.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19549 multiarch copysignf for PPC64.
19550
19551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19552 multiarch implementation.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19554 file.
19555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19556 file.
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19558 file.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19560 file.
19561 multiarch llround for PPC64.
19562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19563 multiarch trunc for PPC64.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19565 multiarch truncf for PPC64.
19566
19567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19568 multiarch implementation.
19569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19572 file.
19573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19574 file.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19576 file.
19577 multiarch llround for PPC64.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19579 multiarch round for PPC64.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19581 multiarch roundf for PPC64.
19582
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19584 multiarch implementation.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19586 file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19588 file.
19589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19590 file.
19591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19592 file.
19593 multiarch llround for PPC64.
19594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19595 multiarch floor for PPC64.
19596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19597 multiarch floorf for PPC64.
19598
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19600 multiarch implementation.
19601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19602 file.
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19604 file.
19605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19606 file.
19607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19608 file.
19609 multiarch llround for PPC64.
19610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19611 multiarch ceil for PPC64.
19612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19613 multiarch ceilf for PPC64.
19614
19615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19616 multiarch implementation.
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19618 file.
19619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19620 file.
19621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19622 file.
19623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19624 multiarch llround for PPC64.
19625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19626 multiarch lround for PPC64.
19627
19628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19629 multiarch implementation.
19630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19633 file.
19634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19637 multiarch isnan for PPC64.
19638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19639 multiarch isnanf for PPC64.
19640
19641 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19642 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19643 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19644 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19645 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19647
19648 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19652
19653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19654 multiarch implementations.
19655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19656 (__libc_ifunc_impl_list): Likewise.
19657 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19658 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19660 multiarch stpcpy for PPC64.
19661
19662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19663 multiarch implementations.
19664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19665 (__libc_ifunc_impl_list): Likewise.
19666 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19667 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19668 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19669 multiarch strcpy for PPC64.
19670
19671 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19672 redefine function name.
19673 (_wordcopy_fwd_dest_aligned): Likewise.
19674 (_wordcopy_bwd_aligned): Likewise.
19675 (_wordcopy_bwd_dest_aligned): Likewise.
19676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19677 multiarch implementations.
19678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19679 (__libc_ifunc_impl_list): Likewise.
19680 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19681 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19682 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19683 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19684 multiarch wcscpy for PPC64.
19685
19686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19687 multiarch implementations.
19688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19689 (__libc_ifunc_impl_list): Likewise.
19690 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19691 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19692 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19694 multiarch wcscpy for PPC64.
19695
19696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19697 multiarch implementations.
19698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19699 (__libc_ifunc_impl_list): Likewise.
19700 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19701 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19702 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19703 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19704 multiarch wcsrchr for PPC64.
19705
19706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19707 multiarch implementations.
19708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19709 (__libc_ifunc_impl_list): Likewise.
19710 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19711 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19712 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19714 multiarch wcschr for PPC64.
19715
19716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19717 multiarch implementations.
19718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19719 (__libc_ifunc_impl_list): Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19722 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19723 multiarch strchrnul for PPC64.
19724
19725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19726 implementations.
19727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19728 (__libc_ifunc_impl_list): Likewise.
19729 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19730 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19731 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19732 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19733 strchr for PPC64.
19734
19735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19736 implementations.
19737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19738 (__libc_ifunc_impl_list): Likewise.
19739 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19740 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19742 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19743 strncmp for PPC64.
19744
19745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19746 multiarch implementations.
19747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19748 (__libc_ifunc_impl_list): Likewise.
19749 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19750 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19751 strncasecmp for PPC64.
19752 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19753 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19754 multiarch strncasecmp_l for PPC64.
19755
19756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19757 multiarch implementations.
19758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19759 (__libc_ifunc_impl_list): Likewise.
19760 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19762 multiarch strcasecmp for PPC64.
19763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19764 file.
19765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19766 multiarch strcasecmp_l for PPC64.
19767
19768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19769 implementations.
19770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19771 (__libc_ifunc_impl_list): Likewise.
19772 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19773 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19774 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19775 strnlen for PPC64.
19776
19777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19778 implementations.
19779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19780 (__libc_ifunc_impl_list): Likewise.
19781 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19782 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19783 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19784 strlen for PPC64.
19785
19786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19787 implementations.
19788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19789 (__libc_ifunc_impl_list): Likewise.
19790 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19791 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19792 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19793 rawmemrchr for PPC64.
19794
19795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19796 implementation.
19797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19798 (__libc_ifunc_impl_list): Likewise.
19799 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19800 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19801 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19802 memrchr for PPC64.
19803
19804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19805 implementation.
19806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19807 (__libc_ifunc_impl_list): Likewise.
19808 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19810 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19811 memchr for PPC64.
19812
19813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19814 implementation.
19815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19816 (__libc_ifunc_impl_list): Likewise.
19817 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19818 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19820 mempcpy for PPC64.
19821
19822 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19823 avoid cretion of __bzero symbol.
19824 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19825 Likewise.
19826 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19827 Likewise.
19828 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19829 Likewise.
19830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19831 multiarch implementations.
19832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19833 (__libc_ifunc_impl_list): Likewise.
19834 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19835 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19836 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19837 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19838 bzero for PPC32.
19839 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19840 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19841 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19842 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19843 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19844 memset for PPC64.
19845 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19846
19847 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19849 implementations.
19850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19851 (__libc_ifunc_impl_list): Likewise.
19852 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19853 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19854 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19855 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19856 memcmp for PPC64.
19857
19858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19859 multiarch for POWER/PPC64.
19860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19861 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19862 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19863 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19864 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19865 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19866 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19868 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19869 memcpy for PPC64.
19870
19871 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19872 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19873 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19875 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19876 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19877 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19878 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19879 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19880 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19881 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19882 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19883 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19884 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19885 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19893
198942013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19895
19896 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19897
198982013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19899
19900 * benchtests/Makefile (bench): Add exp2 and log2.
19901 (LDLIBS-bench-exp2): Add -lm.
19902 (LDLIBS-bench-log2): Likewise.
19903 * benchtests/exp2-inputs: New inputs file.
19904 * benchtests/log2-inputs: New inputs file.
19905 * benchtests/log-inputs: Add new inputs.
19906 * benchtests/tan-inputs: Likewise.
19907
199082013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19909
19910 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19911 definition...
19912 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19913 (csloww2): ... from here.
19914
19915 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19916 instead of structures.
19917 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19918 (POLYNOMIAL): Likewise.
19919 (TAYLOR_SLOW): Likewise.
19920 (__sin): Likewise.
19921 (__cos): Likewise.
19922 (slow1): Likewise.
19923 (slow2): Likewise.
19924 (sloww): Likewise.
19925 (sloww1); Likewise.
19926 (sloww2): Likewise.
19927 (bsloww1): Likewise.
19928 (bsloww2): Likewise.
19929 (cslow2): Likewise.
19930 (csloww): Likewise.
19931 (csloww1): Likewise.
19932 (csloww2): Likewise.
19933
199342013-12-10 Ondřej Bílka <neleai@seznam.cz>
19935
19936 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19937 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19938 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19939 * malloc/hooks.c (realloc_check): Likewise.
19940
19941 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19942 * malloc/arena.c: Remove PER_THREAD conditional.
19943 [!PER_THREAD]: Remove code.
19944 (ptmalloc_unlock_all2): Likewise.
19945 (ptmalloc_init): Likewise.
19946 (_int_new_arena): Likewise.
19947 (arena_get2): Likewise.
19948 * malloc/hooks.c (__malloc_get_state): Likewise.
19949 (__malloc_set_state): Likewise.
19950 * malloc/malloc.c: Likewise.
19951 (struct malloc_state): Likewise.
19952 (struct malloc_par): Likewise.
19953 (__libc_realloc): Likewise.
19954 (__libc_mallopt): Likewise.
19955
199562013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19957
19958 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19959
199602013-12-09 Ondřej Bílka <neleai@seznam.cz>
19961
19962 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19963 macro to a function. Check for zero perturb_byte.
19964 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19965
19966 * malloc/malloc.c: (force_reg): Remove.
19967 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19968 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19969 force_reg by atomic_forced_read.
19970 * malloc/arena.c (ptmalloc_init): Likewise.
19971 * malloc/hooks.c (top_check): Likewise.
19972
199732013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19974
19975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19976
199772013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19978
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19980
199812013-12-08 Joseph Myers <joseph@codesourcery.com>
19982
19983 * math/auto-libm-test-in: Add tests of lgamma.
19984 * math/auto-libm-test-out: Regenerated.
19985 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19986 (M_LOG_2_SQRT_PIl): Likewise.
19987 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19989 mpfr_f_f1.
19990 (func_calc_desc): Add mpfr_f_f1 union field.
19991 (ARGS1): New macro.
19992 (ARGS2): Likewise.
19993 (ARGS3): Likewise.
19994 (ARGS4): Likewise.
19995 (RET1): Likewise.
19996 (RET2): Likewise.
19997 (CALC): Likewise.
19998 (FUNC): Likewise.
19999 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20000 (test_functions): Add lgamma.
20001 (calc_generic_results): Handle mpfr_f_f1.
20002 * sysdeps/i386/fpu/libm-test-ulps: Update.
20003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004
200052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20006
20007 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20008 __mpn_add_n for PowerPC64/POWER7.
20009 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20010 __mpn_sub_n for PowerPC64/POWER7.
20011
20012 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20013 __mpn_addmul_1 for PowerPC64.
20014 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20015 __mpn_submul_1 for PowerPC64.
20016 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20017 for PowerPC64.
20018 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20019 for PowerPC64.
20020
200212013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20022
20023 [BZ #15089]
20024 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20025
200262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027
20028 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20029
20030 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20031 add multiarch folders.
20032 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20033 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20034 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20035 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20036 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20037 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20038 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20039 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20040 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20041 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20042 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20049
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20051 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20053 New file.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20055 New file.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20057 multiarch __ieee754_hypot for PowerPC32.
20058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20059 New file.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20061 New file.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20063 multiarch __ieee754_hypotf for PowerPC32.
20064
20065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20066 long_double_symbol only if __logbl is defined.
20067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20068 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20070 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20072 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20073 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20074 path for implementation.
20075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20076 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20078 logb, and logbl multiarch implementations for PowerPC32.
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20080 file.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20082 file.
20083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20084 multiarch logb for PowerPC32.
20085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20086 file.
20087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20088 file.
20089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20090 multiarch logbf for PowerPC32.
20091 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20093 file.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20095 multiarch logbl implementation for PowerPC32.
20096
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20098 and modff multiarch implementations.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20100 New file.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20102 New file.
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20104 multiarch modf for PowerPC32.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20106 New file.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20108 New file.
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20110 multiarch modff for PowerPC32.
20111
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20113 and lrintf multiarch implementations.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20115 New file.
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20117 New file.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20119 multiarch lrint for PowerPC32.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20121 file: multiarch lrintf for PowerPC32.
20122
20123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20124 and lroundf multiarch implementations.
20125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20126 New file.
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20128 New file.
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20130 New file.
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20132 multiarch lround for PowerPC32.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20134 file: multiarch lroundf for PowerPC32.
20135
20136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20137 copysign and copysignf multiarch implementations.
20138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20139 New file.
20140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20141 New file.
20142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20143 file: multiarch copysign for PowerPC32.
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20145 file: multiarch copysignf for PowerPC32.
20146
20147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20148 and truncf multiarch implementations.
20149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20150 New file.
20151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20152 file.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20154 multiarch trunc for PowerPC32.
20155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20156 New file.
20157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20158 New file.
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20160 multiarch truncf for PowerPC32.
20161
20162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20163 and roundf multiarch implementations.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20165 New file.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20167 file.
20168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20169 multiarch round for PowerPC32.
20170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20171 New file.
20172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20173 New file.
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20175 multiarch roundf for PowerPC32.
20176
20177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20178 and floorf multiarch implementations.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20180 New file.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20182 file.
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20184 multiarch floor for PowerPC32.
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20186 New file.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20188 New file.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20190 multiarch floorf for PowerPC32.
20191
20192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20193 and ceilf multiarch implementations.
20194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20195 New file.
20196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20197 file.
20198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20199 multiarch ceil for PowerPC32.
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20201 New file.
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20203 file.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20205 multiarch ceilf for PowerPC32.
20206
20207 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20208 is defined.
20209 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20210 FINITEF is defined.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20212 and finitef multiarch implementations.
20213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20214 New file.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20216 file.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20218 multiarch finite for PowerPC32.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20220 New file.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20222 file: multiarch finitef for PowerPC32.
20223
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20225 and isinff multiarch implementations.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20227 file.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20229 file.
20230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20231 multiarch isinf for PowerPC32.
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20233 New file.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20235 multiarch isinff for PowerPC32.
20236
20237 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20238 alias when __isnan is defined.
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20240 and isnanf multiarch implementations.
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20242 file.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20244 file.
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20246 file.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20248 file.
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20250 multiarch isnan for PowerPC32.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20252 New file.
20253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20254 New file.
20255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20256 multiarch isnanf for PowerPC32.
20257
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20259 and sqrtf multiarch implementations.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20261 file.
20262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20263 file.
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20265 multiarch sqrt for PowerPC32.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20267 file.
20268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20269 file.
20270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20271 multiarch sqrtf for PowerPC32.
20272
20273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20274 and llroundf multiarch implementations.
20275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20276 New file.
20277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20278 New file.
20279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20280 New file.
20281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20282 file: multiarch llround for PowerPC32.
20283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20284 file: multiarch llroundf for PowerPC32.
20285
20286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20287 multiarch PowerPC32 fpu implementations.
20288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20289 New file.
20290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20291 New file.
20292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20293 multiarch llrint for PowerPC32.
20294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20295 New file.
20296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20297 New file.
20298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20299 file.
20300
20301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20302
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20304 file.
20305 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20306 file.
20307 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20308 file.
20309 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20310 multiarch wordcopy for PPC32.
20311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20312 wordcopy objects.
20313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20314 (__libc_ifunc_impl_list): Likewise.
20315 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20316 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20318 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20319 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20320 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20321
20322 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20324 file.
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20326 file.
20327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20328 file.
20329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20330 multiarch wcscpy for PPC32.
20331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20332 multiarch objects.
20333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20334 (__libc_ifunc_impl_list): Likewise.
20335 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20336 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20337 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20338 sysdeps/powerpc/power6/wcscpy.c.
20339
20340 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20342 file.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20344 file.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20346 file.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20348 multiarch wcsrchr for PPC32.
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20350 multiarch objects.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20352 (__libc_ifunc_impl_list): Likewise.
20353 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20354 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20355 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20356 sysdeps/powerpc/power6/wcsrchr.c.
20357
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20359 file.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20361 file.
20362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20364 multiarch wcschr for PPc32.
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20366 multiarch objects.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20368 (__libc_ifunc_impl_list): Likewise.
20369 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20370 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20371 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20372 sysdeps/powerpc/power6/wcschr.c.
20373
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20376 file.
20377 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20378 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20379 file: multiarch strchr for PPC32.
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20381 multiarch objects.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20383 (__libc_ifunc_impl_list): Likewise.
20384
20385 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20386 name.
20387 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20388 file.
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20390 file.
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20392 multiarch strchrnul for PPC32.
20393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20394 multiarch objects.
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20396 (__libc_ifunc_impl_list): Likewise.
20397
20398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20399 file.
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20401 multiarch strncasecmp for PPC32.
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20403 file.
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20405 multiarch strncasecmp_l for PPC32.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20407 strncasecmp multiarch objects.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20409 (__libc_ifunc_impl_list): Likewise.
20410
20411 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20412 file.
20413 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20414 multiarch strncasecmp for PPC32.
20415 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20416 New file.
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20418 multiarch strcasecmp_l for PPC32.
20419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20420 multiarch objects.
20421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20422 (__libc_ifunc_impl_list): Likewise.
20423
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20425 file.
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20427 file.
20428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20429 multiarch strncmp for PPC32.
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20431 multiarch objects.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20433 (__libc_ifunc_impl_list): Likewise.
20434
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20436 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20437 file.
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20439 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20441 multiarch objects.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20443 (__libc_ifunc_impl_list): Likewise.
20444
20445 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20446 file.
20447 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20448 file.
20449 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20451 multiarch objects.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20453 (__libc_ifunc_impl_list): Likewise.
20454
20455 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20456 file.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20458 file.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20460 multiarch rawmemchr for PPC32.
20461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20462 multiarch objects.
20463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20464 (__libc_ifunc_impl_list): Likewise.
20465
20466 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20467 file.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20469 file.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20471 file: memrchr multiarch for PPC32.
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20473 multiarch objects.
20474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20475 (__libc_ifunc_impl_list): Likewise.
20476
20477 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20479 file.
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20482 multiarch memchr for PPC32.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20484 multiarch objects.
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20486 (__libc_ifunc_impl_list): Likewise.
20487
20488 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20490 file.
20491 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20492 file.
20493 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20494 file: multiarch mempcpy for PPC32.
20495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20496 multiarch objects.
20497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20498 (__libc_ifunc_impl_list): Likewise.
20499
20500 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20502 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20504 multiarch bzero for PPC32.
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20506 file.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20508 file.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20510 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20511 file: multiarch memset for PPC32.
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20514 memset multiarch objects.
20515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20516 (__libc_ifunc_impl_list): Likewise.
20517
20518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20519 file.
20520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20522 memcmp for PPC32.
20523 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20525 multiarch objects.
20526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20527 (__libc_ifunc_impl_list): Likewise.
20528
20529 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20530 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20531 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20532 file.
20533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20534 file.
20535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20536 file.
20537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20538 multiarch memcpy for PPC32.
20539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20540 multiarch objects.
20541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20542 (__libc_ifunc_impl_list): Likewise.
20543
20544 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20545 support multiarch for POWER/PPC32.
20546 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20547 Likewise.
20548 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20550 Implies file to make multiarch folder appers before the fpu and
20551 default folder for power4 configuration.
20552
205532013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20554
20555 * scripts/bench.pl: Append volatile keyword to type.
20556
205572013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20558
20559 * sysdeps/sh/sotruss-lib.c: New file.
20560 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20561
205622013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20563
20564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20565
205662013-12-05 Joseph Myers <joseph@codesourcery.com>
20567
20568 [BZ #6810]
20569 * math/w_tgamma.c: Include <errno.h>.
20570 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20571 * math/w_tgammaf.c: Include <errno.h>.
20572 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20573 * math/w_tgammal.c: Include <errno.h>.
20574 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20575 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20576 underflow. Add more tgamma tests.
20577 * math/auto-libm-test-out: Regenerated.
20578 * sysdeps/i386/fpu/libm-test-ulps: Update.
20579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20580
20581 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20582 sin, sinh, tan, tanh, tgamma, y0 and y1.
20583 * math/auto-libm-test-out: Regenerated.
20584 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20585 (TEST_COND_x86): Likewise.
20586 (M_E2l): Remove macro.
20587 (M_E3l): Likewise.
20588 (M_2_SQRT_PIl): Likewise.
20589 (M_SQRT_PIl): Likewise.
20590 (M_1_DIV_El): Likewise.
20591 (log_test_data): Use AUTO_TESTS_f_f.
20592 (log10_test_data): Likewise.
20593 (log1p_test_data): Likewise.
20594 (log2_test_data): Likewise.
20595 (sin_test_data): Likewise.
20596 (sin_tonearest_test_data): Likewise.
20597 (sin_towardzero_test_data): Likewise.
20598 (sin_downward_test_data): Likewise.
20599 (sin_upward_test_data): Likewise.
20600 (sinh_test_data): Likewise.
20601 (sinh_tonearest_test_data): Likewise.
20602 (sinh_towardzero_test_data): Likewise.
20603 (sinh_downward_test_data): Likewise.
20604 (sinh_upward_test_data): Likewise.
20605 (tan_test_data): Likewise.
20606 (tan_tonearest_test_data): Likewise.
20607 (tan_towardzero_test_data): Likewise.
20608 (tan_downward_test_data): Likewise.
20609 (tan_upward_test_data): Likewise.
20610 (tanh_test_data): Likewise.
20611 (tgamma_test_data): Likewise.
20612 (y0_test_data): Likewise.
20613 (y1_test_data): Likewise.
20614 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20615 (special_real_inputs): Add pi/4.
20616 * sysdeps/i386/fpu/libm-test-ulps: Update.
20617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618
206192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20620
20621 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20622 "longjmp_target" static probes.
20623 (__longjmp): Rename to __longjmp_symbol.
20624 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20625 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20626 on which longjmp to generate.
20627 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20628 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20629 probe.
20630 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20631 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20632 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20633 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20634 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20635 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20637 __longjmp_symbol based on which __longjmp to generate.
20638 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20639 probe.
20640 (setjmp): Rename to setjmp_symbol.
20641 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20642 (_setjmp): Rename to _setjmp_symbol.
20643 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20644 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20645 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20646 which setjmp to generate.
20647 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20648 "longjmp_target" static probes.
20649
206502013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20651
20652 * benchtests/README: Add note about output arguments.
20653 * benchtests/bench-sincos.c: Remove file.
20654 * benchtests/sincos-inputs: New file.
20655 * scripts/bench.pl: Identify output arguments and define
20656 static variables for them.
20657
20658 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20659
20660 [BZ #15941]
20661 * Makefile (INSTALL): Add install-plain.texi as the primary
20662 dependency.
20663 * manual/install-plain.texi: New file.
20664 * manual/install.texi: Include node directive only for
20665 non-plaintext output.
20666
206672013-12-04 Joseph Myers <joseph@codesourcery.com>
20668
20669 * stdlib/longlong.h: Update from GCC.
20670
20671 [BZ #6807]
20672 [BZ #15901]
20673 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20674 * math/w_j0f.c (y0f): Likewise.
20675 * math/w_j0l.c (__y0l): Likewise.
20676 * math/w_j1.c (y1): Likewise.
20677 * math/w_j1f.c (y1f): Likewise.
20678 * math/w_j1l.c (__y1l): Likewise
20679 * math/w_jn.c (yn): Likewise.
20680 * math/w_jnf.c (ynf): Likewise.
20681 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20682 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20683 value for Bessel function domain errors outside _SVID_ mode.
20684 Adjust sign of return value for yn (negative integer, 0).
20685 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20686 by zero in return for negative x and set sign appropriately for
20687 negative n.
20688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20689 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20690 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20691 expectations in error cases.
20692 (y1_test_data): Likewise.
20693 (yn_test_data): Likewise.
20694 * sysdeps/i386/fpu/libm-test-ulps: Update.
20695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20696
206972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20698
20699 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20700 "64" to "64-v1". Add "64-v2".
20701 (abi-64-options): Rename to ...
20702 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20703 (abi-64-condition): Rename to ...
20704 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20705 (abi-64-ld-soname): Rename to ...
20706 (abi-64-v1-ld-soname): ... this.
20707 (abi-64-v2-options): Define.
20708 (abi-64-v2-condition): Likewise.
20709 (abi-64-v2-ld-soname): Likewise.
20710 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20711 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20715
207162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20717 Alan Modra <amodra@gmail.com>
20718
20719 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20720 New versions for use with the ELFv2 ABI.
20721 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20722 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20723 declaration.
20724 (struct La_ppc64v2_retval): Likewise.
20725 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20726 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20727 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20728 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20729 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20731 Do not save or restore CR.
20732 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20733 (_dl_profile_resolve): Do no save or restore CR. Support extended
20734 return values for ELFv2 ABI. Fix location of FPR return registers.
20735 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20736 updated values for _CALL_ELF == 2.
20737 (La_regs, La_retval, int_retval): Likewise.
20738
207392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20740
20741 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20742 (FRAME_MIN_SIZE_PARM): Likewise.
20743 (FRAME_BACKCHAIN): Likewise.
20744 (FRAME_CR_SAVE): Likewise.
20745 (FRAME_LR_SAVE): Likewise.
20746 (FRAME_TOC_SAVE): Likewise.
20747 (FRAME_PARM_SAVE): Likewise.
20748 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20749 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20750 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20751 (call_mcount_parm_offset): New macro.
20752 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20753 (PROF): Use symbolic stack frame offsets.
20754 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20756 Redefine in terms of FRAME_MIN_SIZE.
20757 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20758 (_dl_profile_resolve): Likewise. Update comment.
20759 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20760 symbols stack frame offsets.
20761 (__sigsetjmp): Likewise.
20762 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20763 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20764 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20765 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20766
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20768 (FRAME_BACKCHAIN): Remove.
20769 (FRAME_CR_SAVE): Likewise.
20770 (FRAME_LR_SAVE): Likewise.
20771 (FRAME_COMPILER_DW): Likewise.
20772 (FRAME_LINKER_DW): Likewise.
20773 (FRAME_TOC_SAVE): Likewise.
20774 (FRAME_PARM_SAVE): Likewise.
20775 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20776 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20777 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20779 (CHECK_SP): Use symbolic stack frame offsets.
20780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20781 zone" instead of caller's parameter save area for temp storage.
20782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20783 Likewise. Also, use symbolic stack frame offsets.
20784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20785 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20786 our own stack frame instead of the caller's.
20787 (__socket): Use symbolic stack frame offsets.
20788
207892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20790 Alan Modra <amodra@gmail.com>
20791
20792 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20793 Define.
20794 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20795 (PPC64_LOCAL_ENTRY_OFFSET): Define.
20796 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20797 New function.
20798 (elf_machine_fixup_plt): Call it.
20799 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20800 reloc arguments.
20801 (elf_machine_rela): Update call to elf_machine_plt_conflict.
20802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20803 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20804 r2 before calling target.
20805
208062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20807 Alan Modra <amodra@gmail.com>
20808
20809 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20810 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20811 versions of macros to support ELFv2 ABI.
20812 (LOCALENTRY): New macro.
20813 (ENTRY, EALIGN): Use it.
20814 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20815 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20816 fall through into ENTRY entry point.
20817 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20818 Only define if _CALL_ELF != 2.
20819
20820 (elf_machine_matches_host): Verify ABI version matches.
20821 (RTLD_START): Use LOCALENTRY.
20822 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20823 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20824 (PLT_ENTRY_WORDS): New macro.
20825 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20826 (elf_machine_runtime_setup): Support ELFv2 ABI.
20827 (elf_machine_fixup_plt): Likewise.
20828 (elf_machine_plt_conflict): Likewise.
20829 (resolve_ifunc): Likewise.
20830 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20831 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20832 Likewise.
20833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20834 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20836 (makecontext): Support ELFv2 ABI.
20837 * elf/elf.h (EF_PPC64_ABI): Define.
20838
208392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20840
20841 * sysdeps/powerpc/powerpc64/sysdep.h
20842 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20843 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20844 (ENTRY) [ASSEMBLER]: ... but instead here ...
20845 (EALIGN) [ASSEMBLER]: ... and here.
20846 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20847 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20848 (ENTRY_2) [!ASSEMBLER]: Use it.
20849 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20850 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
20851 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20852 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20853 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20855 Use PPC64_LOAD_FUNCPTR.
20856
20857 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20858
208592013-12-04 Alan Modra <amodra@gmail.com>
20860
20861 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20862 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20863 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20864 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20865
20866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20867 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20868 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20869 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20870 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20871 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20872
208732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20874
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20876 (__makecontext): Fix incorrect CFI when backtracing out of
20877 context created via makecontext.
20878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20879 (__setcontext): Fix incorrect CFI during switch to new context.
20880 (__novec_setcontext): Likewise.
20881
208822013-12-04 Ondřej Bílka <neleai@seznam.cz>
20883
20884 [BZ #4772]
20885 * time/strptime_l.c (__strptime_internal): Allow modifiers
20886 in strptime.
20887 * time/tst-strptime.c (day_tests): Add testcase.
20888
208892013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20890
20891 * scripts/bench.pl: Skip over blank lines.
20892
208932013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20894
20895 [BZ #926]
20896 * manual/time.texi (Calendar Time): Clarify what timezone functions
20897 use.
20898
208992013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20900
20901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20902
209032013-12-04 Ondřej Bílka <neleai@seznam.cz>
20904
20905 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20906 implementation.
20907 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20908 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20909 * debug/memset_chk.c (__memset_chk): Likewise.
20910 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20911 * debug/strncpy_chk.c: Likewise.
20912
209132013-12-03 Joseph Myers <joseph@codesourcery.com>
20914
20915 [BZ #15268]
20916 [BZ #15425]
20917 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20918 (__ieee754_exp): For possibly underflowing results, check size of
20919 result and force underflow exception if required.
20920 * math/auto-libm-test-in: Add more tests of exp.
20921 * math/auto-libm-test-out: Regenerated.
20922 * sysdeps/i386/fpu/libm-test-ulps: Update.
20923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20924
20925 [BZ #16283]
20926 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20927 * math/w_exp2f.c (__exp2f): Likewise.
20928 * math/w_exp2l.c (__exp2l): Likewise.
20929 * math/auto-libm-test-in: Do not allow missing errno on exp2
20930 underflow.
20931 * math/auto-libm-test-out: Regenerated.
20932
209332013-12-03 Ondřej Bílka <neleai@seznam.cz>
20934
20935 [BZ #16274]
20936 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20937 handle filename validation.
20938 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20939 (do_open): Delete.
20940
209412013-12-03 Joseph Myers <joseph@codesourcery.com>
20942
20943 [BZ #6786]
20944 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20945 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20946 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20947 <float.h>.
20948 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20950 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20952 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20954 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20955 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20956 Add more erfc tests.
20957 * math/auto-libm-test-out: Regenerated.
20958 * sysdeps/i386/fpu/libm-test-ulps: Update.
20959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960
20961 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20962 exp2, expm1, j0 and j1.
20963 * math/auto-libm-test-out: Regenerated.
20964 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20965 (erfc_test_data): Likewise.
20966 (exp_test_data): Likewise.
20967 (exp_tonearest_test_data): Likewise.
20968 (exp_towardzero_test_data): Likewise.
20969 (exp_downward_test_data): Likewise.
20970 (exp_upward_test_data): Likewise.
20971 (exp10_test_data): Likewise.
20972 (exp2_test_data): Likewise.
20973 (expm1_test_data): Likewise.
20974 (j0_test_data): Likewise.
20975 (j1_test_data): Likewise.
20976 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20977 (input_flag_type): Add flag_xfail_rounding.
20978 (input_flags): Add xfail-rounding.
20979 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20980 (output_for_one_input_case): Handle flag_xfail_rounding.
20981 * sysdeps/i386/fpu/libm-test-ulps: Update.
20982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20983
209842013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20985
20986 [BZ #16289]
20987 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20988 division by 0.
20989
209902013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20991
20992 [BZ #16195]
20993 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20994 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20995 (STAP_PROBE0): New macro.
20996 (STAP_PROBE1): Likewise.
20997 (STAP_PROBE2): Likewise.
20998 (STAP_PROBE3): Likewise.
20999 (STAP_PROBE4): Likewise.
21000
210012013-12-02 Ondřej Bílka <neleai@seznam.cz>
21002
21003 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21004
210052013-12-02 Steve Ellcey <sellcey@mips.com>
21006
21007 * benchtests/Makefile (bench): Add sqrt.
21008 (LDLIBS-bench-sqrt): New.
21009 * benchtests/sqrt-input: New.
21010
210112013-12-02 Pavel Simerda <psimerda@redhat.com>
21012
21013 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21014 (GAIH_EAI): Likewise.
21015 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21016 (gaih_inet): Likewise.
21017 (getaddrinfo): Don't use GAIH_EAI.
21018
21019 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21020 (struct gaih): Remove definition.
21021
210222013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21023
21024 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21025 Use HERRNOP directly.
21026
210272013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21028
21029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21030
210312013-11-30 Joseph Myers <joseph@codesourcery.com>
21032
21033 * math/gen-auto-libm-tests.c (test_functions): Add more
21034 single-argument functions.
21035 (special_fill_pi_2): New function.
21036 (special_fill_minus_pi_2): Likewise.
21037 (special_fill_pi_6): Likewise.
21038 (special_fill_minus_pi_6): Likewise.
21039 (special_fill_pi_3): Likewise.
21040 (special_fill_2pi_3): Likewise.
21041 (special_fill_e): Likewise.
21042 (special_fill_1_e): Likewise.
21043 (special_fill_e_minus_1): Likewise.
21044 (special_real_inputs): Add more special inputs.
21045 (output_for_one_input_case): Do not require ERANGE on underflow to
21046 zero if round-to-nearest result does not underflow to zero, unless
21047 exact results required.
21048 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21049 atan, atanh, cbrt, cos and cosh.
21050 * math/auto-libm-test-out: Regenerated.
21051 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21052 (acos_tonearest_test_data): Likewise.
21053 (acos_towardzero_test_data): Likewise.
21054 (acos_downward_test_data): Likewise.
21055 (acos_upward_test_data): Likewise.
21056 (acosh_test_data): Likewise.
21057 (asin_test_data): Likewise.
21058 (asin_tonearest_test_data): Likewise.
21059 (asin_towardzero_test_data): Likewise.
21060 (asin_upward_test_data): Likewise.
21061 (asinh_test_data): Likewise.
21062 (atan_test_data): Likewise.
21063 (atanh_test_data): Likewise.
21064 (cbrt_test_data): Likewise.
21065 (cos_test_data): Likewise.
21066 (cos_tonearest_test_data): Likewise.
21067 (cos_towardzero_test_data): Likewise.
21068 (cos_downward_test_data): Likewise.
21069 (cos_upward_test_data): Likewise.
21070 (cosh_test_data): Likewise.
21071 (cosh_tonearest_test_data): Likewise.
21072 (cosh_towardzero_test_data): Likewise.
21073 (cosh_downward_test_data): Likewise.
21074 (cosh_upward_test_data): Likewise.
21075 * sysdeps/i386/fpu/libm-test-ulps: Update.
21076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21077
210782013-11-29 Joseph Myers <joseph@codesourcery.com>
21079
21080 [BZ #6787]
21081 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21082 * math/w_exp10f.c (__exp10f): Likewise.
21083 * math/w_exp10l.c (__exp10l): Likewise.
21084 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21085 errno settings in existing tests.
21086
21087 [BZ #14032]
21088 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21089 precision control set to double precision.
21090 * sysdeps/i386/fpu/w_sqrt.c: New file.
21091 * math/auto-libm-test-in: Add more tests.
21092 * math/auto-libm-test-out: Update.
21093
21094 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21095 (sqrt_test_tonearest): New function.
21096 (sqrt_towardzero_test_data): New variable.
21097 (sqrt_test_towardzero): New function.
21098 (sqrt_downward_test_data): New variable.
21099 (sqrt_test_downward): New function.
21100 (sqrt_upward_test_data): New variable.
21101 (sqrt_test_upward): New function.
21102 (main): Call the new functions.
21103
21104 * math/gen-auto-libm-tests.c: New file.
21105 * math/auto-libm-test-in: Likewise.
21106 * math/auto-libm-test-out: New generated file.
21107 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21108 variables.
21109 (%beautify): Add generated representations of zero.
21110 (top level): Set $auto_input and call parse_auto_input.
21111 (beautify): Remove trailing "f" from hex float constants.
21112 (parse_args): Handle XFAIL_TEST.
21113 (convert_condition): New function.
21114 (or_value): Likewise.
21115 (or_cond_value): Likewise.
21116 (generate_testfile): Handle AUTO_TESTS_* lines.
21117 (parse_auto_input): New function.
21118 * math/libm-test.inc (XFAIL_TEST): New macro.
21119 (ERRNO_UNCHANGED): Update value.
21120 (ERRNO_EDOM): Likewise.
21121 (ERRNO_ERANGE): Likewise.
21122 (IGNORE_RESULT): Likewise.
21123 (TEST_COND_flt_32): New macro.
21124 (TEST_COND_dbl_64): Likewise.
21125 (TEST_COND_ldbl_96_intel): Likewise.
21126 (TEST_COND_ldbl_96_m68k): Likewise.
21127 (TEST_COND_ldbl_128): Likewise.
21128 (TEST_COND_ldbl_128ibm): Likewise.
21129 (TEST_COND_long32): Likewise.
21130 (TEST_COND_long64): Likewise.
21131 (TEST_COND_before_rounding): Likewise.
21132 (TEST_COND_after_rounding): Likewise.
21133 (enable_test): Handle XFAIL_TEST flag.
21134 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21135 with finite results.
21136 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21137 auto-libm-test-out.
21138
211392013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21140 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21141
21142 [BZ #16214]
21143 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21144 __tls_get_addr_internal instead of __tls_get_offset in order to
21145 avoid GOT pointer dependency. Make rtld export
21146 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21147 __tls_get_addr since we are a __tls_get_offset platform.
21148 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21149 GOT pointer being set up before.
21150 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21151
211522013-11-28 Joseph Myers <joseph@codesourcery.com>
21153
21154 * manual/math.texi (Errors in Math Functions): Document accuracy
21155 goals.
21156
21157 [BZ #15004]
21158 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21159 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21164 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21174
21175 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21176 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21177 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21178 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21179 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21180 Likewise.
21181 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21182 Likewise.
21183 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21184 Likewise.
21185 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21186 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21187 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21188 atomic-feupdateenv and flt-rounds.
21189 * sysdeps/powerpc/nofpu/Versions (libc): Add
21190 __atomic_feholdexcept, __atomic_feclearexcept,
21191 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21192 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21193 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21194 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21195 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21196 here.
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21198 Update.
21199
21200 * manual/arith.texi (FP Exceptions): Document that exceptions may
21201 not be raised when matherr is used.
21202 (Math Error Reporting): Document overflow in directed rounding
21203 modes. Document that errno may not be set when finite values are
21204 returned on overflow. Document intent to set errno on underflow
21205 only for underflow to zero.
21206
21207 [BZ #16271]
21208 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21209 round-to-nearest then adjust result for other rounding modes.
21210 * include/fenv.h (fegetround): Use libm_hidden_proto.
21211 * math/fegetround.c (fegetround): Use libm_hidden_def.
21212 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21213 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21214 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21215 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21216 Likewise.
21217 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21218 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21219 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21220 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21221
212222013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21223
21224 [BZ #16077]
21225 * nss/Versions (libnss_files): Add
21226 _nss_files_gethostbyname3_r.
21227 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21228 New function.
21229 (HOST_DB_LOOKUP): Remove macro.
21230 (_nss_files_gethostbyname_r): Implement function without the
21231 HOST_DB_LOOKUP macro.
21232 (_nss_files_gethostbyname2_r): Likewise.
21233
212342013-11-28 Ondřej Bílka <neleai@seznam.cz>
21235
21236 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21237
212382013-11-26 Uros Bizjak <ubizjak@gmail.com>
21239
21240 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21241 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21242 warning.
21243
212442013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21245
21246 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21247 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21248 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21249 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21250 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21251 __fe_nomask_env_priv and attribute_hidden.
21252 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21253 (libc_feupdateenv_test_ppc): Likewise.
21254 (libc_feresetround_ppc): Likewise.
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21256 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21257 compat_symbol macro.
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21259 (__fe_nomask_env): Likewise.
21260 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21261
212622013-11-26 Ondřej Bílka <neleai@seznam.cz>
21263
21264 * string/Makefile: Remove ifunc tests.
21265 * string/test-string.h: Define TEST_IFUNC.
21266 * string/test-bcopy-ifunc.c: Remove.
21267 * string/test-bzero-ifunc.c: Likewise.
21268 * string/test-memccpy-ifunc.c: Likewise.
21269 * string/test-memchr-ifunc.c: Likewise.
21270 * string/test-memcmp-ifunc.c: Likewise.
21271 * string/test-memcpy-ifunc.c: Likewise.
21272 * string/test-memmem-ifunc.c: Likewise.
21273 * string/test-memmove-ifunc.c: Likewise.
21274 * string/test-mempcpy-ifunc.c: Likewise.
21275 * string/test-memrchr-ifunc.c: Likewise.
21276 * string/test-memset-ifunc.c: Likewise.
21277 * string/test-rawmemchr-ifunc.c: Likewise.
21278 * string/test-stpcpy-ifunc.c: Likewise.
21279 * string/test-stpncpy-ifunc.c: Likewise.
21280 * string/test-strcasecmp-ifunc.c: Likewise.
21281 * string/test-strcasestr-ifunc.c: Likewise.
21282 * string/test-strcat-ifunc.c: Likewise.
21283 * string/test-strchr-ifunc.c: Likewise.
21284 * string/test-strchrnul-ifunc.c: Likewise.
21285 * string/test-strcmp-ifunc.c: Likewise.
21286 * string/test-strcpy-ifunc.c: Likewise.
21287 * string/test-strcspn-ifunc.c: Likewise.
21288 * string/test-strlen-ifunc.c: Likewise.
21289 * string/test-strncasecmp-ifunc.c: Likewise.
21290 * string/test-strncat-ifunc.c: Likewise.
21291 * string/test-strncmp-ifunc.c: Likewise.
21292 * string/test-strncpy-ifunc.c: Likewise.
21293 * string/test-strnlen-ifunc.c: Likewise.
21294 * string/test-strpbrk-ifunc.c: Likewise.
21295 * string/test-strrchr-ifunc.c: Likewise.
21296 * string/test-strspn-ifunc.c: Likewise.
21297 * string/test-strstr-ifunc.c: Likewise.
21298
212992013-11-26 Ondřej Bílka <neleai@seznam.cz>
21300
21301 * benchtests/Makefile: Remove ifunc tests.
21302 * benchtests/bench-string.h: Define TEST_IFUNC.
21303 * benchtests/bench-bcopy-ifunc.c: Remove.
21304 * benchtests/bench-bzero-ifunc.c: Likewise.
21305 * benchtests/bench-memccpy-ifunc.c: Likewise.
21306 * benchtests/bench-memchr-ifunc.c: Likewise.
21307 * benchtests/bench-memcmp-ifunc.c: Likewise.
21308 * benchtests/bench-memcpy-ifunc.c: Likewise.
21309 * benchtests/bench-memmem-ifunc.c: Likewise.
21310 * benchtests/bench-memmove-ifunc.c: Likewise.
21311 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21312 * benchtests/bench-memrchr-ifunc.c: Likewise.
21313 * benchtests/bench-memset-ifunc.c: Likewise.
21314 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21315 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21316 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21317 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21318 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21319 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21320 * benchtests/bench-strcat-ifunc.c: Likewise.
21321 * benchtests/bench-strchr-ifunc.c: Likewise.
21322 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21323 * benchtests/bench-strcmp-ifunc.c: Likewise.
21324 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21325 * benchtests/bench-strcpy-ifunc.c: Likewise.
21326 * benchtests/bench-strcspn-ifunc.c: Likewise.
21327 * benchtests/bench-strlen-ifunc.c: Likewise.
21328 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21329 * benchtests/bench-strncat-ifunc.c: Likewise.
21330 * benchtests/bench-strncmp-ifunc.c: Likewise.
21331 * benchtests/bench-strncpy-ifunc.c: Likewise.
21332 * benchtests/bench-strnlen-ifunc.c: Likewise.
21333 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21334 * benchtests/bench-strrchr-ifunc.c: Likewise.
21335 * benchtests/bench-strsep-ifunc.c: Likewise.
21336 * benchtests/bench-strspn-ifunc.c: Likewise.
21337 * benchtests/bench-strstr-ifunc.c: Likewise.
21338
213392013-11-26 Ondřej Bílka <neleai@seznam.cz>
21340
21341 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21342
213432013-11-26 Ondřej Bílka <neleai@seznam.cz>
21344
21345 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21346 * rt/aio.h: Likewise.
21347 * sysdeps/gnu/bits/utmp.h: Likewise.
21348 * sysdeps/gnu/bits/utmpx.h: Likewise.
21349 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21350 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21351 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21352 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21353 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21354 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21355 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21356 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21357 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21358 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21359 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21360 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21361 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21363 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21364 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21365 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21366 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21367 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21368 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21369 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21370 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21371 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21372 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21373 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21375 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21376 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21377 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21378 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21379 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21380 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21381 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21382 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21383 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21384 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21385 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21386 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21388 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21389 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21390 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21391
213922013-11-25 Carlos O'Donell <carlos@redhat.com>
21393
21394 [BZ #16245]
21395 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21396 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21397
213982013-11-25 Joseph Myers <joseph@codesourcery.com>
21399
21400 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21401 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21402 Likewise.
21403
214042013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21405
21406 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21407 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21408 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21409 (__fesetround): Remove define.
21410 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21411 rounding and exceptions handling.
21412 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21413 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21414 (__fe_nomask_env): Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21416 __fegetround instead of fegetround.
21417 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21419
214202013-11-21 Roland McGrath <roland@hack.frob.com>
21421
21422 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21423 it's there.
21424
21425 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21426
214272013-11-21 Meador Inge <meadori@codesourcery.com>
21428
21429 [BZ #11157]
21430 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21431 (encrypt_r): Likewise.
21432 * malloc/obstack.h (obstack_free): Likewise.
21433 * posix/unistd.h (encrypt): Likewise.
21434
214352013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21436
21437 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21438 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21439 DL_CALL_DT_FINI() that call the functions directly.
21440 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21441 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21442 * elf/dl-fini.c: Likewise.
21443
214442013-11-20 Ondřej Bílka <neleai@seznam.cz>
21445
21446 * malloc/hooks.c (memalign_check): Add alignment rounding.
21447 * malloc/malloc.c (_mid_memalign): New function.
21448 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21449 Implement by calling _mid_memalign.
21450 * manual/probes.texi (Memory Allocation Probes): Remove
21451 memory_valloc_retry and memory_pvalloc_retry.
21452
214532013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21454
21455 * locale/programs/locarchive.c (open_archive): Add const
21456 qualifier to ARCHIVEFNAME and copy default fname to
21457 DEFAULT_FNAME.
21458
21459 [BZ #15601]
21460 * libio/tst-widetext.input: Rename Oriya to Odia.
21461 * locale/iso-639.def: Likewise.
21462
21463 * manual/probes.texi (Mathematical Function Probes): Add
21464 documentation for sin, cos, asin and acos probes.
21465 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21466 (__sin32): Add slowasin probe.
21467 (__cos32): Add slowacos probe.
21468 (__mpsin): Add slowsin probe.
21469 (__mpcos): Add slowcos probe.
21470
214712013-11-19 Joseph Myers <joseph@codesourcery.com>
21472
21473 [BZ #15483]
21474 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21475 thread-local __sim_exceptions_thread and global
21476 __sim_exceptions_global.
21477 (__sim_disabled_exceptions): Change to thread-local
21478 __sim_disabled_exceptions_thread and global
21479 __sim_disabled_exceptions_global.
21480 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21481 and global __sim_round_mode_global.
21482 (__simulate_exceptions): Use thread-local floating-point state and
21483 set global state from it as needed.
21484 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21485 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21486 __sim_round_mode_thread.
21487 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21488 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21489 and global __sim_exceptions_global.
21490 (__sim_disabled_exceptions): Change to thread-local
21491 __sim_disabled_exceptions_thread and global
21492 __sim_disabled_exceptions_global.
21493 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21494 and global __sim_round_mode_global.
21495 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21496 (SIM_SET_GLOBAL): Likewise.
21497 * sysdeps/powerpc/soft-fp/sfp-machine.h
21498 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21499 __sim_round_mode_thread.
21500 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21501 __sim_disabled_exceptions_thread.
21502 (__sim_exceptions): Change to __sim_exceptions_thread.
21503 (__sim_disabled_exceptions): Change to
21504 __sim_disabled_exceptions_thread.
21505 (__sim_round_mode): Change to __sim_round_mode_thread.
21506 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21507 thread-local floating-point state and set global state from it as
21508 needed.
21509 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21510 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21511 (__sim_disabled_exceptions): Remove extern declaration.
21512 (feenableexcept): Use thread-local floating-point state and set
21513 global state from it as needed.
21514 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21515 extern declaration.
21516 (__sim_disabled_exceptions): Likewise.
21517 (__sim_round_mode): Likewise.
21518 (__fegetenv): Use thread-local floating-point state.
21519 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21520 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21521 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21522 floating-point state and set global state from it as needed.
21523 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21524 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21525 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21526 Likewise.
21527 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21528 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21529 Likewise.
21530 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21531 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21532 Use __sim_round_mode_thread.
21533 * math/test-fenv-tls.c: New file.
21534 * math/Makefile (tests): Add test-fenv-tls.
21535 ($(objpfx)test-fenv-tls): Depend on
21536 $(common-objpfx)nptl/libpthread.so.
21537
215382013-11-19 Andreas Schwab <schwab@suse.de>
21539
21540 * locale/programs/locale.c (show_info): Decode wordarray elements.
21541 * locale/categories.def (LC_MONETARY): Add element for
21542 _NL_MONETARY_CRNCYSTR.
21543 * locale/C-monetary.c (conversion_rate): New variable.
21544 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21545 element.
21546
215472013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21548
21549 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21550 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21551
215522013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21553
21554 * elf/Makefile (tst-auxv): New test.
21555 * elf/tst-auxv.c: New
21556 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21557
215582013-11-18 Joseph Myers <joseph@codesourcery.com>
21559
21560 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21561 (hidden_proto): Caller changed.
21562 (hidden_tls_proto): New macro.
21563 (libc_hidden_tls_proto): Likewise.
21564 (rtld_hidden_tls_proto): Likewise.
21565 (libm_hidden_tls_proto): Likewise.
21566 (libresolv_hidden_tls_proto): Likewise.
21567 (librt_hidden_tls_proto): Likewise.
21568 (libdl_hidden_tls_proto): Likewise.
21569 (libnss_files_hidden_tls_proto): Likewise.
21570 (libnsl_hidden_tls_proto): Likewise.
21571 (libnss_nisplus_hidden_tls_proto): Likewise.
21572 (libutil_hidden_tls_proto): Likewise.
21573
215742013-11-18 Ondřej Bílka <neleai@seznam.cz>
21575
21576 [BZ #10253]
21577 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21578 (decompose_rpath): Defer expansion to fillin_rpath.
21579 (_dl_init_paths): Pass linkmap to fillin_rpath.
21580
215812013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21582
21583 * benchtests/Makefile: Add strsep.
21584 * benchtests/bench-strsep.c: New file: strsep benchtest.
21585 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21586
215872013-11-18 Andreas Schwab <schwab@suse.de>
21588
21589 * locale/programs/locale.c (show_info) [case byte]: Check for
21590 '\377' instead of '\177'.
21591 * locale/C-monetary.c (not_available): Always use "\377".
21592 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21593 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21594 detect unavailable sign_posn locale elements.
21595 * locale/localeconv.c (__localeconv): For grouping and
21596 mon_grouping handle "\177" and "\377" like no grouping.
21597 (INT_ELEM): New macro. Use it to set all numeric members.
21598 * locale/programs/ld-monetary.c (monetary_read)
21599 <tok_mon_grouping>: Normalize single -1 to the empty string.
21600 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21601 Likewise.
21602
216032013-11-07 Ondřej Bílka <neleai@seznam.cz>
21604
21605 [BZ #16055]
21606 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21607 when we match (nil).
21608 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21609
216102013-11-16 Joseph Myers <joseph@codesourcery.com>
21611
21612 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21613 (NO_TEST_INLINE): Update value.
21614 (ERRNO_UNCHANGED): Likewise.
21615 (ERRNO_EDOM): Likewise.
21616 (ERRNO_ERANGE): Likewise.
21617 (IGNORE_RESULT): Likewise.
21618 (check_float_internal): Check signs of NaN results if
21619 TEST_NAN_SIGN used.
21620 (check_complex): Pass TEST_NAN_SIGN flag through to second
21621 check_float_internal call.
21622 (copysign_test_data): Add tests with quiet NaNs as second
21623 argument. Use TEST_NAN_SIGN.
21624 (fabs_test_data): Add test of negative quiet NaN argument. Use
21625 TEST_NAN_SIGN.
21626 (signbit_test_data): Add tests of quiet NaN argument.
21627 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21628
21629 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21630 $ignore_result.
21631 (parse_args): Handle function results specified as IGNORE.
21632 * math/libm-test.inc (IGNORE_RESULT): New macro.
21633 (check_float_internal): Do not check numerical result if flag
21634 IGNORE_RESULT set.
21635 (check_complex): Pass through IGNORE_RESULT to second
21636 check_float_internal call.
21637 (check_int): Do not check numerical result if flag IGNORE_RESULT
21638 set.
21639 (check_long): Likewise.
21640 (check_bool): Likewise.
21641 (check_longlong): Likewise.
21642 (lrint_test_data): Add tests of infinite and NaN arguments.
21643 (lrint_tonearest_test_data): Likewise.
21644 (lrint_towardzero_test_data): Likewise.
21645 (lrint_downward_test_data): Likewise.
21646 (lrint_upward_test_data): Likewise.
21647 (llrint_test_data): Likewise.
21648 (llrint_tonearest_test_data): Likewise.
21649 (llrint_towardzero_test_data): Likewise.
21650 (llrint_downward_test_data): Likewise.
21651 (llrint_upward_test_data): Likewise.
21652 (lround_test_data): Likewise.
21653 (llround_test_data): Likewise.
21654
21655 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21656 (ERRNO_UNCHANGED): Update value.
21657 (ERRNO_EDOM): Likewise.
21658 (ERRNO_ERANGE): Likewise.
21659 (NO_TEST_INLINE_FLOAT): New macro.
21660 (NO_TEST_INLINE_DOUBLE): Likewise.
21661 (enable_test): New function.
21662 (RUN_TEST_f_f): Check enable_test before running test.
21663 (RUN_TEST_2_f): Likewise.
21664 (RUN_TEST_fff_f): Likewise.
21665 (RUN_TEST_c_f): Likewise.
21666 (RUN_TEST_f_f1): Likewise.
21667 (RUN_TEST_fF_f1): Likewise.
21668 (RUN_TEST_fI_f1): Likewise.
21669 (RUN_TEST_ffI_f1): Likewise.
21670 (RUN_TEST_c_c): Likewise.
21671 (RUN_TEST_cc_c): Likewise.
21672 (RUN_TEST_f_i): Likewise.
21673 (RUN_TEST_f_i_tg): Likewise.
21674 (RUN_TEST_ff_i_tg): Likewise.
21675 (RUN_TEST_f_b): Likewise.
21676 (RUN_TEST_f_b_tg): Likewise.
21677 (RUN_TEST_f_l): Likewise.
21678 (RUN_TEST_f_L): Likewise.
21679 (RUN_TEST_fFF_11): Likewise.
21680 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21681 conditionals.
21682 (cosh_test_data): Likewise.
21683 (exp_test_data): Likewise.
21684 (expm1_test_data): Likewise.
21685 (hypot_test_data): Likewise.
21686 (pow_test_data): Likewise.
21687 (sinh_test_data): Likewise.
21688 (tanh_test_data): Likewise.
21689 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21690 flags argument.
21691
21692 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21693 tests with quiet NaN input and output.
21694 (acosh_test_data): Likewise.
21695 (asin_test_data): Likewise.
21696 (asinh_test_data): Likewise.
21697 (atan_test_data): Likewise.
21698 (atanh_test_data): Likewise.
21699 (atan2_test_data): Likewise.
21700 (cbrt_test_data): Likewise.
21701 (cos_test_data): Likewise.
21702 (cosh_test_data): Likewise.
21703 (erf_test_data): Likewise.
21704 (erfc_test_data): Likewise.
21705 (exp_test_data): Likewise.
21706 (exp10_test_data): Likewise.
21707 (exp2_test_data): Likewise.
21708 (expm1_test_data): Likewise.
21709 (hypot_test_data): Likewise.
21710 (j0_test_data): Likewise.
21711 (j1_test_data): Likewise.
21712 (jn_test_data): Likewise.
21713 (lgamma_test_data): Likewise.
21714 (log_test_data): Likewise.
21715 (log10_test_data): Likewise.
21716 (log1p_test_data): Likewise.
21717 (log2_test_data): Likewise.
21718 (pow_test_data): Likewise.
21719 (scalb_test_data): Likewise.
21720 (sin_test_data): Likewise.
21721 (sincos_test_data): Likewise.
21722 (sinh_test_data): Likewise.
21723 (tan_test_data): Likewise.
21724 (tanh_test_data): Likewise.
21725 (tgamma_test_data): Likewise.
21726 (y0_test_data): Likewise.
21727 (y1_test_data): Likewise.
21728 (yn_test_data): Likewise.
21729
21730 [BZ #16167]
21731 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21732 argument being NaN and avoid computations with second argument in
21733 that case.
21734 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21735 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21736 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21737
217382013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21739
21740 * locale/iso-639.def: Add Chitwani Tharu (the).
21741
217422013-11-14 Andreas Schwab <schwab@suse.de>
21743
21744 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21745 word instead of empty string.
21746
217472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21748
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21750 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21752 (__fe_nomask_env): Likewise.
21753
217542013-11-13 Steve Ellcey <sellcey@mips.com>
21755
21756 * benchtests/bench-timing.h: Include time.h.
21757
217582013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21759
21760 [BZ #15997]
21761 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21762 to 3.4.0 for x32.
21763 * sysdeps/unix/sysv/linux/configure: Regenerated.
21764
217652013-11-13 Joseph Myers <joseph@codesourcery.com>
21766
21767 [BZ #16151]
21768 * stdlib/strtod_l.c (round_and_return): Do not consider
21769 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21770 exponent one less than half the least subnormal exponent.
21771 * stdlib/test-strtod-round-data: Add more tests.
21772 * stdlib/tst-strtod-round.c (tests): Regenerated.
21773
217742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21775
21776 [BZ #14143]
21777 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21778 (__fe_mask_env): Likewise.
21779 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21780 libm_hidden_proto and add function prototype.
21781 (__fe_mask_env): Add function prototype.
21782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21783 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21785 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21787 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21788
217892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21790
21791 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21792 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21793
217942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21795
21796 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21797 of htab_find_slot().
21798
217992013-11-11 David S. Miller <davem@davemloft.net>
21800
21801 [BZ #16150]
21802 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21803 symbol in the non-vis3 case in static builds.
21804 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21805 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21806 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21807 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21808
218092013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21810
21811 [BZ #387]
21812 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21813 it is empty.
21814
218152013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21816
21817 * benchtests/Makefile: Add bench-strtod.
21818 * benchtests/bench-strtod.c: New file: strtod benchtest
21819
218202013-11-11 Andreas Schwab <schwab@suse.de>
21821
21822 [BZ #16153]
21823 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21824 terminating NUL in key length.
21825
218262013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21827
21828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21829 Add artificial ODP entry for vDSO symbol for PPC64.
21830 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21831 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21832
218332013-11-07 Ondřej Bílka <neleai@seznam.cz>
21834
21835 [BZ #15374]
21836 * nss/getent.c (services_keys): Recognize services starting with digit.
21837
218382013-11-06 David S. Miller <davem@davemloft.net>
21839
21840 [BZ #15985]
21841 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21842 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21843
218442013-11-06 Will Newton <will.newton@linaro.org>
21845
21846 * manual/memory.texi (Malloc Examples): Remove register
21847 keyword from examples.
21848
218492013-11-04 Chris Leonard <cjl@sugarlabs.org>
21850
21851 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21852
218532013-11-04 Joseph Myers <joseph@codesourcery.com>
21854
21855 [BZ #6981]
21856 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21857 depending on [__GCC_IEC_559 > 0].
21858 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21859 depending on [__GCC_IEC_559_COMPLEX > 0].
21860
218612013-11-03 Chris Leonard <cjl@sugarlabs.org>
21862
21863 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21864 to iso-639.def.
21865
218662013-11-03 Ondřej Bílka <neleai@seznam.cz>
21867
21868 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21869
218702013-11-01 Ondřej Bílka <neleai@seznam.cz>
21871
21872 [BZ #16112]
21873 * malloc/malloc (malloc_info): Do not handle first bin as
21874 special case.
21875
218762013-11-01 Chris Leonard <cjl@sugarlabs.org>
21877
21878 * locale/iso-639.def: Add Central Nahuatl (nhn).
21879
218802013-11-01 Bruno Haible <bruno@clisp.org>
21881
21882 [BZ #7003]
21883 * manual/math.texi (BSD Random): Specify range upper bound as
21884 in POSIX.
21885
218862013-10-31 Chris Leonard <cjl@sugarlabs.org>
21887
21888 * locale/iso-639.def: Add Meadow Mari (mhr).
21889
218902013-10-31 Ondřej Bílka <neleai@seznam.cz>
21891
21892 [BZ #14752], [BZ #15763]
21893 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21894 Validate name.
21895 * rt/tst_shm.c: Add test for escaping directory.
21896
218972013-10-31 Andreas Schwab <schwab@suse.de>
21898
21899 [BZ #15917]
21900 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21901 followed by 'x' as part of digit sequence.
21902 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21903
219042013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21905
21906 [BZ #16037]
21907 * configure.ac: allow GNU Make 4.0 and greater.
21908 * configure: Regenerated.
21909
219102013-10-30 Will Newton <will.newton@linaro.org>
21911
21912 [BZ #16038]
21913 * malloc/hooks.c (memalign_check): Limit alignment to the
21914 maximum representable power of two.
21915 * malloc/malloc.c (__libc_memalign): Likewise.
21916 * malloc/tst-memalign.c (do_test): Add test for very
21917 large alignment values.
21918 * malloc/tst-posix_memalign.c (do_test): Likewise.
21919
219202013-10-30 Ondřej Bílka <neleai@seznam.cz>
21921
21922 [BZ #11087]
21923 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21924 (munmap_chunk): Likewise.
21925 (mremap_chunk): Likewise.
21926
219272013-10-30 Ondřej Bílka <neleai@seznam.cz>
21928
21929 [BZ #15799]
21930 * stdlib/div.c (div): Remove obsolete code.
21931 * stdlib/ldiv.c (ldiv): Likewise.
21932 * stdlib/lldiv.c (lldiv): Likewise.
21933
219342013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21935
21936 [BZ #16071]
21937 * nss/nss_files/files-XXX.c (get_contents_ret): New
21938 enumerator.
21939 (get_contents): New function.
21940 (internal_getent): Use it. Expand size of LINEBUFLEN.
21941
219422013-10-30 Mike Frysinger <vapier@gentoo.org>
21943
21944 * configure.in: Moved to ...
21945 * configure.ac: ... here. Change reference to configure.in
21946 to configure.ac.
21947 * sysdeps/arm/preconfigure.ac: ... here.
21948 configure.in to configure.ac.
21949 * sysdeps/gnu/configure.in: Moved to ...
21950 * sysdeps/gnu/configure.ac: ... here.
21951 * sysdeps/i386/configure.in: Moved to ...
21952 * sysdeps/i386/configure.ac: ... here.
21953 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21954 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21955 * sysdeps/mach/configure.in: Moved to ...
21956 * sysdeps/mach/configure.ac: ... here.
21957 * sysdeps/mach/hurd/configure.in: Moved to ...
21958 * sysdeps/mach/hurd/configure.ac: ... here.
21959 * sysdeps/powerpc/configure.in: Moved to ...
21960 * sysdeps/powerpc/configure.ac: ... here.
21961 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21962 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21963 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21964 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21965 * sysdeps/s390/s390-32/configure.in: Moved to ...
21966 * sysdeps/s390/s390-32/configure.ac: ... here.
21967 * sysdeps/s390/s390-64/configure.in: Moved to ...
21968 * sysdeps/s390/s390-64/configure.ac: ... here.
21969 * sysdeps/sh/configure.in: Moved to ...
21970 * sysdeps/sh/configure.ac: ... here.
21971 * sysdeps/sparc/configure.in: Moved to ...
21972 * sysdeps/sparc/configure.ac: ... here.
21973 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21974 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21975 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21976 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21977 * sysdeps/x86_64/configure.in: Moved to ...
21978 * sysdeps/x86_64/configure.ac: ... here.
21979 * sysdeps/x86_64/preconfigure.in: Moved to ...
21980 * sysdeps/x86_64/preconfigure.ac: ... here.
21981 * aclocal.m4: Change reference to configure.in to configure.ac.
21982 * config.h.in: Likewise.
21983 * manual/install.texi: Likewise.
21984 * manual/maint.texi: Likewise.
21985 * Makefile: Likewise.
21986 * malloc/Makefile: Likewise.
21987 * nscd/Makefile: Likewise.
21988 * Makeconfig: Change reference to configure.in and
21989 preconfigure.in to configure.ac and preconfigure.ac
21990 respectively.
21991 * INSTALL: Regenerated.
21992 * configure: Likewise.
21993 * sysdeps/gnu/configure: Likewise.
21994 * sysdeps/i386/configure: Likewise.
21995 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21996 * sysdeps/mach/configure: Likewise.
21997 * sysdeps/mach/hurd/configure: Likewise.
21998 * sysdeps/powerpc/configure: Likewise.
21999 * sysdeps/powerpc/powerpc32/configure: Likewise.
22000 * sysdeps/powerpc/powerpc64/configure: Likewise.
22001 * sysdeps/s390/s390-32/configure: Likewise.
22002 * sysdeps/s390/s390-64/configure: Likewise.
22003 * sysdeps/sh/configure: Likewise.
22004 * sysdeps/sparc/configure: Likewise.
22005 * sysdeps/unix/sysv/linux/configure: Likewise.
22006 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22007 * sysdeps/x86_64/configure: Likewise.
22008 * sysdeps/x86_64/preconfigure: Likewise.
22009
220102013-10-29 Andreas Schwab <schwab@suse.de>
22011
22012 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22013
220142013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22015
22016 * benchtests/pow-inputs: Add new inputs.
22017
22018 * benchtests/exp-inputs: Add new inputs.
22019
22020 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22021 conditional check for return value.
22022 (__cos32): Likewise.
22023
220242013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22025
22026 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22027 to provide a boost for large inputs with word alignment.
22028 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22029 implementation based on optimized PPC64 strcpy.
22030 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22031 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22032 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22033 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22034
220352013-10-25 Ondřej Bílka <neleai@seznam.cz>
22036
22037 [BZ #2801]
22038 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22039
220402013-10-25 Ondřej Bílka <neleai@seznam.cz>
22041
22042 [BZ #14876]
22043 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22044 * time/tst-strptime.c (day_tests): Add testcase.
22045
220462013-10-25 Ondřej Bílka <neleai@seznam.cz>
22047
22048 [BZ #14029]
22049 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22050
220512013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22052
22053 [BZ #16074]
22054 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22055 MAP_FAILED on error.
22056
220572013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22058
22059 [BZ #16072]
22060 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22061 heap for large requests.
22062
220632013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22064
22065 [BZ #9954]
22066 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22067 result if the result has no associated interface.
22068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22069 interface for all 127.X.Y.Z addresses.
22070
220712013-10-24 Chris Leonard <cjl@sugarlabs.org>
22072
22073 * locale/iso-639.def: Add Ligurian (lij)
22074
220752013-10-21 Ondřej Bílka <neleai@seznam.cz>
22076
22077 [BZ #15825]
22078 * sunrpc/rpc_main.c: Document rpcgen -5.
22079
220802013-10-19 Michael Stahl <mstahl@redhat.com>
22081
22082 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22083
220842013-10-19 Ondřej Bílka <neleai@seznam.cz>
22085
22086 [BZ #10278]
22087 * posix/glob.c: Match only directories when trailing slash is present.
22088 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22089 (main): Add testcase.
22090
220912013-10-19 Ondřej Bílka <neleai@seznam.cz>
22092
22093 [BZ #15670]
22094 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22095
220962013-10-18 Carlos O'Donell <carlos@redhat.com>
22097
22098 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22099 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22100 AUTH_DES and cindex for FIPS 140-2.
22101 (DES Encryption): Add cindex FIPS 46-3.
22102
22103 * locale/locarchive.h (struct locarhandle): Add fname.
22104 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22105 if an optional argument was specified to --list-archive,
22106 otherwise NULL.
22107 * locale/programs/locarchive.c (show_archive_content): Take new
22108 argument fname and pass it via ah.fname to open_archive.
22109 * locale/programs/localedef.h: Update decl.
22110 (open_archive): If AH->fname is non-null, open that file
22111 rather than the default file name, and don't ignore ENOENT.
22112 (create_archive): Set AH.fname to NULL.
22113 (delete_locales_from_archive): Likewise.
22114 (add_locales_to_archive): Likewise.
22115 * locale/programs/locfile.c (write_all_categories): Likewise.
22116
221172013-10-18 Joseph Myers <joseph@codesourcery.com>
22118 Aldy Hernandez <aldyh@redhat.com>
22119
22120 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22121 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22122 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22123 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22124 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22125 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22126 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22127 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22128 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22129 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22131 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22132 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22133 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22134 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22135 Likewise.
22136 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22137 Likewise.
22138 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22139 Likewise.
22140 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22141 Likewise.
22142 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22143 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22144 Likewise.
22145 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22146 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22147 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22148 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22149 Likewise.
22150 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22151 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22152 * sysdeps/powerpc/preconfigure: Likewise.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22154 Likewise.
22155 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22156 Replace contents of file by #include of <fenv_libc.h>.
22157 * sysdeps/powerpc/soft-fp/sfp-machine.h
22158 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22159 and <sys/prctl.h>.
22160 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22162 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22164 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22167 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22170 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22173 Allow copysignl PLT reference to be missing.
22174
221752013-10-18 Richard Sandiford <richard@codesourcery.com>
22176 Joseph Myers <joseph@codesourcery.com
22177
22178 [BZ #15948]
22179 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22180 single character.
22181 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22182
221832013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22184
22185 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22186 * elf/tst-tls1.c: Likewise.
22187 * elf/tst-tls10.h: Likewise.
22188 * elf/tst-tls14.c: Likewise.
22189 * elf/tst-tls2.c: Likewise.
22190 * elf/tst-tls3.c: Likewise.
22191 * elf/tst-tls4.c: Likewise.
22192 * elf/tst-tls5.c: Likewise.
22193 * elf/tst-tls6.c: Likewise.
22194 * elf/tst-tls7.c: Likewise.
22195 * elf/tst-tls8.c: Likewise.
22196 * elf/tst-tls9.c: Likewise.
22197 * elf/tst-tlsmod1.c: Likewise.
22198 * elf/tst-tlsmod13.c: Likewise.
22199 * elf/tst-tlsmod13a.c: Likewise.
22200 * elf/tst-tlsmod14a.c: Likewise.
22201 * elf/tst-tlsmod16a.c: Likewise.
22202 * elf/tst-tlsmod16b.c: Likewise.
22203 * elf/tst-tlsmod2.c: Likewise.
22204 * elf/tst-tlsmod3.c: Likewise.
22205 * elf/tst-tlsmod4.c: Likewise.
22206 * elf/tst-tlsmod5.c: Likewise.
22207 * elf/tst-tlsmod6.c: Likewise.
22208
222092013-10-18 Ondřej Bílka <neleai@seznam.cz>
22210
22211 [BZ #12486]
22212 * malloc/malloc.c: remove checks for statistics.
22213
222142013-10-17 Ondřej Bílka <neleai@seznam.cz>
22215
22216 [BZ #15277]
22217 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22218 * inet/tst-network.c: Add testcase.
22219
222202013-10-17 Andreas Schwab <schwab@suse.de>
22221
22222 [BZ #15218]
22223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22224 to determine canonical name.
22225
222262013-10-17 Ondřej Bílka <neleai@seznam.cz>
22227
22228 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22229 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22231 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22233 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22235 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22236 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22237 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22238 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22240 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22252 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22253 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22254 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22255 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22256 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22257 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22258 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22259 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22260 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22261 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22262 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22263 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22264 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22265 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22266 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22268 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22270 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22271 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22272 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22274 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22283 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22285 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22286
222872013-10-17 Joseph Myers <joseph@codesourcery.com>
22288
22289 [BZ #16041]
22290 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22291 make result into a quiet NaN.
22292
222932013-10-16 Joseph Myers <joseph@codesourcery.com>
22294
22295 * soft-fp/adddf3.c: Fix horizontal whitespace.
22296 * soft-fp/addsf3.c: Likewise.
22297 * soft-fp/addtf3.c: Likewise.
22298 * soft-fp/divdf3.c: Likewise.
22299 * soft-fp/divsf3.c: Likewise.
22300 * soft-fp/divtf3.c: Likewise.
22301 * soft-fp/double.h: Likewise.
22302 * soft-fp/eqdf2.c: Likewise.
22303 * soft-fp/eqsf2.c: Likewise.
22304 * soft-fp/eqtf2.c: Likewise.
22305 * soft-fp/extenddftf2.c: Likewise.
22306 * soft-fp/extended.h: Likewise.
22307 * soft-fp/extendsfdf2.c: Likewise.
22308 * soft-fp/extendsftf2.c: Likewise.
22309 * soft-fp/extendxftf2.c: Likewise.
22310 * soft-fp/fixdfdi.c: Likewise.
22311 * soft-fp/fixdfsi.c: Likewise.
22312 * soft-fp/fixdfti.c: Likewise.
22313 * soft-fp/fixsfdi.c: Likewise.
22314 * soft-fp/fixsfsi.c: Likewise.
22315 * soft-fp/fixsfti.c: Likewise.
22316 * soft-fp/fixtfdi.c: Likewise.
22317 * soft-fp/fixtfsi.c: Likewise.
22318 * soft-fp/fixtfti.c: Likewise.
22319 * soft-fp/fixunsdfdi.c: Likewise.
22320 * soft-fp/fixunsdfsi.c: Likewise.
22321 * soft-fp/fixunsdfti.c: Likewise.
22322 * soft-fp/fixunssfdi.c: Likewise.
22323 * soft-fp/fixunssfsi.c: Likewise.
22324 * soft-fp/fixunssfti.c: Likewise.
22325 * soft-fp/fixunstfdi.c: Likewise.
22326 * soft-fp/fixunstfsi.c: Likewise.
22327 * soft-fp/fixunstfti.c: Likewise.
22328 * soft-fp/floatdidf.c: Likewise.
22329 * soft-fp/floatdisf.c: Likewise.
22330 * soft-fp/floatditf.c: Likewise.
22331 * soft-fp/floatsidf.c: Likewise.
22332 * soft-fp/floatsisf.c: Likewise.
22333 * soft-fp/floatsitf.c: Likewise.
22334 * soft-fp/floattidf.c: Likewise.
22335 * soft-fp/floattisf.c: Likewise.
22336 * soft-fp/floattitf.c: Likewise.
22337 * soft-fp/floatundidf.c: Likewise.
22338 * soft-fp/floatundisf.c: Likewise.
22339 * soft-fp/floatunditf.c: Likewise.
22340 * soft-fp/floatunsidf.c: Likewise.
22341 * soft-fp/floatunsisf.c: Likewise.
22342 * soft-fp/floatunsitf.c: Likewise.
22343 * soft-fp/floatuntidf.c: Likewise.
22344 * soft-fp/floatuntisf.c: Likewise.
22345 * soft-fp/floatuntitf.c: Likewise.
22346 * soft-fp/fmadf4.c: Likewise.
22347 * soft-fp/fmasf4.c: Likewise.
22348 * soft-fp/fmatf4.c: Likewise.
22349 * soft-fp/gedf2.c: Likewise.
22350 * soft-fp/gesf2.c: Likewise.
22351 * soft-fp/getf2.c: Likewise.
22352 * soft-fp/ledf2.c: Likewise.
22353 * soft-fp/lesf2.c: Likewise.
22354 * soft-fp/letf2.c: Likewise.
22355 * soft-fp/muldf3.c: Likewise.
22356 * soft-fp/mulsf3.c: Likewise.
22357 * soft-fp/multf3.c: Likewise.
22358 * soft-fp/negdf2.c: Likewise.
22359 * soft-fp/negsf2.c: Likewise.
22360 * soft-fp/negtf2.c: Likewise.
22361 * soft-fp/op-1.h: Likewise.
22362 * soft-fp/op-2.h: Likewise.
22363 * soft-fp/op-4.h: Likewise.
22364 * soft-fp/op-8.h: Likewise.
22365 * soft-fp/op-common.h: Likewise.
22366 * soft-fp/quad.h: Likewise.
22367 * soft-fp/single.h: Likewise.
22368 * soft-fp/soft-fp.h: Likewise.
22369 * soft-fp/sqrtdf2.c: Likewise.
22370 * soft-fp/sqrtsf2.c: Likewise.
22371 * soft-fp/sqrttf2.c: Likewise.
22372 * soft-fp/subdf3.c: Likewise.
22373 * soft-fp/subsf3.c: Likewise.
22374 * soft-fp/subtf3.c: Likewise.
22375 * soft-fp/truncdfsf2.c: Likewise.
22376 * soft-fp/trunctfdf2.c: Likewise.
22377 * soft-fp/trunctfsf2.c: Likewise.
22378 * soft-fp/trunctfxf2.c: Likewise.
22379 * soft-fp/unorddf2.c: Likewise.
22380 * soft-fp/unordsf2.c: Likewise.
22381 * soft-fp/unordtf2.c: Likewise.
22382
223832013-10-15 Joseph Myers <joseph@codesourcery.com>
22384
22385 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22386 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22387
223882013-10-15 Ondřej Bílka <neleai@seznam.cz>
22389
22390 * elf/dl-libc.c: Clear initfini list after freeing.
22391
223922013-10-14 Joseph Myers <joseph@codesourcery.com>
22393
22394 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22395 * soft-fp/addsf3.c: Likewise.
22396 * soft-fp/addtf3.c: Likewise.
22397 * soft-fp/divdf3.c: Likewise.
22398 * soft-fp/divsf3.c: Likewise.
22399 * soft-fp/divtf3.c: Likewise.
22400 * soft-fp/double.h: Likewise.
22401 * soft-fp/eqdf2.c: Likewise.
22402 * soft-fp/eqsf2.c: Likewise.
22403 * soft-fp/eqtf2.c: Likewise.
22404 * soft-fp/extenddftf2.c: Likewise.
22405 * soft-fp/extended.h: Likewise.
22406 * soft-fp/extendsfdf2.c: Likewise.
22407 * soft-fp/extendsftf2.c: Likewise.
22408 * soft-fp/extendxftf2.c: Likewise.
22409 * soft-fp/fixdfdi.c: Likewise.
22410 * soft-fp/fixdfsi.c: Likewise.
22411 * soft-fp/fixdfti.c: Likewise.
22412 * soft-fp/fixsfdi.c: Likewise.
22413 * soft-fp/fixsfsi.c: Likewise.
22414 * soft-fp/fixsfti.c: Likewise.
22415 * soft-fp/fixtfdi.c: Likewise.
22416 * soft-fp/fixtfsi.c: Likewise.
22417 * soft-fp/fixtfti.c: Likewise.
22418 * soft-fp/fixunsdfdi.c: Likewise.
22419 * soft-fp/fixunsdfsi.c: Likewise.
22420 * soft-fp/fixunsdfti.c: Likewise.
22421 * soft-fp/fixunssfdi.c: Likewise.
22422 * soft-fp/fixunssfsi.c: Likewise.
22423 * soft-fp/fixunssfti.c: Likewise.
22424 * soft-fp/fixunstfdi.c: Likewise.
22425 * soft-fp/fixunstfsi.c: Likewise.
22426 * soft-fp/fixunstfti.c: Likewise.
22427 * soft-fp/floatdidf.c: Likewise.
22428 * soft-fp/floatdisf.c: Likewise.
22429 * soft-fp/floatditf.c: Likewise.
22430 * soft-fp/floatsidf.c: Likewise.
22431 * soft-fp/floatsisf.c: Likewise.
22432 * soft-fp/floatsitf.c: Likewise.
22433 * soft-fp/floattidf.c: Likewise.
22434 * soft-fp/floattisf.c: Likewise.
22435 * soft-fp/floattitf.c: Likewise.
22436 * soft-fp/floatundidf.c: Likewise.
22437 * soft-fp/floatundisf.c: Likewise.
22438 * soft-fp/floatunsidf.c: Likewise.
22439 * soft-fp/floatunsisf.c: Likewise.
22440 * soft-fp/floatuntidf.c: Likewise.
22441 * soft-fp/floatuntisf.c: Likewise.
22442 * soft-fp/floatuntitf.c: Likewise.
22443 * soft-fp/fmadf4.c: Likewise.
22444 * soft-fp/fmasf4.c: Likewise.
22445 * soft-fp/fmatf4.c: Likewise.
22446 * soft-fp/gedf2.c: Likewise.
22447 * soft-fp/gesf2.c: Likewise.
22448 * soft-fp/getf2.c: Likewise.
22449 * soft-fp/ledf2.c: Likewise.
22450 * soft-fp/lesf2.c: Likewise.
22451 * soft-fp/letf2.c: Likewise.
22452 * soft-fp/muldf3.c: Likewise.
22453 * soft-fp/mulsf3.c: Likewise.
22454 * soft-fp/multf3.c: Likewise.
22455 * soft-fp/negdf2.c: Likewise.
22456 * soft-fp/negsf2.c: Likewise.
22457 * soft-fp/negtf2.c: Likewise.
22458 * soft-fp/op-1.h: Likewise.
22459 * soft-fp/op-2.h: Likewise.
22460 * soft-fp/op-4.h: Likewise.
22461 * soft-fp/op-8.h: Likewise.
22462 * soft-fp/op-common.h: Likewise.
22463 * soft-fp/quad.h: Likewise.
22464 * soft-fp/single.h: Likewise.
22465 * soft-fp/soft-fp.h: Likewise.
22466 * soft-fp/sqrtdf2.c: Likewise.
22467 * soft-fp/sqrtsf2.c: Likewise.
22468 * soft-fp/sqrttf2.c: Likewise.
22469 * soft-fp/subdf3.c: Likewise.
22470 * soft-fp/subsf3.c: Likewise.
22471 * soft-fp/subtf3.c: Likewise.
22472 * soft-fp/truncdfsf2.c: Likewise.
22473 * soft-fp/trunctfdf2.c: Likewise.
22474 * soft-fp/trunctfsf2.c: Likewise.
22475 * soft-fp/trunctfxf2.c: Likewise.
22476 * soft-fp/unorddf2.c: Likewise.
22477 * soft-fp/unordsf2.c: Likewise.
22478 * soft-fp/unordtf2.c: Likewise.
22479
224802013-10-14 Ondřej Bílka <neleai@seznam.cz>
22481
22482 [BZ #15672]
22483 * misc/error.c (error_tail): Fix possible buffer overflow.
22484
224852013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22486
22487 [BZ #13028]
22488 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22489 address.
22490
224912013-10-14 P. J. McDermott <pj@pehjota.net>
22492
22493 [BZ #832]
22494 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22495 testing pipefail option.
22496
224972013-10-12 Joseph Myers <joseph@codesourcery.com>
22498
22499 * soft-fp/double.h: Indent preprocessor directives inside #if.
22500 * soft-fp/extended.h: Likewise.
22501 * soft-fp/op-2.h: Likewise.
22502 * soft-fp/op-4.h: Likewise.
22503 * soft-fp/op-common.h: Likewise.
22504 * soft-fp/quad.h: Likewise.
22505 * soft-fp/single.h: Likewise.
22506 * soft-fp/soft-fp.h: Likewise.
22507
225082013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22509
22510 * iconv/iconv_prog.c: Fix typos.
22511 * stdio-common/psiginfo-data.h: Likewise.
22512
225132013-10-12 Reuben Thomas <rrt@sc3d.org>
22514
22515 [BZ #15764]
22516 * locale/setlocale.c: Fix typo.
22517
225182013-10-12 Joseph Myers <joseph@codesourcery.com>
22519
22520 [BZ #16036]
22521 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22522 signaling NaN arguments.
22523 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22524 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22525
22526 [BZ #14910]
22527 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22528 unordered operands.
22529 * soft-fp/gesf2.c (__gesf2): Likewise.
22530 * soft-fp/getf2.c (__getf2): Likewise.
22531 * soft-fp/ledf2.c (__ledf2): Likewise.
22532 * soft-fp/lesf2.c (__lesf2): Likewise.
22533 * soft-fp/letf2.c (__letf2): Likewise.
22534
22535 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22536 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22537 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22538 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22539 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22540 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22541 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22542 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22543 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22544 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22545 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22546 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22547 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22548 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22549 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22550 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22551 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22552 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22553 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22554 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22555 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22556 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22557 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22558 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22559 * soft-fp/floattidf.c (__floattidf): Likewise.
22560 * soft-fp/floattisf.c (__floattisf): Likewise.
22561 * soft-fp/floattitf.c (__floattitf): Likewise.
22562 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22563 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22564 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22565 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22566 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22567 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22568 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22569 * soft-fp/gesf2.c (__gesf2): Likewise.
22570 * soft-fp/getf2.c (__getf2): Likewise.
22571 * soft-fp/ledf2.c (__ledf2): Likewise.
22572 * soft-fp/lesf2.c (__lesf2): Likewise.
22573 * soft-fp/letf2.c (__letf2): Likewise.
22574
22575 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22576 Undefine and redefine.
22577 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22578 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22579 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22580 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22581 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22582 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22583 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22584 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22585 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22586 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22587 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22588 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22589 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22590 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22591 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22592
22593 [BZ #16032]
22594 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22595 without decrementing exponent if mantissa >= that for the
22596 denominator, not >.
22597 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22598 denominator, not >. Decrement exponent in < case instead of
22599 incrementing in >= case.
22600 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22601 without decrementing exponent if mantissa >= that for the
22602 denominator, not >.
22603
22604 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22605 computing saturated result for unsigned overflow.
22606
226072013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22608 Jeff Law <law@redhat.com>
22609
22610 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22611 (atan2Mp): Add systemtap probe marker.
22612 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22613 (__ieee754_log): Add systemtap probe marker.
22614 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22615 (atanMp): Add systemtap probe marker.
22616 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22617 (tanMp): Add systemtap probe marker.
22618 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22619 (__slowexp): Add systemtap probe marker.
22620 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22621 (__slowpow): Add systemtap probe marker.
22622 * manual/probes.texi: Document probes.
22623
226242013-10-11 Eric Biggers <ebiggers3@gmail.com>
22625
22626 [BZ #15362]
22627 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22628 written.
22629 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22630 written.
22631 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22632 written to buffer but not flushed.
22633 * libio/iofwrite_u.c: Likewise.
22634 * libio/iopadn.c: Return bytes returned even if EOF was
22635 encountered.
22636 * libio/iowpadn.c: Likewise.
22637 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22638 if _IO_padn does not write the whole buffer.
22639 [!COMPILE_WPRINTF] (PAD): Likewise.
22640
226412013-10-10 David S. Miller <davem@davemloft.net>
22642
22643 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22644 directory block.
22645
226462013-10-10 Joseph Myers <joseph@codesourcery.com>
22647
22648 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22649 instead of FSF address.
22650 * soft-fp/fixdfti.c: Likewise.
22651 * soft-fp/fixsfti.c: Likewise.
22652 * soft-fp/fixtfti.c: Likewise.
22653 * soft-fp/fixunsdfti.c: Likewise.
22654 * soft-fp/fixunssfti.c: Likewise.
22655 * soft-fp/fixunstfti.c: Likewise.
22656 * soft-fp/floattidf.c: Likewise.
22657 * soft-fp/floattisf.c: Likewise.
22658 * soft-fp/floattitf.c: Likewise.
22659 * soft-fp/floatuntidf.c: Likewise.
22660 * soft-fp/floatuntisf.c: Likewise.
22661 * soft-fp/floatuntitf.c: Likewise.
22662 * soft-fp/trunctfxf2.c: Likewise.
22663
22664 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22665 * soft-fp/fixdfti.c: Likewise.
22666 * soft-fp/fixsfti.c: Likewise.
22667 * soft-fp/fixtfti.c: Likewise.
22668 * soft-fp/fixunsdfti.c: Likewise.
22669 * soft-fp/fixunssfti.c: Likewise.
22670 * soft-fp/fixunstfti.c: Likewise.
22671 * soft-fp/floattidf.c: Likewise.
22672 * soft-fp/floattisf.c: Likewise.
22673 * soft-fp/floattitf.c: Likewise.
22674 * soft-fp/floatuntidf.c: Likewise.
22675 * soft-fp/floatuntisf.c: Likewise.
22676 * soft-fp/floatuntitf.c: Likewise.
22677 * soft-fp/trunctfxf2.c: Likewise.
22678
226792013-10-10 David S. Miller <davem@davemloft.net>
22680
22681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22682
226832013-10-10 Joseph Myers <joseph@codsourcery.com>
22684
22685 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22686 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22687 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22688 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22689 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22690 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22691 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22692
22693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22694 for NaNs before doing comparisons on argument.
22695 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22696 Likewise.
22697
226982013-10-10 Will Newton <will.newton@linaro.org>
22699
22700 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22701 passed to _int_memalign does not overflow.
22702
227032013-10-10 Torvald Riegel <triegel@redhat.com>
22704
22705 * scripts/bench.pl: Add include-sources directive.
22706 * benchtests/README: Update documentation.
22707
227082013-10-10 Joseph Myers <joseph@codesourcery.com>
22709
22710 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22711 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22712 instead of FP_INIT_ROUNDMODE.
22713 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22714 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22715
22716 [BZ #16034]
22717 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22718 copy class of input value.
22719 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22720 not handle exceptions.
22721 * soft-fp/negsf2.c (__negsf2): Likewise.
22722 * soft-fp/negtf2.c (__negtf2): Likewise.
22723 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22724
227252013-10-09 Joseph Myers <joseph@codesourcery.com>
22726
22727 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22728 semicolon. From Linux kernel.
22729
227302013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22731
22732 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22733
227342013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22735
22736 [BZ #156]
22737 * manual/socket.texi: Added statement about buffer
22738 for gethostbyname2_r.
22739
227402013-10-08 Ondřej Bílka <neleai@seznam.cz>
22741
22742 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22743 Use .p2align directive instead, throughout.
22744 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22746 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22749 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22750 * sysdeps/x86_64/strchr.S: Likewise.
22751 * sysdeps/x86_64/strrchr.S: Likewise.
22752
227532013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22754
22755 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22756
22757 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22758
22759 * sysdeps/generic/math_private.h (__mpsin1): Remove
22760 declaration.
22761 (__mpcos1): Likewise.
22762 (__mpsin): New argument __range_reduce.
22763 (__mpcos): Likewise.
22764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22765 (slow): Use __mpsin and __mpcos.
22766 (slow1): Likewise.
22767 (slow2): Likewise.
22768 (sloww): Likewise.
22769 (sloww1): Likewise.
22770 (sloww2): Likewise.
22771 (bsloww): Likewise.
22772 (bsloww1): Likewise.
22773 (bsloww2): Likewise.
22774 (cslow2): Likewise.
22775 (csloww): Likewise.
22776 (csloww1): Likewise.
22777 (csloww2): Likewise.
22778 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22779 range_reduce. Merge in __mpsin1.
22780 (__mpcos): Likewise.
22781 (__mpsin1): Remove.
22782 (__mpcos1): Likewise.
22783
227842013-10-07 Joseph Myers <joseph@codesourcery.com>
22785
22786 * locale/loadlocale.c (_nl_intern_locale_data): Use
22787 LOCFILE_ALIGNED_P.
22788 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22789 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22790 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22791 obstack data is appropriately aligned.
22792 (obstack_int32_grow_fast): Likewise.
22793 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22794 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22795 (add_locale_uint32_array): Likewise.
22796
227972013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22798
22799 * benchtests/Makefile: Remove ARGLIST and RET variables.
22800 ($(objpfx)bench-%.c): Pass only function name to the script.
22801 * benchtests/README: Update documentation.
22802 * benchtests/acos-inputs: Add new directives.
22803 * benchtests/acosh-inputs: Likewise.
22804 * benchtests/asin-inputs: Likewise.
22805 * benchtests/asinh-inputs: Likewise.
22806 * benchtests/atan-inputs: Likewise.
22807 * benchtests/atanh-inputs: Likewise.
22808 * benchtests/cos-inputs: Likewise.
22809 * benchtests/cosh-inputs: Likewise.
22810 * benchtests/exp-inputs: Likewise.
22811 * benchtests/log-inputs: Likewise.
22812 * benchtests/pow-inputs: Likewise.
22813 * benchtests/rint-inputs: Likewise.
22814 * benchtests/sin-inputs: Likewise.
22815 * benchtests/sinh-inputs: Likewise.
22816 * benchtests/tan-inputs: Likewise.
22817 * benchtests/tanh-inputs: Likewise.
22818 * scripts/bench.pl: Add support for new directives.
22819
228202013-10-07 Alan Modra <amodra@gmail.com>
22821
22822 * README: Fix careless merge.
22823
228242013-10-05 Alan Modra <amodra@gmail.com>
22825
22826 * NEWS: Mention powerpc64le support and bugs fixed.
22827 * README: Both big-endian and little-endian powerpc64 supported.
22828
228292013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22830
22831 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22832 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22833 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22834 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22835
228362013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22837
22838 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22839 match prototype.
22840
228412013-10-04 Joseph Myers <joseph@codesourcery.com>
22842
22843 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22844 Move -mhard-float appending from
22845 ports/sysdeps/powerpc/powerpc32/Makefile.
22846 [$(with-fp) = yes] (ASFLAGS): Likewise.
22847 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22848 * sysdeps/powerpc/nofpu: Move directory from
22849 ports/sysdeps/powerpc/nofpu.
22850 * sysdeps/powerpc/soft-fp: Move directory from
22851 ports/sysdeps/powerpc/soft-fp.
22852 * sysdeps/powerpc/powerpc32/405: Move directory from
22853 ports/sysdeps/powerpc/powerpc32/405.
22854 * sysdeps/powerpc/powerpc32/440: Move directory from
22855 ports/sysdeps/powerpc/powerpc32/440.
22856 * sysdeps/powerpc/powerpc32/464: Move directory from
22857 ports/sysdeps/powerpc/powerpc32/464.
22858 * sysdeps/powerpc/powerpc32/476: Move directory from
22859 ports/sysdeps/powerpc/powerpc32/476.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22861 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22863 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22865 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22867 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22869 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22870 * README: Update for powerpc-*-linux-gnu software floating point
22871 support in libc.
22872
22873 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22874 case to powerpc/powerpc32*.
22875 * sysdeps/unix/sysv/linux/configure: Regenerated.
22876
22877 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22878 (_FPU_MASK_OM): Define as 0x04.
22879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22881 0x00c10080.
22882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22883 0x0000003c.
22884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22885
22886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22887 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22888 getcontext_e500.
22889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22890 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22891 setcontext_e500.
22892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22893 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22894 and setcontext_e500.
22895
228962013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22897
22898 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22899
229002013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22901
22902 * manual/threads.texi (Default Thread Attributes): Fix typo.
22903
229042013-10-04 Will Newton <will.newton@linaro.org>
22905
22906 * malloc/Makefile: Add tst-memalign.
22907 * malloc/tst-memalign.c: New file.
22908
22909 * malloc/tst-posix_memalign.c: Add comments.
22910 (do_test): Add comments and call free on all potentially
22911 allocated pointers. Add space after cast.
22912
22913 * malloc/tst-pvalloc.c: Add comments.
22914 (do_test): Add comments and call free on all potentially
22915 allocated pointers. Remove duplicate check for NULL pointer.
22916 Add space after cast.
22917
22918 * malloc/tst-valloc.c: Add comments.
22919 (do_test): Add comments and call free on all potentially
22920 allocated pointers. Remove duplicate check for NULL pointer.
22921 Add space after cast.
22922
229232013-10-04 Alan Modra <amodra@gmail.com>
22924
22925 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22926 Use stdint types in rather than __attribute__((mode())).
22927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22928
229292013-10-04 Alan Modra <amodra@gmail.com>
22930
22931 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22932 Correct handling of unaligned relocs for little-endian.
22933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22934
229352013-10-04 Alan Modra <amodra@gmail.com>
22936
22937 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22938 * configure: Regenerate.
22939 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22940 * shlib-versions: Likewise.
22941
229422013-10-04 Alan Modra <amodra@gmail.com>
22943
22944 * string/tester.c (test_memrchr): Increment reported test cycle.
22945
229462013-10-04 Alan Modra <amodra@gmail.com>
22947
22948 * string/test-memcpy.c (do_one_test): When reporting errors, print
22949 string address and don't overrun end of string.
22950
229512013-10-04 Alan Modra <amodra@gmail.com>
22952
22953 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22954 insrdi. Make better use of reg selection to speed exit slightly.
22955 Schedule entry path a little better. Remove useless "are we done"
22956 checks on entry to main loop. Handle wrapping around zero address.
22957 Correct main loop count. Handle single left-over word from main
22958 loop inline rather than by using loop_small. Remove extra word
22959 case in loop_small caused by wrong loop count. Add little-endian
22960 support.
22961 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22963 cache hint.
22964 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22966 support. Avoid rlwimi.
22967 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22968
229692013-10-04 Alan Modra <amodra@gmail.com>
22970
22971 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22972 insrdi. Formatting.
22973 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22974 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22975 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22976 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22977 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22978 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22979
229802013-10-04 Alan Modra <amodra@gmail.com>
22981
22982 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22983 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22984 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22986 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22987 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22989 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22990 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22991 use of regs. Use power7 mtocrf. Tidy function tails.
22992
229932013-10-04 Alan Modra <amodra@gmail.com>
22994
22995 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22996 Formatting. Consistently use rXXX register defines or rN defines.
22997 Use early exit labels that avoid restoring unused non-volatile regs.
22998 Make cr field use more consistent with rWORDn compares. Rename
22999 regs used as shift registers for unaligned loop, using rN defines
23000 for short lifetime/multiple use regs.
23001 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23002 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23003 addi 1,1,64 to pop stack frame. Simplify return value code.
23004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23005
230062013-10-04 Alan Modra <amodra@gmail.com>
23007
23008 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23009 support. Correct typos, formatting. Optimize tail. Use insrdi
23010 rather than rlwimi.
23011 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23012 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23013 little-endian support. Correct typos.
23014 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23015 rather than rlwimi.
23016 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23017 in loop and entry code to keep "and." results.
23018 (strchr): Add little-endian support. Comment. Move cntlzd
23019 earlier in tail.
23020 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23021
230222013-10-04 Alan Modra <amodra@gmail.com>
23023
23024 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23025 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23026 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23028
230292013-10-04 Alan Modra <amodra@gmail.com>
23030
23031 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23032 (rTMP): Define as r11.
23033 (strcmp): Add little-endian support. Optimise tail.
23034 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23035 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23037 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23041
230422013-10-04 Alan Modra <amodra@gmail.com>
23043
23044 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23045 little-endian support. Remove unnecessary "are we done" tests.
23046 Handle "s" wrapping around zero and extremely large "size".
23047 Correct main loop count. Handle single left-over word from main
23048 loop inline rather than by using small_loop. Correct comments.
23049 Delete "zero" tail, use "end_max" instead.
23050 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23051
230522013-10-04 Alan Modra <amodra@gmail.com>
23053
23054 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23055 support. Don't branch over align.
23056 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23058 support. Rearrange tmp reg use to suit. Comment.
23059 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23060
230612013-10-04 Alan Modra <amodra@gmail.com>
23062
23063 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23064
230652013-10-04 Alan Modra <amodra@gmail.com>
23066
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23068 conditional form of branch and link when obtaining pc.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23070
230712013-10-04 Alan Modra <amodra@gmail.com>
23072
23073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23074 HIWORD/LOWORD.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23077
230782013-10-04 Alan Modra <amodra@gmail.com>
23079
23080 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23081 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23082 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23083 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23084 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23085 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23086 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23087 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23088 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23089 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23090
230912013-10-04 Anton Blanchard <anton@au1.ibm.com>
23092 Alistair Popple <alistair@ozlabs.au.ibm.com>
23093 Alan Modra <amodra@gmail.com>
23094
23095 [BZ #15723]
23096 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23097 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23098 _dl_hwcap access for little-endian.
23099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23100 destroy vmx regs when saving unaligned.
23101 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23102 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23103 destroy vmx regs when saving unaligned.
23104
231052013-10-04 Alan Modra <amodra@gmail.com>
23106
23107 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23108 Don't use a union to pack hi/low value.
23109
231102013-10-04 Anton Blanchard <anton@au1.ibm.com>
23111
23112 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23113 for little-endian.
23114 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23116 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23118 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23119
231202013-10-04 Alan Modra <amodra@gmail.com>
23121
23122 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23123 constants to usual value for .cst8 section, and remove redundant
23124 high address load.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23126 constant for 0x1p52. Load little-endian words of double from
23127 correct stack offsets.
23128
231292013-10-04 Alan Modra <amodra@gmail.com>
23130
23131 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23132 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23133 words of double from correct stack offsets.
23134 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23135 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23136 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23137 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23138 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23140 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23141 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23142 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23145 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23146 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23147 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23148 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23149 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23150 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23151
231522013-10-04 Alan Modra <amodra@gmail.com>
23153
23154 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23155 64-bit int/double union.
23156 (_FPU_SETCW): Likewise.
23157 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23158 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23159
231602013-10-04 Alan Modra <amodra@gmail.com>
23161
23162 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23163 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23164
231652013-10-04 Alan Modra <amodra@gmail.com>
23166
23167 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23168 use vector int constants.
23169 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23170
231712013-10-04 Anton Blanchard <anton@au1.ibm.com>
23172
23173 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23174 array with long long.
23175 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23176 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23177 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23178 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23179 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23180 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23181 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23182 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23183 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23184 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23185 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23186 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23187 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23188
231892013-10-04 Anton Blanchard <anton@au1.ibm.com>
23190
23191 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23192 (__signbit): Likewise. Correct for little-endian.
23193 (__signbitl): Call __signbit.
23194 (lrint): Correct for little-endian.
23195 (lrintf): Call lrint.
23196
231972013-10-04 Alan Modra <amodra@gmail.com>
23198
23199 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23200 union 32-bit int array member with 64-bit int array.
23201 (t515, tm256): Double rather than long double.
23202 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23203
232042013-10-04 Alan Modra <amodra@gmail.com>
23205
23206 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23207 Delete.
23208 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23209 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23210 version of math_ldbl.h.
23211
232122013-10-04 Alan Modra <amodra@gmail.com>
23213
23214 [BZ #15734], [BZ #15735]
23215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23216 all uses of ieee875 long double macros and unions. Simplify test
23217 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23218 ldbl_extract_mantissa value for ix,iy exponents. Properly
23219 normalize after ldbl_extract_mantissa, and don't add hidden bit
23220 already handled. Don't treat low word of ieee854 mantissa like
23221 low word of IBM long double and mask off bit when testing for
23222 zero.
23223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23224 all uses of ieee875 long double macros and unions. Simplify tests
23225 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23226 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23227 two1022, instead use their values. Recognise that tests for large
23228 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23229 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23230 Rewrite all uses of ieee875 long double macros and unions. Simplify
23231 test for 0.0L and nan. Correct negation.
23232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23233 ieee875 long double macros and unions. Correct output for large
23234 magnitude x. Correct absolute value calculation.
23235 (__erfcl): Likewise.
23236 * math/libm-test.inc: Add tests for errors discovered in IBM long
23237 double versions of fmodl, remainderl, erfl and erfcl.
23238
232392013-10-04 Alan Modra <amodra@gmail.com>
23240
23241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23242 all uses of ieee854 long double macros and unions. Simplify tests
23243 for long doubles that are fully specified by the high double.
23244 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23245 Likewise.
23246 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23247 Remove dead code too.
23248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23249 (__ieee754_ynl): Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23253 Remove dead code too.
23254 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23258 Simplify.
23259 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23260 Simplify.
23261 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23264 Comment on variable precision.
23265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23267 Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23272 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23273
232742013-10-04 Alan Modra <amodra@gmail.com>
23275
23276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23277 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23278 all uses of ieee854 long double macros and unions.
23279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23281 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23282 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23283 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23284 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23285 Likewise.
23286 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23287 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23288 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23289 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23292 Simplify sign and nan test too.
23293 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23294 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23295 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23296 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23297 Likewise.
23298 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23299 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23300 Likewise.
23301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23307
233082013-10-04 Alan Modra <amodra@gmail.com>
23309
23310 * stdio-common/printf_size.c (__printf_size): Don't use
23311 union ieee854_long_double in fpnum union.
23312 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23313 signbit macro to retrieve sign from long double.
23314 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23315 retrieve sign from long double.
23316 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23317 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23318 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23319 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23320 * math/test-misc.c (main): Don't use union ieee854_long_double.
23321
233222013-10-04 Alan Modra <amodra@gmail.com>
23323
23324 [BZ #15680]
23325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23326 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23327 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23328 calculation. Remove unnecessary test for denormal exponent.
23329 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23330 Correct handling of denormals. Avoid undefined shift behaviour.
23331 Correct normalisation of low mantissa when low double is denormal.
23332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23333 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23334 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23335 Correct normalisation of low mantissa. Test for overflow of high
23336 mantissa and normalise.
23337 (ldbl_nearbyint): Use more readable constant for two52.
23338 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23339 (__mpn_construct_long_double): Fix test for overflow of high
23340 mantissa and correct normalisation. Avoid undefined shift.
23341
233422013-10-04 Alan Modra <amodra@gmail.com>
23343
23344 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23345 (union ibm_extended_long_double): Define as an array of ieee754_double.
23346 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23348 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23353 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23357
233582013-10-03 Joseph Myers <joseph@codesourcery.com>
23359
23360 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23361 page size instead of calling getpagesize.
23362
23363 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23364 (LOCFILE_ALIGN_MASK): Likewise.
23365 (LOCFILE_ALIGN_UP): Likewise.
23366 (LOCFILE_ALIGNED_P): Likewise.
23367 * locale/programs/ld-collate.c (collate_output): Use the new
23368 macros instead of __alignof__ (int32_t).
23369 * locale/weight.h (findidx): Likewise.
23370
233712013-10-03 Ondřej Bílka <neleai@seznam.cz>
23372
23373 [BZ #431]
23374 * manual/string.texi: Fix strncat and wcsncat.
23375
233762013-10-03 Brooks Moses <bmoses@google.com>
23377
23378 [BZ #15915]
23379 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23380 * Makerules: ...here, and adjust associated comments.
23381
233822013-10-02 Will Newton <will.newton@linaro.org>
23383
23384 * malloc/Makefile: Add tst-pvalloc.
23385 * malloc/tst-pvalloc.c: New file.
23386
233872013-10-02 Will Newton <will.newton@linaro.org>
23388
23389 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23390 improve test coverage.
23391
233922013-10-02 Will Newton <will.newton@linaro.org>
23393
23394 * malloc/Makefile: Add tst-posix_memalign.
23395 * malloc/tst-posix_memalign.c: New file.
23396
233972013-10-01 Eric Blake <eblake@redhat.com>
23398
23399 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23400 Use __THROWNL rather than __THROW on static functions.
23401
234022013-09-30 Petr Machata <pmachata@redhat.com>
23403
23404 * elf/elf.h (R_AARCH64_ABS16): New macro.
23405 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23406 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23407 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23408 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23409 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23410 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23411 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23412 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23413 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23414 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23415 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23416 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23417 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23418 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23419 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23420 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23421 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23422 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23423 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23424 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23425 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23426 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23427 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23428 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23429 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23430 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23431 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23432 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23433 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23434 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23435 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23436 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23437 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23438 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23439 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23440 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23441 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23442 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23443 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23444 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23445 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23446 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23447 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23448 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23449 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23450 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23451 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23452 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23453 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23454 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23455 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23456 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23457 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23458 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23459 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23460 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23461 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23462 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23463 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23464 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23465 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23466 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23467 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23468 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23469 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23470 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23471 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23472 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23473 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23474 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23475 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23476 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23477 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23478 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23479 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23480 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23481 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23482 (R_AARCH64_TLSDESC_LDR): Likewise.
23483 (R_AARCH64_TLSDESC_ADD): Likewise.
23484 (R_AARCH64_TLSDESC_CALL): Likewise.
23485
234862013-09-30 Andreas Schwab <schwab@suse.de>
23487
23488 [BZ #15048]
23489 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23490 the nss database lookup.
23491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23493
234942013-09-28 Mike Frysinger <vapier@gentoo.org>
23495
23496 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23497
234982013-09-28 P. J. McDermott <pj@pehjota.net>
23499
23500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23501 ${Bash-specific parameter/pattern/string} parameter expansion.
23502 * sysdeps/unix/make-syscalls.sh: Likewise.
23503
235042013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23505
23506 * sysdeps/sh/stackguard-macros.h: New file.
23507
235082013-09-26 Ondřej Bílka <neleai@seznam.cz>
23509
23510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23512 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23513 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23514 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23515 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23516
235172013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23518
23519 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23520 Fix thread ID register.
23521
235222013-09-25 Joseph Myers <joseph@codesourcery.com>
23523
23524 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23525 [POSIX || UNIX98]: Require rather than permitting all symbols from
23526 <time.h>.
23527 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23528 element of struct sched_param.
23529 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23530 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23531 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23532 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23533 constant.
23534
235352013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23536
23537 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23538 argument calculation.
23539
235402013-09-24 Joseph Myers <joseph@codesourcery.com>
23541
23542 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23543 Expect macro.
23544 [POSIX] (pthread_attr_t): Do not require type.
23545 [POSIX] (pthread_cond_t): Likewise.
23546 [POSIX] (pthread_condattr_t): Likewise.
23547 [POSIX] (pthread_key_t): Likewise.
23548 [POSIX] (pthread_mutex_t): Likewise.
23549 [POSIX] (pthread_mutexattr_t): Likewise.
23550 [POSIX] (pthread_once_t): Likewise.
23551 [POSIX] (pthread_t): Likewise.
23552 [POSIX-based standards] (pthread_atfork): Expect function.
23553
235542013-09-24 Joseph Myers <joseph@codesourcery.com>
23555 Richard Sandiford <richard@codesourcery.com>
23556
23557 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23558 (swap_endianness_p): New extern variable.
23559 (set_big_endian): New inline function.
23560 (maybe_swap_uint32): Likewise.
23561 (maybe_swap_uint32_array): Likewise.
23562 (maybe_swap_uint32_obstack): Likewise.
23563 * locale/programs/locfile.c: Include <stdbool.h>.
23564 (swap_endianness_p): New variable.
23565 (add_locale_uint32): Call maybe_swap_uint32.
23566 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23567 (write_locale_data): Call maybe_swap_uint32_array.
23568 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23569 maybe_swap_uint32.
23570 (obstack_int32_grow_fast): Likewise.
23571 (output_weightwc): Call maybe_swap_uint32_obstack.
23572 (collate_output): Likewise.
23573 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23574 (OPT_LITTLE_ENDIAN): Likewise.
23575 (options): Add --little-endian and --big-endian options.
23576 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23577 * locale/programs/locarchive.c: Include "locfile.h".
23578 (GET): New macro.
23579 (SET): Likewise.
23580 (INC): Likewise.
23581 (create_archive): Use the new macros to access fields of
23582 structures directly mapped from or written to locale archives.
23583 (oldlocrecentcmp): Likewise.
23584 (enlarge_archive): Likewise.
23585 (insert_name): Likewise.
23586 (add_alias): Likewise.
23587 (add_locale): Likewise.
23588 (delete_locales_from_archive): Likewise.
23589 (show_archive_content): Likewise.
23590 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23591 locale data.
23592
235932013-09-24 Roland McGrath <roland@hack.frob.com>
23594
23595 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23596 http://www.gnu.org/doc/freemanuals.texi.
23597 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23598
235992013-09-24 Will Newton <will.newton@linaro.org>
23600
23601 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23602 macro.
23603
236042013-09-23 Joseph Myers <joseph@codesourcery.com>
23605
23606 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23607 unsigned char.
23608
236092013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23610
23611 * manual/threads.texi (POSIX Threads): Fix a typo.
23612
236132013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23614
23615 [BZ #14547]
23616 * string/tst-strcoll-overflow.c: New test case.
23617 * string/Makefile (xtests): Add tst-strcoll-overflow.
23618 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23619 cache if string sizes may cause integer overflow.
23620
23621 [BZ #14547]
23622 * string/strcoll_l.c (coll_seq): New members rule, idx,
23623 save_idx and back_us.
23624 (get_next_seq_nocache): New function.
23625 (do_compare_nocache): New function.
23626 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23627 when malloc fails.
23628
236292013-09-23 Carlos O'Donell <carlos@redhat.com>
23630
23631 [BZ #15754]
23632 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23633 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23634 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23635
23636 [BZ #15754]
23637 * elf/Makefile (tests): Add tst-ptrguard1.
23638 (tests-static): Add tst-ptrguard1-static.
23639 (tst-ptrguard1-ARGS): Define.
23640 (tst-ptrguard1-static-ARGS): Define.
23641 * elf/tst-ptrguard1.c: New file.
23642 * elf/tst-ptrguard1-static.c: New file.
23643 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23644 * sysdeps/i386/stackguard-macros.h: Likewise.
23645 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23646 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23647 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23648 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23649 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23650 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23651
236522013-09-23 Hector Marco <hecmargi@upv.es>
23653 Ismael Ripoll <iripoll@disca.upv.es>
23654 Carlos O'Donell <carlos@redhat.com>
23655
23656 [BZ #15754]
23657 * sysdeps/generic/stackguard-macros.h: Define
23658 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23659 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23660 Define __pointer_chk_guard_local.
23661 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23662 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23663
236642013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23665
23666 [BZ #15859]
23667 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23668
236692013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23670
23671 * include/string.h (__ffs): Declare as hidden.
23672 * string/ffs.c (__ffs): Define as hidden.
23673 * sysdeps/i386/ffs.c (__ffs): Likewise.
23674 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23675 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23676 * sysdeps/s390/ffs.c (__ffs): Likewise.
23677 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23678
236792013-09-20 Alexandre Oliva <aoliva@redhat.com>
23680
23681 * NEWS: Mention malloc probes.
23682
23683 * malloc/arena.c (new_heap): New memory_heap_new probe.
23684 (grow_heap): New memory_heap_more probe.
23685 (shrink_heap): New memory_heap_less probe.
23686 (heap_trim): New memory_heap_free probe.
23687 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23688 (systrim): New memory_sbrk_less probe.
23689 * manual/probes.texi: Document them.
23690
23691 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23692 * manual/probes.texi: Document it.
23693
23694 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23695 (__libc_realloc): Add memory_realloc_retry probe.
23696 (__libc_memalign): Add memory_memalign_retry probe.
23697 (__libc_valloc): Add memory_valloc_retry probe.
23698 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23699 (__libc_calloc): Add memory_calloc_retry probe.
23700 * manual/probes.texi: Document them.
23701
23702 * malloc/arena.c (get_free_list): Add probe
23703 memory_arena_reuse_free_list.
23704 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23705 and memory_arena_reuse.
23706 (arena_get2) [!PER_THREAD]: Likewise.
23707 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23708 memory_arena_reuse_realloc.
23709 * manual/probes.texi: Document them.
23710
23711 * malloc/malloc.c (__libc_free): Add
23712 memory_mallopt_free_dyn_thresholds probe.
23713 (__libc_mallopt): Add multiple memory_mallopt probes.
23714 * manual/probes.texi: Document them.
23715
23716 * malloc/malloc.c: Include stap-probe.h.
23717 (__libc_mallopt): Add memory_mallopt probe.
23718 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23719 * manual/probes.texi: New.
23720 * manual/Makefile (chapters): Add probes.
23721 * manual/threads.texi: Set next node.
23722
237232013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
23724
23725 [BZ #15963, #13985]
23726 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23727 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23728 Add `Chinese' to `nan' entry name.
23729
237302013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23731
23732 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23733 (POLYNOMIAL): Likewise.
23734 (TAYLOR_SINCOS): Likewise.
23735 (TAYLOR_SLOW): Likewise.
23736 (__sin): Use TAYLOR_SINCOS.
23737 (__cos): Likewise.
23738 (slow): Use TAYLOR_SLOW.
23739 (sloww): Likewise.
23740 (bsloww): Likewise.
23741 (csloww): Likewise.
23742
237432013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23744
23745 * stdlib/strtod_l.c: Fix buffer overrun.
23746
237472013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23748
23749 * benchtests/Makefile (bench): Add sincos.
23750 * benchtests/bench-sincos.c: New file.
23751
23752 * math/libm-test.inc (cos_test_data): New test inputs.
23753 (sin_test_data): Likewise.
23754
23755 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23756 macro.
23757 (__sin): Use it.
23758 (__cos): Likewise.
23759 (slow1): Likewise.
23760 (slow2): Likewise.
23761 (sloww1): Likewise.
23762 (sloww2): Likewise.
23763 (bsloww1): Likewise.
23764 (bsloww2): Likewise.
23765 (cslow2): Likewise.
23766 (csloww1): Likewise.
23767 (csloww2): Likewise.
23768
23769 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23770 function.
23771 (__sin): Use it.
23772 (__cos): Likewise.
23773
23774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23775 gotos.
23776 (__cos): Likewise.
23777
237782013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23779
23780 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23781 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23782 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23783 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23784 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23785 * elf/cache.c (print_entry): Handle the new cache flags.
23786
237872013-09-18 Joseph Myers <joseph@codesourcery.com>
23788 Aldy Hernandez <aldyh@redhat.com>
23789
23790 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23791 Change condition to [_SOFT_FLOAT].
23792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23804 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23807 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23808 declaration.
23809
238102013-09-18 Joseph Myers <joseph@codesourcery.com>
23811
23812 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23813 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23814 (__longjmp): Use LOAD_GP to load saved GPRs.
23815 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23816 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23817 (__sigsetjmp): Use SAVE_GP to save GPRs.
23818
23819 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23820 Do not append -msoft-float.
23821 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23822
238232013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23824
23825 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23826
238272013-09-17 Joseph Myers <joseph@codesourcery.com>
23828
23829 [BZ #15966]
23830 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23831 (_FPU_GETCW): Use initial "__" on variable and field names but not
23832 on macro parameter name.
23833 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23834 parentheses around reference to macro parameter.
23835
238362013-09-13 Richard Sandiford <richard@codesourcery.com>
23837
23838 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23839 prototype.
23840 (ctype_startup): Use uint32_t in cast and sizeof for
23841 ctype->charnames.
23842
238432013-09-11 Jia Liu <proljc@gmail.com>
23844
23845 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23846 __daddr_t_defined.
23847 [__FreeBSD__]: Likewise.
23848
238492013-09-11 Ondřej Bílka <neleai@seznam.cz>
23850
23851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23852 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23853 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23854 (strchr): Remove __strchr_sse42 ifunc selection.
23855 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23856 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23857
238582013-09-11 Will Newton <will.newton@linaro.org>
23859
23860 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23861 parameter to RES. Remove hardcoded 1000 value.
23862 * benchtests/bench-skeleton.c (main): Pass RES parameter
23863 to TIMING_INIT and multiply result by 1000.
23864
238652013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23866
23867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23868
238692013-09-11 Andreas Schwab <schwab@suse.de>
23870
23871 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23872 if not defined.
23873 (O_TMPFILE) [__USE_GNU]: Define.
23874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23875 Define.
23876
238772013-09-11 Will Newton <will.newton@linaro.org>
23878
23879 [BZ #15857]
23880 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23881 does not overflow.
23882
238832013-09-11 Will Newton <will.newton@linaro.org>
23884
23885 [BZ #15856]
23886 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23887 does not overflow.
23888
238892013-09-11 Will Newton <will.newton@linaro.org>
23890
23891 [BZ #15855]
23892 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23893 does not overflow.
23894
238952013-09-10 Ondřej Bílka <neleai@seznam.cz>
23896
23897 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23898 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23902
239032013-09-10 Allan McRae <allan@archlinux.org>
23904
23905 [BZ #15748]
23906 * manual/arith.texi (Parsing of Floats): Clarify
23907 cross-reference.
23908
23909 [BZ #15849]
23910 * manual/install.texi (Running make install): Mention
23911 --enable-pt-chown.
23912 * INSTALL: Regenerated.
23913
239142013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23915
23916 * csu/init-first.c (_init): Remove the !SHARED condition around
23917 FPU control word initialization.
23918 * elf/dl-support.c (_dl_fpu_control): New variable.
23919 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23920 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23921 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23922 * math/test-fpucw-static.c: New file.
23923 * math/test-fpucw-ieee.c: New file.
23924 * math/test-fpucw-ieee-static.c: New file.
23925 * math/Makefile (tests): Add `test-fpucw-ieee' and
23926 `$(tests-static)'.
23927 (tests-static): New variable.
23928 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23929 dependency to...
23930 [($(build-shared),yes)]
23931 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23932 ... this.
23933 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23934 New dependency.
23935
239362013-09-09 Allan McRae <allan@archlinux.org>
23937
23938 [BZ #15939]
23939 * manual/string.texi (Collation Functions): Fix typo in
23940 strcoll example.
23941 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23942
23943 [BZ #15893]
23944 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23945
23946 [BZ #15892]
23947 * libio/memstream.c (open_memstream): Fix memory leak.
23948 * libio/wmemstream.c (open_wmemstream): Likewise.
23949
23950 [BZ #15895]
23951 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23952
239532013-09-09 Will Newton <will.newton@linaro.org>
23954
23955 * malloc/Makefile: Add tst-realloc to tests.
23956 * malloc/tst-realloc.c: New file.
23957
239582013-09-09 Allan McRae <allan@archlinux.org>
23959
23960 [BZ #15844]
23961 * COPYING: Update from GNU website to fix FSF address.
23962 * COPYING.LIB: Likewise.
23963
239642013-09-06 David S. Miller <davem@davemloft.net>
23965
23966 * po/zh_TW.po: Update Chinese (traditional) translation from
23967 translation project.
23968
239692013-09-06 Richard Sandiford <richard@codesourcery.com>
23970 Joseph Myers <joseph@codesourcery.com>
23971
23972 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23973 "localeinfo.h".
23974 (obstack_chunk_alloc): New macro.
23975 (obstack_chunk_free): Likewise.
23976 (record_offset): New function.
23977 (init_locale_data): Likewise.
23978 (align_locale_data): Likewise.
23979 (add_locale_empty): Likewise.
23980 (add_locale_raw_data): Likewise.
23981 (add_locale_raw_obstack): Likewise.
23982 (add_locale_string): Likewise.
23983 (add_locale_wstring): Likewise.
23984 (add_locale_uint32): Likewise.
23985 (add_locale_uint32_array): Likewise.
23986 (add_locale_char): Likewise.
23987 (start_locale_structure): Likewise.
23988 (end_locale_structure): Likewise.
23989 (start_locale_prelude): Likewise.
23990 (end_locale_prelude): Likewise.
23991 (write_locale_data): Take locale_file structure rather than an
23992 iovec.
23993 * locale/programs/locfile.h: Include "obstack.h".
23994 (struct locale_file): Change to store locale file contents instead
23995 of header.
23996 (init_locale_data): New prototype.
23997 (align_locale_data): Likewise.
23998 (add_locale_empty): Likewise.
23999 (add_locale_raw_data): Likewise.
24000 (add_locale_raw_obstack): Likewise.
24001 (add_locale_string): Likewise.
24002 (add_locale_wstring): Likewise.
24003 (add_locale_uint32): Likewise.
24004 (add_locale_uint32_array): Likewise.
24005 (add_locale_char): Likewise.
24006 (start_locale_structure): Likewise.
24007 (end_locale_structure): Likewise.
24008 (start_locale_prelude): Likewise.
24009 (end_locale_prelude): Likewise.
24010 (write_locale_data): Update prototype.
24011 * locale/programs/3level.h (struct TABLE): Remove result field.
24012 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24013 Use new locale_file interface.
24014 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24015 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24016 * locale/programs/ld-address.c (address_output): Use new
24017 locale_file interface.
24018 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24019 NO_ADD_LOCALE.
24020 (collate_finish): Don't call collseq_table_finalize.
24021 (collate_output): Use new locale_file interface.
24022 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24023 in file.
24024 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24025 (TABLE): Move defines earlier in file.
24026 (ELEMENT): Likewise.
24027 (DEFAULT): Likewise.
24028 (wctrans_table_add): Move macro and inline function earlier in
24029 file.
24030 (struct wctype_table): Move type earlier in file.
24031 (add_locale_wctype_table): New static prototype.
24032 (struct locale_ctype_t): Use logical types instead of struct iovec
24033 pointers for members.
24034 (ctype_output): Use new locale_file interface.
24035 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24036 new locale_file interface.
24037 (allocate_arrays): Update for use of new locale_file interface.
24038 * locale/programs/ld-identification.c (identification_output): Use
24039 new locale_file interface.
24040 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24041 * locale/programs/ld-messages.c (messages_output): Likewise.
24042 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24043 * locale/programs/ld-name.c (name_output): Likewise.
24044 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24045 * locale/programs/ld-paper.c (paper_output): Likewise.
24046 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24047 * locale/programs/ld-time.c (time_output): Likewise.
24048
240492013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24050
24051 * benchtests/Makefile: Add memrchr benchmark.
24052 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24053 benchmark as memrchr.
24054 * benchtests/bench-memrchr-ifunc.c: New file.
24055 * benchtests/bench-memrchr.c: New file.
24056
240572013-09-06 Will Newton <will.newton@linaro.org>
24058
24059 * benchtests/Makefile (string-bench): Add memcpy.
24060
240612013-09-05 Carlos O'Donell <carlos@redhat.com>
24062 Cong Wang <amwang@redhat.com>
24063
24064 [BZ #15850]
24065 * sysdeps/unix/sysv/linux/bits/in.h
24066 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24067 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24068 before __USE_KERNEL_IPV6_DEFS uses.
24069 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24070 IPPROTO_BEETPH.
24071 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24072 sockaddr_in6, or ipv6_mreq.
24073
240742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24075
24076 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24077 memory access for final bytes in some large inputs.
24078 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24079
240802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24081
24082 * string/test-memrchr.c: New file.
24083 * string/test-memrchr-ifunc.c: New file.
24084 * string/Makefile: Add new memrchr testcase.
24085
240862013-09-05 Mike Frysinger <vapier@gentoo.org>
24087
24088 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24089 fanotify_init returns EPERM.
24090
240912013-09-04 Joseph Myers <joseph@codesourcery.com>
24092
24093 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24094 errors.
24095 (top level): Treat second token from macro or constant entries for
24096 allowed headers as allowed.
24097 * include/complex.h: Condition internal declarations on
24098 [!_ISOMAC].
24099 * include/fenv.h: Condition include of <stdbool.h> and internal
24100 declarations on [!_ISOMAC].
24101
241022013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24103
24104 [BZ #15923]
24105 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24106
241072013-09-04 Joseph Myers <joseph@codesourcery.com>
24108
24109 * configure.in (--enable-versioning): Remove configure option.
24110 (libc_cv_asm_symver_directive): Remove configure test.
24111 (libc_cv_ld_version_script_option): Likewise.
24112 (VERSIONING): Remove variable and AC_SUBST.
24113 (DO_VERSIONING): Remove AC_DEFINE.
24114 * configure: Regenerated.
24115 * config.h.in (DO_VERSIONING): Remove macro.
24116 * Makerules [$(versioning) = yes]: Change conditionals to
24117 [$(build-shared) = yes].
24118 * config.make.in (versioning): Remove variable.
24119 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24120 [$(build-shared) = yes].
24121 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24122 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24123 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24124 [$(build-shared) = yes].
24125 * extra-lib.mk [$(versioning) = yes]: Likewise.
24126 * hurd/Makefile [$(versioning) = yes]: Likewise.
24127 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24128 [SHARED].
24129 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24130 [SHARED].
24131 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24132 [SHARED && !NO_HIDDEN].
24133 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24134 [SHARED].
24135 [SHARED && DO_VERSIONING]: Likewise..
24136 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24137 [$(build-shared) = yes].
24138 * manual/install.texi (--disable-versioning): Remove
24139 documentation.
24140 * INSTALL: Regenerated.
24141 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24142 to [SHARED].
24143 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24144 [$(build-shared) = yes].
24145 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24146 * sysdeps/i386/i686/multiarch/strstr-c.c
24147 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24148 [SHARED && !NO_HIDDEN].
24149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24150 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24151 * sysdeps/powerpc/powerpc32/dl-machine.c
24152 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24153 * sysdeps/powerpc/powerpc32/sysdep.h
24154 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24155 to [SHARED && PIC && !NO_HIDDEN].
24156 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24157 conditional to [SHARED].
24158
241592013-09-04 Will Newton <will.newton@linaro.org>
24160
24161 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24162 * benchtests/bench-string.h: Include bench-timing.h instead
24163 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24164 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24165 call to HP_TIMING_DIFF_INIT.
24166 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24167 instead of hp-timing.h macros.
24168 * benchtests/bench-memchr.c: Likewise.
24169 * benchtests/bench-memcmp.c: Likewise.
24170 * benchtests/bench-memcpy.c: Likewise.
24171 * benchtests/bench-memmem.c: Likewise.
24172 * benchtests/bench-memmove.c: Likewise.
24173 * benchtests/bench-memset.c: Likewise.
24174 * benchtests/bench-rawmemchr.c: Likewise.
24175 * benchtests/bench-strcasecmp.c: Likewise.
24176 * benchtests/bench-strcasestr.c: Likewise.
24177 * benchtests/bench-strcat.c: Likewise.
24178 * benchtests/bench-strchr.c: Likewise.
24179 * benchtests/bench-strcmp.c: Likewise.
24180 * benchtests/bench-strcpy.c: Likewise.
24181 * benchtests/bench-strcpy_chk.c: Likewise.
24182 * benchtests/bench-strlen.c: Likewise.
24183 * benchtests/bench-strncasecmp.c: Likewise.
24184 * benchtests/bench-strncat.c: Likewise.
24185 * benchtests/bench-strncmp.c: Likewise.
24186 * benchtests/bench-strncpy.c: Likewise.
24187 * benchtests/bench-strnlen.c: Likewise.
24188 * benchtests/bench-strpbrk.c: Likewise.
24189 * benchtests/bench-strrchr.c: Likewise.
24190 * benchtests/bench-strspn.c: Likewise.
24191 * benchtests/bench-strstr.c: Likewise.
24192
241932013-09-04 Will Newton <will.newton@linaro.org>
24194
24195 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24196
241972013-09-03 Joseph Myers <joseph@codesourcery.com>
24198
24199 [BZ #15427]
24200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24201 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24202 * math/libm-test.inc (lgamma_test_data): Add more tests.
24203 * sysdeps/i386/fpu/libm-test-ulps: Update.
24204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24205
242062013-09-03 Ondřej Bílka <neleai@seznam.cz>
24207
24208 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24210 Add ifunc.
24211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24212 Add strcmp-sse2-unaligned
24213 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24214
242152013-09-02 Mike Frysinger <vapier@gentoo.org>
24216
24217 * Versions.def (libc): Add GLIBC_2.19.
24218
242192013-09-02 Mike Frysinger <vapier@gentoo.org>
24220
24221 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24222 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24223
242242013-09-02 Joseph Myers <joseph@codesourcery.com>
24225
24226 [BZ #14155]
24227 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24228 intermediate calculations in recurrence.
24229 (__ieee754_ynf): Likewise.
24230 * math/libm-test.inc (jn_test_data): Do not allow spurious
24231 underflow exception. Add more tests.
24232 (yn_test_data): Add more tests.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24235
242362013-09-02 Ondřej Bílka <neleai@seznam.cz>
24237
24238 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24239
242402013-08-30 Ondřej Bílka <neleai@seznam.cz>
24241
24242 * csu/init-first.c: Fix then/than typos.
24243 * locale/programs/ld-collate.c: Likewise.
24244 * locale/programs/linereader.h: Likewise.
24245 * manual/charset.texi: Likewise.
24246 * manual/filesys.texi: Likewise.
24247 * manual/stdio.texi: Likewise.
24248 * manual/string.texi: Likewise.
24249 * stdlib/fmtmsg.c: Likewise.
24250 * sysdeps/i386/stpncpy.S: Likewise.
24251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24252 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24254 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24255
242562013-08-30 Ondřej Bílka <neleai@seznam.cz>
24257
24258 * elf/dl-open.c: Fix typos.
24259 * iconvdata/gbbig5.c: Likewise.
24260 * iconvdata/iso-2022-jp.c: Likewise.
24261 * iconv/gconv_int.h: Likewise.
24262 * iconv/loop.c: Likewise.
24263 * nis/rpcsvc/nis.h: Likewise.
24264 * resolv/ns_name.c: Likewise.
24265 * stdio-common/vfscanf.c: Likewise.
24266 * streams/stropts.h: Likewise.
24267 * sunrpc/rpc_thread.c: Likewise.
24268 * sysdeps/i386/strpbrk.S: Likewise.
24269 * sysdeps/ieee754/k_standard.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24272 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24273 * sysdeps/mach/hurd/profil.c: Likewise.
24274 * sysdeps/s390/dl-procinfo.h: Likewise.
24275 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24276 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24277 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24278 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24280
242812013-08-30 Ondřej Bílka <neleai@seznam.cz>
24282
24283 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24285
242862013-08-29 Ondřej Bílka <neleai@seznam.cz>
24287
24288 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24289 aix specific files.
24290 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24291 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24292 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24293 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24294 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24295 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24296 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24297 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24298
242992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24300 Roland McGrath <roland@hack.frob.com>
24301
24302 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24303 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24304
243052013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24306
24307 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24308 __executable_start symbol instead of _start.
24309
243102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24311
24312 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24313 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24314 Move macros to...
24315 * sysdeps/gnu/ldsodefs.h: ... this new file.
24316
24317 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24318 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24319 instead of ELFOSABI_LINUX.
24320
24321 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24322 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24323 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24324 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24325 Likewise.
24326 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24327 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24329 Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24331 (ibm_extended_long_double): Add ieee_nan member.
24332 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24333 (do_test): New function.
24334
24335 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24336 TEST_TRUNC.
24337 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24338 functions, renamed from truncdfsf_test, trunctfsf_test,
24339 trunctfdf_test.
24340 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24341 functions.
24342 (do_test): Run all these.
24343
243442013-08-29 Ondřej Bílka <neleai@seznam.cz>
24345
24346 * argp/argp-help.c: Fix typos.
24347 * argp/argp-parse.c: Likewise.
24348 * debug/backtracesyms.c: Likewise.
24349 * elf/elf.h: Likewise.
24350 * malloc/malloc.c: Likewise.
24351 * nis/nis_print.c: Likewise.
24352 * resolv/res_comp.c: Likewise.
24353 * stdlib/stdlib.h: Likewise.
24354 * sunrpc/clnt_tcp.c: Likewise.
24355 * sunrpc/clnt_udp.c: Likewise.
24356 * sunrpc/clnt_unix.c: Likewise.
24357 * sysdeps/unix/bsd/ptsname.c: Likewise.
24358 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24359 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24361 Likewise.
24362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24363 Likewise.
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24365 Likewise.
24366 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24367
243682013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24369
24370 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24372
243732013-08-27 Mike Frysinger <vapier@gentoo.org>
24374
24375 [BZ #15897]
24376 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24377 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24378 ($(objpfx)bug-dl-leaf): New rule.
24379 ($(objpfx)bug-dl-leaf.so): Likewise.
24380 ($(objpfx)bug-dl-leaf.out): Likewise.
24381 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24382 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24383 * dlfcn/bug-dl-leaf.c: New test.
24384 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24385 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24386 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24387 (dlclose): Likewise.
24388 (dlmopen): Likewise.
24389
243902013-08-27 Roland McGrath <roland@hack.frob.com>
24391
24392 * include/netdb.h [!_ISOMAC]:
24393 Don't include <tls.h>.
24394 (h_errno, __libc_h_errno): Move declaration and macros out of
24395 [_LIBC_REENTRANT].
24396
24397 * include/resolv.h [_RESOLV_H_]:
24398 Don't include <tls.h>.
24399 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24400 * resolv/res_libc.c: Don't include <tls.h>.
24401 (_res): Use __attribute__ ((nocommon)) in place of
24402 __attribute__ ((section (".bss"))).
24403
24404 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24405 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24406
24407 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24408
24409 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24410 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24411
24412 * resolv/res_mkquery.c: Include <sys/time.h>.
24413
24414 * inet/ifreq.c: Moved to ...
24415 * sysdeps/unix/ifreq.c: ... here.
24416 * inet/ifreq.c: New file, true stub version.
24417
24418 * socket/sa_len.c: New file.
24419 * socket/Makefile (aux): Add it.
24420 * sysdeps/unix/sysv/linux/Makefile
24421 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24422 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24423 and #include <socket/sa_len.c>.
24424 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24425 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24426
24427 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24428 * bits/socket.h: ... here.
24429
24430 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24431 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24432 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24433
244342013-08-27 Andreas Schwab <schwab@suse.de>
24435
24436 [BZ #15736]
24437 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24438 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24439 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24440 * string/test-strcasecmp.c (test_main): Run tests in several
24441 locales.
24442 * string/test-strncasecmp.c (test_main): Likewise.
24443
24444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24445 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24446 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24448 (__strncasecmp_ssse3) [PIC]: Likewise.
24449
244502013-08-26 Roland McGrath <roland@hack.frob.com>
24451
24452 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24453
24454 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24455 instead of explicitly declaring xdecrypt.
24456 * nis/nss_nis/nis-publickey.c: Likewise.
24457
244582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24459
24460 [BZ #15890]
24461 * nscd/aicache.c: Include res_hconf.h.
24462 (addhstaiX): Initialize res_hconf.
24463
244642013-08-26 Andreas Schwab <schwab@suse.de>
24465
24466 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24467 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24468
244692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24470
24471 * nscd/aicache.c (addhstaiX): Fix indentation.
24472
244732013-08-25 Mike Frysinger <vapier@gentoo.org>
24474
24475 * configure.ac: Quote $build_pt_chown test.
24476 * configure: Regenerated.
24477
244782013-08-23 Joseph Myers <joseph@codesourcery.com>
24479
24480 [BZ #15532]
24481 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24482 * math/s_cexpf.c (__cexpf): Likewise.
24483 * math/s_cexpl.c (__cexpl): Likewise.
24484 * math/libm-test.inc (cexp_test_data): Correct expected return
24485 value for NaN + i0. Add another test.
24486
244872013-08-22 David S. Miller <davem@davemloft.net>
24488
24489 * po/ca.po: Update Catalan translation from translation project.
24490 * po/uk.po: Add Ukrainian translations from translation project.
24491
244922013-08-21 Joseph Myers <joseph@codesourcery.com>
24493
24494 [BZ #15797]
24495 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24496 is infinite, not alongside NaN test.
24497 * math/s_fdimf.c (__fdimf): Likewise.
24498 * math/s_fdiml.c (__fdiml): Likewise.
24499 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24500 errno is unchanged.
24501
245022013-08-21 Ondřej Bílka <neleai@seznam.cz>
24503
24504 * argp/argp-help.c: Fix typos.
24505 * crypt/speeds.c: Likewise.
24506 * csu/check_fds.c: Likewise.
24507 * elf/dl-load.c: Likewise.
24508 * elf/dl-open.c: Likewise.
24509 * elf/reldep3.c: Likewise.
24510 * elf/reldep.c: Likewise.
24511 * elf/sprof.c: Likewise.
24512 * iconv/iconv_charmap.c: Likewise.
24513 * iconv/skeleton.c: Likewise.
24514 * iconv/strtab.c: Likewise.
24515 * io/lockf64.c: Likewise.
24516 * libio/libioP.h: Likewise.
24517 * resolv/gai_notify.c: Likewise.
24518 * resolv/ns_name.c: Likewise.
24519 * resolv/ns_samedomain.c: Likewise.
24520 * resolv/res_send.c: Likewise.
24521 * stdlib/random.c: Likewise.
24522 * sunrpc/rpc/xdr.h: Likewise.
24523 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24524 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24525 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24526 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24527 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24528 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24530 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24531 * sysdeps/mach/hurd/check_fds.c: Likewise.
24532 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24533 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24534 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24536 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24537 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24538 * sysdeps/pthread/aio_notify.c: Likewise.
24539 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24540 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24541 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24543 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24544
245452013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24546
24547 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24548 version if bit_Slow_SSE4_2 is set.
24549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24551
245522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24553
24554 [BZ #15867]
24555 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24556 trampoline stack frame information.
24557 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24558 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24559 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24560 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24561 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24562 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24563 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24564 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24565 sa_flags value.
24566 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24567 interrupting a syscall and set with option SA_SIGINFO.
24568
245692013-08-20 Joseph Myers <joseph@codesourcery.com>
24570
24571 [BZ #15531]
24572 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24573 argument is infinite.
24574 * math/s_cprojf.c (__cprojf): Likewise.
24575 * math/s_cprojl.c (__cprojl): Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24577 * math/libm-test.inc (cproj_test_data): Add more tests.
24578
24579 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24580
24581 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24582 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24583 size. Use __ffs to determine corresponding shift.
24584
245852013-08-20 Joseph Myers <joseph@codesourcery.com>
24586 Roland McGrath <roland@hack.frob.com>
24587
24588 * Makefile (INSTALL): Remove trailing blank lines from output of
24589 makeinfo.
24590
245912013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24592
24593 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24594 Align 32 bit compat elf_greg to 8 bytes.
24595
245962013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24597
24598 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24599
246002013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24601
24602 * string/strcoll_l.c (coll_seq): New structure.
24603 (get_next_seq_cached): New function.
24604 (get_next_seq): New function.
24605 (do_compare): New function.
24606 (STRCOLL): Use GNU style definition. Simplify implementation
24607 by using get_next_seq, get_next_seq_cached and do_compare.
24608
246092013-08-16 Florian Weimer <fweimer@redhat.com>
24610
24611 [BZ #14699]
24612 CVE-2013-4237
24613 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24614 member.
24615 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24616 member.
24617 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24618 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24619 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24620 conditional.
24621 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24622 GETDENTS_64BIT_ALIGNED.
24623 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24624 * manual/filesys.texi (Reading/Closing Directory): Document
24625 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24626 strongly.
24627 * manual/conf.texi (Limits for Files): Add portability note to
24628 NAME_MAX, PATH_MAX.
24629 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24630
246312013-08-13 Andreas Schwab <schwab@suse.de>
24632
24633 [BZ #15749]
24634 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24635 of fabs.
24636 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24637 LDBL_MAX_EXP >= 16384]: Add tests for it.
24638
246392013-08-12 David S. Miller <davem@davemloft.net>
24640
24641 * version.h (RELEASE): Set to "development".
24642 (VERSION): Set to "2.18.90".
24643 * NEWS: Add 2.19 section.
24644
246452013-08-03 David S. Miller <davem@davemloft.net>
24646
24647 * po/ko.po: Update Korean translation from translation project.
24648
246492013-08-01 David S. Miller <davem@davemloft.net>
24650
24651 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24652 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24653 Bilka.
24654
246552013-07-30 David S. Miller <davem@davemloft.net>
24656
24657 * po/fr.po: Update French translation from translation project.
24658
246592013-07-28 David S. Miller <davem@davemloft.net>
24660
24661 * po/cs.po: Update Czech translation from translation project.
24662
24663 * po/sv.po: Update Swedish translation from translation project.
24664
246652013-07-27 David S. Miller <davem@davemloft.net>
24666
24667 * po/eo.po: Update Esperanto translation from translation project.
24668
24669 * po/vi.po: Update Vietnamese translation from translation project.
24670
24671 * po/de.po: Update German translation from translation project.
24672
246732013-07-26 David S. Miller <davem@davemloft.net>
24674
24675 * po/bg.po: Update Bulgarian translation from translation project.
24676
24677 * po/nl.po: Update Dutch translation from translation project.
24678 * po/pl.po: Update Polish translation from translation project.
24679 * po/ru.po: Update Russian translation from translation project.
24680
246812013-07-24 David S. Miller <davem@davemloft.net>
24682
24683 * po/libc.pot: Update.
24684
246852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24686
24687 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24688 variable page size.
24689 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24690 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24691 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24692
246932013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24694
24695 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24696
246972013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24698 Andreas Schwab <schwab@suse.de>
24699 Roland McGrath <roland@hack.frob.com>
24700 Joseph Myers <joseph@codesourcery.com>
24701 Carlos O'Donell <carlos@redhat.com>
24702
24703 [BZ #15755]
24704 * config.h.in: Define HAVE_PT_CHOWN.
24705 * config.make.in (build-pt-chown): New variable.
24706 * configure.in (--enable-pt_chown): New configure option.
24707 * configure: Regenerate.
24708 * login/Makefile: Include Makeconfig. Build pt_chown only if
24709 build-pt-chown is enabled.
24710 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24711 pt_chown to fix pty ownership.
24712 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24713 CLOSE_ALL_FDS.
24714 * manual/install.texi (Configuring and compiling): Mention
24715 --enable-pt_chown. Add @findex for grantpt.
24716 * INSTALL: Regenerate.
24717
247182013-07-20 David S. Miller <davem@davemloft.net>
24719
24720 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24721 difference between 32-bit and 64-bit.
24722
247232013-07-15 Carlos O'Donell <carlos@redhat.com>
24724
24725 [BZ #15711]
24726 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24727 Avoid system header dependency with -ffreestanding.
24728 ($(objpfx)bits/syscall%d): Likewise.
24729
247302013-07-13 David S. Miller <davem@davemloft.net>
24731
24732 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24733 underflows from atanl/atan2l due to bug 15319.
24734 (casinh_test_data): Likewise.
24735
247362013-07-07 David S. Miller <davem@davemloft.net>
24737
24738 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24739
247402013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24741
24742 * sysdeps/i386/fpu/libm-test-ulps: Update.
24743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744
247452013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24746
24747 * configure.in (--enable-lock-elision): Fix message text.
24748 * INSTALL: Regenerate.
24749 * configure: Regenerate.
24750
247512013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24752
24753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24754
247552013-07-03 Andreas Jaeger <aj@suse.de>
24756
24757 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24758 define.
24759 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24760 (ptrace_peeksiginfo_args): Add.
24761 (__ptrace_peeksiginfo_flags): Add.
24762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24765
247662013-07-03 Allan McRae <allan@archlinux.org>
24767
24768 * sysdeps/i386/fpu/libm-test-ulps: Update.
24769
247702013-07-02 David S. Miller <davem@davemloft.net>
24771
24772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24773
247742013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24775
24776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24777
247782013-07-02 Joseph Myers <joseph@codesourcery.com>
24779
24780 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24782
247832013-07-02 Andi Kleen <ak@linux.intel.com>
24784
24785 * config.h.in (ENABLE_LOCK_ELISION): Add.
24786 * configure.in (--enable-lock-elision): Add option.
24787 * manual/install.texi: Document --enable lock elision.
24788 * configure: Regenerate
24789 * INSTALL: Regenerate.
24790
247912013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24792
24793 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24794 SSE4.2 strcasecmp for libc.a.
24795 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24796
247972013-07-02 Joseph Myers <joseph@codesourcery.com>
24798
24799 [BZ #13304]
24800 * soft-fp/op-common.h (_FP_FMA): New macro.
24801 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24802 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24803 (_FP_MUL_MEAT_1_imm): ... here.
24804 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24805 (_FP_MUL_MEAT_1_wide): ... here.
24806 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24807 (_FP_MUL_MEAT_1_hard): ... here.
24808 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24809 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24810 (_FP_MUL_MEAT_2_wide): ... here.
24811 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24812 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24813 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24814 (_FP_MUL_MEAT_2_gmp): ... here.
24815 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24816 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24817 (_FP_MUL_MEAT_4_wide): ... here.
24818 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24819 (_FP_MUL_MEAT_4_gmp): ... here.
24820 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24821 (_FP_WFRACBITS_DW_S): Likewise.
24822 (_FP_WFRACXBITS_DW_S): Likewise.
24823 (_FP_HIGHBIT_DW_S): Likewise.
24824 (FP_FMA_S): Likewise.
24825 (_FP_FRAC_HIGH_DW_S): Likewise.
24826 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24827 (_FP_WFRACBITS_DW_D): Likewise.
24828 (_FP_WFRACXBITS_DW_D): Likewise.
24829 (_FP_HIGHBIT_DW_D): Likewise.
24830 (FP_FMA_D): Likewise.
24831 (_FP_FRAC_HIGH_DW_D): Likewise.
24832 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24833 (_FP_WFRACBITS_DW_E): Likewise.
24834 (_FP_WFRACXBITS_DW_E): Likewise.
24835 (_FP_HIGHBIT_DW_E): Likewise.
24836 (FP_FMA_E): Likewise.
24837 (_FP_FRAC_HIGH_DW_E): Likewise.
24838 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24839 (_FP_WFRACBITS_DW_Q): Likewise.
24840 (_FP_WFRACXBITS_DW_Q): Likewise.
24841 (_FP_HIGHBIT_DW_Q): Likewise.
24842 (FP_FMA_Q): Likewise.
24843 (_FP_FRAC_HIGH_DW_Q): Likewise.
24844 * soft-fp/fmasf4.c: New file.
24845 * soft-fp/fmadf4.c: Likewise.
24846 * soft-fp/fmatf4.c: Likewise.
24847
248482013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24849
24850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24851 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24852 Silvermont.
24853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24854 macro.
24855 (index_Slow_SSE4_2): Likewise.
24856 (index_Prefer_PMINUB_for_stringop): Likewise.
24857 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24858 bit_Slow_SSE4_2 is set.
24859 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24860 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24861
248622013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24863
24864 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24865 rtld_global._dl_hwcap2.
24866 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24867 POWER8.
24868 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24869 POWER8 feature descriptions defined in _dl_hwcap2.
24870 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24871 string handling for POWER8 feature bits.
24872 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24873 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24874 _dl_powerpc_cap_flags.
24875 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24876 * sysdeps/powerpc/rtld-global-offsets.sym
24877 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24878 _dl_hwcap2 in the rtld_global_ro structure.
24879
248802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24881
24882 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24883 hardware capabilities in support of AT_HWCAP2.
24884 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24885 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24886 GLRO(dl_hwcap2).
24887 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24888 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24889 explicitly the unknown a_type display mechanism is used.
24890 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24891 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24892 struct member.
24893 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24894 to macro prototype for AT_HWCAP2 support.
24895 * sysdeps/i386/dl-procinfo.h: Likewise.
24896 * sysdeps/s390/dl-procinfo.h: Likewise.
24897 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24898 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24899 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24900 return -1 for unknown a_type display fallback.
24901 * sysdeps/sparc/dl-procinfo.h: Likewise.
24902 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24903 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24904
249052013-06-28 Joseph Myers <joseph@codesourcery.com>
24906
24907 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24908 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24909
249102013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24911
24912 [BZ #12492]
24913 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24914 mprotect making __stack_prot writable.
24915
249162013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24917 Joseph Myers <joseph@codesourcery.com>
24918
24919 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24920 as being properly aligned.
24921
249222013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24923
24924 * dlfcn/modstatic5.c: New file.
24925 * dlfcn/tststatic5.c: New file.
24926 * dlfcn/Makefile (tests): Add tststatic5.
24927 (tests-static): Likewise.
24928 (modules-names): Add modstatic5.
24929 (tststatic5-ENV): New variable.
24930 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24931
24932 [BZ #15022]
24933 * elf/dl-support.c (_dl_main_map): New variable.
24934 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24935 (_dl_nns, _dl_load_adds): Set to 1.
24936 (_dl_initial_searchlist): Refer to _dl_main_map.
24937 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24938 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24939 call to _dl_get_origin.
24940 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24941 around call_map.
24942 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24943 * dlfcn/modstatic3.c: New file.
24944 * dlfcn/tststatic3.c: New file.
24945 * dlfcn/tststatic4.c: New file.
24946 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24947 (tests-static): Likewise.
24948 (modules-names): Add modstatic3.
24949 (tststatic3-ENV, tststatic4-ENV): New variables.
24950 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24951 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24952
249532013-06-26 Joseph Myers <joseph@codesourcery.com>
24954
24955 * configure.in (CC): Require GCC version 4.4 or later.
24956 * configure: Regenerated.
24957 * manual/install.texi (Tools for Compilation): Update GCC version
24958 requirement.
24959 * INSTALL: Regenerated.
24960
249612013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24962
24963 [BZ #15674]
24964 * string/test-memcmp.c (check2): New.
24965 (main): Call check2.
24966
24967 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24968
249692013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24970
24971 [BZ #15022]
24972 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24973 over to...
24974 (dl_open_worker) [!SHARED]: ... here.
24975
249762013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24977
24978 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24979
249802013-06-25 Richard Henderson <rth@redhat.com>
24981
24982 * locale/programs/locarchive.c: Include <libc-internal.h>
24983
249842013-06-25 Joseph Myers <joseph@codesourcery.com>
24985
24986 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24987 trailing whitespace removed.
24988
249892013-06-24 Mike Frysinger <vapier@gentoo.org>
24990
24991 [BZ #10283]
24992 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24993 * locale/programs/locarchive.c: Include libc-mmap.h.
24994 (prepare_address_space): Take two new outputs (the mmap base and len).
24995 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24996 values.
24997 (create_archive): Declare new mmap base and len values for
24998 prepare_address_space, and store the result in ah.
24999 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25000 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25001 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25002 Declare new mmap base and len values for
25003 prepare_address_space, and store the result in new_ah.
25004 (open_archive): Declare new mmap base and len values for
25005 prepare_address_space, and store the result in ah.
25006 (close_archive): If ah->mmap_base is not NULL, use that and
25007 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25008 * sysdeps/generic/libc-mmap.h: New file.
25009
250102013-06-24 Mike Frysinger <vapier@gentoo.org>
25011
25012 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25013 (ALIGN_UP): Likewise.
25014 (PTR_ALIGN_DOWN): Likewise.
25015 (PTR_ALIGN_UP): Likewise.
25016
250172013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25018
25019 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25020 entry mapped to PPC_PLATFORM_POWER8.
25021 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25022 POWER8.
25023 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25024 (_dl_string_platform): Add case for exporting platform position for
25025 POWER8.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25027 search path to sysdeps/powerpc/powerpc32/power8 directory.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25029 search path to sysdeps/powerpc/powerpc64/power8 directory.
25030 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25031 power7 directories.
25032 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25033 power7 directories.
25034
250352013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25036
25037 * INSTALL: Regenerate.
25038
25039 * nscd/connections.c (nscd_init): Fix comment.
25040
250412013-06-22 Joseph Myers <joseph@codesourcery.com>
25042
25043 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25044
25045 [BZ #15667]
25046 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25047 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25048
250492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25050
25051 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25052 DL_DST_REQ_STATIC.
25053 (DL_DST_REQ_STATIC): Remove macro.
25054
250552013-06-21 Joseph Myers <joseph@codesourcery.com>
25056
25057 [BZ #7006]
25058 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25059 with a shift of 0 bits.
25060
250612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25062
25063 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25064 $(tststatic-ENV).
25065
250662013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25067
25068 [BZ #15655]
25069 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25070
250712013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072
25073 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25074 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25075 accepts -fno-tree-loop-distribute-patterns.
25076 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25077 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25078 recursive call.
25079 * string/memset.c (memset): Likewise.
25080 * string/test-memmove.c (simple_memmove): Disable loop transformation
25081 to library calls.
25082 * string/test-memset.c (simple_memset): Likewise.
25083 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25084 * benchtests/bench-memset.c (simple_memset): Likewise.
25085 * configure: Regenerated.
25086
250872013-06-20 Joseph Myers <joseph@codesourcery.com>
25088
25089 * math/test-misc.c (main): Ignore fesetround failure when failures
25090 of subsequent rounding tests would be ignored.
25091
25092 [BZ #15654]
25093 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25094 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25095 * math/fegetenv.c (__fegetenv): Return 0.
25096 * math/fegetexcept.c (fegetexcept): Return 0.
25097 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25098 FE_TONEAREST.
25099 * math/feholdexcpt.c (feholdexcept): Return 0.
25100 * math/fesetenv.c (__fesetenv): Return 0.
25101 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25102 argument FE_TONEAREST.
25103 * math/feupdateenv.c (__feupdateenv): Return 0.
25104 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25105
251062013-06-18 Roland McGrath <roland@hack.frob.com>
25107
25108 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25109 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25110 ($(objpfx)rtld-%.os rules): Use them.
25111
251122013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25113
25114 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25115 fields.
25116
251172013-06-17 Roland McGrath <roland@hack.frob.com>
25118
25119 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25120 length of target pattern, then descending length of dependency pattern.
25121 * configure.in (AWK): Require gawk 3.1.2 or newer.
25122 * manual/install.texi (Tools for Compilation): Say that we do.
25123 * configure: Regenerated.
25124
25125 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25126 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25127 * scripts/sysd-rules.awk: ... this new script.
25128 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25129 than a glob-style pattern.
25130
251312013-06-17 Joseph Myers <joseph@codesourcery.com>
25132
25133 * math/test-misc.c (main): Do not treat incorrectly rounded
25134 conversions as failure unless ROUNDING_TESTS passes.
25135
251362013-06-15 Joseph Myers <joseph@codesourcery.com>
25137
25138 [BZ #15631]
25139 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25140 restore exception state around main square root computation, then
25141 check for inexactness explicitly.
25142
25143 * math/libm-test.inc (fma_test_data): Add another test.
25144
251452013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25146
25147 * manual/threads.texi (Non-POSIX Extensions): New document
25148 node. Document pthread_getattr_default_np and
25149 pthread_setattr_default_np.
25150
25151 * Versions.def (libpthread): Add GLIBC_2.18.
25152 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25154 Likewise.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25156 Likewise.
25157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25158 Likewise.
25159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25160 Likewise.
25161 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25162 Likewise.
25163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25164 Likewise.
25165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25166 Likewise.
25167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25168 Likewise.
25169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25170 Likewise.
25171
251722013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25173
25174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25175 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25176
251772013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25178 H.J. Lu <hjl.tools@gmail.com>
25179
25180 [BZ #15627]
25181 * sysdeps/x86_64/rtld-memset.c: Remove file.
25182 * sysdeps/x86_64/rtld-memset.S: New file.
25183
251842013-06-14 Joseph Myers <joseph@codesourcery.com>
25185
25186 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25187 (test_in_one_mode): Take arguments for whether the rounding mode
25188 is supported for each floating-point type.
25189 (do_test): Pass new arguments to test_in_one_mode using
25190 ROUNDING_TESTS.
25191
251922013-06-13 Roland McGrath <roland@hack.frob.com>
25193
25194 * posix/tst-waitid.c (do_test): Distinguish different instances of
25195 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25196 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25197 before entering the kernel for waitpid.
25198
251992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25200
25201 * NEWS: Fix note on clock function precision. Text by Roland
25202 McGrath.
25203
252042013-06-13 Roland McGrath <roland@hack.frob.com>
25205
25206 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25207 it into place only when and if the sanity check passes.
25208
252092013-06-13 Joseph Myers <joseph@codesourcery.com>
25210
25211 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25212 output for whether conversion result is exact. Take argument
25213 indicating whether type is IBM long double.
25214 (round_for_all): Change need_exact field to ibm_ld.
25215 * stdlib/tst-strtod-round.c (struct exactness): New type.
25216 (struct test): Change bool ld_ok field to struct exactness exact.
25217 (TEST): Update all definitions for change to field.
25218 (tests): Regenerate array contents.
25219 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25220 field value. Check for IBM long double here.
25221 (do_test): Update calls to test_in_one_mode.
25222
252232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25224
25225 [BZ #12515]
25226 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25227 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25228
252292013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25230
25231 [BZ #15605]
25232 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25233 generated by the compiler on loop optimizations.
25234 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25235 general definitions.
25236
252372013-06-12 Joseph Myers <joseph@codesourcery.com>
25238
25239 * math/bug-nextafter.c: Include <math-tests.h>.
25240 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25241 the relevant type.
25242 * math/bug-nexttoward.c: Include <math-tests.h>.
25243 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25244 the relevant type.
25245 * math/test-misc.c: Include <math-tests.h>.
25246 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25247 the relevant type.
25248
252492013-06-12 Andreas Jaeger <aj@suse.de>
25250
25251 * po/ia.po: Update Interlingua translation from translation
25252 project.
25253
252542013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25255
25256 * include/fenv.h: Include stdbool.h.
25257 (struct rm_ctx): New structure.
25258 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25259 Define macro.
25260 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25261 (SET_RESTORE_ROUNDF): Likewise.
25262 (SET_RESTORE_ROUNDL): Likewise.
25263 (SET_RESTORE_ROUND_NOEX): Likewise.
25264 (SET_RESTORE_ROUND_NOEXF): Likewise.
25265 (SET_RESTORE_ROUND_NOEXL): Likewise.
25266 (SET_RESTORE_ROUND_53BIT): Likewise.
25267 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25268 (libc_feresetround_noexf_ctx): Likewise.
25269 (libc_feresetround_noexl_ctx): Likewise.
25270 (libc_feholdsetround_53bit_ctx): Likewise.
25271 (libc_feresetround_53bit_ctx): Likewise.
25272 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25273 (libc_feholdexcept_setround_sse_ctx): New function.
25274 (libc_fesetenv_sse_ctx): Likewise.
25275 (libc_feupdateenv_sse_ctx): Likewise.
25276 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25277 (libc_feholdexcept_setround_387_ctx): Likewise.
25278 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25279 (libc_feholdsetround_387_prec_ctx): Likewise.
25280 (libc_feholdsetround_387_ctx): Likewise.
25281 (libc_feholdsetround_387_53bit_ctx): Likewise.
25282 (libc_feholdsetround_sse_ctx): Likewise.
25283 (libc_feresetround_sse_ctx): Likewise.
25284 (libc_feresetround_387_ctx): Likewise.
25285 (libc_feupdateenv_387_ctx): Likewise.
25286 (libc_feholdexcept_setroundf_ctx): Define macro.
25287 (libc_fesetenvf_ctx): Likewise.
25288 (libc_feupdateenvf_ctx): Likewise.
25289 (libc_feholdsetroundf_ctx): Likewise.
25290 (libc_feresetroundf_ctx): Likewise.
25291 (libc_feholdexcept_setround_ctx): Likewise.
25292 (libc_fesetenv_ctx): Likewise.
25293 (libc_feupdateenv_ctx): Likewise.
25294 (libc_feholdsetround_ctx): Likewise.
25295 (libc_feresetround_ctx): Likewise.
25296 (libc_feholdexcept_setroundl_ctx): Likewise.
25297 (libc_feupdateenvl_ctx): Likewise.
25298 (libc_feholdsetroundl_ctx): Likewise.
25299 (libc_feresetroundl_ctx): Likewise.
25300 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25301 (libc_feresetround_53bit_ctx): Likewise.
25302
253032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25304
25305 * locale/iso-639.def: Convert to UTF-8.
25306
253072013-06-11 Joseph Myers <joseph@codesourcery.com>
25308
25309 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25310 (EXCEPTION_TESTS_double): Likewise.
25311 (EXCEPTION_TESTS_long_double): Likewise.
25312 (EXCEPTION_TESTS): Likewise.
25313 * math/libm-test.inc (test_exceptions): Only test exceptions if
25314 EXCEPTION_TESTS (FLOAT).
25315
253162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25317
25318 * benchtests/Makefile (string-bench): Add strcpy_chk and
25319 stpcpy_chk.
25320 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25321 * benchtests/bench-stpcpy_chk.c: New file.
25322 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25323 * benchtests/bench-strcpy_chk.c: New file.
25324 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25325 code.
25326 (do_test): Likewise.
25327
253282013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25329
25330 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25331 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25332 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25333 with tabs where appropriate.
25334 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25335 dl-procinfo.h.
25336 [PPC_PLATFORM_PPC440]: Likewise.
25337 [PPC_PLATFORM_PPC464]: Likewise.
25338 [PPC_PLATFORM_PPC476]: Likewise.
25339 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25340 ppc464, and ppc476 platform strings merging from ports/
25341 dl-procinfo.h.
25342
253432013-06-11 Andreas Schwab <schwab@suse.de>
25344
25345 [BZ #14991]
25346 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25347 (from_ucs4_idx): Regenerate.
25348 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25349 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25350 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25351 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25352 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25353 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25354 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25355 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25356 from FROM_LOOP and TO_LOOP specific macros.
25357 (BODY): Handle combining characters.
25358 * iconvdata/BIG5HKSCS.irreversible: Update.
25359 * iconvdata/BIG5HKSCS.precomposed: New file.
25360 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25361 characters.
25362 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25363
253642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25365
25366 * include/sys/time.h: Fix indentation and add copyright header.
25367
25368 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25369 (do_test): Likewise.
25370 * string/test-memchr.c (do_one_test): Likewise.
25371 (do_test): Likewise.
25372 * string/test-memcmp.c (do_one_test): Likewise.
25373 (do_test): Likewise.
25374 * string/test-memcpy.c (do_one_test): Likewise.
25375 (do_test): Likewise.
25376 * string/test-memmem.c (do_one_test): Likewise.
25377 (do_test): Likewise.
25378 (do_random_tests): Likewise.
25379 * string/test-memmove.c (do_one_test): Likewise.
25380 (do_test): Likewise.
25381 * string/test-memset.c (do_one_test): Likewise.
25382 (do_test): Likewise.
25383 * string/test-rawmemchr.c (do_one_test): Likewise.
25384 (do_test): Likewise.
25385 * string/test-strcasecmp.c (do_one_test): Likewise.
25386 (do_test): Likewise.
25387 * string/test-strcasestr.c (do_one_test): Likewise.
25388 (do_test): Likewise.
25389 * string/test-strcat.c (do_one_test): Likewise.
25390 (do_test): Likewise.
25391 * string/test-strchr.c (do_one_test): Likewise.
25392 (do_test): Likewise.
25393 * string/test-strcmp.c (do_one_test): Likewise.
25394 (do_test): Likewise.
25395 * string/test-strcpy.c (do_one_test): Likewise.
25396 (do_test): Likewise.
25397 * string/test-string.h: Likewise.
25398 (test_init): Likewise.
25399 * string/test-strlen.c (do_one_test): Likewise.
25400 (do_test): Likewise.
25401 * string/test-strncasecmp.c (do_one_test): Likewise.
25402 (do_test): Likewise.
25403 * string/test-strncat.c (do_one_test): Likewise.
25404 (do_test): Likewise.
25405 * string/test-strncmp.c (do_one_test): Likewise.
25406 (do_test_limit): Likewise.
25407 (do_test): Likewise.
25408 * string/test-strncpy.c (do_one_test): Likewise.
25409 (do_test): Likewise.
25410 * string/test-strnlen.c (do_one_test): Likewise.
25411 (do_test): Likewise.
25412 * string/test-strpbrk.c (do_one_test): Likewise.
25413 (do_test): Likewise.
25414 * string/test-strrchr.c (do_one_test): Likewise.
25415 (do_test): Likewise.
25416 * string/test-strspn.c (do_one_test): Likewise.
25417 (do_test): Likewise.
25418 * string/test-strstr.c (do_one_test): Likewise.
25419 (do_test): Likewise.
25420
25421 * benchtests/Makefile (string-bench): Add string benchmarks.
25422 * benchtests/bench-bcopy-ifunc.c: New file.
25423 * benchtests/bench-bcopy.c: New file.
25424 * benchtests/bench-bzero-ifunc.c: New file.
25425 * benchtests/bench-bzero.c: New file.
25426 * benchtests/bench-memccpy-ifunc.c: New file.
25427 * benchtests/bench-memccpy.c: New file.
25428 * benchtests/bench-memchr-ifunc.c: New file.
25429 * benchtests/bench-memchr.c: New file.
25430 * benchtests/bench-memcmp-ifunc.c: New file.
25431 * benchtests/bench-memcmp.c: New file.
25432 * benchtests/bench-memmem-ifunc.c: New file.
25433 * benchtests/bench-memmem.c: New file.
25434 * benchtests/bench-memmove-ifunc.c: New file.
25435 * benchtests/bench-memmove.c: New file.
25436 * benchtests/bench-mempcpy-ifunc.c: New file.
25437 * benchtests/bench-mempcpy.c: New file.
25438 * benchtests/bench-memset-ifunc.c: New file.
25439 * benchtests/bench-memset.c: New file.
25440 * benchtests/bench-rawmemchr-ifunc.c: New file.
25441 * benchtests/bench-rawmemchr.c: New file.
25442 * benchtests/bench-stpcpy-ifunc.c: New file.
25443 * benchtests/bench-stpcpy.c: New file.
25444 * benchtests/bench-stpncpy-ifunc.c: New file.
25445 * benchtests/bench-stpncpy.c: New file.
25446 * benchtests/bench-strcasecmp-ifunc.c: New file.
25447 * benchtests/bench-strcasecmp.c: New file.
25448 * benchtests/bench-strcasestr-ifunc.c: New file.
25449 * benchtests/bench-strcasestr.c: New file.
25450 * benchtests/bench-strcat-ifunc.c: New file.
25451 * benchtests/bench-strcat.c: New file.
25452 * benchtests/bench-strchr-ifunc.c: New file.
25453 * benchtests/bench-strchr.c: New file.
25454 * benchtests/bench-strchrnul-ifunc.c: New file.
25455 * benchtests/bench-strchrnul.c: New file.
25456 * benchtests/bench-strcmp-ifunc.c: New file.
25457 * benchtests/bench-strcmp.c: New file.
25458 * benchtests/bench-strcpy-ifunc.c: New file.
25459 * benchtests/bench-strcpy.c: New file.
25460 * benchtests/bench-strcspn-ifunc.c: New file.
25461 * benchtests/bench-strcspn.c: New file.
25462 * benchtests/bench-strlen-ifunc.c: New file.
25463 * benchtests/bench-strlen.c: New file.
25464 * benchtests/bench-strncasecmp-ifunc.c: New file.
25465 * benchtests/bench-strncasecmp.c: New file.
25466 * benchtests/bench-strncat-ifunc.c: New file.
25467 * benchtests/bench-strncat.c: New file.
25468 * benchtests/bench-strncmp-ifunc.c: New file.
25469 * benchtests/bench-strncmp.c: New file.
25470 * benchtests/bench-strncpy-ifunc.c: New file.
25471 * benchtests/bench-strncpy.c: New file.
25472 * benchtests/bench-strnlen-ifunc.c: New file.
25473 * benchtests/bench-strnlen.c: New file.
25474 * benchtests/bench-strpbrk-ifunc.c: New file.
25475 * benchtests/bench-strpbrk.c: New file.
25476 * benchtests/bench-strrchr-ifunc.c: New file.
25477 * benchtests/bench-strrchr.c: New file.
25478 * benchtests/bench-strspn-ifunc.c: New file.
25479 * benchtests/bench-strspn.c: New file.
25480 * benchtests/bench-strstr-ifunc.c: New file.
25481 * benchtests/bench-strstr.c: New file.
25482
25483 * benchtests/Makefile: Disable parallel execution of targets.
25484 (string-bench): Add memcpy.
25485 (benchset): New variable to store a list of benchmark sets.
25486 (bench-func): Renamed from bench.
25487 (bench-set): New target.
25488 (bench): Depend on bench-func and bench-set.
25489 * benchtests/README: Add section on benchmark sets.
25490 * benchtests/bench-memcpy-ifunc.c: New file.
25491 * benchtests/bench-memcpy.c: New file.
25492 * benchtests/bench-string.h: New file.
25493
254942013-06-11 Andreas Schwab <schwab@suse.de>
25495
25496 [BZ #15577]
25497 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25498 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25499 values in the triple.
25500 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25501 terminator in the group key.
25502
255032013-06-11 Andreas Jaeger <aj@suse.de>
25504
25505 * po/zh_TW.po: Update Chinese (traditional) translation from
25506 translation project.
25507
255082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25509
25510 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25511 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25512 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25514 (clock_getcpuclockid): Likewise.
25515 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25516 Add weak_alias and libc_hidden_def.
25517 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25518 * rt/clock_gettime.c (clock_gettime): Rename to
25519 __clock_gettime. Add weak_alias and libc_hidden_def.
25520 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25521 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25522 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25523 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25524 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25525 Likewise.
25526 * rt/clock_settime.c (clock_settime): Rename to
25527 __clock_settime. Add weak_alias and libc_hidden_def.
25528 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25529
255302013-06-10 Joseph Myers <joseph@codesourcery.com>
25531
25532 * mach/err_boot.sub: Remove trailing whitespace.
25533 * mach/err_ipc.sub: Likewise.
25534 * mach/err_mach.sub: Likewise.
25535
25536 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25537 (ROUNDING_TESTS_double): Likewise.
25538 (ROUNDING_TESTS_long_double): Likewise.
25539 (ROUNDING_TESTS): Likewise.
25540 * math/libm-test.inc: Include <math-tests.h>.
25541 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25542 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25543 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25544 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25545
255462013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25547
25548 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25549 of assigning.
25550
255512013-06-08 Joseph Myers <joseph@codesourcery.com>
25552
25553 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25554 otherwise empty TRANS lines.
25555 * sysdeps/gnu/errlist.c: Regenerated.
25556
25557 * catgets/gencat.c (error_print): Use (void) in function
25558 definition.
25559 * crypt/crypt_util.c (__init_des): Likewise.
25560 * crypt/speeds.c (Stop): Likewise.
25561 (main): Likewise.
25562 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25563 * inet/ruserpass.c (token): Likewise.
25564 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25565 * intl/localealias.c (extend_alias_table): Likewise.
25566 * intl/plural-exp.c (init_germanic_plural): Likewise.
25567 * libio/fcloseall.c (__fcloseall): Likewise.
25568 * libio/genops.c (_IO_flush_all): Likewise.
25569 (_IO_flush_all_linebuffered): Likewise.
25570 (_IO_cleanup): Likewise.
25571 (_IO_iter_begin): Likewise.
25572 (_IO_iter_end): Likewise.
25573 (_IO_list_lock): Likewise.
25574 (_IO_list_unlock): Likewise.
25575 (_IO_list_resetlock): Likewise.
25576 * libio/getchar.c (getchar): Likewise.
25577 * libio/getchar_u.c (getchar_unlocked): Likewise.
25578 * libio/getwchar.c (getwchar): Likewise.
25579 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25580 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25581 * login/getpt.c (__getpt): Likewise.
25582 * login/tst-utmp.c (main): Likewise.
25583 * malloc/hooks.c (__malloc_check_init): Likewise.
25584 * malloc/malloc.c (__malloc_stats): Likewise.
25585 * malloc/mtrace.c (tr_break): Likewise.
25586 (mtrace): Likewise.
25587 (muntrace): Likewise.
25588 * misc/fstab.c (endfsent): Likewise.
25589 * misc/getclktck.c (__getclktck): Likewise.
25590 * misc/getdtsz.c (__getdtablesize): Likewise.
25591 * misc/gethostid.c (gethostid): Likewise.
25592 * misc/getpagesize.c (__getpagesize): Likewise.
25593 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25594 (__get_nprocs): Likewise.
25595 (__get_phys_pages): Likewise.
25596 (__get_avphys_pages): Likewise.
25597 * misc/getttyent.c (getttyent): Likewise.
25598 (setttyent): Likewise.
25599 (endttyent): Likewise.
25600 * misc/getusershell.c (getusershell): Likewise.
25601 (endusershell): Likewise.
25602 (setusershell): Likewise.
25603 (initshells): Likewise.
25604 * misc/hsearch.c (__hdestroy): Likewise.
25605 * misc/sync.c (sync): Likewise.
25606 * misc/syslog.c (closelog_internal): Likewise.
25607 (closelog): Likewise.
25608 * misc/ttyslot.c (ttyslot): Likewise.
25609 * misc/vhangup.c (vhangup): Likewise.
25610 * posix/fork.c (__fork): Likewise.
25611 * posix/getegid.c (__getegid): Likewise.
25612 * posix/geteuid.c (__geteuid): Likewise.
25613 * posix/getgid.c (__getgid): Likewise.
25614 * posix/getpid.c (__getpid): Likewise.
25615 * posix/getppid.c (__getppid): Likewise.
25616 * posix/getuid.c (__getuid): Likewise.
25617 * posix/pause.c (pause): Likewise.
25618 * posix/setpgrp.c (setpgrp): Likewise.
25619 * posix/setsid.c (__setsid): Likewise.
25620 * posix/test-vfork.c (noop): Likewise.
25621 * resolv/gethnamaddr.c (_endhtent): Likewise.
25622 (_gethtent): Likewise.
25623 (ht_endhostent): Likewise.
25624 (gethostent): Likewise.
25625 (dns_service): Likewise.
25626 * stdlib/drand48.c (drand48): Likewise.
25627 * stdlib/lrand48.c (lrand48): Likewise.
25628 * stdlib/mrand48.c (mrand48): Likewise.
25629 * stdlib/rand.c (rand): Likewise.
25630 * stdlib/random.c (__random): Likewise.
25631 * stdlib/setenv.c (clearenv): Likewise.
25632 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25633 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25634 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25635 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25636 (__get_nprocs): Likewise.
25637 (__get_phys_pages): Likewise.
25638 (__get_avphys_pages): Likewise.
25639 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25640 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25641 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25642 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25643 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25644 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25645 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25646 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25647 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25648 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25649 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25650 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25651 * sysdeps/posix/clock.c (clock): Likewise.
25652 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25653 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25654 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25655 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25656 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25658 (__get_nprocs_conf): Likewise.
25659 (__get_phys_pages): Likewise.
25660 (__get_avphys_pages): Likewise.
25661 * time/clock.c (clock): Likewise.
25662 * time/tzset.c (__tzname_max): Likewise.
25663
256642013-06-07 Joseph Myers <joseph@codesourcery.com>
25665
25666 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25667 (__bswap_32): Do not use "register".
25668 * crypt/crypt.c (_ufc_doit_r): Likewise.
25669 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25670 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25671 * gmon/gmon.c (__monstartup): Likewise.
25672 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25673 * hurd/hurdmalloc.c (more_memory): Likewise.
25674 (malloc): Likewise.
25675 (free): Likewise.
25676 (realloc): Likewise.
25677 (malloc_fork_prepare): Likewise.
25678 (malloc_fork_parent): Likewise.
25679 (malloc_fork_child): Likewise.
25680 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25681 (_svcauth_des): Likewise.
25682 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25683 * inet/inet_net.c (inet_network): Likewise.
25684 * inet/inet_netof.c (inet_netof): Likewise.
25685 * inet/rcmd.c (__validuser2_sa): Likewise.
25686 * io/fts.c (fts_open): Likewise.
25687 (fts_load): Likewise.
25688 (fts_close): Likewise.
25689 (fts_read): Likewise.
25690 (fts_children): Likewise.
25691 (fts_build): Likewise.
25692 (fts_stat): Likewise.
25693 (fts_sort): Likewise.
25694 (fts_alloc): Likewise.
25695 (fts_lfree): Likewise.
25696 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25697 (_IO_file_xsgetn): Likewise.
25698 (_IO_file_xsgetn_mmap): Likewise.
25699 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25700 (_IO_cookie_write): Likewise.
25701 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25702 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25703 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25704 * malloc/obstack.c (_obstack_begin): Likewise.
25705 (_obstack_begin_1): Likewise.
25706 (_obstack_newchunk): Likewise.
25707 (_obstack_allocated_p): Likewise.
25708 (obstack_free): Likewise.
25709 (_obstack_memory_used): Likewise.
25710 * misc/getttyent.c (getttynam): Likewise.
25711 (getttyent): Likewise.
25712 (skip): Likewise.
25713 (value): Likewise.
25714 * misc/getusershell.c (initshells): Likewise.
25715 * misc/syslog.c (__vsyslog_chk): Likewise.
25716 * misc/ttyslot.c (ttyslot): Likewise.
25717 * nis/nis_hash.c (__nis_hash): Likewise.
25718 * posix/fnmatch_loop.c (FCT): Likewise.
25719 * posix/getconf.c (print_all): Likewise.
25720 (main): Likewise.
25721 * posix/getopt.c (exchange): Likewise.
25722 * posix/glob.c (globfree): Likewise.
25723 (prefix_array): Likewise.
25724 (__glob_pattern_type): Likewise.
25725 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25726 (NS_GET32): Likewise.
25727 (NS_PUT16): Likewise.
25728 (NS_PUT32): Likewise.
25729 * resolv/gethnamaddr.c (getanswer): Likewise.
25730 (gethostbyname2): Likewise.
25731 (gethostbyaddr): Likewise.
25732 (_gethtent): Likewise.
25733 (_gethtbyname2): Likewise.
25734 (_gethtbyaddr): Likewise.
25735 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25736 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25737 * resolv/res_init.c (__res_vinit): Likewise.
25738 (net_mask): Likewise.
25739 * resolv/res_mkquery.c (outchar): Likewise.
25740 (PRINT): Likewise.
25741 * stdio-common/printf_fp.c (outchar): Likewise.
25742 (PRINT): Likewise.
25743 * stdio-common/printf_fphex.c (outchar): Likewise.
25744 (PRINT): Likewise.
25745 * stdio-common/printf_size.c (outchar): Likewise.
25746 (PRINT): Likewise.
25747 * stdio-common/test_rdwr.c (main): Likewise.
25748 * stdio-common/tfformat.c (matches): Likewise.
25749 * stdio-common/vfprintf.c (outchar): Likewise.
25750 (printf_unknown): Likewise.
25751 (buffered_vfprintf): Likewise.
25752 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25753 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25754 (ReadFile): Likewise.
25755 * stdlib/qsort.c (SWAP): Likewise.
25756 (_quicksort): Likewise.
25757 * stdlib/setenv.c (__add_to_environ): Likewise.
25758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25759 * stdlib/strtol_l.c (__strtol_l): Likewise.
25760 * stdlib/tst-strtod.c (main): Likewise.
25761 * stdlib/tst-strtol.c (main): Likewise.
25762 * stdlib/tst-strtoll.c (main): Likewise.
25763 * string/bits/string2.h (__strcmp_cc): Likewise.
25764 (__strcmp_cg): Likewise.
25765 (__strcspn_c1): Likewise.
25766 (__strcspn_c2): Likewise.
25767 (__strcspn_c3): Likewise.
25768 (__strspn_c1): Likewise.
25769 (__strspn_c2): Likewise.
25770 (__strspn_c3): Likewise.
25771 (__strsep_1c): Likewise.
25772 (__strsep_2c): Likewise.
25773 (__strsep_3c): Likewise.
25774 * string/memccpy.c (__memccpy): Likewise.
25775 * string/stpcpy.c (__stpcpy): Likewise.
25776 * string/strcmp.c (strcmp): Likewise.
25777 * string/strrchr.c (strrchr): Likewise.
25778 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25779 Likewise.
25780 * sysdeps/mach/hurd/getcwd.c
25781 (_hurd_canonicalize_directory_name_internal): Likewise.
25782 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25783 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25784 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25785 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25786 Likewise, in both definitions.
25787 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25788 definitions.
25789 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25790 64] (__bswap_64): Likewise.
25791 * time/test_time.c (main): Likewise.
25792 * time/tzfile.c (__tzfile_read): Likewise.
25793 (__tzfile_compute): Likewise.
25794 * time/tzset.c (__tzset_parse_tz): Likewise.
25795 (tzset_internal): Likewise.
25796 (compute_change): Likewise.
25797 * wcsmbs/wcscat.c (__wcscat): Likewise.
25798 * wcsmbs/wcschr.c (wcschr): Likewise.
25799 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25800 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25801 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25802 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25803 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25804 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25805 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25806 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25807 * wcsmbs/wmemset.c (wmemset): Likewise.
25808
258092013-06-06 Joseph Myers <joseph@codesourcery.com>
25810
25811 * scripts/config.guess: Update to version 2013-05-16.
25812 * scripts/config.sub: Update to version 2013-04-24.
25813 * scripts/install-sh: Update to version 2011-11-20.07.
25814 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25815 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25816
258172013-06-06 Ondřej Bílka <neleai@seznam.cz>
25818
25819 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25820 * elf/sln.c: Likewise.
25821 * hurd/hurd/ioctl.h: Likewise.
25822 * hurd/hurdmalloc.c: Likewise.
25823 * hurd/xattr.c: Likewise.
25824 * include/shlib-compat.h: Likewise.
25825 * inet/ruserpass.c: Likewise.
25826 * libio/iofgets_u.c: Likewise.
25827 * libio/iofgetws_u.c: Likewise.
25828 * locale/programs/ld-identification.c: Likewise.
25829 * locale/programs/ld-time.c: Likewise.
25830 * mach/msg-destroy.c: Likewise.
25831 * nss/nss_files/files-netgrp.c: Likewise.
25832 * resolv/res_data.c: Likewise.
25833 * soft-fp/op-1.h: Likewise.
25834 * soft-fp/op-2.h: Likewise.
25835 * soft-fp/op-4.h: Likewise.
25836 * soft-fp/op-common.h: Likewise.
25837 * stdio-common/printf_fphex.c: Likewise.
25838 * stdlib/strtod_l.c: Likewise.
25839 * sunrpc/rpc/clnt.h: Likewise.
25840 * sysdeps/generic/framestate.c: Likewise.
25841 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25842 * sysdeps/i386/bsd-setjmp.S: Likewise.
25843 * sysdeps/i386/__longjmp.S: Likewise.
25844 * sysdeps/i386/setjmp.S: Likewise.
25845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25846 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25847 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25863 * sysdeps/ieee754/support.c: Likewise.
25864 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25865 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25866 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25867 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25868 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25869 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25870 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25871 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25872 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25873 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25874 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25875 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25876 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25877 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25878 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25879 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25880 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25882
258832013-06-05 Ondřej Bílka <neleai@seznam.cz>
25884
25885 * posix/transbug.c: Remove executable mode.
25886
258872013-06-05 Joseph Myers <joseph@codesourcery.com>
25888
25889 * crypt/speeds.c: Remove trailing whitespace.
25890 * dlfcn/default.c: Likewise.
25891 * elf/ifuncdep2.c: Likewise.
25892 * elf/ifuncmain1.c: Likewise.
25893 * elf/ifuncmain1vis.c: Likewise.
25894 * elf/testobj.h: Likewise.
25895 * elf/tst-stackguard1.c: Likewise.
25896 * gmon/sys/gmon.h: Likewise.
25897 * hurd/hurdmsg.c: Likewise.
25898 * hurd/new-fd.c: Likewise.
25899 * hurd/ports-get.c: Likewise.
25900 * iconvdata/ibm1008_420.c: Likewise.
25901 * inet/tst-getni1.c: Likewise.
25902 * inet/tst-getni2.c: Likewise.
25903 * libio/ioungetc.c: Likewise.
25904 * libio/wfiledoalloc.c: Likewise.
25905 * manual/libm-err-tab.pl: Likewise.
25906 * math/w_dremf.c: Likewise.
25907 * misc/ftruncate.c: Likewise.
25908 * posix/bug-glob2.c: Likewise.
25909 * posix/tst-pcre.c: Likewise.
25910 * posix/wait4.c: Likewise.
25911 * resolv/README: Likewise.
25912 * resolv/res_debug.h: Likewise.
25913 * resolv/tst-inet_ntop.c: Likewise.
25914 * setjmp/bug269-setjmp.c: Likewise.
25915 * soft-fp/extended.h: Likewise.
25916 * soft-fp/op-1.h: Likewise.
25917 * soft-fp/op-2.h: Likewise.
25918 * soft-fp/op-4.h: Likewise.
25919 * soft-fp/op-8.h: Likewise.
25920 * soft-fp/testit.c: Likewise.
25921 * stdio-common/bug16.c: Likewise.
25922 * stdlib/random.c: Likewise.
25923 * sunrpc/rpcsvc/rquota.x: Likewise.
25924 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25925 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25926 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25927 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25928 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25929 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25930 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25931 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25932 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25934 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25953 * sysdeps/ieee754/s_lib_version.c: Likewise.
25954 * sysdeps/mach/hurd/check_fds.c: Likewise.
25955 * sysdeps/mach/hurd/getsockname.c: Likewise.
25956 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25957 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25958 * sysdeps/powerpc/bits/link.h: Likewise.
25959 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25960 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25961 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25962 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25963 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25964 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25965 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25966 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25967 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25968 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25969 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25970 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25971 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25972 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25973 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25974 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25975 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25977 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25978 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25979 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25980 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25982 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25983 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25986 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25991 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25992 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25993 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25994 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25995 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25996 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25997 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25998 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25999 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26000 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26001 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26002 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26003 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26004 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26005 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26006 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26007 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26008 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26009 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26011 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26012 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26013 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26014 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26015 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26017 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26018 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26019 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26020 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26021 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26022 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26023 * sysdeps/powerpc/sysdep.h: Likewise.
26024 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26025 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26026 * sysdeps/sh/dl-trampoline.S: Likewise.
26027 * sysdeps/sh/memset.S: Likewise.
26028 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26029 * sysdeps/sh/strlen.S: Likewise.
26030 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26031 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26032 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26033 * sysdeps/sparc/sparc32/rem.S: Likewise.
26034 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26035 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26036 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26037 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26038 * sysdeps/sparc/sparc32/urem.S: Likewise.
26039 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26040 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26041 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26042 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26044 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26045 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26046 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26047 * sysdeps/unix/bsd/times.c: Likewise.
26048 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26049 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26054 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26055 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26056 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26057 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26058 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26059 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26060 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26061 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26062 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26063 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26064 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26065 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26066 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26067 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26068 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26069 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26070 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26071 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26072 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26073 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26074 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26076 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26077 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26078 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26079 * sysdeps/x86_64/strcspn.S: Likewise.
26080
260812013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26082
26083 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26084 generated file. Regenerate properly from gen-translit.pl.
26085 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26086 locale/C-translit.h.
26087
260882013-06-05 Andreas Schwab <schwab@suse.de>
26089
26090 [BZ #15100]
26091 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26092 week as 6 instead of -1.
26093 * time/tst-strptime.c (day_tests): Add test case.
26094
260952013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26096
26097 * sysdeps/generic/math_private.h
26098 (libc_feholdexcept_setround_53bit): Replace with
26099 libc_feholdsetround_53bit.
26100 (libc_feupdateenv_53bit): Replace with
26101 libc_feresetround_53bit.
26102 (SET_RESTORE_ROUND_53BIT): Adjust.
26103
261042013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26105
26106 * string/test-strchrnul.c: Add copyright header.
26107
26108 * posix/tst-getaddrinfo4.c: Increase test timeout.
26109
261102013-06-03 Carlos O'Donell <carlos@redhat.com>
26111
26112 [BZ #15536]
26113 * math/libm-test.inc (MAX_EXP): Remove
26114 (MIN_EXP): Define.
26115 (ulp): Use MIN_EXP - MANT_DIG.
26116 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26117
261182013-05-31 Carlos O'Donell <carlos@redhat.com>
26119
26120 * po/be.po: Revert last change.
26121 * po/zh_CN.po: Likewise.
26122 * po/header.pot: Likewise.
26123
261242013-05-31 Joseph Myers <joseph@codesourcery.com>
26125
26126 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26127 link-libc-deps to empty as target-specific variable.
26128 * Makerules (link-libc-args): New variable.
26129 (libc-for-link): Likewise.
26130 (link-libc-deps): Likewise.
26131 (lib%.so): Depend on $(link-libc-deps). Link with
26132 $(link-libc-args).
26133 (build-module): Link with $(link-libc-args).
26134 (build-module-asneeded): Likewise.
26135 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26136 list of objects.
26137 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26138 target-specific variable.
26139 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26140 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26141 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26142 libc.
26143 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26144 libc and ld.so.
26145 ($(objpfx)libpcprofile.so): Likewise.
26146 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26147 libc_nonshared.a.
26148 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26149 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26150 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26151 $(link-libc-deps).
26152 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26153 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26154 * login/Makefile ($(objpfx)libutil.so): Likewise.
26155 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26156 * math/Makefile ($(objpfx)libm.so): Likewise.
26157 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26158 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26159 variable instead of depending directly on libc.
26160 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26161 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26162 $(link-libc-deps).
26163 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26164 libc.
26165 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26166 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26167 ($(objpfx)libanl.so): Likewise.
26168 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26169 ld.so.
26170 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26171 $(link-libc-deps).
26172 * sysdeps/i386/fpu/Makefile: Remove file.
26173 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26174 ($(objpfx)libm.so): Remove dependency on ld.so.
26175
261762013-05-30 Patsy Franklin <pfrankli@redhat.com>
26177
26178 [BZ # 15553]
26179 * nis/yp_xdr.c (XDRMAXNAME): Define.
26180 (XDRMAXRECORD): Define.
26181 (xdr_domainname): Use XDRMAXNAME.
26182 (xdr_mapname): Likewise.
26183 (xdr_peername): Likewise.
26184 (xdr_keydat): Use XDRMAXRECORD.
26185 (xdr_valdat): Likewise.
26186
261872013-05-30 Jeff Law <law@redhat.com>
26188
26189 [BZ #14256]
26190 * manual/errno.texi (ESTALE): Update to account for more than
26191 just NFS file systems.
26192 * sysdeps/gnu/errlist.c: Regenerated.
26193
261942013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26195
26196 [BZ #15465]
26197 * elf/Makefile (tests): Add tst-null-argv.
26198 (modules-names): Add tst-null-argv-lib.
26199 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26200 (tst-null-argv-ENV): Set environment for tst-null-argv.
26201 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26202 (RTLD_PROGNAME): New macro.
26203 * elf/tst-null-argv.c: New test case.
26204 * elf/tst-null-argv-lib.c: Library for test case.
26205 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26206 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26207 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26208 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26209 * elf/dl-init.c (call_init): Likewise.
26210 (_dl_init): Likewise.
26211 * elf/dl-load.c (print_search_path): Likewise.
26212 (_dl_map_object): Likewise.
26213 * elf/dl-lookup.c (do_lookup_x): Likewise.
26214 (add_dependency): Likewise.
26215 (_dl_lookup_symbol_x): Likewise.
26216 (_dl_debug_bindings): Likewise.
26217 * elf/dl-open.c (_dl_show_scope): Likewise.
26218 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26219 * elf/dl-version.c (match_symbol): Likewise.
26220 (_dl_check_map_versions): Likewise.
26221 * elf/rtld.c (dl_main): Likewise.
26222 (print_unresolved): Use RTLD_PROGNAME.
26223 (print_missing_version): Likewise.
26224 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26225 (elf_machine_rela): Likewise.
26226 * sysdeps/powerpc/powerpc32/dl-machine.c
26227 (__process_machine_rela): Likewise.
26228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26229 Likewise.
26230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26231 Likewise.
26232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26233 Likewise.
26234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26236 Likewise.
26237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26238 Likewise.
26239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26240
262412013-05-28 Carlos O'Donell <carlos@redhat.com>
26242
26243 * po/be.po: Add descriptive title.
26244 * po/zh_CN.po: Likewise.
26245 * po/header.pot: Likewise.
26246
262472013-05-28 Mike Frysinger <vapier@gentoo.org>
26248
26249 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26250 error message.
26251 (enlarge_archive): Likewise.
26252
262532013-05-28 Ben North <ben@redfrontdoor.org>
26254
26255 * manual/arith.texi (frexp): It is the magnitude of the return
26256 value which lies in [0.5, 1), not the return value itself.
26257
262582013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26259
26260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26261
262622013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26263
26264 * stdio-common/bug26.c (main): Correct fscanf template.
26265
26266 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26267 declare _dl_skip_args.
26268
26269 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26270 Don't declare.
26271
26272 * manual/platform.texi: Add missing @end deftypefun.
26273
262742013-05-24 Joseph Myers <joseph@codesourcery.com>
26275
26276 [BZ #15529]
26277 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26278 bit of mantissa of 2^16382.
26279 * math/libm-test.inc (hypot_test_data): Add more tests.
26280
26281 * math/libm-test.inc: Add drem and pow10 to list of tested
26282 functions.
26283 (pow10_test): New function.
26284 (drem_test): Likewise.
26285 (drem_test_tonearest): Likewise.
26286 (drem_test_towardzero): Likewise.
26287 (drem_test_downward): Likewise.
26288 (drem_test_upward): Likewise.
26289 (main): Call the new functions.
26290
26291 * math/libm-test.inc (finite_test_data): Remove.
26292 (finite_test): Run tests from isfinite_test_data.
26293 (gamma_test_data): Remove.
26294 (gamma_test): Run tests from lgamma_test_data.
26295 * sysdeps/i386/fpu/libm-test-ulps: Update.
26296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297
262982013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26299
26300 * manual/platform.texi: Add PowerPC PPR function set documentation.
26301 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26302 implementation.
26303
263042013-05-24 Carlos O'Donell <carlos@redhat.com>
26305
26306 * math/libm-test.inc (MAX_EXP): Define.
26307 (ULPDIFF): Define.
26308 (ulp): New function.
26309 (check_float_internal): Use ULPDIFF.
26310 (cpow_test): Disable failing test.
26311 (check_ulp): Test ulp() implemetnation.
26312 (main): Call check_ulp before starting tests.
26313
263142013-05-24 Joseph Myers <joseph@codesourcery.com>
26315
26316 * math/gen-libm-test.pl (generate_testfile): Do not handle
26317 START_DATA and END_DATA.
26318 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26319 END_DATA.
26320 (acos_tonearest_test_data): Likewise.
26321 (acos_towardzero_test_data): Likewise.
26322 (acos_downward_test_data): Likewise.
26323 (acos_upward_test_data): Likewise.
26324 (acosh_test_data): Likewise.
26325 (asin_test_data): Likewise.
26326 (asin_tonearest_test_data): Likewise.
26327 (asin_towardzero_test_data): Likewise.
26328 (asin_downward_test_data): Likewise.
26329 (asin_upward_test_data): Likewise.
26330 (asinh_test_data): Likewise.
26331 (atan_test_data): Likewise.
26332 (atanh_test_data): Likewise.
26333 (atan2_test_data): Likewise.
26334 (cabs_test_data): Likewise.
26335 (cacos_test_data): Likewise.
26336 (cacosh_test_data): Likewise.
26337 (carg_test_data): Likewise.
26338 (casin_test_data): Likewise.
26339 (casinh_test_data): Likewise.
26340 (catan_test_data): Likewise.
26341 (catanh_test_data): Likewise.
26342 (cbrt_test_data): Likewise.
26343 (ccos_test_data): Likewise.
26344 (ccosh_test_data): Likewise.
26345 (ceil_test_data): Likewise.
26346 (cexp_test_data): Likewise.
26347 (cimag_test_data): Likewise.
26348 (clog_test_data): Likewise.
26349 (clog10_test_data): Likewise.
26350 (conj_test_data): Likewise.
26351 (copysign_test_data): Likewise.
26352 (cos_test_data): Likewise.
26353 (cos_tonearest_test_data): Likewise.
26354 (cos_towardzero_test_data): Likewise.
26355 (cos_downward_test_data): Likewise.
26356 (cos_upward_test_data): Likewise.
26357 (cosh_test_data): Likewise.
26358 (cosh_tonearest_test_data): Likewise.
26359 (cosh_towardzero_test_data): Likewise.
26360 (cosh_downward_test_data): Likewise.
26361 (cosh_upward_test_data): Likewise.
26362 (cpow_test_data): Likewise.
26363 (cproj_test_data): Likewise.
26364 (creal_test_data): Likewise.
26365 (csin_test_data): Likewise.
26366 (csinh_test_data): Likewise.
26367 (csqrt_test_data): Likewise.
26368 (ctan_test_data): Likewise.
26369 (ctan_tonearest_test_data): Likewise.
26370 (ctan_towardzero_test_data): Likewise.
26371 (ctan_downward_test_data): Likewise.
26372 (ctan_upward_test_data): Likewise.
26373 (ctanh_test_data): Likewise.
26374 (ctanh_tonearest_test_data): Likewise.
26375 (ctanh_towardzero_test_data): Likewise.
26376 (ctanh_downward_test_data): Likewise.
26377 (ctanh_upward_test_data): Likewise.
26378 (erf_test_data): Likewise.
26379 (erfc_test_data): Likewise.
26380 (exp_test_data): Likewise.
26381 (exp_tonearest_test_data): Likewise.
26382 (exp_towardzero_test_data): Likewise.
26383 (exp_downward_test_data): Likewise.
26384 (exp_upward_test_data): Likewise.
26385 (exp10_test_data): Likewise.
26386 (exp2_test_data): Likewise.
26387 (expm1_test_data): Likewise.
26388 (fabs_test_data): Likewise.
26389 (fdim_test_data): Likewise.
26390 (finite_test_data): Likewise.
26391 (floor_test_data): Likewise.
26392 (fma_test_data): Likewise.
26393 (fma_towardzero_test_data): Likewise.
26394 (fma_downward_test_data): Likewise.
26395 (fma_upward_test_data): Likewise.
26396 (fmax_test_data): Likewise.
26397 (fmin_test_data): Likewise.
26398 (fmod_test_data): Likewise.
26399 (fpclassify_test_data): Likewise.
26400 (frexp_test_data): Likewise.
26401 (gamma_test_data): Likewise.
26402 (hypot_test_data): Likewise.
26403 (ilogb_test_data): Likewise.
26404 (isfinite_test_data): Likewise.
26405 (isgreater_test_data): Likewise.
26406 (isgreaterequal_test_data): Likewise.
26407 (isinf_test_data): Likewise.
26408 (isless_test_data): Likewise.
26409 (islessequal_test_data): Likewise.
26410 (islessgreater_test_data): Likewise.
26411 (isnan_test_data): Likewise.
26412 (isnormal_test_data): Likewise.
26413 (issignaling_test_data): Likewise.
26414 (isunordered_test_data): Likewise.
26415 (j0_test_data): Likewise.
26416 (j1_test_data): Likewise.
26417 (jn_test_data): Likewise.
26418 (ldexp_test_data): Likewise.
26419 (lgamma_test_data): Likewise.
26420 (lrint_test_data): Likewise.
26421 (lrint_tonearest_test_data): Likewise.
26422 (lrint_towardzero_test_data): Likewise.
26423 (lrint_downward_test_data): Likewise.
26424 (lrint_upward_test_data): Likewise.
26425 (llrint_test_data): Likewise.
26426 (llrint_tonearest_test_data): Likewise.
26427 (llrint_towardzero_test_data): Likewise.
26428 (llrint_downward_test_data): Likewise.
26429 (llrint_upward_test_data): Likewise.
26430 (log_test_data): Likewise.
26431 (log10_test_data): Likewise.
26432 (log1p_test_data): Likewise.
26433 (log2_test_data): Likewise.
26434 (logb_test_data): Likewise.
26435 (logb_downward_test_data): Likewise.
26436 (lround_test_data): Likewise.
26437 (llround_test_data): Likewise.
26438 (modf_test_data): Likewise.
26439 (nearbyint_test_data): Likewise.
26440 (nextafter_test_data): Likewise.
26441 (nexttoward_test_data): Likewise.
26442 (pow_test_data): Likewise.
26443 (pow_tonearest_test_data): Likewise.
26444 (pow_towardzero_test_data): Likewise.
26445 (pow_downward_test_data): Likewise.
26446 (pow_upward_test_data): Likewise.
26447 (remainder_test_data): Likewise.
26448 (remainder_tonearest_test_data): Likewise.
26449 (remainder_towardzero_test_data): Likewise.
26450 (remainder_downward_test_data): Likewise.
26451 (remainder_upward_test_data): Likewise.
26452 (remquo_test_data): Likewise.
26453 (rint_test_data): Likewise.
26454 (rint_tonearest_test_data): Likewise.
26455 (rint_towardzero_test_data): Likewise.
26456 (rint_downward_test_data): Likewise.
26457 (rint_upward_test_data): Likewise.
26458 (round_test_data): Likewise.
26459 (scalb_test_data): Likewise.
26460 (scalbn_test_data): Likewise.
26461 (scalbln_test_data): Likewise.
26462 (signbit_test_data): Likewise.
26463 (sin_test_data): Likewise.
26464 (sin_tonearest_test_data): Likewise.
26465 (sin_towardzero_test_data): Likewise.
26466 (sin_downward_test_data): Likewise.
26467 (sin_upward_test_data): Likewise.
26468 (sincos_test_data): Likewise.
26469 (sinh_test_data): Likewise.
26470 (sinh_tonearest_test_data): Likewise.
26471 (sinh_towardzero_test_data): Likewise.
26472 (sinh_downward_test_data): Likewise.
26473 (sinh_upward_test_data): Likewise.
26474 (sqrt_test_data): Likewise.
26475 (tan_test_data): Likewise.
26476 (tan_tonearest_test_data): Likewise.
26477 (tan_towardzero_test_data): Likewise.
26478 (tan_downward_test_data): Likewise.
26479 (tan_upward_test_data): Likewise.
26480 (tanh_test_data): Likewise.
26481 (tgamma_test_data): Likewise.
26482 (trunc_test_data): Likewise.
26483 (y0_test_data): Likewise.
26484 (y1_test_data): Likewise.
26485 (yn_test_data): Likewise.
26486 (significand_test_data): Likewise.
26487
26488 * math/gen-libm-test.pl (@functions): Remove variable.
26489 (generate_testfile): Don't handle START and END lines.
26490 * math/libm-test.inc (START): New macro.
26491 (END): Likewise.
26492 (END_COMPLEX): Likewise.
26493 (acos_test): Use END macro without arguments.
26494 (acos_test_tonearest): Likewise.
26495 (acos_test_towardzero): Likewise.
26496 (acos_test_downward): Likewise.
26497 (acos_test_upward): Likewise.
26498 (acosh_test): Likewise.
26499 (asin_test): Likewise.
26500 (asin_test_tonearest): Likewise.
26501 (asin_test_towardzero): Likewise.
26502 (asin_test_downward): Likewise.
26503 (asin_test_upward): Likewise.
26504 (asinh_test): Likewise.
26505 (atan_test): Likewise.
26506 (atanh_test): Likewise.
26507 (atan2_test): Likewise.
26508 (cabs_test): Likewise.
26509 (cacos_test): Use END_COMPLEX macro without arguments.
26510 (cacosh_test): Likewise.
26511 (carg_test): Use END macro without arguments.
26512 (casin_test): Use END_COMPLEX macro without arguments.
26513 (casinh_test): Likewise.
26514 (catan_test): Likewise.
26515 (catanh_test): Likewise.
26516 (cbrt_test): Use END macro without arguments.
26517 (ccos_test): Use END_COMPLEX macro without arguments.
26518 (ccosh_test): Likewise.
26519 (ceil_test): Use END macro without arguments.
26520 (cexp_test): Use END_COMPLEX macro without arguments.
26521 (cimag_test): Use END macro without arguments.
26522 (clog_test): Use END_COMPLEX macro without arguments.
26523 (clog10_test): Likewise.
26524 (conj_test): Likewise.
26525 (copysign_test): Use END macro without arguments.
26526 (cos_test): Likewise.
26527 (cos_test_tonearest): Likewise.
26528 (cos_test_towardzero): Likewise.
26529 (cos_test_downward): Likewise.
26530 (cos_test_upward): Likewise.
26531 (cosh_test): Likewise.
26532 (cosh_test_tonearest): Likewise.
26533 (cosh_test_towardzero): Likewise.
26534 (cosh_test_downward): Likewise.
26535 (cosh_test_upward): Likewise.
26536 (cpow_test): Use END_COMPLEX macro without arguments.
26537 (cproj_test): Likewise.
26538 (creal_test): Use END macro without arguments.
26539 (csin_test): Use END_COMPLEX macro without arguments.
26540 (csinh_test): Likewise.
26541 (csqrt_test): Likewise.
26542 (ctan_test): Likewise.
26543 (ctan_test_tonearest): Likewise.
26544 (ctan_test_towardzero): Likewise.
26545 (ctan_test_downward): Likewise.
26546 (ctan_test_upward): Likewise.
26547 (ctanh_test): Likewise.
26548 (ctanh_test_tonearest): Likewise.
26549 (ctanh_test_towardzero): Likewise.
26550 (ctanh_test_downward): Likewise.
26551 (ctanh_test_upward): Likewise.
26552 (erf_test): Use END macro without arguments.
26553 (erfc_test): Likewise.
26554 (exp_test): Likewise.
26555 (exp_test_tonearest): Likewise.
26556 (exp_test_towardzero): Likewise.
26557 (exp_test_downward): Likewise.
26558 (exp_test_upward): Likewise.
26559 (exp10_test): Likewise.
26560 (exp2_test): Likewise.
26561 (expm1_test): Likewise.
26562 (fabs_test): Likewise.
26563 (fdim_test): Likewise.
26564 (finite_test): Likewise.
26565 (floor_test): Likewise.
26566 (fma_test): Likewise.
26567 (fma_test_towardzero): Likewise.
26568 (fma_test_downward): Likewise.
26569 (fma_test_upward): Likewise.
26570 (fmax_test): Likewise.
26571 (fmin_test): Likewise.
26572 (fmod_test): Likewise.
26573 (fpclassify_test): Likewise.
26574 (frexp_test): Likewise.
26575 (gamma_test): Likewise.
26576 (hypot_test): Likewise.
26577 (ilogb_test): Likewise.
26578 (isfinite_test): Likewise.
26579 (isgreater_test): Likewise.
26580 (isgreaterequal_test): Likewise.
26581 (isinf_test): Likewise.
26582 (isless_test): Likewise.
26583 (islessequal_test): Likewise.
26584 (islessgreater_test): Likewise.
26585 (isnan_test): Likewise.
26586 (isnormal_test): Likewise.
26587 (issignaling_test): Likewise.
26588 (isunordered_test): Likewise.
26589 (j0_test): Likewise.
26590 (j1_test): Likewise.
26591 (jn_test): Likewise.
26592 (ldexp_test): Likewise.
26593 (lgamma_test): Likewise.
26594 (lrint_test): Likewise.
26595 (lrint_test_tonearest): Likewise.
26596 (lrint_test_towardzero): Likewise.
26597 (lrint_test_downward): Likewise.
26598 (lrint_test_upward): Likewise.
26599 (llrint_test): Likewise.
26600 (llrint_test_tonearest): Likewise.
26601 (llrint_test_towardzero): Likewise.
26602 (llrint_test_downward): Likewise.
26603 (llrint_test_upward): Likewise.
26604 (log_test): Likewise.
26605 (log10_test): Likewise.
26606 (log1p_test): Likewise.
26607 (log2_test): Likewise.
26608 (logb_test): Likewise.
26609 (logb_test_downward): Likewise.
26610 (lround_test): Likewise.
26611 (llround_test): Likewise.
26612 (modf_test): Likewise.
26613 (nearbyint_test): Likewise.
26614 (nextafter_test): Likewise.
26615 (nexttoward_test): Likewise.
26616 (pow_test): Likewise.
26617 (pow_test_tonearest): Likewise.
26618 (pow_test_towardzero): Likewise.
26619 (pow_test_downward): Likewise.
26620 (pow_test_upward): Likewise.
26621 (remainder_test): Likewise.
26622 (remainder_test_tonearest): Likewise.
26623 (remainder_test_towardzero): Likewise.
26624 (remainder_test_downward): Likewise.
26625 (remainder_test_upward): Likewise.
26626 (remquo_test): Likewise.
26627 (rint_test): Likewise.
26628 (rint_test_tonearest): Likewise.
26629 (rint_test_towardzero): Likewise.
26630 (rint_test_downward): Likewise.
26631 (rint_test_upward): Likewise.
26632 (round_test): Likewise.
26633 (scalb_test): Likewise.
26634 (scalbn_test): Likewise.
26635 (scalbln_test): Likewise.
26636 (signbit_test): Likewise.
26637 (sin_test): Likewise.
26638 (sin_test_tonearest): Likewise.
26639 (sin_test_towardzero): Likewise.
26640 (sin_test_downward): Likewise.
26641 (sin_test_upward): Likewise.
26642 (sincos_test): Likewise.
26643 (sinh_test): Likewise.
26644 (sinh_test_tonearest): Likewise.
26645 (sinh_test_towardzero): Likewise.
26646 (sinh_test_downward): Likewise.
26647 (sinh_test_upward): Likewise.
26648 (sqrt_test): Likewise.
26649 (tan_test): Likewise.
26650 (tan_test_tonearest): Likewise.
26651 (tan_test_towardzero): Likewise.
26652 (tan_test_downward): Likewise.
26653 (tan_test_upward): Likewise.
26654 (tanh_test): Likewise.
26655 (tgamma_test): Likewise.
26656 (trunc_test): Likewise.
26657 (y0_test): Likewise.
26658 (y1_test): Likewise.
26659 (yn_test): Likewise.
26660 (significand_test): Likewise.
26661
266622013-05-24 Ondřej Bílka <neleai@seznam.cz>
26663
26664 [BZ #15381]
26665 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26666
266672013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26668
26669 [BZ #14894]
26670 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26671 __ppc_mdoio and __ppc_mdoom.
26672 * manual/platform.texi: Document new functions __ppc_yield,
26673 __ppc_mdoio and __ppc_mdoom.
26674
266752013-05-22 Carlos O'Donell <carlos@redhat.com>
26676
26677 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26678 (main): Mention "tls" pseudo-hwcap is legacy.
26679 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26680
266812013-05-22 Joseph Myers <joseph@codesourcery.com>
26682
26683 * math/gen-libm-test.pl (parse_args): Output only string of
26684 arguments as text for test name, not full call or descriptions of
26685 tests for extra outputs.
26686 (generate_testfile): Do not pass function name to parse_args.
26687 Generate this_func variable from START.
26688 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26689 field to arg_str.
26690 (struct test_ff_f_data): Likewise.
26691 (test_ff_f_data_nexttoward): Likewise.
26692 (struct test_fi_f_data): Likewise.
26693 (struct test_fl_f_data): Likewise.
26694 (struct test_if_f_data): Likewise.
26695 (struct test_fff_f_data): Likewise.
26696 (struct test_c_f_data): Likewise.
26697 (struct test_f_f1_data): Likewise. Remove field extra_name.
26698 (struct test_fF_f1_data): Likewise.
26699 (struct test_ffI_f1_data): Likewise.
26700 (struct test_c_c_data): Rename test_name field to arg_str.
26701 (struct test_cc_c_data): Likewise.
26702 (struct test_f_i_data): Likewise.
26703 (struct test_ff_i_data): Likewise.
26704 (struct test_f_l_data): Likewise.
26705 (struct test_f_L_data): Likewise.
26706 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26707 and extra2_name.
26708 (COMMON_TEST_SETUP): New macro.
26709 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26710 (COMMON_TEST_CLEANUP): Likewise.
26711 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26712 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26713 macros.
26714 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26715 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26716 macros.
26717 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26718 (RUN_TEST_fff_f): Take argument string. Call new setup and
26719 cleanup macros.
26720 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26721 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26722 macros.
26723 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26724 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26725 macros.
26726 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26727 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26728 cleanup macros.
26729 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26730 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26731 cleanup macros.
26732 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26733 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26734 cleanup macros.
26735 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26736 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26737 macros.
26738 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26739 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26740 macros.
26741 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26742 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26743 macros.
26744 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26745 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26746 cleanup macros.
26747 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26748 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26749 cleanup macros.
26750 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26751 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26752 macros.
26753 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26754 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26755 cleanup macros.
26756 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26757 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26758 macros.
26759 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26760 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26761 macros.
26762 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26763 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26764 cleanup macros.
26765 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26766
267672013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26768
26769 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26770 to _sifields.sigfault.
26771 (si_addr_lsb): Define new macro.
26772 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26774 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26775
267762013-05-03 Carlos O'Donell <carlos at redhat.com>
26777
26778 [BZ #15441]
26779 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26780 returns -1.
26781 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26782 null return -1.
26783 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26784 loading the domain.
26785
267862013-05-22 Joseph Myers <joseph@codesourcery.com>
26787
26788 * math/gen-libm-test.pl (parse_args): Do not include expected
26789 result in test name.
26790 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26791 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26792 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26793 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26794 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26796
267972013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * benchtests/Makefile: Sort function entries.
26800
26801 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26802 tanh, asinh, acosh, atanh.
26803 * benchtests/acos-inputs: New file.
26804 * benchtests/acosh-inputs: New file.
26805 * benchtests/asin-inputs: New file.
26806 * benchtests/asinh-inputs: New file.
26807 * benchtests/atanh-inputs: New file.
26808 * benchtests/cosh-inputs: New file.
26809 * benchtests/log-inputs: New file.
26810 * benchtests/sinh-inputs: New file.
26811 * benchtests/tanh-inputs: New file.
26812
268132013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26814
26815 [BZ #15339]
26816 * posix/tst-getaddrinfo4.c: New test.
26817 * posix/Makefile (tests): Add it.
26818
268192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26820
26821 [BZ #15339]
26822 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26823 when no services were used.
26824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26825 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26826
268272013-05-21 Andreas Schwab <schwab@suse.de>
26828
26829 [BZ #15014]
26830 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26831 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26832 successful.
26833 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26834 redundant variable declarations and reallocation of buffer when
26835 parsing as IPv6 address. Always set NSS status when called from
26836 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26837 buffer too small. Correct computation of needed size.
26838 * nss/Makefile (tests): Add test-digits-dots.
26839 * nss/test-digits-dots.c: New test.
26840
268412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26842
26843 * benchtests/Makefile: Remove instructions for adding
26844 benchmark tests.
26845 * benchtests/README: New file to explain how to execute and
26846 enhance the benchmark tests.
26847
268482013-05-21 Andreas Schwab <schwab@suse.de>
26849
26850 [BZ #15493]
26851 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26852 * setjmp/tst-sigsetjmp.c: New test.
26853
268542013-05-20 Ondřej Bílka <neleai@seznam.cz>
26855
26856 * sysdeps/x86_64/memset.S (memset): New implementation.
26857 (__bzero): Likewise.
26858 (__memset_tail): New function.
26859
268602013-05-20 Ondřej Bílka <neleai@seznam.cz>
26861
26862 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26863 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26864 __memcpy_sse2_unaligned ifunc selection.
26865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26866 Add memcpy-sse2-unaligned.S.
26867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26868 Add: __memcpy_sse2_unaligned.
26869
268702013-05-19 Joseph Myers <joseph@codesourcery.com>
26871
26872 [BZ #15490]
26873 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26874 math_force_eval before restoring floating-point envrionment.
26875 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26877 Likewise.
26878 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26879 <math_private.h>.
26880 (__nearbyintl): Use math_force_eval before restoring
26881 floating-point environment.
26882 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26883
26884 * math/gen-libm-test.pl (special_functions): Remove.
26885 (parse_args): Don't handle TEST_extra. Handle functions with no
26886 return value.
26887 * math/libm-test.inc (struct test_sincos_data): Replace with
26888 struct test_fFF_11_data.
26889 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26890 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26891 (sincos_test_data): Change element type to struct
26892 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26893 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26894 RUN_TEST_LOOP_sincos.
26895 * math/README.libm-test: Don't mention special handling of
26896 individual functions.
26897 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26899 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26900 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26901 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26903
26904 * math/gen-libm-test.pl (get_variable): Remove function.
26905 (parse_args): Don't show pointer parameters to call in test
26906 names. Use "extra output N" in test names for extra outputs
26907 rather than naming variables.
26908
269092013-05-18 Joseph Myers <joseph@codesourcery.com>
26910
26911 [BZ #15488]
26912 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26913 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26914 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26915 double tests.
26916 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26917 disable.
26918 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26919 check_long_double.
26920
26921 * math/gen-libm-test.pl (@tests): Remove variable.
26922 ($count): Likewise.
26923 (new_test): Remove function.
26924 (show_exceptions): New function.
26925 (special_functions): Use show_exceptions instead of new_test.
26926 (parse_args): Likewise.
26927 (generate_testfile): Pass only function name in generated call to
26928 print_max_error or print_complex_max_error.
26929 (get_ulps): Do not handle complex tests specially.
26930 (output_test): Rename to ...
26931 (get_all_ulps_for_test): ... this. Return a string rather than
26932 printing to a file. Require ulps to be present.
26933 (output_ulps): Generate arrays rather than #defines.
26934 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26935 (struct ulp_data): New type.
26936 (BUILD_COMPLEX_ULP): Remove macro.
26937 (compare_ulp_data): New function.
26938 (find_ulps): Likewise.
26939 (find_test_ulps): Likewise.
26940 (find_function_ulps): Likewise.
26941 (find_complex_function_ulps): Likewise.
26942 (print_max_error): Determine allowed ulps using
26943 find_function_ulps.
26944 (print_complex_max_error): Determine allowed ulps using
26945 find_complex_function_ulps.
26946 (check_float_internal): Determine max ulps using find_test_ulps.
26947 (check_float): Do not take max_ulp parameter. Update call to
26948 check_float_internal.
26949 (check_complex): Likewise.
26950 (check_int): Do not take max_ulp parameter.
26951 (check_long): Likewise.
26952 (check_bool): Likewise.
26953 (check_longlong): Likewise.
26954 (struct test_f_f_data): Remove max_ulp field.
26955 (struct test_ff_f_data): Likewise.
26956 (struct test_ff_f_data_nexttoward): Likewise.
26957 (struct test_fi_f_data): Likewise.
26958 (struct test_fl_f_data): Likewise.
26959 (struct test_if_f_data): Likewise.
26960 (struct test_fff_f_data): Likewise.
26961 (struct test_c_f_data): Likewise.
26962 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26963 (struct test_fF_f1_data): Likewise.
26964 (struct test_ffI_f1_data): Likewise.
26965 (struct test_c_c_data): Remove max_ulp field.
26966 (struct test_cc_c_data): Likewise.
26967 (struct test_f_i_data): Likewise.
26968 (struct test_ff_i_data): Likewise.
26969 (struct test_f_l_data): Likewise.
26970 (struct test_f_L_data): Likewise.
26971 (struct test_sincos_data): Likewise.
26972 (RUN_TEST_f_f): Do not handle ulps.
26973 (RUN_TEST_LOOP_f_f): Likewise.
26974 (RUN_TEST_2_f): Likewise.
26975 (RUN_TEST_LOOP_2_f): Likewise.
26976 (RUN_TEST_fff_f): Likewise.
26977 (RUN_TEST_LOOP_fff_f): Likewise.
26978 (RUN_TEST_c_f): Likewise.
26979 (RUN_TEST_LOOP_c_f): Likewise.
26980 (RUN_TEST_f_f1): Likewise.
26981 (RUN_TEST_LOOP_f_f1): Likewise.
26982 (RUN_TEST_fF_f1): Likewise.
26983 (RUN_TEST_LOOP_fF_f1): Likewise.
26984 (RUN_TEST_fI_f1): Likewise.
26985 (RUN_TEST_LOOP_fI_f1): Likewise.
26986 (RUN_TEST_ffI_f1): Likewise.
26987 (RUN_TEST_LOOP_ffI_f1): Likewise.
26988 (RUN_TEST_c_c): Likewise.
26989 (RUN_TEST_LOOP_c_c): Likewise.
26990 (RUN_TEST_cc_c): Likewise.
26991 (RUN_TEST_LOOP_cc_c): Likewise.
26992 (RUN_TEST_f_i): Likewise.
26993 (RUN_TEST_LOOP_f_i): Likewise.
26994 (RUN_TEST_f_i_tg): Likewise.
26995 (RUN_TEST_LOOP_f_i_tg): Likewise.
26996 (RUN_TEST_ff_i_tg): Likewise.
26997 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26998 (RUN_TEST_f_b): Likewise.
26999 (RUN_TEST_LOOP_f_b): Likewise.
27000 (RUN_TEST_f_b_tg): Likewise.
27001 (RUN_TEST_LOOP_f_b_tg): Likewise.
27002 (RUN_TEST_f_l): Likewise.
27003 (RUN_TEST_LOOP_f_l): Likewise.
27004 (RUN_TEST_f_L): Likewise.
27005 (RUN_TEST_LOOP_f_L): Likewise.
27006 (RUN_TEST_sincos): Likewise.
27007 (RUN_TEST_LOOP_sincos): Likewise.
27008
270092013-05-17 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #15480]
27012 [BZ #15485]
27013 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27014 main case of finite arguments, set rounding mode to FE_TONEAREST
27015 and discard exceptions.
27016 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27017 exceptions.
27018 (remainder_tonearest_test_data): New variable.
27019 (remainder_test_tonearest): New function.
27020 (remainder_towardzero_test_data): New variable.
27021 (remainder_test_towardzero): New function.
27022 (remainder_downward_test_data): New variable.
27023 (remainder_test_downward): New function.
27024 (remainder_upward_test_data): New variable.
27025 (remainder_test_upward): New function.
27026 (main): Call the new test functions.
27027
27028 * math/libm-test.inc (struct test_f_f1_data): Remove field
27029 extra_init.
27030 (struct test_fF_f1_data): Likewise.
27031 (struct test_ffI_f1_data): Likewise.
27032 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27033 based on value of EXTRA_EXPECTED.
27034 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27035 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27036 EXTRA_VAR based on value of EXTRA_EXPECTED.
27037 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27038 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27039 EXTRA_VAR based on value of EXTRA_EXPECTED.
27040 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27041 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27042 EXTRA_VAR based on value of EXTRA_EXPECTED.
27043 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27044 * math/gen-libm-test.pl (parse_args): Don't output initializers
27045 for extra output values.
27046
27047 * math/libm-test.inc (check_int): Expect result to be exactly
27048 equal to expected value and do not handle ulps.
27049 (check_long): Likewise.
27050 (check_longlong): Likewise.
27051
27052 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27053 exceptions.
27054 (cimag_test_data): Likewise.
27055 (conj_test_data): Likewise.
27056 (copysign_test_data): Likewise.
27057 (cproj_test_data): Likewise.
27058 (creal_test_data): Likewise.
27059 (fabs_test_data): Likewise.
27060 (fdim_test_data): Likewise.
27061 (finite_test_data): Likewise.
27062 (floor_test_data): Likewise.
27063 (fmax_test_data): Likewise.
27064 (fmin_test_data): Likewise.
27065 (fmod_test_data): Likewise.
27066 (fpclassify_test_data): Likewise.
27067 (frexp_test_data): Likewise.
27068 (ilogb_test_data): Likewise.
27069 (isfinite_test_data): Likewise.
27070 (isgreater_test_data): Likewise.
27071 (isgreaterequal_test_data): Likewise.
27072 (isinf_test_data): Likewise.
27073 (isless_test_data): Likewise.
27074 (islessequal_test_data): Likewise.
27075 (islessgreater_test_data): Likewise.
27076 (isnan_test_data): Likewise.
27077 (isnormal_test_data): Likewise.
27078 (issignaling_test_data): Likewise.
27079 (isunordered_test_data): Likewise.
27080 (ldexp_test_data): Likewise.
27081 (lrint_test_data): Likewise.
27082 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27083 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27084 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27085 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27086 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27087 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27088 test input.
27089 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27090 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27091 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27092 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27093 that test input.
27094 (lrint_downward_test_data): Test for "inexact" exceptions.
27095 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27096 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27097 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27098 test input.
27099 (lrint_upward_test_data): Test for "inexact" exceptions.
27100 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27101 test input.
27102 (llrint_test_data): Test for "inexact" exceptions.
27103 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27104 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27105 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27106 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27107 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27108 (llrint_downward_test_data): Test for "inexact" exceptions.
27109 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27110 (llrint_upward_test_data): Test for "inexact" exceptions.
27111 (logb_test_data): Likewise.
27112 (logb_downward_test_data): Likewise.
27113 (nextafter_test_data): Likewise.
27114 (nexttoward_test_data): Likewise.
27115 (remainder_test_data): Likewise.
27116 (remquo_test_data): Likewise.
27117 (scalbn_test_data): Likewise.
27118 (scalbln_test_data): Likewise.
27119 (signbit_test_data): Likewise.
27120 (sqrt_test_data): Likewise.
27121 (significand_test_data): Likewise.
27122
271232013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27124
27125 [BZ #15424]
27126 * benchtests/bench-modf.c (struct args): Mark arg0 as
27127 volatile.
27128 * scripts/bench.pl: Mark members of struct args as volatile.
27129
271302013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27131
27132 [BZ # 15497]
27133 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27134 negative infinity on POWER6 or lower.
27135 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27136
271372013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27138
27139 [BZ #15442]
27140 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27141 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27142 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27143 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27144 (_FP_SETQNAN): New macro.
27145 (_FP_SETQNAN_SEMIRAW): Likewise.
27146 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27147 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27148 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27149 (FP_EXTEND): Use _FP_FRAC_SNANP.
27150 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27151 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27152 into account.
27153 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27154 New macro.
27155 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27156 Likewise.
27157
271582013-05-16 Joseph Myers <joseph@codesourcery.com>
27159
27160 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27161 with DIVIDE_BY_ZERO_EXCEPTION.
27162 (gamma_test_data): Likewise.
27163 (lgamma_test_data): Likewise.
27164 (log_test_data): Likewise.
27165 (log10_test_data): Likewise.
27166 (log2_test_data): Likewise.
27167 (tgamma_test_data): Likewise.
27168
27169 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27170 (acos_test_tonearest): Likewise.
27171 (acos_test_towardzero): Likewise.
27172 (acos_test_downward): Likewise.
27173 (acos_test_upward): Likewise.
27174 (acosh_test): Likewise.
27175 (asin_test): Likewise.
27176 (asin_test_tonearest): Likewise.
27177 (asin_test_towardzero): Likewise.
27178 (asin_test_downward): Likewise.
27179 (asin_test_upward): Likewise.
27180 (asinh_test): Likewise.
27181 (atan_test): Likewise.
27182 (atanh_test): Likewise.
27183 (atan2_test): Likewise.
27184 (cabs_test): Likewise.
27185 (cacos_test): Likewise.
27186 (cacosh_test): Likewise.
27187 (casin_test): Likewise.
27188 (casinh_test): Likewise.
27189 (catan_test): Likewise.
27190 (catanh_test): Likewise.
27191 (cbrt_test): Likewise.
27192 (ccos_test): Likewise.
27193 (ccosh_test): Likewise.
27194 (cexp_test): Likewise.
27195 (clog_test): Likewise.
27196 (clog10_test): Likewise.
27197 (cos_test): Likewise.
27198 (cos_test_tonearest): Likewise.
27199 (cos_test_towardzero): Likewise.
27200 (cos_test_downward): Likewise.
27201 (cos_test_upward): Likewise.
27202 (cosh_test): Likewise.
27203 (cosh_test_tonearest): Likewise.
27204 (cosh_test_towardzero): Likewise.
27205 (cosh_test_downward): Likewise.
27206 (cosh_test_upward): Likewise.
27207 (cpow_test): Likewise.
27208 (csin_test): Likewise.
27209 (csinh_test): Likewise.
27210 (csqrt_test): Likewise.
27211 (ctan_test): Likewise.
27212 (ctan_test_tonearest): Likewise.
27213 (ctan_test_towardzero): Likewise.
27214 (ctan_test_downward): Likewise.
27215 (ctan_test_upward): Likewise.
27216 (ctanh_test): Likewise.
27217 (ctanh_test_tonearest): Likewise.
27218 (ctanh_test_towardzero): Likewise.
27219 (ctanh_test_downward): Likewise.
27220 (ctanh_test_upward): Likewise.
27221 (erf_test): Likewise.
27222 (erfc_test): Likewise.
27223 (exp_test): Likewise.
27224 (exp_test_tonearest): Likewise.
27225 (exp_test_towardzero): Likewise.
27226 (exp_test_downward): Likewise.
27227 (exp_test_upward): Likewise.
27228 (exp10_test): Likewise.
27229 (exp2_test): Likewise.
27230 (expm1_test): Likewise.
27231 (fmod_test): Likewise.
27232 (gamma_test): Likewise.
27233 (hypot_test): Likewise.
27234 (j0_test): Likewise.
27235 (j1_test): Likewise.
27236 (jn_test): Likewise.
27237 (lgamma_test): Likewise.
27238 (log_test): Likewise.
27239 (log10_test): Likewise.
27240 (log1p_test): Likewise.
27241 (log2_test): Likewise.
27242 (logb_test_downward): Likewise.
27243 (pow_test): Likewise.
27244 (pow_test_tonearest): Likewise.
27245 (pow_test_towardzero): Likewise.
27246 (pow_test_downward): Likewise.
27247 (pow_test_upward): Likewise.
27248 (remainder_test): Likewise.
27249 (remquo_test): Likewise.
27250 (sin_test): Likewise.
27251 (sin_test_tonearest): Likewise.
27252 (sin_test_towardzero): Likewise.
27253 (sin_test_downward): Likewise.
27254 (sin_test_upward): Likewise.
27255 (sincos_test): Likewise.
27256 (sinh_test): Likewise.
27257 (sinh_test_tonearest): Likewise.
27258 (sinh_test_towardzero): Likewise.
27259 (sinh_test_downward): Likewise.
27260 (sinh_test_upward): Likewise.
27261 (sqrt_test): Likewise.
27262 (tan_test): Likewise.
27263 (tan_test_tonearest): Likewise.
27264 (tan_test_towardzero): Likewise.
27265 (tan_test_downward): Likewise.
27266 (tan_test_upward): Likewise.
27267 (tanh_test): Likewise.
27268 (tgamma_test): Likewise.
27269 (y0_test): Likewise.
27270 (y1_test): Likewise.
27271 (yn_test): Likewise.
27272
27273 * math/gen-libm-test.pl (adjust_arg): Remove function.
27274 (special_function): Remove argument $in_func. Only handle
27275 generating output for tables of tests, not inside functions.
27276 (parse_args): Likewise.
27277 (generate_testfile): Remove variable $in_func. Update call to
27278 parse_args.
27279 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27280 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27281 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27282 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27283 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27284 (MAX_VALUE_INIT): Rename macro to max_value.
27285 (MIN_VALUE_INIT): Rename macro to min_value.
27286 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27287 (plus_zero): Remove variable.
27288 (minus_zero): Likewise.
27289 (plus_infty): Likewise.
27290 (minus_infty): Likewise.
27291 (qnan_value): Likewise.
27292 (max_value): Likewise.
27293 (min_value): Likewise.
27294 (min_subnorm_value): Likewise.
27295
272962013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27297
27298 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27299 uint64_t or uint32_t usage.
27300 * crypt/sha256-block.c: Likewise.
27301 * crypt/sha256-crypt.c: Likewise.
27302 * crypt/sha256.c: Likewise.
27303 * crypt/sha512-block.c: Likewise.
27304 * crypt/sha512-crypt.c: Likewise.
27305 * crypt/sha512.c: Likewise.
27306 * debug/backtrace-tst.c: Likewise.
27307 * debug/pcprofiledump.c: Likewise.
27308 * elf/cache.c: Likewise.
27309 * elf/dl-cache.c: Likewise.
27310 * elf/dl-misc.c: Likewise.
27311 * elf/dl-profile.c: Likewise.
27312 * elf/dl-support.c: Likewise.
27313 * elf/ldconfig.c: Likewise.
27314 * elf/sprof.c: Likewise.
27315 * iconv/dummy-repertoire.c: Likewise.
27316 * iconv/iconv_charmap.c: Likewise.
27317 * iconv/skeleton.c: Likewise.
27318 * iconvdata/8bit-generic.c: Likewise.
27319 * iconvdata/cp737.h: Likewise.
27320 * iconvdata/cp775.h: Likewise.
27321 * iconvdata/ibm1008.h: Likewise.
27322 * iconvdata/ibm1025.h: Likewise.
27323 * iconvdata/ibm1046.h: Likewise.
27324 * iconvdata/ibm1097.h: Likewise.
27325 * iconvdata/ibm1112.h: Likewise.
27326 * iconvdata/ibm1122.h: Likewise.
27327 * iconvdata/ibm1123.h: Likewise.
27328 * iconvdata/ibm1124.h: Likewise.
27329 * iconvdata/ibm1129.h: Likewise.
27330 * iconvdata/ibm1130.h: Likewise.
27331 * iconvdata/ibm1132.h: Likewise.
27332 * iconvdata/ibm1133.h: Likewise.
27333 * iconvdata/ibm1137.h: Likewise.
27334 * iconvdata/ibm1140.h: Likewise.
27335 * iconvdata/ibm1141.h: Likewise.
27336 * iconvdata/ibm1142.h: Likewise.
27337 * iconvdata/ibm1143.h: Likewise.
27338 * iconvdata/ibm1144.h: Likewise.
27339 * iconvdata/ibm1145.h: Likewise.
27340 * iconvdata/ibm1146.h: Likewise.
27341 * iconvdata/ibm1147.h: Likewise.
27342 * iconvdata/ibm1148.h: Likewise.
27343 * iconvdata/ibm1149.h: Likewise.
27344 * iconvdata/ibm1153.h: Likewise.
27345 * iconvdata/ibm1154.h: Likewise.
27346 * iconvdata/ibm1155.h: Likewise.
27347 * iconvdata/ibm1156.h: Likewise.
27348 * iconvdata/ibm1157.h: Likewise.
27349 * iconvdata/ibm1158.h: Likewise.
27350 * iconvdata/ibm1160.h: Likewise.
27351 * iconvdata/ibm1161.h: Likewise.
27352 * iconvdata/ibm1162.h: Likewise.
27353 * iconvdata/ibm1163.h: Likewise.
27354 * iconvdata/ibm1164.h: Likewise.
27355 * iconvdata/ibm1166.h: Likewise.
27356 * iconvdata/ibm1167.h: Likewise.
27357 * iconvdata/ibm12712.h: Likewise.
27358 * iconvdata/ibm1390.h: Likewise.
27359 * iconvdata/ibm1399.h: Likewise.
27360 * iconvdata/ibm16804.h: Likewise.
27361 * iconvdata/ibm4517.h: Likewise.
27362 * iconvdata/ibm4899.h: Likewise.
27363 * iconvdata/ibm4909.h: Likewise.
27364 * iconvdata/ibm4971.h: Likewise.
27365 * iconvdata/ibm5347.h: Likewise.
27366 * iconvdata/ibm803.h: Likewise.
27367 * iconvdata/ibm856.h: Likewise.
27368 * iconvdata/ibm901.h: Likewise.
27369 * iconvdata/ibm902.h: Likewise.
27370 * iconvdata/ibm9030.h: Likewise.
27371 * iconvdata/ibm9066.h: Likewise.
27372 * iconvdata/ibm921.h: Likewise.
27373 * iconvdata/ibm922.h: Likewise.
27374 * iconvdata/ibm9448.h: Likewise.
27375 * iconvdata/isiri-3342.h: Likewise.
27376 * iconvdata/jis0201.h: Likewise.
27377 * include/link.h: Likewise.
27378 * include/netdb.h: Likewise.
27379 * inet/check_native.c: Likewise.
27380 * inet/check_pf.c: Likewise.
27381 * inet/getipv4sourcefilter.c: Likewise.
27382 * inet/getnameinfo.c: Likewise.
27383 * inet/getsourcefilter.c: Likewise.
27384 * inet/htonl.c: Likewise.
27385 * inet/setipv4sourcefilter.c: Likewise.
27386 * inet/setsourcefilter.c: Likewise.
27387 * inet/test-inet6_opt.c: Likewise.
27388 * inet/tst-network.c: Likewise.
27389 * locale/C-collate.c: Likewise.
27390 * locale/C-ctype.c: Likewise.
27391 * locale/C-time.c: Likewise.
27392 * locale/C-translit.h: Likewise.
27393 * locale/loadarchive.c: Likewise.
27394 * locale/programs/3level.h: Likewise.
27395 * locale/programs/charmap.c: Likewise.
27396 * locale/programs/charmap.h: Likewise.
27397 * locale/programs/ld-address.c: Likewise.
27398 * locale/programs/ld-collate.c: Likewise.
27399 * locale/programs/ld-ctype.c: Likewise.
27400 * locale/programs/ld-identification.c: Likewise.
27401 * locale/programs/ld-measurement.c: Likewise.
27402 * locale/programs/ld-messages.c: Likewise.
27403 * locale/programs/ld-monetary.c: Likewise.
27404 * locale/programs/ld-name.c: Likewise.
27405 * locale/programs/ld-numeric.c: Likewise.
27406 * locale/programs/ld-paper.c: Likewise.
27407 * locale/programs/ld-telephone.c: Likewise.
27408 * locale/programs/ld-time.c: Likewise.
27409 * locale/programs/linereader.c: Likewise.
27410 * locale/programs/locale.c: Likewise.
27411 * locale/programs/locarchive.c: Likewise.
27412 * locale/programs/locfile.h: Likewise.
27413 * locale/programs/repertoire.c: Likewise.
27414 * locale/programs/simple-hash.c: Likewise.
27415 * locale/programs/simple-hash.h: Likewise.
27416 * malloc/memusage.c: Likewise.
27417 * malloc/memusagestat.c: Likewise.
27418 * nis/nis_defaults.c: Likewise.
27419 * nis/nis_hash.c: Likewise.
27420 * nis/nis_print.c: Likewise.
27421 * nis/nis_xdr.c: Likewise.
27422 * nscd/connections.c: Likewise.
27423 * nscd/hstcache.c: Likewise.
27424 * nscd/nscd_gethst_r.c: Likewise.
27425 * nscd/nscd_getserv_r.c: Likewise.
27426 * nscd/nscd_helper.c: Likewise.
27427 * nscd/servicescache.c: Likewise.
27428 * nss/makedb.c: Likewise.
27429 * nss/nss_db/db-XXX.c: Likewise.
27430 * nss/nss_db/db-initgroups.c: Likewise.
27431 * nss/nss_db/db-netgrp.c: Likewise.
27432 * nss/nss_files/files-network.c: Likewise.
27433 * nss/nss_files/files-parse.c: Likewise.
27434 * posix/bug-regex5.c: Likewise.
27435 * posix/fnmatch_loop.c: Likewise.
27436 * posix/regcomp.c: Likewise.
27437 * posix/regexec.c: Likewise.
27438 * posix/tst-rfc3484-2.c: Likewise.
27439 * posix/tst-rfc3484-3.c: Likewise.
27440 * posix/tst-rfc3484.c: Likewise.
27441 * resolv/nss_dns/dns-canon.c: Likewise.
27442 * resolv/nss_dns/dns-network.c: Likewise.
27443 * resolv/res_init.c: Likewise.
27444 * resolv/res_mkquery.c: Likewise.
27445 * resolv/tst-aton.c: Likewise.
27446 * stdlib/cxa_atexit.c: Likewise.
27447 * stdlib/cxa_finalize.c: Likewise.
27448 * stdlib/gen-fpioconst.c: Likewise.
27449 * stdlib/strtol_l.c: Likewise.
27450 * string/tst-endian.c: Likewise.
27451 * sunrpc/auth_des.c: Likewise.
27452 * sunrpc/clnt_udp.c: Likewise.
27453 * sunrpc/rtime.c: Likewise.
27454 * sunrpc/svcauth_des.c: Likewise.
27455 * sunrpc/xdr.c: Likewise.
27456 * sunrpc/xdr_intXX_t.c: Likewise.
27457 * sunrpc/xdr_rec.c: Likewise.
27458 * sysdeps/generic/ldconfig.h: Likewise.
27459 * sysdeps/generic/ldsodefs.h: Likewise.
27460 * sysdeps/generic/memusage.h: Likewise.
27461 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27462 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27463 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27464 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27467 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27471 * sysdeps/posix/getaddrinfo.c: Likewise.
27472 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27473 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27474 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27476 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27477 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27478 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27479 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27480 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27481 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27482 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27483 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27484 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27485 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27486 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27487 * sysdeps/x86_64/dl-tls.h: Likewise.
27488 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27489 * time/alt_digit.c: Likewise.
27490 * time/era.c: Likewise.
27491 * wcsmbs/tst-c16c32-1.c: Likewise.
27492
274932013-05-16 Joseph Myers <joseph@codesourcery.com>
27494
27495 * math/libm-test.inc (struct test_sincos_data): New type.
27496 (RUN_TEST_LOOP_sincos): New macro.
27497 (sincos_test_data): New variable.
27498 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27499
275002013-05-16 Richard Henderson <rth@redhat.com>
27501
27502 * math/atest-exp2.c (LIMB64): New macro.
27503 (CONSTSZ): New macro.
27504 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27505 (hexdig): Move ...
27506 (print_mpn_fp): ... to function scope.
27507 (read_mpn_hex): Remove.
27508 (get_log2): Remove.
27509 (exp2_mpn): Use mp_log2.
27510 (main): Use mp_exp1.
27511
275122013-05-16 Joseph Myers <joseph@codesourcery.com>
27513
27514 * math/libm-test.inc: Remove comment about not testing "inexact"
27515 exceptions.
27516 (INEXACT_EXCEPTION): New macro.
27517 (NO_INEXACT_EXCEPTION): Likewise.
27518 (INVALID_EXCEPTION_OK): Update value.
27519 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27520 (OVERFLOW_EXCEPTION_OK): Likewise.
27521 (UNDERFLOW_EXCEPTION_OK): Likewise.
27522 (IGNORE_ZERO_INF_SIGN): Likewise.
27523 (ERRNO_UNCHANGED): Likewise.
27524 (ERRNO_EDOM): Likewise.
27525 (ERRNO_ERANGE): Likewise.
27526 (test_exceptions): Handle testing "inexact" exceptions.
27527 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27528 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27529 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27530 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27531 INEXACT_EXCEPTION.
27532 (rint_towardzero_test_data): Likewise.
27533 (rint_downward_test_data): Likewise.
27534 (rint_upward_test_data): Likewise.
27535
27536 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27537 with OVERFLOW_EXCEPTION.
27538 (exp10_test_data): Likewise.
27539 (exp2_test_data): Likewise.
27540 (expm1_test_data): Likewise.
27541 (lgamma_test_data): Likewise.
27542 (pow_test_data): Likewise.
27543 (tgamma_test_data): Likewise.
27544 (yn_test_data): Remove duplicate test of overflow.
27545
27546 * math/libm-test.inc (struct test_cc_c_data): New type.
27547 (RUN_TEST_LOOP_cc_c): New macro.
27548 (cpow_test_data): New variable.
27549 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27550
27551 * math/libm-test.inc (struct test_f_L_data): New type.
27552 (RUN_TEST_LOOP_f_L): New macro.
27553 (llrint_test_data): New variable.
27554 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27555 (llrint_tonearest_test_data): New variable.
27556 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27557 (llrint_towardzero_test_data): New variable.
27558 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27559 (llrint_downward_test_data): New variable.
27560 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27561 (llrint_upward_test_data): New variable.
27562 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27563 (llround_test_data): New variable.
27564 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27565
275662013-05-13 Peter Collingbourne <pcc@google.com>
27567
27568 * math/atest-exp2.c (get_log2): Remove const attribute.
27569
275702013-05-15 Joseph Myers <joseph@codesourcery.com>
27571
27572 * math/libm-test.inc (struct test_f_l_data): New type.
27573 (RUN_TEST_LOOP_f_l): New macro.
27574 (lrint_test_data): New variable.
27575 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27576 (lrint_tonearest_test_data): New variable.
27577 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27578 (lrint_towardzero_test_data): New variable.
27579 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27580 (lrint_downward_test_data): New variable.
27581 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27582 (lrint_upward_test_data): New variable.
27583 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27584 (lround_test_data): New variable.
27585 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27586
275872013-05-15 Peter Collingbourne <pcc@google.com>
27588
27589 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27590 (EXTRACT_WORDS64) Use where appropriate.
27591 (INSERT_WORDS64) Likewise.
27592
27593 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27594 constraints with x constraints.
27595 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27596
27597 * malloc/obstack.c (_obstack_compat): Add initializer.
27598
275992013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27600
27601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27602 si_trapno and add si_addr_lsb to _sifields.sigfault.
27603 (si_trapno): Remove macro.
27604 (si_addr_lsb): Define new macro.
27605 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27606
276072013-05-15 Joseph Myers <joseph@codesourcery.com>
27608
27609 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27610 instead of TEST_f_l.
27611 (llrint_test_tonearest): Likewise.
27612 (llrint_test_towardzero): Likewise.
27613 (llrint_test_downward): Likewise.
27614 (llrint_test_upward): Likewise.
27615 (llround_test): Likewise.
27616
27617 * math/libm-test.inc (struct test_f_i_data): Add comment.
27618 (RUN_TEST_LOOP_f_b): New macro.
27619 (RUN_TEST_LOOP_f_b_tg): Likewise.
27620 (finite_test_data): New variable.
27621 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27622 (isfinite_test_data): New variable.
27623 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27624 (isinf_test_data): New variable.
27625 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27626 (isnan_test_data): New variable.
27627 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27628 (isnormal_test_data): New variable.
27629 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27630 (issignaling_test_data): New variable.
27631 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27632 (signbit_test_data): New variable.
27633 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27634
27635 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27636 with INVALID_EXCEPTION.
27637 (acosh_test_data): Likewise.
27638 (asin_test_data): Likewise.
27639 (atanh_test_data): Likewise.
27640 (fmod_test_data): Likewise.
27641 (log_test_data): Likewise.
27642 (log10_test_data): Likewise.
27643 (log2_test_data): Likewise.
27644 (pow_test_data): Likewise.
27645 (sqrt_test_data): Likewise.
27646 (y0_test_data): Likewise.
27647 (y1_test_data): Likewise.
27648 (yn_test_data): Likewise.
27649
27650 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27651 function contents.
27652
27653 * math/libm-test.inc (struct test_ff_i_data): New type.
27654 (RUN_TEST_LOOP_ff_i_tg): New macro.
27655 (isgreater_test_data): New variable.
27656 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27657 (isgreaterequal_test_data): New variable.
27658 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27659 (isless_test_data): New variable.
27660 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27661 (islessequal_test_data): New variable.
27662 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27663 (islessgreater_test_data): New variable.
27664 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27665 (isunordered_test_data): New variable.
27666 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27667
276682013-05-14 David S. Miller <davem@davemloft.net>
27669
27670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27671
276722013-05-14 Joseph Myers <joseph@codesourcery.com>
27673
27674 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27675
27676 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27677 extra_test to int.
27678 (struct test_f_i_data): Change type of max_ulp to int.
27679
27680 * math/libm-test.inc (test_ffI_f1_data): New type.
27681 (RUN_TEST_LOOP_ffI_f1): New macro.
27682 (remquo_test_data): New variable.
27683 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27684
27685 * setjmp/tst-setjmp-fp.c: New file.
27686 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27687 (link-libm): New variable.
27688 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27689
27690 * math/libm-test.inc (struct test_f_i_data): New type.
27691 (RUN_TEST_LOOP_f_i): New macro.
27692 (RUN_TEST_LOOP_f_i_tg): Likewise.
27693 (fpclassify_test_data): New variable.
27694 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27695 (ilogb_test_data): New variable.
27696 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27697
27698 * math/libm-test.inc (scalbln_test): Correct function name in END
27699 call.
27700
27701 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27702 (RUN_TEST_LOOP_fI_f1): New macro.
27703 (frexp_test_data): New variable.
27704 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27705
27706 * math/libm-test.inc (struct test_fF_f1_data): New type.
27707 (RUN_TEST_LOOP_fF_f1): New macro.
27708 (modf_test_data): New variable.
27709 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27710
27711 * math/libm-test.inc (struct test_f_f1_data): New type.
27712 (RUN_TEST_LOOP_f_f1): New macro.
27713 (gamma_test_data): New variable.
27714 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27715 (lgamma_test_data): New variable.
27716 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27717
277182013-05-13 Carlos O'Donell <carlos@redhat.com>
27719
27720 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27721 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27722 (main): Comment "tls" pseudo-hwcap.
27723
277242013-05-13 Joseph Myers <joseph@codesourcery.com>
27725
27726 * math/libm-test.inc (struct test_fl_f_data): New type.
27727 (RUN_TEST_LOOP_fl_f): New variable.
27728 (scalbln_test_data): New variable.
27729 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27730
27731 * math/libm-test.inc (struct test_fi_f_data): New type.
27732 (RUN_TEST_LOOP_fi_f): New macro.
27733 (ldexp_test_data): New variable.
27734 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27735 (scalbn_test_data): New variable.
27736 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27737
27738 * math/libm-test.inc (struct test_c_f_data): New type.
27739 (RUN_TEST_LOOP_c_f): New macro.
27740 (cabs_test_data): New variable.
27741 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27742 (carg_test_data): New variable.
27743 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27744 (cimag_test_data): New variable.
27745 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27746 (creal_test_data): New variable.
27747 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27748
27749 * math/libm-test.inc (struct test_if_f_data): New type.
27750 (RUN_TEST_LOOP_if_f): New macro.
27751 (jn_test_data): New variable.
27752 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27753 (yn_test_data): New variable.
27754 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27755
27756 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27757
277582013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27759
27760 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27761 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27762
277632013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27764
27765 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27766 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27767 (bench-deps): Add bench-timing.h.
27768 * benchtests-bench-skeleton.c: Include bench-timing.h.
27769 (main): Use TIMING_* macros instead of clock_gettime.
27770 * benchtests/bench-timing.h: New file.
27771
27772 [BZ #14582]
27773 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27774 Renamed from _LIB_VERSION.
27775 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27776
277772013-05-12 Joseph Myers <joseph@codesourcery.com>
27778
27779 * math/libm-test.inc (struct test_fff_f_data): New type.
27780 (RUN_TEST_LOOP_fff_f): New macro.
27781 (fma_test_data): New variable.
27782 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27783 (fma_towardzero_test_data): New variable.
27784 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27785 (fma_downward_test_data): New variable.
27786 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27787 (fma_upward_test_data): New variable.
27788 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27789
27790 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27791 (struct test_c_c_data): New type.
27792 (RUN_TEST_LOOP_c_c): New macro.
27793 (cacos_test_data): New variable.
27794 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27795 (cacosh_test_data): New variable.
27796 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27797 (casin_test_data): New variable.
27798 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27799 (casinh_test_data): New variable.
27800 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27801 (catan_test_data): New variable.
27802 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27803 (catanh_test_data): New variable.
27804 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27805 (ccos_test_data): New variable.
27806 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27807 (ccosh_test_data): New variable.
27808 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27809 (cexp_test_data): New variable.
27810 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27811 (clog_test_data): New variable.
27812 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27813 (clog10_test_data): New variable.
27814 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27815 (conj_test_data): New variable.
27816 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27817 (cproj_test_data): New variable.
27818 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27819 (csin_test_data): New variable.
27820 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27821 (csinh_test_data): New variable.
27822 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27823 (csqrt_test_data): New variable.
27824 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27825 (ctan_test_data): New variable.
27826 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27827 (ctan_tonearest_test_data): New variable.
27828 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27829 (ctan_towardzero_test_data): New variable.
27830 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27831 (ctan_downward_test_data): New variable.
27832 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27833 (ctan_upward_test_data): New variable.
27834 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27835 (ctanh_test_data): New variable.
27836 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27837 (ctanh_tonearest_test_data): New variable.
27838 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27839 (ctanh_towardzero_test_data): New variable.
27840 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27841 (ctanh_downward_test_data): New variable.
27842 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27843 (ctanh_upward_test_data): New variable.
27844 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27845 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27846 of BUILD_COMPLEX.
27847
27848 * math/libm-test.inc (struct test_ff_f_data): New type.
27849 (struct test_ff_f_data_nexttoward): Likewise.
27850 (RUN_TEST_LOOP_2_f): New macro.
27851 (RUN_TEST_LOOP_ff_f): Likewise.
27852 (atan2_test_data): New variable.
27853 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27854 (copysign_test_data): New variable.
27855 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27856 (fdim_test_data): New variable.
27857 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27858 (fmax_test_data): New variable.
27859 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27860 (fmin_test_data): New variable.
27861 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27862 (fmod_test_data): New variable.
27863 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27864 (hypot_test_data): New variable.
27865 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27866 (nextafter_test_data): New variable.
27867 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27868 (nexttoward_test_data): New variable.
27869 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27870 (pow_test_data): New variable.
27871 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27872 (pow_tonearest_test_data): New variable.
27873 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27874 (pow_towardzero_test_data): New variable.
27875 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27876 (pow_downward_test_data): New variable.
27877 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27878 (pow_upward_test_data): New variable.
27879 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27880 (remainder_test_data): New variable.
27881 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27882 (scalb_test_data): New variable.
27883 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27884 * sysdeps/i386/fpu/libm-test-ulps: Update.
27885
278862013-05-11 Joseph Myers <joseph@codesourcery.com>
27887
27888 * math/libm-test.inc (fma_test): Use max_value instead of local
27889 variable fltmax.
27890 (nextafter_test): Likewise.
27891
27892 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27893 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27894 (acos_downward_test_data): New variable.
27895 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27896 (acos_upward_test_data): New variable.
27897 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27898 (acosh_test_data): New variable.
27899 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27900 (asin_test_data): New variable.
27901 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27902 (asin_tonearest_test_data): New variable.
27903 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27904 (asin_towardzero_test_data): New variable.
27905 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27906 (asin_downward_test_data): New variable.
27907 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27908 (asin_upward_test_data): New variable.
27909 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27910 (asinh_test_data): New variable.
27911 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27912 (atan_test_data): New variable.
27913 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27914 (atanh_test_data): New variable.
27915 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27916 (cbrt_test_data): New variable.
27917 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27918 (ceil_test_data): New variable.
27919 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27920 (cos_test_data): New variable.
27921 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27922 (cos_tonearest_test_data): New variable.
27923 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27924 (cos_towardzero_test_data): New variable.
27925 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27926 (cos_downward_test_data): New variable.
27927 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27928 (cos_upward_test_data): New variable.
27929 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27930 (cosh_test_data): New variable.
27931 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27932 (cosh_tonearest_test_data): New variable.
27933 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27934 (cosh_towardzero_test_data): New variable.
27935 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27936 (cosh_downward_test_data): New variable.
27937 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27938 (cosh_upward_test_data): New variable.
27939 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27940 (erf_test_data): New variable.
27941 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27942 (erfc_test_data): New variable.
27943 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27944 (exp_test_data): New variable.
27945 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27946 (exp_tonearest_test_data): New variable.
27947 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27948 (exp_towardzero_test_data): New variable.
27949 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27950 (exp_downward_test_data): New variable.
27951 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27952 (exp_upward_test_data): New variable.
27953 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27954 (exp10_test_data): New variable.
27955 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27956 (exp2_test_data): New variable.
27957 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27958 (expm1_test_data): New variable.
27959 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27960 (fabs_test_data): New variable.
27961 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27962 (floor_test_data): New variable.
27963 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27964 (j0_test_data): New variable.
27965 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27966 (j1_test_data): New variable.
27967 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27968 (log_test_data): New variable.
27969 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27970 (log10_test_data): New variable.
27971 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27972 (log1p_test_data): New variable.
27973 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27974 (log2_test_data): New variable.
27975 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27976 (logb_test_data): New variable.
27977 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27978 (logb_downward_test_data): New variable.
27979 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27980 (nearbyint_test_data): New variable.
27981 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27982 (rint_test_data): New variable.
27983 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27984 (rint_tonearest_test_data): New variable.
27985 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27986 (rint_towardzero_test_data): New variable.
27987 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27988 (rint_downward_test_data): New variable.
27989 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27990 (rint_upward_test_data): New variable.
27991 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27992 (round_test_data): New variable.
27993 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27994 (sin_test_data): New variable.
27995 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27996 (sin_tonearest_test_data): New variable.
27997 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27998 (sin_towardzero_test_data): New variable.
27999 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28000 (sin_downward_test_data): New variable.
28001 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28002 (sin_upward_test_data): New variable.
28003 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28004 (sinh_test_data): New variable.
28005 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28006 (sinh_tonearest_test_data): New variable.
28007 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28008 (sinh_towardzero_test_data): New variable.
28009 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28010 (sinh_downward_test_data): New variable.
28011 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28012 (sinh_upward_test_data): New variable.
28013 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28014 (sqrt_test_data): New variable.
28015 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28016 (tan_test_data): New variable.
28017 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28018 (tan_tonearest_test_data): New variable.
28019 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28020 (tan_towardzero_test_data): New variable.
28021 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28022 (tan_downward_test_data): New variable.
28023 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28024 (tan_upward_test_data): New variable.
28025 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28026 (tanh_test_data): New variable.
28027 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28028 (tgamma_test_data): New variable.
28029 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28030 (trunc_test_data): New variable.
28031 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28032 (y0_test_data): New variable.
28033 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28034 (y1_test_data): New variable.
28035 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28036 (significand_test_data): New variable.
28037 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28038
280392013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28040
28041 [BZ #12387]
28042 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28043
280442013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28045
28046 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28047
280482013-05-10 Andreas Jaeger <aj@suse.de>
28049
28050 [BZ #15448]
28051 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28052 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28053
280542013-05-10 Joseph Myers <joseph@codesourcery.com>
28055
28056 * math/gen-libm-test.pl (adjust_arg): New function.
28057 (special_functions): Handle generating output in both functions
28058 and arrays.
28059 (parse_args): Likewise.
28060 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28061 $in_func argument to parse_args.
28062 * math/libm-test.inc (struct test_f_f_data): New type.
28063 (IF_ROUND_INIT_): New macro.
28064 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28065 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28066 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28067 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28068 (ROUND_RESTORE_): Likewise.
28069 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28070 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28071 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28072 (ROUND_RESTORE_FE_UPWARD): Likewise.
28073 (RUN_TEST_LOOP_f_f): New macro.
28074 (acos_test_data): New variable.
28075 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28076 (acos_tonearest_test_data): New variable.
28077 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28078
280792013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28080
28081 * benchtests/bench-skeleton.c (startup): Fix coding style.
28082
280832013-05-10 Joseph Myers <joseph@codesourcery.com>
28084
28085 [BZ #6809]
28086 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28087 negative infinity argument.
28088 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28089 negative infinity argument.
28090 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28091 negative infinity argument.
28092 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28093 domain errors.
28094
280952013-05-10 Florian Weimer <fweimer@redhat.com>
28096
28097 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28098 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28099 * iconv/iconv_prog.c (main): Likewise.
28100 * locale/programs/charmap-dir.c (charmap_readdir)
28101 (fopen_uncompressed): Likewise.
28102 * locale/programs/locfile.c (siblings_uncached)
28103 (write_locale_data): Use lstat64 instead of lstat.
28104 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28105 stat.
28106
281072013-05-10 Andreas Jaeger <aj@suse.de>
28108
28109 [BZ #15395]
28110 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28111 localization.
28112 Include <locale.h>.
28113
281142013-05-09 Carlos O'Donell <carlos@redhat.com>
28115
28116 * elf/dl-close.c (_dl_close_worker): Add comments.
28117
281182013-05-09 Joseph Myers <joseph@codesourcery.com>
28119
28120 [BZ #15359]
28121 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28122 high part of pi/2.
28123 (__ieee754_rem_pio2l): Update comments.
28124
28125 [BZ #15429]
28126 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28127 high part of pi/2.
28128 (__ieee754_rem_pio2l): Update comments.
28129
28130 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28131 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28132
28133 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28134 M_PI_4l.
28135
28136 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28137 (M_PI_34_LOG10El): Likewise.
28138 (M_PI2_LOG10El): Likewise.
28139 (M_PI4_LOG10El): Likewise.
28140 (M_PI_LOG10El): Likewise.
28141
281422013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28143
28144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28145
281462013-05-08 Joseph Myers <joseph@codesourcery.com>
28147
28148 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28149 (MINUS_ZERO_INIT): Likewise.
28150 (PLUS_INFTY_INIT): Likewise.
28151 (MINUS_INFTY_INIT): Likewise.
28152 (QNAN_VALUE_INIT): Likewise.
28153 (MAX_VALUE_INIT): Likewise.
28154 (MIN_VALUE_INIT): Likewise.
28155 (MIN_SUBNORM_VALUE_INIT): Likewise.
28156 (plus_zero): Initialize with PLUS_ZERO_INIT.
28157 (minus_zero): Initialize with MINUS_ZERO_INIT.
28158 (plus_infty): Initialize with PLUS_INFTY_INIT.
28159 (minus_infty): Initialize with MINUS_INFTY_INIT.
28160 (qnan_value): Initialize with QNAN_VALUE_INIT.
28161 (max_value): Initialize with MAX_VALUE_INIT.
28162 (min_value): Initialize with MIN_VALUE_INIT.
28163 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28164
28165 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28166 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28167 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28168 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28169
28170 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28171 (RUN_TEST_2_f): Likewise.
28172 (RUN_TEST_ff_f): Likewise.
28173 (RUN_TEST_fi_f): Likewise.
28174 (RUN_TEST_fl_f): Likewise.
28175 (RUN_TEST_fff_f): Likewise.
28176 (RUN_TEST_c_f): Likewise.
28177 (RUN_TEST_f_f1): Likewise.
28178 (RUN_TEST_fF_f1): Likewise.
28179 (RUN_TEST_fI_f1): Likewise.
28180 (RUN_TEST_ffI_f1): Likewise.
28181 (RUN_TEST_c_c): Likewise.
28182 (RUN_TEST_cc_c): Likewise.
28183 (RUN_TEST_f_i): Likewise.
28184 (RUN_TEST_f_i_tg): Likewise.
28185 (RUN_TEST_ff_i_tg): Likewise.
28186 (RUN_TEST_f_b): Likewise.
28187 (RUN_TEST_f_b_tg): Likewise.
28188 (RUN_TEST_f_l): Likewise.
28189 (RUN_TEST_f_L): Likewise.
28190 (RUN_TEST_sincos): Likewise.
28191 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28192 whether to show exceptions. Do not include ");\n" in return
28193 value.
28194 (special_functions): Output call to RUN_TEST_sincos instead of
28195 check_float calls. Update calls to new_test.
28196 (parse_args): Output call to single RUN_TEST_* macro instead of
28197 check_* calls and other assignments. Update calls to new_test.
28198
28199 [BZ #2546]
28200 [BZ #2560]
28201 [BZ #5159]
28202 [BZ #15426]
28203 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28204 input to result for tgamma overflow.
28205 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28206 (gamma_coeff): New variable.
28207 (NCOEFF): New macro.
28208 (gamma_positive): New function.
28209 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28210 underflow here. Use gamma_positive instead of exp (lgamma) for
28211 other arguments.
28212 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28213 (gamma_coeff): New variable.
28214 (NCOEFF): New macro.
28215 (gammaf_positive): New function.
28216 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28217 underflow here. Use gamma_positive instead of exp (lgamma) for
28218 other arguments.
28219 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28220 (gamma_coeff): New variable.
28221 (NCOEFF): New macro.
28222 (gammal_positive): New function.
28223 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28224 underflow here. Use gamma_positive instead of exp (lgamma) for
28225 other arguments.
28226 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28227 (gamma_coeff): New variable.
28228 (NCOEFF): New macro.
28229 (gammal_positive): New function.
28230 (__ieee754_gammal_r): Handle positive infinity, overflow and
28231 underflow here. Handle NaN the same as positive infinity. Remove
28232 check x < 0xffffffff for negative integers. Use gamma_positive
28233 instead of exp (lgamma) for other arguments.
28234 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28235 (gamma_coeff): New variable.
28236 (NCOEFF): New macro.
28237 (gammal_positive): New function.
28238 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28239 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28240 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28243 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28244 * sysdeps/generic/math_private.h (__gamma_productf): New
28245 prototype.
28246 (__gamma_product): Likewise.
28247 (__gamma_productl): Likewise.
28248 * math/Makefile (libm-calls): Add gamma_product.
28249 * math/libm-test.inc (tgamma_test): Add more tests.
28250 * sysdeps/i386/fpu/libm-test-ulps: Update.
28251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252
282532013-05-08 Ondřej Bílka <neleai@seznam.cz>
28254
28255 * benchtests/bench-skeleton.c (main): Preheat CPU.
28256
282572013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28258
28259 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28260
282612013-05-07 Roland McGrath <roland@hack.frob.com>
28262
28263 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28264 and _dl_skip_args_internal.
28265
282662013-05-07 Carlos O'Donell <carlos@redhat.com>
28267
28268 * manual/message.texi (Message Translation): Talk about users.
28269 Message to key mapping impacts design.
28270
282712013-05-06 Roland McGrath <roland@hack.frob.com>
28272
28273 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28274
28275 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28276
28277 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28278 * sysdeps/wordsize-64/glob64.c: ... here.
28279
28280 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28281 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28282 New macros.
28283
28284 * debug/getlogin_r_chk.c: Moved to ...
28285 * login/getlogin_r_chk.c: ... here.
28286 * debug/Makefile (routines): Move getlogin_r_chk to ...
28287 * login/Makefile (routines): ... here.
28288 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28289 * login/Versions (libc: GLIBC_2.4): ... here.
28290
28291 * io/poll.c (__poll): Renamed from poll.
28292 Add libc_hidden_def.
28293 (poll): Define as weak alias.
28294
28295 * debug/ptsname_r_chk.c: Moved to ...
28296 * login/ptsname_r_chk.c: ... here.
28297 * debug/Makefile (routines): Move ptsname_r_chk to ...
28298 * login/Makefile (routines): ... here.
28299 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28300 * login/Versions (libc: GLIBC_2.4): ... here.
28301
28302 * posix/getlogin.c: Moved to ...
28303 * login/getlogin.c: ... here.
28304 * posix/getlogin_r.c: Moved to ...
28305 * login/getlogin_r.c: ... here.
28306 * posix/getlogin_r.c: Moved to ...
28307 * login/getlogin_r.c: ... here.
28308 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28309 * login/Makefile (routines): ... here.
28310 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28311 * login/Versions (libc: GLIBC_2.0): ... here.
28312
28313 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28314 (setrlimit): Define as weak alias.
28315
28316 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28317 Call __ names for open, ftruncate, and close.
28318 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28319 (truncate): Define as weak alias.
28320
283212013-05-06 Joseph Myers <joseph@codesourcery.com>
28322
28323 * math/gen-libm-test.pl (parse_args): Initialize x before each
28324 test of frexp, modf and remquo.
28325
28326 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28327 test signgam value.
28328
283292013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28330
28331 [BZ #15418]
28332 [BZ #15419]
28333 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28334 internal tests.
28335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28336
283372013-05-06 Roland McGrath <roland@hack.frob.com>
28338
28339 * elf/dl-writev.h: New file.
28340 * elf/dl-misc.c: Include it.
28341 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28342 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28343
283442013-05-04 Joseph Myers <joseph@codesourcery.com>
28345
28346 * math/libm-test.inc (noXFails): Remove variable.
28347 (noXPasses): Likewise.
28348 (BUILD_COMPLEX_INT): Remove macro.
28349 (print_screen): Remove xfail argument.
28350 (print_screen_max_error): Likewise.
28351 (update_stats): Likewise.
28352 (print_max_error): Likewise. Update calls to other affected
28353 functions.
28354 (print_complex_max_error): Likewise.
28355 (test_single_exception): Update calls to print_screen.
28356 (test_single_errno): Likewise.
28357 (check_float_internal): Remove xfail argument. Update calls to
28358 other affected functions.
28359 (check_float): Likewise.
28360 (check_complex): Likewise.
28361 (check_int): Likewise.
28362 (check_long): Likewise.
28363 (check_bool): Likewise.
28364 (check_longlong): Likewise.
28365 (main): Don't print noXFails and noXPasses.
28366 * math/gen-libm-test.pl (top level): Don't mention expected
28367 failure handling in comment.
28368 (new_test): Don't handle expected failures.
28369 (parse_args): Don't mention expected failure handling in comment.
28370 (generate_testfile): Don't handle expected failures.
28371 (parse_ulps): Likewise.
28372 (print_ulps_file): Likewise.
28373 (get_failure): Remove function.
28374 (output_test): Don't handle expected failures.
28375 * make/README.libm-test: Don't mention expected failure handling.
28376
28377 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28378 (minus_zero): Likewise.
28379 (plus_infty): Likewise.
28380 (minus_infty): Likewise.
28381 (qnan_value): Likewise.
28382 (max_value): Likewise.
28383 (min_value): Likewise.
28384 (min_subnorm_value): Likewise.
28385 (initialize): Do not initialize those variables dynamically.
28386
283872013-05-03 Roland McGrath <roland@hack.frob.com>
28388
28389 * io/open.c (__open_2): Moved to ...
28390 * io/open_2.c: ... this new file.
28391 * io/open64.c (__open64_2): Moved to ...
28392 * io/open64_2.c: ... this new file.
28393 * io/openat.c (__openat_2): Moved to ...
28394 * io/openat_2.c: ... this new file.
28395 * io/openat64.c (__openat64_2): Moved to ...
28396 * io/openat64_2.c: ... this new file.
28397 * io/Makefile (routines): Add them.
28398 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28399 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28400 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28401 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28402 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28403 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28404 (__openat64): Add hidden_ver.
28405 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28406 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28407
28408 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28409 Separately conditionalize setting of GLRO(dl_sysinfo) so
28410 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28411 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28412
284132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28414
28415 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28416 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28417 definition.
28418 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28419 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28420 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28421 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28422 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28423
284242013-05-03 Joseph Myers <joseph@codesourcery.com>
28425
28426 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28427 test signgam value.
28428
28429 * math/libm-test.inc (hypot_test): Do not use
28430 IGNORE_ZERO_INF_SIGN.
28431
284322013-05-03 Andreas Jaeger <aj@suse.de>
28433
28434 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28435 Linux 3.9.
28436 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28437 (PF_MAX): Adjust for VSOCK change.
28438
284392013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28440
28441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28442
284432013-05-02 Carlos O'Donell <carlos@redhat.com>
28444
28445 [BZ #15264]
28446 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28447 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28448 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28449
284502013-05-02 David S. Miller <davem@davemloft.net>
28451
28452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28453
284542013-05-01 Ondřej Bílka <neleai@seznam.cz>
28455
28456 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28457
284582013-05-01 Roland McGrath <roland@hack.frob.com>
28459
28460 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28461
284622013-05-01 Richard Smith <richard@metafoo.co.uk>
28463
28464 [BZ #14952]
28465 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28466 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28467 Use __attribute__ ((__gnu_inline__)).
28468 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28469 Don't use __attribute__ ((__gnu_inline__)).
28470
284712013-05-01 Joseph Myers <joseph@codesourcery.com>
28472
28473 [BZ #15423]
28474 * math/s_catan.c (__catan): Handle small real or imaginary part of
28475 input specially to avoid spurious underflow.
28476 * math/s_catanf.c (__catanf): Likewise.
28477 * math/s_catanh.c (__catanh): Likewise.
28478 * math/s_catanhf.c (__catanhf): Likewise.
28479 * math/s_catanhl.c (__catanhl): Likewise.
28480 * math/s_catanl.c (__catanl): Likewise.
28481 * math/libm-test.inc (catan_test): Add more tests.
28482 (catanh_test): Likewise.
28483 * sysdeps/i386/fpu/libm-test-ulps: Update.
28484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28485
284862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28487
28488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28489
284902013-04-30 Joseph Myers <joseph@codesourcery.com>
28491
28492 [BZ #15416]
28493 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28494 accurately for denominator in atan2.
28495 * math/s_catanf.c (__catanf): Likewise.
28496 * math/s_catanh.c (__catanh): Likewise.
28497 * math/s_catanhf.c (__catanhf): Likewise.
28498 * math/s_catanhl.c (__catanhl): Likewise.
28499 * math/s_catanl.c (__catanl): Likewise.
28500 * math/libm-test.inc (catan_test): Add more tests.
28501 (catanh_test): Likewise.
28502 * sysdeps/i386/fpu/libm-test-ulps: Update.
28503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504
285052013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28506
28507 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28508
28509 * benchtests/Makefile (bench): Remove slow benchmarks.
28510 * benchtests/atan-inputs: Add slow benchmark inputs.
28511 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28512 (BENCH_FUNC): Accept variant offset.
28513 (VARIANT): Define.
28514 * benchtests/bench-skeleton.c (main): Run benchmark for each
28515 variant.
28516 * benchtests/cos-inputs: Add slow benchmark inputs.
28517 * benchtests/exp-inputs: Likewise.
28518 * benchtests/pow-inputs: Likewise.
28519 * benchtests/sin-inputs: Likewise.
28520 * benchtests/slowatan-inputs: Remove.
28521 * benchtests/slowatan.c: Remove.
28522 * benchtests/slowcos-inputs: Remove.
28523 * benchtests/slowcos.c: Remove.
28524 * benchtests/slowexp-inputs: Remove.
28525 * benchtests/slowexp.c: Remove.
28526 * benchtests/slowpow-inputs: Remove.
28527 * benchtests/slowpow.c: Remove.
28528 * benchtests/slowsin-inputs: Remove.
28529 * benchtests/slowsin.c: Remove.
28530 * benchtests/slowtan-inputs: Remove.
28531 * benchtests/slowtan.c: Remove.
28532 * benchtests/tan-inputs: Add slow benchmark inputs.
28533 * scripts/bench.pl: Parse comments and directives.
28534
28535 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28536 in CPPFLAGS.
28537 ($(objpfx)bench-%.c): Remove *-ITER.
28538 * benchtests/bench-modf.c: Remove definition of ITER.
28539 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28540 (main): Loop for DURATION seconds instead of fixed number of
28541 iterations.
28542 * scripts/bench.pl: Don't expect iterations in parameters.
28543
285442013-04-29 Roland McGrath <roland@hack.frob.com>
28545
28546 * io/fchdir.c (__fchdir): Renamed from fchdir.
28547 (fchdir): Define as weak alias.
28548
285492013-04-29 Joseph Myers <joseph@codesourcery.com>
28550
28551 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28552 (ERRNO_EDOM): Likewise.
28553 (ERRNO_ERANGE): Likewise.
28554 (noErrnoTests): New variable.
28555 (init_max_error): Set errno to 0.
28556 (test_single_errno): New function.
28557 (test_errno): Likewise.
28558 (check_float_internal): Call test_errno. Set errno to 0.
28559 (check_complex): Refer to errno tests in comment.
28560 (check_int): Call test_errno. Set errno to 0.
28561 (check_long): Likewise.
28562 (check_bool): Likewise.
28563 (check_longlong): Likewise.
28564 (cos_test): Use ERRNO_* flags for errno tests instead of
28565 check_int.
28566 (expm1_test): Likewise.
28567 (fmod_test): Likewise.
28568 (ilogb_test): Likewise.
28569 (lgamma_test): Likewise.
28570 (pow_test): Likewise.
28571 (remainder_test): Likewise.
28572 (sin_test): Likewise.
28573 (tan_test): Likewise.
28574 (yn_test): Likewise.
28575 (initialize): Set errno to 0.
28576 (main): Print number of errno tests.
28577 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28578
285792013-04-29 Andreas Jaeger <aj@suse.de>
28580
28581 [BZ #15084]
28582 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28583 and RES_USEVC.
28584
28585 [BZ #15085]
28586 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28587 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28588 unimplemented.
28589
28590 [BZ #15380]
28591 * stdlib/random.c (__initstate): Return NULL if
28592 __initstate fails.
28593
28594 [BZ #15086]
28595 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28596 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28597 RES_SNGLKUPREOP.
28598
285992013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28600
28601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28602
286032013-04-29 Joseph Myers <joseph@codesourcery.com>
28604
28605 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28606 of individual tests.
28607 (casin_test): Likewise.
28608 (casinh_test): Likewise.
28609
286102013-04-27 Joseph Myers <joseph@codesourcery.com>
28611
28612 [BZ #15409]
28613 * math/s_catan.c (__catan): Handle arguments with large real or
28614 imaginary part separately without squaring.
28615 * math/s_catanf.c (__catanf): Likewise.
28616 * math/s_catanh.c (__catanh): Likewise.
28617 * math/s_catanhf.c (__catanhf): Likewise.
28618 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28619 and redefine.
28620 (__catanhl): Handle arguments with large real or imaginary part
28621 separately without squaring.
28622 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28623 and redefine.
28624 (__catanl): Handle arguments with large real or imaginary part
28625 separately without squaring.
28626 * math/libm-test.inc (catan_test): Add more tests.
28627 (catanh_test): Likewise.
28628 * sysdeps/i386/fpu/libm-test-ulps: Update.
28629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28630
286312013-04-27 Andreas Jaeger <aj@suse.de>
28632
28633 [BZ #15007]
28634 * stdlib/stdlib.h: Update guards for qecvt.
28635 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28636 <stdlib.h>.
28637
286382013-04-27 Allan McRae <allan@archlinux.org>
28639
28640 * sysdeps/i386/fpu/libm-test-ulps: Update.
28641
286422013-04-26 Joseph Myers <joseph@codesourcery.com>
28643
28644 [BZ #15406]
28645 * math/s_catan.c: Include <float.h>.
28646 (__catan): Ensure underflow exception occurs for underflowed
28647 result.
28648 * math/s_catanf.c: Include <float.h>.
28649 (__catanf): Ensure underflow exception occurs for underflowed
28650 result.
28651 * math/s_catanh.c: Include <float.h>.
28652 (__catanh): Ensure underflow exception occurs for underflowed
28653 result.
28654 * math/s_catanhf.c: Include <float.h>.
28655 (__catanhf): Ensure underflow exception occurs for underflowed
28656 result.
28657 * math/s_catanhl.c: Include <float.h>.
28658 (__catanhl): Ensure underflow exception occurs for underflowed
28659 result.
28660 * math/s_catanl.c: Include <float.h>.
28661 (__catanl): Ensure underflow exception occurs for underflowed
28662 result.
28663 * math/libm-test.inc (catan_test): Add more tests.
28664 (catanh_test): Likewise.
28665
28666 [BZ #15405]
28667 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28668 underflowed result.
28669 * math/s_ccoshf.c (__ccoshf): Likewise.
28670 * math/s_ccoshl.c (__ccoshl): Likewise.
28671 * math/s_csin.c (__csin): Likewise.
28672 * math/s_csinf.c (__csinf): Likewise.
28673 * math/s_csinh.c (__csinh): Likewise.
28674 * math/s_csinhf.c (__csinhf): Likewise.
28675 * math/s_csinhl.c (__csinhl): Likewise.
28676 * math/s_csinl.c (__csinl): Likewise.
28677 * math/libm-test.inc (ccos_test): Add more tests.
28678 (ccosh_test): Likewise.
28679 (csin_test): Likewise.
28680 (csinh_test): Likewise.
28681
286822013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28683
28684 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28685 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28686 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28687 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28688 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28689 powerpc/power5+/fpu folders.
28690 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28691
28692
286932013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28694
28695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28696
286972013-04-25 Joseph Myers <joseph@codesourcery.com>
28698
28699 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28700 additions to variable.
28701 [$(config-machine) = x86_64] (modules-names): Likewise.
28702 ($(objpfx)tst-audit3): Remove dependency.
28703 ($(objpfx)tst-audit3.out): Likewise.
28704 ($(objpfx)tst-audit4): Likewise.
28705 ($(objpfx)tst-audit4.out): Likewise.
28706 ($(objpfx)tst-audit5): Likewise.
28707 ($(objpfx)tst-audit5.out): Likewise.
28708 ($(objpfx)tst-audit6): Likewise.
28709 ($(objpfx)tst-audit6.out): Likewise.
28710 ($(objpfx)tst-audit7): Likewise.
28711 ($(objpfx)tst-audit7.out): Likewise.
28712 (tst-audit3-ENV): Remove variable.
28713 (tst-audit4-ENV): Likewise.
28714 (tst-audit5-ENV): Likewise.
28715 (tst-audit6-ENV): Likewise.
28716 (tst-audit7-ENV): Likewise.
28717 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28718 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28719 addition to variable.
28720 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28721 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28722 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28723 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28724 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28725 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28726 tst-audit3, tst-audit4 and tst-audit5.
28727 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28728 tst-audit6 and tst-audit7.
28729 [$(subdir) = elf] (modules-names): Add audit modules for those
28730 tests.
28731 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28732 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28733 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28734 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28735 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28736 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28737 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28738 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28739 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28740 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28741 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28742 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28743 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28744 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28745 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28746 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28747 Likewise.
28748 [$(subdir) = elf && $(config-cflags-avx) = yes]
28749 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28750 [$(subdir) = elf && $(config-cflags-avx) = yes]
28751 (CFLAGS-tst-auditmod4a.c): Likewise.
28752 [$(subdir) = elf && $(config-cflags-avx) = yes]
28753 (CFLAGS-tst-auditmod4b.c): Likewise.
28754 [$(subdir) = elf && $(config-cflags-avx) = yes]
28755 (CFLAGS-tst-auditmod6b.c): Likewise.
28756 [$(subdir) = elf && $(config-cflags-avx) = yes]
28757 (CFLAGS-tst-auditmod6c.c): Likewise.
28758 [$(subdir) = elf && $(config-cflags-avx) = yes]
28759 (CFLAGS-tst-auditmod7b.c): Likewise.
28760 * elf/tst-audit3.c: Move to ...
28761 * sysdeps/x86_64/tst-audit3.c: ... here.
28762 * elf/tst-audit4.c: Move to ...
28763 * sysdeps/x86_64/tst-audit4.c: ... here.
28764 * elf/tst-audit5.c: Move to ...
28765 * sysdeps/x86_64/tst-audit5.c: ... here.
28766 * elf/tst-audit6.c: Move to ...
28767 * sysdeps/x86_64/tst-audit6.c: ... here.
28768 * elf/tst-audit7.c: Move to ...
28769 * sysdeps/x86_64/tst-audit7.c: ... here.
28770 * elf/tst-auditmod3a.c: Move to ...
28771 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28772 * elf/tst-auditmod3b.c: Move to ...
28773 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28774 * elf/tst-auditmod4a.c: Move to ...
28775 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28776 * elf/tst-auditmod4b.c: Move to ...
28777 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28778 * elf/tst-auditmod5a.c: Move to ...
28779 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28780 * elf/tst-auditmod5b.c: Move to ...
28781 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28782 * elf/tst-auditmod6a.c: Move to ...
28783 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28784 * elf/tst-auditmod6b.c: Move to ...
28785 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28786 * elf/tst-auditmod6c.c: Move to ...
28787 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28788 * elf/tst-auditmod7a.c: Move to ...
28789 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28790 * elf/tst-auditmod7b.c: Move to ...
28791 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28792
287932013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28794
28795 [BZ #15366]
28796 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28797 define unconditionally.
28798 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28799 define unconditionally.
28800 (INT8_C, INT16_C, etc.): Likewise.
28801
288022013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28803
28804 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28805 __ehdr_start with hidden visibility.
28806
28807 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28808
288092013-04-24 Carlos O'Donell <carlos@redhat.com>
28810
28811 * math/libm-test.inc (cos_test): Use accurate hex constants.
28812 (sincost_test): Likewise.
28813
288142013-04-24 Joseph Myers <joseph@codesourcery.com>
28815
28816 * math/libm-test.inc (catan_test): Add more tests.
28817 (catanh_test): Likewise.
28818
28819 * math/s_catanf.c (__catanf): Use suffixed floating-point
28820 constants.
28821 * math/s_catanhf.c (__catanhf): Likewise.
28822 * math/s_catanhl.c (__catanhl): Likewise.
28823 * math/s_catanl.c (__catanl): Likewise.
28824
28825 [BZ #15394]
28826 * math/s_catan.c (__catan): Calculate imaginary part of result
28827 with log1p not log unless computing log of number close to 0.
28828 * math/s_catanf.c (__catanf): Likewise.
28829 * math/s_catanl.c (__catanl): Likewise.
28830 * math/s_catanh.c (__catanh): Calculate real part of result with
28831 log1p not log unless computing log of number close to 0.
28832 * math/s_catanhf.c (__catanhf): Likewise.
28833 * math/s_catanhl.c (__catanhl): Likewise.
28834 * math/libm-test.inc (catan_test): Add more tests.
28835 (catanh_test): Likewise.
28836 * sysdeps/i386/fpu/libm-test-ulps: Update.
28837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28838
288392013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28840
28841 * benchtests/Makefile: Mention files in which fast and slow
28842 paths of math functions are implemented.
28843
288442013-04-23 Roland McGrath <roland@hack.frob.com>
28845
28846 * sysdeps/posix/timespec_get.c: New file.
28847
288482013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28849
28850 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28851 POWER.
28852 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28853 for POWER.
28854 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28855 powerpc/power5/fpu folders.
28856 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28857 * benchtests/Makefile: Add modf testcase.
28858 * benchtests/bench-modf.c: New file: Benchmark test for mo
28859
288602013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28861
28862 [BZ #14888]
28863 * time/Makefile (tests): Add tst-strptime-whitespace.
28864 * time/strptime_l.c (get_number): Use ISSPACE.
28865 (__strptime_internal): Likewise.
28866 * time/tst-strptime-whitespace.c: New test case.
28867
288682013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28869
28870 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28871 member.
28872 (_nss_files_init): Set it here.
28873
288742013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28875
28876 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28877 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28878 unsigned.
28879
288802013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28881
28882 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28883
288842013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28885
28886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28887 size just once.
28888
288892013-04-21 David S. Miller <davem@davemloft.net>
28890
28891 * po/ru.po: Update Russion translation from translation project.
28892
288932013-04-17 Adam Conrad <adconrad@0c3.net>
28894
28895 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28896 and setfsgid.
28897
288982013-04-17 Carlos O'Donell <carlos@redhat.com>
28899
28900 * configure.in: Remove i386 configure warning. Remove i386 case.
28901 * configure: Regenerate.
28902 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28903 Add example to error message.
28904 * sysdeps/i386/configure: Regenerate.
28905
289062013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28907
28908 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28909 slowtan.
28910 * benchtests/cos-inputs: New file.
28911 * benchtests/slowcos-inputs: New file.
28912 * benchtests/slowcos.c: New file.
28913 * benchtests/slowtan-inputs: New file.
28914 * benchtests/slowtan.c: New file.
28915 * benchtests/tan-inputs: New file.
28916
289172013-04-16 Roland McGrath <roland@hack.frob.com>
28918
28919 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28920 considered kosher.
28921
289222013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28923
28924 * benchtests/Makefile: Include cppflags-iterator.mk to add
28925 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28926
28927 * Makefile.in (bench-clean): New target.
28928 * benchtests/Makefile (bench-clean): Likewise.
28929
289302013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28931
28932 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28933
289342013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28935
28936 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28937
289382013-04-15 Andreas Schwab <schwab@suse.de>
28939
28940 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28942 * nscd/pwdcache.c (cache_addpw): Likewise.
28943 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28944 more than recsize.
28945
289462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28947
28948 * benchtests/Makefile (bench): Write all output to
28949 bench-out.tmp together.
28950
289512013-04-15 Andreas Schwab <schwab@suse.de>
28952
28953 * nscd/nscd.c (main): Don't fork again after closing files.
28954
289552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28956
28957 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28958
28959 * benchtests/Rules (bench-deps): Collect dependencies into a
28960 single variable. Add Makefile to dependencies.
28961 ($(objpfx)bench-%.c): Depend on bench-deps.
28962
289632013-04-12 Roland McGrath <roland@hack.frob.com>
28964 Xavier Roche <roche+kml2@exalead.com>
28965
28966 [BZ #15361]
28967 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28968 just that it's a file descriptor.
28969 * manual/llio.texi (Synchronizing AIO Operations): Update description
28970 for EBADF error from aio_fsync.
28971
289722013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28973
28974 * Rules (bench): Move target definition...
28975 * benchtests/Makefile: ... here.
28976
289772013-04-11 Carlos O'Donell <carlos@redhat.com>
28978
28979 * math/libm-test.inc (cos_test): Fix PI/2 test.
28980 (sincos_test): Likewise.
28981 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28982 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28983
289842013-04-11 Andreas Schwab <schwab@suse.de>
28985
28986 [BZ #13988]
28987 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28988 accept exponent character only when digits were seen.
28989 * stdio-common/Makefile (tests): Add bug26.
28990 * stdio-common/bug26.c: New file.
28991
28992 [BZ #14293]
28993 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28994 non-freeable.
28995
289962013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28997
28998 * Makeconfig (rtld-prefix): Define built linker prefix.
28999 * Rules (run-bench): Use it.
29000 * math/Makefile (run-regen-ulps): Likewise.
29001
29002 * Rules (bench): Remove eval.
29003
290042013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29005 Roland McGrath <roland@hack.frob.com>
29006 Ondrej Bilka <neleai@seznam.cz>
29007
29008 [BZ #15346]
29009 * time/getdate.c: Include ctype.h and alloca.h.
29010 (__getdate_r): Trim leading and trailing spaces of input.
29011 * time/tst-getdate.c (tests): Add tests with leading and
29012 trailing spaces.
29013
290142013-04-08 Roland McGrath <roland@hack.frob.com>
29015
29016 [BZ #14280]
29017 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29018 when computing value.
29019
290202013-04-06 Carlos O'Donell <carlos@redhat.com>
29021
29022 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29023 Use testrun.sh to run libm tests.
29024
29025 [BZ #15309]
29026 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29027
290282013-04-06 Marko Myllynen <myllynen@redhat.com>
29029
29030 [BZ #15264]
29031 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29032
290332013-04-06 Carlos O'Donell <carlos@redhat.com>
29034
29035 * Makefile.in (regen-ulps): New target.
29036 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29037 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29038 [ifneq (no,$(PERL)] (regen-ulps): New target.
29039 [ifeq (no,$(PERL)] (regen-ulps): New target.
29040 * math/libm-test.inc (ulps_file_name): Define.
29041 (output_dir): New variable.
29042 (options): Add "output-dir" option.
29043 (parse_opt): Handle 'o' case.
29044 (main): If output_dir is non-NULL use it as a prefix
29045 otherwise use "".
29046 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29047
290482013-04-06 Carlos O'Donell <carlos@redhat.com>
29049
29050 [BZ #10060, #10062]
29051 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29052 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29053 fail configure if __sync_val_compare_and_swap is not inlined.
29054 * sysdeps/i386/configure: Regenerate.
29055 * configure.in: Build for i686 when configured for i386.
29056 * configure: Regenerate.
29057 * README: Remove i386 reference.
29058
290592013-04-06 Carlos O'Donell <carlos@redhat.com>
29060
29061 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29063
290642013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29065
29066 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29067 (lmsnanval): New variables.
29068 (F): Add conversion tests.
29069 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29070 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29071
29072 * stdio-common/tstdiomisc.c (F): Properly collect individual
29073 tests' results.
29074
29075 [BZ #14686, #15336]
29076 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29077 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29078 Instead, use input NaN values or generate a qNaN by arithmetic
29079 operation. Also fix bugs to comply with the standard.
29080 * math/libm-test.inc (remainder_test): Add more tests.
29081
29082 [BZ #15335, #15342]
29083 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29085 input NaN values or generate a qNaN by arithmetic operation.
29086
29087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29088 unreachable code.
29089
29090 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29091 definitions.
29092
290932013-04-03 Joseph Myers <joseph@codesourcery.com>
29094
29095 [BZ #14478]
29096 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29097 underflowed result.
29098 * math/s_cexpf.c (__cexpf): Likewise.
29099 * math/s_cexpl.c (__cexpl): Likewise.
29100 * math/libm-test.inc (cexp_test): Add more tests.
29101
291022013-04-03 Andreas Schwab <schwab@suse.de>
29103
29104 [BZ #15330]
29105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29106 order arrays from heap if bigger than alloca cutoff.
29107
291082013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29109
29110 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29111 (SNAN_TESTS_double): Refer to GCC PR56831.
29112 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29113 GCC PR56828.
29114
291152013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29116
29117 * Rules (bench): Move bench.out after the run is complete.
29118
29119 * Rules (bench): Echo currently running benchmark.
29120
29121 * benchtests/Makefile (bench): Add atan and slowatan.
29122 * benchtests/atan-inputs: New file.
29123 * benchtests/slowatan-inputs: New file.
29124 * benchtests/slowatan.c: New file.
29125
29126 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29128 its value.
29129
29130 [BZ #15305]
29131 * sysdeps/unix/sysv/linux/kernel-features.h
29132 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29133 __ASSUME_XFS_RESTRICTED_CHOWN.
29134 * sysdeps/unix/sysv/linux/pathconf.c
29135 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29136 Save and restore errno.
29137
291382013-04-02 Joseph Myers <joseph@codesourcery.com>
29139
29140 [BZ #15327]
29141 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29142 arguments using __kernel_casinh.
29143 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29144 arguments using __kernel_casinhf.
29145 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29146 arguments using __kernel_casinhl.
29147 * math/libm-test.inc (cacosh_test): Add more tests.
29148 * sysdeps/i386/fpu/libm-test-ulps: Update.
29149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29150
291512013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29152
29153 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29155
29156 * bench/Makefile (bench): Add sin and slowsin.
29157 * benchtests/sin-inputs: New file.
29158 * benchtests/slowsin-inputs: New file.
29159 * benchtests/slowsin.c: New file.
29160
29161 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29162 (bench): Add slowexp and slowpow.
29163 (exp-ITER): Increase iterations.
29164 (pow-ITER): Likewise.
29165 * benchtests/exp-inputs: Change input.
29166 * benchtests/pow-inputs: Likewise.
29167 * benchtests/slowexp-inputs: New file.
29168 * benchtests/slowexp.c: New file.
29169 * benchtests/slowpow-inputs: New file.
29170 * benchtests/slowpow.c: New file.
29171
291722013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29173
29174 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29175 instructions.
29176 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29177 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29178 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29179 * benchtests/Makefile: Add rint benchtest.
29180 * benchtests/rint-inputs: Input for rint benchtest.
29181
291822013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29183
29184 * Versions.def (libm): Add GLIBC_2.18.
29185 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29186 hidden libm prototypes.
29187 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29188 * math/Makefile (libm-calls): Add s_issignaling.
29189 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29190 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29191 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29192 declaration.
29193 * math/math.h [__USE_GNU] (issignaling): New macro.
29194 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29195 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29196 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29197 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29200 * manual/arith.texi (issignaling): New section.
29201 * manual/libm-err-tab.pl (@all_functions): Update comment.
29202 * math/gen-libm-test.pl (parse_args): Apply special handling for
29203 issignaling.
29204 * math/libm-test.inc (print_float, issignaling_test): New
29205 functions.
29206 (check_float_internal): Add issignaling checks.
29207 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29208 default definition.
29209 * sysdeps/powerpc/math-tests.h: New file.
29210 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29211 tests.
29212 * math/test-snan.c (TEST_FUNC): Likewise.
29213
292142013-03-30 David S. Miller <davem@davemloft.net>
29215
29216 * po/de.po: Update from translation team.
29217
292182013-03-30 Joseph Myers <joseph@codesourcery.com>
29219
29220 [BZ #10357]
29221 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29222 imaginary part less than 1.0 and real part less than 0.5
29223 specially.
29224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29226 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29227 (cacos_test): Add more tests.
29228 (casin_test): Likewise.
29229 (casinh_test): Likewise.
29230 * sysdeps/i386/fpu/libm-test-ulps: Update.
29231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29232
292332013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29234
29235 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29236 ONE with its value.
29237
29238 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29239 (__pow_mp): Replace ONE and MONE with their values.
29240 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29242 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29243 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29244 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29245 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29246
29247 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29248
29249 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29250 (__pow_mp): Replace ZERO and MZERO with their values.
29251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29252 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29253 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29255 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29256 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29257 (__sqr): Likewise.
29258
29259 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29260
29261 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29262
292632013-03-28 Roland McGrath <roland@hack.frob.com>
29264
29265 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29266 Declare with __attribute__ ((weak)).
29267 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29268 Call __call_tls_dtors only if it's not NULL.
29269
292702013-03-28 Roland McGrath <roland@hack.frob.com>
29271
29272 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29273 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29274 magic __ehdr_start linker symbol if it's defined.
29275 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29276 them up here if it was already done.
29277
29278 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29279 (_dl_aux_init): Use const in cast when setting it.
29280 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29281 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29282 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29283
29284 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29285 Declare them here.
29286 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29287 * csu/libc-tls.c: Nor here.
29288 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29289
29290 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29291 (__libc_message): Never call vsyslog.
29292
292932013-03-28 Alan Modra <amodra@gmail.com>
29294
29295 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29296 Define as empty.
29297 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29298 Likewise.
29299
293002013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29301
29302 [BZ #15214]
29303 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29304 underflow.
29305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29306
293072013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29308
29309 [BZ #15304]
29310 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29311 Don't add gid passed as argument.
29312
29313 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29314
293152013-03-27 Joseph Myers <joseph@codesourcery.com>
29316
29317 [BZ #15307]
29318 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29319 imaginary part between 1.0 and 1.5 and real part less than 0.5
29320 specially.
29321 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29322 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29323 * math/libm-test.inc (cacos_test): Add more tests.
29324 (casin_test): Likewise.
29325 (casinh_test): Likewise.
29326 * sysdeps/i386/fpu/libm-test-ulps: Update.
29327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29328
293292013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29330
29331 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29332 constants.
29333 (norm): Likewise.
29334 (denorm): Likewise.
29335 (__dbl_mp): Likewise.
29336 (add_magnitudes): Likewise.
29337 (sub_magnitudes): Likewise.
29338 (__add): Likewise.
29339 (__sub): Likewise.
29340 (__mul): Likewise.
29341 (__sqr): Likewise.
29342 (__inv): Likewise.
29343 (__dvd): Likewise.
29344
29345 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29346 commented code.
29347 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29348 (__dubcos): Likewise.
29349 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29350 (__ieee754_acos): Likewise.
29351 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29352 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29353 (__exp1): Likewise.
29354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29356 (log1): Likewise.
29357 (my_log2): Likewise.
29358 (checkint): Likewise.
29359 * sysdeps/ieee754/dbl-64/e_remainder.c
29360 (__ieee754_remainder): Likewise.
29361 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29363 (bsloww): Likewise.
29364 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29365
29366 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29367 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29368 MANTISSA_STORE_T to store computations on mantissa. Use
29369 macros for rounding and division.
29370 (denorm): Likewise.
29371 (__dbl_mp): Likewise.
29372 (add_magnitudes): Likewise.
29373 (sub_magnitudes): Likewise.
29374 (__mul): Likewise.
29375 (__sqr): Likewise.
29376 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29377 powers of two in terms of TWOPOW macro.
29378 (mp_no): Make type of mantissa as MANTISSA_T.
29379 [!RADIXI]: Define RADIXI.
29380 [!TWO52]: Define TWO52.
29381 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29382
293832013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29384
29385 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29386 llroundl symbol when building for PPC32.
29387
293882013-03-24 Mark H Weaver <mhw@netris.org>
29389
29390 * manual/arith.texi (Normalization Functions): Fix prototypes for
29391 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29392
293932013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29394
29395 [BZ #13889]
29396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29397 high value to check if expl overflow.
29398 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29399 to check for underflow and overflow.
29400 * math/libm-test.inc: Add exp test.
29401
294022013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29403
29404 [BZ #11120]
29405 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29406 with NOT_IN_libc.
29407
294082013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29409
29410 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29411 symbol.
29412
294132013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29414
29415 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29416 wrap blocks consisting of several statements.
29417
29418 * sysdeps/generic/math-tests.h: New file.
29419 * sysdeps/i386/fpu/math-tests.h: Likewise.
29420 * math/test-snan.c: Include it.
29421 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29422
294232013-03-21 Joseph Myers <joseph@codesourcery.com>
29424
29425 [BZ #15285]
29426 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29427 (__ieee754_j0l): Do not improve calculations using cos of twice
29428 input for inputs above LDBL_MAX / 2.0L.
29429 (__ieee754_y0l): Likewise.
29430 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29431 (__ieee754_j1l): Do not improve calculations using cos of twice
29432 input for inputs above LDBL_MAX / 2.0L.
29433 (__ieee754_y1l): Likewise.
29434 * math/libm-test.inc (j0_test): Add another test.
29435 (j1_test): Likewise.
29436 (y0_test): Likewise.
29437 (y1_test): Likewise.
29438 * sysdeps/i386/fpu/libm-test-ulps: Update.
29439
294402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29441
29442 * Rules ($(objpfx)bench-%.c): Include code from a C source
29443 file.
29444
294452013-03-21 Joseph Myers <joseph@codesourcery.com>
29446
29447 [BZ #15287]
29448 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29449 imaginary part 1.0 and real part less than 0.5 specially.
29450 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29451 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29452 * math/libm-test.inc (cacos_test): Add more tests.
29453 (casin_test): Likewise.
29454 (casinh_test): Likewise.
29455 * sysdeps/i386/fpu/libm-test-ulps: Update.
29456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29457
294582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29459
29460 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29461 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29462
294632013-03-20 Joseph Myers <joseph@codesourcery.com>
29464
29465 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29466 * config.make.in (config-cflags-sse4): Remove variable.
29467 (config-cflags-avx): Likewise.
29468 (config-cflags-sse2avx): Likewise.
29469 (config-cflags-novzeroupper): Likewise.
29470 (config-asflags-i686): Likewise.
29471 (have-mfma4): Likewise.
29472 (have-as-vis3): Likewise.
29473 (MIG): Likewise.
29474 * configure.in (MIG): Do not AC_SUBST.
29475 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29476 (libc_cv_cc_sse4): Do not AC_SUBST.
29477 (libc_cv_cc_avx): Likewise.
29478 (libc_cv_cc_sse2avx): Likewise.
29479 (libc_cv_cc_novzeroupper): Likewise.
29480 (libc_cv_cc_fma4): Likewise.
29481 (libc_cv_as_i686): Likewise.
29482 (libc_cv_sparc_as_vis3): Likewise.
29483 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29484 LIBC_CONFIG_VAR.
29485 (config-asflags-i686): Likewise.
29486 (config-cflags-avx): Likewise.
29487 (config-cflags-sse2avx): Likewise.
29488 (have-mfma4): Likewise.
29489 (config-cflags-novzeroupper): Likewise.
29490 * sysdeps/mach/configure.in (MIG): Likewise.
29491 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29492 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29493 LIBC_CONFIG_VAR.
29494 (config-cflags-avx): Likewise.
29495 (config-cflags-sse2avx): Likewise.
29496 (have-mfma4): Likewise.
29497 (config-cflags-novzeroupper): Likewise.
29498 * configure: Regenerated.
29499 * sysdeps/i386/configure: Likewise.
29500 * sysdeps/mach/configure: Likewise.
29501 * sysdeps/sparc/configure: Likewise.
29502 * sysdeps/x86_64/configure: Likewise.
29503
295042013-03-20 Roland McGrath <roland@hack.frob.com>
29505
29506 [BZ #14812]
29507 * locale/programs/localedef.c (options): Put N_ translation marker
29508 on argument names, not just descriptions.
29509
295102013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29511
29512 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29513
295142013-03-20 Ondřej Bílka <neleai@seznam.cz>
29515
29516 [BZ #14176]
29517 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29518
295192013-03-19 Roland McGrath <roland@hack.frob.com>
29520
29521 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29522 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29523 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29524 [!BEFORE_ABORT] (before_abort): New function.
29525 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29526 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29527 (writev_for_fatal): New function.
29528 (WRITEV_FOR_FATAL): New macro; call that.
29529 (backtrace_and_maps): New function.
29530 (BEFORE_ABORT): New macro; call that.
29531 (struct str_list): Type removed.
29532 (__libc_message, __libc_fatal): Functions removed.
29533 Include <sysdeps/posix/libc_fatal.c> instead.
29534
295352013-03-19 Joseph Myers <joseph@codesourcery.com>
29536
29537 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29538 constants.
29539 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29540 double constants.
29541
295422013-03-19 Andreas Schwab <schwab@suse.de>
29543
29544 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29545 * sysdeps/gnu/configure: Regenerate.
29546
29547 * configure.in: Substitute libc_cv_rtlddir.
29548 * configure: Regenerate.
29549 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29550 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29551 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29552 * elf/Makefile (install-others, CFLAGS-interp.c)
29553 (ldso_install, common-ldd-rewrite): Likewise.
29554 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29555 $(inst_slibdir)/$(rtld-installed-name).
29556 * scripts/rellns-sh: Add -p option.
29557 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29558 for source.
29559
295602013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29561
29562 * manual/nptl.texi: Renamed to ...
29563 * manual/threads.texi: ... this.
29564 * manual/Makefile (chapters): Update.
29565
295662013-03-18 Roland McGrath <roland@hack.frob.com>
29567
29568 [BZ #14812]
29569 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29570 on argument names, not just descriptions.
29571 * malloc/memusagestat.c (options): Likewise.
29572 * nss/getent.c (options): Likewise.
29573
295742013-03-18 Benno Schulenberg <bensberg@justemail.net>
29575
29576 [BZ #14812]
29577 * iconv/iconv_prog.c (options): Put N_ translation marker
29578 on argument names, not just descriptions.
29579 * iconv/iconvconfig.c (options): Likewise.
29580
295812013-03-18 Ondrej Bilka <neleai@seznam.cz>
29582
29583 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29584 implementation which is faster on all x86_64 architectures.
29585 Tested on AMD, Intel Nehalem, SNB, IVB.
29586 * sysdeps/x86_64/strnlen.S: Likewise.
29587
29588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29589 Remove all multiarch strlen and strnlen versions.
29590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29591 Remove strlen and strnlen related parts.
29592
29593 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29594 Inline strlen part.
29595 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29596
29597 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29598 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29599 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29600 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29601 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29602 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29603
296042013-03-17 Carlos O'Donell <carlos@redhat.com>
29605
29606 * manual/memory.texi (Malloc Tunable Parameters):
29607 Sort parameters alphabetically. Add comments for missing entries.
29608
296092013-03-17 David S. Miller <davem@davemloft.net>
29610
29611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29612
296132013-03-16 Joseph Myers <joseph@codesourcery.com>
29614
29615 [BZ #15283]
29616 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29617 for arguments at most half maximum finite value.
29618 * math/libm-test.inc (j0_test): Add more tests.
29619 (j1_test): Likewise.
29620 (y0_test): Likewise.
29621 (y1_test): Likewise.
29622 * sysdeps/i386/fpu/libm-test-ulps: Update.
29623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29624
29625 [BZ #14155]
29626 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29627 1 / x and functions P and Q for arguments above 0x1p256L.
29628 (__ieee754_y0l): Likewise.
29629 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29630 (__ieee754_y1l): Likewise.
29631 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29632 (j1_test): Likewise.
29633 (y0_test): Likewise.
29634 (y1_test): Likewise.
29635
296362013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29637
29638 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29639 variable.
29640
296412013-03-15 Roland McGrath <roland@hack.frob.com>
29642
29643 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29644 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29645 zero since it's initialized to EXEC_PAGESIZE.
29646
29647 * sysdeps/unix/sysv/linux/ldsodefs.h
29648 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29649 * sysdeps/generic/ldsodefs.h: ... here.
29650
296512013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29652
29653 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29654
29655 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29656 math/test-snan.c.
29657 * math/test-snan.c: Renamed from
29658 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29659 * math/Makefile (tests): Add test-snan.
29660 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29661 test-powerpc-snan.
29662
29663 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29664 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29665 functions.
29666 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29667 __builtin_nan family of functions.
29668 * math/libm-test.inc (initialize): Initialize qnan_value with
29669 __builtin_nan family of functions.
29670 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29671 Remove variables.
29672 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29673 Remove functions.
29674 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29675 storage class. Initialize qNaN_var and sNaN_var with
29676 __builtin_nan and __builtin_nans families of functions,
29677 respectively.
29678
29679 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29680 (sqrt_test): Remove duplicate test with qNaN input.
29681 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29682 (round_test, signbit_test, significand_test): Note missing +/-Inf
29683 as well as qNaN tests.
29684
29685 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29686 qNaN_var. Fix a few strings, too.
29687 * math/libm-test.inc (nan_value): Rename to qnan_value.
29688 * math/gen-libm-test.pl (%beautify): Adjust to that.
29689 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29690 * math/test-misc.c (main): Likewise.
29691 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29692 to __qnan_bytes, and __qnan_union, respectively.
29693 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29694 Likewise.
29695 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29696 and lqnanval, respectively.
29697 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29698 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29699 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29700 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29701
29702 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29703 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29704 doubles.
29705
29706 * math/test-misc.c (main): Fix copy'n'pastos.
29707 * misc/tst-efgcvt.c (special): Likewise.
29708
29709 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29710 Remove declarations.
29711
297122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29713
29714 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29715 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29716 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29717 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29718
297192013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29720
29721 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29722 macro to return vdso values correctly in IFUNC implementations.
29723 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29724 Optimization by using IFUNC.
29725
297262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29727 Richard Henderson <rth@redhat.com>
29728 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29729
29730 * Makefile.in (bench): New target.
29731 * NEWS: Mention the benchmark framework.
29732 * Rules (bench): Likewise.
29733 (binaries-bench): Generate binaries for functions to
29734 benchmark.
29735 * benchtests/Makefile: New makefile for benchmark tests.
29736 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29737 programs.
29738 * benchtests/exp-inputs: New input file for EXP function.
29739 * benchtests/pow-inputs: New input file for POW function.
29740 * scripts/bench.pl: New script to generate source files for
29741 benchmark programs.
29742
297432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29744
29745 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29747 computations on mantissa. Use macros for rounding and
29748 division.
29749 (denorm): Likewise.
29750 (__dbl_mp): Likewise.
29751 (add_magnitudes): Likewise.
29752 (sub_magnitudes): Likewise.
29753 (__mul): Likewise.
29754 (__sqr): Likewise.
29755 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29756 powers of two in terms of TWOPOW macro.
29757 (mp_no): Make type of mantissa as MANTISSA_T.
29758 [!RADIXI]: Define RADIXI.
29759 [!TWO52]: Define TWO52.
29760 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29761
29762 * manual/nptl.texi (cindex): Modify threads to pthreads.
29763
297642013-03-15 Joseph Myers <joseph@codesourcery.com>
29765
29766 * sysdeps/x86_64/preconfigure: Regenerated.
29767
297682013-03-14 Joseph Myers <joseph@codesourcery.com>
29769
29770 [BZ #14155]
29771 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29772 0x1p28 and above.
29773 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29774 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29775 0x1p28 and above.
29776 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29777 * math/libm-test.inc (j0_test): Do not allow one spurious
29778 underflow exception.
29779 (y1_test): Likewise.
29780
297812013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29782
29783 * manual/Makefile (chapters): Add nptl.
29784 * manual/debug.texi (Debugging Support): Add link to Threads
29785 chapter.
29786 * manual/nptl.texi: New file.
29787
29788 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29789
297902013-03-14 Petr Baudis <pasky@ucw.cz>
29791
29792 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29793 for non-NULL pointer before the memory validity test. Pointed
29794 out by Holger Brunck <holger.brunck@keymile.com>.
29795
297962013-03-13 Andreas Schwab <schwab@suse.de>
29797
29798 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29799 instead of .os.
29800
298012013-03-13 Joseph Myers <joseph@codesourcery.com>
29802
29803 * timezone/zic.c: Update from tzcode 2013b.
29804
298052013-03-12 Carlos O'Donell <carlos@redhat.com>
29806
29807 * manual/install.texi (Configuring and compiling):
29808 Mention i686 and i586.
29809 * INSTALL: Regenerate.
29810
298112013-03-12 Roland McGrath <roland@hack.frob.com>
29812
29813 * sysdeps/init_array/elf-init.c: New file.
29814 * csu/elf-init.c
29815 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29816 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29817
29818 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29819 __gmon_start__ as global, but as static with a .preinit_array pointer.
29820 * sysdeps/init_array/gmon-start.c: New file. Use that.
29821 * sysdeps/init_array/crti.S: New file, empty except for comments.
29822 * sysdeps/init_array/crtn.S: Likewise.
29823
298242013-03-11 Ondřej Bílka <neleai@seznam.cz>
29825
29826 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29827 definining bcopy.
29828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29829 Remove Prefer_SSE_for_memop.
29830 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29831 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29832 HAS_PREFER_SSE_FOR_MEMOP.
29833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29834 memset-x86-64.
29835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29836 Remove bzero, memset ifunc support.
29837 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29838 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29839 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29840 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29841
298422013-03-11 Andreas Schwab <schwab@suse.de>
29843
29844 [BZ #15234]
29845 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29846 by SHLIB_COMPAT.
29847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29848 (GLIBC_2.16): Remove pthread_atfork.
29849
298502013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29851
29852 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29853 (ptestcases.h): Likewise.
29854
298552013-03-08 Roland McGrath <roland@hack.frob.com>
29856
29857 * Makeconfig ($(common-objpfx)config.status): Depend on
29858 sysdeps/*/preconfigure{,.in} too.
29859
298602013-03-08 Joseph Myers <joseph@codesourcery.com>
29861
29862 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29863 (__free_hook): Use void * instead of __malloc_ptr_t.
29864 (__malloc_hook): Likewise.
29865 (__realloc_hook): Likewise.
29866 (__memalign_hook): Likewise.
29867 (__after_morecore_hook): Likewise.
29868 * malloc/arena.c (save_malloc_hook): Likewise.
29869 (save_free_hook): Likewise.
29870 * malloc/hooks.c (malloc_hook_ini): Likewise.
29871 (realloc_hook_ini): Likewise.
29872 (memalign_hook_ini): Likewise.
29873 * malloc/malloc.c (malloc_hook_ini): Likewise.
29874 (realloc_hook_ini): Likewise.
29875 (memalign_hook_ini): Likewise.
29876 (__free_hook): Likewise.
29877 (__malloc_hook): Likewise.
29878 (__realloc_hook): Likewise.
29879 (__memalign_hook): Likewise.
29880 (__libc_malloc): Likewise.
29881 (__libc_free): Likewise.
29882 (__libc_realloc): Likewise.
29883 (__libc_memalign): Likewise.
29884 (__libc_valloc): Likewise.
29885 (__libc_pvalloc): Likewise.
29886 (__libc_calloc): Likewise.
29887 (__posix_memalign): Likewise.
29888 * malloc/morecore.c (__sbrk): Likewise.
29889 (__default_morecore): Likewise.
29890
29891 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29892
29893 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29894 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29895 __malloc_ptrdiff_t.
29896
29897 * malloc/malloc.h (__malloc_size_t): Remove macro.
29898 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29899 __malloc_size_t.
29900 (old_memalign_hook): Likewise.
29901 (old_realloc_hook): Likewise.
29902 (struct hdr): Likewise.
29903 (flood): Likewise.
29904 (mallochook): Likewise.
29905 (memalignhook): Likewise.
29906 (reallochook): Likewise.
29907 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29908 (tr_old_realloc_hook): Likewise.
29909 (tr_old_memalign_hook): Likewise.
29910 (tr_mallochook): Likewise.
29911 (tr_reallochook): Likewise.
29912 (tr_memalignhook): Likewise.
29913
299142013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29915
29916 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29917 default_ldbl_pack and using as default implementation.
29918 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29919 implementation.
29920 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29921 redundant definition.
29922 (ldbl_insert_mantissa): Likewise.
29923 (ldbl_canonicalize): Likewise.
29924 (ldbl_nearbyint): Likewise.
29925 (ldbl_pack): Rename to ldbl_pack_ppc.
29926 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29927 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29928 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29929
299302013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29931
29932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29933 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29934 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29935 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29937 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29938 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29939 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29940
299412013-03-07 Andreas Jaeger <aj@suse.de>
29942
29943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29944 bits/mman-linux.h.
29945
299462013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29947
29948 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29949 Include mpa.h and declare __MPEXP.
29950 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29952 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29953 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29955 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29956 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29957
29958 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29959 (__slowpow): Use long double EXPL and LOGL functions to
29960 compute POW.
29961 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29962 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29963 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29964 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29965 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29966 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29967
29968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29969 intermediate variable to calculate exponent.
29970 (__sqr): Likewise.
29971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29972 Likewise.
29973 (__sqr): Likewise.
29974
29975 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29976 [!NO__SQR]: Define __sqr.
29977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29978 and NO__SQR. Remove all code except __mul and __sqr. Include
29979 sysdeps/ieee754/dbl-64/mpa.c.
29980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29981
29982 [BZ #12723]
29983 * posix/Makefile (tests): Add tst-pathconf.
29984 * posix/tst-pathconf.c: New test case.
29985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29986 _PC_PIPE_BUF.
29987 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29988
299892013-03-06 Patsy Franklin <pfrankli@redhat.com>
29990
29991 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29992
299932013-03-06 Andreas Jaeger <aj@suse.de>
29994
29995 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29996 definition via __MAP_ANONYMOUS.
29997
29998 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29999 it's not part of Linux headers.
30000
30001 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30002 (MAP_HUGE_MASK): Define.
30003
30004 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30005 Define.
30006 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30007 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30008 Define.
30009 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30010 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30011 Define.
30012 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30013 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30014 Define.
30015 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30016
30017 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30018 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30019 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30020 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30021 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30022 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30023
30024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30025 Handle f2fs.
30026
30027 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30028 Handle f2fs and efivarfs.
30029
30030 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30031 f2fs.
30032
30033 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30034 (EFIVARFS_MAGIC): Add.
30035 (F2FS_LINK_MAX): Add.
30036
300372013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30038
30039 * stdio-common/vfprintf.c: Replace __builtin_expect with
30040 __glibc_unlikely.
30041
300422013-03-06 Joseph Myers <joseph@codesourcery.com>
30043
30044 [BZ #13550]
30045 * sysdeps/generic/bp-sym.h: Remove file.
30046 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30047 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30048 <bp-sym.h> and <bp-asm.h>.
30049 (__longjmp): Don't use BP_SYM.
30050 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30051 and <bp-asm.h>.
30052 (memcpy): Don't use BP_SYM.
30053 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30054 <bp-sym.h> and <bp-asm.h>.
30055 (memcpy): Don't use BP_SYM.
30056 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30057 <bp-asm.h>.
30058 (memcpy): Don't use BP_SYM.
30059 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30060 <bp-asm.h>.
30061 (memset): Don't use BP_SYM.
30062 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30063 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30064 (__bzero): Don't use BP_SYM.
30065 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30066 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30067 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30068 <bp-sym.h> and <bp-asm.h>.
30069 (memcmp): Don't use BP_SYM. Remove comment about bounded
30070 pointers.
30071 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30072 <bp-sym.h> and <bp-asm.h>.
30073 (memcpy): Don't use BP_SYM.
30074 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30075 <bp-sym.h> and <bp-asm.h>.
30076 (memset): Don't use BP_SYM.
30077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30079 (__bzero): Don't use BP_SYM.
30080 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30081 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30083 <bp-sym.h> and <bp-asm.h>.
30084 (strncmp): Don't use BP_SYM. Remove comment about bounded
30085 pointers.
30086 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30087 <bp-sym.h> and <bp-asm.h>.
30088 (memcpy): Don't use BP_SYM.
30089 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30090 <bp-sym.h> and <bp-asm.h>.
30091 (memset): Don't use BP_SYM.
30092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30094 (__bzero): Don't use BP_SYM.
30095 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30096 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30098 <bp-sym.h> and <bp-asm.h>.
30099 (__memchr): Don't use BP_SYM.
30100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30101 <bp-sym.h> and <bp-asm.h>.
30102 (memcmp): Don't use BP_SYM. Remove comment about bounded
30103 pointers.
30104 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30105 <bp-sym.h> and <bp-asm.h>.
30106 (memcpy): Don't use BP_SYM.
30107 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30108 <bp-sym.h> and <bp-asm.h>.
30109 (__mempcpy): Don't use BP_SYM.
30110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30111 <bp-sym.h> and <bp-asm.h>.
30112 (__memrchr): Don't use BP_SYM.
30113 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30114 <bp-sym.h> and <bp-asm.h>.
30115 (memset): Don't use BP_SYM.
30116 (__bzero): Likewise.
30117 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30118 <bp-sym.h> and <bp-asm.h>.
30119 (__rawmemchr): Don't use BP_SYM.
30120 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30121 <bp-sym.h> and <bp-asm.h>.
30122 (__STRCMP): Don't use BP_SYM.
30123 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30124 <bp-sym.h> and <bp-asm.h>.
30125 (strchr): Don't use BP_SYM.
30126 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30127 <bp-sym.h> and <bp-asm.h>.
30128 (__strchrnul): Don't use BP_SYM.
30129 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30130 <bp-sym.h> and <bp-asm.h>.
30131 (strlen): Don't use BP_SYM.
30132 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30133 <bp-sym.h> and <bp-asm.h>.
30134 (strncmp): Don't use BP_SYM. Remove comment about bounded
30135 pointers.
30136 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30137 <bp-sym.h> and <bp-asm.h>.
30138 (__strnlen): Don't use BP_SYM.
30139 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30140 <bp-sym.h> and <bp-asm.h>.
30141 (__GI__setjmp): Don't use BP_SYM.
30142 (_setjmp): Likewise.
30143 (__sigsetjmp): Likewise.
30144 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30145 (L(start_addresses)): Don't use BP_SYM.
30146 (_start): Likewise.
30147 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30148 <bp-asm.h>.
30149 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30150 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30151 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30152 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30153 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30154 <bp-asm.h>.
30155 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30156 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30157 about bounded pointers.
30158 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30159 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30160 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30161 <bp-asm.h>.
30162 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30163 about bounded pointers. Remove GKM FIXME comments.
30164 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30165 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30166 <bp-asm.h>.
30167 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30168 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30169 Remove GKM FIXME comments.
30170 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30171 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30172 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30173 <bp-asm.h>.
30174 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30175 about bounded pointers. Remove GKM FIXME comment.
30176 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30177 and <bp-asm.h>.
30178 (strncmp): Don't use BP_SYM. Remove comment about bounded
30179 pointers.
30180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30181 <bp-sym.h> and <bp-asm.h>.
30182 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30184 <bp-sym.h> and <bp-asm.h>.
30185 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30186 comment.
30187
301882013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30189
30190 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30191 call free(NULL).
30192
301932013-03-05 David S. Miller <davem@davemloft.net>
30194
30195 * po/es.po: Update from translation team.
30196
301972013-03-05 Andreas Jaeger <aj@suse.de>
30198
30199 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30200 <bits/mman-linux.h>.
30201 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30202 is fine.
30203 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30204 <bits/mman-linux.h> to end of file.
30205 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30206 is fine.
30207 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30208 <bits/mman-linux.h> to end of file.
30209 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30210 is fine.
30211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30212 <bits/mman-linux.h> to end of file.
30213
30214 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30215 (MCL_CURRENT, MCL_FUTURE): Define here.
30216
302172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30218
30219 [BZ #15232]
30220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30221 attribute_hidden.
30222 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30223
302242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30225
30226 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30227 fourth parameter needed for rt_sigprocmask syscall.
30228 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30229 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30230 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30231 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30232 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30233 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30234
302352013-03-04 Joseph Myers <joseph@codesourcery.com>
30236
30237 [BZ #13550]
30238 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30239 comment about bounded pointers.
30240 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30241 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30242
302432013-03-04 Andreas Jaeger <aj@suse.de>
30244
30245 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30246 common definitions.
30247
30248 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30249 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30250 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30254
302552013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30256
30257 [BZ #15055]
30258 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30259 __ieee754_sqrl instead of __sqrl.
30260
302612013-03-01 Joseph Myers <joseph@codesourcery.com>
30262
30263 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30264 * sysdeps/powerpc/fpu_control.h: ... here.
30265 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30266 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30267 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30268 * sysdeps/powerpc/bits/mathinline.h: ... here.
30269
302702013-03-01 Roland McGrath <roland@hack.frob.com>
30271
30272 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30273 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30274 to just [NEED_DL_SYSINFO_DSO].
30275 * elf/dl-support.c: Likewise.
30276 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30277 * elf/rtld.c (dl_main): Likewise.
30278 * elf/setup-vdso.h (setup_vdso): Likewise.
30279 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30280 * sysdeps/unix/sysv/linux/dl-sysdep.c
30281 (_dl_discover_osversion): Likewise.
30282
302832013-03-01 Carlos O'Donell <carlos@redhat.com>
30284
30285 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30286 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30287
302882013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30289
30290 * NEWS: Mention libm performance improvements and non-x86 PI
30291 futex support.
30292
30293 * csu/libc-start.c (__pthread_initialize_minimal): Change
30294 function arguments.
30295 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30296
302972013-02-28 Joseph Myers <joseph@codesourcery.com>
30298
30299 [BZ #13550]
30300 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30301 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30302 <bp-sym.h> and <bp-asm.h>.
30303 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30304 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30305 and <bp-asm.h>.
30306 (memcpy): Don't use BP_SYM.
30307 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30308 <bp-asm.h>.
30309 (__mpn_add_n): Don't use BP_SYM.
30310 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30311 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30312 and <bp-asm.h>.
30313 (__mpn_addmul_1): Don't use BP_SYM.
30314 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30315 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30316 <bp-sym.h>.
30317 (_setjmp): Don't use BP_SYM.
30318 (__novmx_setjmp): Likewise.
30319 (__GI__setjmp): Likewise.
30320 (__vmx_setjmp): Likewise.
30321 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30322 <bp-sym.h>.
30323 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30324 (__bzero): Don't use BP_SYM.
30325 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30326 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30327 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30328 <bp-sym.h> and <bp-asm.h>.
30329 (memcpy): Don't use BP_SYM.
30330 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30331 <bp-sym.h> and <bp-asm.h>.
30332 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30333 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30334 <bp-sym.h> and <bp-asm.h>.
30335 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30336 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30337 <bp-asm.h>.
30338 (__mpn_lshift): Don't use BP_SYM.
30339 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30340 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30341 <bp-asm.h>.
30342 (memset): Don't use BP_SYM.
30343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30345 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30346 <bp-asm.h>.
30347 (__mpn_mul_1): Don't use BP_SYM.
30348 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30350 <bp-sym.h> and <bp-asm.h>.
30351 (memcmp): Don't use BP_SYM.
30352 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30353 <bp-sym.h> and <bp-asm.h>.
30354 (memcpy): Don't use BP_SYM.
30355 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30356 <bp-sym.h> and <bp-asm.h>.
30357 (memset): Don't use BP_SYM.
30358 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30359 <bp-sym.h> and <bp-asm.h>.
30360 (strncmp): Don't use BP_SYM.
30361 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30362 <bp-sym.h> and <bp-asm.h>.
30363 (memcpy): Don't use BP_SYM.
30364 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30365 <bp-sym.h> and <bp-asm.h>.
30366 (memset): Don't use BP_SYM.
30367 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30368 <bp-sym.h> and <bp-asm.h>.
30369 (__memchr): Don't use BP_SYM.
30370 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30371 <bp-sym.h> and <bp-asm.h>.
30372 (memcmp): Don't use BP_SYM.
30373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30374 <bp-sym.h> and <bp-asm.h>.
30375 (memcpy): Don't use BP_SYM.
30376 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30377 <bp-sym.h> and <bp-asm.h>.
30378 (__mempcpy): Don't use BP_SYM.
30379 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30380 <bp-sym.h> and <bp-asm.h>.
30381 (__memrchr): Don't use BP_SYM.
30382 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30383 <bp-sym.h> and <bp-asm.h>.
30384 (memset): Don't use BP_SYM.
30385 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30386 <bp-sym.h> and <bp-asm.h>.
30387 (__rawmemchr): Don't use BP_SYM.
30388 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30389 <bp-sym.h> and <bp-asm.h>.
30390 (__STRCMP): Don't use BP_SYM.
30391 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30392 <bp-sym.h> and <bp-asm.h>.
30393 (strchr): Don't use BP_SYM.
30394 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30395 <bp-sym.h> and <bp-asm.h>.
30396 (__strchrnul): Don't use BP_SYM.
30397 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30398 <bp-sym.h> and <bp-asm.h>.
30399 (strlen): Don't use BP_SYM.
30400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30401 <bp-sym.h> and <bp-asm.h>.
30402 (strncmp): Don't use BP_SYM.
30403 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30404 <bp-sym.h> and <bp-asm.h>.
30405 (__strnlen): Don't use BP_SYM.
30406 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30407 <bp-asm.h>.
30408 (__mpn_rshift): Don't use BP_SYM.
30409 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30411 <bp-sym.h> and <bp-asm.h>.
30412 (__sigsetjmp): Don't use BP_SYM.
30413 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30414 (L(start_addresses)): Don't use BP_SYM.
30415 (_start): Likewise.
30416 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30417 <bp-asm.h>.
30418 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30419 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30420 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30421 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30422 <bp-asm.h>.
30423 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30424 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30425 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30426 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30427 <bp-asm.h>.
30428 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30429 comments.
30430 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30431 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30432 <bp-asm.h>.
30433 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30434 FIXME comments.
30435 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30436 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30437 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30438 <bp-asm.h>.
30439 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30440 comment.
30441 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30442 and <bp-asm.h>.
30443 (strncmp): Don't use BP_SYM,
30444 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30445 <bp-asm.h>.
30446 (__mpn_sub_n): Don't use BP_SYM.
30447 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30448 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30449 and <bp-asm.h>.
30450 (__mpn_submul_1): Don't use BP_SYM.
30451 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30453 <bp-sym.h> and <bp-asm.h>.
30454 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30456 <bp-sym.h> and <bp-asm.h>.
30457 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30458 comment.
30459
304602013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30461
30462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30463 Use ZK to minimize writes to Z.
30464 (sub_magnitudes): Simplify code a bit.
30465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30466 Use ZK to minimize writes to Z.
30467 (sub_magnitudes): Simplify code a bit.
30468
304692013-02-27 Roland McGrath <roland@hack.frob.com>
30470
30471 * csu/gmon-start.c: Add special exception to license text.
30472
304732013-02-27 Richard Henderson <rth@redhat.com>
30474
30475 * scripts/config.guess: Update from config.git.
30476 * scripts/config.sub: Likewise.
30477
304782013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30479
30480 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30481
30482 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30483
30484 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30485
30486 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30487
30488 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30489
304902013-02-26 Roland McGrath <roland@hack.frob.com>
30491
30492 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30493 [$(build-shared = yes].
30494
304952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30496
30497 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30498 (__mul): Reduce iterations for calculating mantissa.
30499
30500 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30501 MPTWO.
30502 (__mpranred): Likewise.
30503
30504 [BZ #15160]
30505 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30506 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30507
305082013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30509
30510 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30511 Define __attribute__.
30512
305132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30514
30515 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30516 unused.
30517 * posix/regex_internal.h (__attribute): Remove.
30518 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30519 (re_string_context_at): Likewise.
30520 (bitset_not): Use __attribute__ and mark function as possibly
30521 unused.
30522 (bitset_merge): Likewise.
30523 (bitset_mask): Likewise.
30524 (re_string_char_size_at): Likewise.
30525 (re_string_wchar_at): Likewise.
30526 (re_string_elem_size_at): Likewise.
30527
305282013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30529
30530 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30531 code.
30532 (cc32): Likewise.
30533
30534 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30535 (__acr): Likewise.
30536 (__cpy): Likewise.
30537 (norm): Likewise.
30538 (denorm): Likewise.
30539 (__dbl_mp): Likewise.
30540 (add_magnitudes): Likewise.
30541 (sub_magnitudes): Likewise.
30542 (__mul): Likewise.
30543 (__inv): Likewise.
30544
30545 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30546 style.
30547
30548 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30549 style.
30550
30551 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30552 code.
30553
30554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30555 up changes with default code.
30556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30557 Likewise.
30558
305592013-02-24 Allan McRae <allan@archlinux.org>
30560
30561 * manual/socket.texi (The Internet Namespace): Order menu items
30562 to match that in the file.
30563
30564 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30565 node listing of the info page menu.
30566
305672013-02-21 Joseph Myers <joseph@codesourcery.com>
30568
30569 [BZ #13550]
30570 * sysdeps/i386/bp-asm.h: Remove file.
30571 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30572 (PARMS): Do not use macros from bp-asm.h.
30573 (S1): Likewise.
30574 (S2): Likewise.
30575 (SIZE): Likewise.
30576 (__mpn_add_n): Do not use BP_SYM
30577 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30578 "bp-asm.h".
30579 (PARMS): Do not use macros from bp-asm.h.
30580 (S1): Likewise.
30581 (SIZE): Likewise.
30582 (__mpn_addmul_1): Do not use BP_SYM
30583 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30584 "bp-asm.h".
30585 (PARMS): Do not use macros from bp-asm.h.
30586 (SIGMSK): Likewise.
30587 (_setjmp): Likewise. Do not use BP_SYM.
30588 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30589 "bp-asm.h".
30590 (PARMS): Do not use macros from bp-asm.h.
30591 (SIGMSK): Likewise.
30592 (setjmp): Likewise. Do not use BP_SYM.
30593 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30594 "bp-asm.h".
30595 (PARMS): Do not use macros from bp-asm.h.
30596 (__frexp): Do not use BP_SYM.
30597 (frexp): Likewise.
30598 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30599 "bp-asm.h".
30600 (PARMS): Do not use macros from bp-asm.h.
30601 (__frexpf): Do not use BP_SYM.
30602 (frexpf): Likewise.
30603 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30604 "bp-asm.h".
30605 (PARMS): Do not use macros from bp-asm.h.
30606 (__frexpl): Do not use BP_SYM.
30607 (frexpl): Likewise.
30608 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30609 "bp-asm.h".
30610 (PARMS): Do not use macros from bp-asm.h.
30611 (__remquo): Do not use BP_SYM.
30612 (remquo): Likewise.
30613 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30614 "bp-asm.h".
30615 (PARMS): Do not use macros from bp-asm.h.
30616 (__remquof): Do not use BP_SYM.
30617 (remquof): Likewise.
30618 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30619 "bp-asm.h".
30620 (PARMS): Do not use macros from bp-asm.h.
30621 (__remquol): Do not use BP_SYM.
30622 (remquol): Likewise.
30623 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30624 "bp-asm.h".
30625 (PARMS): Do not use macros from bp-asm.h.
30626 (DEST): Likewise.
30627 (SRC): Likewise.
30628 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30629 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30630 "bp-asm.h".
30631 (PARMS): Do not use macros from bp-asm.h.
30632 (strlen): Do not use BP_SYM.
30633 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30634 "bp-asm.h".
30635 (PARMS): Do not use macros from bp-asm.h.
30636 (S1): Likewise.
30637 (S2): Likewise.
30638 (SIZE): Likewise.
30639 (__mpn_add_n): Do not use BP_SYM.
30640 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30641 "bp-asm.h".
30642 (PARMS): Do not use macros from bp-asm.h.
30643 (S1): Likewise.
30644 (SIZE): Likewise.
30645 (__mpn_addmul_1): Do not use BP_SYM.
30646 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30647 weak_alias.
30648 (bzero): Likewise.
30649 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30650 "bp-asm.h".
30651 (PARMS): Do not use macros from bp-asm.h.
30652 (S): Likewise.
30653 (SIZE): Likewise.
30654 (__mpn_lshift): Do not use BP_SYM.
30655 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30656 "bp-asm.h".
30657 (PARMS): Do not use macros from bp-asm.h.
30658 (DEST): Likewise.
30659 (SRC): Likewise.
30660 (LEN): Likewise.
30661 (memcpy): Likewise. Do not use BP_SYM.
30662 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30663 libc_hidden_def and weak_alias.
30664 (mempcpy): Do not use BP_SYM in weak_alias.
30665 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30666 "bp-asm.h".
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (DEST): Likewise.
30669 (LEN): Likewise.
30670 [!BZERO_P] (CHR): Likewise.
30671 (memset): Likewise. Do not use BP_SYM.
30672 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30673 "bp-asm.h".
30674 (PARMS): Do not use macros from bp-asm.h.
30675 (S1): Likewise.
30676 (SIZE): Likewise.
30677 (__mpn_mul_1): Do not use BP_SYM.
30678 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30679 "bp-asm.h".
30680 (PARMS): Do not use macros from bp-asm.h.
30681 (S): Likewise.
30682 (SIZE): Likewise.
30683 (__mpn_rshift): Do not use BP_SYM.
30684 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30685 "bp-asm.h".
30686 (PARMS): Do not use macros from bp-asm.h.
30687 (STR): Likewise.
30688 (CHR): Likewise.
30689 (strchr): Likewise. Do not use BP_SYM.
30690 (index): Do not use BP_SYM in weak_alias.
30691 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30692 "bp-asm.h".
30693 (PARMS): Do not use macros from bp-asm.h.
30694 (DEST): Likewise.
30695 (SRC): Likewise.
30696 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30697 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30698 "bp-asm.h".
30699 (PARMS): Do not use macros from bp-asm.h.
30700 (strlen): Do not use BP_SYM.
30701 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30702 "bp-asm.h".
30703 (PARMS): Do not use macros from bp-asm.h.
30704 (S1): Likewise.
30705 (S2): Likewise.
30706 (SIZE): Likewise.
30707 (__mpn_sub_n): Do not use BP_SYM.
30708 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30709 "bp-asm.h".
30710 (PARMS): Do not use macros from bp-asm.h.
30711 (S1): Likewise.
30712 (SIZE): Likewise.
30713 (__mpn_submul_1): Do not use BP_SYM.
30714 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30715 "bp-asm.h".
30716 (PARMS): Do not use macros from bp-asm.h.
30717 (S1): Likewise.
30718 (S2): Likewise.
30719 (SIZE): Likewise.
30720 (__mpn_add_n): Do not use BP_SYM.
30721 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30722 weak_alias.
30723 (bzero): Likewise.
30724 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30725 "bp-asm.h".
30726 (PARMS): Do not use macros from bp-asm.h.
30727 (BLK2): Likewise.
30728 (LEN): Likewise.
30729 (memcmp): Do not use BP_SYM.
30730 (bcmp): Do not use BP_SYM in weak_alias.
30731 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30732 "bp-asm.h".
30733 (PARMS): Do not use macros from bp-asm.h.
30734 (DEST): Likewise.
30735 (SRC): Likewise.
30736 (LEN): Likewise.
30737 (memcpy): Likewise. Do not use BP_SYM.
30738 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30739 "bp-asm.h".
30740 (PARMS): Do not use macros from bp-asm.h.
30741 (DEST): Likewise.
30742 (SRC): Likewise.
30743 (LEN): Likewise.
30744 (memmove): Likewise. Do not use BP_SYM.
30745 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30746 "bp-asm.h".
30747 (PARMS): Do not use macros from bp-asm.h.
30748 (DEST): Likewise.
30749 (SRC): Likewise.
30750 (LEN): Likewise.
30751 (__mempcpy): Likewise. Do not use BP_SYM.
30752 (mempcpy): Do not use BP_SYM in weak_alias.
30753 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30754 "bp-asm.h".
30755 (PARMS): Do not use macros from bp-asm.h.
30756 (DEST): Likewise.
30757 (LEN): Likewise.
30758 [!BZERO_P] (CHR): Likewise.
30759 (memset): Likewise. Do not use BP_SYM.
30760 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30761 "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (STR2): Likewise.
30764 (strcmp): Do not use BP_SYM.
30765 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30766 "bp-asm.h".
30767 (PARMS): Do not use macros from bp-asm.h.
30768 (STR): Likewise.
30769 (DELIM): Likewise.
30770 [USE_AS_STRTOK_R] (SAVE): Likewise.
30771 (FUNCTION): Likewise. Do not use BP_SYM.
30772 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30773 aliases.
30774 (strtok_r): Likewise.
30775 (__GI___strtok_r): Likewise.
30776 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30777 (PARMS): Do not use macros from bp-asm.h.
30778 (S): Likewise.
30779 (SIZE): Likewise.
30780 (__mpn_lshift): Do not use BP_SYM.
30781 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30782 (PARMS): Do not use macros from bp-asm.h.
30783 (STR): Likewise.
30784 (CHR): Likewise.
30785 (__memchr): Do not use BP_SYM.
30786 (memchr): Do not use BP_SYM in weak_alias.
30787 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30788 (PARMS): Do not use macros from bp-asm.h.
30789 (BLK2): Likewise.
30790 (LEN): Likewise.
30791 (memcmp): Do not use BP_SYM.
30792 (bcmp): Do not use BP_SYM in weak_alias.
30793 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30794 (PARMS): Do not use macros from bp-asm.h.
30795 (S1): Likewise.
30796 (SIZE): Likewise.
30797 (__mpn_mul_1): Do not use BP_SYM.
30798 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30799 "bp-asm.h".
30800 (PARMS): Do not use macros from bp-asm.h.
30801 (STR): Likewise.
30802 (CHR): Likewise.
30803 (__rawmemchr): Do not use BP_SYM.
30804 (rawmemchr): Do not use BP_SYM in weak_alias.
30805 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30806 (PARMS): Do not use macros from bp-asm.h.
30807 (S): Likewise.
30808 (SIZE): Likewise.
30809 (__mpn_rshift): Do not use BP_SYM.
30810 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30811 (PARMS): Do not use macros from bp-asm.h.
30812 (SIGMSK): Likewise.
30813 (__sigsetjmp): Likewise. Do not use BP_SYM.
30814 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30815 (_start): Do not use BP_SYM.
30816 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30817 (PARMS): Do not use macros from bp-asm.h.
30818 (DEST): Likewise.
30819 (SRC): Likewise.
30820 (__stpcpy): Likewise. Do not use BP_SYM.
30821 (stpcpy): Do not use BP_SYM in weak_alias.
30822 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30823 "bp-asm.h".
30824 (PARMS): Do not use macros from bp-asm.h.
30825 (DEST): Likewise.
30826 (SRC): Likewise.
30827 (LEN): Likewise.
30828 (__stpncpy): Likewise. Do not use BP_SYM.
30829 (stpncpy): Do not use BP_SYM in weak_alias.
30830 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30831 (PARMS): Do not use macros from bp-asm.h.
30832 (STR): Likewise.
30833 (CHR): Likewise.
30834 (strchr): Likewise. Do not use BP_SYM.
30835 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30836 "bp-asm.h".
30837 (PARMS): Do not use macros from bp-asm.h.
30838 (STR): Likewise.
30839 (CHR): Likewise.
30840 (__strchrnul): Likewise. Do not use BP_SYM.
30841 (strchrnul): Do not use BP_SYM in weak_alias.
30842 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30843 "bp-asm.h".
30844 (PARMS): Do not use macros from bp-asm.h.
30845 (STOP): Likewise.
30846 (strcspn): Do not use BP_SYM.
30847 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
30852 (strpbrk): Likewise. Do not use BP_SYM.
30853 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30854 "bp-asm.h".
30855 (PARMS): Do not use macros from bp-asm.h.
30856 (STR): Likewise.
30857 (CHR): Likewise.
30858 (strrchr): Likewise. Do not use BP_SYM.
30859 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30860 (PARMS): Do not use macros from bp-asm.h.
30861 (SKIP): Likewise.
30862 (strspn): Do not use BP_SYM.
30863 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30864 (PARMS): Do not use macros from bp-asm.h.
30865 (STR): Likewise.
30866 (DELIM): Likewise.
30867 (SAVE): Likewise.
30868 (FUNCTION): Likewise. Do not use BP_SYM.
30869 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30870 aliases.
30871 (strtok_r): Likewise.
30872 (__GI___strtok_r): Likewise.
30873 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30874 (PARMS): Do not use macros from bp-asm.h.
30875 (S1): Likewise.
30876 (S2): Likewise.
30877 (SIZE): Likewise.
30878 (__mpn_sub_n): Do not use BP_SYM.
30879 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30880 "bp-asm.h".
30881 (PARMS): Do not use macros from bp-asm.h.
30882 (S1): Likewise.
30883 (SIZE): Likewise.
30884 (__mpn_submul_1): Do not use BP_SYM.
30885 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30886 <bp-sym.h>.
30887 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30888 and <bp-asm.h>.
30889 (PARMS): Do not use macros from bp-asm.h.
30890 (FLAGS): Likewise.
30891 (PTID): Likewise.
30892 (TLS): Likewise.
30893 (CTID): Likewise.
30894 (__clone): Do not use BP_SYM.
30895 (clone): Do not use BP_SYM in weak_alias.
30896 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30897 and <bp-asm.h>.
30898 (PARMS): Do not use macros from bp-asm.h.
30899 (LEN): Likewise.
30900 (__mmap64): Do not use BP_SYM.
30901 (mmap64): Do not use BP_SYM in weak_alias.
30902 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30903 <bp-sym.h> and <bp-asm.h>.
30904 (PARMS): Do not use macros from bp-asm.h.
30905 (__posix_fadvise64_l64): Do not use BP_SYM.
30906 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30907 (PARMS): Do not use macros from bp-asm.h.
30908 (NSOPS): Likewise.
30909 (semtimedop): Do not use BP_SYM.
30910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30911 and <bp-asm.h>.
30912
309132013-02-21 Allan McRae <allan@archlinux.org>
30914
30915 * manual/message.texi (Charset conversion in gettext):
30916 Move @end statement to beginning of line.
30917
309182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30919
30920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30921 static.
30922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30923 Likewise.
30924
30925 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30926 (denorm): Likewise.
30927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30929
309302013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30931
30932 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30933 tail-call to the resolved function if pltexit isn't needed.
30934
309352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30936
30937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30938 or Y being zero as being unlikely.
30939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30940 Likewise.
30941
309422013-02-20 Carlos O'Donell <carlos@redhat.com>
30943
30944 * manual/nss.texi (System Databases and Name Service Switch):
30945 Remove frobnicate @pxref.
30946
309472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30948
30949 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30950 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30951
309522013-02-20 Petr Machata <pmachata@redhat.com>
30953
30954 * elf/elf.h (R_ARM_TARGET1): New macro.
30955 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30956 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30957 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30958 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30959 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30960 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30961 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30962 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30963 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30964 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30965 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30966 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30967 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30968 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30969 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30970 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30971 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30972 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30973 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30974 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30975 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30976 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30977 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30978 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30979 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30980 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30981 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30982 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30983 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30984 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30985 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30986 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30987 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30988 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30989 (R_ARM_THM_GOT_BREL12): Likewise.
30990 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30991 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30992 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30993 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30994 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30995 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30996 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30997 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30998 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30999
310002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31001
31002 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31003 __attribute_used__ to __attribute__ ((unused)).
31004
310052013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31006
31007 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31008 powerpc mpa.c.
31009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31010 comment formatting.
31011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31012
310132013-02-19 Joseph Myers <joseph@codesourcery.com>
31014
31015 [BZ #13550]
31016 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31017 Remove macro.
31018 (ENTER): Remove both macro definitions.
31019 (LEAVE): Likewise.
31020 (CHECK_BOUNDS_LOW): Likewise.
31021 (CHECK_BOUNDS_HIGH): Likewise.
31022 (CHECK_BOUNDS_BOTH): Likewise.
31023 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31024 (RETURN_BOUNDED_POINTER): Likewise.
31025 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31026 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31027 (POP_ERRNO_LOCATION_RETURN): Likewise.
31028 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31029 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31030 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31031 macros.
31032 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31033 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31034 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31035 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31036 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31037 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31038 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31039 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31040 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31041 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31042 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31043 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31044 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31045 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31046 removed macros.
31047 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31048 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31049 macros.
31050 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31051 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31052 * sysdeps/i386/i586/memset.S (memset): Likewise.
31053 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31055 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31056 macros.
31057 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31058 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31059 Change uses of L(2) to L(out).
31060 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31061 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31062 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31063 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31064 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31065 removed macros.
31066 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31067 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31068 macros.
31069 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31070 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31071 (RETURN): Do not use macro LEAVE.
31072 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31073 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31074 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31075 * sysdeps/i386/i686/memset.S (memset): Likewise.
31076 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31077 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31078 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31079 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31080 Likewise.
31081 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31082 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31083 L(1_2) and L(1_3) into L(1).
31084 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31085 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31086 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31087 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31088 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31089 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31090 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31091 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31092 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31093 macros.
31094 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31095 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31096 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31097 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31098 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31099 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31100 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31101 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31102 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31103 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31104 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31105 * sysdeps/i386/strspn.S (strspn): Likewise.
31106 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31107 conditional code.
31108 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31109 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31110 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31111 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31112 L(1_3) into L(1_1).
31113 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31114 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31115 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31116 macros.
31117 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31118
311192013-02-19 Jakub Jelinek <jakub@redhat.com>
31120
31121 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31122 macro.
31123
311242013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31125
31126 * math/atest-exp.c (exp_mpn): Remove ROUND.
31127 * math/atest-exp2.c (exp_mpn): Likewise.
31128 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31129
31130 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31131 * stdlib/tst-tls-atexit-lib.c: Likewise.
31132 * stdlib/tst-tls-atexit.c: Likewise.
31133
311342013-02-18 Mike Frysinger <vapier@gentoo.org>
31135
31136 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31137 and __attribute_alloc_size__.
31138
311392013-02-18 Mike Frysinger <vapier@gentoo.org>
31140
31141 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31142 __attribute_alloc_size__.
31143 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31144 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31145
311462013-02-18 Mike Frysinger <vapier@gentoo.org>
31147
31148 * include/programs/xmalloc.h: New file.
31149 * catgets/gencat.c: Include it.
31150 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31151 * elf/pldd.c: Likewise.
31152 * iconv/iconv_charmap.c: Likewise.
31153 * iconv/iconvconfig.c: Likewise.
31154 * iconv/strtab.c: Likewise.
31155 * locale/programs/locale.c: Likewise.
31156 * locale/programs/localedef.h: Likewise.
31157 * locale/programs/simple-hash.c: Likewise.
31158 * nscd/nscd.h: Likewise.
31159 * nss/makedb.c: Likewise.
31160 * sysdeps/generic/ldconfig.h: Likewise.
31161
311622013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31163
31164 * Versions.def: Add GLIBC_2.18.
31165 * include/link.h (struct link_map): New member l_tls_dtor_count.
31166 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31167 (__call_tls_dtors): Likewise.
31168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31169 __cxa_thread_atexit_impl.
31170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31171 Likewise.
31172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31173 Likewise.
31174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31175 Likewise.
31176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31177 Likewise.
31178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31180 Likewise.
31181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31182 Likewise.
31183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31185 Likewise.
31186 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31187 (tests): Add test case tst-tls-atexit.
31188 (modules-names): Add shared library for tst-tls-atexit.
31189 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31190 (GLIBC_PRIVATE): Add __call_tls_dtors.
31191 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31192 for libstdc++.
31193 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31194 * stdlib/tst-tls-atexit.c: New test case.
31195 * stdlib/tst-tls-atexit-lib.c: New test case.
31196
31197 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31198
31199 * elf/Versions (ld): Add _dl_find_dso_for_object.
31200 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31201 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31202 (dl_open_worker): Use _dl_find_dso_for_object.
31203 * elf/dl-sym.c (do_sym): Likewise.
31204 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31205
312062013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31207
31208 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31209 Syntactic changes only.
31210 (_dl_runtime_profile): Do a tail-call to the resolved function.
31211
312122013-02-17 Joseph Myers <joseph@codesourcery.com>
31213
31214 [BZ #13550]
31215 * sysdeps/x86_64/bp-asm.h: Remove file.
31216 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31217 <bp-sym.h> and <bp-asm.h>.
31218 (__clone): Do not use BP_SYM.
31219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31220 <bp-sym.h> and <bp-asm.h>.
31221 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31222 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31223 "bp-asm.h".
31224 (_setjmp): Do not use BP_SYM.
31225 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31226 "bp-asm.h".
31227 (setjmp): Do not use BP_SYM.
31228 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31229 libc_hidden_def.
31230 (mempcpy): Do not use BP_SYM in weak_alias.
31231 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31232 "bp-asm.h".
31233 (strchr): Do not use BP_SYM.
31234 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31235 "bp-asm.h".
31236 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31237 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31238 (_start): Do not use BP_SYM.
31239 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31240 "bp-asm.h".
31241 (strcat): Do not use BP_SYM.
31242 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31243 "bp-asm.h".
31244 (STRCMP): Do not use BP_SYM.
31245 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31246 "bp-asm.h".
31247 (STRCPY): Do not use BP_SYM.
31248 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31249 "bp-asm.h".
31250 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31251 "bp-asm.h".
31252 (FUNCTION): Do not use BP_SYM.
31253 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31254 weak_alias.
31255 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31256
312572013-02-17 Andreas Jaeger <aj@suse.de>
31258
31259 * time/Versions: Sort entries.
31260 * string/Versions: Likewise.
31261 * resolv/Versions: Likewise.
31262 * posix/Versions: Likewise.
31263 * iconv/Versions: Likewise.
31264 * elf/Versions: Likewise.
31265 * wcsmbs/Versions: Likewise.
31266
312672013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31268
31269 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31270 loop termination condition.
31271
31272 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31273 variable to calculate EZ.
31274 (__sqr): Likewise.
31275
31276 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31277 the lower precision input.
31278
312792013-02-15 Joseph Myers <joseph@codesourcery.com>
31280
31281 [BZ #13550]
31282 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31283 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31284 (run-via-rtld-prefix): Do not handle %-bp tests.
31285 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31286 (all-object-suffixes): Remove .ob.
31287 (bppfx): Remove variable.
31288 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31289 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31290 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31291 [$(build-bounded) = yes] (libtype.ob): Likewise.
31292 * Makerules (elide-routines.ob): Remove variable.
31293 (do-tests-clean): Do not handle *-bp.out.
31294 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31295 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31296 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31297 (tests): Do not include $(tests-bp.out).
31298 (xtests): Do not include $(xtests-bp.out).
31299 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31300 [$(build-bounded) = yes] ($(addprefix
31301 $(objpfx),$(binaries-bounded))): Remove rule.
31302 ($(objpfx)%-bp.out): Remove rule.
31303 * config.make.in (build-bounded): Remove variable.
31304 * crypt/Makefile [$(build-bounded) = yes]
31305 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31306 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31307 append to variable.
31308 [$(build-bounded) = yes] (install-lib): Likewise.
31309 [$(build-bounded) = yes] (generated): Likewise.
31310 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31311 Remove rule.
31312 * intl/Makefile [$(build-bounded) = yes]
31313 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31314 * math/Makefile [$(build-bounded) = yes]
31315 ($(tests:%=$(objpfx)%-bp): Likewise.
31316 * misc/Makefile [$(build-bounded) = yes]
31317 ($(objpfx)tst-tsearch-bp): Likewise.
31318 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31319 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31320 Remove dependency.
31321 * string/Makefile (o-objects.ob): Remove variable.
31322 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31323 (CFLAGS-.ob): Remove variable.
31324 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31325 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31326 both definitions of variable.
31327 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31328 (ASFLAGS-.ob): Remove variable.
31329
313302013-02-14 Joseph Myers <joseph@codesourcery.com>
31331
31332 [BZ #13550]
31333 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31334 Remove __BOUNDED_POINTERS__ from condition.
31335 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31336 * string/bits/string2.h [!__NO_STRING_INLINES &&
31337 !__BOUNDED_POINTERS__]: Likewise.
31338 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31339 Likewise.
31340 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31341 Remove conditional code.
31342 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31343 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31344 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31345 condition.
31346
31347 [BZ #13550]
31348 * csu/libc-start.c: Do not include <bp-sym.h>.
31349 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31350 * elf/dl-open.c: Do not include <bp-sym.h>.
31351 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31352 * math/fegetenv.c: Do not include <bp-sym.h>.
31353 (fegetenv): Do not use BP_SYM in versioned symbols.
31354 * nptl/sysdeps/pthread/bits/libc-lockP.h
31355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31356 <bp-sym.h>.
31357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31358 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31360 (__pthread_mutex_destroy): Likewise.
31361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31362 (__pthread_mutex_lock): Likewise.
31363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31364 (__pthread_mutex_trylock): Likewise.
31365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31366 (__pthread_mutex_unlock): Likewise.
31367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31368 (__pthread_mutexattr_init): Likewise.
31369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31370 (__pthread_mutexattr_destroy): Likewise.
31371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31372 (__pthread_mutexattr_settype): Likewise.
31373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31374 (__pthread_rwlock_init): Likewise.
31375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31376 (__pthread_rwlock_destroy): Likewise.
31377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31378 (__pthread_rwlock_rdlock): Likewise.
31379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31380 (__pthread_rwlock_tryrdlock): Likewise.
31381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31382 (__pthread_rwlock_wrlock): Likewise.
31383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31384 (__pthread_rwlock_trywrlock): Likewise.
31385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31386 (__pthread_rwlock_unlock): Likewise.
31387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31388 (__pthread_key_create): Likewise.
31389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31390 (__pthread_setspecific): Likewise.
31391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31392 (__pthread_getspecific): Likewise.
31393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31394 Likewise.
31395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31396 (_pthread_cleanup_push_defer): Likewise.
31397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31398 (_pthread_cleanup_pop_restore): Likewise.
31399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31400 (pthread_setcancelstate): Likewise.
31401 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31402 <bp-sym.h>.
31403 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31404 (memchr): Do not use BP_SYM in weak_alias.
31405 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31406 (fegetenv): Do not use BP_SYM in versioned symbols.
31407 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31408 (fesetenv): Do not use BP_SYM in versioned symbols.
31409 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31410 (feupdateenv): Do not use BP_SYM in versioned symbols.
31411 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31412 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31413 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31414 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31415 (open64): Do not use BP_SYM in weak_alias.
31416 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31417 (fegetenv): Do not use BP_SYM in versioned symbols.
31418 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31419 (fesetenv): Do not use BP_SYM in versioned symbols.
31420 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31421 (feupdateenv): Do not use BP_SYM in versioned symbols.
31422 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31423 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31424 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31425 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31426 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31427 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31428 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31429 <bp-sym.h>.
31430 (__libc_start_main): Do not use BP_SYM.
31431
314322013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31433
31434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31435 redundant return line.
31436 (norm): Likewise.
31437 (denorm): Likewise.
31438 (dbl_mp): Likewise.
31439 (sub_magnitudes): Likewise.
31440 (__add): Likewise.
31441 (__sub): Likewise.
31442 (__mul): Likewise.
31443 (__inv): Likewise.
31444 (__dvd): Likewise.
31445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31446 (norm): Likewise.
31447 (denorm): Likewise.
31448 (dbl_mp): Likewise.
31449 (sub_magnitudes): Likewise.
31450 (__add): Likewise.
31451 (__sub): Likewise.
31452 (__mul): Likewise.
31453 (__inv): Likewise.
31454 (__dvd): Likewise.
31455
31456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31457 instead of __mul.
31458 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31460 (cc32): Likewise.
31461
31462 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31463 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31465 of __mul for squares.
31466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31467 function
31468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31469 Likewise.
31470 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31471 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31472
314732013-02-13 Joseph Myers <joseph@codesourcery.com>
31474
31475 [BZ #13550]
31476 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31477 code.
31478 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31479 prototype or function definition. Rename ubp_* variables and
31480 parameters. Remove argv definitions conditional on
31481 [__BOUNDED_POINTERS__].
31482 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31483 * elf/dl-runtime.c (_dl_fixup): Likewise.
31484 * include/set-hooks.h (RUN_HOOK): Likewise.
31485 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31486 definition.
31487 * string/strcpy.c (strcpy): Do not use __unbounded.
31488 * sysdeps/generic/frame.h (struct layout): Likewise.
31489 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31490 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31491 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31492 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31493 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31494 (__backtrace): Likewise.
31495 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31496 use __ptrvalue.
31497 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31498 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31499 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31500 Likewise.
31501 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31502 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31503 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31504 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31505 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31506 Do not use __unbounded.
31507 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31508 Rename __unboundedrlimits parameter to rlimits in prototype.
31509 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31510 Do not use __unbounded.
31511 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31512 not use __ptrvalue.
31513 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31514 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31515 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31516 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31517 __ptrvalue or __unbounded.
31518 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31519 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31520 use __unbounded.
31521 (__new_msgctl): Do not use __ptrvalue.
31522 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31523 __unbounded.
31524 (__libc_msgrcv): Do not use __ptrvalue.
31525 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31526 startup_info): Do not use __unbounded.
31527 (__libc_start_main): Likewise. Rename ubp_* variables and
31528 parameters. Remove argv definitions conditional on
31529 [__BOUNDED_POINTERS__].
31530 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31531 __ptrvalue.
31532 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31533 use __unbounded.
31534 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31535 or __ptrvalue.
31536 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31537 use __unbounded.
31538 (__new_shmctl): Do not use __ptrvalue.
31539 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31540 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31541 Likewise.
31542 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31543 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31544 (__libc_sigaction): Likewise.
31545 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31546 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31547 Likewise.
31548 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31549
315502013-02-13 Ondřej Bílka <neleai@seznam.cz>
31551
31552 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31553
31554 * string/mempcpy.c: Implement by calling memcpy.
31555
315562013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31557
31558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31559
31560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31561 evaluation.
31562
31563 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31564 values in the mantissa.
31565
31566 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31567 minimize writes to Z.
31568 (sub_magnitudes): Simplify code a bit.
31569
315702013-02-12 Roland McGrath <roland@hack.frob.com>
31571
31572 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31573 from the message. The linker prefixes all warnings with that already.
31574
315752013-02-12 Andreas Schwab <schwab@suse.de>
31576
31577 [BZ #15078]
31578 * posix/regexec.c (extend_buffers): Add parameter min_len.
31579 (check_matching): Pass minimum needed length.
31580 (clean_state_log_if_needed): Likewise.
31581 (get_subexp): Likewise.
31582 * posix/Makefile (tests): Add bug-regex34.
31583 (bug-regex34-ENV): Define.
31584 * posix/bug-regex34.c: New file.
31585
31586 [BZ #11561]
31587 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31588 elements compare against the byte sequence of it, not its name.
31589 * posix/Makefile (tests): Add bug-regex35.
31590 (bug-regex35-ENV): Define.
31591 * posix/bug-regex35.c: New file.
31592
315932013-02-11 Tom de Vries <tom@codesourcery.com>
31594
31595 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31596 comment.
31597 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31598 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31599 (CHECK_EOL): Add undef.
31600
316012013-02-11 Ondřej Bílka <neleai@seznam.cz>
31602
31603 * bits/stdlib-bsearch.h: New file.
31604 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31605 * stdlib/stdlib.h: Likewise.
31606
316072013-02-11 Roland McGrath <roland@hack.frob.com>
31608
31609 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31610 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31611 declaration.
31612 * manual/search.texi (Array Search Function): Add missing const in
31613 lfind prototype.
31614 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31615 declaration to use rlim_t.
31616 (Basic Scheduling Functions): Remove erroneous const from
31617 sched_getparam prototype. Remove erroneous * from
31618 sched_get_priority_max and sched_get_priority_min prototypes.
31619 (Resource Usage): Fix summary @comment on vtimes to refer to
31620 sys/vtimes.h rather than vtimes.h.
31621 Add missing *s in vtimes prototype.
31622 (Limits on Resources): Fix ulimit prototype to return long int.
31623 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31624 prototypes to use long int rather than double.
31625 (BSD Random): Fix initstate and setstate to use char *, not void *.
31626 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31627 prototype to make second argument 'struct aiocb64 *const[]'.
31628 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31629 (Status of AIO Operations): Remove erroneous const in aio_return and
31630 aio_return64 prototypes.
31631 (Synchronizing I/O): Fix sync prototype to return void.
31632 * manual/startup.texi (Suboptions): Remove an erroneous const in
31633 getsubopt prototype.
31634 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31635 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31636 use size_t rather than int.
31637 (Scanning All Users): Likewise for getpwent_r.
31638 (Setting Groups): Add missing const to setgroups prototype.
31639 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31640 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31641 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31642 'const void *' rather than 'const char *'.
31643 (Host Address Functions): Likewise for inet_ntop.
31644 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31645 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31646 ssize_t for return value.
31647 (Sending Data): Likewise for send, sendto, sendmsg.
31648 (Socket Option Functions): Add a missing const in setsockopt prototype.
31649 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31650 use wchar_t for the argument.
31651 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31652 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31653 take no arguments.
31654 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31655 double/float/long double for second argument.
31656 Fix return types of significand, significandf, significandl.
31657 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31658 argument in fchmod prototype.
31659 (File Owner): Use uid_t and gid_t in fchown prototype.
31660 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31661 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31662 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31663 use 'const struct dirent **' as argument types to CMP function pointer
31664 argument.
31665 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31666 (File Times): Fix summary magic @comment for struct utimbuf and utime
31667 to refer to utime.h, not time.h.
31668 * manual/string.texi (Argz Functions): Add missing const in
31669 argz_extract and argz_next prototypes.
31670 (Finding Tokens in a String): Likewise for basename.
31671 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31672 (Copying and Concatenation): Fix typo in wmemmove prototype.
31673 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31674 (Signal Stack): Remove erroneous const in sigstack prototype.
31675 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31676 prototype.
31677 (Simple Calendar Time): Likewise for stime.
31678 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31679 prototype.
31680 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31681 say sys/sysctl.h instead.
31682 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31683 and vsyslog prototypes.
31684
316852013-02-11 Tom de Vries <tom@codesourcery.com>
31686
31687 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31688 Remove.
31689
316902013-02-11 Roland McGrath <roland@hack.frob.com>
31691
31692 * misc/sys/mman.h: Fix typo in mremap comment.
31693
316942013-02-08 Roland McGrath <roland@hack.frob.com>
31695
31696 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31697 the '\0' terminator.
31698
316992013-02-08 Joseph Myers <joseph@codesourcery.com>
31700
31701 [BZ #13550]
31702 * debug/segfault.c: Don't include <bp-checks.h>.
31703 * sysdeps/generic/bp-checks.h: Remove file.
31704 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31705 (__GETDENTS): Don't use CHECK_N.
31706 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31707 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31708 (__getgroups): Don't use CHECK_N.
31709 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31710 (setgroups): Don't use CHECK_N.
31711 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31712 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31713 (__libc_msgrcv): Don't use CHECK_N.
31714 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31715 (__libc_msgsnd): Don't use CHECK_N.
31716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31717 <bp-checks.h>.
31718 (__libc_pread): Don't use CHECK_N.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31720 include <bp-checks.h>.
31721 (__libc_pread64): Don't use CHECK_N.
31722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31723 include <bp-checks.h>.
31724 (__libc_pwrite): Don't use CHECK_N.
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31726 include <bp-checks.h>.
31727 (__libc_pwrite64): Don't use CHECK_N.
31728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31729 <bp-checks.h>.
31730 (__libc_pread): Don't use CHECK_N.
31731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31732 include <bp-checks.h>.
31733 (__libc_pread64): Don't use CHECK_N.
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31735 include <bp-checks.h>.
31736 (__libc_pwrite): Don't use CHECK_N.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31738 include <bp-checks.h>.
31739 (__libc_pwrite64): Don't use CHECK_N.
31740 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31741 (do_pread): Don't use CHECK_N.
31742 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31743 (do_pread64): Don't use CHECK_N.
31744 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31745 (do_pwrite): Don't use CHECK_N.
31746 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31747 (do_pwrite64): Don't use CHECK_N.
31748 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31749 (__libc_readv): Don't use CHECK_N.
31750 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31751 (semop): Don't use CHECK_N.
31752 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31753 <bp-checks.h>.
31754 (semtimedop): Don't use CHECK_N.
31755 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31756 (__libc_pread): Don't use CHECK_N.
31757 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31758 <bp-checks.h>.
31759 (__libc_pread64): Don't use CHECK_N.
31760 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31761 <bp-checks.h>.
31762 (__libc_pwrite): Don't use CHECK_N.
31763 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31764 <bp-checks.h>.
31765 (__libc_pwrite64): Don't use CHECK_N.
31766 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31767 <bp-checks.h>.
31768 (__libc_msgrcv): Don't use CHECK_N.
31769 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31770 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31771 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31772 (__libc_writev): Don't use CHECK_N.
31773
317742013-02-08 Roland McGrath <roland@hack.frob.com>
31775
31776 * string/strcpy.c: Removed unused variable.
31777
31778 * Makeconfig (+sysdep-includes): Define with := rather than =.
31779 Use an existing include/ subdir of each sysdeps dir before it.
31780
317812013-02-08 Carlos O'Donell <carlos@redhat.com>
31782
31783 * nscd/connection.c (register_traced_file): Comment function.
31784 [HAVE_INOTIFY] (union __inev): Define.
31785 [HAVE_INOTIFY] (inotify_check_files): New function.
31786 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31787 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31788 clear_db_cache.
31789 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31790
317912013-02-08 Carlos O'Donell <carlos@redhat.com>
31792
31793 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31794 loaded if not already and that a failure is permanent.
31795
317962013-02-08 Carlos O'Donell <carlos@redhat.com>
31797
31798 [BZ #15006]
31799 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31800 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31801
318022013-02-08 Joseph Myers <joseph@codesourcery.com>
31803
31804 [BZ #13550]
31805 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31806 (CHECK_1_NULL_OK): Likewise.
31807 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31808 (__fxstat): Do not use CHECK_1.
31809 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31810 <bp-checks.h>.
31811 (___fxstat64): Do not use CHECK_1.
31812 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31813 <bp-checks.h>.
31814 (__fxstatat): Do not use CHECK_1.
31815 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31816 <bp-checks.h>.
31817 (__fxstatat64): Do not use CHECK_1.
31818 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31819 <bp-checks.h>.
31820 (__fxstat): Do not use CHECK_1.
31821 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31822 <bp-checks.h>.
31823 (__fxstatat): Do not use CHECK_1.
31824 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31825 <bp-checks.h>.
31826 (__getresgid): Do not use CHECK_1.
31827 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31828 <bp-checks.h>.
31829 (__getresuid): Do not use CHECK_1.
31830 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31831 <bp-checks.h>.
31832 (__lxstat): Do not use CHECK_1.
31833 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31834 <bp-checks.h>.
31835 (__old_msgctl): Do not use CHECK_1.
31836 (__new_msgctl): Likewise.
31837 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31838 <bp-checks.h>.
31839 (__new_setrlimit): Do not use CHECK_1.
31840 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31841 <bp-checks.h>.
31842 (__old_shmctl): Do not use CHECK_1.
31843 (__new_shmctl): Likewise.
31844 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31845 <bp-checks.h>.
31846 (__xstat): Do not use CHECK_1.
31847 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31848 (__lxstat): Do not use CHECK_1.
31849 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31850 <bp-checks.h>.
31851 (___lxstat64): Do not use CHECK_1.
31852 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31853 (__old_msgctl): Do not use CHECK_1.
31854 (__new_msgctl): Likewise.
31855 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31856 <bp-checks.h>.
31857 (__gettimeofday): Do not use CHECK_1.
31858 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31859 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31860 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31861 <bp-checks.h>.
31862 (__gettimeofday): Do not use CHECK_1.
31863 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31864 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31865 (__new_shmctl): Do not use CHECK_1.
31866 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31867 <bp-checks.h>.
31868 (do_sigtimedwait): Do not use CHECK_1.
31869 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31870 <bp-checks.h>.
31871 (do_sigwaitinfo): Do not use CHECK_1.
31872 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31873 <bp-checks.h>.
31874 (msgctl): Do not use CHECK_1.
31875 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31876 <bp-checks.h>.
31877 (shmctl): Do not use CHECK_1.
31878 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31879 (ustat): Do not use CHECK_1.
31880 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31881 <bp-checks.h>.
31882 (__fxstat): Do not use CHECK_1.
31883 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31884 <bp-checks.h>.
31885 (__fxstatat): Do not use CHECK_1.
31886 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31887 <bp-checks.h>.
31888 (__lxstat): Do not use CHECK_1.
31889 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31890 <bp-checks.h>.
31891 (__xstat): Do not use CHECK_1.
31892 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31893 (__xstat): Do not use CHECK_1.
31894 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31895 (___xstat64): Do not use CHECK_1.
31896
31897 [BZ #13550]
31898 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31899 definitions.
31900 (CHECK_BOUNDS_HIGH): Likewise.
31901 * string/strcpy.c: Do not include <bp-checks.h>.
31902 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31903
319042013-02-07 Roland McGrath <roland@hack.frob.com>
31905
31906 * nscd/nscd-client.h (__nscd_drop_map_ref):
31907 Add __attribute__ ((unused)).
31908 * nis/nss-nisplus.h (niserr2nss): Likewise.
31909
31910 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31911 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31912
31913 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31914 Remove inline keyword.
31915 * include/rounding-mode.h (round_away): Likewise.
31916 * libio/wfileops.c (adjust_wide_data): Likewise.
31917 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31918 (__m128i_strloadu_tolower): Likewise.
31919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31920 (__m128i_strloadu_tolower): Likewise.
31921 * time/mktime.c (ydhms_diff): Likewise.
31922 * locale/elem-hash.h (elem_hash): Likewise.
31923 * locale/setlocale.c (setdata): Likewise.
31924 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31925 (re_string_wchar_at): Likewise.
31926 (bitset_not, bitset_merge, bitset_mask): Likewise.
31927 [!(__GNUC__ > 3)] (inline): Remove macro.
31928 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31929 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31930 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31931 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31932 * string/memcmp.c (memcmp_bytes): Likewise.
31933 * locale/programs/locarchive.c (compute_hashval): Likewise.
31934 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31935 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31936 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31937 * nss/getent.c (print_rpc, print_protocols): Likewise.
31938 (print_passwd, print_group, print_aliases): Likewise.
31939 * nis/nss-nisplus.h (niserr2nss): Likewise.
31940 * nscd/connections.c (restart_p): Likewise.
31941 Change return type to bool.
31942
319432013-02-05 Roland McGrath <roland@hack.frob.com>
31944
31945 * Makeconfig (all-Depend-files): Add existing
31946 $(sorted-subdirs:=/Depend) files.
31947 (all-subdirs): Remove nss.
31948 * sysdeps/unix/inet/Subdirs: Add it here instead.
31949 * hesiod/Depend: New file.
31950
31951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31952 instead of calling alloca.
31953
31954 * io/lseek.c (__lseek): Rename to __libc_lseek.
31955 Define __lseek as an alias.
31956
31957 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31958
319592013-02-04 Carlos O'Donell <carlos@redhat.com>
31960
31961 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31962 else clause and remove check for non-standard endianness.
31963
319642013-02-04 David S. Miller <davem@davemloft.net>
31965
31966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31967
319682013-02-04 Joseph Myers <joseph@codesourcery.com>
31969
31970 [BZ #13550]
31971 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31972 (__ubp_memchr): Remove prototype.
31973 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31974 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31975 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31976 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31977 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31978 Remove alias.
31979 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31980 (__ubp_memchr): Likewise.
31981 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31982 (__ubp_memchr): Likewise.
31983 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31984 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31985 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31986 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31987 CHECK_STRING.
31988 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31989 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31990 (__getcwd): Do not use CHECK_STRING.
31991 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31992 <bp-checks.h>.
31993 (__real_chown): Do not use CHECK_STRING.
31994 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31995 <bp-checks.h>.
31996 (fchownat): Do not use CHECK_STRING.
31997 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31998 CHECK_STRING.
31999 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32000 <bp-checks.h>.
32001 (__lchown): Do not use CHECK_STRING.
32002 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32003 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32004 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32005 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32007 include <bp-checks.h>.
32008 (truncate64): Do not use CHECK_STRING.
32009 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32010 <bp-checks.h>.
32011 (__real_chown): Do not use CHECK_STRING.
32012 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32013 <bp-checks.h>.
32014 (__lchown): Do not use CHECK_STRING.
32015 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32016 <bp-checks.h>.
32017 (__chown): Do not use CHECK_STRING.
32018 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32019 <bp-checks.h>.
32020 (truncate64): Do not use CHECK_STRING.
32021 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32022 Likewise.
32023 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32024 (__xmknod): Do not use CHECK_STRING.
32025 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32026 <bp-checks.h>.
32027 (__xmknodat): Do not use CHECK_STRING.
32028 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32029 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32030
320312013-02-04 Andreas Schwab <schwab@suse.de>
32032
32033 [BZ #14142]
32034 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32035 * include/netdb.h: Likewise for h_errno.
32036 * elf/tst-stackguard1.c: Include <tls.h>.
32037
320382013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32039
32040 * elf/link.h (struct link_map): Extend the l_addr comment.
32041 * include/link.h (struct link_map): Likewise.
32042
320432013-02-01 Joseph Myers <joseph@codesourcery.com>
32044
32045 [BZ #13550]
32046 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32047 (BOUNDED_1): Remove macro.
32048 * debug/backtrace.c: Don't include <bp-checks.h>.
32049 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32050 (__backtrace): Likewise.
32051 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32052 <bp-checks.h>.
32053 (__backtrace): Don't use BOUNDED_1.
32054 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32055 <bp-checks.h>.
32056 (__backtrace): Don't use BOUNDED_1.
32057 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32058 (__backtrace): Don't use BOUNDED_1.
32059 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32060 (shmat): Don't use BOUNDED_N.
32061
320622013-01-31 Joseph Myers <joseph@codesourcery.com>
32063
32064 [BZ #13550]
32065 * sysdeps/generic/bp-start.h: Remove file.
32066 * csu/libc-start.c: Don't include <bp-start.h>.
32067 (LIBC_START_MAIN): Set up __environ directly instead of using
32068 INIT_ARGV_and_ENVIRON.
32069 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32070 <bp-start.h>.
32071
32072 [BZ #13550]
32073 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32074 definitions.
32075 (CHECK_FCNTL): Likewise.
32076 (CHECK_N_PAGES): Likewise.
32077
32078 [BZ #13550]
32079 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32080 definitions.
32081 (CHECK_SIGSET_NULL_OK): Likewise.
32082 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32083 <bp-checks.h>.
32084 (sigpending): Don't use CHECK_SIGSET.
32085 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32086 <bp-checks.h>.
32087 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32088 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32089 <bp-checks.h>.
32090 (do_sigsuspend): Don't use CHECK_SIGSET.
32091 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32092 use CHECK_SIGSET.
32093 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32094 (do_sigwait): Don't use CHECK_SIGSET.
32095 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32096 use CHECK_SIGSET.
32097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32098 include <bp-checks.h>.
32099 (sigpending): Don't use CHECK_SIGSET.
32100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32101 include <bp-checks.h>.
32102 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32103 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32104 <bp-checks.h>.
32105 (sigpending): Don't use CHECK_SIGSET.
32106 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32107 <bp-checks.h>.
32108 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32109
32110 [BZ #13550]
32111 * sysdeps/generic/bp-semctl.h: Remove file.
32112 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32113 <bp-checks.h> and <bp-semctl.h>.
32114 (__old_semctl): Don't use CHECK_SEMCTL.
32115 (__new_semctl): Likewise.
32116 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32117 and <bp-semctl.h>.
32118 (__old_semctl): Don't use CHECK_SEMCTL.
32119 (__new_semctl): Likewise.
32120 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32121 <bp-checks.h> and <bp-semctl.h>.
32122 (__old_semctl): Don't use CHECK_SEMCTL.
32123 (__new_semctl): Likewise.
32124 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32125 <bp-checks.h> and <bp-semctl.h>.
32126 (semctl): Don't use CHECK_SEMCTL.
32127
32128 [BZ #13550]
32129 * Makerules (elide-bp-thunks): Remove variable.
32130 (elide-routines.oS): Don't use $(elide-bp-thunks).
32131 (elide-routines.os): Likewise.
32132 (elide-routines.o): Likewise.
32133 (elide-routines.op): Likewise.
32134 (elide-routines.og): Likewise.
32135 (objects): Don't use $(bp-thunks).
32136 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32137 include.
32138 (common-generated): Do not add s-proto-bp.d.
32139 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32140 (int): Likewise.
32141 (typ): Likewise.
32142 Do not generate makefile rules for bounded-pointer thunks.
32143 * sysdeps/generic/bp-thunks.h: Remove file.
32144 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32145 * sysdeps/unix/s-proto-bp.S: Likewise.
32146
32147 [BZ #15062]
32148 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32149 parts of result separately when argument is not close to line from
32150 -i to i and one part of argument is small.
32151 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32152 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32153 * math/libm-test.inc (cacos_test): Add more tests.
32154 (casin_test): Likewise.
32155 (casinh_test): Likewise.
32156 * sysdeps/i386/fpu/libm-test-ulps: Update.
32157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32158
321592013-01-31 David S. Miller <davem@davemloft.net>
32160
32161 * po/de.po: Update from translation team.
32162
321632013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32164
32165 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32166
321672013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32168
32169 * configure.in (_AC_PROG_CC_C89): New definition.
32170 * configure: Regenerate.
32171
32172 * configure.in (AC_PROG_CPP): New definition.
32173 * configure: Regenerate.
32174
321752013-01-23 Joseph Myers <joseph@codesourcery.com>
32176
32177 * debug/tst-backtrace.h: New file.
32178 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32179 (ret): Remove variable.
32180 (x): Likewise.
32181 (FAIL): Remove macro.
32182 (NO_INLINE): Likewise.
32183 (fn1): Use match function instead of strstr.
32184 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32185 (ret): Remove variable.
32186 (x): Likewise.
32187 (FAIL): Remove macro.
32188 (NO_INLINE): Likewise.
32189 (fn): Use match function instead of strstr.
32190 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32191 (ret): Remove variable.
32192 (x): Likewise.
32193 (FAIL): Remove macro.
32194 (NO_INLINE): Likewise.
32195 (handle_signal): Use match function instead of strstr.
32196 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32197 (ret): Remove variable.
32198 (x): Likewise.
32199 (FAIL): Remove macro.
32200 (NO_INLINE): Likewise.
32201 (handle_signal): Use match function instead of strstr.
32202
322032013-01-23 Roland McGrath <roland@hack.frob.com>
32204
32205 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32206
322072013-01-23 David S. Miller <davem@davemloft.net>
32208
32209 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32210 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32211 argument of CAS if possible.
32212 * sysdeps/sparc/sparc64/bits/atomic.h
32213 (__arch_compare_and_exchange_val_32_acq): Likewise.
32214 (__arch_compare_and_exchange_val_64_acq): Likewise.
32215
322162013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32217
32218 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32219 * sysdeps/posix/ulimit.c: ... this.
32220 Include <limits.h>.
32221 * sysdeps/unix/bsd/ulimit.c: Remove file.
32222
322232013-01-23 Adam Conrad <adconrad@0c3.net>
32224
32225 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32226 (LDFLAGS-tst-array5): Likewise.
32227
322282013-01-23 Joseph Myers <joseph@codesourcery.com>
32229
32230 [BZ #15036]
32231 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32232 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32233 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32234 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32235
322362013-01-21 David S. Miller <davem@davemloft.net>
32237
32238 * sysdeps/sparc/backtrace.c: New file.
32239 * sysdeps/sparc/sparc32/backtrace.h: New file.
32240 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32241 * sysdeps/sparc/sparc64/backtrace.h: New file.
32242 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32243 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32244 -funwind-tables.
32245
322462013-01-21 Andreas Schwab <schwab@suse.de>
32247
32248 [BZ #15020]
32249 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32250 closed its stdout.
32251
322522013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32253
32254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32255 "mpa2.h".
32256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32257
322582013-01-18 Joseph Myers <joseph@codesourcery.com>
32259 Mark Mitchell <mark@codesourcery.com>
32260 Tom de Vries <tom@codesourcery.com>
32261 Paul Pluzhnikov <ppluzhnikov@google.com>
32262
32263 * debug/tst-backtrace2.c: New file.
32264 * debug/tst-backtrace3.c: Likewise.
32265 * debug/tst-backtrace4.c: Likewise.
32266 * debug/tst-backtrace5.c: Likewise.
32267 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32268 (CFLAGS-tst-backtrace3.c): Likewise.
32269 (CFLAGS-tst-backtrace4.c): Likewise.
32270 (CFLAGS-tst-backtrace5.c): Likewise.
32271 (LDFLAGS-tst-backtrace2): Likewise.
32272 (LDFLAGS-tst-backtrace3): Likewise.
32273 (LDFLAGS-tst-backtrace4): Likewise.
32274 (LDFLAGS-tst-backtrace5): Likewise.
32275 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32276 tst-backtrace4 and tst-backtrace5.
32277
322782013-01-18 Anton Blanchard <anton@samba.org>
32279 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32280
32281 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32282 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32283 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32284 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32286 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32287 "+r" and remove output regs list as redundant. Add explicit inline
32288 asm to specify register of return val to work around compiler codegen
32289 bug. Remove (int) cast on return value. Add return type parameter to
32290 use in macro so that this macro does not truncate return value for
32291 64-bit values.
32292 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32293 pass to INTERNAL_VSYSCALL_NCS.
32294 (INLINE_VSYSCALL): Add 'long int' as return type to
32295 INTERNAL_VSYSCALL_NCS macro invocation.
32296 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32297 INTERNAL_VSYSCALL_NCS macro invocation.
32298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32299
323002013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32301
32302 [BZ #14496]
32303 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32304 Fix application of SIMD FP exception mask.
32305
32306 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32307 mp_no from a power of two.
32308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32309 __mpexp_twomm1. Use __pow_mp.
32310
32311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32312 multiplication.
32313
323142013-01-17 David S. Miller <davem@davemloft.net>
32315
32316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32317
323182013-01-17 Joseph Myers <joseph@codesourcery.com>
32319
32320 [BZ #15023]
32321 * include/complex.h: Condition contents on [!_COMPLEX_H].
32322 (__kernel_casinhf): New prototype.
32323 (__kernel_casinh): Likewise.
32324 (__kernel_casinhl): Likewise.
32325 * math/Makefile (libm_calls): Add k_casinh.
32326 * math/k_casinh.c: New file.
32327 * math/k_casinhf.c: Likewise.
32328 * math/k_casinhl.c: Likewise.
32329 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32330 finite nonzero arguments.
32331 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32332 finite nonzero arguments.
32333 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32334 finite nonzero arguments.
32335 * math/s_casinh.c: Do not include <float.h>.
32336 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32337 * math/s_casinhf.c: Do not include <float.h>.
32338 (__casinhf): Move code for finite nonzero arguments to
32339 k_casinhf.c.
32340 * math/s_casinhl.c: Do not include <float.h>.
32341 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32342 redefine.
32343 (__casinhl): Move code for finite nonzero arguments to
32344 k_casinhl.c.
32345 * math/libm-test.inc (cacos_test): Add more tests.
32346 * sysdeps/i386/fpu/libm-test-ulps: Update.
32347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32348
323492013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32350
32351 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32352 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32353 [!HAVE_MREMAP]: Remove [defined linux] case.
32354 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32355
323562013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32357
32358 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32359
323602013-01-17 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 * elf/elf.h (R_386_SIZE32): New relocation.
32363 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32364 R_386_SIZE32.
32365 (elf_machine_rela): Likewise.
32366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32367 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32368
323692013-01-17 Joseph Myers <joseph@codesourcery.com>
32370
32371 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32372 (FP_FAST_FMA): Do not define.
32373 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32374 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32375 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32376 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32377 !_SOFT_FLOAT]: Likewise.
32378 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32379 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32380 value.
32381 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32382 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32383 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32384 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32385 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32386 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32387 file.
32388
323892013-01-16 Andreas Schwab <schwab@suse.de>
32390
32391 [BZ #14327]
32392 * include/stdlib.h (__mktemp): Add declaration.
32393 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32394 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32395
323962013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32397
32398 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32399 definitions.
32400 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32401 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32402 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32403 definitions here.
32404 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32405 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32406 definitions.
32407 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32408 and ONE.
32409 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32410 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32411 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32412 definitions.
32413 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32414 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32415 definitions.
32416 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32417
32418 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32419
324202013-01-15 David S. Miller <davem@davemloft.net>
32421
32422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32423 trunc{,f} to libm-sysdep_routes.
32424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32426 file.
32427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32429 file.
32430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32431 file.
32432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32434 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32435 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32436 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32437 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32438 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32439 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32440
32441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32442 nearbyint{,f} to libm-sysdep_routes.
32443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32445 New file.
32446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32447 file.
32448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32449 New file.
32450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32451 file.
32452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32454 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32455 file.
32456 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32457 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32458 file.
32459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32460 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32461 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32462
32463 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32464 libc_feholdexcept and libc_fesetenv.
32465
324662013-01-15 Mike Frysinger <vapier@gentoo.org>
32467
32468 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32469
324702013-01-14 David S. Miller <davem@davemloft.net>
32471
32472 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32473 (SPARC_ASM_VIS2_IFUNC): Likewise.
32474 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32476 use of 'siam' instruction.
32477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32478 Likewise.
32479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32480 Likewise.
32481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32482 Likewise.
32483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32488 file.
32489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32490 file.
32491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32492 file.
32493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32494 file.
32495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32500 new VIS2 routines.
32501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32504 Likewise.
32505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32508 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32510 routines to libm-sysdep_routines.
32511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32512
32513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32514 fdim/fdimf to libm-sysdep_routines.
32515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32516 file.
32517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32519 file.
32520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32523 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32524 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32525 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32526 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32527
325282013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32529
32530 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32531 to optimize copies.
32532
32533 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32536
32537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32538 local variable MPTWO.
32539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32540 Likewise.
32541
325422013-01-13 Mike Frysinger <vapier@gentoo.org>
32543
32544 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32545 GLOB_NOESCAPE.
32546
325472013-01-13 Mike Frysinger <vapier@gentoo.org>
32548
32549 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32550
325512013-01-13 Mike Frysinger <vapier@gentoo.org>
32552
32553 * manual/pattern.texi (glob_t): Document gl_flags.
32554 (glob64_t): Likewise.
32555
325562013-01-11 David S. Miller <davem@davemloft.net>
32557
32558 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32559 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32560 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32561 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32562 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32563 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32564 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32565 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32566 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32567 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32568 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32569 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32570 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32571
32572 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32573 sparc V9 rather than using V8 code.
32574 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32575 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32576
32577 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32578 Move to...
32579 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32580 Here.
32581
325822013-01-11 Roland McGrath <roland@hack.frob.com>
32583
32584 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32585 not in the main loop.
32586 * configure: Regenerated.
32587
325882013-01-11 Joseph Myers <joseph@codesourcery.com>
32589
32590 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32591 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32592 to just #else.
32593 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32594 [!__GLIBC_HAVE_LONG_LONG] case.
32595 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32596 condition to just #else.
32597 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32598 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32599 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32600 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32601 unconditional.
32602 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32603 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32604 #elif condition to just #else.
32605 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32606 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32607 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32608 #elif condition to just #else.
32609
326102013-01-11 Steve Ellcey <sellcey@mips.com>
32611
32612 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32613 (EF_MIPS_ARCH_64): Fix value.
32614 (EF_MIPS_ARCH_32R2): New.
32615 (EF_MIPS_ARCH_64R2): New.
32616
326172013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32618
32619 * Makeconfig (+link-pie-before-libc): New.
32620 (+link-pie-after-libc): Likewise.
32621 (+link-pie-tests): Likewise.
32622 (+link-pie): Rewritten.
32623 (link-before-libc): Remove $(config-LDFLAGS).
32624 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32625 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32626 (config-LDFLAGS): Renamed to ...
32627 (rtld-LDFLAGS): This.
32628 (rtld-tests-LDFLAGS): New macro.
32629 (link-libc-rpath-link): Likewise.
32630 (link-libc-tests-rpath-link): Likewise.
32631 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32632 (link-libc): Prepand $(link-libc-rpath-link).
32633 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32634 (test-program-prefix): New macro.
32635 (test-via-rtld-prefix): Likewise.
32636 (test-program-cmd): Likewise.
32637 (host-test-program-cmd): Likewise.
32638 * Makefile ($(common-objpfx)testrun.sh): Replace
32639 $(run-program-prefix) with $(test-program-prefix).
32640 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32641 $(rtld-LDFLAGS).
32642 ($(common-objpfx)shlib.lds): Likewise.
32643 (build-module-helper): Likewise.
32644 ($(common-objpfx)format.lds): Likewise.
32645 * Rules (binaries-pie-tests): New.
32646 (binaries-pie-notests): Likewise.
32647 (binaries-pie): Rewritten.
32648 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32649 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32650 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32651 (make-test-out): Replace $(host-built-program-cmd) with
32652 $(host-test-program-cmd).
32653 * config.make.in (build-hardcoded-path-in-tests): New variable.
32654 * configure.in (--enable-hardcoded-path-in-tests): New configure
32655 option.
32656 (hardcoded_path_in_tests): New AC_SUBST.
32657 * configure: Regenerated.
32658 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32659 $(built-program-cmd) with $(test-program-cmd).
32660 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32661 (test_program_cmd): This.
32662 * elf/Makefile ($(objpfx)order.out): Run test with
32663 $(test-program-prefix).
32664 ($(objpfx)order2.out): Likewise.
32665 ($(objpfx)tst-initorder.out): Likewise.
32666 ($(objpfx)tst-initorder2.out): Likewise.
32667 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32668 $(test-program-cmd).
32669 ($(objpfx)tst-array1-static.out): Likewise.
32670 ($(objpfx)tst-array2.out): Likewise.
32671 ($(objpfx)tst-array3.out): Likewise.
32672 ($(objpfx)tst-array4.out): Likewise.
32673 ($(objpfx)tst-array5.out): Likewise.
32674 ($(objpfx)tst-array5-static.out): Likewise.
32675 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32676 $(test-program-cmd).
32677 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32678 $(run-program-prefix) with $(test-program-prefix).
32679 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32680 (test_program_prefix): This.
32681 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32682 $(run-program-prefix) with $(test-program-prefix).
32683 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32684 (test_program_prefix): This.
32685 * iconvdata/tst-tables.sh: Likewise.
32686 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32687 $(run-program-prefix) with $(test-program-prefix).
32688 ($(objpfx)tst-translit.out): Likewise.
32689 ($(objpfx)tst-gettext2.out): Likewise.
32690 ($(objpfx)tst-gettext4.out): Likewise.
32691 ($(objpfx)tst-gettext6.out): Likewise.
32692 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32693 (test_program_prefix): This.
32694 * intl/tst-gettext2.sh: Likewise.
32695 * intl/tst-gettext4.sh Likewise.
32696 * intl/tst-gettext6.sh: Likewise.
32697 * intl/tst-translit.sh: Likewise.
32698 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32699 with $(test-program-cmd).
32700 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32701 $(run-program-prefix) with $(test-program-prefix).
32702 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32703 (test_program_prefix): This.
32704 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32705 $(run-program-prefix) with $(test-program-prefix).
32706 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32707 (test_program_prefix): This.
32708 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32709 * posix/Makefile ($(objpfx)globtest.out): Replace
32710 $(run-via-rtld-prefix) and $(test-wrapper) with
32711 $(test-program-prefix) and $(test-via-rtld-prefix).
32712 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32713 $(test-program-prefix).
32714 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32715 $(host-test-program-cmd).
32716 (tst-spawn-ARGS): Likewise.
32717 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32718 $(test-program-prefix).
32719 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32720 (test_via_rtld_prefix): This.
32721 (test_wrapper): Renamed to ...
32722 (test_program_prefix): This.
32723 (run_program_prefix): Replaced by test_program_prefix.
32724 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32725 (test_program_prefix): This.
32726 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32727 with $(host-test-program-cmd).
32728 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32729 $(run-program-prefix) with $(test-program-prefix).
32730 ($(objpfx)tst-printf.out): Likewise.
32731 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32732 $(test-program-cmd).
32733 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32734 (test_program_prefix): This.
32735 * stdio-common/tst-unbputc.sh: Likewise.
32736 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32737 $(run-program-prefix) with $(test-program-prefix).
32738 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32739 (test_program_prefix): This.
32740 * string/Makefile ($(objpfx)tst-svc.out): Replace
32741 $(built-program-cmd) with $(test-program-cmd).
32742
327432013-01-11 Andreas Jaeger <aj@suse.de>
32744
32745 [BZ #15003]
32746 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32747 value. Sync with Linux 3.7.
32748
327492013-01-10 David S. Miller <davem@davemloft.net>
32750
32751 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32752 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32753 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32754
327552013-01-10 Roland McGrath <roland@hack.frob.com>
32756
32757 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32758 never set.
32759 * configure: Regenerated.
32760
327612013-01-10 David S. Miller <davem@davemloft.net>
32762
32763 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32764 sparc V9 rather than using V8 code.
32765 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32766 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32767
327682013-01-10 Roland McGrath <roland@hack.frob.com>
32769
32770 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32771 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32772 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32773 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32774 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32775 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32776 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32777 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32778 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32779 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32780 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32781 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32782 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32783 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32784 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32785 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32786 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32787 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32788 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32789 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32790 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32791 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32792 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32793 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32794 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32795 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32796 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32797
327982013-01-10 David S. Miller <davem@davemloft.net>
32799
32800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32801
328022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * posix/Makefile (tests-static): New variable.
32805 (tests): Add $(tests-static).
32806 (tst-exec-static-ARGS): New variable.
32807 (tst-spawn-static-ARGS): Likewise.
32808 * posix/tst-exec-static.c: New file.
32809 * posix/tst-spawn-static.c: Likewise.
32810 * posix/tst-exec.c: Support run directly.
32811 * posix/tst-spawn.c: Likewise.
32812
328132013-01-10 Joseph Myers <joseph@codesourcery.com>
32814
32815 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32816 long.
32817 * math/bits/mathcalls.h (llrint): Likewise.
32818 (llround): Likewise.
32819 * stdlib/stdlib.h (struct drand48_data): Likewise.
32820 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32821 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32822 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32823 Likewise.
32824 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32825 Likewise.
32826 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32827 (elf_greg_t): Likewise.
32828 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32829 (__jmp_buf): Likewise.
32830 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32831 definitions.
32832 (llrint): Likewise, for all definitions.
32833 (llrintl): Likewise.
32834
32835 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32836 Remove [__GNUC__] condition.
32837 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32838 condition to just [__USE_ISOC99].
32839 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32840
328412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 [BZ #14200]
32844 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32845 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32846 defined.
32847 (_POSIX_V6_ILP32_OFF32): Likewise.
32848 (_XBS5_ILP32_OFF32): Likewise.
32849 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32850 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32851
328522013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32853
32854 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32855
32856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32857 doubles __mpexp_twomm1. Adjust usage.
32858 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32859 Remove.
32860
328612013-01-10 Andreas Schwab <schwab@suse.de>
32862
32863 [BZ #14964]
32864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32865 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32866
328672013-01-09 David S. Miller <davem@davemloft.net>
32868
32869 [BZ #15003]
32870 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32871 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32872 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32873 (TCP_FASTOPEN): Define.
32874 (tcp_repair_opt): New structure.
32875 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32876 enum values.
32877 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32878 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32879 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32880 (tcp_cookie_transactions): New structure.
32881
328822013-01-09 Anton Blanchard <anton@samba.org>
32883
32884 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32885 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32886 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32887 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32888
328892013-01-09 Joseph Myers <joseph@codesourcery.com>
32890
32891 * include/features.h (__USE_ANSI): Remove.
32892
328932013-01-09 Roland McGrath <roland@hack.frob.com>
32894
32895 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32896
32897 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32898
328992013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32900
32901 * sysdeps/s390/fpu/libm-test-ulps: Update.
32902
32903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32904
32905 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32906 (__acr): Likewise.
32907 (__cpy): Likewise.
32908 (norm): Likewise.
32909 (denorm): Likewise.
32910 (__mp_dbl): Likewise.
32911 (__dbl_mp): Likewise.
32912 (add_magnitudes): Likewise.
32913 (sub_magnitudes): Likewise.
32914 (__add): Likewise.
32915 (__sub): Likewise.
32916 (__mul): Likewise.
32917 (__inv): Likewise.
32918 (__dvd): Likewise.
32919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32920 (__acr): Likewise.
32921 (__cpy): Likewise.
32922 (norm): Likewise.
32923 (denorm): Likewise.
32924 (__mp_dbl): Likewise.
32925 (__dbl_mp): Likewise.
32926 (add_magnitudes): Likewise.
32927 (sub_magnitudes): Likewise.
32928 (__add): Likewise.
32929 (__sub): Likewise.
32930 (__mul): Likewise.
32931 (__inv): Likewise.
32932 (__dvd): Likewise.
32933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32934 (__acr): Likewise.
32935 (__cpy): Likewise.
32936 (norm): Likewise.
32937 (denorm): Likewise.
32938 (__mp_dbl): Likewise.
32939 (__dbl_mp): Likewise.
32940 (add_magnitudes): Likewise.
32941 (sub_magnitudes): Likewise.
32942 (__add): Likewise.
32943 (__sub): Likewise.
32944 (__mul): Likewise.
32945 (__inv): Likewise.
32946 (__dvd): Likewise.
32947
329482013-01-08 Joseph Myers <joseph@codesourcery.com>
32949
32950 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32951 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32952 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32953 2 && __USE_EXTERN_INLINES]: Likewise.
32954
329552013-01-08 Andreas Jaeger <aj@suse.de>
32956
32957 [BZ# 14985]
32958 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32959 Remove.
32960 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32961 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32962
329632013-01-07 Anton Blanchard <anton@samba.org>
32964
32965 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32966 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32967 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32968 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32969 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32970 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32971 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32972 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32977 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32979 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32980 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32981 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32982 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32983 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32985 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32986 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32988 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32989 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32990 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32991 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32992 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32994 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32995 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32997 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32998 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33003 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33007 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33008
330092013-01-07 Joseph Myers <joseph@codesourcery.com>
33010
33011 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33012 (__MALLOC_PMT): Likewise.
33013 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33014 [__GNUC__], only on [_LIBC].
33015 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33016 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33017 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33018 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33019 forward declaration.
33020 (realloc_hook_ini): Likewise.
33021 (memalign_hook_ini): Likewise.
33022 (__libc_memalign): Do not use __MALLOC_PMT in variable
33023 declaration.
33024 (__libc_valloc): Likewise.
33025 (__libc_pvalloc): Likewise.
33026 (__libc_calloc): Likewise.
33027 (__posix_memalign): Likewise.
33028
33029 [BZ #14996]
33030 * math/s_casinh.c: Include <float.h>.
33031 (__casinh): Do not do computation with squaring and square root
33032 for large arguments.
33033 * math/s_casinhf.c: Include <float.h>.
33034 (__casinhf): Do not do computation with squaring and square root
33035 for large arguments.
33036 * math/s_casinhl.c: Include <float.h>.
33037 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33038 (__casinhl): Do not do computation with squaring and square root
33039 for large arguments.
33040 * math/libm-test.inc (casin_test): Add more tests.
33041 (casinh_test): Likewise.
33042 * sysdeps/i386/fpu/libm-test-ulps: Update.
33043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33044
330452013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33046
33047 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33048 (__x86_64_raw_data_cache_size): Likewise.
33049 (__x86_64_data_cache_size_half): Likewise.
33050 (__x86_64_raw_data_cache_size_half): Likewise.
33051 (__x86_64_shared_cache_size): Likewise.
33052 (__x86_64_raw_shared_cache_size): Likewise.
33053 (__x86_64_shared_cache_size_half): Likewise.
33054 (__x86_64_raw_shared_cache_size_half): Likewise.
33055 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33056 to ...
33057 (__x86_data_cache_size): This.
33058 (__x86_64_raw_data_cache_size): Renamed to ...
33059 (__x86_raw_data_cache_size): This.
33060 (__x86_64_data_cache_size_half): Renamed to ...
33061 (__x86_data_cache_size_half): This.
33062 (__x86_64_raw_data_cache_size_half): Renamed to ...
33063 (__x86_raw_data_cache_size_half): This.
33064 (__x86_64_shared_cache_size): Renamed to ...
33065 (__x86_shared_cache_size): This.
33066 (__x86_64_raw_shared_cache_size): Renamed to ...
33067 (__x86_raw_shared_cache_size): This.
33068 (__x86_64_shared_cache_size_half): Renamed to ...
33069 (__x86_shared_cache_size_half): This.
33070 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33071 (__x86_raw_shared_cache_size_half): This.
33072 * sysdeps/x86_64/memcpy.S: Updated.
33073 * sysdeps/x86_64/memset.S: Likewise.
33074 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33075 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33077
330782013-01-04 David S. Miller <davem@davemloft.net>
33079
33080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33081
330822013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33083
33084 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33085 1 to avoid redefinition warning.
33086 (__USE_GNU): Don't define.
33087 (init_signaling_nan): Protoize.
33088
33089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33090
330912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33092
33093 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33095 (__cpymn): Likewise.
33096 (norm): Remove commented code.
33097 (denorm): Likewise.
33098 (__mp_dbl): Likewise.
33099 (__inv): Likewise.
33100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33101 (__cpymn): Likewise.
33102 (norm): Remove commented code.
33103 (denorm): Likewise.
33104 (__mp_dbl): Likewise.
33105 (__inv): Likewise.
33106
33107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33108 mp_no value for 1.0 and 2.0.
33109 (norm): Use RADIXI instead of radixi.d.
33110 (denorm): Likewise.
33111 (__mul): Use 0.0 instead of zero.d.
33112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33113 mp_no value for 1.0 and 2.0.
33114 (norm): Use RADIXI instead of radixi.d.
33115 (denorm): Likewise.
33116 (__mul): Use 0.0 instead of zero.d.
33117
331182013-01-04 Joseph Myers <joseph@codesourcery.com>
33119
33120 [BZ #14994]
33121 * math/s_casinh.c (__casinh): Reduce finite argument to first
33122 quadrant then set signs of results at the end.
33123 * math/s_casinhf.c (__casinhf): Likewise.
33124 * math/s_casinhl.c (__casinhl): Likewise.
33125 * math/libm-test.inc (casin_test): Add more tests.
33126 (casinh_test): Likewise.
33127 * sysdeps/i386/fpu/libm-test-ulps: Update.
33128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33129
331302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33131
33132 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33133
33134 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33135
33136 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33137 declarations.
33138 (denorm): Likewise.
33139 (__mp_dbl): Likewise.
33140 (__inv): Likewise.
33141
33142 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33143 and adjust the header comment.
33144
33145 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33146 variable name from declaration.
33147
331482013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33151 Initialize COMMON_CPUID_INDEX_7 element.
33152 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33153 (CPUID_RTM): Likewise.
33154 (HAS_RTM): Likewise.
33155 (COMMON_CPUID_INDEX_7): New enum.
33156
331572013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33158
33159 [BZ #14981]
33160 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33161 size is zero, record memory as freed.
33162
331632013-01-03 Andreas Jaeger <aj@suse.de>
33164
33165 * po/ia.po: Add new Interlingua translation.
33166
331672012-01-03 Allan McRae <allan@archlinux.org>
33168
33169 * locale/programs/localedef.c: Fix description of '--posix' flag.
33170
331712013-01-02 Joseph Myers <joseph@codesourcery.com>
33172
33173 * NEWS: Update dates in second copyright notice.
33174 * README: Update copyright dates in example.
33175 * manual/libc.texinfo: Update copyright dates.
33176 * scripts/test-installation.pl: Update copyright date in --version
33177 output.
33178
33179 * hurd/ctty-input.c: Fix copyright notice formatting.
33180 * hurd/ctty-output.c: Likewise.
33181 * hurd/dtable.c: Likewise.
33182 * hurd/hurd-raise.c: Likewise.
33183 * hurd/hurdprio.c: Likewise.
33184 * hurd/msgportdemux.c: Likewise.
33185 * misc/sys/file.h: Likewise.
33186 * misc/sys/ioctl.h: Likewise.
33187 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33188 * sysdeps/mach/hurd/chdir.c: Likewise.
33189 * sysdeps/mach/hurd/fchdir.c: Likewise.
33190 * sysdeps/mach/hurd/rename.c: Likewise.
33191 * sysdeps/mach/hurd/rmdir.c: Likewise.
33192 * sysdeps/mach/hurd/seekdir.c: Likewise.
33193 * sysdeps/mach/hurd/setsid.c: Likewise.
33194 * sysdeps/posix/wait3.c: Likewise.
33195
33196 * All files with FSF copyright notices: Update copyright dates
33197 using scripts/update-copyrights.
33198 * intl/plural.c: Regenerated.
33199 * locale/programs/charmap-kw.h: Likewise.
33200 * locale/programs/locfile-kw.h: Likewise.
33201
332022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33203
33204 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33205 four values.
33206
33207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33208 calculation loop and add branch prediction.
33209
33210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33211 check access beyond bounds of m1np.
33212
33213 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33214 MPTWO.
33215 (__inv): Remove local variable MPTWO to use the global
33216 constant.
33217 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33218 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33219 variable MPTWO.
33220 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33221 MP3HALFS static const.
33222
332232013-01-01 David S. Miller <davem@davemloft.net>
33224
33225 * po/ca.po: Update from translation team.
33226
332272013-01-01 Joseph Myers <joseph@codesourcery.com>
33228
33229 * scripts/update-copyrights: New file.
33230 * Makeconfig: Reformat copyright notice.
33231 * ctype/ctype.h: Likewise.
33232 * debug/swprintf_chk.c: Likewise.
33233 * elf/dl-cache.c: Likewise.
33234 * elf/dl-debug.c: Likewise.
33235 * elf/dl-object.c: Likewise.
33236 * grp/initgroups.c: Likewise.
33237 * hurd/Makefile: Likewise.
33238 * hurd/hurd/signal.h: Likewise.
33239 * hurd/hurdfault.c: Likewise.
33240 * hurd/hurdioctl.c: Likewise.
33241 * hurd/hurdlookup.c: Likewise.
33242 * hurd/intr-msg.c: Likewise.
33243 * iconv/gconv_open.c: Likewise.
33244 * libio/swprintf.c: Likewise.
33245 * locale/lc-ctype.c: Likewise.
33246 * locale/nl_langinfo.c: Likewise.
33247 * mach/Machrules: Likewise.
33248 * mach/Makefile: Likewise.
33249 * malloc/obstack.h: Likewise.
33250 * manual/Makefile: Likewise.
33251 * manual/tsort.awk: Likewise.
33252 * misc/bits/stab.def: Likewise.
33253 * nis/nis_print_group_entry.c: Likewise.
33254 * nis/nis_table.c: Likewise.
33255 * nis/nss_compat/compat-pwd.c: Likewise.
33256 * nis/nss_compat/compat-spwd.c: Likewise.
33257 * po/Makefile: Likewise.
33258 * posix/fnmatch.c: Likewise.
33259 * posix/regex.h: Likewise.
33260 * resolv/Makefile: Likewise.
33261 * resolv/nss_dns/dns-network.c: Likewise.
33262 * resolv/res_hconf.c: Likewise.
33263 * scripts/gen-sorted.awk: Likewise.
33264 * soft-fp/soft-fp.h: Likewise.
33265 * stdio-common/printf.h: Likewise.
33266 * stdlib/monetary.h: Likewise.
33267 * stdlib/random.c: Likewise.
33268 * stdlib/random_r.c: Likewise.
33269 * sysdeps/generic/Makefile: Likewise.
33270 * sysdeps/gnu/Makefile: Likewise.
33271 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33273 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33274 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33275 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33278 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33279 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33283 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33294 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33295 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33296 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33297 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33298 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33299 * sysdeps/mach/hurd/errnos.awk: Likewise.
33300 * sysdeps/mach/hurd/fork.c: Likewise.
33301 * sysdeps/mach/hurd/getcwd.c: Likewise.
33302 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33303 * sysdeps/mach/hurd/mmap.c: Likewise.
33304 * sysdeps/mach/hurd/utimes.c: Likewise.
33305 * sysdeps/mach/hurd/xmknod.c: Likewise.
33306 * sysdeps/posix/profil.c: Likewise.
33307 * sysdeps/posix/readdir_r.c: Likewise.
33308 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33309 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33310 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33311 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33313 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33314 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33315 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33317 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33319 * sysdeps/pthread/lio_listio.c: Likewise.
33320 * sysdeps/sparc/dl-procinfo.h: Likewise.
33321 * sysdeps/unix/i386/sysdep.S: Likewise.
33322 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33323 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33324 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33325 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33327 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33328 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33329 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33330 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33331 * sysdeps/wordsize-32/divdi3.c: Likewise.
33332 * time/sys/time.h: Likewise.
33333 * wcsmbs/Makefile: Likewise.
33334
333352013-01-01 David S. Miller <davem@davemloft.net>
33336
33337 * po/fr.po: Update from translation team.
33338
33339 * catgets/gencat.c: Update copyright year.
33340 * csu/version.c: Likewise.
33341 * debug/catchsegv.sh: Likewise.
33342 * debug/pcprofiledump.c: Likewise.
33343 * debug/xtrace.sh: Likewise.
33344 * elf/ldconfig.c: Likewise.
33345 * elf/ldd.bash.in: Likewise.
33346 * elf/pldd.c: Likewise.
33347 * elf/sotruss.ksh: Likewise.
33348 * elf/sprof.c: Likewise.
33349 * iconv/iconv_prog.c: Likewise.
33350 * iconv/iconvconfig.c: Likewise.
33351 * locale/programs/locale.c: Likewise.
33352 * locale/programs/localedef.c: Likewise.
33353 * login/programs/pt_chown.c: Likewise.
33354 * malloc/memusage.sh: Likewise.
33355 * malloc/memusagestat.c: Likewise.
33356 * malloc/mtrace.pl: Likewise.
33357 * nscd/nscd.c: Likewise.
33358 * nss/getent.c: Likewise.
33359 * nss/makedb.c: Likewise.
33360 * posix/getconf.c: Likewise.
33361
333622012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33363
33364 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33365 numbers.
33366
333672012-12-30 Mike Frysinger <vapier@gentoo.org>
33368
33369 * math/bits/mathcalls.h (modf): Use __nonnull.
33370
333712012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33372
33373 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33374 (split): Use macro CN instead of the bare value.
33375 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33376 could be used.
33377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33378 instead of the bare value.
33379 (power1): Likewise.
33380
333812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33382
33383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33384 __ATAN_TWOM.
33385 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33386
33387 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33388 their values.
33389 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33390 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33391 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33392 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33393
333942012-12-28 Andreas Jaeger <aj@suse.de>
33395
33396 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33397 values are from Linux 3.7.
33398
33399 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33400 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33401
334022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33403
33404 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33405 TRUE case.
33406
33407 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33408 (norm): Likewise.
33409 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33410 variables with preprocessor constants.
33411 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33412 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33413 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33414
334152012-12-27 Bruno Haible <bruno@clisp.org>
33416
33417 [BZ #14317]
33418 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33419 only if needed.
33420
334212012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33422
33423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33424 and use variable directly.
33425 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33426
33427 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33428 MPONE.
33429 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33431 variable MPONE.
33432 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33434 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33435 include directive. Remove local variable MPONE.
33436 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33437 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33438 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33439
334402012-12-25 David S. Miller <davem@davemloft.net>
33441
33442 * version.h (RELEASE): Set to "development".
33443 (VERSION): Set to "2.17.90".
33444 * NEWS: Add 2.18 section.
33445
334462012-12-21 David S. Miller <davem@davemloft.net>
33447
33448 * po/hr.po: Update from translation team.
33449
334502012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33451
33452 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33453
334542012-12-19 Steve Ellcey <sellcey@mips.com>
33455
33456 * NEWS: Mention new memcpy for MIPS.
33457
334582012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33459
33460 * manual/contrib.texi (Contributors): Spelling correction.
33461
334622012-12-15 David S. Miller <davem@davemloft.net>
33463
33464 * po/ru.po: Update from translation team.
33465
334662012-12-13 David S. Miller <davem@davemloft.net>
33467
33468 * NEWS: Mention IFUNC testsuite enhancements.
33469
33470 * po/pl.po: Update from translation team.
33471 * po/bg.po: Likewise.
33472
33473 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33474 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33475
334762012-12-11 David S. Miller <davem@davemloft.net>
33477
33478 * po/sv.po: Update from translation team.
33479
33480 * po/vi.po: Update from translation team.
33481
33482 * po/cs.po: Update from translation team.
33483
33484 * po/de.po: Update from translation team.
33485 * po/eo.po: Likewise.
33486 * po/nl.po: Likewise.
33487
334882012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33489
33490 [BZ #14246]
33491 * manual/argp.texi (Argp Helper Functions): Move node to follow
33492 Argp Parsing State.
33493
33494 [BZ #14872]
33495 * manual/conf.texi (Limits on File System Capacity): Mention if
33496 terminating null is included in the max size.
33497
334982012-12-10 Andreas Jaeger <aj@suse.de>
33499
33500 * po/cs.po: Update from translation team.
33501
335022012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33503
33504 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33505 void pointer and cast to uintptr_t.
33506 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33507 path.
33508 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33509 * sysdeps/s390/s390-64/memset.S: Likewise.
33510
335112012-12-08 Benno Schulenberg <bensberg@justemail.net>
33512
33513 [BZ #14833]
33514 * menual/message.texi (Message Translation): Fix typos.
33515 (Helper programs for gettext): Likewise.
33516
335172012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33518
33519 [BZ #14898]
33520 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33521 Change to -1.
33522
335232012-12-07 David S. Miller <davem@davemloft.net>
33524
33525 * po/libc.pot: Update.
33526
335272012-12-07 Richard Henderson <rth@redhat.com>
33528
33529 [BZ #10114]
33530 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33531 normal/normal case to before the switch.
33532 (_FP_DIV): Likewise.
33533
335342012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33535 Mike Frysinger <vapier@gentoo.org>
33536
33537 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33538 check for __NR_fadvise64_64.
33539
335402012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33541
33542 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33543 0, not just to plain "0" as a statement.
33544 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33545 with cw.
33546
335472012-12-06 Joseph Myers <joseph@codesourcery.com>
33548
33549 * NEWS: Use sourceware.org in Bugzilla URL.
33550
335512012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33552
33553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33554 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33555
33556 * stdio-common/tst-put-error.c (do_test): Add newline to the
33557 padded test to ensure flush.
33558
335592012-12-05 Jeff Law <law@redhat.com>
33560
33561 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33562
335632012-12-05 Joseph Myers <joseph@codesourcery.com>
33564
33565 * README: Don't refer to ports add-on as distributed separately.
33566 Mention AArch64 in list of systems supported in the ports add-on.
33567
33568 * LICENSES: Add more non-FSF copyright and license notices.
33569
33570 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33571 ((unused)).
33572
33573 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33574
33575 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33576 10000 as width of padded output.
33577
335782012-12-04 Joseph Myers <joseph@codesourcery.com>
33579
33580 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33581
33582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33583 variable LX with __attribute__ ((unused)).
33584 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33585 Likewise.
33586 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33589 with __attribute__ ((unused)).
33590
335912012-12-04 David S. Miller <davem@abraco.davemloft.net>
33592
33593 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33594
335952012-12-04 Joseph Myers <joseph@codesourcery.com>
33596
33597 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33598 (CFLAGS-nldbl-acos.c): New variable.
33599 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33600 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33601 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33602 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33603 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33604 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33605 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33606 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33607 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33608 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33609 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33610 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33611 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33612 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33613 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33614 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33615 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33616 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33617 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33618 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33619 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33620 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33621 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33622 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33623 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33624 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33625 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33626 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33627 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33628 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33629 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33630 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33631 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33632 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33633 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33634 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33635 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33636 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33637 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33638 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33639 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33640 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33641 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33642 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33643 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33644 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33645 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33646 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33647 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33648 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33649 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33650 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33651 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33652 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33653 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33654 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33655 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33656 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33657 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33658 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33659 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33660 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33661 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33662 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33663 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33664 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33665 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33666 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33667 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33668 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33669 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33670 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33671 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33672 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33673 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33674 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33675 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33676 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33677 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33678 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33679 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33680 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33681 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33682 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33683 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33684 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33685 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33686 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33687 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33688 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33689 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33690 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33691 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33692 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33693 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33694 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33695 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33696
33697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33698 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33699
33700 [BZ #14914]
33701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33702 whole low double instead of just low 47 bits when splitting values
33703 into two parts.
33704
337052012-12-03 Allan McRae <allan@archlinux.org>
33706
33707 * manual/stdio.texi (Predefined Printf Handlers): Remove
33708 @hsep and @vsep usage.
33709
337102012-12-03 Mike Frysinger <vapier@gentoo.org>
33711
33712 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33713 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33714
337152012-12-03 Jeff Law <law@redhat.com>
33716
33717 * time/sys/time.h (settimeofday): Do not mark TV argument
33718 as __nonnull.
33719
337202012-12-01 Mike Frysinger <vapier@gentoo.org>
33721
33722 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33723 when currently writing and seek to current position when not.
33724 * libio/Makefile (tests): Remove bug-fclose1.
33725 * libio/bug-fclose1.c: Delete.
33726
337272012-12-01 Joseph Myers <joseph@codesourcery.com>
33728
33729 * manual/arith.texi (feenableexcept): Fix typo.
33730 (fedisableexcept): Likewise.
33731
337322012-11-30 Roland McGrath <roland@hack.frob.com>
33733
33734 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33735 second, differently-typed declaration, rather than a cast.
33736
337372012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33738
33739 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33740 * include/rpc/svc.h: ... here.
33741
337422012-11-30 Aurelien Jarno <aurel32@debian.org>
33743
33744 [BZ #13013]
33745 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33746 depending n and resplen2 to catch cases where answer
33747 equals answerp2.
33748
337492012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33750
33751 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33752 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33753
337542012-11-29 Mike Frysinger <vapier@gentoo.org>
33755
33756 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33757
337582012-11-29 Roland McGrath <roland@hack.frob.com>
33759
33760 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33761
337622012-11-28 Jeff Law <law@redhat.com>
33763
33764 [BZ #13761]
33765 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33766 dataset_temporary. Track alloca usage into alloca_used.
33767 If dataset is large allocate and release it via malloc/free.
33768
337692012-06-04 Florian Weimer <fweimer@redhat.com>
33770
33771 [BZ #14197]
33772 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33773
337742012-11-28 David S. Miller <davem@davemloft.net>
33775
33776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33777
337782012-11-28 Joseph Myers <joseph@codesourcery.com>
33779
33780 [BZ #14803]
33781 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33782 of pi/2 rounded to nearest to 64 bits.
33783 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33784 nearest to 64 bits.
33785 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33786 bits.
33787
337882012-11-28 Jeff Law <law@redhat.com>
33789 Martin Osvald <mosvald@redhat.com>
33790
33791 [BZ #14889]
33792 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33793 * sunrpc/svc.c: Include time.h.
33794 (__svc_accept_failed): New function.
33795 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33796 any reason other than EINTR, call __svc_accept_failed.
33797 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33798 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33799
338002012-11-28 Andreas Schwab <schwab@suse.de>
33801
33802 * scripts/abilist.awk: Also handle indirect functions in .opd
33803 section.
33804
338052012-11-28 Joseph Myers <joseph@codesourcery.com>
33806
33807 [BZ #13881]
33808 * sysdeps/x86/fpu/powl_helper.c: New file.
33809 * sysdeps/x86/fpu/Makefile: Likewise.
33810 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33811 (p3): New object.
33812 (__ieee754_powl): Use __powl_helper for finite arguments except
33813 integer exponents below 8.
33814 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33815 (p3): New object.
33816 (__ieee754_powl): Use __powl_helper for finite arguments except
33817 integer exponents below 8.
33818 * math/libm-test.inc (pow_test): Add more tests and enable some
33819 previously disabled tests.
33820 * sysdeps/i386/fpu/libm-test-ulps: Update.
33821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33822
338232012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33824 Carlos O'Donell <carlos_odonell@mentor.com>
33825
33826 * nss/makedb.c (is_prime): Assert that input is odd and greater
33827 than 4. Note that fact in a comment too.
33828 (next_prime): Add 4 to input.
33829
338302012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33831
33832 [BZ #11741]
33833 * libio/Makefile (tests): Add test case tst-fwrite-error.
33834 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33835 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33836 * libio/tst-fwrite-error.c: New test case.
33837
338382012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33839
33840 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33841 before casting to void *.
33842 * include/libc-internal.h (__pointer_type): New macro.
33843 (__integer_if_pointer_type_sub): Likewise.
33844 (__integer_if_pointer_type): Likewise.
33845 (cast_to_integer): Likewise.
33846 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33847 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33848 before casting to atomic64_t.
33849 (atomic_exchange_acq): Likewise.
33850 (__arch_exchange_and_add_body): Likewise.
33851 (__arch_add_body): Likewise.
33852 (atomic_add_negative): Likewise.
33853 (atomic_add_zero): Likewise.
33854
338552012-11-26 Joseph Myers <joseph@codesourcery.com>
33856
33857 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33858 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33859 (add_fdes): Likewise.
33860 (linear_search_fdes): Likewise.
33861 (binary_search_unencoded_fdes): Likewise.
33862
338632012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33864
33865 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33866
338672012-11-24 Adam Conrad <adconrad@0c3.net>
33868
33869 * configure.in: Autodetect C++ header directories.
33870 * configure: Regenerated.
33871
338722012-11-23 Mike Frysinger <vapier@gentoo.org>
33873
33874 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33875
338762012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33877
33878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33879
338802012-11-22 Joseph Myers <joseph@codesourcery.com>
33881
33882 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33883 LDBL_MANT_DIG == 106]: Disable some tests.
33884 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33885 Likewise.
33886 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33887 Likewise.
33888
33889 [BZ #14871]
33890 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33891 input for small inputs. Return +/- pi/2 for large inputs.
33892 * math/libm-test.inc (atan_test): Add more tests.
33893
33894 * sysdeps/generic/unwind-dw2-fde-glibc.c
33895 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33896 __attribute__ ((unused)).
33897
33898 [BZ #14645]
33899 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33900 x * y if x and y are nonzero and z is zero.
33901
33902 [BZ #14811]
33903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33904 nonzero exponents with absolute value below 0x1p-117 to +/-
33905 0x1p-117.
33906
33907 [BZ #14869]
33908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33909 up arguments below 2**-450, not just those below 2**-500.
33910 * math/libm-test.inc (hypot_test): Add another test.
33911
33912 [BZ #14868]
33913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33914 Return a+b for ratio over 2**120, not 2**60.
33915 * math/libm-test.inc (hypot_test): Add another test.
33916
33917 * math/libm-test.inc (clog_test): Use
33918 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33919 (clog10_test): Likewise.
33920
33921 [BZ #6778]
33922 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33923
339242012-11-22 Andreas Schwab <schwab@suse.de>
33925
33926 * sysdeps/i386/fpu/libm-test-ulps: Update.
33927
339282012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33929
33930 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33931 printf output with newline.
33932
339332012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33934
33935 [BZ #14865]
33936 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33937 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33938 -z nodlopen, -z initfirst and -z execstack support.
33939 * configure: Regenerated.
33940
33941 * elf/elf.h (DF_1_NODIRECT): New macro.
33942 (DF_1_IGNMULDEF): Likewise.
33943 (DF_1_NOKSYMS): Likewise.
33944 (DF_1_NOHDR): Likewise.
33945 (DF_1_EDITED): Likewise.
33946 (DF_1_NORELOC): Likewise.
33947 (DF_1_SYMINTPOSE): Likewise.
33948 (DF_1_GLOBAUDIT): Likewise.
33949 (DF_1_SINGLETON): Likewise.
33950 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33951 DT_1_SUPPORTED_MASK bits.
33952 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33953
339542012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33955
33956 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33957
339582012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33959
33960 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33961 macro.
33962
33963 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33964 (sendmmsg): Move declarations...
33965 * socket/sys/socket.h: ... here.
33966 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33967 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33968 include it from...
33969 * socket/recvmmsg.c: ... this new file.
33970 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33971 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33972 definition of __sendmmsg hidden.
33973 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33974 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33975 Move ENOSYS stub into and include it from...
33976 * socket/sendmmsg.c: ... this new file.
33977 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33978 (sysdep_routines): Move recvmmsg and sendmmsg...
33979 * socket/Makefile (routines): ... here.
33980 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33981 (GLIBC_PRIVATE): Add __sendmmsg.
33982 * include/sys/socket.h (__sendmmsg): Add declarations.
33983 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33984 sendmmsg.
33985
339862012-11-20 Joseph Myers <joseph@codesourcery.com>
33987
33988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33989 variable I1 with __attribute__ ((unused)).
33990 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33991
339922012-11-19 Joseph Myers <joseph@codesourcery.com>
33993
33994 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33995 DUMMY variables with __attribute__ ((unused)).
33996
33997 * bits/byteswap.h: Include <bits/types.h>.
33998 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33999
340002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34001
34002 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34003 string_t. Do not manually set errno.
34004 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34005 length with __strnlen. Make sure to both set errno and return it on
34006 failure.
34007
340082012-11-19 David S. Miller <davem@davemloft.net>
34009
34010 With help from Joseph Myers.
34011 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34012 very large arguments properly.
34013 * math/libm-test.inc (atan_test): New tests.
34014 (atan2_test): New tests.
34015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34017
340182012-11-19 Joseph Myers <joseph@codesourcery.com>
34019
34020 [BZ #14856]
34021 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34022 Define to 3.
34023
34024 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34025 [POSIX] (EADDRNOTAVAIL): Likewise.
34026 [POSIX] (EAFNOSUPPORT): Likewise.
34027 [POSIX] (EALREADY): Likewise.
34028 [POSIX] (ECONNABORTED): Likewise.
34029 [POSIX] (ECONNREFUSED): Likewise.
34030 [POSIX] (ECONNRESET): Likewise.
34031 [POSIX] (EDESTADDRREQ): Likewise.
34032 [POSIX] (EDQUOT): Likewise.
34033 [POSIX] (EHOSTUNREACH): Likewise.
34034 [POSIX] (EIDRM): Likewise.
34035 [POSIX] (EISCONN): Likewise.
34036 [POSIX] (ELOOP): Likewise.
34037 [POSIX] (EMULTIHOP): Likewise.
34038 [POSIX] (ENETDOWN): Likewise.
34039 [POSIX] (ENETUNREACH): Likewise.
34040 [POSIX] (ENOBUFS): Likewise.
34041 [POSIX] (ENODATA): Likewise.
34042 [POSIX] (ENOLINK): Likewise.
34043 [POSIX] (ENOMSG): Likewise.
34044 [POSIX] (ENOPROTOOPT): Likewise.
34045 [POSIX] (ENOSR): Likewise.
34046 [POSIX] (ENOSTR): Likewise.
34047 [POSIX] (ENOTCONN): Likewise.
34048 [POSIX] (ENOTSOCK): Likewise.
34049 [POSIX] (EOPNOTSUPP): Likewise.
34050 [POSIX] (EOVERFLOW): Likewise.
34051 [POSIX] (EPROTO): Likewise.
34052 [POSIX] (EPROTONOSUPPORT): Likewise.
34053 [POSIX] (EPROTOTYPE): Likewise.
34054 [POSIX] (ESTALE): Likewise.
34055 [POSIX] (ETIME): Likewise.
34056 [POSIX] (ETXTBSY): Likewise.
34057 [POSIX] (EWOULDBLOCK): Likewise.
34058 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34059 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34060 [POSIX] (SEEK_CUR): Likewise.
34061 [POSIX] (SEEK_END): Likewise.
34062 [POSIX || UNIX98] (mode_t): Do not require.
34063 [POSIX] (off_t): Likewise.
34064 [POSIX] (pid_t): Likewise.
34065 [POSIX] (sys/stat.h): Do not allow header.
34066 [POSIX] (unistd.h): Likewise.
34067 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34068 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34069 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34070 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34071 require.
34072 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34073 sigevent): Specify elements.
34074 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34075 entry.
34076 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34077 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34078
34079 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34080 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34081 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34082 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34083 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34084 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34085 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34086 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34087 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34088 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34089 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34090 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34091 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34092 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34093 Likewise.
34094 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34095 Likewise.
34096 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34097 Likewise.
34098 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34099 Likewise.
34100 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34101 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34102 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34103 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34104 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34105 Specify lower bound on value.
34106 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34110 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34112 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34113 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34114 value.
34115 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34116 as optional.
34117 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34118 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34119 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34124 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34126 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34133 entry.
34134 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34135 optional.
34136 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34138 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34139 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34140 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34141 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34142 Likewise.
34143 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34145 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34147 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34148 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34149 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34150 as optional.
34151 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34154 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34155 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34156 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34157 specify as optional.
34158 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34159 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34160 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34161 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34162 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34163 [XPG3] (NL_LANGMAX): Likewise.
34164 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34165 [POSIX || XPG3] (NL_NMAX): Likewise.
34166 [POSIX || XPG3] (NL_SETMAX): Likewise.
34167 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34168 [XPG3] (NZERO): Likewise.
34169 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34170 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34171 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34172 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34173 (REG_ERANGE): Expect.
34174 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34175 optional-constant.
34176 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34177 Use (void) in prototype.
34178 [POSIX] (*_t): Allow.
34179 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34180 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34181 (WRDE_BADVAL): Expect.
34182
34183 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34184 expect.
34185 [XPG3 || XPG4] (O_RSYNC): Likewise.
34186 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34187 Likewise.
34188 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34189 [XPG3 || XPG4] (sigqueue): Likewise.
34190 [XPG3 || XPG4] (sigtimedwait): Likewise.
34191 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34192 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34193 [XPG3 || XPG4] (vsnprintf): Likewise.
34194 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34195 Likewise.
34196 [XPG3 || XPG4] (blksize_t): Likewise.
34197 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34198 Likewise.
34199 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34200 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34201 [XPG3 || XPG4] (struct itimerspec): Likewise.
34202 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34203 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34204 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34205 [XPG3 || XPG4] (clockid_t): Likewise.
34206 [XPG3 || XPG4] (timer_t): Likewise.
34207 [XPG3 || XPG4] (clock_getres): Likewise.
34208 [XPG3 || XPG4] (clock_gettime): Likewise.
34209 [XPG3 || XPG4] (clock_settime): Likewise.
34210 [XPG3 || XPG4] (nanosleep): Likewise.
34211 [XPG3 || XPG4] (timer_create): Likewise.
34212 [XPG3 || XPG4] (timer_delete): Likewise.
34213 [XPG3 || XPG4] (timer_gettime): Likewise.
34214 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34215 [XPG3 || XPG4] (timer_settime): Likewise.
34216 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34217 [XPG3 || XPG4] (getlogin_r): Likewise.
34218 [XPG3 || XPG4] (pread): Likewise.
34219 [XPG3 || XPG4] (pthread_atfork): Likewise.
34220 [XPG3 || XPG4] (pwrite): Likewise.
34221
34222 [BZ #14835]
34223 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34224 <bits/siginfo.h>.
34225
342262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34227
34228 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34229 finalizing MALLSTREAM.
34230
34231 * sysdeps/mach/hurd/syncfs.c: New file.
34232
342332012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34234
34235 [BZ #14719]
34236 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34237 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34239 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34240 (_nss_dns_gethostbyname4_r): Likewise.
34241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34242 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34243
342442012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34245
34246 [BZ #13763]
34247 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34248
342492012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34250
34251 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34252 * elf/cache.c (print_entry): Print ",AArch64" for
34253 FLAG_AARCH64_LIB64
34254
34255 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34256 * elf/cache.c (print_entry): Print ",hard-float" for
34257 FLAG_ARM_LIBHF.
34258
342592012-11-18 David S. Miller <davem@davemloft.net>
34260
34261 With help from Joseph Myers.
34262 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34263 cutoff to 2**-13.
34264 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34265 cutoff to 2**-25.
34266 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34267 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34268 small.
34269 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34270 * math/libm-test.inc (y0_test): New tests.
34271 (y1_test): New tests.
34272 * sysdeps/i386/fpu/libm-test-ulps: Update.
34273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34275
342762012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34277
34278 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34279 64-bit targets.
34280 * configure: Regenerated.
34281
342822012-11-17 David S. Miller <davem@davemloft.net>
34283
34284 [BZ #14811]
34285 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34286 nonzero exponents with absolute value below 0x1p-128 to +/-
34287 0x1p-128.
34288
342892012-11-17 Joseph Myers <joseph@codesourcery.com>
34290
34291 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34292
34293 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34294
34295 * posix/getconf-speclist.c: New file.
34296 * posix/posix-envs.def: Likewise.
34297 * posix/confstr.c (START_ENV_GROUP): New macro.
34298 (END_ENV_GROUP): Likewise.
34299 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34300 (KNOWN_PRESENT_ENV_STRING): Likewise.
34301 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34302 (UNKNOWN_ENVIRONMENT): Likewise.
34303 (confstr): Include posix-envs.def instead of handling
34304 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34305 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34306 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34307 (END_ENV_GROUP): Likewise.
34308 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34309 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34310 (UNKNOWN_ENVIRONMENT): Likewise.
34311 (__sysconf): Include posix-envs.def instead of handling associated
34312 cases directly here.
34313 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34314 preprocessing getconf-speclist.c rather than running getconf or
34315 generating empty file.
34316
343172012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34318
34319 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34320
343212012-11-16 Andrej Lajovic <natrij@gmail.com>
34322
34323 [BZ #14672]
34324 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34325
343262012-11-16 David S. Miller <davem@davemloft.net>
34327
34328 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34329 smaller than LDBL_EPSILON/2.0L, just return xm1.
34330
343312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34332
34333 * elf/tst-array1.c (init): Set constructor priority to 1000.
34334 (fini): Set destructor priority to 1000.
34335 * elf/tst-array2dep.c: Likewise.
34336
343372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34338
34339 [BZ #11741]
34340 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34341 (_IO_new_file_xsputn): Also return EOF if none of the input
34342 data was written when overflow failed.
34343 * libio/iopadn.c (_IO_padn): Likewise.
34344 * libio/iowpadn.c (_IO_wpadn): Likewise.
34345 * stdio-common/tst-put-error.c: Add copyright notice.
34346 (do_test): Add case for printing padded string.
34347 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34348 _IO_padn returned error.
34349 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34350 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34351 return EOF.
34352
343532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34354
34355 * libio/libioP.h: Add comment note that the references to C++
34356 bits are now obsolete.
34357
343582012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34359
34360 * math/libm-test.inc (check_complex): Use asprintf.
34361
343622012-11-14 Joseph Myers <joseph@codesourcery.com>
34363
34364 * debug/pcprofiledump.c (print_version): Update copyright year.
34365 * malloc/memusagestat.c (print_version): Likewise.
34366
343672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34368
34369 [BZ #14831]
34370 * elf/Makefile (tests): Add tst-audit8.
34371 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34372 ($(objpfx)tst-audit8.out): New target.
34373 (tst-audit8-ENV): New variable.
34374 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34375 audit if l_reloc_result is NULL.
34376 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34377 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34378 * elf/tst-audit8.c: New file.
34379
343802012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34381
34382 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34383 * misc/Makefile (CFLAGS-select.c): Define.
34384 * posix/Makefile (CFLAGS-pause.c): Define.
34385
343862012-11-13 David S. Miller <davem@davemloft.net>
34387
34388 * crypt/Makefile: Move test targets after toplevel Rules
34389 inclusion. Grab any necessary sysdep routines when linking.
34390 * crypt/md5.c (md5_process_block): Remove define, we will always
34391 name it __md5_process_block.
34392 (md5_finish_ctx): Update md5_process_block call.
34393 (md5_stream): Likewise.
34394 (md5_process_bytes): Likewise.
34395 (md5_process_block): Rename to __md5_process_block and move to ...
34396 * crypt/md5-block.c: ... here.
34397 * crypt/sha256.c (sha256_process_block): Move to ...
34398 * crypt/sha256-block.c: ... here.
34399 * crypt/sha512.c (sha512_process_block): Move to ...
34400 * crypt/sha512-block.c: ... here.
34401 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34402 path.
34403 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34404 * sysdeps/sparc/sparc64/multiarch/Makefile
34405 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34406 crypt subdir.
34407 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34408 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34409 multiarch changes.
34410 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34411 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34412 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34413 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34414 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34415 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34416 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34417 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34418 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34419 file.
34420 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34421 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34422 file.
34423 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34424
344252012-11-13 Joseph Myers <joseph@codesourcery.com>
34426
34427 * timezone/tzselect.ksh: Update from tzcode git revision
34428 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34429 * timezone/zdump.c: Likewise.
34430 * timezone/zic.c: Likewise.
34431 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34432 in TZVERSION setting, not $(PKGVERSION).
34433 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34434 REPORT_BUGS_TO settings.
34435
34436 [BZ #14838]
34437 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34438 macro.
34439
344402012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34441
34442 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34443 detection to immediately after _FP_ROUND().
34444 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34445 bits are 0.
34446
344472012-11-11 David S. Miller <davem@davemloft.net>
34448
34449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34450 inttypes.h
34451 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34452 __close rather than their public counterparts.
34453
344542012-11-10 Joseph Myers <joseph@codesourcery.com>
34455
34456 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34457 file.
34458 [UNIX98] (sem_timedwait): Do not expect.
34459 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34460 [XPG4 || UNIX98] (sockatmark): Do not expect.
34461 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34462 (clock_getcpuclockid): Do not expect.
34463 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34464 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34465 Do not expect.
34466 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34467 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34468 [UNIX98] (vwscanf): Likewise.
34469 [UNIX98] (vswscanf): Likewise.
34470
344712012-11-09 Joseph Myers <joseph@codesourcery.com>
34472
34473 * timezone/version.h: Remove file.
34474 * timezone/README: Do not refer to version.h.
34475 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34476 $(objpfx)version.h.
34477 ($(objpfx)zdump.o): Likewise.
34478 ($(objpfx)version.h): New target.
34479
34480 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34481 2012i.
34482 * timezone/README: Don't mention modification to tzselect.ksh.
34483 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34484 work on unmodified tzselect.ksh. Substitute version numbers in
34485 tzselect.ksh.
34486
34487 * Makefile (format-me): Remove.
34488 (INSTALL): Adjust indentation. Use commands directly instead of
34489 using $(format-me).
34490
34491 * aclocal.m4 (ACX_PKGVERSION): New macro.
34492 (ACX_BUGURL): Likewise.
34493 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34494 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34495 (REPORT_BUGS_TO): Likewise.
34496 * configure: Regenerated.
34497 * config.h.in (PKGVERSION): New macro.
34498 (REPORT_BUGS_TO): Likewise.
34499 * config.make.in (PKGVERSION): New variable.
34500 (PKGVERSION_TEXI): Likewise.
34501 (REPORT_BUGS_TO): Likewise.
34502 (REPORT_BUGS_TEXI): Likewise.
34503 * Makefile (format-me): Use -I$(common-objpfx)manual.
34504 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34505 ($(common-objpfx)manual/%): New target.
34506 (manual/%): Remove target.
34507 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34508 (print_version): Use PKGVERSION.
34509 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34510 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34511 and REPORT_BUGS_TO.
34512 ($(objpfx)xtrace): Likewise.
34513 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34514 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34515 (print_version): Use PKGVERSION.
34516 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34517 (do_version): Use PKGVERSION.
34518 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34519 REPORT_BUGS_TO.
34520 (common-ldd-rewrite): Likewise.
34521 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34522 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34523 (print_version): Use PKGVERSION.
34524 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34525 * elf/pldd.c (argp_program_bug_address): Remove variable.
34526 (more_help): New function.
34527 (argp): Use more_help.
34528 (print_version): Use PKGVERSION.
34529 * elf/sln.c (main): Use PKGVERSION.
34530 (usage): Use REPORT_BUGS_TO.
34531 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34532 (top level): Use PKGVERSION.
34533 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34534 (print_version): Use PKGVERSION.
34535 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34536 (print_version): Use PKGVERSION.
34537 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34538 (print_version): Use PKGVERSION.
34539 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34540 (print_version): Use PKGVERSION.
34541 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34542 (print_version): Use PKGVERSION.
34543 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34544 (print_version): Use PKGVERSION.
34545 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34546 and BUGURL.
34547 ($(objpfx)memusage): Likewise.
34548 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34549 (do_version): Use PKGVERSION.
34550 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34551 (print_version): Use PKGVERSION.
34552 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34553 ($PKGVERSION): New variable.
34554 ($REPORT_BUGS_TO): Likewise.
34555 (usage): Use $REPORT_BUGS_TO.
34556 (top level): Use $PKGVERSION.
34557 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34558 ($(objpfx)pkgvers.texi): New rule.
34559 ($(objpfx)stamp-pkgvers): Likewise.
34560 * manual/install.texi: Include pkgvers.texi.
34561 (--with-pkgversion): Document new configure option.
34562 (--with-bugurl): Likewise.
34563 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34564 than necessarily for this particular distribution. Use
34565 REPORT_BUGS_TO for where to report bugs.
34566 * INSTALL: Regenerated.
34567 * manual/libc.texinfo: Include pkgvers.texi.
34568 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34569 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34570 (print_version): Use PKGVERSION.
34571 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34572 (print_version): Use PKGVERSION.
34573 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34574 (print_version): Use PKGVERSION.
34575 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34576 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34577 macro.
34578 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34579 (print_version): Use PKGVERSION.
34580 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34581 (print_version): Use PKGVERSION.
34582 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34583 and PKGVERSION.
34584
34585 * timezone/checktab.awk: Update from tzcode 2012i.
34586 * timezone/ialloc.c: Likewise.
34587 * timezone/private.h: Likewise.
34588 * timezone/scheck.c: Likewise.
34589 * timezone/tzfile.h: Likewise.
34590 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34591 (TZVERSION): Hardcode tzcode version number.
34592 * timezone/zdump.c: Update from tzcode 2012i.
34593 * timezone/zic.c: Likewise.
34594 * timezone/version.h: New file.
34595 * timezone/README: Describe version.h. Update upstream location.
34596
34597 [BZ #14824]
34598 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34599 (mktemp): Enable declaration.
34600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34604 Likewise.
34605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34606 Likewise.
34607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34608 Likewise.
34609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34610 Likewise.
34611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34612 Likewise.
34613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34614 Likewise.
34615
34616 [BZ #14821]
34617 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34618 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34619 for copies of such integer values.
34620 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34621 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34622
346232012-11-09 Andreas Jaeger <aj@suse.de>
34624
34625 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34626 definitions and declarations that are provided by
34627 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34628
346292012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34630
34631 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34632 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34633 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34634 definition.
34635
346362012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34637
34638 * elf/elf.h: Update comment before AArch64 relocations.
34639
346402012-11-07 David S. Miller <davem@davemloft.net>
34641
34642 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34643 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34644 (__start_context): Declare.
34645 (__makecontext_ret): Delete.
34646 (__makecontext): Hook up __start_context instead of
34647 __makecontext_ret.
34648 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34649 (sysdep_routines): Add __start_context when in stdlib.
34650
346512012-11-07 Joseph Myers <joseph@codesourcery.com>
34652
34653 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34654 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34655 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34656 hardcoded "nm".
34657 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34658 (READELF): New variable. Use it instead of hardcoded "readelf".
34659
346602012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34663 * sysdeps/x86/Makefile: Here.
34664 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34665 * sysdeps/x86/tst-xmmymm.sh: This.
34666
346672012-11-07 Joseph Myers <joseph@codesourcery.com>
34668
34669 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34670 expectations.
34671 [UNIX98] (pthread_barrier_t): Do not expect.
34672 [UNIX98] (pthread_barrierattr_t): Likewise.
34673 [UNIX98] (pthread_spinlock_t): Likewise.
34674 [UNIX98] (pthread_barrier_destroy): Likewise.
34675 [UNIX98] (pthread_barrier_init): Likewise.
34676 [UNIX98] (pthread_barrier_wait): Likewise.
34677 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34678 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34679 [UNIX98] (pthread_barrierattr_init): Likewise.
34680 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34681 [UNIX98] (pthread_getcpuclockid): Likewise.
34682 [UNIX98] (pthread_mutex_timedlock): Likewise.
34683 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34684 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34685 [UNIX98] (pthread_sigmask): Likewise.
34686 [UNIX98] (pthread_spin_destroy): Likewise.
34687 [UNIX98] (pthread_spin_init): Likewise.
34688 [UNIX98] (pthread_spin_lock): Likewise.
34689 [UNIX98] (pthread_spin_trylock): Likewise.
34690 [UNIX98] (pthread_spin_unlock): Likewise.
34691 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34692 Do not expect.
34693 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34695 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34696 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34697 [XPG3 || XPG4] (pthread_key_t): Likewise.
34698 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34699 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34700 [XPG3 || XPG4] (pthread_once_t): Likewise.
34701 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34702 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34704 [XPG3 || XPG4] (pthread_t): Likewise.
34705
34706 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34707 not expect.
34708 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34709
34710 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34711 Change function return type to int.
34712
34713 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34714 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34715 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34716 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34717 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34718 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34719 [!POSIX] (posix_madvise): Likewise.
34720 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34721 && !UNIX98].
34722 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34723 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34724 (mode_t): Likewise.
34725 (posix_mem_offset): Likewise.
34726 (posix_typed_mem_get_info): Likewise.
34727 (posix_typed_mem_open): Likewise.
34728
34729 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34730 Change condition to [XOPEN2K8].
34731
34732 * conform/conformtest.pl: Preprocess allow-header data with -x c
34733 instead of from stdin.
34734 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34735 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34736 [C99-based standards] (cerfc): Likewise.
34737 [C99-based standards] (cexp2): Likewise.
34738 [C99-based standards] (cexpm1): Likewise.
34739 [C99-based standards] (clog10): Likewise.
34740 [C99-based standards] (clog1p): Likewise.
34741 [C99-based standards] (clog2): Likewise.
34742 [C99-based standards] (clgamma): Likewise.
34743 [C99-based standards] (ctgamma): Likewise.
34744 [C99-based standards] (cerff): Likewise.
34745 [C99-based standards] (cerfcf): Likewise.
34746 [C99-based standards] (cexp2f): Likewise.
34747 [C99-based standards] (cexpm1f): Likewise.
34748 [C99-based standards] (clog10f): Likewise.
34749 [C99-based standards] (clog1pf): Likewise.
34750 [C99-based standards] (clog2f): Likewise.
34751 [C99-based standards] (clgammaf): Likewise.
34752 [C99-based standards] (ctgammaf): Likewise.
34753 [C99-based standards] (cerfl): Likewise.
34754 [C99-based standards] (cerfcl): Likewise.
34755 [C99-based standards] (cexp2l): Likewise.
34756 [C99-based standards] (cexpm1l): Likewise.
34757 [C99-based standards] (clog10l): Likewise.
34758 [C99-based standards] (clog1pl): Likewise.
34759 [C99-based standards] (clog2l): Likewise.
34760 [C99-based standards] (clgammal): Likewise.
34761 [C99-based standards] (ctgammal): Likewise.
34762 * conform/data/inttypes.h-data [C99-based standards]: Include
34763 stdint.h-data. Remove all expectations for stdint.h contents.
34764 [C99-based standards] (PRI*): Do not allow.
34765 [C99-based standards] (SCN*): Likewise.
34766 [C99-based standards] (*_t): Likewise.
34767 [C99-based-standards] (PRId8): Expect macro.
34768 [C99-based-standards] (PRIi8): Likewise.
34769 [C99-based-standards] (PRIo8): Likewise.
34770 [C99-based-standards] (PRIu8): Likewise.
34771 [C99-based-standards] (PRIx8): Likewise.
34772 [C99-based-standards] (PRIX8): Likewise.
34773 [C99-based-standards] (SCNd8): Likewise.
34774 [C99-based-standards] (SCNi8): Likewise.
34775 [C99-based-standards] (SCNo8): Likewise.
34776 [C99-based-standards] (SCNu8): Likewise.
34777 [C99-based-standards] (SCNx8): Likewise.
34778 [C99-based-standards] (PRIdLEAST8): Likewise.
34779 [C99-based-standards] (PRIiLEAST8): Likewise.
34780 [C99-based-standards] (PRIoLEAST8): Likewise.
34781 [C99-based-standards] (PRIuLEAST8): Likewise.
34782 [C99-based-standards] (PRIxLEAST8): Likewise.
34783 [C99-based-standards] (PRIXLEAST8): Likewise.
34784 [C99-based-standards] (SCNdLEAST8): Likewise.
34785 [C99-based-standards] (SCNiLEAST8): Likewise.
34786 [C99-based-standards] (SCNoLEAST8): Likewise.
34787 [C99-based-standards] (SCNuLEAST8): Likewise.
34788 [C99-based-standards] (SCNxLEAST8): Likewise.
34789 [C99-based-standards] (PRIdFAST8): Likewise.
34790 [C99-based-standards] (PRIiFAST8): Likewise.
34791 [C99-based-standards] (PRIoFAST8): Likewise.
34792 [C99-based-standards] (PRIuFAST8): Likewise.
34793 [C99-based-standards] (PRIxFAST8): Likewise.
34794 [C99-based-standards] (PRIXFAST8): Likewise.
34795 [C99-based-standards] (SCNdFAST8): Likewise.
34796 [C99-based-standards] (SCNiFAST8): Likewise.
34797 [C99-based-standards] (SCNoFAST8): Likewise.
34798 [C99-based-standards] (SCNuFAST8): Likewise.
34799 [C99-based-standards] (SCNxFAST8): Likewise.
34800 [C99-based-standards] (PRId16): Likewise.
34801 [C99-based-standards] (PRIi16): Likewise.
34802 [C99-based-standards] (PRIo16): Likewise.
34803 [C99-based-standards] (PRIu16): Likewise.
34804 [C99-based-standards] (PRIx16): Likewise.
34805 [C99-based-standards] (PRIX16): Likewise.
34806 [C99-based-standards] (SCNd16): Likewise.
34807 [C99-based-standards] (SCNi16): Likewise.
34808 [C99-based-standards] (SCNo16): Likewise.
34809 [C99-based-standards] (SCNu16): Likewise.
34810 [C99-based-standards] (SCNx16): Likewise.
34811 [C99-based-standards] (PRIdLEAST16): Likewise.
34812 [C99-based-standards] (PRIiLEAST16): Likewise.
34813 [C99-based-standards] (PRIoLEAST16): Likewise.
34814 [C99-based-standards] (PRIuLEAST16): Likewise.
34815 [C99-based-standards] (PRIxLEAST16): Likewise.
34816 [C99-based-standards] (PRIXLEAST16): Likewise.
34817 [C99-based-standards] (SCNdLEAST16): Likewise.
34818 [C99-based-standards] (SCNiLEAST16): Likewise.
34819 [C99-based-standards] (SCNoLEAST16): Likewise.
34820 [C99-based-standards] (SCNuLEAST16): Likewise.
34821 [C99-based-standards] (SCNxLEAST16): Likewise.
34822 [C99-based-standards] (PRIdFAST16): Likewise.
34823 [C99-based-standards] (PRIiFAST16): Likewise.
34824 [C99-based-standards] (PRIoFAST16): Likewise.
34825 [C99-based-standards] (PRIuFAST16): Likewise.
34826 [C99-based-standards] (PRIxFAST16): Likewise.
34827 [C99-based-standards] (PRIXFAST16): Likewise.
34828 [C99-based-standards] (SCNdFAST16): Likewise.
34829 [C99-based-standards] (SCNiFAST16): Likewise.
34830 [C99-based-standards] (SCNoFAST16): Likewise.
34831 [C99-based-standards] (SCNuFAST16): Likewise.
34832 [C99-based-standards] (SCNxFAST16): Likewise.
34833 [C99-based-standards] (PRId32): Likewise.
34834 [C99-based-standards] (PRIi32): Likewise.
34835 [C99-based-standards] (PRIo32): Likewise.
34836 [C99-based-standards] (PRIu32): Likewise.
34837 [C99-based-standards] (PRIx32): Likewise.
34838 [C99-based-standards] (PRIX32): Likewise.
34839 [C99-based-standards] (SCNd32): Likewise.
34840 [C99-based-standards] (SCNi32): Likewise.
34841 [C99-based-standards] (SCNo32): Likewise.
34842 [C99-based-standards] (SCNu32): Likewise.
34843 [C99-based-standards] (SCNx32): Likewise.
34844 [C99-based-standards] (PRIdLEAST32): Likewise.
34845 [C99-based-standards] (PRIiLEAST32): Likewise.
34846 [C99-based-standards] (PRIoLEAST32): Likewise.
34847 [C99-based-standards] (PRIuLEAST32): Likewise.
34848 [C99-based-standards] (PRIxLEAST32): Likewise.
34849 [C99-based-standards] (PRIXLEAST32): Likewise.
34850 [C99-based-standards] (SCNdLEAST32): Likewise.
34851 [C99-based-standards] (SCNiLEAST32): Likewise.
34852 [C99-based-standards] (SCNoLEAST32): Likewise.
34853 [C99-based-standards] (SCNuLEAST32): Likewise.
34854 [C99-based-standards] (SCNxLEAST32): Likewise.
34855 [C99-based-standards] (PRIdFAST32): Likewise.
34856 [C99-based-standards] (PRIiFAST32): Likewise.
34857 [C99-based-standards] (PRIoFAST32): Likewise.
34858 [C99-based-standards] (PRIuFAST32): Likewise.
34859 [C99-based-standards] (PRIxFAST32): Likewise.
34860 [C99-based-standards] (PRIXFAST32): Likewise.
34861 [C99-based-standards] (SCNdFAST32): Likewise.
34862 [C99-based-standards] (SCNiFAST32): Likewise.
34863 [C99-based-standards] (SCNoFAST32): Likewise.
34864 [C99-based-standards] (SCNuFAST32): Likewise.
34865 [C99-based-standards] (SCNxFAST32): Likewise.
34866 [C99-based-standards] (PRId64): Likewise.
34867 [C99-based-standards] (PRIi64): Likewise.
34868 [C99-based-standards] (PRIo64): Likewise.
34869 [C99-based-standards] (PRIu64): Likewise.
34870 [C99-based-standards] (PRIx64): Likewise.
34871 [C99-based-standards] (PRIX64): Likewise.
34872 [C99-based-standards] (SCNd64): Likewise.
34873 [C99-based-standards] (SCNi64): Likewise.
34874 [C99-based-standards] (SCNo64): Likewise.
34875 [C99-based-standards] (SCNu64): Likewise.
34876 [C99-based-standards] (SCNx64): Likewise.
34877 [C99-based-standards] (PRIdLEAST64): Likewise.
34878 [C99-based-standards] (PRIiLEAST64): Likewise.
34879 [C99-based-standards] (PRIoLEAST64): Likewise.
34880 [C99-based-standards] (PRIuLEAST64): Likewise.
34881 [C99-based-standards] (PRIxLEAST64): Likewise.
34882 [C99-based-standards] (PRIXLEAST64): Likewise.
34883 [C99-based-standards] (SCNdLEAST64): Likewise.
34884 [C99-based-standards] (SCNiLEAST64): Likewise.
34885 [C99-based-standards] (SCNoLEAST64): Likewise.
34886 [C99-based-standards] (SCNuLEAST64): Likewise.
34887 [C99-based-standards] (SCNxLEAST64): Likewise.
34888 [C99-based-standards] (PRIdFAST64): Likewise.
34889 [C99-based-standards] (PRIiFAST64): Likewise.
34890 [C99-based-standards] (PRIoFAST64): Likewise.
34891 [C99-based-standards] (PRIuFAST64): Likewise.
34892 [C99-based-standards] (PRIxFAST64): Likewise.
34893 [C99-based-standards] (PRIXFAST64): Likewise.
34894 [C99-based-standards] (SCNdFAST64): Likewise.
34895 [C99-based-standards] (SCNiFAST64): Likewise.
34896 [C99-based-standards] (SCNoFAST64): Likewise.
34897 [C99-based-standards] (SCNuFAST64): Likewise.
34898 [C99-based-standards] (SCNxFAST64): Likewise.
34899 [C99-based-standards] (PRIdMAX): Likewise.
34900 [C99-based-standards] (PRIiMAX): Likewise.
34901 [C99-based-standards] (PRIoMAX): Likewise.
34902 [C99-based-standards] (PRIuMAX): Likewise.
34903 [C99-based-standards] (PRIxMAX): Likewise.
34904 [C99-based-standards] (PRIXMAX): Likewise.
34905 [C99-based-standards] (SCNdMAX): Likewise.
34906 [C99-based-standards] (SCNiMAX): Likewise.
34907 [C99-based-standards] (SCNoMAX): Likewise.
34908 [C99-based-standards] (SCNuMAX): Likewise.
34909 [C99-based-standards] (SCNxMAX): Likewise.
34910 [C99-based-standards] (PRIdPTR): Likewise.
34911 [C99-based-standards] (PRIiPTR): Likewise.
34912 [C99-based-standards] (PRIoPTR): Likewise.
34913 [C99-based-standards] (PRIuPTR): Likewise.
34914 [C99-based-standards] (PRIxPTR): Likewise.
34915 [C99-based-standards] (PRIXPTR): Likewise.
34916 [C99-based-standards] (SCNdPTR): Likewise.
34917 [C99-based-standards] (SCNiPTR): Likewise.
34918 [C99-based-standards] (SCNoPTR): Likewise.
34919 [C99-based-standards] (SCNuPTR): Likewise.
34920 [C99-based-standards] (SCNxPTR): Likewise.
34921 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34922 allow.
34923 * conform/data/stdint.h-data: Update comments to clarify
34924 requirements.
34925 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34926 type.
34927 [C99-based standards] (INT8_MAX): Likewise.
34928 [C99-based standards] (INT16_MIN): Likewise.
34929 [C99-based standards] (INT16_MAX): Likewise.
34930 [C99-based standards] (INT32_MIN): Likewise.
34931 [C99-based standards] (INT32_MAX): Likewise.
34932 [C99-based standards] (INT64_MIN): Likewise.
34933 [C99-based standards] (INT64_MAX): Likewise.
34934 [C99-based standards] (UINT8_MAX): Likewise.
34935 [C99-based standards] (UINT16_MAX): Likewise.
34936 [C99-based standards] (UINT32_MAX): Likewise.
34937 [C99-based standards] (UINT64_MAX): Likewise.
34938 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34939 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34940 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34941 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34942 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34943 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34944 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34945 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34946 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34947 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34948 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34949 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34950 [C99-based standards] (INT_FAST8_MIN): Likewise.
34951 [C99-based standards] (INT_FAST8_MAX): Likewise.
34952 [C99-based standards] (INT_FAST16_MIN): Likewise.
34953 [C99-based standards] (INT_FAST16_MAX): Likewise.
34954 [C99-based standards] (INT_FAST32_MIN): Likewise.
34955 [C99-based standards] (INT_FAST32_MAX): Likewise.
34956 [C99-based standards] (INT_FAST64_MIN): Likewise.
34957 [C99-based standards] (INT_FAST64_MAX): Likewise.
34958 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34959 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34960 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34961 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34962 [C99-based standards] (INTPTR_MIN): Likewise.
34963 [C99-based standards] (INTPTR_MAX): Likewise.
34964 [C99-based standards] (UINTPTR_MAX): Likewise.
34965 [C99-based standards] (INTMAX_MIN): Likewise.
34966 [C99-based standards] (INTMAX_MAX): Likewise.
34967 [C99-based standards] (UINTMAX_MAX): Likewise.
34968 [C99-based standards] (PTRDIFF_MIN): Likewise.
34969 [C99-based standards] (PTRDIFF_MAX): Likewise.
34970 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34971 [C99-based standards] (SIZE_MAX): Likewise.
34972 [C99-based standards] (WCHAR_MAX): Likewise.
34973 [C99-based standards] (WINT_MAX): Likewise.
34974 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34975 constraint on value.
34976 [C99-based standards] (WCHAR_MIN): Likewise.
34977 [C99-based standards] (WINT_MIN): Likewise.
34978 [C99-based standards] (*_t): Allow.
34979 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34980 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34981 Include math.h-data and complex.h-data. Remove all expectations
34982 of math.h and complex.h contents.
34983 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34984 at end of line.
34985 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34986 (struct tm): Expect tag.
34987 [C99-based-standards] (wcstof): Expect function.
34988 [C99-based-standards] (wcstold): Likewise.
34989 [C99-based-standards] (wcstoll): Likewise.
34990 [C99-based-standards] (wcstoull): Likewise.
34991 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34992 macro-int-constant. Specify type.
34993 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34994 constraint on value.
34995 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34996 Specify type.
34997 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34998 Specify value.
34999 [ISO C standards]: Do not allow headers.
35000 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35001 wcs[abcdefghijklmnopqrstuvwxyz]*.
35002 [ISO C standards] (*_t): Do not allow.
35003 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35004 Expect function.
35005 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35006 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35007 Specify type.
35008 [ISO C standards]: Do not allow headers.
35009 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35010 is[abcdefghijklmnopqrstuvwxyz]*.
35011 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35012 to[abcdefghijklmnopqrstuvwxyz]*.
35013 [ISO C standards] (*_t): Do not allow.
35014 * conform/data/stdalign.h-data: New file.
35015 * conform/data/stdbool.h-data: Likewise.
35016 * conform/data/stdnoreturn.h-data: Likewise.
35017
350182012-11-07 Roland McGrath <roland@hack.frob.com>
35019
35020 [BZ #14815]
35021 * manual/filesys.texi (Directory Entries): Typo fix.
35022 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35023
350242012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35025
35026 * elf/elf.h (EM_AARCH64): New macro.
35027 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35028 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35029 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35030 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35031 (R_AARCH64_TLSDESC): Likewise.
35032 (NT_ARM_TLS): Likewise.
35033 (NT_ARM_HW_BREAK): Likewise.
35034 (NT_ARM_HW_WATCH): Likewise.
35035
350362012-11-07 Joseph Myers <joseph@codesourcery.com>
35037
35038 [BZ #14811]
35039 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35040 (__ieee754_powl): Saturate nonzero exponents with absolute value
35041 below 0x1p-79 to +/- 0x1p-79.
35042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35043 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35044 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35045 nonzero exponents with absolute value below 0x1p-32 to +/-
35046 0x1p-32.
35047 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35048 (__ieee754_powl): Saturate nonzero exponents with absolute value
35049 below 0x1p-79 to +/- 0x1p-79.
35050 * math/libm-test.inc (pow_test): Add more tests.
35051
350522012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35053
35054 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35055 _dl_s390_cap_flags with kernel. Increase string length.
35056 (_dl_s390_platforms): Add z196 and zEC12.
35057
350582012-11-07 Joseph Myers <joseph@codesourcery.com>
35059
35060 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35061 Change XOPEN21K to XOPEN2K.
35062
350632012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35064
35065 * string/memmove.c: Use memcpy when possible.
35066
350672012-11-06 Andreas Jaeger <aj@suse.de>
35068
35069 * po/eo.po: Update from translation team.
35070
350712012-11-06 Joseph Myers <joseph@codesourcery.com>
35072
35073 [BZ #14793]
35074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35075 exponent and small x and y exponents, scale x or y up. Increase
35076 by 2 the exponent used in scaling up.
35077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35079 * math/libm-test.inc (fma_test): Add more tests.
35080 (fma_test_towardzero): Likewise.
35081 (fma_test_downward): Likewise.
35082 (fma_test_upward): Likewise.
35083
350842012-11-05 Joseph Myers <joseph@codesourcery.com>
35085
35086 [BZ #14805]
35087 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35088 fenv_t *.
35089
35090 [BZ #14801]
35091 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35092 namespace for names of struct fields.
35093 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35094 fenv_t fields.
35095 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35096 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35097
350982012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35099
35100 [BZ #3665]
35101 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35102
351032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35104
35105 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35106 PTR_DEMANGLE.
35107
35108 [BZ #5246]
35109 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35110 PTR_DEMANGLE.
35111
351122012-11-04 Joseph Myers <joseph@codesourcery.com>
35113
35114 [BZ #14797]
35115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35116 definitely overflow as x * y not x * y + z.
35117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35119 * math/libm-test.inc (fma_test): Add more tests.
35120 (fma_test_towardzero): Likewise.
35121 (fma_test_downward): Likewise.
35122 (fma_test_upward): Likewise.
35123
351242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35125
35126 [BZ #157]
35127
35128 * include/stub-tag.h: Remove file.
35129 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35130 '#include' of it.
35131 * manual/maint.texi (Porting): Don't reference it.
35132 * Makerules ($(objpfx)stubs): Likewise.
35133 * dirent/closedir.c: Don't include <stub-tag.h>.
35134 * dirent/dirfd.c: Likewise.
35135 * dirent/fdopendir.c: Likewise.
35136 * dirent/getdents.c: Likewise.
35137 * dirent/getdents64.c: Likewise.
35138 * dirent/opendir.c: Likewise.
35139 * dirent/readdir.c: Likewise.
35140 * dirent/readdir64.c: Likewise.
35141 * dirent/readdir64_r.c: Likewise.
35142 * dirent/readdir_r.c: Likewise.
35143 * dirent/rewinddir.c: Likewise.
35144 * dirent/seekdir.c: Likewise.
35145 * dirent/telldir.c: Likewise.
35146 * gmon/profil.c: Likewise.
35147 * grp/setgroups.c: Likewise.
35148 * inet/if_index.c: Likewise.
35149 * io/access.c: Likewise.
35150 * io/chdir.c: Likewise.
35151 * io/chmod.c: Likewise.
35152 * io/chown.c: Likewise.
35153 * io/close.c: Likewise.
35154 * io/dup.c: Likewise.
35155 * io/dup2.c: Likewise.
35156 * io/dup3.c: Likewise.
35157 * io/euidaccess.c: Likewise.
35158 * io/faccessat.c: Likewise.
35159 * io/fchdir.c: Likewise.
35160 * io/fchmod.c: Likewise.
35161 * io/fchmodat.c: Likewise.
35162 * io/fchown.c: Likewise.
35163 * io/fchownat.c: Likewise.
35164 * io/fcntl.c: Likewise.
35165 * io/flock.c: Likewise.
35166 * io/fstatfs.c: Likewise.
35167 * io/fstatfs64.c: Likewise.
35168 * io/fstatvfs.c: Likewise.
35169 * io/fstatvfs64.c: Likewise.
35170 * io/futimens.c: Likewise.
35171 * io/fxstat.c: Likewise.
35172 * io/fxstat64.c: Likewise.
35173 * io/fxstatat.c: Likewise.
35174 * io/fxstatat64.c: Likewise.
35175 * io/getcwd.c: Likewise.
35176 * io/isatty.c: Likewise.
35177 * io/lchmod.c: Likewise.
35178 * io/lchown.c: Likewise.
35179 * io/link.c: Likewise.
35180 * io/linkat.c: Likewise.
35181 * io/lseek.c: Likewise.
35182 * io/lseek64.c: Likewise.
35183 * io/lxstat64.c: Likewise.
35184 * io/mkdir.c: Likewise.
35185 * io/mkdirat.c: Likewise.
35186 * io/mkfifo.c: Likewise.
35187 * io/mkfifoat.c: Likewise.
35188 * io/open.c: Likewise.
35189 * io/open64.c: Likewise.
35190 * io/openat.c: Likewise.
35191 * io/openat64.c: Likewise.
35192 * io/pipe.c: Likewise.
35193 * io/pipe2.c: Likewise.
35194 * io/poll.c: Likewise.
35195 * io/posix_fadvise.c: Likewise.
35196 * io/posix_fadvise64.c: Likewise.
35197 * io/posix_fallocate.c: Likewise.
35198 * io/posix_fallocate64.c: Likewise.
35199 * io/read.c: Likewise.
35200 * io/readlink.c: Likewise.
35201 * io/readlinkat.c: Likewise.
35202 * io/rmdir.c: Likewise.
35203 * io/sendfile.c: Likewise.
35204 * io/sendfile64.c: Likewise.
35205 * io/statfs.c: Likewise.
35206 * io/statfs64.c: Likewise.
35207 * io/statvfs.c: Likewise.
35208 * io/statvfs64.c: Likewise.
35209 * io/symlink.c: Likewise.
35210 * io/symlinkat.c: Likewise.
35211 * io/ttyname.c: Likewise.
35212 * io/ttyname_r.c: Likewise.
35213 * io/umask.c: Likewise.
35214 * io/unlink.c: Likewise.
35215 * io/unlinkat.c: Likewise.
35216 * io/utime.c: Likewise.
35217 * io/utimensat.c: Likewise.
35218 * io/write.c: Likewise.
35219 * io/xmknod.c: Likewise.
35220 * io/xmknodat.c: Likewise.
35221 * io/xstat.c: Likewise.
35222 * io/xstat64.c: Likewise.
35223 * login/getpt.c: Likewise.
35224 * login/grantpt.c: Likewise.
35225 * login/unlockpt.c: Likewise.
35226 * math/e_acoshl.c: Likewise.
35227 * math/e_acosl.c: Likewise.
35228 * math/e_asinl.c: Likewise.
35229 * math/e_atan2l.c: Likewise.
35230 * math/e_atanhl.c: Likewise.
35231 * math/e_coshl.c: Likewise.
35232 * math/e_expl.c: Likewise.
35233 * math/e_fmodl.c: Likewise.
35234 * math/e_gammal_r.c: Likewise.
35235 * math/e_hypotl.c: Likewise.
35236 * math/e_j0l.c: Likewise.
35237 * math/e_j1l.c: Likewise.
35238 * math/e_jnl.c: Likewise.
35239 * math/e_lgammal_r.c: Likewise.
35240 * math/e_log10l.c: Likewise.
35241 * math/e_log2l.c: Likewise.
35242 * math/e_logl.c: Likewise.
35243 * math/e_powl.c: Likewise.
35244 * math/e_rem_pio2l.c: Likewise.
35245 * math/e_sinhl.c: Likewise.
35246 * math/e_sqrtl.c: Likewise.
35247 * math/fclrexcpt.c: Likewise.
35248 * math/fedisblxcpt.c: Likewise.
35249 * math/feenablxcpt.c: Likewise.
35250 * math/fegetenv.c: Likewise.
35251 * math/fegetexcept.c: Likewise.
35252 * math/fegetround.c: Likewise.
35253 * math/feholdexcpt.c: Likewise.
35254 * math/fesetenv.c: Likewise.
35255 * math/fesetround.c: Likewise.
35256 * math/feupdateenv.c: Likewise.
35257 * math/fgetexcptflg.c: Likewise.
35258 * math/fraiseexcpt.c: Likewise.
35259 * math/fsetexcptflg.c: Likewise.
35260 * math/ftestexcept.c: Likewise.
35261 * math/k_cosl.c: Likewise.
35262 * math/k_rem_pio2l.c: Likewise.
35263 * math/k_sinl.c: Likewise.
35264 * math/k_tanl.c: Likewise.
35265 * math/s_asinhl.c: Likewise.
35266 * math/s_atanl.c: Likewise.
35267 * math/s_cbrtl.c: Likewise.
35268 * math/s_erfl.c: Likewise.
35269 * math/s_expm1l.c: Likewise.
35270 * math/s_log1pl.c: Likewise.
35271 * math/s_tanhl.c: Likewise.
35272 * misc/acct.c: Likewise.
35273 * misc/brk.c: Likewise.
35274 * misc/chflags.c: Likewise.
35275 * misc/chroot.c: Likewise.
35276 * misc/fchflags.c: Likewise.
35277 * misc/fgetxattr.c: Likewise.
35278 * misc/flistxattr.c: Likewise.
35279 * misc/fremovexattr.c: Likewise.
35280 * misc/fsetxattr.c: Likewise.
35281 * misc/fsync.c: Likewise.
35282 * misc/ftruncate.c: Likewise.
35283 * misc/futimes.c: Likewise.
35284 * misc/futimesat.c: Likewise.
35285 * misc/getdomain.c: Likewise.
35286 * misc/getdtsz.c: Likewise.
35287 * misc/gethostid.c: Likewise.
35288 * misc/gethostname.c: Likewise.
35289 * misc/getloadavg.c: Likewise.
35290 * misc/getpagesize.c: Likewise.
35291 * misc/getsysstats.c: Likewise.
35292 * misc/getxattr.c: Likewise.
35293 * misc/gtty.c: Likewise.
35294 * misc/ioctl.c: Likewise.
35295 * misc/lgetxattr.c: Likewise.
35296 * misc/listxattr.c: Likewise.
35297 * misc/llistxattr.c: Likewise.
35298 * misc/lremovexattr.c: Likewise.
35299 * misc/lsetxattr.c: Likewise.
35300 * misc/lutimes.c: Likewise.
35301 * misc/madvise.c: Likewise.
35302 * misc/mincore.c: Likewise.
35303 * misc/mlock.c: Likewise.
35304 * misc/mlockall.c: Likewise.
35305 * misc/mmap.c: Likewise.
35306 * misc/mprotect.c: Likewise.
35307 * misc/msync.c: Likewise.
35308 * misc/munlock.c: Likewise.
35309 * misc/munlockall.c: Likewise.
35310 * misc/munmap.c: Likewise.
35311 * misc/preadv.c: Likewise.
35312 * misc/preadv64.c: Likewise.
35313 * misc/ptrace.c: Likewise.
35314 * misc/pwritev.c: Likewise.
35315 * misc/pwritev64.c: Likewise.
35316 * misc/readv.c: Likewise.
35317 * misc/reboot.c: Likewise.
35318 * misc/remap_file_pages.c: Likewise.
35319 * misc/removexattr.c: Likewise.
35320 * misc/revoke.c: Likewise.
35321 * misc/select.c: Likewise.
35322 * misc/setdomain.c: Likewise.
35323 * misc/setegid.c: Likewise.
35324 * misc/seteuid.c: Likewise.
35325 * misc/sethostid.c: Likewise.
35326 * misc/sethostname.c: Likewise.
35327 * misc/setregid.c: Likewise.
35328 * misc/setreuid.c: Likewise.
35329 * misc/setxattr.c: Likewise.
35330 * misc/sstk.c: Likewise.
35331 * misc/stty.c: Likewise.
35332 * misc/swapoff.c: Likewise.
35333 * misc/swapon.c: Likewise.
35334 * misc/sync.c: Likewise.
35335 * misc/syncfs.c: Likewise.
35336 * misc/syscall.c: Likewise.
35337 * misc/truncate.c: Likewise.
35338 * misc/ualarm.c: Likewise.
35339 * misc/usleep.c: Likewise.
35340 * misc/ustat.c: Likewise.
35341 * misc/utimes.c: Likewise.
35342 * misc/vhangup.c: Likewise.
35343 * misc/writev.c: Likewise.
35344 * posix/_exit.c: Likewise.
35345 * posix/alarm.c: Likewise.
35346 * posix/execve.c: Likewise.
35347 * posix/fexecve.c: Likewise.
35348 * posix/fork.c: Likewise.
35349 * posix/fpathconf.c: Likewise.
35350 * posix/getaddrinfo.c: Likewise.
35351 * posix/getegid.c: Likewise.
35352 * posix/geteuid.c: Likewise.
35353 * posix/getgid.c: Likewise.
35354 * posix/getgroups.c: Likewise.
35355 * posix/getlogin.c: Likewise.
35356 * posix/getlogin_r.c: Likewise.
35357 * posix/getpgid.c: Likewise.
35358 * posix/getpid.c: Likewise.
35359 * posix/getppid.c: Likewise.
35360 * posix/getresgid.c: Likewise.
35361 * posix/getresuid.c: Likewise.
35362 * posix/getsid.c: Likewise.
35363 * posix/getuid.c: Likewise.
35364 * posix/glob64.c: Likewise.
35365 * posix/nanosleep.c: Likewise.
35366 * posix/pathconf.c: Likewise.
35367 * posix/pause.c: Likewise.
35368 * posix/posix_madvise.c: Likewise.
35369 * posix/pread.c: Likewise.
35370 * posix/pread64.c: Likewise.
35371 * posix/pwrite.c: Likewise.
35372 * posix/pwrite64.c: Likewise.
35373 * posix/sched_getaffinity.c: Likewise.
35374 * posix/sched_getp.c: Likewise.
35375 * posix/sched_gets.c: Likewise.
35376 * posix/sched_primax.c: Likewise.
35377 * posix/sched_primin.c: Likewise.
35378 * posix/sched_rr_gi.c: Likewise.
35379 * posix/sched_setaffinity.c: Likewise.
35380 * posix/sched_setp.c: Likewise.
35381 * posix/sched_sets.c: Likewise.
35382 * posix/sched_yield.c: Likewise.
35383 * posix/setgid.c: Likewise.
35384 * posix/setlogin.c: Likewise.
35385 * posix/setpgid.c: Likewise.
35386 * posix/setresgid.c: Likewise.
35387 * posix/setresuid.c: Likewise.
35388 * posix/setsid.c: Likewise.
35389 * posix/setuid.c: Likewise.
35390 * posix/sleep.c: Likewise.
35391 * posix/spawni.c: Likewise.
35392 * posix/sysconf.c: Likewise.
35393 * posix/times.c: Likewise.
35394 * posix/wait.c: Likewise.
35395 * posix/wait3.c: Likewise.
35396 * posix/wait4.c: Likewise.
35397 * posix/waitpid.c: Likewise.
35398 * resolv/gai_sigqueue.c: Likewise.
35399 * resource/getpriority.c: Likewise.
35400 * resource/getrlimit.c: Likewise.
35401 * resource/getrusage.c: Likewise.
35402 * resource/nice.c: Likewise.
35403 * resource/setpriority.c: Likewise.
35404 * resource/setrlimit.c: Likewise.
35405 * resource/ulimit.c: Likewise.
35406 * rt/aio_cancel.c: Likewise.
35407 * rt/aio_fsync.c: Likewise.
35408 * rt/aio_read.c: Likewise.
35409 * rt/aio_sigqueue.c: Likewise.
35410 * rt/aio_suspend.c: Likewise.
35411 * rt/aio_write.c: Likewise.
35412 * rt/clock_getres.c: Likewise.
35413 * rt/clock_gettime.c: Likewise.
35414 * rt/clock_nanosleep.c: Likewise.
35415 * rt/clock_settime.c: Likewise.
35416 * rt/lio_listio.c: Likewise.
35417 * rt/mq_close.c: Likewise.
35418 * rt/mq_getattr.c: Likewise.
35419 * rt/mq_notify.c: Likewise.
35420 * rt/mq_open.c: Likewise.
35421 * rt/mq_receive.c: Likewise.
35422 * rt/mq_send.c: Likewise.
35423 * rt/mq_setattr.c: Likewise.
35424 * rt/mq_timedreceive.c: Likewise.
35425 * rt/mq_timedsend.c: Likewise.
35426 * rt/mq_unlink.c: Likewise.
35427 * rt/shm_open.c: Likewise.
35428 * rt/shm_unlink.c: Likewise.
35429 * rt/timer_create.c: Likewise.
35430 * rt/timer_delete.c: Likewise.
35431 * rt/timer_getoverr.c: Likewise.
35432 * rt/timer_gettime.c: Likewise.
35433 * rt/timer_settime.c: Likewise.
35434 * setjmp/__longjmp.c: Likewise.
35435 * setjmp/setjmp.c: Likewise.
35436 * signal/kill.c: Likewise.
35437 * signal/killpg.c: Likewise.
35438 * signal/raise.c: Likewise.
35439 * signal/sigaction.c: Likewise.
35440 * signal/sigaltstack.c: Likewise.
35441 * signal/sigblock.c: Likewise.
35442 * signal/sigignore.c: Likewise.
35443 * signal/sigintr.c: Likewise.
35444 * signal/signal.c: Likewise.
35445 * signal/sigpause.c: Likewise.
35446 * signal/sigpending.c: Likewise.
35447 * signal/sigqueue.c: Likewise.
35448 * signal/sigreturn.c: Likewise.
35449 * signal/sigset.c: Likewise.
35450 * signal/sigsetmask.c: Likewise.
35451 * signal/sigstack.c: Likewise.
35452 * signal/sigsuspend.c: Likewise.
35453 * signal/sigtimedwait.c: Likewise.
35454 * signal/sigvec.c: Likewise.
35455 * signal/sigwait.c: Likewise.
35456 * signal/sigwaitinfo.c: Likewise.
35457 * signal/sysv_signal.c: Likewise.
35458 * socket/accept.c: Likewise.
35459 * socket/accept4.c: Likewise.
35460 * socket/bind.c: Likewise.
35461 * socket/connect.c: Likewise.
35462 * socket/getpeername.c: Likewise.
35463 * socket/getsockname.c: Likewise.
35464 * socket/getsockopt.c: Likewise.
35465 * socket/isfdtype.c: Likewise.
35466 * socket/listen.c: Likewise.
35467 * socket/recv.c: Likewise.
35468 * socket/recvfrom.c: Likewise.
35469 * socket/recvmsg.c: Likewise.
35470 * socket/send.c: Likewise.
35471 * socket/sendmsg.c: Likewise.
35472 * socket/sendto.c: Likewise.
35473 * socket/setsockopt.c: Likewise.
35474 * socket/shutdown.c: Likewise.
35475 * socket/sockatmark.c: Likewise.
35476 * socket/socket.c: Likewise.
35477 * socket/socketpair.c: Likewise.
35478 * stdio-common/ctermid.c: Likewise.
35479 * stdio-common/cuserid.c: Likewise.
35480 * stdio-common/remove.c: Likewise.
35481 * stdio-common/rename.c: Likewise.
35482 * stdio-common/renameat.c: Likewise.
35483 * stdio-common/tempname.c: Likewise.
35484 * stdlib/getcontext.c: Likewise.
35485 * stdlib/makecontext.c: Likewise.
35486 * stdlib/setcontext.c: Likewise.
35487 * stdlib/swapcontext.c: Likewise.
35488 * stdlib/system.c: Likewise.
35489 * streams/fattach.c: Likewise.
35490 * streams/fdetach.c: Likewise.
35491 * streams/getmsg.c: Likewise.
35492 * streams/getpmsg.c: Likewise.
35493 * streams/putmsg.c: Likewise.
35494 * streams/putpmsg.c: Likewise.
35495 * sysdeps/unix/bsd/getpt.c: Likewise.
35496 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35497 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35498 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35500 Likewise.
35501 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35502 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35503 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35504 * sysvipc/msgctl.c: Likewise.
35505 * sysvipc/msgget.c: Likewise.
35506 * sysvipc/msgrcv.c: Likewise.
35507 * sysvipc/msgsnd.c: Likewise.
35508 * sysvipc/semctl.c: Likewise.
35509 * sysvipc/semget.c: Likewise.
35510 * sysvipc/semop.c: Likewise.
35511 * sysvipc/semtimedop.c: Likewise.
35512 * sysvipc/shmat.c: Likewise.
35513 * sysvipc/shmctl.c: Likewise.
35514 * sysvipc/shmdt.c: Likewise.
35515 * sysvipc/shmget.c: Likewise.
35516 * termios/tcdrain.c: Likewise.
35517 * termios/tcflow.c: Likewise.
35518 * termios/tcflush.c: Likewise.
35519 * termios/tcgetattr.c: Likewise.
35520 * termios/tcgetpgrp.c: Likewise.
35521 * termios/tcsendbrk.c: Likewise.
35522 * termios/tcsetattr.c: Likewise.
35523 * termios/tcsetpgrp.c: Likewise.
35524 * time/adjtime.c: Likewise.
35525 * time/clock.c: Likewise.
35526 * time/getitimer.c: Likewise.
35527 * time/gettimeofday.c: Likewise.
35528 * time/setitimer.c: Likewise.
35529 * time/settimeofday.c: Likewise.
35530 * time/stime.c: Likewise.
35531 * time/time.c: Likewise.
35532
355332012-11-04 Pino Toscano <toscano.pino@tiscali.it>
35534
35535 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35536 /usr/old/bin.
35537
35538 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35539 instead of spaces.
35540 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35541
355422012-11-03 Joseph Myers <joseph@codesourcery.com>
35543
35544 [BZ #14796]
35545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35546 FE_TONEAREST before applying Dekker multiplication and Knuth
35547 addition. Clear inexact exceptions and check for exact zero
35548 results afterwards.
35549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35550 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35552 * math/libm-test.inc (fma_test): Add more tests.
35553 (fma_test_towardzero): Likewise.
35554 (fma_test_downward): Likewise.
35555 (fma_test_upward): Likewise.
35556 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35557 function.
35558 (libc_fesetround): New macro.
35559 (libc_fesetroundf): Likewise.
35560 (libc_fesetroundl): Likewise.
35561 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35562 function.
35563 (libc_fesetround_387): Likewise.
35564 (libc_fesetroundf): New macro.
35565 (libc_fesetround): Likewise.
35566 (libc_fesetroundl): Likewise.
35567 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35568 function.
35569 (libc_fesetroundf): New macro.
35570 (libc_fesetround): Likewise.
35571 (libc_fesetroundl): Likewise.
35572 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35573 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35574 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35575 libm_hidden_ver.
35576 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35577 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35578 libm_hidden_def.
35579 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35580 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35581 libm_hidden_ver.
35582 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35583 libm_hidden_def.
35584
35585 [BZ #3439]
35586 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35587 integer constant usable in #if and use that to give value to enum
35588 constant.
35589 (FE_DIVBYZERO): Likewise.
35590 (FE_UNDERFLOW): Likewise.
35591 (FE_OVERFLOW): Likewise.
35592 (FE_INVALID): Likewise.
35593 (FE_INVALID_SNAN): Likewise.
35594 (FE_INVALID_ISI): Likewise.
35595 (FE_INVALID_IDI): Likewise.
35596 (FE_INVALID_ZDZ): Likewise.
35597 (FE_INVALID_IMZ): Likewise.
35598 (FE_INVALID_COMPARE): Likewise.
35599 (FE_INVALID_SOFTWARE): Likewise.
35600 (FE_INVALID_SQRT): Likewise.
35601 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35602 (FE_TONEAREST): Likewise.
35603 (FE_TOWARDZERO): Likewise.
35604 (FE_UPWARD): Likewise.
35605 (FE_DOWNWARD): Likewise.
35606 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35607 (FE_DIVBYZERO): Likewise.
35608 (FE_OVERFLOW): Likewise.
35609 (FE_UNDERFLOW): Likewise.
35610 (FE_INEXACT): Likewise.
35611 (FE_TONEAREST): Likewise.
35612 (FE_DOWNWARD): Likewise.
35613 (FE_UPWARD): Likewise.
35614 (FE_TOWARDZERO): Likewise.
35615 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35616 (FE_UNDERFLOW): Likewise.
35617 (FE_OVERFLOW): Likewise.
35618 (FE_DIVBYZERO): Likewise.
35619 (FE_INVALID): Likewise.
35620 (FE_TONEAREST): Likewise.
35621 (FE_TOWARDZERO): Likewise.
35622 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35623 (FE_OVERFLOW): Likewise.
35624 (FE_UNDERFLOW): Likewise.
35625 (FE_DIVBYZERO): Likewise.
35626 (FE_INEXACT): Likewise.
35627 (FE_TONEAREST): Likewise.
35628 (FE_TOWARDZERO): Likewise.
35629 (FE_UPWARD): Likewise.
35630 (FE_DOWNWARD): Likewise.
35631 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35632 (FE_DIVBYZERO): Likewise.
35633 (FE_OVERFLOW): Likewise.
35634 (FE_UNDERFLOW): Likewise.
35635 (FE_INEXACT): Likewise.
35636 (FE_TONEAREST): Likewise.
35637 (FE_DOWNWARD): Likewise.
35638 (FE_UPWARD): Likewise.
35639 (FE_TOWARDZERO): Likewise.
35640
356412012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35642
35643 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35644
356452012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35646
35647 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35648 commands. Quote $PWD.
35649 (blacklist_exports): Don't use remove_newlines. Replace "declare
35650 -x" by "export".
35651 (remove_newlines): Remove.
35652
356532012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35654
35655 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35656 * stdlib/stdlib.h (atof): Moved to ...
35657 * include/bits/stdlib-float.h: Here. New file.
35658 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35659 * stdlib/bits/stdlib-float.h: New file.
35660 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35661 -mno-sse -mno-mmx.
35662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35663 <xmmintrin.h>.
35664
356652012-11-02 Joseph Myers <joseph@codesourcery.com>
35666
35667 * conform/conformtest.pl (@headers): Add fenv.h.
35668 * conform/data/fenv.h-data: New file.
35669 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35670 include of <math/fenv.h>.
35671
35672 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35673 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35674 && !UNIX98]. Enables tests for XOPEN2K8.
35675 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35676 POSIX2008]: Likewise.
35677
35678 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35679 (struct rusage): Do not expect type or its members.
35680
35681 [BZ #3439]
35682 * math/math.h (FP_NAN): Define macro to integer constant usable in
35683 #if and use that to give value to enum constant.
35684 (FP_INFINITE): Likewise.
35685 (FP_ZERO): Likewise.
35686 (FP_SUBNORMAL): Likewise.
35687 (FP_NORMAL): Likewise.
35688
356892012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35690
35691 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35692 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35693 arguments.
35694
356952012-11-02 Roland McGrath <roland@hack.frob.com>
35696
35697 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35698 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35699 autoconf-time if not.
35700 * configure.in: Remove AC_PREREQ.
35701
357022012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35703
35704 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35705 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35706 of the internal implementation.
35707
357082012-11-02 Joseph Myers <joseph@codesourcery.com>
35709
35710 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35711 except include of <misc/sys/syslog.h>.
35712
357132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35714
35715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35716 function returns with a NULL context exit with zero.
35717
357182012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35719
35720 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35721
357222012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35723
35724 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35725 (run_program_cmd): This.
35726 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35727 (tst_langinfo): New variable. Use it.
35728
357292012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35730
35731 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35732 floating point opcodes.
35733
357342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35735
35736 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35737 variable.
35738
35739 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35740
35741 * sysdeps/mach/hurd/powerpc: Remove directory.
35742 * sysdeps/mach/powerpc: Likewise.
35743
357442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35745
35746 * scripts/check-local-headers.sh: Ignore c++ headers.
35747
357482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35749
35750 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35751 __libc_cleanup_region_start argument.
35752
357532012-11-01 Joseph Myers <joseph@codesourcery.com>
35754
35755 [BZ #14784]
35756 [BZ #14785]
35757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35758 x * y using scaling, not as x * y + z.
35759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35761 * math/libm-test.inc (fma_test): Add more tests.
35762 (fma_test_towardzero): Likewise.
35763 (fma_test_downward): Likewise.
35764 (fma_test_upward): Likewise.
35765
357662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35767
35768 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35769
357702012-10-31 Joseph Myers <joseph@codesourcery.com>
35771
35772 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35773 New variable.
35774
357752012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35776
35777 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35778
357792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35780
35781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35782 Fix sort order.
35783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35784 Likewise.
35785
357862012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35787
35788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35789 Fix the order of the list for glibc 2.17.
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35791 Likewise.
35792
357932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35794
35795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35796
357972012-10-31 Joseph Myers <joseph@codesourcery.com>
35798
35799 [BZ #14610]
35800 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35801 for low part of x being zero before using __atanl (y).
35802 * math/libm-test.inc (atan2_test): Add another test.
35803
35804 * manual/install.texi (Configuring and compiling): Document
35805 general use of test-wrapper and test-wrapper-env.
35806 * INSTALL: Regenerated.
35807
35808 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35809 (__fma): Do not extract and scale down low bits on after-rounding
35810 systems when result rounded to normal precision would have normal
35811 exponent.
35812 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35813 (__fmal): Do not extract and scale down low bits on after-rounding
35814 systems when result rounded to normal precision would have normal
35815 exponent.
35816 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35817 (__fmal): Do not extract and scale down low bits on after-rounding
35818 systems when result rounded to normal precision would have normal
35819 exponent.
35820 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35821 macro.
35822 (fma_test): Add more tests.
35823 (fma_test_towardzero): Likewise.
35824 (fma_test_downward): Likewise.
35825 (fma_test_upward): Likewise.
35826
358272012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35828
35829 * sysdeps/i386/tininess.h: Renamed to ...
35830 * sysdeps/x86/tininess.h: This.
35831 * sysdeps/x86_64/tininess.h: Removed.
35832
358332012-10-30 Joseph Myers <joseph@codesourcery.com>
35834
35835 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35836 input. Use $(build-program-cmd).
35837 ($(objpfx)tst-array1-static.out): Likewise.
35838 ($(objpfx)tst-array2.out): Likewise.
35839 ($(objpfx)tst-array3.out): Likewise.
35840 ($(objpfx)tst-array4.out): Likewise.
35841 ($(objpfx)tst-array5.out): Likewise.
35842 ($(objpfx)tst-array5-static.out): Likewise.
35843
358442012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35845
35846 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35847 if defined.
35848
35849 * nss/nsswitch.h (nss_interface_function): Provide new
35850 macro for use with NSS functions.
35851 * grp/initgroups.c: Use new macro.
35852 * nss/getXXbyYY.c: Likewise.
35853 * nss/getXXbyYY_r.c: Likewise.
35854 * nss/getXXent.c: Likewise.
35855 * nss/getXXent_r.c: Likewise.
35856 * sysdeps/posix/getaddrinfo.c: Likewise.
35857
358582012-10-30 Andreas Jaeger <aj@suse.de>
35859
35860 * po/ru.po: Update Russion translation from translation project.
35861
358622012-10-30 Joseph Myers <joseph@codesourcery.com>
35863
35864 [BZ #14152]
35865 [BZ #14783]
35866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35867 result and shift together with sticky bit instead of replicating
35868 round-to-nearest rounding.
35869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35871 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35872 missing underflow exceptions.
35873 (fma_test_towardzero): Add more tests.
35874 (fma_test_downward): Likewise.
35875 (fma_test_upward): Likewise.
35876
35877 [BZ #14047]
35878 * sysdeps/generic/tininess.h: New file.
35879 * sysdeps/i386/tininess.h: Likewise.
35880 * sysdeps/sh/tininess.h: Likewise.
35881 * sysdeps/x86_64/tininess.h: Likewise.
35882 * stdlib/tst-strtod-underflow.c: Likewise.
35883 * stdlib/tst-tininess.c: Likewise.
35884 * stdlib/strtod_l.c: Include <tininess.h>.
35885 (round_and_return): Do not set errno for exact underflow cases.
35886 Force an underflow exception when setting errno for underflow.
35887 Determine underflow based on rounding to normal precision if
35888 TININESS_AFTER_ROUNDING.
35889 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35890 ERANGE for exact underflow cases.
35891 * stdlib/Makefile (tests): Add tst-tininess and
35892 tst-strtod-underflow.
35893 ($(objpfx)tst-tininess): Use $(link-libm).
35894 ($(objpfx)tst-strtod-underflow): Likewise.
35895
358962012-10-30 Andreas Jaeger <aj@suse.de>
35897
35898 [BZ#14767]
35899 * elf/Makefile (tests): Remove conditional for have-initfini-array
35900 since this is now always required and the variable does not exist
35901 anymore.
35902 (tests-static): Likewise.
35903 (modules-names): Likewise.
35904
35905 * po/eo.po: Add Esperanto translation from translation project.
35906
35907 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35908 merged with constructor/destructor.
35909 (init_array): Likewise.
35910 * elf/tst-array2dep.c (fini_array): Likewise.
35911 (init_array): Likewise.
35912
359132012-10-29 Mike Frysinger <vapier@gentoo.org>
35914
35915 * manual/message.texi: Delete @cartouche tags.
35916
359172012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35918
35919 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35920 EOPNOTSUPP.
35921 * sysdeps/mach/hurd/fsync.c: Likewise.
35922
35923 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35924 [_POSIX_REALTIME_SIGNALS]: Change condition to
35925 [_POSIX_REALTIME_SIGNALS > 0].
35926
359272012-10-27 Andreas Jaeger <aj@suse.de>
35928
35929 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35930 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35932 [__WORDSIZE != 64]: Likewise.
35933
359342012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 * iconvdata/tst-table.sh: Remove ${SHELL}.
35937 * iconvdata/tst-tables.sh: Likewise.
35938
359392012-10-25 David S. Miller <davem@davemloft.net>
35940
35941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35942 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35943 of strtoull.
35944
35945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35946 ifunc-impl-list.c
35947 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35948 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35949 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35950 file.
35951
359522012-10-25 Roland McGrath <roland@hack.frob.com>
35953
35954 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35955 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35956 __getdirentries.
35957
359582012-10-25 Joseph Myers <joseph@codesourcery.com>
35959 Jim Blandy <jimb@codesourcery.com>
35960
35961 * scripts/cross-test-ssh.sh: New file.
35962 * manual/install.texi (Configuring and compiling): Document use of
35963 cross-test-ssh.sh.
35964 * INSTALL: Regenerated.
35965
359662012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35967
35968 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35969 EOPNOTSUPP.
35970
359712012-10-25 Joseph Myers <joseph@codesourcery.com>
35972
35973 * Makeconfig (run-program-prefix): Fix comment.
35974
359752012-10-24 Joseph Myers <joseph@codesourcery.com>
35976 Jim Blandy <jimb@codesourcery.com>
35977
35978 * Makeconfig (test-wrapper): New variable,
35979 (test-wrapper-env): Likewise.
35980 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35981 (run-built-tests): Define to yes.
35982 (run-program-prefix): Use $(test-wrapper).
35983 (built-program-cmd): Likewise.
35984 * Rules (make-test-out): Use $(test-wrapper-env) and
35985 $(host-built-program-cmd).
35986 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35987 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35988 tst-pathopt.sh.
35989 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35990 $(test-wrapper-env) to tst-rtld-load-self.sh.
35991 ($(objpfx)order2.out): Use $(test-wrapper).
35992 ($(objpfx)tst-initorder.out): Likewise.
35993 ($(objpfx)tst-initorder2.out): Likewise.
35994 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35995 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35996 (test_wrapper_env): New variable. Use it to run ld.so.
35997 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35998 Use it to run ld.so.
35999 (test_wrapper_env): Likewise.
36000 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36001 $(test-wrapper) to run-iconv-test.sh.
36002 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36003 (ICONV): Use $test_wrapper.
36004 * posix/Makefile ($(objpfx)globtest.out): Pass
36005 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36006 globtest.sh, not $(run-program-prefix).
36007 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36008 (test_wrapper): Likewise.
36009 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36010 set together with run_via_rtld_prefix.
36011 (run_program_prefix): Define in terms of test_wrapper and
36012 run_via_rtld_prefix.
36013
360142012-10-24 Roland McGrath <roland@hack.frob.com>
36015
36016 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36017 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36018 Targets removed.
36019
36020 [BZ #14743]
36021 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36022 Declare __clock_getres, __clock_gettime, __clock_settime,
36023 __clock_nanosleep, and __clock_getcpuclockid.
36024 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36025 Remove librt_hidden_def (clock_gettime).
36026 * sysdeps/unix/clock_gettime.c: Likewise.
36027 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36029 * rt/clock_getres.c: Define __clock_getres as an alias.
36030 * sysdeps/posix/clock_getres.c: Likewise.
36031 * rt/clock_settime.c: Define __clock_settime as an alias.
36032 * sysdeps/unix/clock_settime.c: Likewise.
36033 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36034 * sysdeps/unix/clock_nanosleep.c: Likewise.
36035 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36036 * rt/clock-compat.c: New file.
36037 * rt/Makefile (librt-routines): Add clock-compat and move
36038 $(clock-routines) to ...
36039 (routines): ... here, new variable.
36040 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36041 Don't add get_clockfreq here.
36042 * rt/Versions (libc: GLIBC_2.17): New version set.
36043 Add clock_* symbols here.
36044 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36046 (GLIBC_2.17): Add clock_* symbols.
36047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36051 Likewise.
36052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36053 Likewise.
36054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36058 * NEWS: Mention the move.
36059
36060 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36061 Use __open, __read, __close rather than their public counterparts.
36062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36063 (__get_clockfreq_via_cpuinfo): Likewise.
36064 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36065 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36066
36067 * config.h.in (HAVE_IFUNC): New #undef.
36068 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36069 was successful.
36070 * configure: Regenerated.
36071
360722012-10-24 Mike Frysinger <vapier@gentoo.org>
36073
36074 * configure.in: Move READELF check to start of file.
36075 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36076 libc_cv_asm_gnu_indirect_function in the process.
36077 * configure: Regenerated.
36078
360792012-10-24 Mike Frysinger <vapier@gentoo.org>
36080
36081 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36082 send the output to /dev/null.
36083 (libc_cv_cc_with_libunwind): Likewise.
36084 (libc_cv_as_noexecstack): Likewise.
36085 * configure: Regenerate.
36086
360872012-10-24 Joseph Myers <joseph@codesourcery.com>
36088
36089 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36090
36091 * posix/globtest.sh (TMPDIR): Do not set.
36092 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36093 (testout): Likewise.
36094
360952012-10-24 Andreas Jaeger <aj@suse.de>
36096
36097 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36098 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36099 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36100 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36101 posix_fadvise64, posix_fallocate64.
36102
36103 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36104 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36105 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36106 Likewise.
36107 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36108 Likewise.
36109 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36110
36111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36112 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36113 <bits/fcntl-linux.h>.
36114 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36115
36116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36117 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36118 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36119 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36120 [__WORDSIZE != 64]: Likewise.
36121
361222012-10-23 Joseph Myers <joseph@codesourcery.com>
36123
36124 * Makeconfig (run-built-tests): New variable.
36125 * Rules [$(cross-compiling) = yes]: Change condition to
36126 [$(run-built-tests) = no].
36127 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36128 to [$(run-built-tests) = yes].
36129 * elf/Makefile [$(cross-compiling) = no]: Likewise
36130 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36131 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36132 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36133 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36134 * io/Makefile [$(cross-compiling) = no]: Likewise.
36135 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36136 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36137 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36138 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36139 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36140 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36141 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36142 * string/Makefile [$(cross-compiling) = no]: Likewise.
36143
36144 * posix/Makefile ($(objpfx)globtest.out): Pass
36145 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36146 $(rtld-installed-name).
36147 * posix/globtest.sh (elf_objpfx): Remove variable.
36148 (rtld_installed_name): Likewise.
36149 (library_path): Likewise.
36150 (run_program_prefix): New variable. Use for running globtest
36151 binary.
36152
361532012-10-23 Jim Blandy <jimb@codesourcery.com>
36154 Joseph Myers <joseph@codesourcery.com>
36155
36156 * Makeconfig (host-built-program-cmd): New variable.
36157 * elf/Makefile (tst-stackguard1-ARGS): Use
36158 $(host-built-program-cmd).
36159 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36160 (tst-spawn-ARGS): Likewise.
36161 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36162
361632012-10-23 Joseph Myers <joseph@codesourcery.com>
36164 Jim Blandy <jimb@codesourcery.com>
36165
36166 * Makeconfig (run-via-rtld-prefix): New variable.
36167 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36168 (built-program-cmd): Likewise.
36169
361702012-10-22 Andreas Jaeger <aj@suse.de>
36171
36172 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36173 __O_RSYNC if it exists, otherwise to O_SYNC.
36174
361752012-10-22 Jim Blandy <jimb@codesourcery.com>
36176 Joseph Myers <joseph@codesourcery.com>
36177
36178 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36179 /dev/null.
36180 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36181 from /dev/null
36182 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36183 /dev/null.
36184
361852012-10-22 Andreas Jaeger <aj@suse.de>
36186
36187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36188 Define always.
36189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36190
36191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36192 bits/fcntl-linux.h.
36193
36194 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36195 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36196
36197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36198 to __O_LARGEFILE.
36199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36200 to __O_LARGEFILE.
36201
362022012-10-21 Jim Blandy <jimb@codesourcery.com>
36203 Joseph Myers <joseph@codesourcery.com>
36204
36205 * config.make.in (NM): New variable.
36206
362072012-10-21 Andreas Jaeger <aj@suse.de>
36208
36209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36210 definitions and declarations that are provided by
36211 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36212
362132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36214
36215 [BZ #14683]
36216 * elf/Makefile (tests-static): Add tst-leaks1-static.
36217 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36218 ($(objpfx)tst-leaks1-static): New rule.
36219 ($(objpfx)tst-leaks1-static-mem): Likewise.
36220 (tst-leaks1-static-ENV): New macro.
36221 * elf/dl-open.c (dl_open_worker): Check the main application
36222 only if SHARED is defined.
36223 * elf/tst-leaks1-static.c: New file.
36224
362252012-10-20 Andreas Jaeger <aj@suse.de>
36226
36227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36228 generic values for Linux.
36229 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36230 and declarations that are provided by <bits/fcntl-linux.h> and
36231 include <bits/fcntl-linux.h>.
36232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36234
362352012-10-20 Roland McGrath <roland@hack.frob.com>
36236
36237 * io/fcntl.h: Move include of <bits/types.h> to the top and
36238 include it unconditionally.
36239
362402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36241
36242 * wcsmbs/Makefile (tests-ifunc): New variable.
36243 (tests): Add $(tests-ifunc).
36244 * wcsmbs/test-wcschr-ifunc.c: New file.
36245 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36246 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36247 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36248 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36249 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36250
36251 * string/Makefile (tests-ifunc): New variable.
36252 (tests): Add $(tests-ifunc).
36253 * string/test-memccpy.c (TEST_NAME): New macro.
36254 * string/test-memchr.c (TEST_NAME): Likewise.
36255 * string/test-memcmp.c (TEST_NAME): Likewise.
36256 * string/test-memcpy.c (TEST_NAME): Likewise.
36257 * string/test-memmem.c (TEST_NAME): Likewise.
36258 * string/test-memmove.c (TEST_NAME): Likewise.
36259 * string/test-memset.c (TEST_NAME): Likewise.
36260 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36261 * string/test-stpcpy.c (TEST_NAME): Likewise.
36262 * string/test-stpncpy.c (TEST_NAME): Likewise.
36263 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36264 * string/test-strcasestr.c (TEST_NAME): Likewise.
36265 * string/test-strcat.c (TEST_NAME): Likewise.
36266 * string/test-strchr.c (TEST_NAME): Likewise.
36267 * string/test-strcmp.c(TEST_NAME): Likewise.
36268 * string/test-strcpy.c (TEST_NAME): Likewise.
36269 * string/test-strcspn.c (TEST_NAME): Likewise.
36270 * string/test-strlen.c (TEST_NAME): Likewise.
36271 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36272 * string/test-strncmp.c (TEST_NAME): Likewise.
36273 * string/test-strncpy.c (TEST_NAME): Likewise.
36274 * string/test-strnlen.c (TEST_NAME): Likewise.
36275 * string/test-strpbrk.c (TEST_NAME): Likewise.
36276 * string/test-strrchr.c (TEST_NAME): Likewise.
36277 * string/test-strspn.c (TEST_NAME): Likewise.
36278 * string/test-strstr.c (TEST_NAME): Likewise.
36279 * string/test-bcopy-ifunc.c: New file.
36280 * string/test-bzero-ifunc.c: Likewise.
36281 * string/test-memccpy-ifunc.c: Likewise.
36282 * string/test-memchr-ifunc.c: Likewise.
36283 * string/test-memcmp-ifunc.c: Likewise.
36284 * string/test-memcpy-ifunc.c: Likewise.
36285 * string/test-memmem-ifunc.c: Likewise.
36286 * string/test-memmove-ifunc.c: Likewise.
36287 * string/test-mempcpy-ifunc.c: Likewise.
36288 * string/test-memset-ifunc.c: Likewise.
36289 * string/test-rawmemchr-ifunc.c: Likewise.
36290 * string/test-stpcpy-ifunc.c: Likewise.
36291 * string/test-stpncpy-ifunc.c: Likewise.
36292 * string/test-strcasecmp-ifunc.c: Likewise.
36293 * string/test-strcasestr-ifunc.c: Likewise.
36294 * string/test-strcat-ifunc.c: Likewise.
36295 * string/test-strchr-ifunc.c: Likewise.
36296 * string/test-strchrnul-ifunc.c: Likewise.
36297 * string/test-strcmp-ifunc.c: Likewise.
36298 * string/test-strcpy-ifunc.c: Likewise.
36299 * string/test-strcspn-ifunc.c: Likewise.
36300 * string/test-strlen-ifunc.c: Likewise.
36301 * string/test-strncasecmp-ifunc.c: Likewise.
36302 * string/test-strncat-ifunc.c: Likewise.
36303 * string/test-strncmp-ifunc.c: Likewise.
36304 * string/test-strncpy-ifunc.c: Likewise.
36305 * string/test-strnlen-ifunc.c: Likewise.
36306 * string/test-strpbrk-ifunc.c: Likewise.
36307 * string/test-strrchr-ifunc.c: Likewise.
36308 * string/test-strspn-ifunc.c: Likewise.
36309 * string/test-strstr-ifunc.c: Likewise.
36310
36311 * debug/Makefile (tests-ifunc): New variable.
36312 (tests): Add $(tests-ifunc).
36313 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36314 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36315 * debug/test-stpcpy_chk-ifunc.c: New file.
36316 * debug/test-strcpy_chk-ifunc.c: Likewise.
36317
363182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36319
36320 [BZ #13601]
36321 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36322 header is not read in.
36323
363242012-10-19 Joseph Myers <joseph@codesourcery.com>
36325
36326 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36327 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36328 directly. Pass built executable to script as
36329 $(built-program-cmd).
36330 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36331 $testprogram without using LD_LIBRARY_PATH and $ldso.
36332
36333 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36334 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36335 $(rtld-installed-name).
36336 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36337 (rtld_installed_name): Likewise.
36338 (library_path): Likewise.
36339 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36340 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36341 $(run-program-prefix) to tst-tables.sh.
36342 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36343 it to run tst-table-from and tst-table-to.
36344 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36345 Pass it to tst-table.sh.
36346 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36347 $(run-program-prefix) to tst-gettext.sh.
36348 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36349 tst-translit.sh.
36350 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36351 tst-gettext2.sh.
36352 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36353 to run tst-gettext.
36354 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36355 to run tst-gettext2.
36356 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36357 to run tst-translit.
36358 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36359 $(run-program-prefix) to tst-mtrace.sh.
36360 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36361 to run tst-mtrace.
36362 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36363 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36364 $(rtld-installed-name).
36365 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36366 (rtld_installed_name): Likewise.
36367 (run_program_prefix): New variable. Use it to run wordexp-test.
36368
36369 * Makeconfig (ARCH): Remove all definitions.
36370 (machine): Likewise.
36371 [ARCH]: Remove conditional code.
36372 [!objdir]: Give error.
36373 [!objdir] (objpfx): Remove.
36374 [!objdir] (common-objpfx): Likewise.
36375 [!objdir] (common-objdir): Likewise.
36376 * configure.in (config_makefile): Remove. Hardcode Makefile in
36377 AC_CONFIG_FILES call.
36378 * configure: Regenerated.
36379
36380 [BZ #13888]
36381 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36382 or TMPDIR.
36383 (testout): Likewise.
36384
36385 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36386 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36387 $(rtld-installed-name).
36388 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36389 (rtld_installed_name): Likwise.
36390 (runit): Remove function.
36391 (run_getconf): New variable, Use it for running getconf binary.
36392
363932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36394
36395 [BZ #14716]
36396 * string/test-memmem.c (check_result): New function.
36397 (do_one_test): Use it.
36398 (check1): New function.
36399 (test_main): Use it.
36400
364012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36402
36403 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36404
364052012-10-18 Joseph Myers <joseph@codesourcery.com>
36406
36407 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36408 (_G_LSEEK64): Likewise.
36409 (_G_MMAP64): Likewise.
36410 (_G_FSTAT64): Likewise.
36411 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36412 (_G_LSEEK64): Likewise.
36413 (_G_MMAP64): Likewise.
36414 (_G_FSTAT64): Likewise.
36415 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36416 unconditional. Call __mmap64 directly.
36417 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36418 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36419 __lseek64 directly.
36420 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36421 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36422 __mmap64 directly.
36423 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36424 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36425 __lseek64 directly.
36426 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36427 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36428 __lseek64 directly.
36429 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36430 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36431 __lseek64 directly.
36432 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36433 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36434 __fxstat64 directly.
36435 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36436 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36437 unconditional.
36438 (freopen64) [!_G_OPEN64]: Remove conditional code.
36439 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36440 unconditional.
36441 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36442 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36443 unconditional.
36444 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36445 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36446 unconditional.
36447 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36448 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36449 unconditional.
36450 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36451 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36452 unconditional.
36453 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36454 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36455 unconditional.
36456 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36457 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36458 unconditional.
36459 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36460
364612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36462
36463 [BZ #12140]
36464 * manual/memory.texi (Malloc Tunable Parameters): Add note
36465 about free list pointers overwriting some perturb bytes.
36466 Wording suggested by Roland McGrath.
36467
364682012-10-17 Joseph Myers <joseph@codesourcery.com>
36469
36470 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36471 (lgamma_test): Likewise.
36472 (tgamma_test): Likewise.
36473
364742012-10-16 Florian Weimer <fweimer@redhat.com>
36475
36476 [BZ #14700]
36477 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36478 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36479
364802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36481
36482 * NEWS: Mention BZ #14716.
36483 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36484 when removing AVAILABLE1_USES_J macro.
36485
364862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36487
36488 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36489 (__bswap_64): __uint64_t for unsigned 64-bit int.
36490
364912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36492
36493 * include/string.h (memmem): Declare libc hidden alias.
36494 * string/memmem.c (memmem): Define libc hidden alias.
36495 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36496 __read, __close instead of open, read, close.
36497
364982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36499
36500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36501 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36502 global and hidden.
36503 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36504 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36505 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36506 Likewise.
36507 (__rawmemchr_sse2): Likewise.
36508 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36509 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36510 (__strchr_sse2): Likewise.
36511 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36512 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36513 (__strcasecmp_sse2): Likewise.
36514 (__strncasecmp_sse2): Likewise.
36515 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36516 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36517 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36518 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36519 (__strrchr_sse2): Likewise.
36520 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36521 ifunc-impl-list.c.
36522 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36523 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36524 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36525 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36526 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36527 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36528 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36529 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36530 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36531 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36532 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36533 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36534 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36535 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36536 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36537 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36538 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36539 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36540 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36541 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36542 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36543 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36544 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36545 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36546 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36548 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36549 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36550 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36551 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36552
36553 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36554 global and hidden.
36555 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36556 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36557 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36558 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36559 Likewise.
36560 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36561 Likewise.
36562 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36563 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36564 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36565 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36566 ifunc-impl-list.c.
36567 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36568 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36569 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36570 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36571 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36572 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36573 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36574 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36575 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36576 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36577 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36578 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36579 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36580 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36581 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36583 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36584 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36585 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36586 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36587 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36588 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36589 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36590 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36592 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36593 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36594 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36595 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36596 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36597 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36598 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36599 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36600 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36601 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36602 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36603 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36604 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36605 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36606 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36607 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36608
36609 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36610 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36611 * include/ifunc-impl-list.h: New file.
36612 * misc/ifunc-impl-list.c: Likewise.
36613 * misc/Makefile (routines): Add ifunc-impl-list.
36614 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36615 * string/test-string.h: Include <ifunc-impl-list.h>.
36616 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36617 TEST_NAME]: New variables.
36618 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36619 are defined.
36620 (test_init): Call __libc_ifunc_impl_list to initialize
36621 func_list if TEST_IFUNC and TEST_NAME are defined.
36622
36623 * string/Makefile (strop-tests): Add bcopy and bzero.
36624 * string/test-bcopy.c: New file.
36625 * string/test-bzero.c: Likewise.
36626 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36627 defined.
36628 * string/test-memset.c: Support bzero test if TEST_BZERO is
36629 defined.
36630 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36631 __libc_memmove.
36632 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36633 __libc_memset.
36634 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36635 of memset.
36636
366372012-10-10 Joseph Myers <joseph@codesourcery.com>
36638
36639 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36640 * configure: Regenerated.
36641
36642 * Makeconfig (+link-static-before-libc): Don't include
36643 $(link-static-libc).
36644
36645 * libio/libio.h (_IO_pos_t): Remove.
36646
366472012-10-10 Alexandre Oliva <aoliva@redhat.com>
36648
36649 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36650 McGrath.
36651
366522012-10-10 Alexandre Oliva <aoliva@redhat.com>
36653
36654 * crypt/crypt-entry.c: Include fips-private.h.
36655 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36656 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36657 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36658 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36659
366602012-10-10 Alexandre Oliva <aoliva@redhat.com>
36661
36662 * crypt/crypt-private.h: Include stdbool.h.
36663 (_ufc_setup_salt_r): Return bool.
36664 * crypt/crypt-entry.c: Include errno.h.
36665 (__crypt_r): Return NULL with EINVAL for bad salt.
36666 * crypt/crypt_util.c (bad_for_salt): New.
36667 (_ufc_setup_salt_r): Check that salt is long enough and within
36668 the specified alphabet.
36669 * crypt/badsalttest.c: New file.
36670 * crypt/Makefile (tests): Add it.
36671 ($(objpfx)badsalttest): New.
36672
366732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36674
36675 * NEWS: Add entry for BZ #14602.
36676
366772012-10-09 Joseph Myers <joseph@codesourcery.com>
36678
36679 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36680 type-generic.
36681 * math/libm-test.inc: Update comment listing what functions and
36682 macros are tested.
36683 (isgreater_test): New function.
36684 (isgreaterequal_test): Likewise.
36685 (isless_test): Likewise.
36686 (islessequal_test): Likewise.
36687 (islessgreater_test): Likewise.
36688 (isunordered_test): Likewise.
36689 (main): Call the new functions.
36690
366912012-10-09 Roland McGrath <roland@hack.frob.com>
36692
36693 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36694 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36695 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36696 * sysdeps/i386/configure: Regenerated.
36697 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36698 * sysdeps/mach/configure: Regenerated.
36699 * sysdeps/mach/hurd/configure: Regenerated.
36700 * sysdeps/powerpc/configure: Regenerated.
36701 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36702 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36703 * sysdeps/s390/s390-32/configure: Regenerated.
36704 * sysdeps/s390/s390-64/configure: Regenerated.
36705 * sysdeps/sh/configure: Regenerated.
36706 * sysdeps/sparc/configure: Regenerated.
36707 * sysdeps/unix/sysv/linux/configure: Regenerated.
36708 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36709 * sysdeps/x86_64/configure: Regenerated.
36710
36711 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36712 defined. Don't check if MAP is NULL.
36713
367142012-10-09 Joseph Myers <joseph@codesourcery.com>
36715
36716 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36717 (_G_stat64): Likewise.
36718 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36719 (_G_stat64): Likewise.
36720 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36721 instead of struct _G_stat64.
36722 * libio/fileops.c (mmap_remap_check): Likewise.
36723 (decide_maybe_mmap): Likewise.
36724 (_IO_new_file_seekoff): Likewise.
36725 (_IO_file_stat): Likewise.
36726 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36727 _G_off64_t.
36728 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36729 instead of struct _G_stat64.
36730 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36731
367322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36733
36734 [BZ #14602]
36735 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36736 Replace with ...
36737 (CHECK_EOL): New macro.
36738 (two_way_short_needle): Check beginning of haystack for EOL. Use
36739 CHECK_EOL.
36740 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36741 Replace with CHECK_EOL.
36742 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36743 Replace with CHECK_EOL.
36744
367452012-10-08 Joseph Myers <joseph@codesourcery.com>
36746
36747 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36748 type-generic.
36749 * math/libm-test.inc: Update comment listing what functions and
36750 macros are tested.
36751 (finite_test): New function.
36752 (isinf_test): Likewise.
36753 (isnan_test): Likewise.
36754 (fpclassify_test): Test subnormal input.
36755 (isfinite_test): Likewise.
36756 (isnormal_test): Likewise.
36757 (main): Call the new functions.
36758
367592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36760
36761 [BZ #14660]
36762 * Makerules (%.dynsym): Force C locale when running
36763 $(OBJDUMP) --dynamic-syms.
36764
367652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36766
36767 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36768 <stdint.h>.
36769
367702012-10-06 David S. Miller <davem@davemloft.net>
36771
36772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36773 upper 32-bits of the length value in %o2 since we use branch-on-register
36774 tests which consider the entire 64-bit register.
36775
367762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36777
36778 * string/test-strstr.c (check2): Add a test for page boundary.
36779
367802012-10-05 David S. Miller <davem@davemloft.net>
36781
36782 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36783 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36784 file.
36785 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36786 sysdep_routines.
36787 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36788 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36789 and bzero when HWCAP_SPARC_CRYPTO is present.
36790
367912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36792
36793 [BZ #14602]
36794 * string/test-strstr.c (check2): New function.
36795 (test_main): Call check2.
36796
36797 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36798 and bug-strchr1.
36799 * string/bug-strcasestr1.c (do_test): Moved to ...
36800 * string/test-strcasestr.c (check1): Here. New function.
36801 (do_one_test): Break out result checking code into ...
36802 (check_result): This. New function.
36803 (do_one_test): Call check_result.
36804 (test_main): Call check1.
36805 * string/bug-strchr1.c (do_test): Moved to ...
36806 * string/test-strchr.c (check1): Here. New function.
36807 (do_one_test): Break out result checking code into ...
36808 (check_result): This. New function.
36809 (do_one_test): Call check_result.
36810 (test_main): Call check1.
36811 * string/bug-strstr1.c (main): Moved to ...
36812 * string/test-strstr.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-strcasestr1.c: Removed.
36818 * string/bug-strchr1.c: Likewise.
36819 * string/bug-strstr1.c: Likewise.
36820
36821 * elf/Makefile (dl-routines): Add hwcaps.
36822 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36823 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36824 (_dl_important_hwcaps): Moved to ...
36825 * elf/dl-hwcaps.c: Here. New file.
36826 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36827
36828 [BZ #14557]
36829 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36830 if IS_IN_rtld isn't defined.
36831
36832 * elf/dl-support.c (_dl_sysinfo_map): New.
36833 Include "get-dynamic-info.h" and "setup-vdso.h".
36834 (_dl_non_dynamic_init): Call setup_vdso.
36835 * elf/dynamic-link.h: Don't include <assert.h>.
36836 (elf_get_dynamic_info): Moved to ...
36837 * elf/get-dynamic-info.h: Here. New file.
36838 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36839 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36840 * elf/setup-vdso.h: Here. New file.
36841 * elf/rtld.c: Include "setup-vdso.h".
36842 (dl_main): Call setup_vdso.
36843
368442012-10-05 Joseph Myers <joseph@codesourcery.com>
36845
36846 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36847 creal in comment listing functions tested. List finite, isinf,
36848 isnan, isless, islessequal, isgreater, isgreaterequal,
36849 islessgreater, isunordered, lgamma_r and pow10 as functions and
36850 macros not tested. Mention which functions not tested are aliases
36851 for other functions. Fix typo. Note that signs of NaNs are not
36852 tested.
36853
36854 * scripts/config.guess: Update from config.git.
36855 * scripts/config.sub: Likewise.
36856
368572012-10-04 Roland McGrath <roland@hack.frob.com>
36858
36859 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36860 * misc/madvise.c (madvise): Renamed to __madvise.
36861 Make madvise a weak alias.
36862 * include/sys/mman.h: Declare __madvise.
36863 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36864 * sysdeps/unix/syscalls.list
36865 (madvise): Make __madvise the strong name, and madvise a weak alias.
36866 * sysdeps/unix/sysv/linux/syscalls.list
36867 (madvise, mmap): Remove redundant entries.
36868 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36869 * malloc/malloc.c (mtrim): Likewise.
36870 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36871
368722012-10-03 Roland McGrath <roland@hack.frob.com>
36873
36874 * sysdeps/mach/hurd/dl-cache.c: File removed.
36875 * config.h.in (USE_LDCONFIG): New #undef.
36876 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36877 * configure: Regenerated.
36878 * elf/Makefile (dl-routines): Add dl-cache only under
36879 [$(use-ldconfig) = yes].
36880 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36881 cache on [USE_LDCONFIG].
36882 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36883 [USE_LDCONFIG].
36884 * elf/rtld.c (dl_main): Likewise.
36885
368862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36887
36888 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36889 _SC_LEVEL4_CACHE_LINESIZE.
36890
368912012-10-03 Roland McGrath <roland@hack.frob.com>
36892
36893 * sysdeps/unix/bsd/confstr.h: File removed.
36894
368952012-10-02 Alexandre Oliva <aoliva@redhat.com>
36896
36897 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36898 sys/sdt-config.h.
36899
369002012-10-02 Roland McGrath <roland@hack.frob.com>
36901
36902 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36903 Make 'mapoff' field ElfW(Off) rather than off_t.
36904
369052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36906
36907 * nscd/Makefile: Remove nscd-cflags and all its users.
36908 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36909 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36910
36911 [BZ #10631]
36912 * malloc.c (malloc_printerr): Clarify error message.
36913
369142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36915
36916 [BZ #14648]
36917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36918 Set bit_FMA_Usable if FMA is supported.
36919 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36920 macro.
36921 (bit_FMA4_Usable): Updated.
36922 (index_FMA_Usable): New macro.
36923 (CPUID_FMA): Likewise
36924 (HAS_FMA): Defined with bit_FMA_Usable.
36925
369262012-10-01 Roland McGrath <roland@hack.frob.com>
36927
36928 * bits/types.h (__swblk_t): Type removed.
36929 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36930 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36932 (__SWBLK_T_TYPE): Likewise.
36933 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36934 (__SWBLK_T_TYPE): Likewise.
36935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36936 (__SWBLK_T_TYPE): Likewise.
36937 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36938 (__SWBLK_T_TYPE): Likewise.
36939
369402012-10-01 Patsy Franklin <pfrankli@redhat.com>
36941 Honza Horak <hhorak@redhat.com>
36942
36943 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36944 (xdr_mapname): Use YPMAXMAP as maxsize.
36945 (xdr_peername): Use YPMAXPEER as maxsize.
36946 (xdr_keydat): Use YPAXRECORD as maxsize.
36947 (xdr_valdat): Use YPMAXRECORD as maxsize.
36948
369492012-10-01 Roland McGrath <roland@hack.frob.com>
36950
36951 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36952
36953 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36954 * csu/init-first.c: ... here.
36955 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36956 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36957 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36958 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36959 * sysdeps/i386/init-first.c: File removed.
36960 * sysdeps/sh/init-first.c: File removed.
36961
369622012-10-01 Joseph Myers <joseph@codesourcery.com>
36963
36964 [BZ #14645]
36965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36966 if x * y might underflow to zero and z is zero.
36967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36968 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36969 * math/libm-test.inc (min_subnorm_value): New variable.
36970 (fma_test): Add more tests.
36971 (fma_test_towardzero): Likewise.
36972 (fma_test_downward): Likewise
36973 (fma_test_upward): Likewise.
36974 (initialize): Set min_subnorm_value.
36975
369762012-09-29 Joseph Myers <joseph@codesourcery.com>
36977
36978 [BZ #14638]
36979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36980 0 + 0.
36981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36982 mode for addition resulting in exact zero.
36983 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36985 exact 0 + 0.
36986 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36988 * math/libm-test.inc (fma_test): Add more tests.
36989 (fma_test_towardzero): New function.
36990 (fma_test_downward): Likewise.
36991 (fma_test_upward): Likewise.
36992 (main): Call the new functions.
36993
369942012-09-28 David S. Miller <davem@davemloft.net>
36995
36996 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36997
369982012-09-28 Roland McGrath <roland@hack.frob.com>
36999
37000 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37001 instead of SIGALRM.
37002
37003 * sysdeps/gnu/_G_config.h: Moved to ...
37004 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37005 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37006 * sysdeps/generic/_G_config.h: ... here.
37007
37008 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37009
37010 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37011
37012 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37013 Conditionalize target on [libnss_test1.so-version].
37014
37015 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37016
37017 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37018 (elfobjdir): Move out of conditionals.
37019
37020 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37021 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37022 (__nss_lookup_function): Conditionalize label remove_from_tree on
37023 [!DO_STATIC_NSS || SHARED], matching its only use.
37024
370252012-09-28 David S. Miller <davem@davemloft.net>
37026
37027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37028 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37029 file.
37030 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37031 sysdep_routines.
37032 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37034 when HWCAP_SPARC_CRYPTO is present.
37035
370362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37037
37038 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37039
370402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37041
37042 [BZ #6530]
37043 * stdio-common/vfprintf.c (process_string_arg): Revert
37044 2000-07-22 change.
37045
370462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37047
37048 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37049 for testcase.
37050 * stdio-common/tst-sprintf.c: Include <locale.h>
37051 (main): Test sprintf's handling of incomplete multibyte
37052 characters.
37053
370542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37055
37056 * elf/dl-runtime.c (VERSYMIDX): Removed.
37057 * elf/dl-version.c (VERSYMIDX): Likewise.
37058 * elf/do-rel.h (VERSYMIDX): Likewise.
37059 (VALIDX): Likewise.
37060 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37061 * elf/rtld.c (VALIDX): Likewise.
37062 (ADDRIDX): Likewise.
37063 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37064 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37065 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37066 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37067 (VALIDX): Likewise.
37068 (ADDRIDX): Likewise.
37069
370702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37071
37072 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37073
370742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37075
37076 [BZ #11438]
37077 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37078 to global scope.
37079 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37080 addresses are in the same scope as 192.0.2/24.
37081 * posix/gai.conf: Document new scope table defaults.
37082
370832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37084
37085 [BZ #5298]
37086 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37087 for ftell. Compute offsets from write pointers instead.
37088 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37089
370902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37091
37092 [BZ #14543]
37093 * libio/Makefile (tests): New test case tst-fseek.
37094 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37095 combination works in wide mode.
37096 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37097 state when the external buffer state changes.
37098
370992012-09-27 David S. Miller <davem@davemloft.net>
37100
37101 [BZ #14376]
37102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37103 pass reloc->r_addend in as the 'high' argument to
37104 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37105
37106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37107
371082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37109
37110 * rt/tst-aio2.c: Include <pthread.h>.
37111 * rt/tst-aio3.c: Likewise.
37112
371132012-09-27 Steve Ellcey <sellcey@mips.com>
37114
37115 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37116
371172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37118
37119 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37120 contents on [SHARED].
37121
371222012-09-26 Marek Polacek <polacek@redhat.com>
37123
37124 [BZ #14530]
37125 [BZ #13741]
37126 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37127 for C++ and GCC <4.3 as well as for non GCC compilers.
37128
371292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37130
37131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37132
371332012-09-25 Roland McGrath <roland@hack.frob.com>
37134
37135 * Makefile.in (all, install): Declare with .PHONY.
37136 Reported by Michael Hope <michael.hope@linaro.org>.
37137
371382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37139
37140 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37141 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37142 system header.
37143 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37144 Likewise.
37145 (sydep_routines): Add the new and the internal functions.
37146 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37149 (GLIBC_2.17): Add the new function.
37150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37151 (GLIBC_2.17): Likewise.
37152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37153 (GLIBC_2.17): Likewise.
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37155 (GLIBC_2.17): Likewise.
37156 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37157
371582012-09-25 Alan Modra <amodra@gmail.com>
37159
37160 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37161 Add release barrier before setting once_control to say
37162 initialisation is done. Add hints on lwarx. Use macro in
37163 place of isync.
37164 (clear_once_control): Add release barrier.
37165
371662012-09-25 Joseph Myers <joseph@codesourcery.com>
37167
37168 [BZ #13629]
37169 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37170 specially.
37171 * math/s_clog10.c (__clog10): Likewise.
37172 * math/s_clog10f.c (__clog10f): Likewise.
37173 * math/s_clog10l.c (__clog10l): Likewise.
37174 * math/s_clogf.c (__clogf): Likewise.
37175 * math/s_clogl.c (__clogl): Likewise.
37176 * math/Makefile (libm-calls): Add x2y2m1.
37177 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37178 (__x2y2m1): Likewise.
37179 (__x2y2m1l): Likewise.
37180 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37181 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37184 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37185 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37186 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37187 * sysdeps/i386/fpu/libm-test-ulps: Update.
37188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37189
37190 [BZ #14621]
37191 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37192 int as type of variable DEPTH.
37193 (glob): Use size_t instead of int as type of variables NEWCOUNT
37194 and OLD_PATHC.
37195
371962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37197
37198 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37199 Add s_sincosf-sse2.
37200 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37201 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37202 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37203 macros for using routine as __sincosf_ia32.
37204 Use macro for function declaration and weak_alias.
37205 * sysdeps/i386/fpu/libm-test-ulps: Update.
37206
37207 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37209
37210 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37211 subnormal argument.
37212 * math/s_cexpf.c (__cexpf): Likewise.
37213 * math/s_csinf.c (__csinf): Likewise.
37214 * math/s_csinhf.c (__csinhf): Likewise.
37215 * math/s_ctanf.c (__ctanf): Likewise.
37216 * math/s_ctanhf.c (__ctanhf): Likewise.
37217 * math/s_ccosh.c (__ccoshf): Likewise.
37218 * math/s_cexp.c (__cexpl): Likewise.
37219 * math/s_csin.c (__csin): Likewise.
37220 * math/s_csinh.c (__csinh): Likewise.
37221 * math/s_ctan.c (__ctan): Likewise.
37222 * math/s_ctanh.c (ctanh): Likewise.
37223 * math/s_ccoshl.c (__ccoshl): Likewise.
37224 * math/s_cexpl.c (__cexpl): Likewise.
37225 * math/s_csinl.c (__csinl): Likewise.
37226 * math/s_csinhl.c (__csinhl): Likewise.
37227 * math/s_ctanl.c (__ctanl): Likewise.
37228 * math/s_ctanhl.c (__ctanhl): Likewise.
37229
372302012-09-25 Joseph Myers <joseph@codesourcery.com>
37231
37232 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37233 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37234 (_IO_off_t): Define to __off_t, not _G_off_t.
37235 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37236 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37237 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37238 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37239 type of __dummy and __dummy2 fields.
37240 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37241 (_G_ssize_t): Likewise.
37242 (_G_off_t): Likewise.
37243 (_G_pid_t): Likewise.
37244 (_G_uid_t): Likewise.
37245 (_G_wchar_t): Likewise.
37246 (_G_wint_t): Likewise.
37247 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37248 (_G_ssize_t): Likewise.
37249 (_G_off_t): Likewise.
37250 (_G_pid_t): Likewise.
37251 (_G_uid_t): Likewise.
37252 (_G_wchar_t): Likewise.
37253 (_G_wint_t): Likewise.
37254 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37255 (_G_ssize_t): Likewise.
37256 (_G_off_t): Likewise.
37257 (_G_pid_t): Likewise.
37258 (_G_uid_t): Likewise.
37259 (_G_wchar_t): Likewise.
37260 (_G_wint_t): Likewise.
37261
372622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37263
37264 * malloc/arena.c: Include malloc-sysdep.h.
37265 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37266 is sufficient to shrink the heap or an unmap is needed.
37267 * sysdeps/generic/malloc-sysdep.h: New file. Define
37268 new function check_may_shrink_heap.
37269 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37270 new function check_may_shrink_heap.
37271
372722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37273
37274 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37275 comments.
37276
372772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37278
37279 * catgets/test-gencat.sh: Add "set -e".
37280 * elf/tst-pathopt.sh: Likewise.
37281 * grp/tst_fgetgrent.sh: Likewise.
37282 * iconvdata/run-iconv-test.sh: Likewise.
37283 * intl/tst-gettext.sh: Likewise.
37284 * intl/tst-gettext2.sh: Likewise.
37285 * intl/tst-gettext4.sh: Likewise.
37286 * intl/tst-gettext6.sh: Likewise.
37287 * intl/tst-translit.sh: Likewise.
37288 * io/ftwtest-sh: Likewise.
37289 * libio/test-freopen.sh: Likewise.
37290 * malloc/tst-mtrace.sh: Likewise.
37291 * posix/globtest.sh: Likewise.
37292 * posix/tst-getconf.sh: Likewise.
37293 * posix/wordexp-tst.sh: Likewise.
37294 * stdio-common/tst-printf.sh: Likewise.
37295 * stdio-common/tst-unbputc.sh: Likewise.
37296 * stdlib/tst-fmtmsg.sh: Likewise.
37297 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37298 * catgets/Makefile: Do not specify -e option when running
37299 testsuite shell scripts.
37300 * elf/Makefile: Likewise.
37301 * grp/Makefile: Likewise.
37302 * iconvdata/Makefile: Likewise.
37303 * intl/Makefile: Likewise.
37304 * io/Makefile: Likewise.
37305 * libio/Makefile: Likewise.
37306 * malloc/Makefile: Likewise.
37307 * posix/Makefile: Likewise.
37308 * stdio-common/Makefile: Likewise.
37309 * stdlib/Makefile: Likewise.
37310 * sysdeps/x86_64/Makefile: Likewise.
37311
37312 * io/ftwtest-sh: Add copyright header.
37313 * posix/globtest.sh: Likewise.
37314 * posix/tst-getconf.sh: Likewise.
37315 * posix/wordexp-tst.sh: Likewise.
37316 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37317
373182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37319
37320 [BZ #13679]
37321 * Makeconfig (+link): Defined as $(+link-static) if
37322 $(build-shared) isn't yes.
37323 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37324 isn't yes.
37325 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37326
37327 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37328
37329 [BZ #14562]
37330 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37331 new chunk size with MALLOC_ALIGN_MASK.
37332
373332012-09-24 Joseph Myers <joseph@codesourcery.com>
37334
37335 [BZ #5044]
37336 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37337 <rounding-mode.h>.
37338 (__printf_fphex): Determine rounding using get_rounding_mode and
37339 round_away.
37340 * stdio-common/tst-printf-round.c (struct hex_test): New
37341 structure.
37342 (hex_tests): New variable.
37343 (test_hex_in_one_mode): New function.
37344 (do_test): Also run tests for hex float output.
37345
373462012-09-21 Joseph Myers <joseph@codesourcery.com>
37347
37348 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37349 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37350 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37351 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37352 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37353 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37354 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37355 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37356
373572012-09-20 Joseph Myers <joseph@codesourcery.com>
37358
37359 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37360 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37361 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37362 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37363
373642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37365
37366 [BZ #14579]
37367 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37368 mode only.
37369 * elf/tst-rtld-load-self.sh: New test.
37370 * elf/Makefile: Run it.
37371
373722012-09-18 Joseph Myers <joseph@codesourcery.com>
37373
37374 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37375 (tst-writev-ENV): Remove.
37376 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37377
373782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37379
37380 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37381
373822012-09-17 Joseph Myers <joseph@codesourcery.com>
37383
37384 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37385 unconditional.
37386 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37387 Likewise.
37388 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37389 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37390 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37391 Likewise.
37392
373932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 [BZ #14587]
37396 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37397 * config.make.in (have-cpp-asm-debuginfo): Removed.
37398 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37399 * configure: Regenerated.
37400
374012012-09-14 Joseph Myers <joseph@codesourcery.com>
37402
37403 [BZ #5044]
37404 * stdio-common/printf_fp.c: Include <stdbool.h> and
37405 <rounding-mode.h>.
37406 (___printf_fp): Determine rounding using get_rounding_mode and
37407 round_away.
37408 * stdio-common/tst-printf-round.c: New file.
37409 * stdio-common/Makefile (tests): Add tst-printf-round.
37410 (link-libm): New variable.
37411 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37412
374132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37414
37415 [BZ #14576]
37416 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37417 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37418 Likewise.
37419 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37420 Likewise.
37421
374222012-09-13 Joseph Myers <joseph@codesourcery.com>
37423
37424 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37425 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37426 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37427 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37428
374292012-09-12 Joseph Myers <joseph@codesourcery.com>
37430
37431 [BZ #14518]
37432 * include/rounding-mode.h: New file.
37433 * sysdeps/generic/get-rounding-mode.h: Likewise.
37434 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37435 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37436 (MAX_VALUE): New macro.
37437 (MIN_VALUE): Likewise.
37438 (overflow_value): New function.
37439 (underflow_value): Likewise.
37440 (round_and_return): Use overflow_value and underflow_value to
37441 determine return values in overflow and underflow cases. Use
37442 round_away to determine rounding depending on rounding mode.
37443 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37444 determine return values in overflow and underflow cases.
37445 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37446 (struct test_results): New structure.
37447 (struct test): Use struct test_results to store expected results
37448 for all rounding modes.
37449 (TEST): Include expected results for all rounding modes.
37450 (test_in_one_mode): New function.
37451 (do_test): Use test_in_one_mode to compute and check results.
37452 Check results for all rounding modes.
37453 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37454 $(link-libm).
37455
374562012-12-09 Allan McRae <allan@archlinux.org>
37457
37458 * sysdeps/i386/fpu/libm-test-ulps: Update
37459
374602012-09-11 Joseph Myers <joseph@codesourcery.com>
37461
37462 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37463 (_G_int32_t): Likewise.
37464 (_G_uint16_t): Likewise.
37465 (_G_uint32_t): Likewise.
37466 (_G_HAVE_BOOL): Likewise.
37467 (_G_HAVE_ATEXIT): Likewise.
37468 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37469 (_G_HAVE_IO_FILE_OPEN): Likewise.
37470 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37471 (_G_int32_t): Likewise.
37472 (_G_uint16_t): Likewise.
37473 (_G_uint32_t): Likewise.
37474 (_G_HAVE_BOOL): Likewise.
37475 (_G_HAVE_ATEXIT): Likewise.
37476 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37477 (_G_HAVE_IO_FILE_OPEN): Likewise.
37478 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37479 (_G_int32_t): Likewise.
37480 (_G_uint16_t): Likewise.
37481 (_G_uint32_t): Likewise.
37482 (_G_HAVE_BOOL): Likewise.
37483 (_G_HAVE_ATEXIT): Likewise.
37484 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37485 (_G_HAVE_IO_FILE_OPEN): Likewise.
37486
374872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37488
37489 * csu/libc-tls.c: Update copyright years.
37490
374912012-09-10 Joseph Myers <joseph@codesourcery.com>
37492
37493 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37494 [!_G_USING_THUNKS]: Remove conditional code.
37495 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37496 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37497
37498 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37499 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37500 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37501 (_G_VTABLE_LABEL_PREFIX): Likewise.
37502 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37503 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37504 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37505 (_G_VTABLE_LABEL_PREFIX): Likewise.
37506 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37507 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37508 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37509 (_G_VTABLE_LABEL_PREFIX): Likewise.
37510 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37511
375122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37513
37514 * libio/Makefile: Include ../Makeconfig before tests.
37515 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37516 only if $(build-shared) is yes.
37517
37518 * iconv/gconv_db.c: Update copyright years.
37519
375202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37521
37522 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37523 unwind info if defined PIC. Fix special cases description.
37524 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37525
37526 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37527 DP_HI_MASK entry.
37528 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37529
375302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37531
37532 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37533
37534 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37535 is NULL.
37536
37537 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37538 (LDLIBS-tst-chk4): This.
37539 (LDFLAGS-tst-chk5): Renamed to ...
37540 (LDLIBS-tst-chk5): This.
37541 (LDFLAGS-tst-chk6): Renamed to ...
37542 (LDLIBS-tst-chk6): This.
37543 (LDFLAGS-tst-lfschk4): Renamed to ...
37544 (LDLIBS-tst-lfschk4): This.
37545 (LDFLAGS-tst-lfschk5): Renamed to ...
37546 (LDLIBS-tst-lfschk5): This.
37547 (LDFLAGS-tst-lfschk6): Renamed to ...
37548 (LDLIBS-tst-lfschk6): This.
37549
37550 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37551 on $(common-objpfx)soversions.mk.
37552
375532012-09-07 Joseph Myers <joseph@codesourcery.com>
37554
37555 [BZ #10014]
37556 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37557 example host name.
37558
375592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37560
37561 * malloc/arena.c (arena_get_retry): New function that gets
37562 another arena for the caller to try its request on.
37563 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37564 current arena cannot fulfill the request.
37565 (__libc_memalign): Likewise.
37566 (__libc_memalign): Likewise.
37567 (__libc_pvalloc): Likewise.
37568 (__libc_calloc): Likewise.
37569
375702012-09-05 John Tobey <john.tobey@gmail.com>
37571
37572 [BZ #13542]
37573 * manual/arith.texi (Operations on Complex): Fix description
37574 of carg branch cut.
37575
375762012-09-06 Joseph Myers <joseph@codesourcery.com>
37577
37578 [BZ #10014]
37579 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37580 host name.
37581
37582 [BZ #10038]
37583 * manual/memory.texi (Memory): Make order of menu items match
37584 order of sections.
37585
375862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37587
37588 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37589 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37590 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37591
375922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37593
37594 * csu/libc-tls.c (static_dtv): Renamed to ...
37595 (_dl_static_dtv): This. Make it global.
37596 (_dl_initial_dtv): Removed.
37597 (__libc_setup_tls): Updated.
37598 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37599 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37600 DL_INITIAL_DTV.
37601
376022012-09-06 Petr Machata <pmachata@redhat.com>
37603
37604 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37605 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37606 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37607 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37608
376092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37610
37611 [BZ #14545]
37612 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37613 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37614 freeing dtv[-1].
37615
376162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37617
37618 [BZ #14544]
37619 * Makeconfig (link-static-before-libc): Replace $(+prector)
37620 with $(+prectorT).
37621 (link-static-after-libc): Replace $(+postctor) with
37622 $(+postctorT).
37623 (link-bounded): Replace $(+prector)/$(+postctor) with
37624 $(+prectorT)/$(+postctorT).
37625 (+prectorT): New macro.
37626 (+postctorT): Likewise.
37627
376282012-09-06 Joseph Myers <joseph@codesourcery.com>
37629
37630 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37631 (round_str): Handle values above the maximum for IBM long double
37632 as inexact.
37633 * stdlib/tst-strtod-round.c (tests): Regenerated.
37634
376352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37636
37637 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37638 assembler flag.
37639 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37640 zarch_nohighgprs around the zarch optimized routines.
37641 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37642 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37643 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37644 for zarch.
37645
376462012-09-05 David S. Miller <davem@davemloft.net>
37647
37648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37649
37650 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37651 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37652 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37653 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37654 entries.
37655
376562012-09-05 Alexandre Oliva <aoliva@redhat.com>
37657
37658 * malloc/arena.c: Fold copyright years.
37659 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37660
376612012-09-05 Alexandre Oliva <aoliva@redhat.com>
37662
37663 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37664
376652012-09-05 Alexandre Oliva <aoliva@redhat.com>
37666
37667 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37668
376692012-09-05 Alexandre Oliva <aoliva@redhat.com>
37670
37671 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37672 change internal state upon failure.
37673
376742012-09-05 Alexandre Oliva <aoliva@redhat.com>
37675
37676 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37677 * malloc/memusage.c (mmap): Likewise.
37678 (mmap64, mremap): Likewise. Adjust name in comment.
37679
376802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37681
37682 * libio/fileops.c: Fix typos in comments.
37683 * libio/oldfileops.c: Likewise.
37684 * libio/wfileops.c: Likewise.
37685
376862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37687
37688 [BZ #1349]
37689 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37690 (tst-malloc-usable-ENV): Set environment for test case.
37691 * malloc/hooks.c (malloc_check_get_size): New function to get
37692 requested size.
37693 * malloc/malloc.c (musable): Use malloc_check_get_size.
37694 * malloc/tst-malloc-usable.c: New test case.
37695
376962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37697
37698 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37699
377002012-09-05 Allan McRae <allan@archlinux.org>
37701
37702 [BZ #13966]
37703 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37704 determine header location.
37705 * configure: Regenerated.
37706
377072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37708
37709 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37710 float format.
37711 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37712 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37713 format.
37714 (test): Regenerate.
37715
377162012-09-04 David S. Miller <davem@davemloft.net>
37717
37718 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37719 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37720 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37721
377222012-09-04 Florian Weimer <fweimer@redhat.com>
37723
37724 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37725 failures.
37726
37727 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37728
377292012-09-04 Joseph Myers <joseph@codesourcery.com>
37730
37731 [BZ #9914]
37732 * libio/iogetdelim.c: Include <limits.h>.
37733 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37734 + len + 1 would overflow.
37735
377362012-09-03 Andreas Jaeger <aj@suse.de>
37737
37738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37739 * sysdeps/i386/fpu/libm-test-ulps: Update.
37740
377412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37742
37743 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37744 Add s_sinf-sse2, s_conf-sse2.
37745
37746 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37747 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37748 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37749 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37750
37751 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37752 for using routine as __sinf_ia32.
37753 Use macro for function declaration and weak_alias.
37754 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37755 for using routine as __cosf_ia32.
37756 Use macro for function declaration and weak_alias.
37757
37758 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37759 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37760
37761 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37762 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37764
37765 * math/libm-test.inc (cos_test): Add more test cases.
37766 (sin_test): Likewise.
37767 (sincos_test): Likewise.
37768
377692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37770
37771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37772 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37773 hidden.
37774 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37775
377762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37777
37778 [BZ #14538]
37779 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37780 first element of the GOT.
37781 (elf_machine_load_address): Return the difference between
37782 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37783
377842012-09-01 Allan McRae <allan@archlinux.org>
37785
37786 [BZ #13412]
37787 * configure.in (AWK): Require gawk version 3.0 or later.
37788 * configure: Regenerated.
37789
377902012-09-01 Joseph Myers <joseph@codesourcery.com>
37791
37792 * sysdeps/unix/sysv/linux/kernel-features.h
37793 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37795 [__NR_clock_getres]: Make code unconditional.
37796 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37797 (clock_getcpuclockid): Remove code left unreachable by removal of
37798 conditionals.
37799 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37800 code unconditional.
37801 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37802 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37803 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37804 Make code unconditional.
37805 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37806 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37807 * sysdeps/unix/sysv/linux/clock_settime.c
37808 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37809 conditional code.
37810 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37811 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37812
378132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37814
37815 [BZ #14476]
37816 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37817 scripts/test-installation.pl.
37818
37819 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37820 and $ld_so_version if it is set.
37821
378222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37823
37824 [BZ #14516]
37825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37826 failure if reading from procfs failed.
37827 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37828
378292012-08-27 Joseph Myers <joseph@codesourcery.com>
37830
37831 * sysdeps/unix/sysv/linux/kernel-features.h
37832 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37833 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37834 Remove conditional code.
37835 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37836 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37837 Remove conditional code.
37838 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37839 * sysdeps/unix/sysv/linux/i386/fxstat.c
37840 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37842 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37843 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37845 * sysdeps/unix/sysv/linux/i386/lxstat.c
37846 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37848 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37849 Remove conditional code.
37850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37851 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37852 Remove conditional code.
37853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37854 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37855 <kernel-features.h>.
37856 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37857 Remove.
37858 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37859 Remove conditional code.
37860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37861 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37862 Remove conditional.
37863
378642012-08-27 Mike Frysinger <vapier@gentoo.org>
37865
37866 [BZ #5400]
37867 * NEWS: Add fixed bug number.
37868
378692012-08-27 Joseph Myers <joseph@codesourcery.com>
37870
37871 [BZ #14519]
37872 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37873 underflowing exponent in case of negative sign.
37874 * stdlib/tst-strtod-round-data: Add more tests.
37875 * stdlib/tst-strtod-round.c (tests): Regenerated.
37876
37877 [BZ #3479]
37878 * stdlib/strtod_l.c (NDIG): Remove.
37879 (HEXNDIG): Likewise.
37880 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37881 smallest representable value.
37882 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37883 lie within an exact representation of 1/2 ulp of the result.
37884 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37885 unconditionally.
37886 (TENS_P9_IDX): Define unconditionally.
37887 (TENS_P9_SIZE): Likewise.
37888 (TENS_P10_IDX): Likewise.
37889 (TENS_P10_SIZE): Likewise.
37890 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37891 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37892 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37893 entries for 10^2^13 and 10^2^14.
37894 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37895 (TENS_P13_IDX): Define.
37896 (TENS_P13_SIZE): Likewise.
37897 (TENS_P14_IDX): Likewise.
37898 (TENS_P14_SIZE): Likewise.
37899 (_fpioconst_pow10): Change array size to
37900 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37901 unconditional.
37902 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37903 1024]: Add entries for 10^2^13 and 10^2^14.
37904 [LAST_POW10 > _LAST_POW10]: Remove #error.
37905 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37906 (_fpioconst_pow10): Change array size to
37907 FPIOCONST_POW10_ARRAY_SIZE.
37908 * stdlib/gen-fpioconst.c: New file.
37909 * stdlib/gen-tst-strtod-round.c: Likewise.
37910 * stdlib/tst-strtod-round-data: Likewise.
37911 * stdlib/tst-strtod-round.c: Likewise.
37912 * stdlib/Makefile (tests): Add tst-strtod-round.
37913
37914 [BZ #14459]
37915 * stdlib/strtod_l.c: Include <stdint.h>.
37916 (NDEBUG): Do not define.
37917 (round_and_return): Change EXPONENT parameter to type intmax_t.
37918 Rearrange calculations to avoid internal overflow possibilities.
37919 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37920 Rearrange calculations to avoid internal overflow possibilities.
37921 Assert that number fits inside MPNSIZE limbs.
37922 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37923 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37924 calculations and add assertions to avoid internal overflow
37925 possibilities. Add casts to avoid signed/unsigned operations.
37926 * stdlib/tst-strtod-overflow.c: New file.
37927 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37928
379292012-08-25 Marek Polacek <polacek@redhat.com>
37930
37931 * time/time.h: Fix some typos in comments.
37932
379332012-08-23 Roland McGrath <roland@hack.frob.com>
37934
37935 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37936 * posix/tst-rfc3484-2.c: Likewise.
37937 * posix/tst-rfc3484-3.c: Likewise.
37938
379392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37940
37941 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37942 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37943
379442012-08-23 Joseph Myers <joseph@codesourcery.com>
37945
37946 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37947 #include of fxstatat64.c.
37948
379492012-08-22 Roland McGrath <roland@hack.frob.com>
37950
37951 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37952 * shadow/getspent_r.c: Likewise.
37953 * shadow/getspnam.c: Likewise.
37954 * shadow/getspnam_r.c: Likewise.
37955 * gshadow/getsgent.c: Likewise.
37956 * gshadow/getsgent_r.c: Likewise.
37957 * gshadow/getsgnam.c: Likewise.
37958 * gshadow/getsgnam_r.c: Likewise.
37959 * inet/getnetbyad.c: Likewise.
37960 * inet/getnetbyad_r.c: Likewise.
37961 * inet/getnetbynm.c: Likewise.
37962 * inet/getnetbynm_r.c: Likewise.
37963 * inet/getnetent.c: Likewise.
37964 * inet/getnetent_r.c: Likewise.
37965 * inet/getproto.c: Likewise.
37966 * inet/getproto_r.c: Likewise.
37967 * inet/getprtent.c: Likewise.
37968 * inet/getprtent_r.c: Likewise.
37969 * inet/getprtname.c: Likewise.
37970 * inet/getprtname_r.c: Likewise.
37971 * inet/getrpcbyname.c: Likewise.
37972 * inet/getrpcbyname_r.c: Likewise.
37973 * inet/getrpcbynumber.c: Likewise.
37974 * inet/getrpcbynumber_r.c: Likewise.
37975 * inet/getrpcent.c: Likewise.
37976 * inet/getrpcent_r.c: Likewise.
37977 * inet/getaliasent.c: Likewise.
37978 * inet/getaliasent_r.c: Likewise.
37979 * inet/getaliasname.c: Likewise.
37980 * inet/getaliasname_r.c: Likewise.
37981 * nscd/getgrgid_r.c: Likewise.
37982 * nscd/getgrnam_r.c: Likewise.
37983 * nscd/gethstbyad_r.c: Likewise.
37984 * nscd/gethstbynm3_r.c: Likewise.
37985 * nscd/getpwnam_r.c: Likewise.
37986 * nscd/getpwuid_r.c: Likewise.
37987 * nscd/getsrvbynm_r.c: Likewise.
37988 * nscd/getsrvbypt_r.c: Likewise.
37989 * nscd/gai.c: Likewise.
37990
37991 * configure.in (build_nscd): New substituted variable, set
37992 by --disable-build-nscd and defaults to $use_nscd.
37993 * configure: Regenerated.
37994 * config.make.in (build-nscd): New substituted variable.
37995 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37996 Change conditional to require [$(build-nscd) = yes] as well.
37997 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37998
37999 [BZ# 13696]
38000 * configure.in (use_nscd): New substituted variable, set by
38001 --disable-nscd. If enabled, define USE_NSCD.
38002 * configure: Regenerated.
38003 * config.h.in: Add USE_NSCD.
38004 * config.make.in (use-nscd): New substituted variable.
38005 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38006 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38007 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38008 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38009 (CFLAGS-getgrnam_r.c): Likewise.
38010 (CFLAGS-initgroups.c): Likewise.
38011 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38012 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38013 Variables removed.
38014 * inet/getnetgrent_r.c
38015 (nscd_setnetgrent): New function, broken out of ...
38016 (setnetgrent): ... here. Call it.
38017 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38018 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38019 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38020 * nscd/Makefile (routines, aux): Move definitions after include of
38021 Makeconfig. Conditionalize on [$(use-nscd) != no].
38022 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38023 Conditionalize on [USE_NSCD].
38024 (is_nscd, nscd_init_cb): Likewise.
38025 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38026 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38027 * nss/nss_db/db-init.c: Likewise.
38028 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38029 [USE_NSCD].
38030 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38031 (make_request): Use it.
38032 (cache_valid_p): New function.
38033 (__check_pf): Use it.
38034 * NEWS: Add item for --disable-nscd.
38035
380362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38037
38038 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38039 to support sed >= 4.2.1-20-ga9bf076.
38040 * configure: Regenerated.
38041
380422012-08-22 Roland McGrath <roland@hack.frob.com>
38043
38044 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38045 Conditionalize whole body on [IREL].
38046
380472012-08-22 Jeff Law <law@redhat.com>
38048
38049 [BZ #14505]
38050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38051 if the family is PF_UNSPEC.
38052
380532012-08-22 Mike Frysinger <vapier@gentoo.org>
38054
38055 * Makerules (lib-version): Rename from V.
38056 (install-lib-nosubdir): Change V to lib-version.
38057
380582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38059
38060 [BZ #14252]
38061 * powerpc32/power6/wcschr.c: New file.
38062 * powerpc32/power6/wcscpy.c: New file.
38063 * powerpc32/power6/wcsrchr.c: New file.
38064 * powerpc64/power6/wcschr.c: New file.
38065 * powerpc64/power6/wcscpy.c: New file.
38066 * powerpc64/power6/wcsrchr.c: New file.
38067
380682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38069
38070 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38071 (two_way_short_needle): Use it.
38072 * string/strstr.c (AVAILABLE1_USES_J): Define.
38073 * string/strcasestr.c: Likewise.
38074
38075 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38076 array references.
38077 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38078
38079 [BZ #11607]
38080 * NEWS: Add an entry.
38081 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38082 define their defaults.
38083 (two_way_short_needle): Detect end-of-string on-the-fly.
38084 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38085 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38086 * string/bug-strcasestr1.c: New test.
38087 * string/Makefile: Run it.
38088
380892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38090
38091 [BZ #11607]
38092 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38093 the first character.
38094
380952012-08-21 Roland McGrath <roland@hack.frob.com>
38096
38097 * csu/elf-init.c (__libc_csu_irel): Function removed.
38098 * csu/libc-start.c (apply_irel): New function.
38099 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38100
381012012-08-21 Joseph Myers <joseph@codesourcery.com>
38102
38103 * sysdeps/unix/sysv/linux/kernel-features.h
38104 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38105 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38106 <kernel-features.h>.
38107 [__NR_fadvise64_64]: Make code unconditional.
38108 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38109 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38110 !__NR_fadvise64_64)]: Likewise.
38111 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38112 !__NR_fadvise64_64))]: Likewise.
38113 [__NR_fadvise64]: Make code unconditional.
38114 [!__NR_fadvise64]: Remove conditional code.
38115 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38116 <kernel-features.h>.
38117 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38118 unconditional.
38119 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38120 conditional code.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38122 not include <kernel-features.h>.
38123 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38124 unconditional.
38125 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38126 conditional code.
38127 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38128 include <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
381342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38135
38136 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38137 slight instruction rearrangements per scrollpipe analysis.
38138 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38139
381402012-08-20 Roland McGrath <roland@hack.frob.com>
38141
38142 * manual/syslog.texi (syslog; vsyslog, closelog):
38143 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38144 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38145
38146 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38147 DSOCAPS to match condition on defining it.
38148
381492012-08-20 Joseph Myers <joseph@codesourcery.com>
38150
38151 * sysdeps/unix/sysv/linux/kernel-features.h
38152 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38154 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38155 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38157 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38158 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38160 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38161 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38162
38163 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38164 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38165
38166 * sysdeps/unix/sysv/linux/kernel-features.h
38167 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38168 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38169 unconditional.
38170 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38171 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38172 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38173 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38174 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38175 Make code unconditional.
38176 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38177 (__mmap64) [!__NR_mmap2]: Likewise.
38178 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38179 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38180 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38181 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38182 [__NR_mmap2]: Make code unconditional.
38183 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38184 (__mmap64) [!__NR_mmap2]: Likewise.
38185
381862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38187
38188 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38189
381902012-08-18 Andreas Jaeger <aj@suse.de>
38191
38192 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38193
381942012-08-18 Mike Frysinger <vapier@gentoo.org>
38195
38196 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38197 * include/unistd.h (__have_sock_cloexec): Likewise.
38198 (__have_pipe2): Likewise.
38199 (__have_dup3): Likewise.
38200
382012012-08-18 Mike Frysinger <vapier@gentoo.org>
38202
38203 [BZ #9685]
38204 * include/unistd.h (__have_pipe2): Change define into an extern int.
38205 (__have_dup3): Likewise.
38206 * socket/have_sock_cloexec.c: Include fcntl.h.
38207 (__have_pipe2): New variable.
38208 (__have_dup3): Likewise.
38209
382102012-08-17 Mike Frysinger <vapier@gentoo.org>
38211
38212 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38213
382142012-08-17 Marek Polacek <polacek@redhat.com>
38215
38216 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38217 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38218
382192012-08-17 Roland McGrath <roland@hack.frob.com>
38220
38221 * configure.in: Add AC_SUBST for sysheaders.
38222 * configure: Regenerated.
38223 * config.make.in (sysheaders): New substituted variable.
38224
38225 * sysdeps/unix/mkfifo.c: Moved ...
38226 * sysdeps/posix/mkfifo.c: ... here.
38227 * sysdeps/unix/mkfifoat.c: Moved ...
38228 * sysdeps/posix/mkfifoat.c: ... here.
38229
38230 * sysdeps/unix/utime.c: Moved ...
38231 * sysdeps/posix/utime.c: ... here.
38232
38233 * sysdeps/unix/time.c: Moved ...
38234 * sysdeps/posix/time.c: ... here.
38235 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38236 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38237
38238 * sysdeps/unix/nice.c: Moved ...
38239 * sysdeps/posix/nice.c: ... here.
38240
38241 * sysdeps/unix/alarm.c: Moved ...
38242 * sysdeps/posix/alarm.c: ... here.
38243
38244 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38245
382462012-08-17 Jeff Law <law@redhat.com>
38247
38248 * intl/Makefile (codeset_mo): New variable.
38249 ($(codeset_mo)): New target.
38250 (tst-codeset.out): Depend on that. Remove explicit rule.
38251 (tst-gettext3.out, tst-gettext5.out): Likewise.
38252 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38253 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38254 * intl/tst-codeset.sh: Remove.
38255 * intl/tst-gettext3.sh: Likewise.
38256 * intl/tst-gettext5.sh: Likewise.
38257
382582012-08-17 Roland McGrath <roland@hack.frob.com>
38259
38260 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38261 * sysdeps/unix/syscalls.list: ... here.
38262
38263 * sysdeps/posix/getaddrinfo.c
38264 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38265 (gaiconf_init, gaiconf_reload): Use them.
38266 [!_STATBUF_ST_NSEC]
38267 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38268 Define using time_t rather than struct timespec.
38269
38270 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38271 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38272 Macros removed.
38273 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38274 [!NO_THREADS].
38275 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38276 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38277 Likewise.
38278
38279 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38280 __libc_cleanup_push argument.
38281
38282 * bits/param.h: New file.
38283 * misc/sys/param.h: New file.
38284 * include/sys/param.h: New file.
38285 * misc/Makefile (headers): Add bits/param.h.
38286 * sysdeps/generic/sys/param.h: File removed.
38287 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38288 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38289 * sysdeps/mach/hurd/bits/param.h: New file.
38290 * sysdeps/mach/hurd/sys/param.h: File removed.
38291
38292 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38293 last change.
38294
38295 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38296 [_IO_MTSAFE_IO].
38297 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38298 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38299 New macros.
38300
38301 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38302 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38303 rather than -D_IO_MTSAFE_IO conditionally.
38304 * stdio-common/Makefile (CPPFLAGS): Likewise.
38305 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38306 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38307 Use $(libio-mtsafe).
38308 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38309 of -D_IO_MTSAFE_IO.
38310 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38311 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38312 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38313 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38314 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38315 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38316 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38317 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38318 (CFLAGS-fread_u_chk.c): Likewise.
38319 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38320 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38321 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38322 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38323 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38324 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38325 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38326 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38327 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38328
38329 * libio/Makefile: Test [$(libc-reentrant) = yes]
38330 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38331
38332 * Makeconfig
38333 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38334 * sysdeps/pthread/configure: File removed.
38335 * sysdeps/pthread/Makeconfig: New file.
38336 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38337 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38338
383392012-08-16 Gary Benson <gbenson@redhat.com>
38340
38341 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38342 unmapping the first object in a namespace.
38343
383442012-08-16 Roland McGrath <roland@hack.frob.com>
38345
38346 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38347 (__internal_setnetgrent): ... this. Add internal_function to
38348 definition. Add libc_hidden_def.
38349 (setnetgrent): Update caller.
38350 (internal_endnetgrent): Renamed to ...
38351 (__internal_endnetgrent): ... this. Add internal_function to
38352 definition. Add libc_hidden_def.
38353 (endnetgrent): Update caller.
38354 (internal_getnetgrent_r): Renamed to ...
38355 (__internal_getnetgrent_r): ... this. Add internal_function to
38356 definition. Add libc_hidden_def.
38357 (__getnetgrent_r): Update caller.
38358 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38359
383602012-08-16 Joseph Myers <joseph@codesourcery.com>
38361
38362 * stdlib/longlong.h: Update from GCC.
38363
383642012-08-16 Roland McGrath <roland@hack.frob.com>
38365
38366 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38367 on _QL, which is set by umul_ppmm but never used.
38368 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38369 variables, which are set by GMP macros but never used.
38370 * stdio-common/_itowa.c (_itowa): Likewise.
38371 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38372 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38373
383742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38375
38376 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38377 struct La_sh_regs is not constant.
38378 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38379 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38380 and struct La_sparc64_regs are not constant.
38381
383822012-08-16 Joseph Myers <joseph@codesourcery.com>
38383
38384 * sysdeps/unix/sysv/linux/kernel-features.h
38385 (__ASSUME_POSIX_TIMERS): Remove.
38386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38387 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38388 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38389 Make code unconditional.
38390 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38391 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38392 Make code unconditional.
38393 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38394 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38395 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38396 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38397 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38398 Make code unconditional.
38399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38400 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38401 (__libc_missing_posix_timers): Remove.
38402
384032012-08-15 Roland McGrath <roland@hack.frob.com>
38404
38405 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38406 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38407
38408 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38409
38410 * elf/dl-sym.c: Include <stdlib.h>.
38411
38412 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38413 constants, which avoids warnings in 32-bit builds.
38414
38415 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38416 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38417
38418 * misc/lseek.c: File moved to ...
38419 * io/lseek.c: ... here.
38420
38421 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38422
38423 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38424 shifting LEN more than 31 bits at once.
38425
384262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38427
38428 [BZ #14195]
38429 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38430 segmentation fault for a case of two empty input strings.
38431 * string/test-strncasecmp.c (check1): Renamed to...
38432 (bz12205): ...this.
38433 (bz14195): Add new testcase for two empty input strings and N > 0.
38434 (test_main): Call new testcase, adapt for renamed function.
38435
384362012-08-15 Andreas Jaeger <aj@suse.de>
38437
38438 [BZ #14090]
38439 * crypt/md5test2.c: New test, based on test supplied by Serge
38440 Belyshev <belyshev@depni.sinp.msu.ru>.
38441 * crypt/Makefile (xtests): Add md5test-giant..
38442 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38443
384442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38445
38446 [BZ #14090]
38447 * crypt/md5.c (md5_process_block): Don't assume the buffer
38448 length is less than 2**32.
38449 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38450 length is less than 2**64.
38451
384522012-08-15 Roland McGrath <roland@hack.frob.com>
38453
38454 * string/str-two-way.h: Include <sys/param.h>.
38455 (MAX): Macro removed.
38456
38457 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38458 Move #define and #undef of memmove to just before and after
38459 including <string.h>.
38460
38461 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38462 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38463 and after including <string.h>. Move declarations of
38464 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38465 to before #include "string/memmove.c".
38466
38467 * include/dirent.h: Declare __getdirentries.
38468
38469 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38470 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38471
384722012-08-14 Mike Frysinger <vapier@gentoo.org>
38473
38474 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38475 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38476 * sysdeps/i386/configure: Regenerated.
38477 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38478 STABS_CURRENT_FILE, and STABS_FUN.
38479 (END): Remove call to STABS_FUN_END.
38480 (STABS_CURRENT_FILE1): Delete.
38481 (STABS_CURRENT_FILE): Likewise.
38482 (STABS_FUN): Likewise.
38483 (STABS_FUN_END): Likewise.
38484 (STABS_FUN2): Likewise.
38485 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38486 * sysdeps/x86_64/configure: Regenerated.
38487
384882012-08-14 Roland McGrath <roland@hack.frob.com>
38489
38490 * elf/dl-open.c: Include <atomic.h>.
38491 * elf/dl-lookup.c: Likewise.
38492
384932012-08-14 Joseph Myers <joseph@codesourcery.com>
38494
38495 * sysdeps/unix/sysv/linux/kernel-features.h
38496 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38497 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38498 unconditionally.
38499 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38500 unconditionally.
38501 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38502 condition on __ASSUME_CLONE_THREAD_FLAGS.
38503
385042012-08-14 Andreas Jaeger <aj@suse.de>
38505
38506 * sysdeps/i386/fpu/libm-test-ulps: Update.
38507
385082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38509
38510 * include/atomic.h (atomic_exchange_and_add): Split into ...
38511 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38512 New atomic macros.
38513
385142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38515
38516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38517
385182012-08-13 Jeff Law <law@redhat.com>
38519
38520 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38521 null byte in the output string.
38522
385232012-08-10 Joseph Myers <joseph@codesourcery.com>
38524
38525 * sysdeps/unix/sysv/linux/kernel-features.h
38526 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38527 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38528 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38529 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38530 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38531 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38532 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38533
385342012-08-09 Jeff Law <law@redhat.com>
38535
38536 [BZ #13939]
38537 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38538 When avoid_arena is set, don't retry in the that arena. Pick the
38539 next one, whatever it might be.
38540 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38541 (arena_lock): Pass in new parameter to arena_get2.
38542 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38543 arena_get2.
38544 (__libc_malloc): Unify retrying after main arena failure with
38545 __libc_memalign version.
38546 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38547
385482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38549
38550 [BZ #14166]
38551 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38552 to __redirect_strstr.
38553 (__strstr_sse42): Use typeof __redirect_strstr.
38554 (__strstr_ia32): Likewise.
38555 (__libc_strstr): New prototype.
38556 (strstr): Renamed to ...
38557 (__libc_strstr): This.
38558 (strstr): New strong alias of __libc_strstr.
38559 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38560 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38561 __redirect_time.
38562 Include <time.h>.
38563 (__libc_time): New prototype.
38564 (time_ifunc): Replace time with __libc_time.
38565 (time): New strong alias and hidden definition of __libc_time.
38566 (__GI_time): Remove strong alias.
38567 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38568 Include <stddef.h>.
38569 (memmove): Redefined to __redirect_memmove.
38570 (__memmove_sse2): Use typeof __redirect_memmove.
38571 (__memmove_ssse3): Likewise.
38572 (__memmove_ssse3_back): Likewise.
38573 (__libc_memmove): New prototype.
38574 (memmove): Renamed to ...
38575 (__libc_memmove): This.
38576 (memmove): New strong alias of __libc_memmove.
38577
385782012-08-08 Mark Salter <msalter@redhat.com>
38579
38580 * elf/elf.h
38581 (R_MN10300_TLS_GD): Define.
38582 (R_MN10300_TLS_LD): Likewise.
38583 (R_MN10300_TLS_LDO): Likewise.
38584 (R_MN10300_TLS_GOTIE): Likewise.
38585 (R_MN10300_TLS_IE): Likewise.
38586 (R_MN10300_TLS_LE): Likewise.
38587 (R_MN10300_TLS_DTPMOD): Likewise.
38588 (R_MN10300_TLS_DTPOFF): Likewise.
38589 (R_MN10300_TLS_TPOFF): Likewise.
38590 (R_MN10300_SYM_DIFF): Likewise.
38591 (R_MN10300_ALIGN): Likewise.
38592 (R_MN10300_NUM): Update.
38593
385942012-08-08 Joseph Myers <joseph@codesourcery.com>
38595
38596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38597 Remove.
38598
385992012-08-08 Roland McGrath <roland@hack.frob.com>
38600
38601 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38602
38603 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38604 sysdeps/unix -> sysdeps/posix move.
38605 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38606
386072012-08-07 Allan McRae <allan@archlinux.org>
38608
38609 [BZ #14303]
38610 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38611 (SUNOS_CPP): Likewise.
38612 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38613 not found.
38614 (open_input): Call CPP using execvp.
38615
386162012-08-07 Joseph Myers <joseph@codesourcery.com>
38617
38618 * sysdeps/unix/sysv/linux/kernel-features.h
38619 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38620 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38621 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38622 (__ASSUME_WAITID_SYSCALL): Likewise.
38623 * sysdeps/unix/sysv/linux/dl-execstack.c
38624 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38625 code unconditional.
38626 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38627 conditional code.
38628 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38629 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38630 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38631 code.
38632 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38633 unconditional.
38634 [__ASSUME_WAITID_SYSCALL]: Likewise.
38635 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38636
386372012-08-07 Roland McGrath <roland@hack.frob.com>
38638
38639 * sysdeps/unix/closedir.c: Renamed to ...
38640 * sysdeps/posix/closedir.c: ... here.
38641 * sysdeps/unix/dirfd.c: Renamed to ...
38642 * sysdeps/posix/dirfd.c: ... here.
38643 * sysdeps/unix/dirstream.h: Renamed to ...
38644 * sysdeps/posix/dirstream.h: ... here.
38645 * sysdeps/unix/fdopendir.c: Renamed to ...
38646 * sysdeps/posix/fdopendir.c: ... here.
38647 * sysdeps/unix/opendir.c: Renamed to ...
38648 * sysdeps/posix/opendir.c: ... here.
38649 * sysdeps/unix/readdir.c: Renamed to ...
38650 * sysdeps/posix/readdir.c: ... here.
38651 * sysdeps/unix/readdir_r.c: Renamed to ...
38652 * sysdeps/posix/readdir_r.c: ... here.
38653 * sysdeps/unix/rewinddir.c: Renamed to ...
38654 * sysdeps/posix/rewinddir.c: ... here.
38655 * sysdeps/unix/seekdir.c: Renamed to ...
38656 * sysdeps/posix/seekdir.c: ... here.
38657 * sysdeps/unix/telldir.c: Renamed to ...
38658 * sysdeps/posix/telldir.c: ... here.
38659 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38660 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38661 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38662 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38663
38664 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38665 * bits/fcntl.h: ... here.
38666
38667 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38668 not 0.
38669 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38670 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38671 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38672 (struct flock): Move l_start, l_len to the beginning.
38673 Use __pid_t for l_pid.
38674 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38675 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38676 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38677 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38678 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38679 [__USE_LARGEFILE64] (struct flock64): New type.
38680 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38681
38682 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38683 * bits/dirent.h: ... here.
38684
38685 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38686 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38687
386882012-08-07 Joseph Myers <joseph@codesourcery.com>
38689
38690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38691 Change from 2.6.0 to 2.6.16.
38692 * sysdeps/unix/sysv/linux/configure: Regenerated.
38693 * sysdeps/unix/sysv/linux/kernel-features.h
38694 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38695 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38696 version.
38697 (__ASSUME_UTIMES): Likewise.
38698 (__ASSUME_CLONE_STOPPED): Remove.
38699 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38700 architectures, not kernel version.
38701 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38702 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38703 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38704 (__ASSUME_WAITID_SYSCALL): Likewise.
38705 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38706 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38707 * README: State 2.6.16 as minimum Linux kernel version. Do not
38708 refer to older versions.
38709
387102012-08-06 Roland McGrath <roland@hack.frob.com>
38711
38712 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38713 Define alphasort64 as an alias.
38714 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38715 Define versionsort64 as an alias.
38716 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38717 Define scandir64 as an alias.
38718 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38719 Define scandirat64 as an alias.
38720 * dirent/alphasort64.c (alphasort64):
38721 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38722 * dirent/versionsort64.c: Likewise.
38723 * dirent/scandir64.c: Likewise.
38724 * dirent/scandirat64.c: Likewise.
38725 * sysdeps/wordsize-64/alphasort.c: File removed.
38726 * sysdeps/wordsize-64/alphasort64.c: File removed.
38727 * sysdeps/wordsize-64/scandir.c: File removed.
38728 * sysdeps/wordsize-64/scandir64.c: File removed.
38729 * sysdeps/wordsize-64/scandirat.c: File removed.
38730 * sysdeps/wordsize-64/scandirat64.c: File removed.
38731 * sysdeps/wordsize-64/versionsort.c: File removed.
38732 * sysdeps/wordsize-64/versionsort64.c: File removed.
38733 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38734 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38736 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38738 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38741
38742 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38744 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38746 [defined __arch64__ || defined __sparcv9]
38747 (__INO_T_MATCHES_INO64_T): New macro.
38748 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38749 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38750 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38751 * sysdeps/unix/sysv/linux/bits/dirent.h
38752 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38753 (_DIRENT_MATCHES_DIRENT64): New macro.
38754
38755 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38756 Define lockf64 as an alias.
38757 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38758 Define fseeko64 as an alias.
38759 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38760 Define ftello64 as an alias.
38761 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38762 Define _IO_fgetpos64 and fgetpos64 as aliases.
38763 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38764 Define _IO_fsetpos64 and fsetpos64 as aliases.
38765 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38766 Conditionalize body on this.
38767 * libio/fseeko64.c: Likewise.
38768 * libio/ftello64.c: Likewise.
38769 * libio/iofgetpos64.c: Likewise.
38770 * libio/iofsetpos64.c: Likewise.
38771 * sysdeps/wordsize-64/lockf.c: File removed.
38772 * sysdeps/wordsize-64/lockf64.c: File removed.
38773 * sysdeps/wordsize-64/fseeko.c: File removed.
38774 * sysdeps/wordsize-64/fseeko64.c: File removed.
38775 * sysdeps/wordsize-64/ftello.c: File removed.
38776 * sysdeps/wordsize-64/ftello64.c: File removed.
38777 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38778 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38779 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38780 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38781 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38783 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38784 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38785 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38786 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38787 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38789 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38790 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38791
38792 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38794 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38796 [defined __arch64__ || defined __sparcv9]
38797 (__OFF_T_MATCHES_OFF64_T): New macro.
38798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38799 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38801 (__OFF_T_MATCHES_OFF64_T): New macro.
38802
388032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38804
38805 * stdlib/secure-getenv.c (__secure_getenv): Replace
38806 GLIBC_2_16 with GLIBC_2_17.
38807
388082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38809
38810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38812
388132012-08-03 David S. Miller <davem@davemloft.net>
38814
38815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38816
388172012-08-03 Joseph Myers <joseph@codesourcery.com>
38818
38819 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38820 Remove.
38821 (__ASSUME_CORRECT_SI_PID): Likewise.
38822 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38823 (__ASSUME_TMPFS_NAME): Likewise.
38824 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38825 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38826 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38827 (HAVE_AUX_SECURE): Make definition unconditional.
38828 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38829 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38830
388312012-08-03 Roland McGrath <roland@hack.frob.com>
38832
38833 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38834 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38835 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38836 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38837 __eloop_threshold instead of SYMLOOP_MAX.
38838
38839 * sysdeps/generic/eloop-threshold.h: New file.
38840 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38841 of MAXSYMLINKS.
38842 * elf/chroot_canon.c (chroot_canon): Likewise.
38843
388442012-08-03 Joseph Myers <joseph@codesourcery.com>
38845
38846 [BZ #13717]
38847 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38848 Change to 2.6.0 everywhere.
38849 * sysdeps/unix/sysv/linux/configure: Regenerated.
38850 * sysdeps/unix/sysv/linux/kernel-features.h
38851 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38852 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38853 kernel versions.
38854 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38855 (__ASSUME_FUTEX_REQUEUE): Remove.
38856 (__ASSUME_STATFS64): Define unconditionally.
38857 (__ASSUME_AT_SECURE): Likewise.
38858 (__ASSUME_CORRECT_SI_PID): Likewise.
38859 (__ASSUME_TGKILL): Define without depending on kernel version for
38860 i386.
38861 (__ASSUME_UTIMES): Likewise.
38862 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38863 kernel version.
38864 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38865 (__ASSUME_TMPFS_NAME): Likewise.
38866 * README: Update reference to Linux kernel versions.
38867
388682012-08-02 Marek Polacek <polacek@redhat.com>
38869
38870 [BZ# 14150]
38871 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38872 libc_cv_asm_type_prefix with %.
38873 * configure: Regenerated.
38874 * include/libc-symbols.h: Remove comment about
38875 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38876 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38877 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38878 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38879 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38880 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38881 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38882 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38883 * elf/tst-unique2mod1.c: Likewise.
38884 * elf/tst-unique1mod2.c: Likewise.
38885 * elf/tst-unique1mod1.c: Likewise.
38886 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38887 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38888 Replace ASM_TYPE_DIRECTIVE with .type.
38889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38890 * sysdeps/i386/sysdep.h: Likewise.
38891 * sysdeps/x86_64/sysdep.h: Likewise.
38892 * sysdeps/sh/sysdep.h: Likewise.
38893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38894 Do not define ASM_TYPE_DIRECTIVE.
38895 * sysdeps/powerpc/sysdep.h: Likewise.
38896 * sysdeps/powerpc/powerpc32/sysdep.h:
38897 Replace ASM_TYPE_DIRECTIVE with .type.
38898 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38900 * sysdeps/i386/fpu/e_powf.S: Likewise.
38901 * sysdeps/i386/fpu/e_expl.S: Likewise.
38902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38903 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38904 * sysdeps/i386/fpu/e_pow.S: Likewise.
38905 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38906 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38907 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38908 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38909 * sysdeps/i386/fpu/e_log2.S: Likewise.
38910 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38911 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38912 * sysdeps/i386/fpu/e_powl.S: Likewise.
38913 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38914 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38915 * sysdeps/i386/fpu/e_logl.S: Likewise.
38916 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38917 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38918 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38921 * sysdeps/i386/fpu/e_log.S: Likewise.
38922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38923 * sysdeps/i386/fpu/e_logf.S: Likewise.
38924 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38926 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38927 * sysdeps/i386/fpu/e_log10.S: Likewise.
38928 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38929 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38930 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38931 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38932 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38933 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38934 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38935 * sysdeps/i386/i686/strtok.S: Likewise.
38936 * sysdeps/i386/i386-mcount.S: Likewise.
38937 * sysdeps/i386/strtok.S: Likewise.
38938 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38942 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38943 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38944 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38945 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38947 * sysdeps/x86_64/_mcount.S: Likewise.
38948 * sysdeps/x86_64/strtok.S: Likewise.
38949 * sysdeps/sh/_mcount.S: Likewise.
38950
389512012-08-01 Roland McGrath <roland@hack.frob.com>
38952
38953 * libio/iofopen.c: Include <fcntl.h>.
38954 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38955 (_IO_fopen64, fopen64): Define as aliases.
38956 * libio/iofopen64.c: Include <fcntl.h>.
38957 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38958 Conditionalize body on this.
38959 * sysdeps/wordsize-64/iofopen.c: File removed.
38960 * sysdeps/wordsize-64/iofopen64.c: File removed.
38961
389622012-08-01 Marek Polacek <polacek@redhat.com>
38963
38964 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38965 Use dlfcn directly instead of a variable.
38966 (binfmt-subdir): Do not define.
38967 (dlfcn): Likewise.
38968
389692012-08-01 Joseph Myers <joseph@codesourcery.com>
38970
38971 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38972 Remove all definitions.
38973 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38974 <kernel-features.h>.
38975 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38976 (miss_F_GETOWN_EX): Remove all definitions.
38977 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38978 macro definition.
38979 [!__ASSUME_FCNTL64]: Remove conditional code.
38980 [__ASSUME_FCNTL64]: Make code unconditional.
38981 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38982 <kernel-features.h>.
38983 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38984 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38985 (lockf64) [__NR_fcntl64]: Make code unconditional.
38986 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38987
38988 * sysdeps/unix/sysv/linux/kernel-features.h
38989 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38990 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38991 Make code unconditional.
38992 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38993 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38995 [__NR_vfork]: Make code unconditional.
38996 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38997 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38999 [__NR_vfork]: Make code unconditional.
39000 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39001 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39002
390032012-08-01 Roland McGrath <roland@hack.frob.com>
39004
39005 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39006 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39007
39008 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39009 Define mkstemp64 as an alias.
39010 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39011 Define mkstemps64 as an alias.
39012 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39013 Define mkostemp64 as an alias.
39014 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39015 Define mkostemps64 as an alias.
39016 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39017 Conditionalize body on this.
39018 * misc/mkostemp64.c: Likewise.
39019 * misc/mkostemps64.c: Likewise.
39020 * misc/mkstemps64.c: Likewise.
39021 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39022 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39023 * sysdeps/wordsize-64/mkostemp.c: File removed.
39024 * sysdeps/wordsize-64/mkstemp.c: File removed.
39025 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39026 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39027 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39028 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39029
39030 [BZ #14138]
39031 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39032 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39033 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39034 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39035
39036 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39037 compat_symbol macros from <shlib-compat.h> rather than the underlying
39038 default_symbol_version and symbol_version macros, so that DEFAULT
39039 lines in shlib-versions are respected.
39040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39041
390422012-08-01 Florian Weimer <fweimer@redhat.com>
39043
39044 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39045 Declare with warn_unused_result.
39046 (setgid, setregid, setegid, setresgid): Likewise.
39047 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39048 Likewise.
39049 * WUR-REPORT: Remove set*id functions.
39050
390512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39052
39053 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39054
390552012-07-31 Roland McGrath <roland@hack.frob.com>
39056
39057 [BZ #10191]
39058 * include/sys/socket.h (__libc_accept, __libc_accept4):
39059 Add attribute_hidden.
39060 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39061
39062 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39063 use of PTR_MANGLE.
39064 * inet/getnetgrent_r.c (setup): Likewise.
39065
39066 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39067
390682012-07-31 David S. Miller <davem@davemloft.net>
39069
39070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39071
390722012-07-31 Joseph Myers <joseph@codesourcery.com>
39073
39074 [BZ #13629]
39075 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39076 value between 1.0 and 2.0 and smaller part has absolute value less
39077 than 1.0.
39078 * math/s_clog10.c (__clog10): Likewise.
39079 * math/s_clog10f.c (__clog10f): Likewise.
39080 * math/s_clog10l.c (__clog10l): Likewise.
39081 * math/s_clogf.c (__clogf): Likewise.
39082 * math/s_clogl.c (__clogl): Likewise.
39083 * math/libm-test.inc (clog_test): Add more tests.
39084 (clog10_test): Likewise.
39085 * sysdeps/i386/fpu/libm-test-ulps: Update.
39086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39087
390882012-07-31 Florian Weimer <fweimer@redhat.com>
39089
39090 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39091 Exit with zero in case no suitable GID is found, and write a
39092 message to standard error.
39093
390942012-07-30 Roland McGrath <roland@hack.frob.com>
39095
39096 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39097 rather than to 1.
39098 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39099 (MAXPATHLEN): Removed.
39100 (NOGROUP, NODEV): New macros.
39101 (setbit, clrbit, isset, isclr): New macros.
39102 (howmany, roundup, powerof2): New macros.
39103 (DEV_BSIZE): New macro.
39104
39105 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39106 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39107
39108 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39109 definition on [!__NO_LONG_DOUBLE_MATH].
39110
39111 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39112 PTR_MANGLE and PTR_DEMANGLE.
39113
39114 * socket/accept4.c (accept4): Rename to __libc_accept4.
39115 Define accept4 as a weak alias.
39116
39117 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39118 on [_DIRENT_HAVE_D_TYPE].
39119 * io/ftw.c (ftw_dir): Likewise.
39120
39121 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39122
39123 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39124
39125 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39126 Use the BSD numbers rather than the arbitrary ones we had.
39127 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39128 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39129 (SIGXCPU, SIGXFSZ): New macros.
39130 (_NSIG): Now 32.
39131
39132 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39133 initializer on [_LIBC_REENTRANT].
39134
39135 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39136 definitions inside [_POSIX_MAPPED_FILES].
39137
39138 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39139
39140 * dirent/opendir.c: Include <fcntl.h>.
39141
39142 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39143 (__libc_getspecific): Likewise.
39144 (__libc_key_create): Likewise.
39145
39146 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39147 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39148 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39149 (tmpfile64): Define as alias.
39150 * sysdeps/wordsize-64/tmpfile.c: File removed.
39151 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39152 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39154
39155 * stdio-common/vfscanf.c: Include <stdbool.h>.
39156 * nss/makedb.c: Likewise.
39157 * stdio-common/_i18n_number.h: Likewise.
39158 * argp/argp-help.c: Likewise.
39159 * posix/wordexp.c: Likewise.
39160 * sysdeps/posix/spawni.c: Likewise.
39161 * nss/nss_files/files-initgroups.c: Likewise.
39162 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39163 * nss/nss_files/files-initgroups.c: Likewise.
39164 * nss/nss_db/db-netgrp.c: Likewise.
39165 * nss/nss_db/db-initgroups.c: Likewise.
39166 * io/fchmodat.c: Include <sys/stat.h>.
39167
39168 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39169 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39170
39171 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39172 [HAVE_MMAP].
39173
39174 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39175 Add multiple inclusion protection.
39176
391772012-07-27 David S. Miller <davem@davemloft.net>
39178
39179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39180
391812012-07-27 Gary Benson <gbenson@redhat.com>
39182
39183 [BZ #14298]
39184 * elf/rtld.c: Include <stap-probe.h>.
39185 (dl_main): Added static probes "init_start" and "init_complete".
39186 * elf/dl-load.c: Include <stap-probe.h>.
39187 (lose): Take new parameter "nsid".
39188 Added static probe "map_failed".
39189 (_dl_map_object_from_fd): Pass namespace id to lose.
39190 Added static probe "map_start".
39191 (open_verify): Pass namespace id to lose.
39192 * elf/dl-open.c: Include <stap-probe.h>.
39193 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39194 and "reloc_complete".
39195 * elf/dl-close.c: Include <stap-probe.h>.
39196 (_dl_close_worker): Added static probes "unmap_start" and
39197 "unmap_complete".
39198 * elf/rtld-debugger-interface.txt: New file documenting the above.
39199
392002012-07-26 Roland McGrath <roland@hack.frob.com>
39201
39202 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39203 rather than a string variable.
39204 * sunrpc/rpc_main.c (h_output): Likewise.
39205 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39206
392072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39208
39209 * inet/check_native.c: New file.
39210
392112012-07-26 Joseph Myers <joseph@codesourcery.com>
39212
39213 [BZ #13629]
39214 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39215 if larger part has absolute value 1.0.
39216 * math/s_clog10.c (__clog10): Likewise.
39217 * math/s_clog10f.c (__clog10f): Likewise.
39218 * math/s_clog10l.c (__clog10l): Likewise.
39219 * math/s_clogf.c (__clogf): Likewise.
39220 * math/s_clogl.c (__clogl): Likewise.
39221 * math/libm-test.inc (clog_test): Add more tests.
39222 (clog10_test): Likewise.
39223 * sysdeps/i386/fpu/libm-test-ulps: Update.
39224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39225
39226 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39227 (pltexit): Likewise.
39228 (La_regs): Likewise.
39229 (La_retval): Likewise.
39230 (int_retval): Likewise.
39231 Update #error for removed macros to refer only to definitions in
39232 tst-audit.h.
39233 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39234 macro.
39235 (pltexit): Likewise.
39236 (La_regs): Likewise.
39237 (La_retval): Likewise.
39238 (int_retval): Likewise.
39239 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39240 macro.
39241 (pltexit): Likewise.
39242 (La_regs): Likewise.
39243 (La_retval): Likewise.
39244 (int_retval): Likewise.
39245 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
39264 macro.
39265 (pltexit): Likewise.
39266 (La_regs): Likewise.
39267 (La_retval): Likewise.
39268 (int_retval): Likewise.
39269 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39270 macro definitions in tst-audit.h.
39271 * sysdeps/i386/tst-audit.h: New file.
39272 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39273 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39274 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39275 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39276 * sysdeps/sh/tst-audit.h: Likewise.
39277 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39278 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39279 * sysdeps/x86_64/tst-audit.h: Likewise.
39280
392812012-07-26 Andreas Jaeger <aj@suse.de>
39282
39283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39284 ptrace.
39285
39286 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39287 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39288 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39289 PTRACE_O_MASK.
39290 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39291 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39292 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39293
39294 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39295 value.
39296
39297 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39298 _sigsys.
39299 (si_call_addr, si_syscall, si_arch): Define new macro.
39300 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39301 _sigsys.
39302 (si_call_addr, si_syscall, si_arch): Define new marcro.
39303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39304 _sigsys.
39305 (si_call_addr, si_syscall, si_arch): Define new macro.
39306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39307 _sigsys.
39308 (si_call_addr, si_syscall, si_arch): Define new macro.
39309
393102012-07-25 Joseph Myers <joseph@codesourcery.com>
39311
39312 [BZ #13717]
39313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39314 Change to 2.4.21 where previously 2.4.1.
39315 * sysdeps/unix/sysv/linux/configure: Regenerated.
39316 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39317 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39318 Linux kernel version.
39319 (__ASSUME_STD_AUXV): Remove.
39320 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39321 kernel version.
39322 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39323 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39324 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39325 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39326 (__ASSUME_NETLINK_SUPPORT): Likewise.
39327 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39328 (__no_netlink_support): Remove conditional definition.
39329 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39330 Remove.
39331 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39332 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39333 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39334 (if_nameindex_ioctl): Remove.
39335 (if_nameindex_netlink): Do not handle __no_netlink_support.
39336 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39337 code.
39338 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39339 Remove conditional code.
39340 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39341 code.
39342 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39343 unconditional.
39344 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39345 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39346 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39347 Remove.
39348 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39349 [!__ASSUME_STD_AUXV]: Remove conditional code.
39350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39351 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39352 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39354 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39355 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39356 code.
39357 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39359 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39360 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39361 conditional code.
39362 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39364 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39365 code.
39366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39367 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39368 conditional code.
39369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39370 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39371 code unconditional.
39372 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39373 conditional code.
39374 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39375 unconditional.
39376 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39377 conditional code.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39379 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39380 unconditional.
39381 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39382 conditional code.
39383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39384 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39385 code unconditional.
39386 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39387 conditional code.
39388 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39389 unconditional.
39390 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39391 conditional code.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39393 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39394 code unconditional.
39395 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39396 conditional code.
39397 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39398 unconditional.
39399 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39400 conditional code.
39401
394022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39403
39404 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39405 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39406 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39407 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39408 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39409 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39410 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39411 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39412 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39413 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39414 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39415 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39416 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39417 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39418 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39419 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39420 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39422 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39424 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39425 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39427
394282012-07-25 Florian Weimer <fweimer@redhat.com>
39429
39430 * Versions.def: Add GLIBC_2.17.
39431 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39432 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39433 Introduce __libc_secure_getenv.
39434 * stdlib/Versions (2.17): Add secure_getenv
39435 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39436 * stdlib/secure-getenv.c: Rename __secure_getenv to
39437 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39438 symbol __secure_getenv for GLIBC_2.0.
39439 * stdlib/tst-secure-getenv.c: New.
39440 * stdlib/Makefile (tests): Add testcase.
39441 * manual/startup.texi (Environment Access): Document
39442 secure_getenv.
39443 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39444 __libc_secure_getenv.
39445 * inet/ruserpass.c (ruserpass): Likewise.
39446 * malloc/mtrace.c (mtrace): Likewise.
39447 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39448 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39449 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39450 * sysdeps/posix/tempname.c: Likewise. Evaluate
39451 HAVE_SECURE_GETENV.
39452 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39453 __secure_getenv to __libc_secure_getenv.
39454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39456 Likewise.
39457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39458 Likewise.
39459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39466
394672012-07-25 Joseph Myers <joseph@codesourcery.com>
39468
39469 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39470 (struct La_i86_retval): Likewise.
39471 (struct La_x86_64_regs): Likewise.
39472 (struct La_x86_64_retval): Likewise.
39473 (struct La_x32_regs): Likewise.
39474 (struct La_x32_retval): Likewise.
39475 (struct La_ppc32_regs): Likewise.
39476 (struct La_ppc32_retval): Likewise.
39477 (struct La_ppc64_regs): Likewise.
39478 (struct La_ppc64_retval): Likewise.
39479 (struct La_sh_regs): Likewise.
39480 (struct La_sh_retval): Likewise.
39481 (struct La_s390_32_regs): Likewise.
39482 (struct La_s390_32_retval): Likewise.
39483 (struct La_s390_64_regs): Likewise.
39484 (struct La_s390_64_retval): Likewise.
39485 (struct La_sparc32_regs): Likewise.
39486 (struct La_sparc32_retval): Likewise.
39487 (struct La_sparc64_regs): Likewise.
39488 (struct La_sparc64_retval): Likewise.
39489 (struct audit_ifaces): Remove architecture-specific pltenter and
39490 pltexit members.
39491 * sysdeps/i386/ldsodefs.h: New file.
39492 * sysdeps/powerpc/ldsodefs.h: Likewise.
39493 * sysdeps/s390/ldsodefs.h: Likewise.
39494 * sysdeps/sh/ldsodefs.h: Likewise.
39495 * sysdeps/sparc/ldsodefs.h: Likewise.
39496 * sysdeps/x86_64/ldsodefs.h: Likewise.
39497
394982012-07-25 Marek Polacek <polacek@redhat.com>
39499
39500 [BZ #6808]
39501 * math/libm-test.inc (yn_test): Add another test.
39502 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39503 to ERANGE when the result is +-Inf.
39504 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39505 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39506 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39507 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39508
395092012-07-24 Joseph Myers <joseph@codesourcery.com>
39510
39511 * conform/data/time.h-data (NULL): Use macro-constant. Require
39512 equal to 0.
39513 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39514 clock_t.
39515 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39516
395172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39518
39519 * configure.in <sysdeps resolving>: Correct printing
39520 Implies_before.
39521 * configure: Regenerate.
39522
395232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39524
39525 * math/w_ilogb.c: Include <limits.h>.
39526 * math/w_ilogbl.c: Likewise.
39527
395282012-07-20 Joseph Myers <joseph@codesourcery.com>
39529
39530 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39531 va_copy. Document allowing for unavailable va_copy only as
39532 pre-C99 compatibility.
39533 * manual/string.texi (Copying and Concatenation): Use va_copy
39534 instead of __va_copy in concat example.
39535
395362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39537
39538 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39539 (__sendto): Use create_address_port. Initialize APORT and deallocate
39540 it if not null.
39541
39542 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39543 with O_NOLINK passed to __file_name_lookup.
39544
39545 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39546 with O_NOLINK passed to __file_name_lookup.
39547
39548 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39549 negative N or less than NGIDS.
39550
39551 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39552 type to string_t. Set ERANGE as errno and return it if NAME is not big
39553 enough. Use memcpy instead of strncpy.
39554
395552012-07-20 Joseph Myers <joseph@codesourcery.com>
39556
39557 * elf/Makefile (check-data): Remove.
39558 (localplt.data): New vpath directive.
39559 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39560 instead of $(check-data).
39561 * scripts/data/localplt-generic.data: Move to ...
39562 * sysdeps/generic/localplt.data: ... here.
39563 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39564 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39565 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39567 ... here.
39568 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39570 ... here.
39571 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39573 ... here.
39574 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39576 ... here.
39577 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39579 ... here.
39580 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39582 ... here.
39583
395842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39585
39586 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39587 PPC32 and PPC64 files.
39588 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39589 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39590
395912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39592
39593 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39594 __makecontext_ret to ...
39595 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39596 ... here and call exit if uc_link is NULL. New file.
39597 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39598 __makecontext_ret.S.
39599 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39600 __makecontext_ret to ...
39601 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39602 ... here and call exit if uc_link is NULL. New file.
39603 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39604 __makecontext_ret.S.
39605
396062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39607
39608 * elf/elf.h (R_390_IRELATIVE): New definition.
39609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39610 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39611 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39612 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39613 (elf_machine_lazy_rel): Likewise.
39614 * sysdeps/s390/dl-irel.h: New file.
39615 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39616 * sysdeps/s390/s390-64/memset.S: New asm code.
39617 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39618 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39620 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39621 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39622 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39623 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39624 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39625 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39626 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39627 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39628 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39629 * sysdeps/s390/s390-32/memset.S: New asm code.
39630 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39631
396322012-07-17 Marek Polacek <polacek@redhat.com>
39633
39634 [BZ #14349]
39635 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39636 * sysdeps/s390/s390-64/configure.in: Likewise.
39637 * sysdeps/sparc/configure.in: Likewise.
39638 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39639 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39640 * sysdeps/i386/configure.in: Likewise.
39641 * sysdeps/x86_64/configure.in: Likewise.
39642 * sysdeps/sh/configure.in: Likewise.
39643 * sysdeps/s390/s390-32/configure: Regenerated.
39644 * sysdeps/s390/s390-64/configure: Likewise.
39645 * sysdeps/x86_64/configure: Likewise.
39646 * sysdeps/sh/configure: Likewise.
39647 * sysdeps/powerpc/powerpc64/configure: Likewise.
39648 * sysdeps/powerpc/powerpc32/configure: Likewise.
39649 * sysdeps/sparc/configure: Likwise.
39650 * sysdeps/i386/configure: Likewise.
39651
39652 * elf/dl-open.c: Comment fixes.
39653
396542012-07-17 Joseph Myers <joseph@codesourcery.com>
39655
39656 * Makefile [CXX] (check-data): Remove.
39657 [CXX] (c++-types.data): New vpath directive.
39658 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39659 vpath. Do not allow for C++ type data being missing.
39660 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39661 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39662 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39663 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39664 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39665 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39666 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39668 ... here.
39669 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39671 ... here.
39672 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39674 ... here.
39675 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39677 ... here.
39678 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39680 ... here.
39681 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39683 ... here.
39684 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39686 ... here.
39687 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39689
39690 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39691 definitions to architecture-specific files.
39692 (TLS_IE): Likewise.
39693 (TLS_LD): Likewise.
39694 (TLS_GD): Likewise.
39695 * sysdeps/i386/tls-macros.h: New file.
39696 * sysdeps/powerpc/tls-macros.h: Likewise.
39697 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39698 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39699 * sysdeps/sh/tls-macros.h: Likewise.
39700 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39701 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39702 * sysdeps/x86_64/tls-macros.h: Likewise.
39703
397042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39705
39706 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39707 zero value for regular exit case.
39708
39709 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39710 (__start_context): Preserve zero value for regular exit case.
39711
397122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39713 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39714
39715 * manual/setjmp.texi (setcontext): Clarify normal process
39716 termination when uc_link is the null pointer.
39717 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39718 exit call.
39719
397202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39721
39722 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39723 preprocessor. Test for each exception mask separately.
39724
397252012-07-16 Andreas Jaeger <aj@suse.de>
39726
39727 * po/ru.po: Update from translation team.
39728
397292012-07-15 Joseph Myers <joseph@codesourcery.com>
39730
39731 * conform/data/string.h-data (NULL): Use macro-constant. Require
39732 equal to 0.
39733 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39734 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39735 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39736 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39737 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39738
397392012-07-13 Andreas Jaeger <aj@suse.de>
39740
39741 * po/fr.po: Update from translation team.
39742
397432012-07-12 Marek Polacek <polacek@redhat.com>
39744
39745 [BZ #14173]
39746 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39747 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39748 loop condition.
39749
397502012-07-12 Joseph Myers <joseph@codesourcery.com>
39751
39752 [BZ #13717]
39753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39754 Change to 2.4.1 where previously 2.4.0.
39755 * sysdeps/unix/sysv/linux/configure: Regenerated.
39756 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39757 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39758 version.
39759 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39760 (__ASSUME_AT_CLKTCK): Remove.
39761 (__ASSUME_AT_PAGESIZE): Likewise.
39762 (__ASSUME_AT_XID): Likewise.
39763 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39764 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39765 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39766 unconditionally.
39767 (HAVE_AUX_PAGESIZE): Likewise.
39768 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39769 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39770 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39771
397722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39773
39774 [BZ #14307]
39775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39776 the temporary buffer used to invoke __gethostbyname2_r,
39777 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39778 host_data / struct gaih_addrtuple.
39779 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39780 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39781 header file nss/nsswitch.h.
39782 * nss/nsswitch.h (global scope): Add definition of implementation
39783 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39784 resolv/nss_dns/dns-host.c).
39785
397862012-07-11 Andreas Jaeger <aj@suse.de>
39787
39788 * po/fr.po: Update from translation team.
39789
39790 * po/sv.po: Update from translation team
39791 * po/fr.po: Another update from translation team.
39792
397932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39794
39795 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39796 for subnormals or multiply small sinh result by itself.
39797 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39799
398002012-07-11 David S. Miller <davem@davemloft.net>
39801
39802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39803
398042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39805
39806 [BZ #14347]
39807 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39808 (INTERNAL_MARK): Shift it here.
39809
398102012-07-10 Marek Polacek <polacek@redhat.com>
39811
39812 [BZ #14151]
39813 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39814 libc_cv_asm_global_directive with .globl.
39815 * configure: Regenerated.
39816 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39817 with .globl.
39818 * sysdeps/i386/configure: Regenerated.
39819 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39820 with .globl.
39821 * sysdeps/x86_64/configure: Regenerated.
39822 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39823 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39824 * elf/tst-unique2mod2.c: Likewise.
39825 * elf/tst-unique2mod1.c: Likewise.
39826 * elf/tst-unique1mod2.c: Likewise.
39827 * elf/tst-unique1mod1.c: Likewise.
39828 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39829 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39830 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39831 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39832 * sysdeps/mach/sysdep.h: Likewise.
39833 * sysdeps/i386/sysdep.h: Likewise.
39834 * sysdeps/i386/i386-mcount.S: Likewise.
39835 * sysdeps/x86_64/_mcount.S: Likewise.
39836 * sysdeps/x86_64/sysdep.h: Likewise.
39837 * sysdeps/sh/_mcount.S: Likewise.
39838 * sysdeps/sh/sysdep.h: Likewise.
39839 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39840 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39841 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39842 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39843 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39844 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39845 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39846 * locale/localeinfo.h: Likewise.
39847 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39848 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39849
398502012-07-09 Roland McGrath <roland@hack.frob.com>
39851
39852 [BZ #14336]
39853 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39854 system".
39855 * manual/message.texi (The Uniforum approach): Likewise.
39856 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39857 (glibc iconv Implementation): Likewise.
39858
398592012-07-09 Joseph Myers <joseph@codesourcery.com>
39860
39861 [BZ #14337]
39862 * math/s_clog.c (__clog): Avoid scaling a value down where that
39863 could result in underflow.
39864 * math/s_clog10.c (__clog10): Likewise.
39865 * math/s_clog10f.c (__clog10f): Likewise.
39866 * math/s_clog10l.c (__clog10l): Likewise.
39867 * math/s_clogf.c (__clogf): Likewise.
39868 * math/s_clogl.c (__clogl): Likewise.
39869 * math/libm-test.inc (clog_test): Add more tests.
39870 (clog10_test): Likewise.
39871 * sysdeps/i386/fpu/libm-test-ulps: Update.
39872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39873
398742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39875
39876 [BZ #14283]
39877 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39878 by 7 not 8 to examine high bit of fractional part.
39879
39880 [BZ #14042]
39881 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39882 for call to __mcount_internal.
39883 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39884 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39885 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39886
398872012-07-06 Joseph Myers <joseph@codesourcery.com>
39888
39889 [BZ #14154]
39890 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39891 approximation for values within 0x1p-13f of an odd multiple of
39892 pi/4.
39893 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39894 exception. Add more tests.
39895 * sysdeps/i386/fpu/libm-test-ulps: Update.
39896
39897 [BZ #6778]
39898 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39899 inputs and return -1 for them. Do not check for +Inf in case not
39900 reachable for +Inf.
39901 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39902 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39903 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39904 and return -1 for them. Do not check for +Inf in case not
39905 reachable for +Inf.
39906 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39907 define.
39908 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39909 and return -1 for them. Do not check for +Inf in case not
39910 reachable for +Inf.
39911 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39912 spurious underflow.
39913 * sysdeps/i386/fpu/libm-test-ulps: Update.
39914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39915
399162012-07-06 Mike Frysinger <vapier@gentoo.org>
39917
39918 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39919
399202012-07-05 Joseph Myers <joseph@codesourcery.com>
39921
39922 [BZ #14157]
39923 [BZ #14331]
39924 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39925 could result in spurious underflow. Scale down values above
39926 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39927 * math/s_csqrtf.c (__csqrtf): Likewise.
39928 * math/s_csqrtl.c (__csqrtl): Likewise.
39929 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39930 spurious underflow.
39931 * sysdeps/i386/fpu/libm-test-ulps: Update.
39932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39933
399342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39935
39936 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39937 xopen-msg.sed.
39938 * catgets/xopen-msg.awk: New file.
39939 * catgets/xopen-msg.sed: Removed.
39940
39941 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39942 po2text.sed.
39943 * intl/po2test.awk: New file.
39944 * intl/po2test.sed: Removed.
39945
399462012-07-04 Joseph Myers <joseph@codesourcery.com>
39947
39948 [BZ #14328]
39949 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39950 or multiply small sinh result by itself.
39951 * math/s_ctanf.c (__ctanf): Likewise.
39952 * math/s_ctanh.c (__ctanh): Likewise.
39953 * math/s_ctanhf.c (__ctanhf): Likewise.
39954 * math/s_ctanhl.c (__ctanhl): Likewise.
39955 * math/s_ctanl.c (__ctanl): Likewise.
39956 * math/libm-test.inc (ctan_test_tonearest): New function.
39957 (ctan_test_towardzero): Likewise.
39958 (ctan_test_downward): Likewise.
39959 (ctan_test_upward): Likewise.
39960 (ctanh_test_tonearest): Likewise.
39961 (ctanh_test_towardzero): Likewise.
39962 (ctanh_test_downward): Likewise.
39963 (ctanh_test_upward): Likewise.
39964 (main): Call these new functions.
39965 * sysdeps/i386/fpu/libm-test-ulps: Update.
39966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39967
399682012-07-03 Mike Frysinger <vapier@gentoo.org>
39969
39970 * .gitignore: Delete /ports entry.
39971
399722012-07-03 Andreas Jaeger <aj@suse.de>
39973
39974 * po/bg.po: Update from translation team.
39975 * po/cs.po: Likewise.
39976 * po/de.po: Likewise.
39977 * po/hr.po: Likewise.
39978 * po/nl.pl: Likewise.
39979 * po/pl.po: Likewise.
39980 * po/vi.po: Likewise.
39981
399822012-07-03 Joseph Myers <joseph@codesourcery.com>
39983
39984 * Makeconfig [!+link] (+link-before-libc): New variable.
39985 [!+link] (+link-after-libc): Likewise.
39986 [!+link] (+link-tests): Likewise.
39987 [!+link] (+link): Define in terms of $(+link-before-libc) and
39988 $(+link-after-libc).
39989 [!+link-static] (+link-static-before-libc): New variable.
39990 [!+link-static] (+link-static-after-libc): Likewise.
39991 [!+link-static] (+link-static-tests): Likewise.
39992 [!+link-static] (+link-static): Define in terms of
39993 $(+link-static-before-libc) and $(+link-static-after-libc).
39994 [build-shared] (link-libc-before-gnulib): New variable.
39995 [build-shared] (link-libc-tests): Likewise.
39996 [build-shared] (link-libc): Define in terms of
39997 $(link-libc-before-gnulib).
39998 [!build-shared] (link-libc-tests): New variable.
39999 (link-libc-static-tests): New variable.
40000 [!gnulib] (gnulib-arch): New variable.
40001 [!gnulib] (gnulib-tests): Likewise.
40002 [!gnulib] (static-gnulib-arch): Likewise.
40003 [!gnulib] (static-gnulib-tests): Likewise.
40004 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40005 Define with "=" instead of ":=".
40006 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40007 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40008 * Rules (binaries-all-notests): New variable.
40009 (binaries-all-tests): Likewise.
40010 (binaries-static-notests): Likewise.
40011 (binaries-static-tests): Likewise.
40012 (binaries-all): Define using $(binaries-all-notests) and
40013 $(binaries-all-tests).
40014 (binaries-static): Define using $(binaries-static-notests) and
40015 $(binaries-static-tests).
40016 (binaries-shared-tests): New variable.
40017 (binaries-shared-notests): Likewise.
40018 (binaries-shared): Remove variable.
40019 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40020 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40021 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40022 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40023 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40024 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40025 * elf/Makefile (sln-modules): New variable.
40026 (extra-objs): Add $(sln-modules:=.o).
40027 (ldconfig-modules): Add static-stubs.
40028 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40029 * elf/static-stubs.c: New file.
40030
40031 [BZ #14283]
40032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40033 by 7 not 8 to examine high bit of fractional part. Use volatile
40034 variables when splitting into final array of floats if
40035 __FLT_EVAL_METHOD__ != 0.
40036 * math/libm-test.inc (cos_test): Add another test.
40037 (sin_test): Likewise.
40038 * sysdeps/i386/fpu/libm-test-ulps: Update.
40039
40040 [BZ #14273]
40041 * math/libm-test.inc (cosh_test): Add more tests.
40042
40043 * version.h (RELEASE): Set to "development".
40044 (VERSION): Set to "2.16.90".
40045
400462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40047
40048 * NEWS: Update copyright. Remove last-updated date.
40049 Mention math library bug fixes and timezone data changes.
40050 * README: Mention GNU/Hurd, x32, and HPPA support status.
40051
400522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40053
40054 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40055
400562012-06-27 Andreas Jaeger <aj@suse.de>
40057
40058 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40059
400602012-06-25 Andreas Jaeger <aj@suse.de>
40061
40062 * sysdeps/s390/fpu/libm-test-ulps: Update.
40063
400642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40065 Thomas Schwinge <thomas@codesourcery.com>
40066
40067 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40068 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40069 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40070 fanotify_mark.
40071
400722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40073
40074 * sysdeps/mach/start.c: Remove file.
40075 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40076 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40077 * sysdeps/sh/init-first.c: Likewise.
40078
40079 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40080 registers for frame unwinding purposes, add CFI directives.
40081 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40082 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40083 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40084 Likewise.
40085
40086 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40087 __fortify_fail returning.
40088 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40089
40090 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40091 sysdeps/sh/____longjmp_chk.S.
40092 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40093 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40094 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40095 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40096
40097 * sysdeps/sh/abort-instr.h: New file.
40098 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40099 process in case exit returns.
40100
40101 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40102 initialize the GOT register before use.
40103
40104 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40105 calculation of ARGC > 4.
40106
40107 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40108 meaningful names to some local labels.
40109
401102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40111 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40112
40113 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40114 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40115 (__arch_compare_and_exchange_val_16_acq): Likewise.
40116 (__arch_compare_and_exchange_val_32_acq): Likewise.
40117 (atomic_exchange_and_add): Fix gUSA sequence.
40118 (atomic_add): Likewise.
40119 (atomic_add_negative): Likewise.
40120 (atomic_add_zero): Likewise.
40121 (atomic_bit_test_set): Likewise.
40122
401232012-06-22 Andreas Schwab <schwab@redhat.com>
40124
40125 [BZ #13579]
40126 * include/link.h (struct link_map): Add l_free_initfini.
40127 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40128 l_initfini.
40129 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40130 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40131 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40132 set.
40133
401342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40135
40136 * configure.in: Use AC_LANG_SOURCE.
40137 * configure: Regenerate.
40138
401392012-06-22 Roland McGrath <roland@hack.frob.com>
40140
40141 * configure.in (libc_cv_localstatedir): New substituted variable.
40142 * configure: Regenerated.
40143 * config.make.in (localstatedir): New variable, substituted from
40144 libc_cv_localstatedir.
40145 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40146 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40147 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40148 * sysdeps/gnu/configure: Regenerated.
40149
401502012-06-21 Jeff Law <law@redhat.com>
40151
40152 [BZ #14277]
40153 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40154 free. Simplify list management for _LIBC case.
40155
401562012-06-21 Joseph Myers <joseph@codesourcery.com>
40157
40158 [BZ #14273]
40159 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40160 Clear sign bit of 64-bit integer value before comparing against
40161 overflow value.
40162
40163 * sysdeps/mach/configure: Regenerated.
40164
401652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40166
40167 [BZ #14278]
40168 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40169
401702012-06-21 Jeff Law <law@redhat.com>
40171
40172 [BZ #13882]
40173 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40174 uint16_t for elements in the "seen" array to avoid char overflows.
40175 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40176 * elf/dl-open.c (dl_open_worker): Likewise.
40177
401782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40179
40180 * scripts/list-sources.sh: Scan PORTS for translations.
40181 * po/libc.pot: Regenerated.
40182
401832012-06-21 Andreas Jaeger <aj@suse.de>
40184
40185 [BZ #12194]
40186 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40187 warning.
40188 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40189 * bits/byteswap-16.h (__bswap_16): Likewise.
40190 * bits/byteswap.h (__bswap_constant_16): Likewise.
40191
401922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40193
40194 [BZ #14117]
40195 * sysdeps/i386/fpu_control.h: Removed.
40196 * sysdeps/x86_64/fpu_control.h: Moved to ...
40197 * sysdeps/x86/fpu_control.h: Here.
40198
40199 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40200 (_FPU_SETCW): Likewise.
40201
402022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40203
40204 [BZ #14117]
40205 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40206 * sysdeps/x86/fpu/bits/mathinline.h: This.
40207 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40208
40209 [BZ #14050]
40210 [BZ #14117]
40211 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40212 functions if __x86_64__ is defined.
40213
402142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40215
40216 * string/endian.h: Add !__ASSEMBLER__ condition for including
40217 conversion interfaces.
40218
402192012-06-15 Joseph Myers <joseph@codesourcery.com>
40220
40221 [BZ #14241]
40222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40223 of ABS(x) in calculating zero to negative powers other than odd
40224 integers.
40225 * math/libm-test.inc (pow_test): Add more tests.
40226
402272012-06-15 Andreas Jaeger <aj@suse.de>
40228
40229 * manual/contrib.texi (Contributors): Update entry of Liubov
40230 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40231 Machado Filho.
40232
402332012-06-15 Cyril Hrubis <metan@ucw.cz>
40234
40235 * string/string.h: Add __wur to GNU version of strerror_r.
40236
402372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40238
40239 [BZ #14229]
40240 * string/Makefile (tests): Add tst-strtok_r.
40241 * string/tst-strtok_r.c: New file.
40242 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40243 RAX_LP/RDX_LP on SAVE_PTR.
40244
402452012-06-14 Roland McGrath <roland@hack.frob.com>
40246
40247 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40248
402492012-06-14 Joseph Myers <joseph@codesourcery.com>
40250
40251 * libm_test.inc (csqrt_test): Allow more spurious underflow
40252 exceptions.
40253 (j0_test): Likewise.
40254 (j1_test): Likewise.
40255 (y0_test): Likewise.
40256 (y1_test): Likewise.
40257
402582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40259
40260 * po/Makefile (libc.pot): Use UTF-8 charset.
40261
402622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40263
40264 [BZ #14210]
40265 Suppress sign-conversion warning from FD_SET.
40266 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40267 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40268 not unsigned long int.
40269 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40270
402712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40272
40273 [BZ #14050]
40274 [BZ #14117]
40275 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40276 __extern_always_inline instead of __extern_inline.
40277 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40278 (__signbit): Likewise.
40279 (__signbitl): Support C++ namespace.
40280 (lrintf): New inline function.
40281 (lrint): Likewise.
40282 (llrintf): Likewise.
40283 (llrint): Likewise.
40284 (fmaxf): Likewise.
40285 (fmax): Likewise.
40286 (fminf): Likewise.
40287 (fmin): Likewise.
40288 (rint): Likewise.
40289 (rintf): Likewise.
40290 (ceil): Likewise.
40291 (ceilf): Likewise.
40292 (floor): Likewise.
40293 (floorf): Likewise.
40294 (nearbyint): Likewise.
40295 (nearbyintf): Likewise.
40296
402972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40298
40299 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40300 non-default versions.
40301
403022012-06-11 Roland McGrath <roland@hack.frob.com>
40303
40304 [BZ #14218]
40305 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40306
403072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40308
40309 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40310 (FE_UPWARD, FE_DOWNWARD): Don't define.
40311 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40313
40314 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40315 reading it.
40316 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40317 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40318
403192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40320
40321 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40323 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40324 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40325
403262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40327
40328 [BZ #14117]
40329 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40330 * sysdeps/i386/fpu/Implies: New file.
40331 * sysdeps/x86_64/fpu/Implies: Likewise.
40332 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40333 * sysdeps/x86/fpu/bits/fenv.h: This.
40334
40335 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40336 __SSE_MATH__.
40337
403382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40339
40340 [BZ #14134]
40341 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40342 character 0xffff that matches the last element of the
40343 conversion table.
40344
403452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40346
40347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40348 fmodl commit.
40349
403502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40351
40352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40353 values higher than 25.6283.
40354
403552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40356
40357 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40358 subnormal exponent extraction and add some __builtin_expect.
40359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40360 Fix for subnormal mantissa calculation.
40361
403622012-06-04 Mike Frysinger <vapier@gentoo.org>
40363
40364 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40365 cpu2 is -1 and errno is not ENOSYS.
40366
403672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40368
40369 [BZ #14117]
40370 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40371 * sysdeps/x86/bits/string.h: This.
40372 * sysdeps/x86_64/bits/string.h: Removed.
40373
40374 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40375 if not compiling for x86-64, but compiling for >= i486.
40376
40377 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40378 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40379
40380 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40381 New macro from Linux kernel 3.4.0.
40382 (FP_XSTATE_MAGIC2): Likewise.
40383 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40384 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40385 (struct _fpx_sw_bytes): New struct.
40386 (struct _xsave_hdr): Likewise.
40387 (struct _ymmh_state): Likewise.
40388 (struct _xstate): Likewise.
40389
40390 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40391 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40393 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40395 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40396
40397 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40398 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40399 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40400 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40401 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40402 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40403
404042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40405
40406 [BZ #13743]
40407 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40408 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40409 (sysdep_headers): Include sys/platform/ppc.h.
40410 * sysdeps/powerpc/test-gettimebase.c: Test for
40411 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40412 * manual/Makefile (appendices): Include platform.texi.
40413 * manual/contrib.texi (Contributors): Update @node pointers.
40414 * manual/maint.texi (Maintenance): Likewise.
40415 (Platform): New node.
40416 * manual/platform.texi: New file. Document the new features.
40417
404182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40419 Jakub Jelinek <jakub@redhat.com>
40420
40421 [BZ #14188]
40422 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40423 where __builtin_expect is unavailable.
40424
404252012-06-03 David S. Miller <davem@davemloft.net>
40426
40427 * stdlib/longlong.h: Updated from GCC.
40428
404292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40430
40431 [BZ #14042]
40432 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40433 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40434 __mcount_internal.
40435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40436 (GLIBC_2.16): Likewise.
40437
404382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40439
40440 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40441
404422012-06-01 Joseph Myers <joseph@codesourcery.com>
40443
40444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40445 (default-abi): New variable.
40446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40447 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40448 variable.
40449 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40450 Likewise.
40451 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40452 Likewise.
40453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40454 Likewise.
40455
40456 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40457 definition. Document in comment.
40458
404592012-06-01 David S. Miller <davem@davemloft.net>
40460
40461 * stdlib/longlong.h: Updated from GCC.
40462
404632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40464
40465 [BZ #14117]
40466 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40467 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40468 sys/debugreg.h sys/io.h here.
40469 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40470 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40471 sys/io.h.
40472 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40473 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40474 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40475 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40476 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40477 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40478
40479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40480 Define only if __x86_64__ is defined.
40481
404822012-06-01 Joseph Myers <joseph@codesourcery.com>
40483
40484 [BZ #14048]
40485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40486 Use int64_t for variable i.
40487 * math/libm-test.inc (fmod_test): Add more tests.
40488
40489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40490 z computation is not scheduled after fetestexcept.
40491 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40492 Use math_force_eval instead of asm to ensure calculation scheduled
40493 before exception test.
40494 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40495 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40496
404972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40498
40499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40500 computation is not scheduled after fetestexcept.
40501
405022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40503
40504 [BZ #14117]
40505 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40506 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40507
405082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40509
40510 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40511 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40512
405132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40514
40515 [BZ #14117]
40516 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40517 <bits/wordsize.h>.
40518 (__WCHAR_MIN): Support __WORDSIZE == 64.
40519 (__WCHAR_MAX): Likewise.
40520
40521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40522 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40523
40524 [BZ #14183]
40525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40526 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40527
40528 [BZ #14117]
40529 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40530 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40531
40532 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40533 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40534
40535 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40536 Defined to 1 if __x86_64__ isn't defined.
40537 (_STAT_VER_LINUX_OLD): New.
40538 (st_atime): Remove duplicate.
40539 (st_mtime): Likewise.
40540 (st_ctime): Likewise.
40541
405422012-05-31 David S. Miller <davem@davemloft.net>
40543
40544 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40545 entries.
40546
405472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40548
40549 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40550 gen-libm-test.pl.
40551
40552 [BZ #14132]
40553 * elf/dl-reloc.c: Include <_itoa.h>.
40554 (_dl_reloc_bad_type): Remove use of INTUSE.
40555 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40556 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40557 * stdio-common/psiginfo.c (psiginfo): Likewise.
40558 * stdio-common/psignal.c (psignal): Likewise.
40559 * string/strsignal.c (strsignal): Likewise.
40560 * include/signal.h (_sys_siglist): Declare hidden proto.
40561 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40562 INTVARDEF with libc_hidden_data_def.
40563 * stdio-common/itoa-udigits.c: Likewise.
40564 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40565 (_itoa_lower_digits_internal): Remove declaration.
40566 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40567 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40568 (_sys_sigabbrev_internal): Remove aliases.
40569 (_sys_siglist): Define hidden alias.
40570
405712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40572
40573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40574 bits/sysctl.h.
40575
405762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40577
40578 [BZ #14117]
40579 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40580 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40581
40582 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40583 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40584 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40585 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40587 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40588
40589 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40590 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40591 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40592
40593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40594 with __addr.
40595 (insw): Likewise.
40596 (insl): Likewise.
40597 (outsb): Likewise.
40598 (outsw): Likewise.
40599 (outsl): Likewise.
40600
40601 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40602 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40603 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40604
40605 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40606 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40607 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40608 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40609 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40610 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40611
40612 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40613 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40614
40615 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40616 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40617
40618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40621
40622 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40623 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40624 to ...
40625 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40626
40627 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40628 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40629 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40630
40631 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40632 for x86-64.
40633 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40634
406352012-05-31 Joseph Myers <joseph@codesourcery.com>
40636
40637 * math/math.h (M_El): Use two more decimal places.
40638 (M_LOG2El): Likewise.
40639 (M_LOG10El): Likewise.
40640 (M_LN2l): Likewise.
40641 (M_LN10l): Likewise.
40642 (M_PIl): Likewise.
40643 (M_PI_2l): Likewise.
40644 (M_PI_4l): Likewise.
40645 (M_1_PIl): Likewise.
40646 (M_2_PIl): Likewise.
40647 (M_2_SQRTPIl): Likewise.
40648 (M_SQRT2l): Likewise.
40649 (M_SQRT1_2l): Likewise.
40650
406512012-05-31 David S. Miller <davem@davemloft.net>
40652
40653 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40654 values between float registers.
40655 * sysdeps/sparc/sparc64/memset.S: Likewise.
40656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40657
406582012-05-31 Mike Frysinger <vapier@gentoo.org>
40659
40660 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40661 -D_FORTIFY_SOURCE=1.
40662 (CPPFLAGS-tst-longjmp_chk.c): Define.
40663 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40664 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40665 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40666 CFLAGS-tst-wchar-h.c.
40667
406682012-05-31 Marek Polacek <polacek@redhat.com>
40669
40670 [BZ #14132]
40671 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40672 __endmntent_internal): Remove declaration.
40673 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40674 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40675 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40676
406772012-05-30 David S. Miller <davem@davemloft.net>
40678
40679 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40680 (___Q_simulate_exceptions): Use real FP ops rather than writing
40681 into the %fsr.
40682 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40683 Likewise.
40684
406852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40686
40687 [BZ #14117]
40688 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40689 * sysdeps/x86/bits/xtitypes.h: This.
40690
40691 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40692 * sysdeps/x86/bits/wordsize.h: This.
40693
40694 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40695 * sysdeps/x86/bits/huge_vall.h: This.
40696
40697 * sysdeps/i386/bits/select.h: Removed.
40698 * sysdeps/x86_64/bits/select.h: Renamed to ...
40699 * sysdeps/x86/bits/select.h: This.
40700
40701 * sysdeps/i386/bits/setjmp.h: Removed.
40702 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40703 * sysdeps/x86/bits/setjmp.h: This.
40704
40705 * sysdeps/i386/bits/mathdef.h: Removed.
40706 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40707 * sysdeps/x86/bits/mathdef.h: This.
40708
407092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40710
40711 [BZ #14132]
40712 * include/sys/socket.h (__connect_internal)
40713 (__libc_sa_len_internal): Remove declaration.
40714 (__connect, __libc_sa_len): Declare hidden_proto.
40715 (SA_LEN): Remove use of INTUSE.
40716 * socket/connect.c: Add libc_hidden_def.
40717 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40718 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40719 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40720 alias.
40721 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40723 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40724 of adding _internal alias.
40725
407262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40727
40728 [BZ #14117]
40729 * sysdeps/i386/bits/link.h: Removed.
40730 * sysdeps/i386/bits/linkmap.h: Likewise.
40731 * sysdeps/x86_64/bits/link.h: Renamed to ...
40732 * sysdeps/x86/bits/link.h: This.
40733 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40734 * sysdeps/x86/bits/linkmap.h: This.
40735
40736 * sysdeps/i386/bits/endian.h: Removed.
40737 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40738 * sysdeps/x86/bits/endian.h: This.
40739
40740 * sysdeps/i386/bits/byteswap.h: Removed.
40741 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40742 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40743 * sysdeps/x86/bits/byteswap.h: This.
40744 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40745 * sysdeps/x86/bits/byteswap-16.h: This.
40746 * sysdeps/i386/Implies: Add x86.
40747 * sysdeps/x86_64/Implies: Likewise.
40748
407492012-05-30 David S. Miller <davem@davemloft.net>
40750
40751 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40752 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40753 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40754 (FP_TRAPPING_EXCEPTIONS): Define.
40755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40756 (FP_TRAPPING_EXCEPTIONS): Define.
40757 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40758 subnormals only when inexact has been signalled or underflow
40759 exceptions are enabled.
40760 (_FP_PACK_CANONICAL): Likewise.
40761
407622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40763
40764 [BZ #14183]
40765 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40766 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40767
407682012-05-30 Richard Henderson <rth@twiddle.net>
40769
40770 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40771 with #ifndef NOT_IN_libc.
40772
40773 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40774 marked to avoid plt entry.
40775
407762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40777
40778 [BZ #14112]
40779 * Makeconfig (default-abi): New macro.
40780 (abi-includes): Likewise.
40781 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40782 $(abi-$(default-abi)-lib-soname) for soname if defined.
40783 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40784 abi-variants.
40785 * Makefile (installed-stubs): Likewise.
40786 * include/stubs-biarch.h: Removed.
40787 * scripts/lib-names.awk: Only handle one library at a time.
40788 * scripts/soversions.awk: Remove WORDSIZE support.
40789 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40790 entries.
40791 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40792 Removed.
40793 (syscall-list-default-condition): Likewise.
40794 (syscall-list-default-condition): Likewise.
40795 (syscall-list-includes): Likewise.
40796 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40797 syscall-list-* with abi-*. Handle undefined abi-variants.
40798 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40799 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40800 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40801 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40802 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40803 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40804 Removed.
40805 (syscall-list-32-options): Likewise.
40806 (syscall-list-32-condition): Likewise.
40807 (syscall-list-64-options): Likewise.
40808 (syscall-list-64-condition): Likewise.
40809 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40810 macro.
40811 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40812 Renamed to ...
40813 (abi-*): This.
40814 (abi-64-ld-soname): New macro.
40815 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40816 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40817 Renamed to ...
40818 (abi-*): This.
40819 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40820 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40821
408222012-05-30 Joseph Myers <joseph@codesourcery.com>
40823
40824 * sysdeps/unix/sysv/linux/kernel-features.h
40825 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40826 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40827 include <kernel-features.h>.
40828 [!__NR_ftruncate64]: Remove conditional code.
40829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40830 [__NR_ftruncate64]: Make code unconditional.
40831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40832 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40833 include <kernel-features.h>.
40834 [!__NR_ftruncate64]: Remove conditional code.
40835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40836 [__NR_ftruncate64]: Make code unconditional.
40837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
40851 * configure.in (libc_cv_fpie): Weaken to a compile test using
40852 LIBC_TRY_CC_OPTION.
40853 * configure: Regenerated.
40854
408552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40856
40857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40861 Refreshed.
40862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40868 Refreshed.
40869
408702012-05-27 David S. Miller <davem@davemloft.net>
40871
40872 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40873 (___Q_zero): New.
40874 (__Q_simulate_exceptions): Return void. Change to simulate
40875 exceptions by writing into the %fsr.
40876 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40877 (__Qp_handle_exceptions): Likewise.
40878 (numbers): Delete.
40879 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40880 __Qp_handle_exceptions.
40881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40882 __Qp_handle_exceptions.
40883 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40884 as unused and give dummy FP_RND_NEAREST initializer.
40885 (FP_INHIBIT_RESULTS): Define.
40886 (___Q_simulate_exceptions): Update declaration.
40887 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40888 formatting.
40889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40890 as unused and give dummy FP_RND_NEAREST initializer.
40891 (__Qp_handle_exceptions): Update declaration.
40892 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40893 formatting.
40894
408952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40896
40897 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40898 the temporary FPU control word.
40899 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40900 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40901 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40902 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40903 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40904 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40905 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40907 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40908 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40909 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40910
409112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40912
40913 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40914 fields.
40915
409162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40917
40918 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40919 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40920 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40921 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40922 Likewise.
40923 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40924 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40925 Likewise.
40926
409272012-05-27 Ulrich Drepper <drepper@gmail.com>
40928
40929 * po/h.po: Update from translation team.
40930
409312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40932
40933 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40934
40935 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40936 handling of denormals.
40937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40938 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40939 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40940 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40944 Likewise.
40945
409462012-05-26 Marek Polacek <polacek@redhat.com>
40947
40948 [BZ #14152]
40949 * math/libm-test.inc (fma_test): Don't always expect underflow
40950 exception.
40951
409522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40953
40954 [BZ #12416]
40955 * elf/tst-execstack.c: Include stackinfo.h.
40956 (do_test): Adjust test case to ensure that pthread_getattr_np
40957 behaviour remains the same after marking stack executable.
40958
409592012-05-25 Joseph Myers <joseph@codesourcery.com>
40960
40961 * sysdeps/unix/sysv/linux/kernel-features.h
40962 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40963 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40964 kernel-features.h.
40965 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40966 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40967 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40968 kernel-features.h.
40969 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40970 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40971
409722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40973
40974 * configure.in: Define the default includes to being none.
40975 * configure: Regenerated.
40976
409772012-05-25 Roland McGrath <roland@hack.frob.com>
40978
40979 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40980 * sysdeps/x86_64/setjmp.S: Likewise.
40981 * sysdeps/i386/bsd-setjmp.S: Likewise.
40982 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40983 * sysdeps/i386/setjmp.S: Likewise.
40984 * sysdeps/i386/__longjmp.S: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40986 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40987
40988 * include/stap-probe.h: New file.
40989 * configure.in: Handle --enable-systemtap.
40990 * configure: Regenerated.
40991 * config.h.in (USE_STAP_PROBE): New #undef.
40992 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40993 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40994 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40995
409962012-05-25 Joseph Myers <joseph@codesourcery.com>
40997
40998 [BZ #13717]
40999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41000 to 2.4.0 where earlier.
41001 * sysdeps/unix/sysv/linux/configure: Regenerated.
41002 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41003 <kernel-features.h>.
41004 [__ASSUME_32BITUIDS]: Make code unconditional.
41005 [!__ASSUME_32BITUIDS]: Remove conditional code.
41006 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41007 <kernel-features.h>.
41008 [__ASSUME_32BITUIDS]: Make code unconditional.
41009 [!__ASSUME_32BITUIDS]: Remove conditional code.
41010 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41011 [__ASSUME_32BITUIDS]: Make code unconditional.
41012 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41013 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41014 <kernel-features.h>.
41015 [__ASSUME_32BITUIDS]: Make code unconditional.
41016 [!__ASSUME_32BITUIDS]: Remove conditional code.
41017 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41018 <kernel-features.h>.
41019 [__ASSUME_32BITUIDS]: Make code unconditional.
41020 [!__ASSUME_32BITUIDS]: Remove conditional code.
41021 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41022 <kernel-features.h>.
41023 [__ASSUME_32BITUIDS]: Make code unconditional.
41024 [!__ASSUME_32BITUIDS]: Remove conditional code.
41025 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
41054 <kernel-features.h>.
41055 [__NR_setresgid] (__setresgid): Do not declare.
41056 [__ASSUME_32BITUIDS]: Make code unconditional.
41057 [!__ASSUME_32BITUIDS]: Remove conditional code.
41058 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41059 <kernel-features.h>.
41060 [__NR_setresuid] (__setresuid): Do not declare.
41061 [__ASSUME_32BITUIDS]: Make code unconditional.
41062 [!__ASSUME_32BITUIDS]: Remove conditional code.
41063 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41064 <kernel-features.h>.
41065 [__ASSUME_32BITUIDS]: Make code unconditional.
41066 [!__ASSUME_32BITUIDS]: Remove conditional code.
41067 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41068 <kernel-features.h>.
41069 [__ASSUME_32BITUIDS]: Make code unconditional.
41070 [!__ASSUME_32BITUIDS]: Remove conditional code.
41071 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41072 <kernel-features.h>.
41073 [__ASSUME_32BITUIDS]: Make code unconditional.
41074 [!__ASSUME_32BITUIDS]: Remove conditional code.
41075 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
41104 (__ASSUME_SETRESUID_SYSCALL): Remove.
41105 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41106 (__ASSUME_32BITUIDS): Likewise.
41107 (__ASSUME_LDT_WORKS): Likewise.
41108 (__ASSUME_O_DIRECTORY): Likewise.
41109 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41110 architecture but not kernel version.
41111 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41112 (__ASSUME_MMAP2_SYSCALL): Likewise.
41113 (__ASSUME_STAT64_SYSCALL): Likewise.
41114 (__ASSUME_IPC64): Likewise.
41115 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41116 <kernel-features.h>.
41117 [__ASSUME_32BITUIDS]: Make code unconditional.
41118 [!__ASSUME_32BITUIDS]: Remove conditional code.
41119 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41120 <kernel-features.h>.
41121 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41122 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41123 132096]: Remove conditional code.
41124 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41125 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41126 <kernel-features.h>.
41127 [__ASSUME_32BITUIDS]: Make code unconditional.
41128 [!__ASSUME_32BITUIDS]: Remove conditional code.
41129 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41130 <kernel-features.h>.
41131 [__ASSUME_32BITUIDS]: Make code unconditional.
41132 [!__ASSUME_32BITUIDS]: Remove conditional code.
41133 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41134 <kernel-features.h>.
41135 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41136 unconditional.
41137 (__setresgid): Do not declare.
41138 [__ASSUME_32BITUIDS]: Make code unconditional.
41139 [!__ASSUME_32BITUIDS]: Remove conditional code.
41140 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41141 <kernel-features.h>.
41142 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41143 unconditional.
41144 (__setresuid): Do not declare.
41145 [__ASSUME_32BITUIDS]: Make code unconditional.
41146 [!__ASSUME_32BITUIDS]: Remove conditional code.
41147 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41148 <kernel-features.h>.
41149 [__ASSUME_32BITUIDS]: Make code unconditional.
41150 [!__ASSUME_32BITUIDS]: Remove conditional code.
41151 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41152 <kernel-features.h>.
41153 [__ASSUME_32BITUIDS]: Make code unconditional.
41154 [!__ASSUME_32BITUIDS]: Remove conditional code.
41155
411562012-05-25 Richard Henderson <rth@twiddle.net>
41157
41158 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41159 dl_hwcap to ifunc resolver.
41160 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41161 elf_ifunc_invoke.
41162 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41163 dl_hwcap to ifunc resolver.
41164 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41165
411662012-05-24 Joseph Myers <joseph@codesourcery.com>
41167
41168 [BZ #14153]
41169 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41170 for |x| <= 2**-26, not 2**-57.
41171 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41172 exception.
41173
411742012-05-24 Jeff Law <law@redhat.com>
41175
41176 * stdio-common/Makefile (tests): Add bug25.
41177 * stdio-common/bug25.c: New test.
41178
411792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41180
41181 [BZ #13576]
41182 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41183 multiple of MALLOC_ALIGNMENT in size.
41184 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41185
411862012-05-24 Joseph Myers <joseph@codesourcery.com>
41187
41188 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41189 Require >= 256.
41190 (FILENAME_MAX): Use macro-int-constant.
41191 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41192 (_IOFBF): Use macro-int-constant.
41193 (_IOLBF): Likewise.
41194 (_IONBF): Likewise.
41195 (SEEK_CUR): Likewise.
41196 (SEEK_END): Likewise.
41197 (SEEK_SET): Likewise.
41198 (TMP_MAX): Likewise.
41199 (EOF): Use macro-int-constant. Require < 0.
41200 (NULL): Use macro-constant. Require == 0.
41201 (stdin): Require type to be FILE *.
41202 (stdout): Likewise.
41203 (stderr): Likewise.
41204 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41205 macro-int-constant.
41206 (EXIT_SUCCESS): Likewise.
41207 (NULL): Use macro-constant. Require == 0.
41208 (RAND_MAX): Use macro-int-constant.
41209 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41210 [C99-based standards] (strtof): Require function.
41211 [C99-based standards] (strtold): Likewise.
41212 [C99-based standards] (strtoll): Likewise.
41213 [C99-based standards] (strtoull): Likewise.
41214 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41215 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41216 [ISO || ISO99 || ISO11] (math.h): Likewise.
41217 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41218 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41220
412212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41222
41223 [BZ #14132]
41224 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41225 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41226 * intl/dgettext.c (DCGETTEXT): Likewise.
41227 * intl/gettext.c (DCGETTEXT): Likewise.
41228 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41229 * posix/regex_internal.h (gettext): Likewise.
41230 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41231 Remove declaration.
41232 * include/argz.h (__argz_count_internal)
41233 (__argz_stringify_internal): Remove declaration.
41234 (__argz_count, __argz_stringify): Declare hidden proto.
41235 * intl/dcgettext.c: Remove use of INTDEF.
41236 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41237 * string/argz-stringify.c: Likewise.
41238 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41239 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41240 Declare hidden proto.
41241 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41242 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41243 Declare hidden proto.
41244 * include/stdio.h (__asprintf_internal): Don't declare.
41245 (__asprintf): Don't define as macro. Declare hidden proto.
41246 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41247 (__fsetlocking): Declare hidden proto.
41248 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41249 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41250 hidden proto.
41251 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41252 (_IO_setlinebuf): Remove use of INTUSE.
41253 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41254 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41255 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41256 Remove declaration.
41257 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41258 (_IO_do_flush): Remove use of INTUSE.
41259 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41260 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41261 (_IO_adjust_column, _IO_least_wmarker)
41262 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41263 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41264 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41265 (_IO_default_doallocate, _IO_wdefault_doallocate)
41266 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41267 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41268 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41269 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41270 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41271 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41272 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41273 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41274 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41275 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41276 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41277 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41278 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41279 proto.
41280 (_IO_flush_all_internal, _IO_adjust_column_internal)
41281 (_IO_default_uflow_internal, _IO_default_finish_internal)
41282 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41283 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41284 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41285 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41286 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41287 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41288 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41289 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41290 (_IO_file_close_internal, _IO_file_close_it_internal)
41291 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41292 (_IO_file_init_internal, _IO_file_attach_internal)
41293 (_IO_file_fopen_internal, _IO_file_read_internal)
41294 (_IO_file_sync_internal, _IO_file_seek_internal)
41295 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41296 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41297 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41298 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41299 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41300 (_IO_list_all_internal, _IO_link_in_internal)
41301 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41302 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41303 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41304 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41305 (_IO_do_write_internal, _IO_padn_internal)
41306 (_IO_getline_info_internal, _IO_getline_internal)
41307 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41308 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41309 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41310 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41311 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41312 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41313 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41314 with libc_hidden_ver, remove use of INTUSE.
41315 * libio/genops.c: Likewise.
41316 * libio/freopen.c: Likewise.
41317 * libio/freopen64.c: Likewise.
41318 * libio/iofclose.c: Likewise.
41319 * libio/iofdopen.c: Likewise.
41320 * libio/iofflush.c: Likewise.
41321 * libio/iofflush_u.c: Likewise.
41322 * libio/iofgets.c: Likewise.
41323 * libio/iofgets_u.c: Likewise.
41324 * libio/iofopen.c: Likewise.
41325 * libio/iofopncook.c: Likewise.
41326 * libio/iofread.c: Likewise.
41327 * libio/iofread_u.c: Likewise.
41328 * libio/ioftell.c: Likewise.
41329 * libio/iofwrite.c: Likewise.
41330 * libio/iogetline.c: Likewise.
41331 * libio/iogets.c: Likewise.
41332 * libio/iogetwline.c: Likewise.
41333 * libio/iopadn.c: Likewise.
41334 * libio/iopopen.c: Likewise.
41335 * libio/ioseekoff.c: Likewise.
41336 * libio/ioseekpos.c: Likewise.
41337 * libio/iosetbuffer.c: Likewise.
41338 * libio/iosetvbuf.c: Likewise.
41339 * libio/ioungetc.c: Likewise.
41340 * libio/ioungetwc.c: Likewise.
41341 * libio/iovdprintf.c: Likewise.
41342 * libio/iovsprintf.c: Likewise.
41343 * libio/iovsscanf.c: Likewise.
41344 * libio/memstream.c: Likewise.
41345 * libio/obprintf.c: Likewise.
41346 * libio/oldfileops.c: Likewise.
41347 * libio/oldiofclose.c: Likewise.
41348 * libio/oldiofdopen.c: Likewise.
41349 * libio/oldiofopen.c: Likewise.
41350 * libio/oldiopopen.c: Likewise.
41351 * libio/oldstdfiles.c: Likewise.
41352 * libio/putc.c: Likewise.
41353 * libio/setbuf.c: Likewise.
41354 * libio/setlinebuf.c: Likewise.
41355 * libio/stdfiles.c: Likewise.
41356 * libio/strops.c: Likewise.
41357 * libio/vasprintf.c: Likewise.
41358 * libio/vscanf.c: Likewise.
41359 * libio/vsnprintf.c: Likewise.
41360 * libio/vswprintf.c: Likewise.
41361 * libio/wfiledoalloc.c: Likewise.
41362 * libio/wfileops.c: Likewise.
41363 * libio/wgenops.c: Likewise.
41364 * libio/wmemstream.c: Likewise.
41365 * libio/wstrops.c: Likewise.
41366 * libio/__fpurge.c: Likewise.
41367 * libio/__fsetlocking.c: Likewise.
41368 * assert/assert.c: Likewise.
41369 * debug/fgets_chk.c: Likewise.
41370 * debug/fgets_u_chk.c: Likewise.
41371 * debug/fread_chk.c: Likewise.
41372 * debug/fread_u_chk.c: Likewise.
41373 * debug/gets_chk.c: Likewise.
41374 * debug/obprintf_chk.c: Likewise.
41375 * debug/vasprintf_chk.c: Likewise.
41376 * debug/vdprintf_chk.c: Likewise.
41377 * debug/vsnprintf_chk.c: Likewise.
41378 * debug/vsprintf_chk.c: Likewise.
41379 * malloc/mtrace.c: Likewise.
41380 * misc/error.c: Likewise.
41381 * misc/syslog.c: Likewise.
41382 * stdio-common/asprintf.c: Likewise.
41383 * stdio-common/fxprintf.c: Likewise.
41384 * stdio-common/getw.c: Likewise.
41385 * stdio-common/isoc99_fscanf.c: Likewise.
41386 * stdio-common/isoc99_scanf.c: Likewise.
41387 * stdio-common/isoc99_vfscanf.c: Likewise.
41388 * stdio-common/isoc99_vscanf.c: Likewise.
41389 * stdio-common/isoc99_vsscanf.c: Likewise.
41390 * stdio-common/printf-prs.c: Likewise.
41391 * stdio-common/printf_fp.c: Likewise.
41392 * stdio-common/printf_fphex.c: Likewise.
41393 * stdio-common/printf_size.c: Likewise.
41394 * stdio-common/putw.c: Likewise.
41395 * stdio-common/scanf.c: Likewise.
41396 * stdio-common/sprintf.c: Likewise.
41397 * stdio-common/tmpfile.c: Likewise.
41398 * stdio-common/vfprintf.c: Likewise.
41399 * stdio-common/vfscanf.c: Likewise.
41400 * stdlib/strfmon_l.c: Likewise.
41401 * sunrpc/openchild.c: Likewise.
41402 * sunrpc/xdr_stdio.c: Likewise.
41403 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41404 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41405
414062012-05-24 Roland McGrath <roland@hack.frob.com>
41407
41408 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41409
41410 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41411 in the third column, to generate for the shared library an IFUNC
41412 that uses _dl_vdso_vsym.
41413 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41414 * Makeconfig (object-suffixes-noshared): New variable.
41415
41416 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41417 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41418 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41419 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41420
41421 [BZ #14132]
41422 * include/sys/time.h (__gettimeofday): Remove macro.
41423 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41424 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41425 Remove INTDEF.
41426 (__gettimeofday): Add libc_hidden_def.
41427 (gettimeofday): Add libc_hidden_weak.
41428 * sysdeps/mach/gettimeofday.c: Likewise.
41429 * sysdeps/posix/gettimeofday.c: Likewise.
41430 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41431 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41433 (__gettimeofday_internal): Remove strong_alias.
41434 (__gettimeofday): Add libc_hidden_def.
41435 (gettimeofday): Add libc_hidden_weak.
41436 * sysdeps/unix/syscalls.list (gettimeofday):
41437 Remove __gettimeofday_internal alias.
41438
414392012-05-24 Daniel Jacobowitz <drow@false.org>
41440 H.J. Lu <hongjiu.lu@intel.com>
41441
41442 [BZ #12495]
41443 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41444 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41445 (largebin_index_32_big): New.
41446 (largebin_index): Use it for 16-byte alignment.
41447 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41448 correction with front_misalign.
41449
414502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41451
41452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41454 Likewise.
41455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41456 Likewise.
41457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41458 Likewise.
41459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41460 Likewise.
41461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41462 Likewise.
41463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41464 Likewise.
41465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41466 Likewise.
41467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41468 Likewise.
41469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41470 Likewise.
41471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41472 Likewise.
41473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41474 Likewise.
41475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41476 Likewise.
41477
41478 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41479 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41480
414812012-05-24 Joseph Myers <joseph@codesourcery.com>
41482
41483 [BZ #10846]
41484 [BZ #14036]
41485 * math/libm-test.inc (exp_test): Add test from bug 14036.
41486 (pow_test): Add test from bug 10846.
41487
41488 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41489 and other flags.
41490 (special_function): Do not include flags in test name.
41491 (parse_args): Likewise.
41492 * sysdeps/i386/fpu/libm-test-ulps: Update.
41493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41494 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41495 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41497
41498 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41499 exceptions.
41500 * math/libm-test.inc ("Philosophy"): Update comment about
41501 exception testing.
41502 (UNDERFLOW_EXCEPTION): New macro.
41503 (UNDERFLOW_EXCEPTION_OK): Likewise.
41504 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41505 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41506 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41507 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41508 (INVALID_EXCEPTION_OK): Update value.
41509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41510 (OVERFLOW_EXCEPTION_OK): Likewise.
41511 (IGNORE_ZERO_INF_SIGN): Likewise.
41512 (test_exceptions): Handle underflow exceptions.
41513 (acos_test): Update for underflow exception expectations.
41514 (cexp_test): Likewise.
41515 (clog_test): Likewise.
41516 (clog10_test): Likewise.
41517 (csqrt_test): Likewise.
41518 (ctan_test): Likewise.
41519 (ctanh_test): Likewise.
41520 (exp_test): Likewise.
41521 (exp10_test): Likewise.
41522 (exp2_test): Likewise.
41523 (expm1_test): Likewise.
41524 (fma_test): Likewise.
41525 (j0_test): Likewise.
41526 (jn_test): Likewise.
41527 (nexttoward_test): Likewise.
41528 (pow_test): Likewise.
41529 (scalbn_test): Likewise.
41530 (scalbln_test): Likewise.
41531 (tan_test): Likewise.
41532 (y1_test): Likewise.
41533 * sysdeps/i386/fpu/libm-test-ulps: Update.
41534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41535
415362012-05-23 David S. Miller <davem@davemloft.net>
41537
41538 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41539 (__libc_sigaction): Remove unused local variables.
41540
415412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41542
41543 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41544
415452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41546
41547 mktime: avoid signed integer overflow
41548 * time/mktime.c (__mktime_internal): Do not mishandle the case
41549 where diff == INT_MIN.
41550
41551 mktime: simplify computation of average
41552 * time/mktime.c (ranged_convert): Use new time_t_avg function
41553 instead of rolling our own (probably-slower) code.
41554
41555 mktime: do not assume signed right shift propagates sign bit
41556 * time/mktime.c (isdst_differ): New static function.
41557 (__mktime_internal): No need to normalize tm_isdst now.
41558 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41559 tm_isdst values.
41560
41561 mktime: merge another wrapv change from gnulib
41562 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41563 from some compilers.
41564
41565 mktime: remove incorrect attempt at unusual arithmetics
41566 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41567 The code didn't really work on such machines anyway.
41568 (TYPE_MINIMUM): Assume two's complement.
41569 (twos_complement_arithmetic): Verify that long_int and time_t
41570 are two's complement (or unsigned, in the latter case).
41571
41572 mktime: check signed shifts on long_int and time_t, too
41573 * time/mktime.c (SHR): Check that shifts work as desired
41574 on the types long_int and time_t too, as SHR is used on
41575 such types.
41576
41577 mktime: do not assume 'long' is wide enough
41578 * time/mktime.c (verify): Move decl up.
41579 (long_int): New type.
41580 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41581 to remove assumption in the code that 'long' is wide enough to
41582 store year values. This assumption is not true on x32 and on
41583 some non-glibc platforms.
41584
41585 mktime: merge wrapv change from gnulib
41586 * time/mktime.c (WRAPV): New macro.
41587 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41588 (guess_time_tm, __mktime_internal): Do not assume that signed
41589 integer overflow wraps around; modern compilers generate code
41590 where this assumption is no longer valid.
41591
415922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41593
41594 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41595 Replace "jmp L(pseudo_end)" with "ret".
41596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41597 Likewise.
41598
415992012-05-23 Andreas Jaeger <aj@suse.de>
41600
41601 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41602 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41603
416042012-05-23 Andreas Jaeger <aj@suse.de>
41605 Maximilian Attems <max@stro.at>
41606
41607 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41608 New macros.
41609
416102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41611
41612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41613 code so that pseudo_end is just ret and the stack pointer is
41614 correct also for static library in error case.
41615
416162012-05-23 Joseph Myers <joseph@codesourcery.com>
41617
41618 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41619 move to syscalls.list.
41620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41624
41625 * manual/install.texi (Running make install): Do not mention Linux
41626 kernel version for which pt_chown is not needed.
41627 (Linux): Do not mention problems with nscd with 2.0 kernels.
41628 * INSTALL: Regenerated.
41629
416302012-05-23 Andreas Jaeger <aj@suse.de>
41631
41632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41633 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41634 macro.
41635 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41637 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41639 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41645 * sysdeps/unix/sysv/linux/bits/in.h
41646 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41647
416482012-05-22 Roland McGrath <roland@hack.frob.com>
41649
41650 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41651 (PREPARE_VERSION): Just use assert instead, it will be elided
41652 under [NDEBUG] anyway.
41653
416542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41655
41656 * sysdeps/unix/sysv/linux/Makefile: Include
41657 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41658 (sysdep_routines): Remove sysctl.
41659 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41660 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41661 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41662 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41663 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41664
416652012-05-22 Andreas Jaeger <aj@suse.de>
41666
41667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41668 that pseudo_end is just ret and the stack pointer is correct also
41669 for static library in error case.
41670
416712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41672
41673 [BZ #14122]
41674 * nss/nsswitch.c (defconfig_entries): New variable.
41675 (__nss_database_lookup): Don't leak defconfig entries.
41676 (nss_parse_service_list): Don't leak on error paths.
41677 (free_database_entries): New function.
41678 (free_defconfig): New function.
41679 (free_mem): Move common code to free_database_entries.
41680
416812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41682
41683 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41684 Add arch_prctl.
41685 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41686
41687 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41688 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41690 New macro.
41691 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41692 (INTERNAL_SYSCALL_TYPES): Likewise.
41693 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41694 (LOAD_REGS_TYPES_[1-6]): Likewise.
41695 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41696 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41697
416982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41699
41700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41701 copysignl for GLIBC_2_0.
41702 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41703 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41705 logbl for GLIBC_2_0.
41706 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41707 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41708
417092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41710
41711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41712 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41713
41714 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41715 Use "neg %eax".
41716
41717 * time/mktime.c: Update copyright years.
41718
417192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41720
41721 mktime: merge comment-quoting-style change from gnulib
41722 * time/mktime.c: Quote 'like this' in comments.
41723 The GNU coding standards suggest that we no longer quote `like this',
41724 as "`" and "'" are typically rendered asymmetrically nowadays.
41725 The typical gnulib style is to quote 'like this' when quoting
41726 code, and "like this" when quoting English.
41727
41728 * time/mktime.c (compile-command): Add "-I.".
41729
41730 mktime: merge mktime-internal.h change from gnulib
41731 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41732
41733 mktime: merge time_r change from gnulib
41734 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41735
41736 mktime: merge DEBUG change from gnulib
41737 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41738 case system <time.h> has a #define.
41739
41740 mktime: merge <sys/types.h> change from gnulib
41741 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41742 since <time.t> is now guaranteed to define time_t.
41743
41744 mktime: merge HAVE_CONFIG_H change from gnulib
41745 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41746
417472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41750 Use "neg %eax".
41751
41752 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41753 __rlim_t cast.
41754 (struct rusage): Use anonymous union to pad each field to
41755 __syscall_slong_t.
41756
417572012-05-21 David S. Miller <davem@davemloft.net>
41758
41759 * Makefules (o-iterator): Remove .s cases.
41760 (compile-command.s): Delete.
41761 (COMPILE.s): Delete.
41762 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41763
417642012-05-21 Joseph Myers <joseph@codesourcery.com>
41765
41766 * configure.in (libc_cv_predef_stack_protector): Only consider
41767 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41768 * configure: Regenerated.
41769
417702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41771
41772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41773 New macro. Use R*LP on int and pointer.
41774 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41775 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41776 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41777 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41778
41779 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41780 [__WORDSIZE_TIME64_COMPAT32] instead of
41781 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41782 (struct utmp): Likewise.
41783 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41784 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41785 Renamed to ...
41786 (__WORDSIZE_TIME64_COMPAT32): This.
41787 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41788 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41789 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41790 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41791 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41792 (__WORDSIZE_TIME64_COMPAT32): New macro.
41793
417942012-05-21 Andreas Jaeger <aj@suse.de>
41795
41796 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41797 only if [SHARED]. Add prototype for __wcschr_ia32.
41798
417992012-05-21 Roland McGrath <roland@hack.frob.com>
41800
41801 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41802 of %rbp unmolested in the jmp_buf while mangling the low bits.
41803 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41804 unmolested high bits of %rbp while demangling the low bits.
41805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41806
418072012-05-21 Andreas Jaeger <aj@suse.de>
41808
41809 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41810 * sunrpc/svc_simple.c: Use it for registerrpc.
41811 * sunrpc/xcrypt.c: Use it for passwd2des.
41812
41813 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41814
418152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41818 Don't define if [__SYSCALL_WORDSIZE != 32].
41819 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41820 New macro.
41821
418222012-05-21 Bruno Haible <bruno@clisp.org>
41823 Andreas Jaeger <aj@suse.de>
41824
41825 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41826 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41827 inptr and inend for must_buffer_ch.
41828 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41829 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41830 * stdio-common/Makefile (tests): Remove bug15.
41831 (bug15-ENV): Remove macro.
41832 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41833 anymore.
41834
418352012-05-19 Andreas Jaeger <aj@suse.de>
41836 Roland McGrath <roland@hack.frob.com>
41837
41838 * manual/contrib.texi: Completely rewritten. It contains now an
41839 alphabetical list of contributors and their contributions.
41840
418412012-05-21 Richard Henderson <rth@twiddle.net>
41842
41843 * misc/getauxval.c (__getauxval): Use unsigned long int.
41844 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41845 (getauxval): Use unsigned long int.
41846
418472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41848
41849 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41850
418512012-05-21 Roland McGrath <roland@hack.frob.com>
41852
41853 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41854 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41855 __alignof__ (long double).
41856
418572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41858
41859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41860
418612012-05-20 Richard Henderson <rth@twiddle.net>
41862
41863 * misc/getauxval.c: New file.
41864 * misc/sys/auxv.h: New file.
41865 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41866 (routines): Add getauxval.
41867 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41868 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41869 * elf/dl-sysdep.c (_dl_auxv): Remove.
41870 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41871 * elf/dl-support.c (_dl_auxv): New variable.
41872 (_dl_aux_init): Initialize it.
41873 * manual/startup.texi (Auxiliary Vector): New node.
41874 * sysdeps/generic/bits/hwcap.h: New file.
41875 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41876 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41877 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41878 * sysdeps/sparc/sysdep.h: ... here. Include it.
41879 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41882 Update.
41883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41891
418922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41893
41894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41895
418962012-05-19 David S. Miller <davem@davemloft.net>
41897
41898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41899
419002012-05-19 Joseph Myers <joseph@codesourcery.com>
41901
41902 [BZ #14123]
41903 * math/s_ccosh.c: Include <float.h>
41904 (__ccosh): Avoid internal overflow calculating sinh and cosh
41905 values before multiplying by sin and cos values.
41906 * math/s_ccoshf.c: Likewise.
41907 * math/s_ccoshl.c: Likewise.
41908 * math/s_csin.c: Likewise.
41909 * math/s_csinf.c: Likewise.
41910 * math/s_csinl.c: Likewise.
41911 * math/s_csinh.c: Likewise.
41912 * math/s_csinhf.c: Likewise.
41913 * math/s_csinhl.c: Likewise.
41914 * math/libm-test.inc (ccos_test): Add more tests.
41915 (ccosh_test): Likewise.
41916 (csin_test): Likewise.
41917 (csinh_test): Likewise.
41918 * sysdeps/i386/fpu/libm-test-ulps: Update.
41919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41920
419212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41922
41923 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41924 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41925
41926 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41927
419282012-05-19 Joseph Myers <joseph@codesourcery.com>
41929
41930 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41931 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41932 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41933 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41934 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41935 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41936 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41937 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41938 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41939 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41940 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41941 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41942 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41943 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41944 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41945 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41946 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41947 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41948 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41949 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41950 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41951 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41952 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41953 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41954 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41955 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41956 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41957 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41958 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41959 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41960 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41961
419622012-05-18 Andreas Jaeger <aj@suse.de>
41963
41964 * csu/.gitignore: Delete.
41965
419662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41967
41968 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41969 (timex): Use __syscall_slong_t.
41970
419712012-05-18 Andreas Jaeger <aj@suse.de>
41972 Carlos O'Donell <carlos_odonell@mentor.com>
41973
41974 * manual/install.texi (Configuring and compiling): Update
41975 description about files modified in the source directory.
41976 * INSTALL: Regenerated.
41977
419782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41979
41980 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41981 value. Use "or" to set return value to -1.
41982 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41983 negate return value.
41984
419852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41986
41987 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41988 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41989 failure if the compiler has Graphite support disabled.
41990 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41991 Likewise.
41992 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41993 (CFLAGS-memmove.c): Likewise.
41994 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41995 Likewise.
41996
419972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41998
41999 * sysdeps/x86_64/x32/_itoa.h: New file.
42000
42001 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42002 getdents system call only if kernel and user dirents have the
42003 same d_ino and d_off.
42004
42005 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42006 LLONG_MAX != LONG_MAX.
42007 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42008 (_fitoa_word): Likewise.
42009
42010 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42011 years.
42012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42015
42016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42017 include <bits/wordsize.h>. Check __x86_64__ instead of
42018 __WORDSIZE.
42019 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42020 if __x86_64__ is defined. Use anonymous union on fpstate.
42021
42022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42023 anonymous union.
42024
420252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42026
42027 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42028 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42029 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42030 Refer to _rtld_local_ro instead of _rtld_global_ro.
42031 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42032 Likewise.
42033 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42034 Likewise.
42035 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42036 Likewise.
42037 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42038 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42039 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42040
42041 * sysdeps/powerpc/powerpc32/dl-machine.c
42042 (__elf_machine_runtime_setup) [PROF]: Don't reference
42043 _dl_prof_resolve.
42044
420452012-05-18 Andreas Jaeger <aj@suse.de>
42046
42047 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42048 function only available for GCCs before 3.4 since GCC 3.4
42049 introduced a builtin.
42050 (lrint): Likewise.
42051 (llrintf): Likewise.
42052 (llrint): Likewise.
42053 (fmaxf): Likewise.
42054 (fmax): Likewise.
42055 (fminf): Likewise.
42056 (fmin): Likewise.
42057 (rint): Likewise.
42058 (rintf): Likewise.
42059 (nearbyint): Likewise.
42060 (nearbyintf): Likewise.
42061 (ceil): Likewise.
42062 (ceilf): Likewise.
42063 (floor): Likewise.
42064 (floorf): Likewise.
42065
420662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42067
42068 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42069 on both fields and cast pointer to __syscall_ulong_t.
42070
42071 * bits/types.h (__fsword_t): New type.
42072 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42073 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42075 (__FSWORD_T_TYPE): Likewise.
42076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42077 (__FSWORD_T_TYPE): Likewise.
42078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42079 (__FSWORD_T_TYPE): Likewise.
42080 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42081 (__FSWORD_T_TYPE): Likewise.
42082 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42083 __SWORD_TYPE with __fsword_t.
42084 (statfs64): Likewise.
42085
420862012-05-17 David S. Miller <davem@davemloft.net>
42087
42088 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42089
420902012-05-17 Andreas Jaeger <aj@suse.de>
42091
42092 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42093 warning.
42094
420952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42096
42097 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42098
420992012-05-17 Andreas Jaeger <aj@suse.de>
42100
42101 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42102 when it is used.
42103
421042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42105
42106 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42107
421082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42109
42110 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42111 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42112
421132012-05-17 Andreas Jaeger <aj@suse.de>
42114 Carlos O'Donell <carlos_odonell@mentor.com>
42115
42116 [BZ #14059]
42117 * sysdeps/x86_64/multiarch/init-arch.h
42118 (bit_YMM_Usable): Rename to...
42119 (bit_AVX_Usable): ... this.
42120 (bit_FMA4_Usable): New macro.
42121 (bit_XMM_state): New macro.
42122 (bit_YMM_state): New macro.
42123 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42124 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42125 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42126 (CPUID_OSXSAVE): New macro.
42127 (CPUID_AVX): New macro.
42128 (CPUID_FMA4): New macro.
42129 (index_YMM_Usable): Rename to...
42130 (index_AVX_Usable): ... this.
42131 (HAS_AVX): Use HAS_ARCH_FEATURE.
42132 (HAS_FMA4): Likewise.
42133 (HAS_YMM_USABLE): Remove.
42134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42135 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42136 are present.
42137 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42138 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42139 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42140 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42141 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42142
421432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42144
42145 * math/libm-test.c: Support platforms without multiple rounding modes.
42146 * math/bug-nextafter.c: Support platforms without FP exceptions.
42147 * math/bug-nexttoward.c: Likewise.
42148 * math/test-fenv.c: Likewise.
42149 * math/test-misc.c: Likewise.
42150 * stdlib/bug-getcontext.c: Likewise.
42151
421522012-05-17 Andreas Jaeger <aj@suse.de>
42153
42154 * manual/examples/search.c (critter_cmp): Change signature to
42155 avoid warnings.
42156 * manual/string.texi (Collation Functions): Likewise.
42157
421582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42159
42160 * bits/types.h: Fold copyright years.
42161 * bits/typesizes.h: Likewise.
42162 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42166 * time/time.h: Likewise.
42167
421682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42169
42170 [BZ #208]
42171 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42172 in instead of returning them. Return void.
42173 (__libc_mallinfo): Accumulate over all arenas.
42174 (__malloc_stats): Adjust for change in int_mallinfo interface.
42175
421762012-05-16 Roland McGrath <roland@hack.frob.com>
42177
42178 [BZ #10375]
42179 * configure.in (NM): Add AC_CHECK_TOOL for it.
42180 (libc_extra_cflags): New substituted variable.
42181 Check for -fstack-protector being used implicitly.
42182 * configure: Regenerated.
42183 * config.make.in (config-extra-cflags): New variable,
42184 gets @libc_extra_cflags@.
42185 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42186
42187 [BZ #10375]
42188 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42189 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42190 * configure: Regenerated.
42191 * config.make.in (CPPUNDEFS): New substituted variable.
42192 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42193 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42194 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42195
421962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42197
42198 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42199 (mq_attr): Use __syscall_slong_t.
42200
422012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42202
42203 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42204 Check __x86_64__ instead of __WORDSIZE.
42205 (_STAT_VER_LINUX): Likewise.
42206 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42207 __syscall_ulong_t and __syscall_slong_t.
42208 (stat64): Likewise.
42209
422102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42211
42212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42213
422142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42215
42216 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42217
422182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42221 __syscall_ulong_t.
42222
42223 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42224 include <bits/wordsize.h>. Check __x86_64__ instead of
42225 __WORDSIZE.
42226 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42227 defined.
42228 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42229
42230 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42231 include <bits/wordsize.h>. Check __x86_64__ instead of
42232 __WORDSIZE.
42233 (user_regs_struct): Use "__extension__ unsigned long long"
42234 instead of "unsigned long" if __x86_64__ is defined.
42235 (user): Likewise. Pad after pointer field if __ILP32__ is
42236 defined.
42237
422382012-05-16 Joseph Myers <joseph@codesourcery.com>
42239
42240 * configure.in (makeinfo): Require version 4.5 or later. Allow
42241 versions 5 to 9.
42242 * configure: Regenerated.
42243 * manual/install.texi (texinfo): Increase version requirement to
42244 4.5 or later.
42245 * INSTALL: Regenerated.
42246
42247 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42248
422492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42250
42251 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42252
42253 * sysdeps/x86_64/x32/ffs.c: New file.
42254
42255 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42256 __syscall_ulong_t.
42257 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42258 defined. Use __syscall_ulong_t.
42259 (shminfo): Use __syscall_ulong_t.
42260 (shm_info): Likewise.
42261
42262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42263 __syscall_ulong_t.
42264
42265 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42266 <bits/wordsize.h>.
42267 (msgqnum_t): Use __syscall_ulong_t.
42268 (msglen_t): Likewise.
42269 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42270 __syscall_ulong_t.
42271
42272 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42273 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42274
42275 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42276
42277 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42278 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42279
42280 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42281 __syscall_slong_t.
42282
42283 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42284 include <bits/wordsize.h>. Check __x86_64__ instead of
42285 __WORDSIZE.
42286
42287 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42288 "unsigned long long int" if __x86_64__ is defined.
42289 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42290
42291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42292 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42293 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42294
42295 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42296 <stdint.h>.
42297 (GET_PC): Cast to uintptr_t first.
42298 (GET_FRAME): Likewise.
42299 (GET_STACK): Likewise.
42300
42301 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42302 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42303 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42305 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42307 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42308 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42309 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42310 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42312 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42321 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42322 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42323 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42324 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42325 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42327 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42328 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42329 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42330
423312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42332
42333 * Makerules (+depfiles): Also collect depfiles from .oS in
42334 $(extra-objs).
42335 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42336 .oS, $(libnldbl-routines)).
42337
42338 * Makerules (native-compile-mkdep-flags): Define.
42339 * sunrpc/Makefile (extra-objs): Add $(addprefix
42340 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42341 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42342 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42343 calling $(make-target-directory).
42344
423452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42346
42347 * bits/types.h (__snseconds_t): Removed.
42348 * time/time.h (struct timespec): Replace __snseconds_t with
42349 __syscall_slong_t.
42350 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42351 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42352 Likewise.
42353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42354 (__SNSECONDS_T_TYPE): Likewise.
42355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42356 (__SNSECONDS_T_TYPE): Likewise.
42357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42358 (__SNSECONDS_T_TYPE): Likewise.
42359
423602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42361
42362 * sysdeps/mach/hurd/bits/typesizes.h
42363 (__SYSCALL_SLONG_TYPE): New macro.
42364 (__SYSCALL_ULONG_TYPE): Likewise.
42365
423662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42367
42368 * bits/types.h (__syscall_slong_t): New type.
42369 (__syscall_ulong_t): Likewise.
42370
42371 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42372 (__SYSCALL_ULONG_TYPE): Likewise.
42373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42374 (__SYSCALL_SLONG_TYPE): Likewise.
42375 (__SYSCALL_ULONG_TYPE): Likewise.
42376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42377 (__SYSCALL_SLONG_TYPE): Likewise.
42378 (__SYSCALL_ULONG_TYPE): Likewise.
42379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42380 (__SYSCALL_SLONG_TYPE): Likewise.
42381 (__SYSCALL_ULONG_TYPE): Likewise.
42382
423832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42384
42385 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42386 Add sigaltstack-offsets.sym.
42387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42388 <sigaltstack-offsets.h>.
42389 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42390 longjmp_msg pointer.
42391 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42392 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42393 signal stack.
42394 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42395
423962012-05-15 Joseph Myers <joseph@codesourcery.com>
42397
42398 * elf/stackguard-macros.h: Remove file.
42399 * sysdeps/generic/stackguard-macros.h: New file.
42400 * sysdeps/i386/stackguard-macros.h: Likewise.
42401 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42402 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42403 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42404 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42405 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42406 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42407 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42408 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42409 <elf/stackguard-macros.h>.
42410
42411 [BZ #14109]
42412 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42413 __aligned__ in attribute.
42414 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42415 (gregset_t): Likewise.
42416
424172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42418
42419 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42420 * sysdeps/x86_64/64/Implies-after: Here. New file.
42421 * sysdeps/x86_64/x32/Implies-after: New file.
42422
424232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42424
42425 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42426 and access return value for _dl_profile_fixup. Use R10_LP to
42427 load frame size.
42428
424292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42430
42431 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42432
424332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42434
42435 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42436 * sysdeps/x86_64/x32/sysdep.h: New file.
42437
424382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42439
42440 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42441 * sysdeps/x86_64/setjmp.S: Likewise.
42442
424432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42444
42445 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42446 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42447 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42448 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42449 remove unused global constant.
42450
424512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42452
42453 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42454 include of <not-cancel.h>.
42455
424562012-05-15 Roland McGrath <roland@hack.frob.com>
42457
42458 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42459
424602012-05-15 Jeff Law <law@redhat.com>
42461 Andreas Jaeger <aj@suse.de>
42462
42463 [BZ #13594]
42464 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42465 out from...
42466 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42467 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42469 code changing __hst_map_handle.map.
42470
424712012-05-15 Roland McGrath <roland@hack.frob.com>
42472
42473 * configure.in (sysnames): Look for Implies-before and Implies-after
42474 files.
42475 * configure: Regenerated.
42476
424772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42478
42479 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42480 8-byte data alignment with LP_SIZE alignment.
42481
424822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42483
42484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42485 into R10_LP.
42486
424872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42488
42489 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42490
424912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42492
42493 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42494 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42495 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42496 Likewise.
42497 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42498
424992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42500
42501 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42502 (stackinfo_sub_sp): Likewise.
42503
425042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42505
42506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42507 RAX_LP.
42508
425092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42510
42511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42512 into R*_LP.
42513
425142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42515
42516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42517 sizes into R*_LP.
42518
425192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42520
42521 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42522
425232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42524
42525 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42526 into R11_LP and load __x86_64_shared_cache_size_half into
42527 R8_LP.
42528
425292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42530
42531 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42532 R8_LP.
42533
425342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42535
42536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42537 logb for POWER7.
42538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42539 logbf for POWER7.
42540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42541 logbl for POWER7.
42542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42543 powerpc32/power7/fpu/s_logb.c via #include.
42544 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42545 powerpc32/power7/fpu/s_logbf.c via #include.
42546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42547 powerpc32/power7/fpu/s_logbl.c via #include.
42548
425492012-05-15 Joseph Myers <joseph@codesourcery.com>
42550
42551 * README.libm: Remove file.
42552
425532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42554
42555 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42556 count for x32. Use R*_LP and omit operand-size suffix.
42557
425582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42559
42560 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42561 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42562 * sysdeps/x86_64/x32/shlib-versions: New file.
42563
425642012-05-14 Roland McGrath <roland@hack.frob.com>
42565
42566 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42567 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42568 Use _dl_fatal_printf instead.
42569
425702012-05-14 Joseph Myers <joseph@codesourcery.com>
42571
42572 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42573 set if not set by the user. Do not allow for being unset.
42574 * sysdeps/unix/sysv/linux/configure: Regenerated.
42575
425762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42577
42578 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42579 the `q' suffix from lea and replace .quad with ASM_ADDR.
42580
425812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42582
42583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42584 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42585 instead of $17.
42586 (PTR_DEMANGLE): Likewise.
42587
425882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42589
42590 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42591 (LP_OP): Likewise.
42592 (ASM_ADDR): Likewise.
42593 (RAX_LP): Likewise.
42594 (RBP_LP): Likewise.
42595 (RBX_LP): Likewise.
42596 (RCX_LP): Likewise.
42597 (RDI_LP): Likewise.
42598 (RSI_LP): Likewise.
42599 (RSP_LP): Likewise.
42600 (R8_LP): Likewise.
42601 (R9_LP): Likewise.
42602 (R10_LP): Likewise.
42603 (R10_LP): Likewise.
42604 (R11_LP): Likewise.
42605 (R12_LP): Likewise.
42606 (R13_LP): Likewise.
42607 (R14_LP): Likewise.
42608 (R15_LP): Likewise.
42609
426102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42611
42612 * sysdeps/x86_64/x32/dl-machine.h: New file.
42613
426142012-05-14 Andreas Jaeger <aj@suse.de>
42615
42616 * manual/Makefile (subdir): Remove export of subdir.
42617 (all): Remove target.
42618 (.PHONY): Remove all from list.
42619 (mkinstalldirs): Remove.
42620 (.PHONY): Remove installdirs from list.
42621 ($(inst_infodir)/libc.info): Use make-target-directory.
42622 (installdirs): Remove.
42623 (subdir_%): Remove.
42624 (glibc-targets): Remove.
42625 (lib): Remove.
42626 (stubs): Remove.
42627 ($(objpfx)stubs ../po/manual.pot): Remove.
42628 ($(objpfx)stamp%): Remove.
42629 (make-target-directory): Remove.
42630 (subdir_install): Remove.
42631 (routines): Remove.
42632 (aux): Remove.
42633 (sources): Remove.
42634 (objects): Remove.
42635 (headers): Remove.
42636
42637 [BZ #13750]
42638 * manual/.gitignore: Remove, it's not needed anymore.
42639 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42640 all files in it.
42641 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42642 directory.
42643 (texis): Renamed to $(objpfx)texis.
42644 (texis-path): New, contains path to generated files.
42645 (chapters.%): Use texis-path for complete path, add extra argument
42646 libc-texinfo.sh.
42647 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42648 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42649 (summary,texi, stamp-summary): Use complete path of
42650 files. Generate files in build dir.
42651 (dir-add.texi): Build in build dir.
42652 (libm-err.texi,stamp-libm-err): Likewise.
42653 (version.texi, stamp-version): Likewise.
42654 (.%c.texi): Likewise.
42655 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42656 (mostlyclean): Remove target.
42657 (realclean): Remove target.
42658 (generated): Add new variable with contents from mostlyclean and
42659 realclean, remove entries duplicated in common-mostlyclean, add
42660 stamp-libm-err and stamp-version.
42661 (generated-dirs): Add libc directory.
42662 ($(inst_infodir)/libc.info): Install files from build dir.
42663
42664 * manual/install.texi (Configuring and compiling): Adjust since
42665 the info files are not part of the tar ball anymore.
42666
426672012-05-14 Andreas Jaeger <aj@suse.de>
42668
42669 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42670 variable.
42671
426722012-05-14 Joseph Myers <joseph@codesourcery.com>
42673
42674 [BZ #13717]
42675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42676 to 2.2.0 where earlier.
42677 * sysdeps/unix/sysv/linux/configure: Regenerated.
42678 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42679 Remove conditional code.
42680 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42681 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42682 Remove conditional code.
42683 [!__NR_lchown]: Likewise.
42684 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42685 [__NR_lchown]: Likewise.
42686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42687 comment referencing __ASSUME_LCHOWN_SYSCALL.
42688 * sysdeps/unix/sysv/linux/i386/sigaction.c
42689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42691 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42692 Remove conditional code.
42693 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42694 (__protocol_available): Remove #if 0 code.
42695 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42696 conditional code.
42697 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42698 * sysdeps/unix/sysv/linux/kernel-features.h
42699 (__ASSUME_GETCWD_SYSCALL): Don't define.
42700 (__ASSUME_REALTIME_SIGNALS): Likewise.
42701 (__ASSUME_PREAD_SYSCALL): Likewise.
42702 (__ASSUME_PWRITE_SYSCALL): Likewise.
42703 (__ASSUME_POLL_SYSCALL): Likewise.
42704 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42705 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42706 non-SPARC.
42707 (__ASSUME_SIOCGIFNAME): Don't define.
42708 (__ASSUME_MSG_NOSIGNAL): Likewise.
42709 (__ASSUME_SENDFILE): Define unconditionally.
42710 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42711 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42712 conditional code.
42713 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42714 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42715 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42716 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42717 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42718 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42719 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42721 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42724 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42727 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42744 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42745 Remove conditional code.
42746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42747 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42748 Remove conditional code.
42749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42750 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42751 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42752 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42753 Remove conditional code.
42754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42755 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42756 Remove conditional code.
42757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42758 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42759 Remove conditional code.
42760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42761 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42762 Remove conditional code.
42763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42764 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42765 Remove conditional code.
42766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42767 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42770 * sysdeps/unix/sysv/linux/sigaction.c
42771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42773 * sysdeps/unix/sysv/linux/sigpending.c
42774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42776 * sysdeps/unix/sysv/linux/sigprocmask.c
42777 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42778 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42779 * sysdeps/unix/sysv/linux/sigsuspend.c
42780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42782 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42783 (__libc_missing_rt_sigs): Remove.
42784 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42785 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42786 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42787 Remove conditional code.
42788 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42789 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42790 return 1.
42791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42792 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42794 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42795
427962012-05-14 Andreas Jaeger <aj@suse.de>
42797
42798 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42799 it's not used in glibc.
42800 (__coshm1): Likewise.
42801 (__acosh1p): Likewise.
42802 (__sgn): Likewise.
42803
42804 * manual/string.texi (Copying and Concatenation): Add missing
42805 variable in concat example.
42806 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42807
428082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42809
42810 [BZ #14103]
42811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42812 __builtin_clzl with __builtin_clzll.
42813
428142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42815
42816 [BZ #14104]
42817 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42818 libc_freeres_ptr.
42819
428202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42821
42822 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42823 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42824 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42825 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42826
428272012-05-14 Mike Frysinger <vapier@gentoo.org>
42828
42829 * NEWS: Update ia64 info.
42830
428312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42832
42833 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42834 used as bcopy.
42835
428362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42837
42838 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42839 * sysdeps/unix/syscalls.list (dup3): Likewise.
42840 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42841 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42842
428432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42844
42845 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42846 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42847
428482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42849
42850 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42851 thread pointer.
42852 (TLS_IE): Use mov/add instead of movq/addq to load thread
42853 pointer.
42854 (TLS_GD_PREFIX): New.
42855 (TLS_GD): Use it.
42856
428572012-05-11 David S. Miller <davem@davemloft.net>
42858
42859 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42860 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42861 (_FPU_SETCW): Likewise.
42862
428632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42864
42865 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42866 is 32-byte aligned.
42867
428682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42869
42870 [BZ #11837]
42871 * iconvdata/gb18030.c: Update tables.
42872 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42873 characters specially.
42874 (BODY for TO_LOOP): Add encoding of missing ranges.
42875
428762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42877
42878 [BZ #13673]
42879 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42880 * sysdeps/mach/hurd/dup3.c: Likewise.
42881 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42882 * sysdeps/powerpc/memmove.c:: Likewise.
42883
428842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42885
42886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42887 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42888
428892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42890
42891 * elf/elf.h (R_X86_64_RELATIVE64): New.
42892 (R_X86_64_NUM): Updated.
42893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42894 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42895 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42896 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42897 tst-quad1pie tst-quad2pie
42898 (modules-names): Add tst-quadmod1 tst-quadmod2.
42899 ($(objpfx)tst-quad1): New dependency.
42900 ($(objpfx)tst-quad2): Likewise.
42901 ($(objpfx)tst-quad1pie): Likewise.
42902 ($(objpfx)tst-quad2pie): Likewise.
42903 * sysdeps/x86_64/tst-quad1.c: New file.
42904 * sysdeps/x86_64/tst-quad1pie.c: New file.
42905 * sysdeps/x86_64/tst-quad2.c: Likewise.
42906 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42907 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42908 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42909 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42910 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42911
429122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42913
42914 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42915 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42916 * streams/stropts.h (t_scalar_t): Define type.
42917
42918 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42919 (_PATH_PRESERVE): Set to "/var/lib".
42920 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42921
42922 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42923 instead of int.
42924
42925 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42926 if __dir_mkfile succeeded.
42927
42928 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42929 checking for _hurd_dtablesize. Unlock it right after having
42930 finished _hurd_dtable allocation.
42931
429322012-05-10 Thomas Schwinge <thomas@schwinge.name>
42933
42934 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42935 * sysdeps/mach/hurd/configure: Regenerated.
42936 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42937 special-casing to...
42938 * sysdeps/gnu/configure.in: ... this new file.
42939 * sysdeps/unix/sysv/linux/configure: Regenerated.
42940 * sysdeps/gnu/configure: New generated file.
42941
42942 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42943 for Linux: use nsec instead of usec, as well as:
42944 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42945 members of type struct timespec.
42946 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42947 New macros.
42948 (struct stat64): Likewise.
42949 (_STATBUF_ST_NSEC): New macro.
42950 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42951
42952 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42953 __strtoul_internal rather than strtoul.
42954
429552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42956
42957 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42958 and reject them.
42959
429602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42961
42962 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42963 which preserves existing values.
42964 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42965
429662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42967
42968 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42969 TIMEOUT values. Return EINVAL for NFDS values either negative or
42970 greater than FD_SETSIZE.
42971
429722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42973
42974 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42975 allocated, call __vm_protect to finish enabling the existing space, and
42976 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42977 allocate the remainder.
42978
429792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42980
42981 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42982 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42983
429842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42985
42986 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42987 sysdeps/mach/hurd/readlink.c.
42988
42989 * posix/tst-sysconf.c (posix_options): Only use
42990 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42991 _POSIX_SYNCHRONIZED_IO when they are defined
42992 * sysdeps/mach/hurd/bits/posix_opt.h:
42993 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42994 (_XOPEN_REALTIME): Undefine macro.
42995 (_XOPEN_REALTIME_THREADS): Undefine macro.
42996 (_XOPEN_SHM): Undefine macro.
42997 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42998 macro to -1.
42999 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43000 macro to -1.
43001 (_POSIX_ASYNC_IO): Undefine macro.
43002 (_POSIX_PRIORITIZED_IO): Undefine macro.
43003 (_POSIX_SPIN_LOCKS): Define macro to -1.
43004
43005 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43006 SA_NODEFER, SA_RESETHAND.
43007 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43008 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43009 F_DUPFD_CLOEXEC.
43010
430112012-05-10 Thomas Schwinge <thomas@schwinge.name>
43012
43013 * elf/Makefile (pldd-modules): Define unconditionally.
43014
430152012-05-10 Thomas Schwinge <thomas@schwinge.name>
43016
43017 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43018
430192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43020
43021 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43022 Return ENOENT when name is empty.
43023 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43024
430252012-05-10 Thomas Schwinge <thomas@schwinge.name>
43026
43027 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43028
43029 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43030
430312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43032
43033 Fix mlock in all cases except non-readable pages.
43034 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43035 instead of VM_PROT_ALL as parameter to __vm_wire function.
43036
43037 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43038 (__mkdir): When path is `/', just fail with EEXIST.
43039 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43040
430412012-05-10 Thomas Schwinge <thomas@schwinge.name>
43042
43043 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43044 <sys/uio.h> (for writev).
43045 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43046 and <sys/param.h> (for MIN).
43047
430482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43049
43050 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43051 REQUESTED_TIME. Properly set the remaining time and return EINTR
43052 if interrupted.
43053
430542012-05-10 Thomas Schwinge <thomas@schwinge.name>
43055
43056 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43057 Depend on against $(link-rpcuserlibs).
43058
430592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43060
43061 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43062 (__libc_stack_end): Do not use attribute_relro.
43063 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43064 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43065 to libthread-provided value.
43066 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43067 attribute_relro.
43068
430692012-05-10 Thomas Schwinge <thomas@schwinge.name>
43070
43071 [BZ #3748]
43072 * bits/libc-lock.h (__libc_once_get): New macro.
43073 * sysdeps/mach/bits/libc-lock.h: Likewise.
43074 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43076 instead of using implementation details.
43077
43078 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43079 * libio/freopen.c: Likewise.
43080 * libio/freopen64.c: Likewise.
43081 * misc/syslog.c: Likewise.
43082 * nscd/connections.c: Likewise.
43083 * nscd/netgroupcache.c: Likewise.
43084 * sysdeps/posix/getcwd.c: Likewise.
43085
430862012-05-10 Roland McGrath <roland@hack.frob.com>
43087
43088 * math/w_ilogbf.c: Add #include <limits.h>.
43089
430902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43091
43092 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43093 path instead of returning without unlocking.
43094
43095 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43096 immediate-write ioctls.
43097 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43098
430992012-05-10 Thomas Schwinge <thomas@schwinge.name>
43100
43101 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43102 __builtin_frame_address instead of making assumptions about the
43103 location of the return address relative to DATA. Force early load of
43104 the return address.
43105 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43106 __builtin_frame_address.
43107
43108 dup3 for GNU Hurd.
43109 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43110 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43111 implement dup3 and do some further code clean-ups.
43112 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43113 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43114
431152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43116
43117 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43118
43119 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43120 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43121 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43122 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43123 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43124 d->port.lock.
43125
43126 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43127 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43128 when handler == SIG_ERR, not when handler != SIG_ERR.
43129
431302012-05-10 Thomas Schwinge <thomas@schwinge.name>
43131
43132 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43133 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43134 definitions.
43135
43136 accept4 for GNU Hurd.
43137 * include/sys/socket.h (__libc_accept4): New prototype.
43138 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43139 to implement __libc_accept4.
43140 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43141 __libc_accept4.
43142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43143
43144 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43145 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43146 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43147 signal-defines.sym.
43148
431492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43150
43151 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43152
431532012-05-10 Thomas Schwinge <thomas@schwinge.name>
43154
43155 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43156 assertion on O_CLOEXEC flag.
43157 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43158 * hurd/intern-fd.c: Likewise.
43159 * hurd/port2fd.c: Likewise.
43160
431612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43162
43163 [BZ #3906]
43164 * bits/in.h (IPV6_PKTINFO): Define new macro.
43165 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43166
431672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43168
43169 [BZ #13954]
43170 [BZ #13955]
43171 [BZ #13956]
43172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43173 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43174 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43175 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43176 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43177 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43178 * math/libm-test.inc (logb_test) : Additional logb tests.
43179
431802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43181 Andreas Jaeger <aj@suse.de>
43182
43183 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43184 * configure: Regenerated.
43185 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43186 * config.make.in (link-obsolete-rpc): New substituted variable.
43187 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43188 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43189 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43190 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43191 so that libc.a contains the symbols.
43192 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43193 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43194 * sunrpc/auth_none.c: Likewise.
43195 * sunrpc/auth_unix.c: Likewise.
43196 * sunrpc/authdes_prot.c: Likewise.
43197 * sunrpc/authuxprot.c: Likewise.
43198 * sunrpc/clnt_gen.c: Likewise.
43199 * sunrpc/clnt_perr.c: Likewise.
43200 * sunrpc/clnt_raw.c: Likewise.
43201 * sunrpc/clnt_simp.c: Likewise.
43202 * sunrpc/clnt_tcp.c: Likewise.
43203 * sunrpc/clnt_udp.c: Likewise.
43204 * sunrpc/clnt_unix.c: Likewise.
43205 * sunrpc/des_crypt.c: Likewise.
43206 * sunrpc/des_soft.c: Likewise.
43207 * sunrpc/get_myaddr.c: Likewise.
43208 * sunrpc/key_call.c: Likewise.
43209 * sunrpc/key_prot.c: Likewise.
43210 * sunrpc/netname.c: Likewise.
43211 * sunrpc/pm_getmaps.c: Likewise.
43212 * sunrpc/pm_getport.c: Likewise.
43213 * sunrpc/pmap_clnt.c: Likewise.
43214 * sunrpc/pmap_prot.c: Likewise.
43215 * sunrpc/pmap_prot2.c: Likewise.
43216 * sunrpc/pmap_rmt.c: Likewise.
43217 * sunrpc/publickey.c: Likewise.
43218 * sunrpc/rpc_cmsg.c: Likewise.
43219 * sunrpc/rpc_common.c: Likewise.
43220 * sunrpc/rpc_dtable.c: Likewise.
43221 * sunrpc/rpc_prot.c: Likewise.
43222 * sunrpc/rpc_thread.c: Likewise.
43223 * sunrpc/rtime.c: Likewise.
43224 * sunrpc/svc.c: Likewise.
43225 * sunrpc/svc_auth.c: Likewise.
43226 * sunrpc/svc_raw.c: Likewise.
43227 * sunrpc/svc_run.c: Likewise.
43228 * sunrpc/svc_tcp.c: Likewise.
43229 * sunrpc/svc_udp.c: Likewise.
43230 * sunrpc/svc_unix.c: Likewise.
43231 * sunrpc/svcauth_des.c: Likewise.
43232 * sunrpc/xcrypt.c: Likewise.
43233 * sunrpc/xdr.c: Likewise.
43234 * sunrpc/xdr_array.c: Likewise.
43235 * sunrpc/xdr_float.c: Likewise.
43236 * sunrpc/xdr_intXX_t.c: Likewise.
43237 * sunrpc/xdr_mem.c: Likewise.
43238 * sunrpc/xdr_rec.c: Likewise.
43239 * sunrpc/xdr_ref.c: Likewise.
43240 * sunrpc/xdr_sizeof.c: Likewise.
43241 * sunrpc/xdr_stdio.c: Likewise.
43242
432432012-05-10 Roland McGrath <roland@hack.frob.com>
43244
43245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43246 change. Update copyright years.
43247
432482012-05-10 Joseph Myers <joseph@codesourcery.com>
43249
43250 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43251
432522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43253 Joseph Myers <joseph@codesourcery.com>
43254 Paul Pluzhnikov <ppluzhnikov@google.com>
43255
43256 [BZ #14012]
43257 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43258 requiring rpcgen.
43259 [cross-compiling] (extra-libs): Likewise.
43260 [cross-compiling] (extra-libs-others): Likewise.
43261 [cross-compiling] (librpcsvc-routines): Likewise.
43262 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43263 [cross-compiling] (omit-deps): Likewise.
43264 (sunrpc-CPPFLAGS): New variable.
43265 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43266 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43267 (cross-rpcgen-objs): New variable.
43268 (extra-objs): Append $(cross-rpcgen-objs).
43269 ($(cross-rpcgen-objs)): New rule.
43270 ($(objpfx)cross-rpcgen): Likewise.
43271 (rpcgen-cmd): Define to use $(built-program-file). Expand
43272 comment.
43273 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43274 ($(objpfx)x%.stmp): Likewise.
43275 * sunrpc/proto.h [IS_IN_build] (_): Define.
43276 [IS_IN_build] (_libc_intl_domainname): Likewise.
43277
432782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43279
43280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43281 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43282 and R_X86_64_TPOFF64.
43283
432842012-05-10 Joseph Myers <joseph@codesourcery.com>
43285
43286 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43287 sysdeps/unix/sysv/syscalls.list.
43288 (stime): Likewise.
43289 (utime): Likewise.
43290 * sysdeps/unix/sysv/syscalls.list: Remove file.
43291
432922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43293
43294 [BZ #3440]
43295 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43296 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43297 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43298 (__LC_IDENTIFICATION): Make these macros useful in #if
43299 expressions, as required by C99.
43300
433012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43302
43303 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43304 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43305 after this.
43306
433072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43308
43309 * stdlib/longlong.h: Updated from GCC.
43310
433112012-05-09 Andreas Jaeger <aj@suse.de>
43312
43313 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43314 default is first entry.
43315 (run_mode): Set type.
43316 (main): Remove informal message about syslog.
43317 (options): Fix typo.
43318
43319 [BZ #14053]
43320 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43321 to asm.
43322 (lrint): Likewise.
43323 (llrintf): Likewise.
43324 (llrint): Likewise.
43325 (rint): Likewise.
43326 (rintf): Likewise.
43327 (nearbyint): Likewise.
43328 (nearbyintf): Likewise.
43329
433302012-05-09 Andreas Jaeger <aj@suse.de>
43331 Pedro Alves <palves@redhat.com>
43332
43333 * nscd/nscd.c (run_mode): Use enum.
43334 (main): Cleanup coding style issue.
43335
433362012-05-09 Alexandre Oliva <aoliva@redhat.com>
43337 Andreas Jaeger <aj@suse.de>
43338
43339 * nscd/nscd.c (go_background): Replaced with...
43340 (run_mode): ... this.
43341 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43342 (options): Add -F --foreground.
43343 (main): Implement it.
43344 (parse_opt): Parse it.
43345
433462012-05-09 Andreas Jaeger <aj@suse.de>
43347
43348 [BZ #14083]
43349 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43350 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43351 -Wconversion warning.
43352 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43353 Likewise.
43354
433552012-05-09 Joseph Myers <joseph@codesourcery.com>
43356
43357 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43358 == 0.
43359 (LC_ALL): Use macro-int-constant.
43360 (LC_COLLATE): Likewise.
43361 (LC_CTYPE): Likewise.
43362 (LC_MESSAGES): Likewise.
43363 (LC_MONETARY): Likewise.
43364 (LC_NUMERIC): Likewise.
43365 (LC_TIME): Likewise.
43366 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43367 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43369 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43370 Specify type.
43371 [C99-based standards] (float_t): Expect type.
43372 [C99-based standards] (double_t): Expect type.
43373 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43374 type.
43375 [C99-based standards] (HUGE_VALL): Likewise.
43376 [C99-based standards] (INFINITY): Likewise.
43377 [C99-based standards] (NAN): Likewise.
43378 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43379 [C99-based standards] (FP_NAN): Likewise.
43380 [C99-based standards] (FP_NORMAL): Likewise.
43381 [C99-based standards] (FP_SUBNORMAL): Likewise.
43382 [C99-based standards] (FP_ZERO): Likewise.
43383 [C99-based standards] (FP_FAST_FMA): Use
43384 optional-macro-int-constant. Specify type. Require == 1.
43385 [C99-based standards] (FP_FAST_FMAF): Likewise.
43386 [C99-based standards] (FP_FAST_FMAL): Likewise.
43387 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43388 [C99-based standards] (FP_ILOGBNAN): Likewise.
43389 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43390 Specify type.
43391 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43392 [C99-based standards] (math_errhandling): Specify type.
43393 [ISO99 || ISO11] (signgam): Do not allow.
43394 [non-C99-based standards] (copysignf): Do not allow.
43395 [non-C99-based standards] (exp2f): Likewise.
43396 [non-C99-based standards] (log2f): Likewise.
43397 [non-C99-based standards] (modff): Allow.
43398 [non-C99-based standards] (erff): Do not allow.
43399 [non-C99-based standards] (erfcf): Likewise.
43400 [non-C99-based standards] (gammaf): Likewise.
43401 [non-C99-based standards] (hypotf): Likewise.
43402 [non-C99-based standards] (j0f): Likewise.
43403 [non-C99-based standards] (j1f): Likewise.
43404 [non-C99-based standards] (jnf): Likewise.
43405 [non-C99-based standards] (lgammaf): Likewise.
43406 [non-C99-based standards] (tgammaf): Likewise.
43407 [non-C99-based standards] (y0f): Likewise.
43408 [non-C99-based standards] (y1f): Likewise.
43409 [non-C99-based standards] (ynf): Likewise.
43410 [non-C99-based standards] (isnanf): Likewise.
43411 [non-C99-based standards] (acoshf): Likewise.
43412 [non-C99-based standards] (asinhf): Likewise.
43413 [non-C99-based standards] (atanhf): Likewise.
43414 [non-C99-based standards] (cbrtf): Likewise.
43415 [non-C99-based standards] (expm1f): Likewise.
43416 [non-C99-based standards] (ilogbf): Likewise.
43417 [non-C99-based standards] (log1pf): Likewise.
43418 [non-C99-based standards] (logbf): Likewise.
43419 [non-C99-based standards] (nextafterf): Likewise.
43420 [non-C99-based standards] (remainderf): Likewise.
43421 [non-C99-based standards] (rintf): Likewise.
43422 [non-C99-based standards] (scalbf): Likewise.
43423 [non-C99-based standards] (copysignl): Likewise.
43424 [non-C99-based standards] (exp2l): Likewise.
43425 [non-C99-based standards] (log2l): Likewise.
43426 [non-C99-based standards] (modfl): Allow.
43427 [non-C99-based standards] (erfl): Do not allow.
43428 [non-C99-based standards] (erfcl): Likewise.
43429 [non-C99-based standards] (gammal): Likewise.
43430 [non-C99-based standards] (hypotl): Likewise.
43431 [non-C99-based standards] (j0l): Likewise.
43432 [non-C99-based standards] (j1l): Likewise.
43433 [non-C99-based standards] (jnl): Likewise.
43434 [non-C99-based standards] (lgammal): Likewise.
43435 [non-C99-based standards] (tgammal): Likewise.
43436 [non-C99-based standards] (y0l): Likewise.
43437 [non-C99-based standards] (y1l): Likewise.
43438 [non-C99-based standards] (ynl): Likewise.
43439 [non-C99-based standards] (isnanl): Likewise.
43440 [non-C99-based standards] (acoshl): Likewise.
43441 [non-C99-based standards] (asinhl): Likewise.
43442 [non-C99-based standards] (atanhl): Likewise.
43443 [non-C99-based standards] (cbrtl): Likewise.
43444 [non-C99-based standards] (expm1l): Likewise.
43445 [non-C99-based standards] (ilogbl): Likewise.
43446 [non-C99-based standards] (log1pl): Likewise.
43447 [non-C99-based standards] (logbl): Likewise.
43448 [non-C99-based standards] (nextafterl): Likewise.
43449 [non-C99-based standards] (remainderl): Likewise.
43450 [non-C99-based standards] (rintl): Likewise.
43451 [non-C99-based standards] (scalbl): Likewise.
43452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43453 [non-C99-based standards] (FP_*): Do not allow.
43454 [C99-based standards] (FP_*): Change to
43455 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43456 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43457 allow.
43458 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43459 (SIG_ERR): Likewise.
43460 [X/Open-based standards] (SIG_HOLD): Likewise.
43461 (SIG_IGN): Likewise.
43462 (SIGABRT): Use macro-int-constant. Specify type. Require
43463 positive value.
43464 (SIGFPE): Likewise.
43465 (SIGILL): Likewise.
43466 (SIGINT): Likewise.
43467 (SIGSEGV): Likewise.
43468 (SIGTER): Likewise.
43469 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43470 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43471 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43472 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43473 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43474 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43475 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43476 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43477 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43478 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43479 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43480 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43481 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43482 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43483 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43484 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43485 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43486 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43487 [X/Open-based standards] (SIGTRAP): Likewise.
43488 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43489 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43490 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43491 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43492 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43493 allow.
43494
434952012-05-08 Ian Wienand <ianw@vmware.com>
43496
43497 [BZ #14080]
43498 * time/tzset.c (__tzset_parse_tz): Update default rules for
43499 daylight time changes in the Energy Policy Act of 2005.
43500
435012012-05-09 Andreas Jaeger <aj@suse.de>
43502
43503 [BZ #13983]
43504 * elf/ldconfig.c (parse_conf): Change string to make clear that
43505 ldconfig only issued a warning if ld.so.conf does not exist.
43506
435072012-05-08 David S. Miller <davem@davemloft.net>
43508
43509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43510 movxtod instead of popping the value on the stack.
43511
43512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43513
435142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43515
43516 * config.h.in: Add HAVE_ARM_PCS_VFP.
43517
435182012-05-08 Roland Mc Grath <roland@hack.frob.com>
43519
43520 [BZ #13979]
43521 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43522 checking but the checks are disabled for any reason.
43523
435242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43525
43526 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43527 and ELF64_R_TYPE with ELFW(R_TYPE).
43528
435292012-05-08 Joseph Myers <joseph@codesourcery.com>
43530
43531 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43532 (ulimit): Likewise.
43533
43534 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43535 (settimeofday): Likewise.
43536
435372012-05-08 Mike Frysinger <vapier@gentoo.org>
43538
43539 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43540 a struct th_u2 inside the union, and move tu_block/tu_code into
43541 a new th_u3 union of tu_block/tu_code inside of that. Move
43542 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43543 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43544 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43545 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43546 (th_stuff): Change to th_u1.tu_stuff.
43547 (th_data): Define.
43548 (th_msg): Change to th_u1.th_u2.tu_data.
43549
435502012-05-07 David S. Miller <davem@davemloft.net>
43551
43552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43553
43554 [BZ #14074]
43555 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43556 (SETUP_PIC_REG): Use it.
43557 (SETUP_PIC_REG_LEAF): Use it.
43558
435592012-05-07 Joseph Myers <joseph@codesourcery.com>
43560
43561 [BZ #13885]
43562 [BZ #13923]
43563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43564 USE_AS_EXPM1L.
43565 (EXPL_FINITE): Likewise.
43566 (FLDLOG): Likewise.
43567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43568 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43569 e_expl.S.
43570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43571 USE_AS_EXPM1L.
43572 (EXPL_FINITE): Likewise.
43573 (FLDLOG): Likewise.
43574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43575 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43576 e_expl.S.
43577 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43578 test of -max_value argument for long double.
43579 * sysdeps/i386/fpu/libm-test-ulps: Update.
43580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43581
435822012-05-06 David S. Miller <davem@davemloft.net>
43583
43584 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43585 quad soft-float symbols whose references which are compiler
43586 generated.
43587 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43588
435892012-05-06 Joseph Myers <joseph@codesourcery.com>
43590
43591 [BZ #13884]
43592 [BZ #13914]
43593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43594 USE_AS_EXP10L.
43595 (EXPL_FINITE): Likewise.
43596 (FLDLOG): Likewise.
43597 (c0): Likewise.
43598 (c1): Likewise.
43599 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43600 Adjust comments for base varying.
43601 (__expl_finite): Change alias to EXPL_FINITE.
43602 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43603 e_expl.S.
43604 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43605 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43606 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43607 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43608 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43609 USE_AS_EXP10L.
43610 (EXPL_FINITE): Likewise.
43611 (FLDLOG): Likewise.
43612 (c0): Likewise.
43613 (c1): Likewise.
43614 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43615 Adjust comments for base varying.
43616 (__expl_finite): Change alias to EXPL_FINITE.
43617 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43618 tests for bugs.
43619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43620
43621 [BZ #14064]
43622 * math/libm-test.inc (check_float_internal): Correct ulp
43623 calculation for subnormal expected results.
43624
436252012-05-06 Andreas Jaeger <aj@suse.de>
43626
43627 * Makeconfig (+math-flags): New, set to -frounding-math.
43628 (+cflags): Add +math-flags so that all of glibc gets compiled with
43629 it.
43630
43631 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43632
436332012-05-05 Joseph Myers <joseph@codesourcery.com>
43634
43635 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43636 Disable one test.
43637
43638 [BZ #13787]
43639 [BZ #13922]
43640 [BZ #14036]
43641 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43642 (__ieee754_expl): Allow for and saturate large arguments.
43643 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43644 (u_threshold): Likewise.
43645 (__exp): Call __ieee754_exp before checking for overflow and
43646 underflow.
43647 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43648 (u_threshold): Likewise.
43649 (__expf): Call __ieee754_expf before checking for overflow and
43650 underflow.
43651 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43652 (u_threshold): Likewise.
43653 (__expl): Call __ieee754_expl before checking for overflow and
43654 underflow.
43655 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43656 (__ieee754_expl): Allow for and saturate large arguments.
43657 * math/libm-test.inc (exp_test): Add another test. Do not allow
43658 missing overflow exception on overflow.
43659 (expm1_test): Do not allow missing overflow exception on overflow.
43660
43661 * sysdeps/i386/fpu/e_expl.c: Move to ...
43662 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43663 rather than using inline asm.
43664 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43665 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43666 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43667
43668 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43669 (nice): Likewise.
43670 (poll): Likewise.
43671 (signal): Likewise.
43672 (time): Likewise.
43673 (times): Likewise.
43674
436752012-05-04 Joseph Myers <joseph@codesourcery.com>
43676
43677 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43678 sysdeps/unix/common/syscalls.list.
43679 (fchmod): Likewise.
43680 (fchown): Likewise.
43681 (ftruncate): Likewise.
43682 (getrusage): Likewise.
43683 (gettimeofday): Likewise.
43684 (setpgid): Likewise.
43685 (setregid): Likewise.
43686 (setreuid): Likewise.
43687 (sigaction): Likewise.
43688 (truncate): Likewise.
43689 (vhangup): Likewise.
43690 * sysdeps/unix/common/syscalls.list: Remove file.
43691 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43692 * sysdeps/unix/sysv/linux/Implies: Likewise.
43693
436942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43695
43696 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43698 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43699 Moved to ...
43700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43701 Here.
43702 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43703 to ...
43704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43705 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43706 to ...
43707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43708 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43709 to ...
43710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43712 to ...
43713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43714 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43715 to ...
43716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43717 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43718 to ...
43719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43720 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43721 to ...
43722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43723 Here.
43724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43725 to ...
43726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43727 Here.
43728 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43729 to ...
43730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43731 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43732 Moved to ...
43733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43734 Here.
43735 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43736 to ...
43737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43738
437392012-05-04 Joseph Myers <joseph@codesourcery.com>
43740
43741 * sysdeps/unix/common/bits/dirent.h: Remove file.
43742 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43743
43744 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43745 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43746 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43747 * sysdeps/unix/bsd/isatty.c: Likewise.
43748 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43749 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43750 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43751
437522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43753
43754 [BZ #13563]
43755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43756 long double comparison inaccuracies.
43757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43759
437602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43761
43762 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43764
437652012-05-04 Joseph Myers <joseph@codesourcery.com>
43766
43767 [BZ #14049]
43768 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43769 nonzero digits before rounding a hex value.
43770 * stdlib/tst-strtod.c (tests): Add another test.
43771
437722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43773
43774 * sysdeps/s390/fpu/libm-test-ulps: Update.
43775
437762012-05-03 Andreas Jaeger <aj@suse.de>
43777
43778 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43779 does not get optimized out.
43780 (malloc_opt_barrier): New.
43781
437822012-05-03 Andreas Jaeger <aj@suse.de>
43783 Roland McGrath <roland@hack.frob.com>
43784
43785 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43786 intermediate file deletion.
43787 (generated): Add .symlist files.
43788
437892012-05-03 Joseph Myers <joseph@codesourcery.com>
43790
43791 [BZ #13775]
43792 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43793 Redirect under this condition.
43794 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43795 [__USE_GNU] (__dprintf_chk): Not under this condition.
43796 [__USE_GNU] (__vdprintf_chk): Likewise.
43797 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43798 under this condition.
43799 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43800 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43801 [__USE_XOPEN2K8] (vdprintf): Likewise.
43802 [__USE_GNU] (__dprintf_chk): Not under this condition.
43803 [__USE_GNU] (__vdprintf_chk): Likewise.
43804 [__USE_GNU] (dprintf): Likewise.
43805 [__USE_GNU] (vdprintf): Likewise.
43806
438072012-05-03 Roland McGrath <roland@hack.frob.com>
43808
43809 * elf/Makefile (common-generated): Set this instead of generated for
43810 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43811 $(all-built-dso)-derived lists.
43812
438132012-05-03 Andreas Jaeger <aj@suse.de>
43814
43815 * sysdeps/i386/fpu/libm-test-ulps: Update.
43816
43817 * FAQ: Removed.
43818 * FAQ.in: Likewise.
43819 * scripts/gen-FAQ.pl: Likewise.
43820 * manual/install.texi (Installation): Point to online location of
43821 FAQ.
43822 * Makefile (files-for-dist): Remove FAQ.
43823 (FAQ): Remove.
43824
438252012-05-02 Allan McRae <allan@archlinux.org>
43826
43827 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43828 (LDFLAGS-reldepmod5.so): Likewise.
43829 (LDFLAGS-reldep6mod1.so): Likewise.
43830 (LDFLAGS-reldep6mod4.so): Likewise.
43831 (LDFLAGS-reldep8mod3.so): Likewise.
43832 (LDFLAGS-unload4mod1.so): Likewise.
43833 (LDFLAGS-unload4mod2.so): Likewise.
43834 (LDFLAGS-tst-initorder): Likewise.
43835 (LDFLAGS-tst-initordera2.so): Likewise.
43836 (LDFLAGS-tst-initordera3.so): Likewise.
43837 (LDFLAGS-tst-initordera4.so): Likewise.
43838 (LDFLAGS-tst-initorderb2.so): Likewise.
43839 (LDFLAGS-noload): Likewise.
43840 (LDFLAGS-next): Likewise.
43841 (LDFLAGS-order2mod1.so): Likewise.
43842 (LDFLAGS-order2mod2.so): Likewise.
43843 (LDFLAGS-tst-initorder2): Likewise.
43844 (LDFLAGS-tst-initorder2a.so): Likewise.
43845 (LDFLAGS-tst-initorder2b.so): Likewise.
43846 (LDFLAGS-tst-initorder2c.so): Likewise.
43847 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43848
438492012-05-02 David S. Miller <davem@davemloft.net>
43850
43851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43852
438532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43854
43855 [BZ #14055]
43856 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43857
438582012-05-02 Andreas Jaeger <aj@suse.de>
43859
43860 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43861 since we manipulate rounding mode.
43862 (CPPFLAGS-test-idouble.c): Likewise.
43863 (CPPFLAGS-test-ifloat.c): Likewise.
43864 (CFLAGS-test-ldouble.c): Likewise.
43865 (CFLAGS-test-double.c): Likewise.
43866 (CFLAGS-test-float.c): Likewise.
43867 (CFLAGS-test-misc.c): Likewise.
43868 (CFLAGS-test-test-fenv.c): Likewise.
43869
438702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43871
43872 [BZ #2550]
43873 [BZ #2570]
43874 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43875 comparisons to determine direction to adjust input.
43876
438772012-05-01 Roland McGrath <roland@hack.frob.com>
43878
43879 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43880 output to the target.
43881
43882 * scripts/localplt.awk: New file.
43883 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43884 (check-localplt-CFLAGS): Variable removed.
43885 ($(all-built-dso:=.jmprel)): New static pattern rule.
43886 (generated): Add those targets.
43887 (localplt-built-dso): New variable.
43888 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43889
43890 * elf/check-localplt.c: File removed.
43891
43892 * scripts/check-execstack.awk: New file.
43893 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43894 (check-execstack-CFLAGS): Variable removed.
43895 ($(objpfx)check-execstack.h): Target removed.
43896 ($(objpfx)execstack-default): New target.
43897 (generated): Add that instead of check-execstack.h.
43898 ($(all-built-dso:=.phdr)): New static pattern rule.
43899 (generated): Add those targets.
43900 * elf/check-execstack.c: File removed.
43901
43902 * scripts/check-textrel.awk: New file.
43903 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43904 (check-textrel-CFLAGS): Variable removed.
43905 (all-built-dso): Use := to define.o
43906 ($(all-built-dso:=.dyn)): New static pattern rule.
43907 (generated): Add those targets.
43908 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43909 * config.make.in (READELF): New substituted variable.
43910 * elf/check-textrel.c: File removed.
43911
439122012-05-01 Joseph Myers <joseph@codesourcery.com>
43913
43914 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43915 allow.
43916 * conform/data/ctype.h-data [C99-based standards] (isblank):
43917 Expect function.
43918 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43919 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43921 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43922 Specify type. Require positive value.
43923 (EILSEQ): Likewise.
43924 (ERANGE): Likewise.
43925 [ISO || POSIX] (EILSEQ): Do not expect.
43926 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43927 Specify type. Require positive value.
43928 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43929 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43930 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43931 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43932 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43933 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43934 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43935 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43936 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43937 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43938 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43939 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43940 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43941 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43942 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43943 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43944 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43945 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43946 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43947 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43948 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43949 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43950 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43951 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43952 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43953 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43954 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43955 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43956 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43957 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43958 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43959 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43960 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43961 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43962 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43963 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43964 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43970 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43971 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43972 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43974 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43975 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43976 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43977 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43978 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43979 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43980 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43981 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43982 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43983 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43984 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43985 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43986 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43987 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43988 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43989 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43990 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43991 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43992 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43993 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43994 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43995 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43996 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43997 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43998 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43999 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44000 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44001 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44002 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44003 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44004 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44005 Require >= 2.
44006 (FLT_ROUNDS): Expect as macro, not constant.
44007 (FLT_MANT_DIG): Use macro-int-constant.
44008 (DBL_MANT_DIG): Likewise.
44009 (LDBL_MANT_DIG): Likewise.
44010 (FLT_DIG): Likewise.
44011 (DBL_DIG): Likewise.
44012 (LDBL_DIG): Likewise.
44013 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44014 (DBL_MIN_EXP): Likewise.
44015 (LDBL_MIN_EXP): Likewise.
44016 (FLT_MAX_EXP): Use macro-int-constant.
44017 (DBL_MAX_EXP): Likewise.
44018 (LDBL_MAX_EXP): Likewise.
44019 (FLT_MAX_10_EXP): Likewise.
44020 (DBL_MAX_10_EXP): Likewise.
44021 (LDBL_MAX_10_EXP): Likewise.
44022 (FLT_MAX): Use macro-constant.
44023 (DBL_MAX): Likewise.
44024 (LDBL_MAX): Likewise.
44025 (FLT_EPSILON): Use macro-constant. Give upper bound.
44026 (DBL_EPSILON): Likewise.
44027 (LDBL_EPSILON): Likewise.
44028 (FLT_MIN): Likewise.
44029 (DBL_MIN): Likewise.
44030 (LDBL_MIN): Likewise.
44031 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44032 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44033 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44034 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44035 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44036 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44037 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44038 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44039 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44040 [ISO11] (FLT_TRUE_MIN): Likewise.
44041 [ISO11] (LDBL_TRUE_MIN): Likewise.
44042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44043 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44044 (SCHAR_MIN): Use macro-int-constant. Specify type.
44045 (SCHAR_MAX): Likewise.
44046 (UCHAR_MAX): Likewise.
44047 (CHAR_MIN): Likewise.
44048 (CHAR_MAX): Likewise.
44049 (MB_LEN_MAX): Use macro-int-constant.
44050 (SHRT_MIN): Use macro-int-constant. Specify type.
44051 (SHRT_MAX): Likewise.
44052 (USHRT_MAX): Likewise.
44053 (INT_MAX): Likewise.
44054 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44055 bound negative.
44056 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44057 bound with "U".
44058 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44059 bound with "L".
44060 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44061 bound negative. Suffix upper bound with "L".
44062 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44063 bound with "UL".
44064 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44065 Specify type.
44066 [C99-based standards] (LLONG_MAX): Likewise.
44067 [C99-based standards] (ULLONG_MAX): Likewise.
44068 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44069 == 0.
44070 [ISO11] (max_align_t): Require type.
44071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44072
44073 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44074 from $CFLAGS, without defining away __attribute__ calls.
44075 (checknamespace): Use $CFLAGS_namespace.
44076
44077 * conform/conformtest.pl (@keywords): Only include C99 keywords
44078 for standards based on C99 or C11.
44079
44080 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44081 Disable tests.
44082 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44083 UNIX98]: Likewise.
44084
44085 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44086 usability of symbols in #if.
44087
44088 * conform/conformtest.pl: If macro or constant types start
44089 "promoted:", expect the symbol to be of the following type
44090 promoted by the integer promotions.
44091
44092 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44093 in one place. Also handle "macro-constant".
44094
44095 * conform/conformtest.pl: Only accept expected macro values with
44096 "==". Parse all "macro" lines in one place.
44097 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44098
44099 * conform/conformtest.pl: Handle braced types on "constant" lines
44100 instead of handling "typed-constant".
44101 * conform/data/signal.h-data: Use "constant" instead of
44102 "typed-constant".
44103
44104 * conform/conformtest.pl: Handle "optional-" at start of lines in
44105 one place rather than duplicating several cases. Handle each
44106 format of "macro" line with initial "optional-".
44107
44108 * conform/conformtest.pl: Only accept expected constant or
44109 optional-constant values with "==". Parse all "constant" lines in
44110 one place. Parse all "optional-constant" lines in one place.
44111 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44112 * conform/data/fmtmsg.h-data: Likewise.
44113 * conform/data/netinet/in.h-data: Likewise.
44114 * conform/data/tar.h-data: Likewise.
44115 * conform/data/limits.h-data: Use "==" form on "constant" and
44116 "optional-constant" lines.
44117
44118 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44119 Use -std=c99 for XOPEN2K.
44120 (@knownproblems): Remove.
44121 (newtoken): Don't check %isknown.
44122
44123 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44124 Do not expect macro.
44125 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44137 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44138 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44155 [XPG3] (acosh): Likewise.
44156 [XPG3] (asinh): Likewise.
44157 [XPG3] (atanh): Likewise.
44158 [XPG3] (cbrt): Likewise.
44159 [XPG3] (expm1): Likewise.
44160 [XPG3] (ilogb): Likewise.
44161 [XPG3] (log1p): Likewise.
44162 [XPG3] (logb): Likewise.
44163 [XPG3] (nextafter): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44166 [XPG3] (remainder): Likewise.
44167 [XPG3] (rint): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44175 [UNIX98 || XOPEN2K] (scalb): Expect.
44176 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44177 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44186 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44187 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44188 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44189 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44190 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44191 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44192 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44193 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44194 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44195 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44196 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44197 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44198 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44199 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44200 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44201 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44202 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44214 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44215 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44232 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44233 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44234 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44235 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44236 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44237 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44238 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44239 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44240 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44243 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44244 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44252 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44282 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44294 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44313
44314 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44315 _XOPEN_SOURCE_EXTENDED for XPG4.
44316
44317 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44318
44319 * Makeconfig (localtime): Remove variable.
44320 (inst_localtime-file): Likewise.
44321
443222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44323
44324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44325 Update.
44326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44327 Update.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44329 Update.
44330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44331 Update.
44332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44333 Update.
44334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44335 Update.
44336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44337 Update.
44338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44339 Update.
44340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44341 Update.
44342
443432012-05-01 Joseph Myers <joseph@codesourcery.com>
44344
44345 [BZ #2550]
44346 [BZ #2570]
44347 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44348 comparisons to determine direction to adjust input.
44349 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44350 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44352 Likewise.
44353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44354 Likewise.
44355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44356 Likewise.
44357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44359 Likewise.
44360 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44361 Likewise.
44362 * math/libm-test.inc (nexttoward_test): Add more tests.
44363
443642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44365
44366 [BZ #14040]
44367 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44368 in version GLIBC_2.1, not GLIBC_2.0.
44369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44370 Likewise.
44371
443722012-04-30 Joseph Myers <joseph@codesourcery.com>
44373
44374 [BZ #13942]
44375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44376 (1 - x) * (1 + x).
44377 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44378 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44379 * math/libm-test.inc (acos_test): Add more tests.
44380 (asin_test): Likewise.
44381 * sysdeps/i386/fpu/libm-test-ulps: Update.
44382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44383
44384 [BZ #14034]
44385 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44386 of square root.
44387 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44388 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44389 * math/libm-test.inc (acos_test_tonearest): New function.
44390 (acos_test_towardzero): Likewise.
44391 (acos_test_downward): Likewise.
44392 (acos_test_upward): Likewise.
44393 (asin_test_tonearest): Likewise.
44394 (asin_test_towardzero): Likewise.
44395 (asin_test_downward): Likewise.
44396 (asin_test_upward): Likewise.
44397 (main): Call the new functions.
44398 * sysdeps/i386/fpu/libm-test-ulps: Update.
44399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44400
44401 [BZ #13884]
44402 [BZ #13924]
44403 * math/e_exp10.c: Include <float.h>.
44404 (__ieee754_exp10): Handle underflow here rather than multiplying
44405 large negative argument by M_LN10.
44406 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44407 of __ieee754_expf.
44408 * math/e_exp10l.c: Include <float.h>.
44409 (__ieee754_exp10l): Handle underflow here rather than multiplying
44410 large negative argument by M_LN10l.
44411 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44412 spurious overflow exception on underflow.
44413
444142012-04-29 Marek Polacek <polacek@redhat.com>
44415
44416 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44417 (__fortify_function): New macro.
44418 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44419 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44420 __extern_always_inline.
44421 * libio/bits/stdio2.h: Likewise.
44422 * libio/bits/stdio.h: Likewise.
44423 * string/string.h: Likewise.
44424 * string/bits/string3.h: Likewise.
44425 * include/stdio.h: Likewise.
44426 * stdlib/bits/stdlib.h: Likewise.
44427 * stdlib/stdlib.h: Likewise.
44428 * rt/bits/mqueue2.h: Likewise.
44429 * rt/mqueue.h: Likewise.
44430 * posix/bits/unistd.h: Likewise.
44431 * posix/unistd.h: Likewise.
44432 * io/bits/poll2.h: Likewise.
44433 * io/bits/fcntl2.h: Likewise.
44434 * io/fcntl.h: Likewise.
44435 * io/sys/poll.h: Likewise.
44436 * misc/bits/syslog.h: Likewise.
44437 * misc/bits/syslog-ldbl.h: Likewise.
44438 * misc/sys/syslog.h: Likewise.
44439 * socket/bits/socket2.h: Likewise.
44440 * socket/sys/socket.h: Likewise.
44441 * debug/tst-chk1.c: Likewise.
44442 * wcsmbs/bits/wchar2.h: Likewise.
44443 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44444 * wcsmbs/wchar.h: Likewise.
44445
444462012-04-29 Andreas Jaeger <aj@suse.de>
44447
44448 * Makerules (tests): Remove enable-check-abi protection.
44449 (check-abi-warn): Remove.
44450 (check-abi-%): Remove check-abi-warn usage.
44451
44452 * configure.in: Remove check-abi configure option.
44453 * configure: Regenerated.
44454 * config.make.in (enable-check-abi): Remove.
44455
444562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44457
44458 [BZ #14033]
44459 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44460 double functions to double *_finite functions.
44461
44462 [BZ #13941]
44463 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44464 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44465 LDBL_MIN_EXP.
44466 * stdio-common/Makefile (tests): Add tst-sprintf3.
44467 * stdio-common/tst-sprintf3.c: New file.
44468
44469 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44470 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44471
444722012-04-28 Joseph Myers <joseph@codesourcery.com>
44473
44474 * conform/conformtest.pl: Remove duplicate typed-constant
44475 handling.
44476
444772012-04-28 David S. Miller <davem@davemloft.net>
44478
44479 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44480 (check-abi-%): Remove AWK script prerequisite and explicit
44481 abilist directory.
44482 (check-abi): Rewrite to just diff the symlist with the abilist.
44483 (config-tls, config-abi-config): Delete, no longer used.
44484 (update-abi-%): Remove AWK script and explicit abilist directory.
44485 (update-abi): Rewrite to simply compare and conditionally copy the
44486 symlist and the sysdep abilist file. Remove update-abi-config
44487 checks.
44488 * abilist/ld.abilist: Remove.
44489 * abilist/libBrokenLocale.abilist: Remove.
44490 * abilist/libanl.abilist: Remove.
44491 * abilist/libcrypt.abilist: Remove.
44492 * abilist/libdl.abilist: Remove.
44493 * abilist/librt.abilist: Remove.
44494 * abilist/libthread_db.abilist: Remove.
44495 * abilist/libutil.abilist: Remove.
44496 * scripts/extract-abilist.awk: Remove.
44497 * scripts/merge-abilist.awk: Remove.
44498 * sysdeps/generic/libcidn.abilist: New file.
44499 * sysdeps/generic/libnss_compat.abilist: New file.
44500 * sysdeps/generic/libnss_db.abilist: New file.
44501 * sysdeps/generic/libnss_dns.abilist: New file.
44502 * sysdeps/generic/libnss_files.abilist: New file.
44503 * sysdeps/generic/libnss_hesiod.abilist: New file.
44504 * sysdeps/generic/libnss_nis.abilist: New file.
44505 * sysdeps/generic/libnss_nisplus.abilist: New file.
44506 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44507 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44508 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44509 file.
44510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44511 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44512 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44513 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44514 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44515 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44516 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44517 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44518 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44519 file.
44520 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44521 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44522 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44523 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44524 file.
44525 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44526 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44527 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44528 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44529 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44530 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44531 file.
44532 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44533 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44534 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44535 file.
44536 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44538 New file.
44539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44540 New file.
44541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44542 New file.
44543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44544 New file.
44545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44546 New file.
44547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44548 New file.
44549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44550 New file.
44551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44552 New file.
44553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44554 New file.
44555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44556 New file.
44557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44558 New file.
44559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44560 New file.
44561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44562 New file.
44563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44564 file.
44565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44566 New file.
44567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44568 New file.
44569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44570 file.
44571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44572 New file.
44573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44574 New file.
44575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44576 file.
44577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44578 New file.
44579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44580 New file.
44581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44582 New file.
44583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44584 New file.
44585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44586 New file.
44587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44588 New file.
44589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44591 file.
44592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44593 New file.
44594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44595 file.
44596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44597 file.
44598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44599 file.
44600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44601 file.
44602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44603 file.
44604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44605 New file.
44606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44607 file.
44608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44609 file.
44610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44611 New file.
44612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44613 file.
44614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44616 file.
44617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44618 New file.
44619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44620 file.
44621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44622 file.
44623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44624 file.
44625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44626 file.
44627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44628 file.
44629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44630 New file.
44631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44632 file.
44633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44634 file.
44635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44636 New file.
44637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44638 file.
44639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44640 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44641 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44642 file.
44643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44644 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44645 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44647 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44649 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44650 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44651 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44652 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44655 file.
44656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44657 New file.
44658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44659 file.
44660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44661 file.
44662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44663 file.
44664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44665 file.
44666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44667 file.
44668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44669 New file.
44670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44671 New file.
44672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44673 file.
44674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44675 New file.
44676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44677 file.
44678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44680 file.
44681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44682 New file.
44683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44684 file.
44685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44686 file.
44687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44688 file.
44689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44690 file.
44691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44692 file.
44693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44694 New file.
44695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44696 New file.
44697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44698 file.
44699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44700 New file.
44701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44702 file.
44703
447042012-04-28 Joseph Myers <joseph@codesourcery.com>
44705
44706 * conform/conformtest.pl: Fix typo in handling typed-constant from
44707 allow-header.
44708
447092012-04-27 Joseph Myers <joseph@codesourcery.com>
44710
44711 * README: Cut down references to pre-2.6 Linux kernels and
44712 Linuxthreads. Update lists of configurations in libc and ports
44713 and sort alphabetically. Say "or newer" with Linux kernel version
44714 requirements.
44715
44716 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44717
447182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44719
44720 [BZ #887]
44721 * math/libm-test.inc (logb_test_downward): New test to expose
44722 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44723 rounding mode.
44724
447252012-04-27 Joseph Myers <joseph@codesourcery.com>
44726
44727 [BZ #14027]
44728 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44729 to be done.
44730 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44731 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44732
447332012-04-26 Joseph Myers <joseph@codesourcery.com>
44734
44735 * sysdeps/unix/i386/brk.S: Remove file.
44736 * sysdeps/unix/i386/dl-brk.S: Likewise.
44737 * sysdeps/unix/i386/pipe.S: Likewise.
44738 * sysdeps/unix/i386/sigreturn.S: Likewise.
44739 * sysdeps/unix/i386/syscall.S: Likewise.
44740 * sysdeps/unix/i386/vfork.S: Likewise.
44741 * sysdeps/unix/i386/wait.S: Likewise.
44742
44743 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44744 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44745
44746 * configure.in (arm*-none*): Do not allow without
44747 --enable-hacker-mode.
44748 (netbsd*): Remove case setting base_os.
44749 (386bsd*): Likewise.
44750 (freebsd*): Likewise.
44751 (bsdi*): Likewise.
44752 (osf*): Likewise.
44753 (sunos*): Likewise.
44754 (ultrix*): Likewise.
44755 (newsos*): Likewise.
44756 (dynix*): Likewise.
44757 (*bsd*): Likewise.
44758 (sysv*): Likewise.
44759 (isc*): Likewise.
44760 (esix*): Likewise.
44761 (sco*): Likewise.
44762 (minix*): Likewise.
44763 (irix4*): Likewise.
44764 (irix6*): Likewise.
44765 (solaris[2-9]*): Likewise.
44766 (none): Likewise.
44767 * configure: Regenerated.
44768
447692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44770
44771 [BZ #11521]
44772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44773 overflow or cancellation in calculating denominator.
44774 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44776 down expression to avoid unexpected rounding in newer GCCs.
44777 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44778
447792012-04-26 David S. Miller <davem@davemloft.net>
44780
44781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44782 long-double compat symbols.
44783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44796
447972012-04-25 David S. Miller <davem@davemloft.net>
44798
44799 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44800 HWCAP_* values only after the memory barriers have been defined.
44801 (atomic_full_barrier): Define.
44802 (atomic_read_barrier): Define.
44803 (atomic_write_barrier): Define.
44804
448052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44806
44807 * shlib-versions: Add libgcc_s version information.
44808 * sysdeps/generic/libgcc_s.h: Remove.
44809 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44810 libgcc_s.h.
44811 * sysdeps/gnu/unwind-resume.c: Likewise.
44812 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44813
448142012-04-25 David S. Miller <davem@davemloft.net>
44815
44816 * sysdeps/unix/sparc/brk.S: Delete.
44817 * sysdeps/unix/sparc/dl-brk.S: Delete.
44818 * sysdeps/unix/sparc/pipe.S: Delete.
44819 * sysdeps/unix/sparc/sysdep.S: Delete.
44820 * sysdeps/unix/sparc/sysdep.h: Delete.
44821 * sysdeps/unix/sparc/vfork.S: Delete.
44822 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44823 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44825 (ret_ERRVAL, r0, r1, MOVE): Define.
44826 (JUMPTARGET): Remove.
44827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44828 sysdeps/unix/sparc/sysdep.h
44829 (ENTRY, END): Remove.
44830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44831
448322012-04-25 Joseph Myers <joseph@codesourcery.com>
44833
44834 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44835 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44836 -DIS_IN_build.
44837
44838 * timezone/README: Update upstream location and email address for
44839 tzcode and tzdata.
44840 * timezone/zdump.c: Update from tzcode 2012b.
44841 * timezone/zic.c: Likewise.
44842
44843 * configure.in (libc_cv_as_needed): Remove test.
44844 * configure: Regenerated.
44845 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44846 conditional definition.
44847 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44848 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44849 * config.make.in (have-as-needed): Remove variable.
44850
448512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44852 Paul Pluzhnikov <ppluzhnikov@google.com>
44853
44854 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44855 strings correctly.
44856
448572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44858
44859 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44860 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44861 * sysdeps/sh/strlen.S: Likewise.
44862
448632012-04-24 Joseph Myers <joseph@codesourcery.com>
44864
44865 * sysdeps/unix/fork.S: Remove file.
44866 * sysdeps/unix/i386/fork.S: Likewise.
44867 * sysdeps/unix/sparc/fork.S: Likewise.
44868
44869 * sysdeps/unix/system.c: Remove file.
44870 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44871
44872 * sysdeps/unix/getegid.S: Remove file.
44873 * sysdeps/unix/geteuid.S: Likewise.
44874
448752012-04-24 Roland McGrath <roland@hack.frob.com>
44876
44877 * scripts/check-localplt.awk: New file.
44878 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44879 of diff.
44880 * scripts/data/localplt-generic.data: Add a comment.
44881
44882 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44883 NODE when __dir_mkfile failed.
44884 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44885 Reported by Ludovic Courtès <ludo@gnu.org>.
44886
448872012-04-24 Andreas Jaeger <aj@suse.de>
44888
44889 * Makerules (common-clean): Also remove gen-as-const-headers
44890 files.
44891
448922012-04-24 Joseph Myers <joseph@codesourcery.com>
44893
44894 * Makerules (native-compile): Do not change working directory for
44895 build. Use $(OUTPUT_OPTION) in command.
44896 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44897
448982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44899
44900 [BZ #13886]
44901 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44902 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44903 * math/libm-test.inc (floor_test): Add more tests.
44904 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44905
449062012-04-24 Joseph Myers <joseph@codesourcery.com>
44907
44908 * sysdeps/unix/getdents.c: Remove file.
44909 * sysdeps/unix/sysv/getdents.c: Likewise.
44910 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44911
44912 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44913 sysdeps/unix/mman/syscalls.list.
44914 (mmap): Likewise.
44915 (mprotect): Likewise.
44916 (msync): Likewise.
44917 (munmap): Likewise.
44918 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44919 * sysdeps/unix/mman/syscalls.list: Remove.
44920 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44921
44922 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44923 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44924 * configure: Regenerated.
44925 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44926 $(libgcc_s_suffix).
44927 * config.make.in (libgcc_s_suffix): Remove variable.
44928
449292012-04-23 Joseph Myers <joseph@codesourcery.com>
44930
44931 * sysdeps/unix/sysv/gethostname.c: Move to ...
44932 * sysdeps/posix/gethostname.c: ... here.
44933
44934 * sysdeps/unix/execve.S: Remove file.
44935
44936 * sysdeps/unix/_exit.S: Remove file.
44937
449382012-04-23 Andreas Jaeger <aj@suse.de>
44939
44940 [BZ #13739]
44941 * manual/Makefile: Remove make dist support, there's no
44942 need for a stand-alone documentation tar ball.
44943 (TEXI2DVI): Define always, it's not in Makeconfig.
44944 (dist): Removed.
44945 (tar-it): Removed.
44946 (edition): Removed.
44947 (glibc-doc-$(edition).tar): Removed
44948 (%.Z): Removed.
44949 (%.gz): Removed.
44950 (%.uu): Removed.
44951 (ETAGS): Remove, it's in Makeconfig.
44952 (move-if-change): Remove, it's in Makeconfig.
44953
449542012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44955
44956 [BZ #13970]
44957 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44958 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44959 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44960 (strtod_l, strtof_l, strtold_l): Remove __wur.
44961 It is not necessarily an error to ignore strtol's return value.
44962 One can reliably look at the stored endptr to decide whether
44963 the number had valid syntax.
44964
449652012-04-21 Andreas Jaeger <aj@suse.de>
44966
44967 [BZ #13739]
44968 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44969
449702012-04-21 Joseph Myers <joseph@codesourcery.com>
44971
44972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44973 * sysdeps/unix/sysv/Versions: Remove file.
44974
449752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44976
44977 [BZ #13927]
44978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44979
449802012-04-21 Nick Alcock <nick.alcock@oracle.com>
44981
44982 [BZ #7064]
44983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44984 version from __vm86.
44985
449862012-04-20 Joseph Myers <joseph@codesourcery.com>
44987
44988 * sysdeps/unix/common/lxstat.c: Remove file.
44989 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44990
44991 * sysdeps/unix/sysv/Makefile: Remove file.
44992
44993 * sysdeps/unix/sysv/direct.h: Remove file.
44994
44995 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44996 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44997 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44998 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44999 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45000 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45001 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45002
45003 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45004
45005 * sysdeps/unix/xmknod.c: Remove file.
45006 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45007
45008 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45009
45010 * sysdeps/unix/sysv/i386/time.S: Remove file.
45011
45012 * sysdeps/unix/fxstat.c: Remove file.
45013 * sysdeps/unix/xstat.c: Likewise.
45014 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45015
45016 * sysdeps/unix/sysv/sigaction.c: Remove file.
45017
45018 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45019 (sysdep_headers): Remove variable.
45020 [termio.h not in sysdep_headers] (generated): Likewise.
45021 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45022 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45023 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45024 * sysdeps/unix/sysv/tcflow.c: Likewise.
45025 * sysdeps/unix/sysv/tcflush.c: Likewise.
45026 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45027 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45028 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45029 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45030 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45031
45032 * sysdeps/unix/siglist.c: Remove file.
45033
45034 * sysdeps/unix/getppid.S: Remove file.
45035
45036 * sysdeps/unix/mkdir.c: Remove file.
45037 * sysdeps/unix/rmdir.c: Likewise.
45038
450392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45040
45041 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45042 ERR_MAX value.
45043 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45044 errlist-compat value.
45045
450462012-04-18 David S. Miller <davem@davemloft.net>
45047
45048 * sysdeps/generic/memcopy.h (reg_char): Delete.
45049 * debug/strcat_chk.c: Use char, not reg_char.
45050 * debug/strcpy_chk.c: Likewise.
45051 * debug/strncat_chk.c: Likewise.
45052 * debug/strncpy_chk.c: Likewise.
45053 * string/memchr.c: Likewise.
45054 * string/memrchr.c: Likewise.
45055 * string/rawmemchr.c: Likewise.
45056 * string/strcat.c: Likewise.
45057 * string/strchr.c: Likewise.
45058 * string/strchrnul.c: Likewise.
45059 * string/strcmp.c: Likewise.
45060 * string/strcpy.c: Likewise.
45061 * string/strncat.c: Likewise.
45062 * string/strncmp.c: Likewise.
45063 * string/strncpy.c: Likewise.
45064
450652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45066
45067 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45068 __builtin_memcopy is called when src and dest ranges are known to not
45069 overlap.
45070
450712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45072
45073 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45074 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45075 fwd_align_merge macro call.
45076 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45077 bwd_align_merge macro call.
45078 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45079
450802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45081
45082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45083 bwd_align_merge macros.
45084 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45085 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45086 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45087
450882012-04-18 David S. Miller <davem@davemloft.net>
45089
45090 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45091
450922012-04-18 Andreas Jaeger <aj@suse.de>
45093
45094 [BZ# 6794]
45095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45096 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45097 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45098
45099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45100 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45102
45103 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45104 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45105 Adjust for changed ldbl-128 files.
45106
45107 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45108 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45110
451112012-04-17 David S. Miller <davem@davemloft.net>
45112
45113 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45114
451152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45116
45117 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45118 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45119 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45120 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45121 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45122 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45123
451242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45125
45126 [BZ #6794]
45127 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45128 * math/libm-test.inc: Add ilogb errno and exception tests.
45129 * math/w_ilogb.c: New file: ilogb wrapper.
45130 * math/w_ilogbf.c: New file: ilogbf wrapper.
45131 * math/w_ilogbl.c: New file: ilogbl wrapper.
45132 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45133 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45134 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45135 exception being thrown with 0.0 as argument.
45136 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45137 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45138 exception being thrown with 0.0 as argument.
45139 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45140 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45141 exception being thrown with 0.0 as argument.
45142 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45143 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45144 exception being thrown with 0.0 as argument.
45145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45146 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45147 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45148 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45149 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45150 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45151 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45152 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45153 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45154
451552012-04-17 Petr Baudis <pasky@ucw.cz>
45156
45157 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45158 with altivec.
45159
451602012-04-16 Marek Polacek <polacek@redhat.com>
45161
45162 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45163
451642012-04-16 Marek Polacek <polacek@redhat.com>
45165
45166 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45167 operands of fdivp instruction.
45168
451692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45170
45171 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45172 * elf/tst-auditmod3b.c: Likewise.
45173 * elf/tst-auditmod4b.c: Likewise.
45174 * elf/tst-auditmod5b.c: Likewise.
45175 * elf/tst-auditmod6b.c: Likewise.
45176 * elf/tst-auditmod6c.c: Likewise.
45177 * elf/tst-auditmod7b.c: Likewise.
45178 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45179 * sysdeps/x86_64/preconfigure.in: Likewise.
45180 * sysdeps/x86_64/preconfigure: Regenerated.
45181
451822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45183
45184 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45185 __ILP32__.
45186
451872012-04-13 Antoine Balestrat <merkil33@gmail.com>
45188
45189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45190 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45191
451922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45193
45194 [BZ #13973]
45195 * locale/iso-639.def: Fix gl language name. Spotted by
45196 Yaron Shahrabani.
45197
451982012-04-12 Roland McGrath <roland@hack.frob.com>
45199
45200 [BZ #2074]
45201 * libio/libio.h (__io_write_fn): Update comment.
45202
452032012-04-12 Petr Baudis <pasky@ucw.cz>
45204
45205 [BZ #2074]
45206 * stdio.texi (Hook Functions): The user provided writer function
45207 is not allowed to return -1.
45208
452092012-04-11 David S. Miller <davem@davemloft.net>
45210
45211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45212
452132012-04-11 Mike Frysinger <vapier@gentoo.org>
45214
45215 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45216 Add a leading slash to rtkaio.
45217
452182012-04-11 Jim Meyering <meyering@redhat.com>
45219
45220 [BZ #11959]
45221 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45222 It is not necessarily an error to ignore fwrite's return
45223 value. One can reliably use ferror to test for errors after
45224 the fact.
45225
452262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45227
45228 * bits/types.h (__snseconds_t): New type.
45229 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45230
45231 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45233 (__SNSECONDS_T_TYPE): Likewise.
45234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45235 (__SNSECONDS_T_TYPE): Likewise.
45236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45237 (__SNSECONDS_T_TYPE): Likewise.
45238
452392012-04-10 Andreas Jaeger <aj@suse.de>
45240
45241 [BZ #2636]
45242 * manual/time.texi (Processor Time): Return type of times is
45243 elapsed real time since an arbitrary point in the past.
45244 (CPU Time): Move CLK_TCK from here...
45245 (Processor Time): ...to here. Correct description.
45246 * manual/conf.texi (Constants for Sysconf): Correct description of
45247 _SC_CLK_TCK.
45248
452492012-04-10 David S. Miller <davem@davemloft.net>
45250
45251 [BZ #13967]
45252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45253 where the is a gap between DT_REL(A) and DT_JMPREL.
45254
452552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45256
45257 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45258 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45259 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45260
452612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45262
45263 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45264 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45265 (dl_main): Handle --inhibit-cache.
45266 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45267 _dl_inhibit_cache.
45268 * elf/dl-load.c (_dl_map_object): Use it.
45269 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45270
452712012-04-09 Joseph Myers <joseph@codesourcery.com>
45272
45273 [BZ #13872]
45274 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45275 (__ieee754_powl): Saturate large exponents rather than testing for
45276 overflow of y*log2(x).
45277 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45278 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45279 exceptions.
45280
45281 [BZ #11521]
45282 * math/s_ctan.c: Include <float.h>.
45283 (__ctan): Avoid internal overflow or cancellation in calculating
45284 denominator.
45285 * math/s_ctanf.c: Likewise.
45286 * math/s_ctanl.c: Likewise.
45287 * math/s_ctanh.c: Likewise.
45288 * math/s_ctanhf.c: Likewise.
45289 * math/s_ctanhl.c: Likewise.
45290 * math/libm-test.inc (ctan_test): Add more tests.
45291 (ctanh_test): Likewise.
45292 * sysdeps/i386/fpu/libm-test-ulps: Update.
45293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45294
452952012-04-09 Andreas Jaeger <aj@suse.de>
45296
45297 [BZ #6894]
45298 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45299 is an optional BSD extension.
45300
45301 [BZ #10254]
45302 * manual/stdio.texi (Opening Streams): Document additional fopen
45303 parameters.
45304
453052012-04-09 Roland McGrath <roland@hack.frob.com>
45306
45307 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45308 %eax without telling the compiler.
45309
453102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45311
45312 [BZ # 13963]
45313 * manual/install.texi: Use sourceware.org.
45314
453152012-04-09 Joseph Myers <joseph@codesourcery.com>
45316
45317 [BZ #13873]
45318 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45319 (__ieee754_pow): Generate overflow and underflow using huge*huge
45320 and tiny*tiny rather than just returning constant infinity or zero
45321 for large exponents.
45322 * math/libm-test.inc (pow_test): Require overflow exceptions for
45323 applicable cases of large exponents.
45324
45325 [BZ #706]
45326 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45327 (__ieee754_pow): Use iterative multiplication algorithm only for
45328 integer exponents with absolute value below 1024. Check for odd
45329 integer exponents when using algorithm for real exponents.
45330 * math/libm-test.inc (pow_test): Add more tests.
45331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45332
453332012-04-08 Joseph Myers <joseph@codesourcery.com>
45334
45335 [BZ #13705]
45336 * math/libm-test.inc (exp_test): Do not allow overflow exception
45337 on underflow test.
45338
453392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45340
45341 [BZ #13705]
45342 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45343 instead of __kernel_standard_f.
45344
453452012-04-08 Mike Frysinger <vapier@gentoo.org>
45346
45347 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45348 * sysdeps/x86_64/memset_chk.S: Likewise.
45349
453502012-04-08 Andreas Jaeger <aj@suse.de>
45351
45352 [BZ #10153]
45353 * manual/startup.texi (Environment Access): Describe return value
45354 for putenv and setenv.
45355
45356 [BZ #6895]
45357 * manual/filesys.texi (Directory Entries): Add description for
45358 DT_LNK.
45359
45360 [BZ #6890]
45361 * manual/filesys.texi (Directory Entries): Clarify that it's file
45362 system not operating system in the description of DT_UNKNOWN.
45363
45364 [BZ #6578]
45365 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45366
453672012-04-08 Stephen Compall <s11@member.fsf.org>
45368
45369 [BZ #6649]
45370 * manual/llio.texi (Opening and Closing Files): Add cross
45371 reference to explain mode argument.
45372
453732012-04-07 Mike Frysinger <vapier@gentoo.org>
45374
45375 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45376 * sysdeps/x86_64/memset_chk.S: Likewise.
45377
453782012-04-07 David S. Miller <davem@davemloft.net>
45379
45380 * elf/elf.h (R_SPARC_WDISP10): Define.
45381 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45382 R_SPARC_SIZE32.
45383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45384 R_SPARC_SIZE64 and R_SPARC_H34.
45385
453862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45387
45388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45389 conditions and remove no longer applicable assertion.
45390
453912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45392
45393 * bits/byteswap.h: Include <features.h>.
45394 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45395 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45396
453972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45398
45399 * bits/byteswap.h (__bswap_16): Removed.
45400 Include <bits/byteswap-16.h> to get __bswap_16.
45401 * sysdeps/i386/bits/byteswap.h: Likewise.
45402 * sysdeps/s390/bits/byteswap.h: Likewise.
45403 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45404 * bits/byteswap-16.h: New file.
45405 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45406 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45407 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45408 * string/Makefile (headers): Add bits/byteswap-16.h.
45409
454102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45411
45412 [BZ #13895]
45413 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45414 extra indirection.
45415 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45416 * nss/tst-nss-static.c: New.
45417
454182012-04-06 Robert Millan <rmh@gnu.org>
45419
45420 [BZ #6486]
45421 * manual/llio.texi (File Position Primitive): lseek
45422 refers to WHENCE when it really means OFFSET.
45423
454242012-04-06 Andreas Jaeger <aj@suse.de>
45425
45426 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45427 strncmp declarations.
45428
45429 * abilist/libc.abilist: Add __poll and __ppoll.
45430
454312012-04-05 David S. Miller <davem@davemloft.net>
45432
45433 * scripts/check-local-headers.sh: Accept a host triplet in the
45434 path matched by the exclude regexp.
45435
45436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45437 definition.
45438 * sysdeps/powerpc/powerpc32/dl-machine.h
45439 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45440 * sysdeps/s390/s390-32/dl-machine.h
45441 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45442 * sysdeps/sparc/sparc32/dl-machine.h
45443 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45444 * sysdeps/sparc/sparc64/dl-machine.h
45445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45446
45447 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45448 lazy binding.
45449 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45450 undefined symbol errors.
45451
45452 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45453 DT_NEEDED entries.
45454
454552012-04-05 Michael Matz <matz@suse.de>
45456
45457 [BZ #13592]
45458 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45459
454602012-04-05 Andreas Jaeger <aj@suse.de>
45461
45462 [BZ #13908]
45463 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45464 comment.
45465
454662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45467
45468 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45469 which ROUND is no valid rounding mode.
45470
454712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45472
45473 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45474 read again.
45475 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45476
454772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45478
45479 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45480 an exception using FPU order intentionally.
45481
454822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45483
45484 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45485 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45486 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45487 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45488
454892012-04-05 Simon Josefsson <simon@josefsson.org>
45490
45491 [BZ #12340]
45492 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45493 EINVAL when BUFLEN is too smal.
45494
454952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45496
45497 [BZ #13553]
45498 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45499 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45500
455012012-04-03 Andreas Jaeger <aj@suse.de>
45502
45503 [BZ #13938]
45504 * manual/setjmp.texi (System V contexts): Fix sentence.
45505
45506 [BZ #13926]
45507 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45508 New macro for this case.
45509 [!__GNUC__] (__bswap_64): New inline function for this case.
45510 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45511 * bits/byteswap.h: Likewise.
45512 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45513 ull, guard with __GLIBC_HAVE_LONG_LONG.
45514
45515 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45516 __GLIBC_HAVE_LONG_LONG.
45517
45518 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45519 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45520
455212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45522
45523 [BZ #13691]
45524 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45525 inptr and inend, rather than using last_ch.
45526
455272012-04-02 David S. Miller <davem@davemloft.net>
45528
45529 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45530 * stdio-common/printf-parse.h (read_int): Change return type to
45531 'int', return -1 on INT_MAX overflow.
45532 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45533 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45534 overflows INT_MAX. Check for overflow of in-format-string precision
45535 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45536 SIZE_MAX not INT_MAX for integer overflow test.
45537 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45538 skip the construct in the format string but do not record anything.
45539 * stdio-common/bug22.c: Adjust to test both width/prevision
45540 INT_MAX overflow as well as total length INT_MAX overflow. Check
45541 explicitly for proper errno values.
45542
455432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45544
45545 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45546 CHAR_MAX.
45547 * string/test-strcmp.c [! WIDE]: Likewise.
45548 * time/tst-mktime2.c: Likewise for INT_MAX.
45549 * string/test-string.h: #include <sys/param.h> for MIN.
45550
45551 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45552 * sysdeps/i386/init-first.c (init): Likewise.
45553 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45554 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45555 * sysdeps/sh/init-first.c (init): Likewise.
45556
455572012-04-01 Ulrich Drepper <drepper@gmail.com>
45558
45559 * po/ru.po: Update from translation team.
45560 * po/vi.po: Likewise.
45561
455622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45563
45564 * resolv/nss_dns/dns-host.c: Merge copyright years.
45565
455662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45567
45568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45569 Optimize memcpy with prefetch if
45570 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45571 src, dst pointers have unequal 16 byte alignments.
45572
455732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45574
45575 [BZ #13928]
45576 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45577 from a CNAME entry and return the minimum ttl for the query.
45578 (gaih_getanswer_slice): Likewise.
45579
455802012-03-30 Jeff Law <law@redhat.com>
45581
45582 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45583 due to long keys.
45584 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45585 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45586
45587 * resolv/nss_dns/dns-host.c: Update copyright year.
45588
455892012-03-30 Ulrich Drepper <drepper@gmail.com>
45590
45591 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45592 requests to save a system call. Fix check that all bytes are sent.
45593
45594 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45595 comments for sendmmsg.
45596
455972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45598
45599 [BZ #13691]
45600 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45601 with only 1 character between 0x0041 and 0x01b0.
45602 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45603 * wcsmbs/tst-mbsnrtowcs.c: New file.
45604
456052012-03-29 David S. Miller <davem@davemloft.net>
45606
45607 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45608 small copies by hand.
45609
456102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45611
45612 [BZ #13761]
45613 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45614 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45615 group memberships.
45616
456172012-03-28 David S. Miller <davem@davemloft.net>
45618
45619 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45620 that branches into memcpy.
45621 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45624 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45626 bits.
45627 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45628 implementation too.
45629 * sysdeps/sparc/mempcpy.S: New file.
45630
45631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45632 the IFUNC routine in the libc case.
45633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45634
45635 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45636 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45637 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45638 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45639 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45640 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45641 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45642 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45643
45644 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45645 loop to 256 bytes instead of 64 bytes and fix test signedness.
45646
45647 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45648 * sysdeps/sparc/sparc32/Makefile: rather than here...
45649 * sysdeps/sparc/sparc64/Makefile: and here.
45650
456512012-03-28 Ulrich Drepper <drepper@gmail.com>
45652
45653 * malloc/mallocbug.c: Avoid warnings about unused variables.
45654
456552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45656
45657 [BZ #13760]
45658 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45659 in the right place. Discard and retry query if response is
45660 larger than input buffer size.
45661
456622012-03-28 Joseph Myers <joseph@codesourcery.com>
45663
45664 [BZ #369]
45665 [BZ #2678]
45666 [BZ #3866]
45667 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45668 x for large integer exponent.
45669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45670 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45671 sign of result as needed afterwards.
45672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45673 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45674 result for underflowing pow the same as for overflow.
45675 (__kernel_standard_l): Handle powl overflow and underflow here
45676 rather than calling __kernel_standard.
45677 * math/libm-test.inc (pow_test): Add more tests.
45678
45679 [BZ #3868]
45680 [BZ #13879]
45681 [BZ #13910]
45682 [BZ #13911]
45683 [BZ #13912]
45684 [BZ #13913]
45685 [BZ #13915]
45686 [BZ #13916]
45687 [BZ #13917]
45688 [BZ #13918]
45689 [BZ #13919]
45690 [BZ #13920]
45691 [BZ #13921]
45692 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45693 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45694 (__kernel_standard_l): New function.
45695 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45696 __kernel_standard.
45697 * math/w_acosl.c (__acosl): Likewise.
45698 * math/w_asinl.c (__asinl): Likewise.
45699 * math/w_atan2l.c (__atan2l): Likewise.
45700 * math/w_atanhl.c (__atanhl): Likewise.
45701 * math/w_coshl.c (__coshl): Likewise.
45702 * math/w_exp10l.c (__exp10l): Likewise.
45703 * math/w_exp2l.c (__exp2l): Likewise.
45704 * math/w_fmodl.c (__fmodl): Likewise.
45705 * math/w_hypotl.c (__hypotl): Likewise.
45706 * math/w_j0l.c (__j0l, __y0l): Likewise.
45707 * math/w_j1l.c (__j1l, __y1l): Likewise.
45708 * math/w_jnl.c (__jnl, __ynl): Likewise.
45709 * math/w_lgammal.c (__lgammal): Likewise.
45710 * math/w_log10l.c (__log10l): Likewise.
45711 * math/w_log2l.c (__log2l): Likewise.
45712 * math/w_logl.c (__logl): Likewise.
45713 * math/w_powl.c (__powl): Likewise.
45714 * math/w_remainderl.c (__remainderl): Likewise.
45715 * math/w_scalbl.c (sysv_scalbl): Likewise.
45716 * math/w_sinhl.c (__sinhl): Likewise.
45717 * math/w_sqrtl.c (__sqrtl): Likewise.
45718 * math/w_tgammal.c (__tgammal): Likewise.
45719 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45720 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45721 * math/libm-test.inc (acos_test): Add more tests.
45722 (acosh_test): Likewise.
45723 (asin_test): Likewise.
45724 (atanh_test): Likewise.
45725 (exp_test): Likewise.
45726 (exp10_test): Likewise.
45727 (exp2_test): Likewise.
45728 (expm1_test): Likewise.
45729 (lgamma_test): Likewise.
45730 (log_test): Likewise.
45731 (log10_test): Likewise.
45732 (log1p_test): Likewise.
45733 (log2_test): Likewise.
45734 (pow_test): Do not allow some spurious overflow exceptions.
45735 (sqrt_test): Add more tests.
45736 (tgamma_test): Likewise.
45737 (y0_test): Likewise.
45738 (y1_test): Likewise.
45739 (yn_test): Likewise.
45740
457412012-03-27 Anton Blanchard <anton@samba.org>
45742
45743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45744 MAP_HUGETLB.
45745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45748
457492012-03-27 David S. Miller <davem@davemloft.net>
45750
45751 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45752
45753 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45754 have-as-vis3 check.
45755
457562012-03-27 Andreas Jaeger <aj@suse.de>
45757
45758 * sysdeps/x86_64/elf/configure.in: Moved to ...
45759 * sysdeps/x86_64/configure.in: ... here.
45760 * sysdeps/x86_64/elf/start.S: Moved to ...
45761 * sysdeps/x86_64/start.S: ... here.
45762 * sysdeps/x86_64/elf/configure: Delete.
45763
45764 * sysdeps/x86_64/configure.in: Merge contents from
45765 sysdeps/i386/configure.in (without i686 check).
45766
45767 * sysdeps/i386/elf/Versions: Merge into ...
45768 * sysdeps/i386/Versions: ... this.
45769 * sysdeps/i386/elf/Versions: Delete file.
45770 * sysdeps/i386/elf/start.S: Moved to ...
45771 * sysdeps/i386/start.S: ...here.
45772 * sysdeps/i386/elf/configure.in: Merge into...
45773 * sysdeps/i386/configure.in: ...here.
45774 * sysdeps/i386/elf/configure.in: Delete file.
45775 * sysdeps/i386/elf/configure: Delete file.
45776
45777 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45778 * debug/backtracesyms.c: ... here.
45779 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45780 * debug/backtracesymsfd.c: ... here.
45781 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45782 * sysdeps/generic/ifunc-sel.h: ... here.
45783
45784 * sysdeps/unix/i386/start.c: Delete file.
45785 * sysdeps/unix/sparc/start.c: Delete file.
45786 * sysdeps/unix/start.c: Delete file.
45787
45788 * sysdeps/sh/elf/configure.in: Moved to ...
45789 * sysdeps/sh/configure.in: ... here.
45790 * sysdeps/sh/elf/start.S: Moved to ...
45791 * sysdeps/sh/start.S: ... here.
45792 * sysdeps/sh/elf/configure: Delete file.
45793
45794 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45795 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45796 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45797 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45798 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45799 * sysdeps/powerpc/powerpc64/start.S: here.
45800 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45801 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45802 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45803 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45804 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45805
45806 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45807 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45808 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45809 * sysdeps/powerpc/powerpc32/start.S: ... here.
45810 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45811 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45812 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45813
45814 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45815 * sysdeps/powerpc/ifunc-sel.h: ... here.
45816 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45817 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45818
45819 * sysdeps/sparc/elf/configure.in: Moved to ...
45820 * sysdeps/sparc/configure.in: ... here.
45821 * sysdeps/sparc/elf/configure: Delete file.
45822 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45823 * sysdeps/sparc/sparc32/start.S: ... here.
45824 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45825 * sysdeps/sparc/sparc64/start.S: ... here.
45826 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45827 * sysdeps/sparc/sparc32/Makefile: ... this.
45828 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45829 * sysdeps/sparc/sparc64/Makefile: ... this.
45830
45831 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45832 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45833 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45834 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45835 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45836 * sysdeps/s390/s390-32/setjmp.S: ... here.
45837 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45838 * sysdeps/s390/s390-32/configure.in: ... here.
45839 * sysdeps/s390/s390-32/elf/configure: Delete file.
45840 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45841 * sysdeps/s390/s390-32/start.S: ... here.
45842
45843 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45844 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45845 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45846 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45847 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45848 * sysdeps/s390/s390-64/setjmp.S: ... here.
45849 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45850 * sysdeps/s390/s390-64/configure.in: ... here
45851 * sysdeps/s390/s390-64/elf/configure: Delete file.
45852 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45853 * sysdeps/s390/s390-64/start.S: ... here.
45854 * sysdeps/s390/s390-64/elf/configure: Delete.
45855
45856 * configure.in: Remove support for elf directories in sysdeps.
45857
45858 * configure: Regenerated.
45859 * sysdeps/i386/configure: Regenerated.
45860 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45861 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45862 * sysdeps/s390/s390-32/configure: Regenerated.
45863 * sysdeps/s390/s390-64/configure: Regenerated.
45864 * sysdeps/sh/configure: Regenerated.
45865 * sysdeps/sparc/configure: Regenerated.
45866 * sysdeps/x86_64/configure: Regenerated.
45867
458682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45869
45870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45871
45872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45873 denormal result into account.
45874
458752012-03-25 Roland McGrath <roland@hack.frob.com>
45876
45877 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45878 Reported by Allan McRae <allan@archlinux.org>.
45879
458802012-03-23 Jeff Law <law@redhat.com>
45881
45882 * nss/getnssent.c (__nss_getent): Fix typo.
45883
458842012-03-23 David S. Miller <davem@davemloft.net>
45885
45886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45887
458882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45889
45890 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45891 to pad to uint64_t for each field.
45892 (dl_tls_index): Replace unsigned long with uint64_t.
45893
458942012-03-23 Daniel Jacobowitz <dmj@google.com>
45895 Paul Pluzhnikov <ppluzhnikov@google.com>
45896
45897 [BZ #6528]
45898 * grp/Makefile (otherlibs): Don't set it.
45899 * inet/Makefile (otherlibs): Likewise.
45900 * login/Makefile (otherlibs): Likewise.
45901 * nscd/Makefile (otherlibs): Likewise.
45902 * posix/Makefile (otherlibs): Likewise.
45903 * pwd/Makefile (otherlibs): Likewise.
45904 * rt/Makefile (otherlibs): Likewise.
45905 * sunrpc/Makefile (otherlibs): Likewise.
45906 * nss/Makefile (otherlibs): Likewise.
45907 Add libnss_files to routines and static-only-routines.
45908 ($(objpfx)getent): Remove rule.
45909 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45910 static-only-routines.
45911
459122012-03-22 Joseph Myers <joseph@codesourcery.com>
45913
45914 [BZ #13892]
45915 * math/s_cexp.c: Include <float.h>.
45916 (__cexp): Handle exp result overflowing not necessarily
45917 overflowing both real and imaginary parts of result.
45918 * math/s_cexpf.c: Likewise.
45919 * math/s_cexpl.c: Likewise.
45920 * math/libm-test.inc (cexp_test): Add more tests.
45921 * sysdeps/i386/fpu/libm-test-ulps: Update.
45922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45923
459242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45925
45926 * include/link.h (ELFW): New macro.
45927 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45928 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45929
459302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45931
45932 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45933 with uint64_t.
45934
459352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45936
45937 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45938 declaration.
45939 (struct La_x32_retval): Likewise.
45940
459412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45942
45943 * sysdeps/x86_64/preconfigure.in: New file.
45944 * sysdeps/x86_64/preconfigure: New generated file.
45945
459462012-03-22 Joseph Myers <joseph@codesourcery.com>
45947
45948 [BZ #13824]
45949 * math/e_exp2l.c: Include <float.h>.
45950 (__ieee754_exp2l): Handle overflow and underflow cases
45951 separately. Only pass fractional part of argument to
45952 __ieee754_expl.
45953 * math/libm-test.inc (exp2_test): Add more tests.
45954
45955 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45956 negating x to take absolute value.
45957 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45958 Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45961 Likewise.
45962 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45963 computing low part if x was negated.
45964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45965
459662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45967
45968 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45969 la_x32_gnu_pltexit.
45970 (pltexit): Cast int_retval to ptrdiff_t.
45971 * elf/tst-auditmod3b.c: Likewise.
45972 * elf/tst-auditmod4b.c: Likewise.
45973 * elf/tst-auditmod5b.c: Likewise.
45974 * elf/tst-auditmod6b.c: Likewise.
45975 * elf/tst-auditmod6c.c: Likewise.
45976 * elf/tst-auditmod7b.c: Likewise.
45977
45978 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45979 and x32_gnu_pltexit.
45980
45981 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45982 __ELF_NATIVE_CLASS.
45983 (La_x32_regs): New macro.
45984 (La_x32_retval): Likewise.
45985 (la_x32_gnu_pltenter): New function prototype.
45986 (la_x32_gnu_pltexit): Likewise.
45987
459882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45989
45990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45991 exponent.
45992
45993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45994
45995 * configure.in (libc_cv_cc_nofma): Check for option to disable
45996 generation of FMA instructions.
45997 * configure: Regenerate.
45998 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45999 * sysdeps/ieee754/dbl-64/Makefile: New file.
46000 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46001 Remove brandred-fma4.
46002 (CFLAGS-brandred-fma4.c): Remove.
46003 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46004 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46005 define.
46006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46007 define.
46008
460092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46010
46011 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46012 LLONG_MAX != LONG_MAX.
46013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46014 (_fitoa_word): Likewise.
46015 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46016 LLONG_MAX != LONG_MAX.
46017 * stdio-common/_itowa.h: Include <_itoa.h>.
46018 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46019 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46020 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46021 only if not defined.
46022 (_ITOA_WORD_TYPE): Likewise.
46023 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46024 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46025
460262012-03-21 David S. Miller <davem@davemloft.net>
46027
46028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46029
460302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46031
46032 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46033 of x86_64 when setting libc_cv_slibdir, libdir and
46034 libc_cv_localedir.
46035 * sysdeps/unix/sysv/linux/configure: Regenerated.
46036
460372012-03-21 Joseph Myers <joseph@codesourcery.com>
46038
46039 * manual/lang.texi (Old Varargs): Remove section.
46040 (How Variadic): Update menu.
46041 (va_start): Do not mention varargs.h.
46042
460432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46044 Joseph Myers <joseph@codesourcery.com>
46045
46046 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46047 link test.
46048 * configure: Regenerated.
46049
460502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46051
46052 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46053 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46054 conformtest.pl
46055
460562012-03-21 Joseph Myers <joseph@codesourcery.com>
46057
46058 * NOTES: Remove.
46059 * Makefile (files-for-dist): Remove NOTES.
46060 (NOTES): Remove rule.
46061 * README: Don't refer to NOTES.
46062 * manual/creature.texi: Don't include macros.texi.
46063 * manual/intro.texi (creature.texi): Remove comment referring to
46064 NOTES.
46065
46066 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46067 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46068 * configure: Regenerated.
46069 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46070 LIBC_TRY_CC_OPTION.
46071 (libc_cv_as_i686): Likewise.
46072 (libc_cv_cc_avx): Likewise.
46073 (libc_cv_cc_sse2avx): Likewise.
46074 (libc_cv_cc_fma4): Likewise.
46075 (libc_cv_cc_novzeroupper): Likewise.
46076 * sysdeps/i386/configure: Regenerated.
46077
46078 [BZ #13883]
46079 * sysdeps/i386/fpu/s_cexp.S: Remove.
46080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46081 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46082 * math/libm-test.inc (cexp_test): Add more tests.
46083 * sysdeps/i386/fpu/libm-test-ulps: Update.
46084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46085
460862012-03-21 Allan McRae <allan@archlinux.org>
46087
46088 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46089
460902012-03-21 Joseph Myers <joseph@codesourcery.com>
46091
46092 [BZ #13871]
46093 * math/w_exp2.c: Do not include <float.h>.
46094 (o_threshold, u_threshold): Remove.
46095 (__exp2): Calculate result before checking finiteness and calling
46096 __kernel_standard.
46097 * math/w_exp2f.c: Likewise.
46098 * math/w_exp2l.c: Likewise.
46099 * math/libm-test.inc (exp2_test): Require overflow exception for
46100 1e6 input.
46101
46102 [BZ #3866]
46103 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46104 range of signed 64-bit integers before using fistpll. Remove
46105 checks for whether integers fit in mantissa bits.
46106 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46107 the range of signed 32-bit integers before using fistpl. Remove
46108 checks for whether integers fit in mantissa bits.
46109 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46110 (__ieee754_powl): Test for y outside the range of signed 64-bit
46111 integers before using fistpll. Reduce 64-bit values to 63-bit
46112 ones as needed.
46113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46114 divide-by-zero is raised for zero to large negative powers.
46115 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46116 (__ieee754_powl): Test for y outside the range of signed 64-bit
46117 integers before using fistpll. Reduce 64-bit values to 63-bit
46118 ones as needed.
46119 * math/libm-test.inc (pow_test): Add more tests.
46120
461212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46122
46123 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46124 <stdio-common/_itoa.h>.
46125 * debug/segfault.c: Likewise.
46126 * elf/dl-cache.c: Likewise.
46127 * elf/dl-minimal.c: Likewise.
46128 * elf/dl-misc.c: Likewise.
46129 * elf/dl-sysdep.c: Likewise.
46130 * elf/dl-version.c: Likewise.
46131 * elf/rtld.c: Likewise.
46132 * hurd/hurdsock.c: Likewise.
46133 * hurd/lookup-retry.c: Likewise.
46134 * malloc/malloc.c: Likewise.
46135 * malloc/mtrace.c: Likewise.
46136 * nscd/nscd_getgr_r.c: Likewise.
46137 * nscd/nscd_getpw_r.c: Likewise.
46138 * nscd/nscd_getserv_r.c: Likewise.
46139 * posix/getopt_init.c: Likewise.
46140 * posix/wordexp.c: Likewise.
46141 * stdio-common/_itoa.c: Likewise.
46142 * stdio-common/printf_fphex.c: Likewise.
46143 * stdio-common/vfprintf.c: Likewise.
46144 * string/_strerror.c: Likewise.
46145 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46146 * sysdeps/i386/i686/hp-timing.h: Likewise.
46147 * sysdeps/mach/_strerror.c: Likewise.
46148 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46149 * sysdeps/mach/hurd/sethostid.c: Likewise.
46150 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46151 * sysdeps/mach/xpg-strerror.c: Likewise.
46152 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46153 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46154 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46155 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46156 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46157 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46159 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46160 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46161 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46162 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46163 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46164 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46165 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46166 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46168 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46169 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46170 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46171 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46172 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46173
46174 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46175
46176 * stdio-common/_itoa.h: Moved to ...
46177 * sysdeps/generic/_itoa.h: Here.
46178
46179 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46180
46181 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46182 instead of "_itoa.h" and "_itowa.h".
46183 * stdio-common/vfprintf.: Likewise.
46184
461852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46186
46187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46188 <bits/wordsize.h>.
46189 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46190 (__signbit): Likwise.
46191 (llrintf): Likwise.
46192 (llrint): Likwise.
46193
461942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46195
46196 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46197 __WORDSIZE != 64.
46198
461992012-03-20 Joseph Myers <joseph@codesourcery.com>
46200
46201 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46202 OVERFLOW_EXCEPTION_OK.
46203 * math/libm-test.inc ("Philosophy"): Update comment about
46204 exception testing.
46205 (OVERFLOW_EXCEPTION): Define.
46206 (OVERFLOW_EXCEPTION_OK): Likewise.
46207 (INVALID_EXCEPTION_OK): Renumber.
46208 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46209 (IGNORE_ZERO_INF_SIGN): Likewise.
46210 (test_exceptions): Handle FE_OVERFLOW.
46211 (exp10_test): Expect overflow exceptions.
46212 (exp2_test): Likewise.
46213 (expm1_test): Likewise.
46214 (nextafter_test): Likewise.
46215 (pow_test): Likewise.
46216 (scalbn_test): Likewise.
46217 (scalbln_test): Likewise.
46218
462192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46220
46221 * sysdeps/x86_64/bits/atomic.h
46222 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46223 64bit integer.
46224 (atomic_exchange_acq): Likewise.
46225 (__arch_exchange_and_add_body): Likewise.
46226 (__arch_add_body): Likewise.
46227 (atomic_add_negative): Likewise.
46228 (atomic_add_zero): Likewise.
46229
462302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46231
46232 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46233 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46234
462352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46236
46237 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46238 Check __x86_64__ instead of __WORDSIZE.
46239
462402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46241
46242 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46243
462442012-03-19 David S. Miller <davem@davemloft.net>
46245
46246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46247
46248 * sysdeps/sparc/fpu/fenv_private.h: New file.
46249 * sysdeps/sparc/fpu/math_private.h: Use it.
46250 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46251 Remove.
46252 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46253 (libc_feholdexcept_setroundl): Remove.
46254 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46255 Remove.
46256 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46257 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46258
462592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46260
46261 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46262 int64_t instead of long int.
46263 (INSERT_WORDS64): Likwise.
46264
462652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46266
46267 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46268 _Unwind_GetCFA return to _Unwind_Ptr first.
46269
462702012-03-19 Joseph Myers <joseph@codesourcery.com>
46271
46272 [BZ #13629]
46273 * math/s_clog.c: Include <float.h>.
46274 (__clog): Scale large or subnormal inputs.
46275 * math/s_clogf.c: Likewise.
46276 * math/s_clogl.c: Likewise.
46277 * math/s_clog10.c: Include <float.h>.
46278 (M_LOG10_2): Define.
46279 (__clog10): Scale large or subnormal inputs.
46280 * math/s_clog10f.c: Likewise.
46281 * math/s_clog10l.c: Likewise.
46282 * math/libm-test.inc (clog_test): Add more tests.
46283 (clog10_test): Likewise.
46284 * sysdeps/i386/fpu/libm-test-ulps: Update.
46285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46286
46287 [BZ #11451]
46288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46289 x and y.
46290 * math/libm-test.inc (atan2_test): Add another test.
46291
46292 * Makerules (common-objdir-compile): Remove.
46293 * sysdeps/unix/Makefile (config-generated): Do not add
46294 $(unix-generated) to variable.
46295 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46296 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46297 Remove rule.
46298 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46299 Likewise.
46300 [generic bits/local_lim.h] (before-compile): Do not append to
46301 variable.
46302 [generic bits/local_lim.h] (common-generated): Likewise.
46303 [generic sys/param.h] (before-compile): Do not append to variable.
46304 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46305 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46306 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46307 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46308 include.
46309 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46310 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46311 [generic sys/param.h] ($(addprefix
46312 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46313 [generic sys/param.h] (common-generated): Do not append to
46314 variable.
46315 [generic sys/param.h] (sysdep_headers): Likewise.
46316 [generic bits/errno.h] (before-compile): Do not append to
46317 variable.
46318 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46319 rule.
46320 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46321 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46322 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46323 [generic bits/errno.h] (common-generated): Do not append to
46324 variable.
46325 [generic bits/ioctls.h] (before-compile): Do not append to
46326 variable.
46327 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46328 rule.
46329 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46330 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46331 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46332 rule.
46333 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46334 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46335 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46336 [generic bits/ioctls.h] (common-generated): Do not append to
46337 variable.
46338 [generic sys/syscall.h] (syscall.h): Remove variable.
46339 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46340 rule.
46341 [generic sys/syscall.h] (before-compile): Do not append to
46342 variable.
46343 [generic sys/syscall.h] (common-generated): Likewise.
46344 * sysdeps/unix/errnos-tmpl.c: Remove file.
46345 * sysdeps/unix/errnos.awk: Likewise.
46346 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46347 * sysdeps/unix/ioctls.awk: Likewise.
46348 * sysdeps/unix/mk-local_lim.c: Likewise.
46349 * sysdeps/unix/snarf-ioctls: Likewise.
46350
463512012-03-19 Richard Henderson <rth@twiddle.net>
46352
46353 * sysdeps/i386/fpu/fenv_private.h: New file.
46354 * sysdeps/i386/fpu/math_private.h: Use it.
46355 (math_opt_barrier, math_force_eval): Remove.
46356 (libc_feholdexcept_setround_53bit): Remove.
46357 (libc_feupdateenv_53bit): Remove.
46358 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46359 (math_opt_barrier, math_force_eval): Remove.
46360 (libc_feholdexcept): Remove.
46361 (libc_feholdexcept_setround): Remove.
46362 (libc_fetestexcept, libc_fesetenv): Remove.
46363 (libc_feupdateenv_test): Remove.
46364 (libc_feupdateenv, libc_feholdsetround): Remove.
46365 (libc_feresetround): Remove.
46366
46367 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46368 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46369
46370 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46371 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46372 (libc_feupdateenv_testl): New.
46373 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46374 (libc_feupdateenv_testf): New.
46375 (libc_feupdateenv): Use libc_feupdateenv_test.
46376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46377 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46378
46379 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46380 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46381 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46382 (libc_feresetround_noex): New.
46383 (libc_feresetround_noexf): New.
46384 (libc_feresetround_noexl): New.
46385 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46386 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46387 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46388 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46389 SET_RESTORE_ROUND.
46390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46392 (__cos): Likewise.
46393 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46395 SET_RESTORE_ROUND_NOEX.
46396 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46397 SET_RESTORE_ROUND_NOEXF.
46398 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46399 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46400 (libc_feholdsetroundf): New.
46401 (libc_feresetround, libc_feresetroundf): New.
46402
46403 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46404 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46405 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46406
46407 * sysdeps/generic/math_private.h: Include <fenv.h>.
46408 (default_libc_feholdexcept): New.
46409 (default_libc_feholdexcept_setround): New.
46410 (default_libc_fesetenv, default_libc_feupdateenv): New.
46411 (libc_feholdexcept): Only define if undefined.
46412 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46413 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46414 (libc_feholdexcept_setroundl): Likewise.
46415 (libc_feholdexcept_setround_53bit): Likewise.
46416 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46417 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46418 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46419 (libc_feupdateenv_53bit): Likewise.
46420 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46421 (libc_feholdexcept): Convert from macro to inline function.
46422 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46423 (libc_fesetenv, libc_feupdateenv): Likewise.
46424
46425 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46426 not previously defined.
46427 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46428 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46429 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46430 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46431 * sysdeps/ieee754/flt-32/math_private.h: New file.
46432 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46433 math_private.h below SET_FLOAT_WORD.
46434 (__isnan, __isinf_ns, __finite): Remove.
46435 (__isnanf, __isinf_nsf, __finitef): Remove.
46436
464372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46438
46439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46440
464412012-03-17 David S. Miller <davem@davemloft.net>
46442
46443 [BZ #6471]
46444 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46445 for 2.16.
46446
464472012-03-16 David S. Miller <davem@davemloft.net>
46448
46449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46450 warnings.
46451
46452 [BZ #6471]
46453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46454 properly.
46455 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46456 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46457 sysdep_routines when subdir is sysvipc.
46458 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46459 __getshmlba helper.
46460
46461 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46462
464632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46464
46465 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46466 [__LP64__].
46467
464682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46469
46470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46471 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46472 (__lround): Renamed to ...
46473 (__llround): This. Replace long int with long long int.
46474 Define lround functions as aliases of llround functions.
46475 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46476
464772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46478
46479 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46480 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46481 adresses to uintptr_t. Replace "long int" and "unsigned long
46482 int" with "greg_t" on va_arg.
46483
464842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46485
46486 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46487 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46488
46489 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46490 Move e_machine check before EI_CLASS check. Handle x32
46491 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46492 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46493 SKIP_EM_IA_64 and include
46494 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46495
46496 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46497 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46498 (add_system_dir): New macro.
46499
46500 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46501 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46502
465032012-03-16 Joseph Myers <joseph@codesourcery.com>
46504
46505 [BZ #2551]
46506 [BZ #2552]
46507 [BZ #2553]
46508 [BZ #2554]
46509 [BZ #2562]
46510 [BZ #2563]
46511 [BZ #2565]
46512 [BZ #2566]
46513 [BZ #2576]
46514 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46515 (y0): Likewise.
46516 * math/w_j0f.c (j0f): Likewise.
46517 (y0f): Likewise.
46518 * math/w_j0l.c (__j0l): Likewise.
46519 (__y0l): Likewise.
46520 * math/w_j1.c (j1): Likewise.
46521 (y1): Likewise.
46522 * math/w_j1f.c (j1f): Likewise.
46523 (y1f): Likewise.
46524 * math/w_j1l.c (__j1l): Likewise.
46525 (__y1l): Likewise.
46526 * math/w_jn.c (jn): Likewise.
46527 (yn): Likewise.
46528 * math/w_jnf.c (jnf): Likewise.
46529 (ynf): Likewise.
46530 * math/w_jnl.c (__jnl): Likewise.
46531 (__ynl): Likewise.
46532 * math/libm-test.inc (j0_test): Add more tests.
46533 (j1_test): Likewise.
46534 (jn_test): Likewise. Add trailing semicolon to existing test.
46535 (y0_test): Likewise.
46536 (y1_test): Likewise.
46537 * sysdeps/i386/fpu/libm-test-ulps: Update.
46538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46539
46540 [BZ #13851]
46541 [BZ #13854]
46542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46543 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46544 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46546 (__tanl): Set errno for infinite argument.
46547 * sysdeps/i386/fpu/mptan.c: Remove.
46548 * sysdeps/i386/fpu/s_tan.S: Likewise.
46549 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46550 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46551 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46552 * math/libm-test.inc (tan_test): Add more tests and enable more
46553 tests for double and long double.
46554 * sysdeps/i386/fpu/libm-test-ulps: Update.
46555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46556
465572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46558
46559 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46560 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46561
465622012-03-16 Roland McGrath <roland@hack.frob.com>
46563
46564 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46565 * configure.in: Use it for both main tree and add-ons.
46566 * configure: Regenerated.
46567
465682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46569
46570 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46571
465722012-03-16 Joseph Myers <joseph@codesourcery.com>
46573
46574 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46575 in comment.
46576
46577 [BZ #13851]
46578 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46579 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46583 infinite argument.
46584 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46585 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46586 != 0 for prec == 2.
46587 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46588 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46589 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46590 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46591 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46592 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46593 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46594 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46595 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46596 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46597 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46598 * math/libm-test.inc (cos_test): Add more tests and enable more
46599 tests for long double.
46600 (sin_test): Likewise.
46601 (sincos_test): Likewise.
46602 * sysdeps/i386/fpu/libm-test-ulps: Update.
46603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46604
466052012-03-16 David S. Miller <davem@davemloft.net>
46606
46607 * sysdeps/sparc/fpu/math_private.h: New file.
46608
466092012-03-15 David S. Miller <davem@davemloft.net>
46610
46611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46612 file.
46613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46615 file.
46616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46622 sysdep routines.
46623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46624
46625 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46626 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46627
46628 * sysdeps/sparc/sparc-ifunc.h: New file.
46629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46630 sparc-ifunc.h
46631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46633 Likewise.
46634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46635 Likewise.
46636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46640 Likewise.
46641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46646 Likewise.
46647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46648 Likewise.
46649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46673
466742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46675
46676 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46677 scaling.
46678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46679
466802012-03-15 Andreas Jaeger <aj@suse.de>
46681
46682 [BZ #13852]
46683 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46684 ieee754/flt-32 implementation for sin, cos and sincos.
46685 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46686 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46687 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46688 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46689 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46690 ieee754/flt-32 implementation for tan.
46691
46692 * math/libm-test.inc (cos_test): Enable some large input tests for
46693 float as well
46694 (sin_test): Likewise.
46695 (sincos_test): Likewise.
46696 (tan_test): Add tests for large input.
46697
46698 * sysdeps/i386/fpu/libm-test-ulps: Update.
46699
467002012-03-15 Andreas Jaeger <aj@suse.de>
46701
46702 [BZ #13658]
46703 * math/libm-test.inc (cos_test): Add more test cases.
46704 (sin_test): Likewise.
46705 (sincos_test): Likewise.
46706
467072012-03-15 Andreas Jaeger <aj@suse.de>
46708
46709 [BZ #13837]
46710 * math/libm-test.inc (cos_test): Add a test case for large input
46711 value.
46712 (sin_test): Likewise.
46713 (sincos_test): Likewise.
46714
467152012-03-15 Andreas Jaeger <aj@suse.de>
46716 Joseph Myers <joseph@codesourcery.com>
46717
46718 [BZ #13658]
46719 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46720 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46721 * sysdeps/i386/fpu/branred.c: Likewise.
46722 * sysdeps/i386/fpu/dosincos.c: Likewise.
46723 * sysdeps/i386/fpu/mpa.c: Likewise.
46724 * sysdeps/i386/fpu/s_cos.S: Likewise.
46725 * sysdeps/i386/fpu/s_sin.S: Likewise.
46726 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46727 * sysdeps/i386/fpu/sincos32.c: Likewise.
46728
46729 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46730 Define.
46731 (libc_feupdateenv_53bit): Define.
46732 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46733 Define.
46734 (libc_feupdateenv_53bit): Define.
46735
46736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46737 53 bit (without extend i386 double precision).
46738
46739 * math/libm-test.inc (sincos_test): Add tests for large input.
46740 (sin): Likewise.
46741 (cos): Likewise.
46742
46743 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46744
467452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46746
46747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46748
467492012-03-15 David S. Miller <davem@davemloft.net>
46750
46751 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46752 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46753 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46767 file.
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46770 file.
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46773 file.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46776 file.
46777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46779 fmin/fmax sysdep routines.
46780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46781
467822012-03-14 David S. Miller <davem@davemloft.net>
46783
46784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46791 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46804 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46805 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46806 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46808 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46809 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46810 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46812 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46813 routines.
46814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46815 file.
46816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46818 file.
46819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46821 file.
46822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46824 file.
46825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46827 file.
46828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46830 file.
46831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46832 file.
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46834 file.
46835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46836 file.
46837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46838 New file.
46839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46840 file.
46841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46842 file.
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46845 file.
46846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46848 file.
46849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46851 file.
46852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46854 VIS3 routines.
46855
46856 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46857 New file.
46858
46859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46860
46861 * sysdeps/sparc/configure.in: New file.
46862 * sysdeps/sparc/configure: Generate.
46863 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46864 * configure: Regenerate.
46865 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46866 * config.make.in (have-as-vis3): New.
46867 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46868 available use -Av9d instead of -Av9a.
46869 * sysdeps/sparc/sparc64/Makefile: Likewise.
46870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46872 New file.
46873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46874 file.
46875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46876 New file.
46877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46878 file.
46879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46880 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46883 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46884
46885 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46886 fzeros/fnegs to load 0x80000000 into a float register instead of
46887 using the stack.
46888 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46889
468902012-03-14 Joseph Myers <joseph@codesourcery.com>
46891
46892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46893 bits/syscall.h.
46894 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46895 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46896 ($(inst_includedir)/bits/syscall.h): Remove rule.
46897 ($(objpfx)bits/syscall.d): Include instead of
46898 $(objpfx)syscall-list.d.
46899 (generated): Change syscall-list.h and syscall-list.d to
46900 bits/syscall.h and bits/syscall.d.
46901
469022012-03-14 Roland McGrath <roland@hack.frob.com>
46903
46904 [BZ #13846]
46905 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46906
469072012-03-14 Joseph Myers <joseph@codesourcery.com>
46908
46909 [BZ #13841]
46910 * math/s_csqrt.c: Include <float.h>.
46911 (__csqrt): Scale large or subnormal inputs.
46912 * math/s_csqrtf.c: Likewise.
46913 * math/s_csqrtl.c: Likewise.
46914 * math/libm-test.inc (csqrt_test): Add more tests.
46915 * sysdeps/i386/fpu/libm-test-ulps: Update.
46916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46917
46918 [BZ #13840]
46919 * math/libm-test.inc (hypot_test): Add more tests.
46920
469212012-03-13 David S. Miller <davem@davemloft.net>
46922
46923 [BZ #13840]
46924 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46925 double-precision for the calculation instead of scaling.
46926
469272012-03-13 Joseph Myers <joseph@codesourcery.com>
46928
46929 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46930 manipulate bits before adding and subtracting TWO52[sx].
46931 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46932 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46933 Likewise.
46934 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46935
469362012-03-13 David S. Miller <davem@davemloft.net>
46937
46938 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46939 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46941 rtld-global-offsets.h
46942 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46943
46944 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46945 large parameters.
46946
46947 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46948
46949 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46950 'err' in the ifdef scope in which it is actually used.
46951
46952 * nss/nss_db/db-init.c: Include string.h
46953
469542012-03-12 David S. Miller <davem@davemloft.net>
46955
46956 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46957 masking out of the most significant byte of random value used.
46958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46959 Fix coding style in previous change.
46960
46961 * sysdeps/unix/sysv/linux/kernel-features.h
46962 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46963 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46964 expression.
46965 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46966 later.
46967
469682012-03-11 David S. Miller <davem@davemloft.net>
46969
46970 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46971 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46972 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46973 for 'resultvar' otherwise things get truncated on 64-bit.
46974
46975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46976 Fix masking out of the most significant byte of random value used.
46977
46978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46979
469802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46981
46982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46983
469842012-03-09 David S. Miller <davem@davemloft.net>
46985
46986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46987 variables with appropriate CPP guards.
46988 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46989 from the frame pointer, not the stack pointer. Correct layout
46990 comments. Fix test on resulting framesize and the management of
46991 the outregs buffer for pltexit. Preserve floating point return
46992 values across _dl_call_pltexit call.
46993 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46994 framesize and the management of the outregs buffer for pltexit.
46995 Preserve floating point return values across _dl_call_pltexit
46996 call.
46997 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46998 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46999 (la_sparc64_gnu_pltexit): New functions.
47000 (print_exit): Fix format string for return register value.
47001
470022012-03-10 Joseph Myers <joseph@codesourcery.com>
47003
47004 * sunrpc/Makefile (others): Add rpcgen.
47005 ($(objpfx)rpcgen): Remove special build rule and dependency on
47006 libc.
47007 * sunrpc/rpcgen.c: New file.
47008
470092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47010
47011 [BZ #13673]
47012 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47013 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47014 * sysdeps/i386/crti.S: Likewise.
47015 * sysdeps/i386/crtn.S: Likewise.
47016 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47017 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47018 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47019 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47020 * sysdeps/sh/crti.S: Likewise.
47021 * sysdeps/sh/crtn.S: Likewise.
47022 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47023
47024 [BZ #13673]
47025 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47026 with URL.
47027 * locale/programs/locfile-kw.gperf: Likewise.
47028 * locale/programs/charmap-kw.h: Regenerated.
47029 * locale/programs/locfile-kw.h: Likewise.
47030
47031 [BZ #13673]
47032 * intl/plural.y: Replace FSF snail mail address with URL.
47033 * intl/plural.c: Regenerated.
47034
470352012-03-09 Richard Henderson <rth@twiddle.net>
47036
47037 * include/math_private.h: Remove file.
47038 * math/math_private.h: Move file ...
47039 * sysdeps/generic/math_private.h: ... here.
47040
47041 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47042 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47043 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47044
47045 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47046 and <math_private.h>.
47047 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47048 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47049 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47050 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47051 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47058 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47060 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47061 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47062 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47071 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47073 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47084 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47085 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47086 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47087 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47088 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47089 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47090 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47091 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47092 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47093 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47094 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47095 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47096 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47097 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47098 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47099 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47100 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47108 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47110 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47111 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47112 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47113 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47114 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47115 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47117 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47120 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47121 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47122 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47127 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47144 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47145 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47147 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47148 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47149 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47150 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47151 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47155 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47157 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47158 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47159 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47160 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47161 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47162 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47167 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47168 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47169 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47170 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47171 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47172 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47173 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47174 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47176 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47177 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47178 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47179 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47180 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47181 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47182 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47183 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47184 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47185 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47186 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47187 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47188 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47189 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47190 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47191 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47192 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47193 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47194 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47195 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47196 * sysdeps/ieee754/k_standard.c: Likewise.
47197 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47201 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47316 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47319 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47324 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47329 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47345 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47346 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47347 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47357 * sysdeps/ieee754/s_lib_version.c: Likewise.
47358 * sysdeps/ieee754/s_matherr.c: Likewise.
47359 * sysdeps/ieee754/s_signgam.c: Likewise.
47360 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47362 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47363 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47364 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47365 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47366 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47367 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47368 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47369 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47370 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47371 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47372 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47373 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47374 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47375 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47376 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47381
473822012-03-09 Joseph Myers <joseph@codesourcery.com>
47383
47384 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47385 * sunrpc/rpc_main.c: Likewise.
47386 * sunrpc/rpc_svcout.c: Likewise.
47387
473882012-03-09 David S. Miller <davem@davemloft.net>
47389
47390 * include/math_private.h: New file.
47391
473922012-03-09 Joseph Myers <joseph@codesourcery.com>
47393
47394 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47395 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47396 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47397 from <bits/socket_type.h>.
47398 (enum __socket_type): Don't define here.
47399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47401 bits/socket_type.h.
47402
47403 [BZ #13566]
47404 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47405 checking __USE_GNU.
47406
47407 * Makerules ($(inst_includedir)/%.h): New rule.
47408 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47409 (install-others): Remove variable setting.
47410 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47411
474122012-03-08 Richard Henderson <rth@twiddle.net>
47413
47414 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47415 from macro to inline function; merge with the
47416 !__LIBC_INTERNAL_MATH_INLINES version.
47417 (__ieee754_sqrtf): Likewise.
47418
47419 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47420 to inline function.
47421 (__rintf, __floor, __floorf): Likewise.
47422
47423 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47424 macro to inline function.
47425 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47426
47427 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47428 not <math/math_private.h>.
47429
474302012-03-08 David S. Miller <davem@davemloft.net>
47431
47432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47433 copyright year.
47434 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47435
474362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47437
47438 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47439 normalization.
47440 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47441 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47442
474432012-03-08 Ulrich Drepper <drepper@gmail.com>
47444
47445 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47446 be defined individually, they must be defined as a block. Define
47447 S for printing a string instead of hidint the different by using a
47448 macro for adding the 'l'.
47449 * stdio-common/tst-fphex-wide.c: Adjust.
47450
474512012-03-07 Marek Polacek <polacek@redhat.com>
47452
47453 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47454
474552012-03-08 Marek Polacek <polacek@redhat.com>
47456
47457 [BZ #13806]
47458 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47459 * stdio-common/tst-fphex.c: Define a few macros to make the
47460 test reusable. Use them.
47461 * stdio-common/tst-fphex-wide.c: New file.
47462
474632012-03-08 Joseph Myers <joseph@codesourcery.com>
47464
47465 [BZ #6911]
47466 * manual/macros.texi (gnusystems): New macro.
47467 (nongnusystems): Likewise.
47468 (gnulinuxhurdsystems): Likewise.
47469 (gnuhurdsystems): Likewise..
47470 (gnulinuxsystems): Likewise.
47471 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47472 variants of the GNU system, not "GNU system".
47473 * manual/conf.texi: Likewise.
47474 * manual/errno.texi: Likewise. Update example of errno macro
47475 expansion.
47476 * manual/filesys.texi: Likewise.
47477 (getumask): Document as specific to GNU/Hurd.
47478 * manual/install.texi: Likewise. Reword some references to
47479 GNU/Linux.
47480 * manual/intro.texi: Likewise.
47481 * manual/io.texi: Likewise.
47482 (File Name Portability): Detail which constraints are inapplicable
47483 to all GNU systems and which are only inapplicable to GNU/Hurd.
47484 * manual/job.texi: Likewise.
47485 * manual/llio.texi: Likewise.
47486 (O_NOCTTY): Document as present on GNU/Linux.
47487 * manual/maint.texi: Likewise.
47488 * manual/memory.texi: Likewise.
47489 * manual/pattern.texi: Likewise.
47490 * manual/pipe.texi: Likewise.
47491 * manual/process.texi: Likewise.
47492 * manual/resource.texi: Likewise.
47493 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47494 child on GNU/Hurd.
47495 * manual/setjmp.texi: Likewise.
47496 * manual/signal.texi: Likewise.
47497 * manual/startup.texi: Likewise.
47498 * manual/stdio.texi: Likewise.
47499 * manual/terminal.texi: Likewise.
47500 (ONLCR): Document as POSIX.
47501 (OXTABS): Document availability on GNU/Linux as XTABS.
47502 (ONOEOT): Document availability separately from other bits.
47503 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47504 * manual/time.texi: Likewise.
47505 * manual/users.texi: Likewise.
47506 * INSTALL: Regenerated.
47507 * sysdeps/gnu/errlist.c: Regenerated.
47508
47509 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47510 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47511 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47512 puts.
47513 * configure: Regenerated.
47514
475152012-03-07 Joseph Myers <joseph@codesourcery.com>
47516
47517 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47518 default includes instead of AC_HEADER_CHECK.
47519 * sysdeps/i386/configure: Regenerated.
47520
47521 [BZ #10716]
47522 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47523 * math/s_cacoshf.c (__cacoshf): Likewise.
47524 * math/s_cacoshl.c (__cacoshl): Likewise.
47525 * math/s_casinh.c (__casinh): Set signs of result from argument.
47526 * math/s_casinhf.c (__casinhf): Likewise.
47527 * math/s_casinhl.c (__casinhl): Likewise.
47528 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47529 (casinh_test): Add more tests.
47530 * sysdeps/i386/fpu/libm-test-ulps: Update.
47531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47532
475332012-03-07 Ulrich Drepper <drepper@gmail.com>
47534
47535 * po/zh_TW.po: Update from translation team.
47536
47537 * login/Makefile (distribute): Remove variable.
47538 * catgets/Makefile: Likewise.
47539 * mach/Makefile: Likewise.
47540 * malloc/Makefile: Likewise.
47541 * misc/Makefile: Likewise.
47542 * iconv/Makefile: Likewise.
47543 * nscd/Makefile: Likewise.
47544 * hurd/Makefile: Likewise.
47545 * manual/Makefile: Likewise.
47546 * locale/Makefile: Likewise.
47547 * intl/Makefile: Likewise.
47548 * conform/Makefile: Likewise.
47549 * nss/Makefile: Likewise.
47550 * time/Makefile: Likewise.
47551 * soft-fp/Makefile: Likewise.
47552 * dirent/Makefile: Likewise.
47553 * gmon/Makefile: Likewise.
47554 * po/Makefile: Likewise.
47555 * rt/Makefile: Likewise.
47556 * socket/Makefile: Likewise.
47557 * math/Makefile: Likewise.
47558 * signal/Makefile: Likewise.
47559 * debug/Makefile: Likewise.
47560 * elf/Makefile: Likewise.
47561 * timezone/Makefile: Likewise.
47562 * stdlib/Makefile: Likewise.
47563 * iconvdata/Makefile: Likewise.
47564 * sunrpc/Makefile: Likewise.
47565 * io/Makefile: Likewise.
47566 * argp/Makefile: Likewise.
47567 * inet/Makefile: Likewise.
47568 * hesiod/Makefile: Likewise.
47569 * grp/Makefile: Likewise.
47570 * csu/Makefile: Likewise.
47571 * wctype/Makefile: Likewise.
47572 * crypt/Makefile: Likewise.
47573 * libio/Makefile: Likewise.
47574 * string/Makefile: Likewise.
47575 * nis/Makefile: Likewise.
47576 * resolv/Makefile: Likewise.
47577 * stdio-common/Makefile: Likewise.
47578 * wcsmbs/Makefile: Likewise.
47579 * dlfcn/Makefile: Likewise.
47580 * posix/Makefile: Likewise.
47581
47582 [BZ #6959]
47583 * timezone/Makefile: Don't install timezone files, just the programs
47584 and scripts.
47585
475862012-03-06 Ulrich Drepper <drepper@gmail.com>
47587
47588 * nss/databases.def: Add missing gshadow entry.
47589
47590 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47591
475922012-03-06 Marek Polacek <polacek@redhat.com>
47593
47594 [BZ #13726]
47595 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47596 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47597 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47598 * stdio-common/tst-long-dbl-fphex.c: New file.
47599
476002012-03-06 David S. Miller <davem@davemloft.net>
47601
47602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47603 (set_obp_int): New function.
47604 (get_obp_int): New function.
47605 (__get_clockfreq_via_dev_openprom): Likewise.
47606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47607 Avoid unused variable warnings on 'val' and use builtin_expect.
47608 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47609 __builtin_expect.
47610 (INLINE_CLONE_SYSCALL): Likewise.
47611
476122012-03-05 David S. Miller <davem@davemloft.net>
47613
47614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47615
476162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47617
47618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47619
47620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47621 only for |x| >= 40.
47622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47623
476242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
47625
47626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47627 Replace gettimeofday with __vdso_gettimeofday.
47628
47629 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47630 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47631 __vdso_clock_gettime and __vdso_getcpu.
47632
47633 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47634 time with __vdso_time.
47635
476362012-03-05 Joseph Myers <joseph@codesourcery.com>
47637
47638 * manual/lang.texi (size_t): Note types to which size_t may be
47639 equivalent with the GNU C Library, but do not describe when
47640 differences between them are significant.
47641
476422012-03-05 Andreas Jaeger <aj@suse.de>
47643
47644 * sysdeps/i386/fpu/libm-test-ulps: Update.
47645
476462012-03-05 Joseph Myers <joseph@codesourcery.com>
47647
47648 [BZ #3976]
47649 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47650 (__ieee754_pow): Save and restore rounding mode and use
47651 round-to-nearest for main computations.
47652 * math/libm-test.inc (pow_test_tonearest): New function.
47653 (pow_test_towardzero): Likewise.
47654 (pow_test_downward): Likewise.
47655 (pow_test_upward): Likewise.
47656 (main): Call the new functions.
47657 * sysdeps/i386/fpu/libm-test-ulps: Update.
47658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47659
47660 [BZ #3976]
47661 * math/libm-test.inc (cosh_test_tonearest): New function.
47662 (cosh_test_towardzero): Likewise.
47663 (cosh_test_downward): Likewise.
47664 (cosh_test_upward): Likewise.
47665 (sinh_test_tonearest): Likewise.
47666 (sinh_test_towardzero): Likewise.
47667 (sinh_test_downward): Likewise.
47668 (sinh_test_upward): Likewise.
47669 (main): Call the new functions.
47670 * sysdeps/i386/fpu/libm-test-ulps: Update.
47671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47672
476732012-03-05 Tom de Vries <tom@codesourcery.com>
47674
47675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47676 default stack guard is set in last bytes.
47677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47678
476792012-03-05 Kees Cook <keescook@chromium.org>
47680
47681 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47682
47683 [BZ #13656]
47684 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47685 possibly allocate from heap instead of stack.
47686 * stdio-common/bug-vfprintf-nargs.c: New file.
47687 * stdio-common/Makefile (tests): Add nargs overflow test.
47688
476892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47690
47691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47692
476932012-03-03 Marek Polacek <polacek@redhat.com>
47694
47695 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47696 * math/math_private.h: Likewise.
47697 * stdlib/tst-strtod.c: Likewise.
47698 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47699 * sysdeps/x86_64/bits/atomic.h: Likewise.
47700
477012012-03-02 David S. Miller <davem@davemloft.net>
47702
47703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47707 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47709 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47710 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47711
477122012-03-02 Roland McGrath <roland@hack.frob.com>
47713
47714 [BZ #13792]
47715 * manual/examples/README: New file, says the example source files
47716 can be used under GPL>=2.
47717 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47718 line containing just "*/".
47719 * manual/examples/add.c: Add copyright header (GPL>=2).
47720 * manual/examples/argp-ex1.c: Likewise.
47721 * manual/examples/argp-ex2.c: Likewise.
47722 * manual/examples/argp-ex3.c: Likewise.
47723 * manual/examples/argp-ex4.c: Likewise.
47724 * manual/examples/atexit.c: Likewise.
47725 * manual/examples/db.c: Likewise.
47726 * manual/examples/dir.c: Likewise.
47727 * manual/examples/dir2.c: Likewise.
47728 * manual/examples/execinfo.c: Likewise.
47729 * manual/examples/filecli.c: Likewise.
47730 * manual/examples/filesrv.c: Likewise.
47731 * manual/examples/fmtmsgexpl.c: Likewise.
47732 * manual/examples/genpass.c: Likewise.
47733 * manual/examples/inetcli.c: Likewise.
47734 * manual/examples/inetsrv.c: Likewise.
47735 * manual/examples/isockad.c: Likewise.
47736 * manual/examples/longopt.c: Likewise.
47737 * manual/examples/memopen.c: Likewise.
47738 * manual/examples/memstrm.c: Likewise.
47739 * manual/examples/mkfsock.c: Likewise.
47740 * manual/examples/mkisock.c: Likewise.
47741 * manual/examples/mygetpass.c: Likewise.
47742 * manual/examples/pipe.c: Likewise.
47743 * manual/examples/popen.c: Likewise.
47744 * manual/examples/rprintf.c: Likewise.
47745 * manual/examples/search.c: Likewise.
47746 * manual/examples/select.c: Likewise.
47747 * manual/examples/setjmp.c: Likewise.
47748 * manual/examples/sigh1.c: Likewise.
47749 * manual/examples/sigusr.c: Likewise.
47750 * manual/examples/stpcpy.c: Likewise.
47751 * manual/examples/strdupa.c: Likewise.
47752 * manual/examples/strftim.c: Likewise.
47753 * manual/examples/strncat.c: Likewise.
47754 * manual/examples/subopt.c: Likewise.
47755 * manual/examples/swapcontext.c: Likewise.
47756 * manual/examples/termios.c: Likewise.
47757 * manual/examples/testopt.c: Likewise.
47758 * manual/examples/testpass.c: Likewise.
47759 * manual/examples/timeval_subtract.c: Likewise.
47760
47761 [BZ #13792]
47762 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47763 function to ...
47764 * manual/timeval_subtract.c.texi: ... here, new file.
47765
477662012-03-02 David S. Miller <davem@davemloft.net>
47767
47768 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47769
477702012-03-02 Joseph Myers <joseph@codesourcery.com>
47771
47772 [BZ #3976]
47773 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47774 (__sin): Save and restore rounding mode and use round-to-nearest
47775 for all computations.
47776 (__cos): Save and restore rounding mode and use round-to-nearest
47777 for all computations.
47778 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47779 <fenv.h>.
47780 (tan): Save and restore rounding mode and use round-to-nearest for
47781 all computations.
47782 * math/libm-test.inc (cos_test_tonearest): New function.
47783 (cos_test_towardzero): Likewise.
47784 (cos_test_downward): Likewise.
47785 (cos_test_upward): Likewise.
47786 (sin_test_tonearest): Likewise.
47787 (sin_test_towardzero): Likewise.
47788 (sin_test_downward): Likewise.
47789 (sin_test_upward): Likewise.
47790 (tan_test_tonearest): Likewise.
47791 (tan_test_towardzero): Likewise.
47792 (tan_test_downward): Likewise.
47793 (tan_test_upward): Likewise.
47794 (main): Call the new functions.
47795 * sysdeps/i386/fpu/libm-test-ulps: Update.
47796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47797
47798 [BZ #10135]
47799 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47800 small n, then large n, before computing and testing k+n.
47801 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47803 Likewise.
47804 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47805 Likewise.
47806 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47807 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47813 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47814 * math/libm-test.inc (scalbn_test): Add more tests.
47815 (scalbln_test): Likewise.
47816
47817 * manual/filesys.texi (mode_t): Describe constraints on size and
47818 signedness, not exact equivalence to a particular type.
47819 (ino_t): Likewise.
47820 (ino64_t): Likewise.
47821 (dev_t): Likewise.
47822 (nlink_t): Likewise.
47823 (blkcnt_t): Likewise.
47824 (blkcnt64_t): Likewise.
47825 * manual/llio.texi (off_t): Likewise.
47826
47827 [BZ #3976]
47828 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47829 (__ieee754_exp): Save and restore rounding mode and use
47830 round-to-nearest for all computations.
47831 * math/libm-test.inc (exp_test_tonearest): New function.
47832 (exp_test_towardzero): Likewise.
47833 (exp_test_downward): Likewise.
47834 (exp_test_upward): Likewise.
47835 (main): Call the new functions.
47836 * sysdeps/i386/fpu/libm-test-ulps: Update.
47837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47838
478392012-03-01 Chris Demetriou <cgd@google.com>
47840
47841 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47842 have predictable order.
47843
478442012-03-01 David S. Miller <davem@davemloft.net>
47845
47846 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47847
47848 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47849 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47850 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47851 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47852
47853 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47854 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47855 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47857 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47858 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47859 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47860 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47861 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47862
47863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47864
47865 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47866 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47868
47869 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47870 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47872 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47873 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47875 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47876 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47877 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47880 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47882 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47885 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47886 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47887 * sysdeps/sparc/elf/configure: Regenerated.
47888
478892012-03-01 Joseph Myers <joseph@codesourcery.com>
47890
47891 * configure.in (AS, LD): Require binutils 2.20 or later.
47892 * configure: Regenerated.
47893 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47894 as required minimum version.
47895 * INSTALL: Regenerated.
47896
47897 [BZ #2541]
47898 [BZ #4108]
47899 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47900 before squaring exponent.
47901 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47902 bottom long double and 27 bits of top long double before squaring
47903 exponent.
47904 * math/libm-test.inc (erfc_test): Add more tests.
47905 * sysdeps/i386/fpu/libm-test-ulps: Update.
47906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47908
479092012-03-01 Kai Tietz <ktietz@redhat.com>
47910
47911 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47912 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47913 containing bit-fields.
47914 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47915 * soft-fp/single.h (_FP_UNION_S): Likewise.
47916 * soft-fp/double.h (_FP_UNION_D): Likewise.
47917
479182012-02-29 Joseph Myers <joseph@codesourcery.com>
47919
47920 [BZ #13786]
47921 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47922 not include ../strcmp.S.
47923 [USE_AS_STRNCASECMP_L]: Likewise.
47924 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47925 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47926 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47927 (__strncasecmp_l_ia32): Define as alias to
47928 __strncasecmp_l_nonascii.
47929
47930 [BZ #5794]
47931 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47932 * sysdeps/i386/fpu/libm-test-ulps: Update.
47933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47934
47935 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47937
479382012-02-29 Jeff Law <law@redhat.com>
47939
47940 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47941 out of bounds read.
47942
479432012-02-29 Marek Polacek <polacek@redhat.com>
47944
47945 [BZ #13706]
47946 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47947 * elf/Makefile: Add rules to run tst-unused-dep.out.
47948
479492012-02-28 David S. Miller <davem@davemloft.net>
47950
47951 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47952 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47953 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47954 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47955 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47956 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47957
479582012-02-29 Joseph Myers <joseph@codesourcery.com>
47959
47960 * math/libm-test.inc (llround_test): Move one test from
47961 lround_test. Use TEST_f_L in moved test.
47962 (lround_test): Move misplaced test to llround_test. Add testcase
47963 from bug 2561.
47964
479652012-02-28 Ulrich Drepper <drepper@gmail.com>
47966
47967 * sysdeps/x86_64/fpu/e_expf.S: New file.
47968 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47969
479702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47971
47972 [BZ #13637]
47973 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47974 of remain_len that may cause incomplete multi-byte character and
47975 false match.
47976 * posix/bug-regex33.c: New file.
47977 * posix/Makefile (tests): Add bug-regex33.
47978
479792012-02-28 Joseph Myers <joseph@codesourcery.com>
47980
47981 * manual/macros.texi: New file.
47982 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47983 * manual/libc.texinfo: Include macros.texi.
47984 * manual/creatute.texi: Likewise.
47985 * manual/install.texi: Likewise.
47986 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47987 @glibcadj{} in references to the GNU C Library.
47988 * manual/charset.texi: Likewise.
47989 * manual/conf.texi: Likewise.
47990 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47991 when not using those macros.
47992 * manual/creature.texi: Likewise.
47993 * manual/crypt.texi: Likewise.
47994 * manual/errno.texi: Likewise.
47995 * manual/filesys.texi: Likewise.
47996 * manual/header.texi: Likewise.
47997 * manual/install.texi: Likewise.
47998 * manual/intro.texi: Likewise.
47999 * manual/io.texi: Likewise.
48000 * manual/job.texi: Likewise.
48001 * manual/lang.texi: Likewise.
48002 * manual/libc.texiinfo: Likewise.
48003 * manual/llio.texi: Likewise.
48004 * manual/locale.texi: Likewise.
48005 * manual/maint.texi: Likewise.
48006 * manual/math.texi: Likewise.
48007 * manual/memory.texi: Likewise.
48008 * manual/message.texi: Likewise.
48009 * manual/nss.texi: Likewise.
48010 * manual/pattern.texi: Likewise.
48011 * manual/process.texi: Likewise.
48012 * manual/resource.texi: Likewise.
48013 * manual/search.texi: Likewise.
48014 * manual/setjmp.texi: Likewise.
48015 * manual/signal.texi: Likewise.
48016 * manual/socket.texi: Likewise.
48017 * manual/startup.texi: Likewise.
48018 * manual/stdio.texi: Likewise.
48019 * manual/string.texi: Likewise.
48020 * manual/sysinfo.texi: Likewise.
48021 * manual/syslog.texi: Likewise.
48022 * manual/terminal.texi: Likewise.
48023 * manual/time.texi: Likewise.
48024 * manual/users.texi: Likewise.
48025 * INSTALL: Regenerated.
48026 * NOTES: Regenerated.
48027 * sysdeps/gnu/errlist.c: Regenerated.
48028
480292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48030
48031 * include/dirent.h: Include <dirstream.h> before
48032 <dirent/dirent.h>.
48033
480342012-02-28 David S. Miller <davem@davemloft.net>
48035
48036 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48037 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48038 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48039 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48040
480412012-02-27 David S. Miller <davem@davemloft.net>
48042
48043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48045 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48046 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48047
48048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48049 frame pointer instead of stack pointer relative arg slot.
48050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48053
480542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48055
48056 [BZ #3992]
48057 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48058
480592012-02-27 David S. Miller <davem@davemloft.net>
48060
48061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48065 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48066 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48067 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48068 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48069
480702012-02-27 Joseph Myers <joseph@codesourcery.com>
48071
48072 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48073 later. Allow versions 5-9.
48074 * configure: Regenerated.
48075 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48076 required minimum version and 4.6 as recommended version. Do not
48077 mention bugs in GCC 2.7 and 2.8.
48078 * INSTALL: Regenerated.
48079
480802012-02-27 David S. Miller <davem@davemloft.net>
48081
48082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48086 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48089 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48090
48091 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48092 manipulate bits before adding and subtracting TWO112[sx].
48093 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48094
480952012-02-27 Roland McGrath <roland@hack.frob.com>
48096
48097 [BZ #13775]
48098 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48099 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48100 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48101 being in POSIX, because they are in 1003.1-2008.
48102
48103 * rt/tst-aio.c: Include <fcntl.h>.
48104 * rt/tst-aio7.c: Likewise.
48105 * rt/tst-aio64.c: Likewise.
48106
48107 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48108
481092012-02-27 Joseph Myers <joseph@codesourcery.com>
48110
48111 * manual/install.texi (--with-headers): Describe headers as
48112 interface headers, not private headers.
48113 (Specific advice for GNU/Linux systems): Describe use of headers
48114 from "make headers_install", not private headers from older
48115 kernels.
48116 * INSTALL: Regenerated.
48117 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48118 Change to 2.6.19.
48119 * sysdeps/unix/sysv/linux/configure: Regenerated.
48120
48121 * manual/llio.texi (fclean): Remove documentation.
48122
48123 * manual/Makefile (libc-texi-generated): New variable. Include
48124 version.texi.
48125 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48126 $(libc-texi-generated), not duplicated list of files.
48127 (version.texi, stamp-version): New rules.
48128 (realclean): Remove $(libc-texi-generated), not individual files
48129 from that list. Do not remove dir-add.texinfo.
48130 * manual/libc.texinfo: Comment out uses of edition numbers and
48131 references to printed manual. Remove last-updated dates.
48132 (EDITION): Comment out.
48133 (ISBN): Likewise.
48134 (VERSION, UPDATED): Remove.
48135 (version.texi): Include.
48136
481372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48138
48139 * sysdeps/posix/spawni.c: Include <signal.h>.
48140 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48141 * sysdeps/pthread/aio_fsync.c: Likewise.
48142
481432012-02-26 Ulrich Drepper <drepper@gmail.com>
48144
48145 * conform/Makefile (tests): Run only when not cross-compiling and
48146 when fast-check is not defined.
48147
48148 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48149 * conform/data/limits.h-data: Fixes for POSIX2008.
48150 * conform/run-conformtest.sh: Run all tests.
48151 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48152 headers.
48153 * include/bits/dlfcn.h: Likewise.
48154 * include/langinfo.h: Likewise.
48155 * include/monetary.h: Likewise.
48156 * include/sys/poll.h: Likewise.
48157
48158 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48159 for __USE_GNU.
48160 * posix/spawn.h: Define __need_sigset_t.
48161 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48162 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48163 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48164 to get sigevent_t only.
48165 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48166 only for __USE_GNU.
48167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48168 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48169 process_vm_writev only for __USE_GNU.
48170 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48171
48172 * conform/Makefile: For now ignore errors from run-conformtest.
48173 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48174 POSIX to avoid namespace pollution. Don't prepend headers.
48175 * conform/data/aio.h-data: Fixes for POSIX testing.
48176 * conform/data/fcntl.h-data: Likewise.
48177 * conform/data/glob.h-data: Likewise.
48178 * conform/data/grp.h-data: Likewise.
48179 * conform/data/pthread.h-data: Likewise.
48180 * conform/data/pwd.h-data: Likewise.
48181 * conform/data/signal.h-data: Likewise.
48182 * conform/data/spawn.h-data: Likewise.
48183 * conform/data/stdio.h-data: Likewise.
48184 * conform/data/stdlib.h-data: Likewise.
48185 * conform/data/stropts.h-data: Likewise.
48186 * conform/data/sys/mman.h-data: Likewise.
48187 * conform/data/sys/stat.h-data: Likewise.
48188 * conform/data/sys/types.h-data: Likewise.
48189 * conform/data/sys/wait.h-data: Likewise.
48190 * conform/data/time.h-data: Likewise.
48191 * conform/data/unistd.h-data: Likewise.
48192 * conform/data/utime.h-data: Likewise.
48193
48194 * io/sys/stat.h: fchmod was always in POSIX.
48195 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48196 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48197 * rt/aio.h: Define __need_timespec before including <time.h>.
48198 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48199 struct. Add forward declaration of pthread_attr_t and use it in
48200 sigevent.
48201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48203 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48204 always remove CLK_TCK definition.
48205
482062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48207
48208 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48209
482102012-02-25 Ulrich Drepper <drepper@gmail.com>
48211
48212 * conform/run-conformtest.sh: New file.
48213 * conform/Makefile: Run run-conformtest for tests.
48214 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48215 support.
48216
48217 * conform/data/uchar.h-data: New file.
48218 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48219 * conform/data/arpa/inet.h-data: Likewise.
48220 * conform/data/assert.h-data: Likewise.
48221 * conform/data/complex.h-data: Likewise.
48222 * conform/data/cpio.h-data: Likewise.
48223 * conform/data/ctype.h-data: Likewise.
48224 * conform/data/dirent.h-data: Likewise.
48225 * conform/data/dlfcn.h-data: Likewise.
48226 * conform/data/errno.h-data: Likewise.
48227 * conform/data/fcntl.h-data: Likewise.
48228 * conform/data/float.h-data: Likewise.
48229 * conform/data/fmtmsg.h-data: Likewise.
48230 * conform/data/fnmatch.h-data: Likewise.
48231 * conform/data/ftw.h-data: Likewise.
48232 * conform/data/glob.h-data: Likewise.
48233 * conform/data/grp.h-data: Likewise.
48234 * conform/data/iconv.h-data: Likewise.
48235 * conform/data/inttypes.h-data: Likewise.
48236 * conform/data/langinfo.h-data: Likewise.
48237 * conform/data/libgen.h-data: Likewise.
48238 * conform/data/limits.h-data: Likewise.
48239 * conform/data/locale.h-data: Likewise.
48240 * conform/data/math.h-data: Likewise.
48241 * conform/data/monetary.h-data: Likewise.
48242 * conform/data/mqueue.h-data: Likewise.
48243 * conform/data/ndbm.h-data: Likewise.
48244 * conform/data/net/if.h-data: Likewise.
48245 * conform/data/netdb.h-data: Likewise.
48246 * conform/data/netinet/in.h-data: Likewise.
48247 * conform/data/nl_types.h-data: Likewise.
48248 * conform/data/poll.h-data: Likewise.
48249 * conform/data/pthread.h-data: Likewise.
48250 * conform/data/pwd.h-data: Likewise.
48251 * conform/data/regex.h-data: Likewise.
48252 * conform/data/sched.h-data: Likewise.
48253 * conform/data/search.h-data: Likewise.
48254 * conform/data/semaphore.h-data: Likewise.
48255 * conform/data/setjmp.h-data: Likewise.
48256 * conform/data/signal.h-data: Likewise.
48257 * conform/data/spawn.h-data: Likewise.
48258 * conform/data/stdarg.h-data: Likewise.
48259 * conform/data/stdio.h-data: Likewise.
48260 * conform/data/stdlib.h-data: Likewise.
48261 * conform/data/string.h-data: Likewise.
48262 * conform/data/strings.h-data: Likewise.
48263 * conform/data/stropts.h-data: Likewise.
48264 * conform/data/sys/ipc.h-data: Likewise.
48265 * conform/data/sys/mman.h-data: Likewise.
48266 * conform/data/sys/msg.h-data: Likewise.
48267 * conform/data/sys/resource.h-data: Likewise.
48268 * conform/data/sys/select.h-data: Likewise.
48269 * conform/data/sys/sem.h-data: Likewise.
48270 * conform/data/sys/shm.h-data: Likewise.
48271 * conform/data/sys/socket.h-data: Likewise.
48272 * conform/data/sys/stat.h-data: Likewise.
48273 * conform/data/sys/statvfs.h-data: Likewise.
48274 * conform/data/sys/time.h-data: Likewise.
48275 * conform/data/sys/timeb.h-data: Likewise.
48276 * conform/data/sys/times.h-data: Likewise.
48277 * conform/data/sys/types.h-data: Likewise.
48278 * conform/data/sys/uio.h-data: Likewise.
48279 * conform/data/sys/un.h-data: Likewise.
48280 * conform/data/sys/utsname.h-data: Likewise.
48281 * conform/data/sys/wait.h-data: Likewise.
48282 * conform/data/syslog.h-data: Likewise.
48283 * conform/data/tar.h-data: Likewise.
48284 * conform/data/termios.h-data: Likewise.
48285 * conform/data/utime.h-data: Likewise.
48286 * conform/data/utmpx.h-data: Likewise.
48287 * conform/data/varargs.h-data: Likewise.
48288 * conform/data/wchar.h-data: Likewise.
48289 * conform/data/wctype.h-data: Likewise.
48290 * conform/data/wordexp.h-data: Likewise.
48291
48292 * include/stropts.h: New file.
48293 * include/uchar.h: New file.
48294 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48295 * include/assert.h: Likewise.
48296 * include/ctype.h: Likewise.
48297 * include/dirent.h: Likewise.
48298 * include/dlfcn.h: Likewise.
48299 * include/fcntl.h: Likewise.
48300 * include/fnmatch.h: Likewise.
48301 * include/glob.h: Likewise.
48302 * include/grp.h: Likewise.
48303 * include/libio.h: Likewise.
48304 * include/locale.h: Likewise.
48305 * include/math.h: Likewise.
48306 * include/net/if.h: Likewise.
48307 * include/netdb.h: Likewise.
48308 * include/netinet/in.h: Likewise.
48309 * include/pthread.h: Likewise.
48310 * include/pwd.h: Likewise.
48311 * include/regex.h: Likewise.
48312 * include/sched.h: Likewise.
48313 * include/search.h: Likewise.
48314 * include/setjmp.h: Likewise.
48315 * include/signal.h: Likewise.
48316 * include/stdio.h: Likewise.
48317 * include/stdlib.h: Likewise.
48318 * include/string.h: Likewise.
48319 * include/sys/cdefs.h: Likewise.
48320 * include/sys/mman.h: Likewise.
48321 * include/sys/msg.h: Likewise.
48322 * include/sys/resource.h: Likewise.
48323 * include/sys/select.h: Likewise.
48324 * include/sys/socket.h: Likewise.
48325 * include/sys/stat.h: Likewise.
48326 * include/sys/statvfs.h: Likewise.
48327 * include/sys/time.h: Likewise.
48328 * include/sys/times.h: Likewise.
48329 * include/sys/uio.h: Likewise.
48330 * include/sys/utsname.h: Likewise.
48331 * include/sys/wait.h: Likewise.
48332 * include/termios.h: Likewise.
48333 * include/time.h: Likewise.
48334 * include/ulimit.h: Likewise.
48335 * include/unistd.h: Likewise.
48336 * include/utime.h: Likewise.
48337 * include/wchar.h: Likewise.
48338 * include/wctype.h: Likewise.
48339 * include/wordexp.h: Likewise.
48340
48341 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48342
48343 * time/time.h: TIME_UTC must be a macro.
48344 Make timespec_get available for ISO C11 only as well.
48345
483462012-02-24 Ulrich Drepper <drepper@gmail.com>
48347
48348 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48349 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48350
483512012-02-24 Joseph Myers <joseph@codesourcery.com>
48352
48353 * configure.in: Use -o not -a in test for unsupported multi-arch.
48354
483552012-02-24 Joseph Myers <joseph@codesourcery.com>
48356
48357 * manual/texinfo.tex: Update to version 2012-01-19.16.
48358
483592012-02-24 Joseph Myers <joseph@codesourcery.com>
48360
48361 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48362
483632012-02-24 Roland McGrath <roland@hack.frob.com>
48364
48365 [BZ #13738]
48366 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48367 * manual/fdl-1.3.texi: New file.
48368 * manual/fdl-1.1.texi: File removed.
48369
48370 [BZ #13738]
48371 * manual/libc.texinfo (FDL_VERSION): New @set.
48372 Use it for mention of FDL in cover text.
48373 (Documentation License): Use it in @include file name.
48374
483752012-02-22 Joseph Myers <joseph@codesourcery.com>
48376 Roland McGrath <roland@hack.frob.com>
48377
48378 [BZ #5461]
48379 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48380 (not LONG_LONG_MAX and LONG_LONG_MIN.
48381 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48382 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48383 name.
48384 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48385
483862012-02-22 Joseph Myers <joseph@codesourcery.com>
48387
48388 [BZ #2547]
48389 [BZ #11365]
48390 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48391 manipulate bits before adding and subtracting TWO23[sx].
48392 * math/libm-test.inc (nearbyint_test): Add more tests.
48393
483942012-02-22 Joseph Myers <joseph@codesourcery.com>
48395
48396 [BZ #2548]
48397 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48398 bits before adding and subtracting TWO23[sx].
48399 * math/libm-test.inc (rint_test): Add more tests.
48400 (rint_test_tonearest): Likewise.
48401 (rint_test_towardzero): Likewise.
48402 (rint_test_downward): Likewise.
48403 (rint_test_upward: Likewise.
48404
484052012-02-22 Joseph Myers <joseph@codesourcery.com>
48406
48407 [BZ #10110]
48408 * include/stdc-predef.h: New file. Extracted from features.h.
48409 * include/features.h: Include stdc-predef.h.
48410 * Makefile (headers): Add stdc-predef.h.
48411 * CONFORMANCE (Compiler limitations): Update.
48412
484132012-02-22 Joseph Myers <joseph@codesourcery.com>
48414
48415 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48416
484172012-02-21 David S. Miller <davem@davemloft.net>
48418
48419 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48420 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48421
484222012-02-20 David S. Miller <davem@davemloft.net>
48423
48424 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48425 using a normal save/restore sequence, rather than allocating a
48426 dummy stack frame just to store a frame pointer and restore.
48427 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48428
484292012-02-21 Joseph Myers <joseph@codesourcery.com>
48430
48431 * manual/install.texi: Fix stray word in line-wrapped comment.
48432
484332012-02-20 David S. Miller <davem@davemloft.net>
48434
48435 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48436 both binutils and gcc support GOTDATA.
48437
48438 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48439 "rd %pc" in the PIC register setup sequences.
48440
48441 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48442 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48443 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48444 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48445 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48447 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48448 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48450 (SYSCALL_ERROR_HANDLER): Likewise.
48451 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48452 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48454 (SYSCALL_ERROR_HANDLER): Likewise.
48455
48456 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48457 (HAVE_GCC_GOTDATA): New.
48458 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48459 relocation support in both binutils and gcc.
48460 * sysdeps/sparc/elf/configure: Regenerate.
48461
48462 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48463 * sysdeps/sparc/sparc32/elf/configure: Delete.
48464 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48465 * sysdeps/sparc/sparc64/elf/configure: Delete.
48466 * sysdeps/sparc/elf/configure.in: New file.
48467 * sysdeps/sparc/elf/configure: Generate.
48468
48469 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48470 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48471 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48472 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48473 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48474
484752012-02-21 Joseph Myers <joseph@codesourcery.com>
48476
48477 * manual/install.texi: Do not mention specific glibc version
48478 numbers.
48479 * manual/libc.texinfo (VERSION, UPDATED): Update.
48480 (@copying): Use @copyright{} and range of years.
48481
484822012-02-21 Joseph Myers <joseph@codesourcery.com>
48483
48484 [BZ #13695]
48485 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48486 [crti.S not in sysdirs] (generated): Do not append.
48487 [crti.S not in sysdirs] (omit-deps): Likewise.
48488 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48489 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48490 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48491 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48492 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48493 Likewise.
48494 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48495 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48496 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48497 * csu/defs.awk: Remove file.
48498 * sysdeps/generic/initfini.c: Likewise.
48499 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48500 variable.
48501 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48502 Likewise.
48503
485042012-02-20 Joseph Myers <joseph@codesourcery.com>
48505
48506 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48507 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48508 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48510 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48511 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48512 <bits/epoll.h>.
48513 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48514 (__EPOLL_PACKED): Define to empty if not defined by
48515 <bits/epoll.h>.
48516 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48518 bits/epoll.h.
48519
485202012-02-20 Joseph Myers <joseph@codesourcery.com>
48521
48522 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48523 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48524 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48525 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48526 <bits/timerfd.h>.
48527 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48529 bits/timerfd.h.
48530
485312012-02-20 Joseph Myers <joseph@codesourcery.com>
48532
48533 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48534 in C locale.
48535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48536 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48537 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48539
485402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48541
48542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48543 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48544
485452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48546
48547 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48548 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48549 defined.
48550 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48551 Likewise.
48552 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48553 entry for 2.16.
48554
485552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48556
48557 * math/w_acos.c: Use non-signaling floating-point comparisons.
48558 * math/w_acosf.c: Likewise.
48559 * math/w_acosh.c: Likewise.
48560 * math/w_acoshf.c: Likewise.
48561 * math/w_acoshl.c: Likewise.
48562 * math/w_acosl.c: Likewise.
48563 * math/w_asin.c: Likewise.
48564 * math/w_asinf.c: Likewise.
48565 * math/w_asinl.c: Likewise.
48566 * math/w_atanh.c: Likewise.
48567 * math/w_atanhf.c: Likewise.
48568 * math/w_atanhl.c: Likewise.
48569 * math/w_exp2.c: Likewise.
48570 * math/w_exp2f.c: Likewise.
48571 * math/w_exp2l.c: Likewise.
48572 * math/w_j0.c: Likewise.
48573 * math/w_j0f.c: Likewise.
48574 * math/w_j0l.c: Likewise.
48575 * math/w_j1.c: Likewise.
48576 * math/w_j1f.c: Likewise.
48577 * math/w_j1l.c: Likewise.
48578 * math/w_jn.c: Likewise.
48579 * math/w_jnf.c: Likewise.
48580 * math/w_log.c: Likewise.
48581 * math/w_log10.c: Likewise.
48582 * math/w_log10f.c: Likewise.
48583 * math/w_log10l.c: Likewise.
48584 * math/w_log2.c: Likewise.
48585 * math/w_log2f.c: Likewise.
48586 * math/w_log2l.c: Likewise.
48587 * math/w_logf.c: Likewise.
48588 * math/w_logl.c: Likewise.
48589 * math/w_sqrt.c: Likewise.
48590 * math/w_sqrtf.c: Likewise.
48591 * math/w_sqrtl.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48595 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48596 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48597
485982012-02-19 Joseph Myers <joseph@codesourcery.com>
48599
48600 [BZ #9739]
48601 * manual/string.texi (strnlen): Use correct parameter name in
48602 equivalent expression.
48603
486042012-02-19 Joseph Myers <joseph@codesourcery.com>
48605
48606 [BZ #11174]
48607 * manual/users.texi (seteuid): Consistently use neweuid for
48608 argument name.
48609
486102012-02-19 Joseph Myers <joseph@codesourcery.com>
48611
48612 [BZ #13704]
48613 * manual/nss.texi (Services in the NSS configuration): Correct
48614 list of services in example configuration file.
48615
486162012-02-19 Nick Bowler <nbowler@draconx.ca>
48617
48618 [BZ #11322]
48619 * manual/arith.texi: Remove statements about negative zero
48620 behaving identically to zero.
48621
486222012-02-18 Joseph Myers <joseph@codesourcery.com>
48623
48624 [BZ #5993]
48625 * manual/install.texi: Do not document upgrading from libc5.
48626
486272012-02-18 Joseph Myers <joseph@codesourcery.com>
48628
48629 [BZ #4596]
48630 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48631
486322012-02-18 David S. Miller <davem@davemloft.net>
48633
48634 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48635 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48636 %o7 across the call.
48637 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48638 instead.
48639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48640 SETUP_PIC_REG_LEAF.
48641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48642 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48643 * sysdeps/sparc/crtn.S: Likewise.
48644
486452012-02-17 Ulrich Drepper <drepper@gmail.com>
48646
48647 * aout/Makefile: Remove.
48648
486492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48650
48651 [BZ #13058]
48652 * manual/examples/argp-ex1.c (main): Format definition in GNU
48653 style.
48654 * manual/examples/argp-ex2.c (main): Likewise.
48655 * manual/examples/argp-ex3.c (main): Likewise.
48656 * manual/examples/argp-ex4.c (main): Likewise.
48657 * manual/examples/longopt.c (main): Use new-style prototype
48658 definition.
48659 * manual/examples/strncat.c (main): Specify return type and use
48660 (void) for arguments.
48661 * manual/examples/subopt.c (main): Use char **argv argument.
48662
486632012-02-17 Joseph Myers <joseph@codesourcery.com>
48664
48665 [BZ #5077]
48666 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48667 rounding modes.
48668
486692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48670
48671 [BZ #6907]
48672 * manual/string.texi (strchr): Change when strchrnul is
48673 recommended.
48674
486752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48676
48677 [BZ #174]
48678 * manual/locale.texi (setlocale): Document LOCPATH.
48679
486802012-02-17 Joseph Myers <joseph@codesourcery.com>
48681
48682 [BZ #10210]
48683 * manual/process.texi (execle): Move @dots{} before last argument.
48684
486852012-02-17 Paul Bolle <pebolle@tiscali.nl>
48686
48687 [BZ #12047]
48688 * manual/charset.texi (Generic Charset Conversion): Fix typo
48689 (LC_TYPE -> LC_CTYPE).
48690
486912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48692
48693 [BZ #5805]
48694 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48695 (scalbnf): Likewise.
48696 (scalbnl): Likewise.
48697 (scalbln): Likewise.
48698 (scalblnf): Likewise.
48699 (scalblnl): Likewise.
48700 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48701 (vwarnx): Likewise.
48702 (verr): Likewise.
48703 (verrx): Likewise.
48704 * manual/filesys.texi (telldir): Use braces around return type.
48705 * manual/llio.texi (mmap): Add space after comma.
48706 (mmap64): Likewise.
48707 * manual/math.texi (jn): Use @var{} on parameter names.
48708 (jnf): Likewise.
48709 (jnl): Likewise.
48710 (yn): Likewise.
48711 (ynf): Likewise.
48712 (ynl): Likewise.
48713 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48714 line.
48715 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48716 "...".
48717 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48718 (sched_get_priority_max): Likewise.
48719 * manual/signal.texi (sigvec): Add space after comma.
48720 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48721 names.
48722 (if_indextoname): Likewise.
48723 (if_freenameindex): Likewise.
48724 (sendto): Use ',' instead of '.' in prototype.
48725 * manual/startup.texi (syscall): Use @dots{} instead of literal
48726 "...".
48727 * manual/stdio.texi (__fpending): Separate initial words of
48728 paragraph from @deftypefun line.
48729 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48730 "...".
48731 (vsyslog): Use @var{} on parameter names.
48732 * manual/terminal.texi (stty): Use @var{} on parameter names.
48733 * manual/users.texi (getutmp): Use @var{} on parameter names.
48734 (getutmpx): Likewise.
48735
487362012-02-17 Joseph Myers <joseph@codesourcery.com>
48737
48738 [BZ #6884]
48739 * manual/stdio.texi (fopen): Fix typos in description of
48740 ",ccs=STRING".
48741
487422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48743
48744 [BZ #4026]
48745 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48746 get clock_id definition.
48747
487482012-02-17 Thomas Schwinge <thomas@schwinge.name>
48749
48750 [BZ #4822]
48751 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48752 (madvise): Cast every argument to void on its own.
48753
487542012-02-17 Joseph Myers <joseph@codesourcery.com>
48755
48756 [BZ #9902]
48757 * manual/startup.texi (Exit Status): Fix typo.
48758
487592012-02-17 Joseph Myers <joseph@codesourcery.com>
48760
48761 [BZ #10140]
48762 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48763 * manual/examples/argp-ex2.c: Likewise.
48764 * manual/examples/argp-ex3.c: Likewise.
48765
487662012-02-16 Richard Henderson <rth@redhat.com>
48767
48768 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48769 * sysdeps/s390/s390-32/initfini.c: Remove.
48770 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48771 * sysdeps/s390/s390-64/initfini.c: Remove.
48772
487732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48774
48775 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48776 compiler output for sysdeps/generic/initfini.c.
48777 * sysdeps/sh/elf/initfini.c: Remove file.
48778
487792012-02-16 David S. Miller <davem@davemloft.net>
48780
48781 [BZ #11494]
48782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48783
48784 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48785 * sysdeps/sparc/crti.S: New file.
48786 * sysdeps/sparc/crtn.S: New file.
48787 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48788 * sysdeps/sparc/sparc64/Makefile: Likewise.
48789
487902012-02-15 Mike Frysinger <vapier@gentoo.org>
48791
48792 [BZ #3335]
48793 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48794
487952012-02-15 Roland McGrath <roland@hack.frob.com>
48796
48797 [BZ #4822]
48798 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48799
48800 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48801 (write, read, close): Likewise.
48802 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48803
488042012-02-15 Joseph Myers <joseph@codesourcery.com>
48805
48806 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48807 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48808 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48809 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48810 <bits/signalfd.h>.
48811 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48813 bits/signalfd.h.
48814
488152012-02-14 Marek Polacek <polacek@redhat.com>
48816
48817 * sysdeps/x86_64/crti.S: New file.
48818 * sysdeps/x86_64/crtn.S: New file.
48819 * sysdeps/x86_64/elf/initfini.c: Remove file.
48820
488212012-02-13 Joseph Myers <joseph@codesourcery.com>
48822
48823 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48824 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48825 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48826 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48827 <bits/inotify.h>.
48828 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48830 bits/inotify.h.
48831
488322012-02-13 Joseph Myers <joseph@codesourcery.com>
48833
48834 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48835 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48836 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48837 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48838 <bits/eventfd.h>.
48839 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48841 bits/eventfd.h.
48842
488432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48844
48845 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48846 __feraiseexcept instead of feraiseexcept.
48847
48848 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48849 nanosleep invocations.
48850 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48851 strings, and add error checking for a nanosleep invocations.
48852
488532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48854
48855 Replace FSF snail mail address with URLs, as per GNU coding standards.
48856 Most of the snail mail addresses were wrong anyway, and omitting
48857 them makes the source code easier to maintain. Almost all of the
48858 changes are to license notices and to locale LC_IDENTIFICATION
48859 addresses, except for this one:
48860 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48861 not its snail mail address.
48862
488632012-02-09 Richard Henderson <rth@twiddle.net>
48864
48865 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48866 of kernel-features.h.
48867
48868 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48869
488702012-02-08 Marek Polacek <polacek@redhat.com>
48871
48872 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48873 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48874 * sysdeps/gnu/_G_config.h: Likewise.
48875 * sysdeps/generic/_G_config.h: Likewise.
48876
488772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48878
48879 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48880 tests.
48881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48882
48883 * sysdeps/powerpc/powerpc32/crti.S: New file.
48884 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48885 * sysdeps/powerpc/powerpc64/crti.S: New file.
48886 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48887
48888 * Makeconfig (have-initfini): Don't set.
48889 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48890 * configure.in (nopic_initfini): Don't substitute.
48891 * config.h.in (HAVE_INITFINI): Don't #undef.
48892 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48893 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48894
488952012-02-08 Joseph Myers <joseph@codesourcery.com>
48896
48897 Support crti.S and crtn.S provided directly by architectures.
48898 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48899 [crti.S in sysdirs] (omit-deps): Likewise.
48900 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48901 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48902 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48903 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48904 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48905 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48906 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48907 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48908 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48909 compiler output for sysdeps/generic/initfini.c.
48910 * sysdeps/i386/elf/Makefile: Remove file.
48911 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48912
489132012-02-07 Marek Polacek <polacek@redhat.com>
48914
48915 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48916 * sysdeps/gnu/_G_config.h: Likewise.
48917 * sysdeps/mach/hurd/_G_config.h: Likewise.
48918
489192012-02-07 Marek Polacek <polacek@redhat.com>
48920
48921 * math/Makefile (tests): Add tst-CMPLX2.
48922 * math/tst-CMPLX2.c: New file.
48923
489242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48925
48926 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48927
48928 * math/libm-test.inc (jn_test): Add missing L suffix.
48929
489302012-02-06 Marek Polacek <polacek@redhat.com>
48931
48932 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48933 * sysdeps/i386/fpu/e_powf.S: Likewise.
48934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48935 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48936 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48937 * sysdeps/i386/fpu/e_pow.S: Likewise.
48938 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48939 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48940 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48941 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48942 * sysdeps/i386/fpu/e_log2.S: Likewise.
48943 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48944 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48945 * sysdeps/i386/fpu/e_powl.S: Likewise.
48946 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48947 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48948 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48949 * sysdeps/i386/fpu/e_logl.S: Likewise.
48950 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48951 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48952 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48953 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48954 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48955 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48956 * sysdeps/i386/fpu/e_log.S: Likewise.
48957 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48958 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48959 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48960 * sysdeps/i386/fpu/e_logf.S: Likewise.
48961 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48962 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48963 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48964 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48965 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48966 * sysdeps/i386/fpu/e_log10.S: Likewise.
48967 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48968 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48969 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48970 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48971 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48972 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48973 * sysdeps/i386/asm-syntax.h: Likewise.
48974 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48976 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48977 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48978 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48979 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48980 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48981 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48982 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48983 * sysdeps/powerpc/sysdep.h: Likewise.
48984 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48985 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48986
489872012-02-06 Joseph Myers <joseph@codesourcery.com>
48988
48989 [BZ #411]
48990 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48991
489922012-02-06 Joseph Myers <joseph@codesourcery.com>
48993
48994 * sysdeps/i386/sysdep.h: Include <features.h>.
48995 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48996 version.
48997
489982012-02-05 Joseph Myers <joseph@codesourcery.com>
48999
49000 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49001 Define.
49002 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49003 LOAD_PIC_REG_STR.
49004
490052012-02-03 Joseph Myers <joseph@codesourcery.com>
49006
49007 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49008 (SETUP_PIC_REG): Use GET_PC_THUNK.
49009 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49010 macro.
49011
490122012-02-03 Joseph Myers <joseph@codesourcery.com>
49013
49014 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49015 for non-PIC compilation.
49016 (SETUP_PIC_REG): Add .p2align directive.
49017 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49018 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49019 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49020 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49021 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49022 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49023 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49025 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49026 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49027 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49028 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49029 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49030 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49031 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49032 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49033 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49034 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49035 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49036 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49038 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49039 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49040 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49041 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49043 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49045 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49046 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49047 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49048 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49049 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49050 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49051 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49052 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49053 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49054 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49055 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49056 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49057 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49058
490592012-02-03 Joseph Myers <joseph@codesourcery.com>
49060
49061 * math/tst-CMPLX.c: Include <stdio.h>.
49062
490632012-01-31 Joseph Myers <joseph@codesourcery.com>
49064
49065 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49066 float.
49067 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49068 * sysdeps/sparc/bits/mathdef.h: Likewise.
49069
490702012-01-31 Marek Polacek <polacek@redhat.com>
49071
49072 * libio/libio.h: Don't define _PARAMS.
49073 * locale/programs/config.h: Don't define PARAMS.
49074 * stdlib/strtol_l.c: Likewise.
49075 (__strtol_l): Remove PARAMS from the prototype.
49076
490772012-01-31 Ulrich Drepper <drepper@gmail.com>
49078
49079 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49080 names. Just use the correct names. Remove unnecessary wrapper
49081 functions.
49082 * malloc/arena.c: Likewise.
49083 * malloc/hooks.c: Likewise.
49084
49085 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49086 ARENA_TEST says not to. Simplify test for creation of a new arena.
49087 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49088
490892012-01-30 Ulrich Drepper <drepper@gmail.com>
49090
49091 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49092 into tail calls.
49093 (update_get_addr): New function.
49094 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49095 GET_ADDR_MODULE parameter.
49096
490972012-01-30 Joseph Myers <joseph@codesourcery.com>
49098
49099 * crypt/cert.c: Remove __STDC__ conditionals.
49100 * crypt/crypt-entry.c: Likewise.
49101 * crypt/crypt_util.c: Likewise.
49102 * libio/filedoalloc.c: Likewise.
49103 * libio/fileops.c: Likewise.
49104 * libio/genops.c: Likewise.
49105 * libio/iofclose.c: Likewise.
49106 * libio/iofdopen.c: Likewise.
49107 * libio/iofopen.c: Likewise.
49108 * libio/iofopen64.c: Likewise.
49109 * libio/iogetdelim.c: Likewise.
49110 * libio/iopopen.c: Likewise.
49111 * libio/obprintf.c: Likewise.
49112 * libio/oldfileops.c: Likewise.
49113 * libio/oldiofclose.c: Likewise.
49114 * libio/oldiofdopen.c: Likewise.
49115 * libio/oldiofopen.c: Likewise.
49116 * libio/oldiopopen.c: Likewise.
49117 * libio/wfiledoalloc.c: Likewise.
49118 * libio/wgenops.c: Likewise.
49119 * locale/programs/xmalloc.c: Likewise.
49120 * misc/syslog.c: Likewise.
49121 * stdio-common/xbug.c: Likewise.
49122 * string/memchr.c: Likewise.
49123 * string/memcmp.c: Likewise.
49124 * string/memrchr.c: Likewise.
49125 * string/rawmemchr.c: Likewise.
49126 * sysdeps/posix/getcwd.c: Likewise.
49127 * time/strftime_l.c: Likewise.
49128
491292012-01-30 Joseph Myers <joseph@codesourcery.com>
49130
49131 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49132 * config.make.in (config-cflags-sse2avx): Define.
49133 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49134 Fix typo.
49135
491362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49137
49138 * scripts/config.guess: Update from upstream config git repository.
49139 * scripts/config.sub: Likewise.
49140
491412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49142
49143 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49144 (EM_NUM): Update.
49145 (R_TILEPRO_*, R_TILEGX_*): New macros.
49146
49147 * scripts/firstversions.awk: Fix bug in version range handling.
49148
49149 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49150
49151 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49152
49153 * include/sys/epoll.h: New file.
49154 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49155 libc_hidden_def.
49156
491572012-01-28 Ulrich Drepper <drepper@gmail.com>
49158
49159 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49160 Avoid unnecessary __WORDSIZE == 64 test.
49161 (fmaxf): Use VEX format if possible.
49162 (fmax): Likewise.
49163 (fminf): Likewise.
49164 (fmin): Likewise.
49165
49166 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49167 * math/math_private.h: Remove libc_fegetround* and
49168 libc_fesetround*.
49169 * sysdeps/i386/configure.in: Check for -msse2avx.
49170 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49171 also if SSE2AVX is defined.
49172 Remove libc_fegetround* and libc_fesetround*.
49173 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49174 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49175 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49176 of HAS_YMM_USABLE.
49177 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49178 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49179 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49181 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49182
49183 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49184
491852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49186
49187 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49188 size is not set.
49189 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49190
491912012-01-27 Ulrich Drepper <drepper@gmail.com>
49192
49193 [BZ #13618]
49194 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49195 relocation.
49196 * Makeconfig (libm): Define.
49197 * elf/Makefile: Add rules to build and run tst-relsort1.
49198 * elf/tst-relsort1.c: New file.
49199 * elf/tst-relsort1mod1.c: New file.
49200 * elf/tst-relsort1mod2.c: New file.
49201
492022012-01-27 Joseph Myers <joseph@codesourcery.com>
49203
49204 * math/s_ldexp.c: Remove __STDC__ conditionals.
49205 * math/s_ldexpf.c: Likewise.
49206 * math/s_ldexpl.c: Likewise.
49207 * math/s_nextafter.c: Likewise.
49208 * math/s_nexttowardf.c: Likewise.
49209 * math/s_significand.c: Likewise.
49210 * math/s_significandf.c: Likewise.
49211 * math/s_significandl.c: Likewise.
49212 * math/w_jnl.c: Likewise.
49213 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49214 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49215 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49216 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49217 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49219 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49220 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49221 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49222 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49223 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49225 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49226 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49228 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49229 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49232 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49233 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49234 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49235 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49237 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49238 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49239 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49240 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49241 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49242 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49243 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49244 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49245 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49246 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49247 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49248 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49249 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49250 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49251 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49252 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49253 * sysdeps/ieee754/k_standard.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49302 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49303 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49310 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49314 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49315 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49316 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49320 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49321 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49322 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49329 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49330 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49333 * sysdeps/ieee754/s_matherr.c: Likewise.
49334 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49335 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49338
493392012-01-26 Joseph Myers <joseph@codesourcery.com>
49340
49341 * crypt/md5.h: Remove __STDC__ conditionals.
49342 * libio/libioP.h: Likewise.
49343 * locale/programs/config.h: Likewise.
49344 * sysdeps/generic/sysdep.h: Likewise.
49345 * sysdeps/i386/asm-syntax.h: Likewise.
49346 * sysdeps/s390/asm-syntax.h: Likewise.
49347 * sysdeps/unix/sysdep.h: Likewise.
49348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49350
493512012-01-26 Joseph Myers <joseph@codesourcery.com>
49352
49353 * libio/libio.h: Remove __STDC__ conditionals.
49354 * malloc/obstack.h: Likewise.
49355 * math/complex.h: Likewise.
49356 * math/math.h: Likewise.
49357 * sysdeps/generic/_G_config.h: Likewise.
49358 * sysdeps/gnu/_G_config.h: Likewise.
49359 * sysdeps/mach/hurd/_G_config.h: Likewise.
49360 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49361 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49362 * sysdeps/sparc/bits/mathdef.h: Likewise.
49363
493642012-01-26 Ulrich Drepper <drepper@gmail.com>
49365
49366 [BZ #13583]
49367 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49368 Clean up HAS_* macros.
49369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49370 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49371 possible.
49372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49373 HAS_AVX.
49374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49375 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49377 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49378 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49379
493802012-01-25 Joseph Myers <joseph@codesourcery.com>
49381
49382 * elf/tst-unique3.cc (gets): Remove declaration.
49383 * elf/tst-unique3lib.cc (gets): Likewise.
49384 * elf/tst-unique3lib2.cc (gets): Likewise.
49385 * elf/tst-unique4.cc (gets): Likewise.
49386
493872012-01-24 Ulrich Drepper <drepper@gmail.com>
49388
49389 * include/stdio.h: Add C++ protection. Add gets declarations and
49390 definitions.
49391 * debug/tst-chk1.c: Don't declare gets here.
49392 * stdio-common/tst-gets.c: Likewise.
49393
493942012-01-24 Joseph Myers <joseph@codesourcery.com>
49395
49396 * posix/glob: Remove directory.
49397
493982012-01-24 Joseph Myers <joseph@codesourcery.com>
49399
49400 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49401
494022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49403
49404 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49405 of the non-standard EPFNOSUPPORT.
49406
494072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49408
49409 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49410 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49411 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49412
494132012-01-21 Ulrich Drepper <drepper@gmail.com>
49414
49415 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49416
494172012-01-20 Ulrich Drepper <drepper@gmail.com>
49418
49419 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49420 transient errors.
49421 * nscd/grpcache.c (cache_addgr): Likewise.
49422 * nscd/hstcache.c (cache_addhst): Likewise.
49423 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49424 * nscd/pwdcache.c (cache_addpw): Likewise.
49425 * nscd/servicescache.c (cache_addserv): Likewise.
49426
494272012-01-16 Ulrich Drepper <drepper@gmail.com>
49428
49429 * malloc/malloc.c: Various cleanups.
49430 * malloc/hooks.c: Likewise.
49431
49432 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49433 * stdlib/bug-fmtmsg1.c: New file.
49434
49435 * stdlib/fmtmsg.c (init): Add missing unlock.
49436 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49437
494382012-01-12 Marek Polacek <polacek@redhat.com>
49439
49440 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49441 and _GNU_SOURCE.
49442
494432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49444
49445 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49446 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49447 macro to ensure uniqueness of label name.
49448 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49449 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49450
494512012-01-11 Ulrich Drepper <drepper@gmail.com>
49452
49453 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49454
49455 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49459
494602012-01-10 Ulrich Drepper <drepper@gmail.com>
49461
49462 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49463
49464 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49465 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49466 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49467
49468 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49469
49470 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49471 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49472 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49474
49475 * math/bits/math-finite.h: Add ldexp support.
49476
494772012-01-10 Marek Polacek <polacek@redhat.com>
49478
49479 * locale/programs/localedef.h (show_archive_content): Add noreturn
49480 attribute.
49481
494822012-01-09 Ulrich Drepper <drepper@gmail.com>
49483
49484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49485
494862012-01-08 Ulrich Drepper <drepper@gmail.com>
49487
49488 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49489
49490 * io/Makefile (headers): Add bits/poll2.h.
49491
494922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49493
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49495 typo #include statement.
49496
494972012-01-08 Ulrich Drepper <drepper@gmail.com>
49498
49499 * include/sys/cdefs.h: Define __attribute_alloc_size.
49500 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49501 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49502 * elf/pldd.c: Likewise.
49503 * iconv/iconv_charmap.c: Likewise.
49504 * iconv/iconvconfig.c: Likewise.
49505 * iconv/strtab.c: Likewise.
49506 * locale/programs/locale.c: Likewise.
49507 * locale/programs/localedef.h: Likewise.
49508 * locale/programs/simple-hash.c: Likewise.
49509 * nscd/nscd.h: Likewise.
49510 * nss/makedb.c: Likewise.
49511 * sysdeps/generic/ldconfig.h: Likewise.
49512 * locale/programs/localedef.c: Remove xmalloc prototype.
49513 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49514
495152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49516
49517 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49518 appropriate.
49519
495202012-01-08 Ulrich Drepper <drepper@gmail.com>
49521
49522 * math/Makefile (tests): Add tst-CMPLX.
49523 * math/tst-CMPLX.c: New file.
49524
49525 * math/complex.h (CMPLXL): Fix typo.
49526
49527 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49528 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49529 GLIBC_2.16.
49530 * debug/tst-chk1.c: Add poll and ppoll tests.
49531 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49532 * include/sys/poll.h: Add hidden proto for ppoll.
49533 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49534 * sysdeps/mach/hurd/ppoll.c: Likewise.
49535 * io/ppoll.c: Likewise.
49536 * debug/poll_chk.c: New file.
49537 * debug/ppoll_chk.c: New file.
49538 * include/bits/poll2.h: New file.
49539 * io/bits/poll2.h: New file.
49540
49541 [BZ #1350]
49542 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49543
49544 * configure.in: static is always set to yes. Remove.
49545 * config.make.in: Don't set build-static.
49546 * Makeconfig: Remove use of build-static.
49547 * dlfcn/Makefile: Likewise.
49548 * elf/Makefile: Likewise.
49549 * math/Makefile: Likewise.
49550 * misc/Makefile: Likewise.
49551 * nptl/Makefile: Likewise.
49552 * sysdeps/mach/hurd/Makefile: Likewise.
49553
49554 * configure.in: PWD_P is not used anymore.
49555 * config.make.in: Remove PWD_P entry.
49556
49557 * configure.in: Remove last remnants of RANLIB.
49558 No need to check for signed size_t anymore.
49559 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49560 and IA-64.
49561 Remove __builtin_expect test because we require at least gcc 3.4.
49562 * aclocal.m4: Likewise.
49563
49564 * wcsmbs/mbrtoc16.c: Implement using towc function.
49565 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49566 * wcsmbs/wcsmbsload.c: Likewise.
49567 * iconv/gconv_simple.c: Likewise.
49568 * iconv/gconv_int.h: Likewise.
49569 * iconv/gconv_builtin.h: Likewise.
49570 * iconv/iconv_prog.c: Remove CHAR16 handling.
49571
49572 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49573
49574 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49575
49576 * configure.in: Remove --with-elf and --enable-bounded options.
49577 Dont set base_machine for ia64. More non-ELF conditions removed.
49578 Remove testing and setting of leading underscore information.
49579 * config.make.in (build-bounded): Set to no.
49580 * config.h.in: Remove NO_UNDERSCORES entry.
49581 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49582 them.
49583 * csu/start.c: Remove !NO_UNDERSCORE code.
49584 * locale/localeinfo.h: Likewise.
49585 * sysdeps/generic/machine-gmon.h: Likewise.
49586 * sysdeps/generic/sysdep.h: Likewise.
49587 * sysdeps/i386/sysdep.h: Likewise.
49588 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49589 * sysdeps/mach/sysdep.h: Likewise.
49590 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49592 * sysdeps/sh/sysdep.h: Likewise.
49593 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49594 * sysdeps/unix/i386/sysdep.S: Likewise.
49595 * sysdeps/unix/sparc/start.c: Likewise.
49596 * sysdeps/unix/sparc/sysdep.S: Likewise.
49597 * sysdeps/unix/sparc/sysdep.h: Likewise.
49598 * sysdeps/unix/start.c: Likewise.
49599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49600 * sysdeps/x86_64/sysdep.h: Likewise.
49601
496022012-01-07 Ulrich Drepper <drepper@gmail.com>
49603
49604 [BZ #13553]
49605 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49606 for non-gcc.
49607 * argp/argp-fmtstream.h: Use const instead __const.
49608 * argp/argp.h: Likewise.
49609 * assert/assert.h: Likewise.
49610 * bits/fenv.h: Likewise.
49611 * bits/sched.h: Likewise.
49612 * bits/sigset.h: Likewise.
49613 * bits/sigthread.h: Likewise.
49614 * catgets/nl_types.h: Likewise.
49615 * conform/data/pthread.h-data: Likewise.
49616 * crypt/crypt-private.h: Likewise.
49617 * crypt/crypt.h: Likewise.
49618 * crypt/crypt_util.c: Likewise.
49619 * ctype/ctype.h: Likewise.
49620 * debug/execinfo.h: Likewise.
49621 * debug/mbsnrtowcs_chk.c: Likewise.
49622 * debug/mbsrtowcs_chk.c: Likewise.
49623 * debug/wcsnrtombs_chk.c: Likewise.
49624 * debug/wcsrtombs_chk.c: Likewise.
49625 * debug/wcstombs_chk.c: Likewise.
49626 * dirent/dirent.h: Likewise.
49627 * dlfcn/dlfcn.h: Likewise.
49628 * elf/neededtest4.c: Likewise.
49629 * grp/grp.h: Likewise.
49630 * gshadow/gshadow.h: Likewise.
49631 * iconv/gconv.h: Likewise.
49632 * iconv/gconv_int.h: Likewise.
49633 * iconv/gconv_simple.c: Likewise.
49634 * iconv/iconv.h: Likewise.
49635 * iconv/loop.c: Likewise.
49636 * iconv/skeleton.c: Likewise.
49637 * include/aio.h: Likewise.
49638 * include/aliases.h: Likewise.
49639 * include/argz.h: Likewise.
49640 * include/arpa/inet.h: Likewise.
49641 * include/assert.h: Likewise.
49642 * include/dirent.h: Likewise.
49643 * include/dlfcn.h: Likewise.
49644 * include/execinfo.h: Likewise.
49645 * include/fcntl.h: Likewise.
49646 * include/fenv.h: Likewise.
49647 * include/glob.h: Likewise.
49648 * include/grp.h: Likewise.
49649 * include/libintl.h: Likewise.
49650 * include/mntent.h: Likewise.
49651 * include/netdb.h: Likewise.
49652 * include/pwd.h: Likewise.
49653 * include/rpc/netdb.h: Likewise.
49654 * include/sched.h: Likewise.
49655 * include/search.h: Likewise.
49656 * include/shadow.h: Likewise.
49657 * include/signal.h: Likewise.
49658 * include/stdio.h: Likewise.
49659 * include/stdlib.h: Likewise.
49660 * include/string.h: Likewise.
49661 * include/sys/socket.h: Likewise.
49662 * include/sys/stat.h: Likewise.
49663 * include/sys/statfs.h: Likewise.
49664 * include/sys/statvfs.h: Likewise.
49665 * include/sys/syslog.h: Likewise.
49666 * include/sys/time.h: Likewise.
49667 * include/sys/uio.h: Likewise.
49668 * include/time.h: Likewise.
49669 * include/unistd.h: Likewise.
49670 * include/utmp.h: Likewise.
49671 * include/wchar.h: Likewise.
49672 * include/wctype.h: Likewise.
49673 * inet/aliases.h: Likewise.
49674 * inet/arpa/inet.h: Likewise.
49675 * inet/netinet/ether.h: Likewise.
49676 * inet/netinet/in.h: Likewise.
49677 * intl/libintl.h: Likewise.
49678 * io/bits/fcntl2.h: Likewise.
49679 * io/fcntl.h: Likewise.
49680 * io/ftw.h: Likewise.
49681 * io/sys/poll.h: Likewise.
49682 * io/sys/stat.h: Likewise.
49683 * io/sys/statfs.h: Likewise.
49684 * io/sys/statvfs.h: Likewise.
49685 * io/utime.h: Likewise.
49686 * libio/bits/stdio.h: Likewise.
49687 * libio/bits/stdio2.h: Likewise.
49688 * libio/libio.h: Likewise.
49689 * libio/libioP.h: Likewise.
49690 * libio/stdio.h: Likewise.
49691 * locale/lc-ctype.c: Likewise.
49692 * locale/locale.h: Likewise.
49693 * login/utmp.h: Likewise.
49694 * malloc/arena.c: Likewise.
49695 * malloc/malloc.c: Likewise.
49696 * malloc/malloc.h: Likewise.
49697 * malloc/mcheck.c: Likewise.
49698 * malloc/mtrace.c: Likewise.
49699 * math/bits/mathcalls.h: Likewise.
49700 * math/fenv.h: Likewise.
49701 * math/math_private.h: Likewise.
49702 * misc/bits/error.h: Likewise.
49703 * misc/bits/syslog.h: Likewise.
49704 * misc/err.h: Likewise.
49705 * misc/error.h: Likewise.
49706 * misc/fstab.h: Likewise.
49707 * misc/mntent.h: Likewise.
49708 * misc/regexp.h: Likewise.
49709 * misc/search.h: Likewise.
49710 * misc/sgtty.h: Likewise.
49711 * misc/sys/mman.h: Likewise.
49712 * misc/sys/syslog.h: Likewise.
49713 * misc/sys/uio.h: Likewise.
49714 * misc/sys/xattr.h: Likewise.
49715 * misc/ttyent.h: Likewise.
49716 * nis/rpcsvc/ypclnt.h: Likewise.
49717 * nss/nss.h: Likewise.
49718 * posix/bits/unistd.h: Likewise.
49719 * posix/fnmatch.h: Likewise.
49720 * posix/glob.h: Likewise.
49721 * posix/sched.h: Likewise.
49722 * posix/spawn.h: Likewise.
49723 * posix/sys/wait.h: Likewise.
49724 * posix/unistd.h: Likewise.
49725 * posix/wordexp.h: Likewise.
49726 * pwd/pwd.h: Likewise.
49727 * resolv/netdb.h: Likewise.
49728 * resource/sys/resource.h: Likewise.
49729 * rt/aio.h: Likewise.
49730 * rt/bits/mqueue2.h: Likewise.
49731 * rt/mqueue.h: Likewise.
49732 * shadow/shadow.h: Likewise.
49733 * signal/signal.h: Likewise.
49734 * socket/send.c: Likewise.
49735 * socket/sendto.c: Likewise.
49736 * socket/sys/socket.h: Likewise.
49737 * stdio-common/printf.h: Likewise.
49738 * stdlib/bits/stdlib.h: Likewise.
49739 * stdlib/fmtmsg.h: Likewise.
49740 * stdlib/monetary.h: Likewise.
49741 * stdlib/stdlib.h: Likewise.
49742 * stdlib/ucontext.h: Likewise.
49743 * streams/stropts.h: Likewise.
49744 * string/argz.h: Likewise.
49745 * string/bits/string2.h: Likewise.
49746 * string/string.h: Likewise.
49747 * string/strings.h: Likewise.
49748 * sunrpc/rpc/auth.h: Likewise.
49749 * sunrpc/rpc/auth_des.h: Likewise.
49750 * sunrpc/rpc/clnt.h: Likewise.
49751 * sunrpc/rpc/netdb.h: Likewise.
49752 * sunrpc/rpc/pmap_clnt.h: Likewise.
49753 * sunrpc/rpc/xdr.h: Likewise.
49754 * sysdeps/generic/inttypes.h: Likewise.
49755 * sysdeps/generic/net/if.h: Likewise.
49756 * sysdeps/generic/sys/swap.h: Likewise.
49757 * sysdeps/gnu/net/if.h: Likewise.
49758 * sysdeps/gnu/utmpx.h: Likewise.
49759 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49760 * sysdeps/i386/i486/bits/string.h: Likewise.
49761 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49762 * sysdeps/s390/bits/string.h: Likewise.
49763 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49764 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49765 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49766 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49767 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49768 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49769 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49770 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49771 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49772 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49773 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49774 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49775 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49776 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49777 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49778 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49779 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49780 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49781 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49782 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49784 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49785 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49786 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49787 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49788 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49789 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49791 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49793 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49794 * sysvipc/sys/ipc.h: Likewise.
49795 * sysvipc/sys/msg.h: Likewise.
49796 * sysvipc/sys/sem.h: Likewise.
49797 * sysvipc/sys/shm.h: Likewise.
49798 * termios/termios.h: Likewise.
49799 * time/sys/time.h: Likewise.
49800 * time/time.h: Likewise.
49801 * wcsmbs/bits/wchar2.h: Likewise.
49802 * wcsmbs/uchar.h: Likewise.
49803 * wcsmbs/wchar.h: Likewise.
49804 * wctype/wctype.h: Likewise.
49805
49806 [BZ #13551]
49807 * Makeconfig: Remove all but ELF support including AIX support.
49808 * Makerules: Likewise.
49809 * config.h.in: Likewise.
49810 * config.make.in: Likewise.
49811 * configure: Likewise.
49812 * configure.in: Likewise.
49813 * csu/Makefile: Likewise.
49814 * csu/version.c: Likewise.
49815 * debug/Makefile: Likewise.
49816 * dlfcn/Makefile: Likewise.
49817 * elf/Makefile: Likewise.
49818 * extra-lib.mk: Likewise.
49819 * iconv/Makefile: Likewise.
49820 * include/libc-symbols.h: Likewise.
49821 * include/shlib-compat.h: Likewise.
49822 * resolv/Makefile: Likewise.
49823 * resolv/res_libc.c: Likewise.
49824 * rt/Makefile: Likewise.
49825 * sysdeps/i386/asm-syntax.h: Likewise.
49826 * sysdeps/i386/sysdep.h: Likewise.
49827 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49828 * sysdeps/mach/sysdep.h: Likewise.
49829 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49830 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49831 * sysdeps/s390/asm-syntax.h: Likewise.
49832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49834 * sysdeps/sh/sysdep.h: Likewise.
49835 * sysdeps/unix/sparc/sysdep.h: Likewise.
49836 * sysdeps/wordsize-32/divdi3.c: Likewise.
49837 * sysdeps/x86_64/sysdep.h: Likewise.
49838
49839 * argp/Versions: Remove _argp_unlock_xxx.
49840
49841 [BZ #13559]
49842 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49843 * abilist/libBrokenLocale.abilist: Likewise.
49844 * abilist/libanl.abilist: Likewise.
49845 * abilist/libc.abilist: Likewise.
49846 * abilist/libcrypt.abilist: Likewise.
49847 * abilist/libdl.abilist: Likewise.
49848 * abilist/libm.abilist: Likewise.
49849 * abilist/libnsl.abilist: Likewise.
49850 * abilist/libpthread.abilist: Likewise.
49851 * abilist/libresolv.abilist: Likewise.
49852 * abilist/librt.abilist: Likewise.
49853 * abilist/libthread_db.abilist: Likewise.
49854 * abilist/libutil.abilist: Likewise.
49855 * abilist/libnss_db.abilist: New file.
49856
49857 * scripts/abilist.awk: Add support for indirect functions.
49858
49859 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49860
49861 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49862
49863 * shlib-versions: Remove entries for ports architectures.
49864
49865 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49866 files in ports.
49867 * elf/stackguard-macros.h: Remove support for IA-64.
49868 * elf/tst-auditmod1.c: Likewise.
49869 * sysdeps/generic/ldsodefs.h: Likewise.
49870
49871 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49872 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49873 configure files.
49874
49875 [BZ #13552]
49876 * configure.in: Remove --enable-omitfp support.
49877 * FAQ.in: Adjust.
49878 * config.make.in: Likewise.
49879 * Makeconfig: Likewise.
49880 * manual/install.texi: Likewise.
49881
49882 In case anyone cares, the IA-64 architecture could move to ports.
49883 * sysdeps/ia64/*: Removed.
49884 * sysdeps/unix/sysv/linux/ia64/*: Removed.
49885 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49886
49887 [BZ #13555]
49888 * configure.in: Remove entries for unsupported architectures.
49889
49890 [BZ #13533]
49891 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49892 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49893 routines.
49894 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49895 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49896 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49897 fall back to using wcrtomb.
49898 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49899 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49900 renaming.
49901 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49902 * wcsmbs/tst-c16c32-1.c: New file.
49903
49904 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49905 local variable.
49906
49907 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49908
49909 * elf/tst-unique3.cc: Add explicit declaration of gets.
49910 * elf/tst-unique3lib.cc: Likewise.
49911 * elf/tst-unique3lib2.cc: Likewise.
49912 * elf/tst-unique4.cc: Likewise.
49913
49914 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49915
499162012-01-06 Joseph Myers <joseph@codesourcery.com>
49917
49918 [BZ #13566]
49919 * assert/assert.h (static_assert): Don't define for C++.
49920 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49921 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49922
499232012-01-03 Ulrich Drepper <drepper@gmail.com>
49924
49925 * iconv/loop.c (single loop): Fix assertion in storing of
49926 remaining bytes.
49927
49928 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49929
499302012-01-01 Ulrich Drepper <drepper@gmail.com>
49931
49932 * posix/getconf.c: Update copyright year.
49933 * nss/getent.c: Likewise.
49934 * nss/makedb.c: Likewise.
49935 * iconv/iconvconfig.c: Likewise.
49936 * iconv/iconv_prog.c: Likewise.
49937 * elf/ldconfig.c: Likewise.
49938 * elf/pldd.c: Likewise.
49939 * elf/sotruss.ksh: Likewise.
49940 * catgets/gencat.c: Likewise.
49941 * csu/version.c: Likewise.
49942 * elf/ldd.bash.in: Likewise.
49943 * elf/sprof.c (print_version): Likewise.
49944 * locale/programs/locale.c: Likewise.
49945 * locale/programs/localedef.c: Likewise.
49946 * login/programs/pt_chown.c: Likewise.
49947 * nscd/nscd.c (print_version): Likewise.
49948 * debug/xtrace.sh: Likewise.
49949 * malloc/memusage.sh: Likewise.
49950 * malloc/mtrace.pl: Likewise.
49951 * debug/catchsegv.sh: Likewise.
49952
499532011-12-30 Jakub Jelinek <jakub@redhat.com>
49954
49955 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49956 pure attribute.
49957
499582011-12-24 Ulrich Drepper <drepper@gmail.com>
49959
49960 [BZ #13533]
49961 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49962 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49963 transformations.
49964 * iconv/gconv_int.h: Likewise.
49965 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49966 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49967 from libc for GLIBC_2.16.
49968 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49969 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49970 * wcsmbs/uchar.h: Really define mbstate_t.
49971 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49972 * wcsmbs/c16rtomb.c: New file.
49973 * wcsmbs/mbrtoc16.c: New file.
49974 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49975 for C/POSIX locale.
49976 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49977 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49978
49979 * wcsmbs/wchar.h: Add missing __restrict.
49980
499812011-12-23 Ulrich Drepper <drepper@gmail.com>
49982
49983 [BZ #13532]
49984 * time/Makefile (routines): Add timespec_get.
49985 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49986 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49987 timespec for ISO C11.
49988 * time/timespec_get.c: New file.
49989 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49990 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49991
49992 [BZ #13531]
49993 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49994 * stdlib/stdlib.h: Declare aligned_alloc.
49995 * Versions.def: Add GLIBC_2.16 for libc.
49996 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49997
49998 [BZ 13527]
49999 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50000 ISO C11.
50001
50002 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50003 code.
50004
50005 [BZ #13528]
50006 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50007
50008 [BZ #13529]
50009 * assert/assert.h (static_assert): Define.
50010
50011 * version.h: Update for 2.16 development version.
50012
50013 [BZ #13526]
50014 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50015 _ISOC11_SOURCE.
50016
50017 * version.h (RELEASE): Bump for 2.15 release.
50018 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50019
50020 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50021 Patch by Marek Polacek <mpolacek@redhat.com>.
50022
50023 * bits/byteswap.h: Protect long long constants with __extension__.
50024 * sysdeps/i386/bits/byteswap.h: Likewise.
50025 * sysdeps/ia64/bits/byteswap.h: Likewise.
50026 * sysdeps/s390/bits/byteswap.h: Likewise.
50027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50028
500292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50030
50031 [BZ #13540]
50032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50033 destination buffer.
50034 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50035
500362011-12-23 Marek Polacek <polacek@redhat.com>
50037
50038 * elf/dl-addr.c (determine_info): Add inline keyword.
50039 * elf/tst-auditmod4b.c (check_avx): Likewise.
50040 * elf/tst-auditmod6b.c (check_avx): Likewise.
50041 * elf/tst-auditmod6c.c (check_avx): Likewise.
50042 * elf/tst-auditmod7b.c (check_avx): Likewise.
50043
500442011-12-23 Ulrich Drepper <drepper@gmail.com>
50045
50046 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50047 !__SSE_MATH__.
50048
500492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50050
50051 [BZ #13540]
50052 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50053 processing for last bytes.
50054
500552011-08-06 Bruno Haible <bruno@clisp.org>
50056
50057 [BZ #13061]
50058 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50059 U+0385, not to U+1FEE.
50060
50061 [BZ #13062]
50062 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50063 entry for U+00A5 U+0301.
50064
500652011-12-22 Ulrich Drepper <drepper@gmail.com>
50066
50067 [BZ #13166]
50068 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50069 buffer for the output is too small.
50070
50071 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50072 optimization.
50073
50074 [BZ #13185]
50075 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50076 SSE flags if possible.
50077
500782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50079
50080 [BZ #13540]
50081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50082 processing for last bytes.
50083
500842011-12-22 Joseph Myers <joseph@codesourcery.com>
50085
50086 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50087 (syscall-list-default-options, syscall-list-default-condition)
50088 (syscall-list-includes): Define.
50089 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50090 list of ABIs and options and #if conditions for each ABI. Do not
50091 handle common syscalls between ABIs specially.
50092 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50093 Remove.
50094 (syscall-list-variants, syscall-list-32bit-options)
50095 (syscall-list-32bit-condition, syscall-list-64bit-options)
50096 (syscall-list-64bit-condition): Define.
50097 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50098 (syscall-list-variants, syscall-list-32bit-options)
50099 (syscall-list-32bit-condition, syscall-list-64bit-options)
50100 (syscall-list-64bit-condition): Define.
50101 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50102 Remove.
50103 (syscall-list-variants, syscall-list-32bit-options)
50104 (syscall-list-32bit-condition, syscall-list-64bit-options)
50105 (syscall-list-64bit-condition): Define.
50106 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50107 Remove.
50108 (syscall-list-variants, syscall-list-32bit-options)
50109 (syscall-list-32bit-condition, syscall-list-64bit-options)
50110 (syscall-list-64bit-condition): Define.
50111
501122011-12-22 Ulrich Drepper <drepper@gmail.com>
50113
50114 * locale/iso-639.def: Add brx entry.
50115
50116 [BZ #13328]
50117 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50118 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50119
50120 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50121 __feraiseexcept_renamed.
50122
501232011-12-21 Ulrich Drepper <drepper@gmail.com>
50124
50125 [BZ #13538]
50126 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50127 EPOLLET with unsigned values.
50128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50129 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50130
50131 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50132 to large cancellation.
50133 * math/s_cacoshf.c: Likewise.
50134 * math/s_cacoshl.c: Likewise.
50135
501362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50137
50138 [BZ #13305]
50139 [BZ #12786]
50140 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50141 * math/s_cacoshf.c: Likewise.
50142 * math/s_cacoshl.c: Likewise.
50143
501442011-12-21 Ulrich Drepper <drepper@gmail.com>
50145
50146 [BZ #13439]
50147 * iconv/gconv.h: Define __GCONV_SWAP.
50148 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50149 * iconvdata/utf-16.c: Likewise.
50150 * iconvdata/utf-32.c: Likewise.
50151
501522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50153
50154 [BZ #13524]
50155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50156 numerator after shifting it by one limb.
50157
501582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50159
50160 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50161 under [__USE_EXTERN_INLINES].
50162
501632011-12-17 Ulrich Drepper <drepper@gmail.com>
50164
50165 [BZ #13446]
50166 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50167
501682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50169
50170 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50171 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50172 optimized code.
50173 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50174 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50175 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50176 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50177 for strncasecmp/strncasecmp_l compilation.
50178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50179 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50180
501812011-12-08 Marek Polacek <mpolacek@redhat.com>
50182
50183 [BZ #13484]
50184 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50185 of __asm__.
50186
501872011-12-17 Ulrich Drepper <drepper@gmail.com>
50188
50189 [BZ #13506]
50190 * time/tzfile.c (__tzfile_read): Check values from file header.
50191
501922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50193
50194 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50195 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50196 * powerpc/powerpc32/dl-start.S: Likewise.
50197 * powerpc/powerpc32/elf/start.S: Likewise.
50198 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50199 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50200 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50201 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50202 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50203 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50204 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50205 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50206 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50207 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50208 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50209 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50210 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50211 * powerpc/powerpc32/memset.S: Likewise.
50212 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50213 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50214 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50215 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50216 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50217 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50218 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50219 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50220 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50221 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50222 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50225
502262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50227
50228 * math/libm-test.inc: Added more nearbyint tests.
50229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50230 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50231 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50232 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50233
502342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50235
50236 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50237 FD_CLOEXEC.
50238
502392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50240
50241 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50242 Add wcscpy-ssse3 wcscpy-c.
50243 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50244 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50245 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50246 * sysdeps/x86_64/wcschr.S: New file.
50247 * sysdeps/x86_64/wcsrchr.S: New file.
50248 * string/test-strcmp.c: Remove checking of wcscmp function for
50249 wrong alignments.
50250 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50251 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50252 wcsrchr-sse2 wcsrchr-c.
50253 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50254 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50255 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50256 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50257 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50258 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50259 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50260 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50261 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50262 * wcsmbc/wcschr.c (WCSCHR): New macro.
50263
502642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50265
50266 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50267 * wcsmbs/test-wcsrchr.c: New file.
50268 * string/test-strrchr.c: Add wcsrchr support.
50269 (WIDE): New macro.
50270 * wcsmbs/test-wcscpy.c: New file.
50271 * string/test-strcpy.c: Add wcscpy support.
50272 (WIDE): New macro.
50273
502742011-12-10 Ulrich Drepper <drepper@gmail.com>
50275
50276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50277 the inner loop.
50278
502792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50280
50281 [BZ #13472]
50282 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50283
502842011-12-04 Ulrich Drepper <drepper@gmail.com>
50285
50286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50287 Minor optimizations.
50288
50289 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50290 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50291 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50292
502932011-12-03 Ulrich Drepper <drepper@gmail.com>
50294
50295 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50296 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50297 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50298 for gcc to avoid warnings.
50299 * inet/Makefile (tests): Add tst-checks.
50300 * inet/tst-checks.c: New file.
50301
50302 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50303 warning.
50304
50305 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50306 __wmemcmp_sse2.
50307
50308 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50309 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50310
50311 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50312
503132011-12-02 Ulrich Drepper <drepper@gmail.com>
50314
50315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50316 problem.
50317
50318 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50319
503202011-11-29 Joseph Myers <joseph@codesourcery.com>
50321
50322 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50323 conditional on GCC version.
50324 (__arch_compare_and_exchange_val_8_acq)
50325 (__arch_compare_and_exchange_val_16_acq)
50326 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50327 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50328 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50329
503302011-12-02 Joseph Myers <joseph@codesourcery.com>
50331
50332 * sysdeps/sh/backtrace.c: New file.
50333
503342011-12-02 Andreas Schwab <schwab@redhat.com>
50335
50336 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50337 parenthesis.
50338
503392011-12-01 Andreas Schwab <schwab@redhat.com>
50340
50341 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50342 falling back to utime.
50343
503442011-11-30 Andreas Schwab <schwab@redhat.com>
50345
50346 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50347 expectations for float.
50348
503492011-11-29 Andreas Schwab <schwab@redhat.com>
50350
50351 * locale/weight.h (findidx): Add parameter len.
50352 * locale/weightwc.h (findidx): Likewise.
50353 * posix/fnmatch_loop.c (FCT): Adjust caller.
50354 * posix/regcomp.c (build_equiv_class): Likewise.
50355 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50356 * posix/regexec.c (check_node_accept_bytes): Likewise.
50357 * string/strcoll_l.c (STRCOLL): Likewise.
50358 * string/strxfrm_l.c (STRXFRM): Likewise.
50359
503602011-11-17 Ulrich Drepper <drepper@gmail.com>
50361
50362 * Makefile.in: Remove CVSOPT handling.
50363 * configure.in: Remove use of AC_REVISION.
50364 * iconvdata/Makefile (distribute): No need to filter out CVS.
50365 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50366 handling.
50367
503682011-11-16 Andreas Schwab <schwab@redhat.com>
50369
50370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50371 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50372 [USE_AS_STRNCASECMP_L]: Likewise.
50373 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50374 NO_TLS_DIRECT_SEG_REFS.
50375 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50376 Fix argument offsets for non-PIC.
50377 [USE_AS_STRNCASECMP_L]: Likewise.
50378 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50379 NO_TLS_DIRECT_SEG_REFS.
50380
503812011-11-15 Ulrich Drepper <drepper@gmail.com>
50382
50383 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50384 O_CLOEXEC.
50385 * locale/loadlocale.c (_nl_load_locale): Likewise.
50386
503872011-11-15 Andreas Schwab <schwab@redhat.com>
50388
50389 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50390 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50391 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50392 (SYSCALL_GETTIME): Set errno on error.
50393
50394 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50395 count references to noai6ai_cached.
50396
503972011-11-15 Ulrich Drepper <drepper@gmail.com>
50398
50399 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50400
50401 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50402 FD_CLOEXEC for /proc/self/maps.
50403
50404 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50405 FD_CLOEXEC for /proc/meminfo.
50406
50407 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50408 gai.conf.
50409
50410 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50411 FD_CLOEXEC for given file.
50412
50413 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50414
50415 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50416 FD_CLOEXEC for /etc/hosts.
50417 (_gethtent): Likewise.
50418
50419 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50420
50421 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50422 cancellation and set FD_CLOEXEC for /etc/netgroup.
50423
50424 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50425 reading /etc/publickey.
50426
50427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50428 allow cancellation when reading /etc/group.
50429
50430 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50431 cancellation.
50432 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50433
50434 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50435 when using data file.
50436
50437 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50438
50439 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50440 (write_nis_obj): Use "c" and "e" in fopen.
50441
50442 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50443
50444 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50445
50446 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50447
50448 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50449
50450 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50451 locale.alias.
50452
50453 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50454
50455 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50456
50457 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50458
50459 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50460 file parsing and set FD_CLOEXEC.
50461
504622011-11-14 Ulrich Drepper <drepper@gmail.com>
50463
50464 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50465
504662011-11-14 Andreas Schwab <schwab@redhat.com>
50467
50468 * malloc/arena.c (arena_get2): Don't call reused_arena when
50469 _int_new_arena failed.
50470
504712011-11-14 Ulrich Drepper <drepper@gmail.com>
50472
50473 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50474 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50476 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50477 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50479 to compile strcasecmp and strncasecmp.
50480 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50481 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50482
50483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50484
504852011-11-13 Ulrich Drepper <drepper@gmail.com>
50486
50487 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50488 locale-defines.sym to gen-as-const-headers.
50489 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50490 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50492 to compile strcasecmp and strncasecmp.
50493 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50494 strcasecmp_l and strncasecmp_l.
50495 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50496 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50497 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50498 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50499 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50500 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50501 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50502 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50503 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50504 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50505 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50506
505072011-11-12 Ulrich Drepper <drepper@gmail.com>
50508
50509 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50510 result of SYSDEP_GETTIME_CPU to retval.
50511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50512 parameter list to macro. Remove trailing semicolon. Adjust users.
50513
50514 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50515 variable.
50516
50517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50518 mantissa words.
50519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50520
50521 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50522 from unused variable.
50523
50524 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50525 DWARF definitions.
50526 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50527 for assembling.
50528
50529 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50530 over namespaces.
50531
50532 * sunrpc/rpc_prot.c (rejected): Fix case value.
50533
50534 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50535 unsigned long long int to avoid warnings in shift.
50536
50537 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50538 of use of trans.
50539 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50540 variable tmp.
50541
50542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50543 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50544 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50545
50546 * nis/nis_table.c (nis_list): Use variable of correct type for
50547 result of __follow_path call.
50548
505492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50550
50551 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50552 of math functions ceil, trunc, floor, round, and sqrt, when
50553 avaliable on the platform.
50554 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50555 name clash.
50556 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50557 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50558 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50559
505602011-10-30 Marek Polacek <mpolacek@redhat.com>
50561
50562 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50563 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50564
505652011-11-11 Roland McGrath <roland@hack.frob.com>
50566
50567 * include/unistd.h: Fix __readlink return type.
50568 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50569
505702011-11-11 Ulrich Drepper <drepper@gmail.com>
50571
50572 * stdlib/ucontext.h: Undo last change for makecontext.
50573
505742011-11-11 Andreas Schwab <schwab@redhat.com>
50575
50576 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50577
50578 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50579 * setjmp/setjmp.h: Mark functions as non-leaf.
50580 * setjmp/bits/setjmp2.h: Likewise.
50581 * stdlib/ucontext.h: Likewise.
50582
505832011-11-10 Andreas Schwab <schwab@redhat.com>
50584
50585 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50586 (reused_arena): Don't check arena limit.
50587 (arena_get2): Atomically check arena limit.
50588
505892011-11-08 Ulrich Drepper <drepper@gmail.com>
50590
50591 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50592 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50593
50594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50595 instructions.
50596
505972011-11-07 Andreas Schwab <schwab@redhat.com>
50598
50599 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50600 handler when locking.
50601
50602 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50603 Fix size of allocated buffer.
50604
506052011-11-04 Andreas Schwab <schwab@redhat.com>
50606
50607 [BZ #10103]
50608 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50609 declarations for long double functions.
50610 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50611
50612 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50613
506142011-11-03 Andreas Schwab <schwab@redhat.com>
50615
50616 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50617 installed.
50618
50619 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50620 is disabled.
50621
506222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50623
50624 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50625
506262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50627
50628 * include/alloca.h (stackinfo_alloca_round): Define.
50629 (extend_alloca): Use it.
50630 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50631 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50632 here.
50633
50634 * scripts/check-local-headers.sh: Ignore libaudit.h.
50635
50636 * nscd/Makefile (extra-objs): Make recursively expanded.
50637
506382011-11-01 Ulrich Drepper <drepper@gmail.com>
50639
50640 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50641 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50642
50643 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50644 * posix/tst-rfc3484-2.c: Likewise.
50645 * posix/tst-rfc3484-3.c: Likewise.
50646
50647 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50648 process_vm_writev.
50649 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50650 process_vm_writev.
50651 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50652 process_vm_writev from libc using GLIBC_2.15 version.
50653
50654 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50655
506562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50657
50658 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50659 stack usage.
50660
506612011-10-31 Ulrich Drepper <drepper@gmail.com>
50662
50663 [BZ #13367]
50664 * nss/getent.c (initgroups_keys): Show error message in case no group
50665 names are given.
50666
50667 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50668 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50669 __bump_nl_timestamp.
50670 * nscd/connections (nscd_init): When host database is served open
50671 netlink socket and request notification about configuration changes.
50672 (main_loop_poll): Track netlink file descriptor and bump timestamp
50673 in case data becomes available.
50674 (main_loop_epoll): Likewise.
50675 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50676 (database_pers_head): Add extra_data fileds.
50677 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50678 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50679 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50680 Adjust caller.
50681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50682 in6ai data, call __free_in6ai.
50683 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50684 Add -DHAVE_NETLINK.
50685 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50686 interface information. Reuse previous data if netlink timestamp
50687 is not changed.
50688 (__bump_nl_timestamp): New function.
50689 (__free_in6ai): New function.
50690
506912011-10-30 Ulrich Drepper <drepper@gmail.com>
50692
50693 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50694 close_not_cancel_no_status here.
50695 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50696
506972011-10-29 Ulrich Drepper <drepper@gmail.com>
50698
50699 [BZ #13276]
50700 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50701 return value.
50702
50703 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50704 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50705 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50706
507072011-07-03 Andreas Jaeger <aj@suse.de>
50708
50709 [BZ #10709]
50710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50711 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50712 * math/libm-test.inc (sin_test): Add test case.
50713
507142011-10-29 Ulrich Drepper <drepper@gmail.com>
50715
50716 [BZ #13337]
50717 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50718 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50719
50720 * elf/chroot_canon.c (chroot_canon): Cleanups.
50721
50722 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50723
50724 [BZ #13335]
50725 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50726 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50727
50728 * string/test-strchr.c: Make usable for strchrnul testing.
50729 * string/test-strchrnul.c: New file.
50730 * string/Makefile (strop-tests): Add strchrnul.
50731
50732 * po/it.po: Update from translation team.
50733 * po/es.po: Likewise.
50734
507352011-10-28 Ulrich Drepper <drepper@gmail.com>
50736
50737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50738 the three constants needed as parameters. Drop the others.
50739 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50740 __m128i_strloadu_tolower.
50741 Create and initialize variable zero and use it in all the places
50742 where _mm_setzero_si128 was used.
50743
50744 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50745 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50746 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50747 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50748 anymore.
50749 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50750 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50751 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50752 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50753 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50754 __mpranred, __mptan.
50755 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50756 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50757 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50758 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50759 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50760 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50762 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50763 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50764
507652011-10-28 Andreas Schwab <schwab@redhat.com>
50766
50767 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50768 redefine if SHARED.
50769 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50770
50771 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50772 wide char related routines to wcsmbs subdir.
50773
507742011-10-27 Andreas Schwab <schwab@redhat.com>
50775
50776 [BZ #13344]
50777 * misc/sys/cdefs.h (__THROWNL): Define.
50778 * posix/unistd.h: Use __THREADNL instead of __THREAD
50779 for memory synchronization functions.
50780
507812011-10-26 Roland McGrath <roland@hack.frob.com>
50782
50783 [BZ #13349]
50784 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50785 doesn't exist.
50786 * manual/stdio.texi (Obstack Streams): Node removed.
50787
507882011-10-26 Andreas Schwab <schwab@redhat.com>
50789
50790 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50791 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50793
50794 * math/math_private.h (math_force_eval): Allow non-addressable
50795 arguments.
50796 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50797
507982011-10-25 Ulrich Drepper <drepper@gmail.com>
50799
50800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50801 file is not needed.
50802
50803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50805 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50806 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50809 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50810 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50811 Add AVX variants.
50812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50816 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50817 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50818 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50819 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50820 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50821 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50822 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50823 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50824 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50825 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50826 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50827 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50828 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50829 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50830 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50831
50832 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50833 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50834
50835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50836 place. Use VEX encoding when compiling for AVX.
50837
508382011-10-25 Andreas Schwab <schwab@redhat.com>
50839
50840 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50841 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50842
50843 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50844
508452011-10-25 Ulrich Drepper <drepper@gmail.com>
50846
50847 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50848 useless if() expression.
50849 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50850 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50861 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50863 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50864 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50865 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50867 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50868
50869 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50870
508712011-10-25 Andreas Schwab <schwab@redhat.com>
50872
50873 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50874 condition.
50875 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50876
508772011-10-25 Ulrich Drepper <drepper@gmail.com>
50878
50879 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50880 .text section. Avoid duplicate constants.
50881 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50889 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50890 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50891 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50892 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50893 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50894 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50895 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50896 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50897 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50898 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50901 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50902 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50903 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50904 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50905 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50906 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50907 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50908 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50909 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50910 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50911 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50912 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50914 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50915 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50916 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50917 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50919 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50920 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50921 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50922 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50923 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50926
509272011-10-24 Ulrich Drepper <drepper@gmail.com>
50928
50929 * sysdeps/x86_64/dla.h: Move to ...
50930 * sysdeps/x86_64/fpu/dla.h: ...here.
50931 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50932 situations. Use __builtin_fma only for gcc 4.6 and up.
50933
50934 * config.make.in: Add have-mfma4 entry.
50935 * configure.in: Substitute libc_cv_cc_fma4.
50936 * math/Makefile (dbl-only-routines): Add sincostab.
50937 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50938 Use __sincostab not sincos.
50939 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50940 name is a macro.
50941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50945 using __copysign.
50946 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50947 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50948 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50949 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50950 and __inv.
50951 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50952 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50953 __copysign.
50954 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50955 define aliases when function name is a macro.
50956 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50957 sysdeps/ieee754/dbl-64/sincos.tbl.
50958 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50959 fma4-enabled routines.
50960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50961 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50962 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50963 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50964 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50967 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50969 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50970 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50972 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50973 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50974 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50975 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50976 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50977 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50978 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50979 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50980 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50981 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50982 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50983 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50984 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50985 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50986 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50990
50991 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50992 rename.
50993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51001
510022011-10-24 Andreas Schwab <schwab@redhat.com>
51003
51004 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51005
510062011-10-23 Ulrich Drepper <drepper@gmail.com>
51007
51008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51009
51010 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51011 prediction.
51012 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51013
51014 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51015 Remove unused variable magic_bits.
51016 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51017
51018 * string/strnlen.c: Define and use STRNLEN macro.
51019 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51020 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51022 * wcsmbs/wcslen.c: Define and use WCSLEN.
51023 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51024 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51025 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51026 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51027 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51028 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51029 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51030
510312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51032
51033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51034 strnlen-sse2-no-bsf.
51035 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51037 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51038 Add strnlen support.
51039 (USE_AS_STRNLEN): New macro.
51040 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51041 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51042 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51043 * sysdeps/x86_64/wcslen.S: New file.
51044
510452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51046
51047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51048 XMM-moves are used for copying on small sizes.
51049
510502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51051
51052 * wcsmbs/Makefile (strop-tests): Add wcschr.
51053 * wcsmbs/test-wcschr.c: New file.
51054 * string/test-strchr.c: Update.
51055 Add wcschr support.
51056 (WIDE): New macro.
51057
510582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51059
51060 * wcsmbs/Makefile (strop-tests): Add wcslen.
51061 * wcsmbs/test-wcslen.c: New file.
51062 * string/test-strlen.c: Update.
51063 Add wcslen support.
51064 (WIDE): New macro.
51065
510662011-10-23 Ulrich Drepper <drepper@gmail.com>
51067
51068 * po/it.po: Update from translation team.
51069
510702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51071
51072 * sysdeps/x86_64/wcscmp.S: Update.
51073 Fix wrong comparison semantics.
51074 wcscmp shall use signed comparison not unsigned.
51075 Don't use substraction to avoid overflow bug.
51076 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51077 * wcsmbc/wcscmp.c: Likewise.
51078 * string/test-strcmp.c: Likewise.
51079 Add new tests to check cases with negative values.
51080
510812011-10-23 Ulrich Drepper <drepper@gmail.com>
51082
51083 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51084 * sysdeps/x86_64/dla.h: ...here. New file.
51085 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51094
510952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51096
51097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51098 __ynl_finite aliases.
51099
511002011-10-22 Ulrich Drepper <drepper@gmail.com>
51101
51102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51103
51104 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51105 define DLA_FMA.
51106 [DLA_FMA] (EMULV): Use DLA_FMA.
51107 [DLA_FMA] (MUL12): Use EMULV.
51108 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51109 that are not needed.
51110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51117
511182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51119
51120 * math/s_nan.c: Undef __nan.
51121 * math/s_nanf.c: Undef __nanf.
51122 * math/s_nanl.c: Undef __nanl.
51123 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51124 "math_private.h".
51125
511262011-10-22 Ulrich Drepper <drepper@gmail.com>
51127
51128 * math/s_catan.c: Add branch predictions.
51129 * math/s_catanf.c: Likewise.
51130 * math/s_catanh.c: Likewise.
51131 * math/s_catanhf.c: Likewise.
51132 * math/s_catanhl.c: Likewise.
51133 * math/s_catanl.c: Likewise.
51134 * math/s_cexp.c: Likewise.
51135 * math/s_cexpf.c: Likewise.
51136 * math/s_cexpl.c: Likewise.
51137 * math/s_clog.c: Likewise.
51138 * math/s_clog10.c: Likewise.
51139 * math/s_clog10f.c: Likewise.
51140 * math/s_clog10l.c: Likewise.
51141 * math/s_clogf.c: Likewise.
51142 * math/s_clogl.c: Likewise.
51143 * math/s_csqrt.c: Likewise.
51144 * math/s_csqrtf.c: Likewise.
51145 * math/s_csqrtl.c: Likewise.
51146 * math/s_ctanf.c: Likewise.
51147 * math/s_ctanh.c: Likewise.
51148 * math/s_ctanhf.c: Likewise.
51149 * math/s_ctanhl.c: Likewise.
51150 * math/s_ctanl.c: Likewise.
51151
51152 * math/math_private.h: Define __nan, __nanf, __nanl.
51153 * math/s_cacosh.c: Include <math_private.h>.
51154 * math/s_cacoshl.c: Likewise.
51155 * math/s_casinh.c: Likewise.
51156 * math/s_casinhf.c: Likewise.
51157 * math/s_casinhl.c: Likewise.
51158 * math/s_ccos.c: Rely entire on ccosh.
51159 * math/s_ccosf.c: Rely entire on ccoshf.
51160 * math/s_ccosl.c: Rely entirely on ccoshl.
51161 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51162 Remove tests for FE_INVALID.
51163 * math/s_ccoshf.c: Likewise.
51164 * math/s_ccoshl.c: Likewise.
51165 * math/s_csin.c: Likewise.
51166 * math/s_csinf.c: Likewise.
51167 * math/s_csinh.c Likewise.
51168 * math/s_csinhf.c: Likewise.
51169 * math/s_csinhl.c: Likewise.
51170 * math/s_csinl.c: Likewise.
51171 * math/s_ctan.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51173 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51175
511762011-10-21 Ulrich Drepper <drepper@gmail.com>
51177
51178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51179 compilation problems.
51180
51181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51182 __builtin_expect.
51183
511842011-10-20 Ulrich Drepper <drepper@gmail.com>
51185
51186 * sysdeps/i386/configure.in: Test for -mfma4 option.
51187 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51188 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51189 COMMON_CPUID_INDEX_80000001.
51190 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51191 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51192 use it if FMA3 is not supported.
51193 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51194
51195 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51196 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51197
511982011-10-20 Andreas Schwab <schwab@redhat.com>
51199
51200 [BZ #12892]
51201 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51202 it would create a cycle with a link time dependency.
51203
512042011-10-19 Ulrich Drepper <drepper@gmail.com>
51205
51206 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51207 instruction.
51208 * string/Makefile (strop-tests): Add rawmemchr.
51209 * string/test-rawmemchr.c: New file.
51210
51211 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51212 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51213 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51214 when compiling str{,n}casecmp and when AVX is available. Hook up
51215 new optimized code in initializers.
51216
512172011-10-19 Andreas Schwab <schwab@redhat.com>
51218
51219 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51220 __feraiseexcept instead of feraiseexcept.
51221
512222011-10-18 Ulrich Drepper <drepper@gmail.com>
51223
51224 * math/math_private.h: Define defaults for libc_fetestexcept and
51225 libc_feupdateenv.
51226 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51227 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51228 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51229 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51231 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51232 libc_fetestexcept and libc_feupdateenv.
51233
51234 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51235 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51236 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51237 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51238 libc_feholdexcept_setround.
51239
51240 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51241 Add s_nearbyint-c and s_nearbyintf-c.
51242 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51243 nearbyintf inlines.
51244 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51245 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51246 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51247 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51248
51249 * math/math_private.h: Define defaults for libc_fegetround,
51250 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51251 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51252 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51254 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51255 standard functions.
51256 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51257 Remove comments and hacks for old compiler versions.
51258 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51259 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51260 libc_feholdexceptl.
51261
512622011-10-18 Andreas Schwab <schwab@redhat.com>
51263
51264 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51265 (__feraiseexcept_renamed): Add __NTH.
51266 (feraiseexcept): Add __NTH. Rename local variables to fix
51267 namespace violations.
51268
512692011-10-17 Ulrich Drepper <drepper@gmail.com>
51270
51271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51272
51273 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51274
51275 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51276 recently added interfaces.
51277 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51278
51279 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51280 about macro parameter expansion.
51281
51282 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51283 __NO_MATH_INLINES is defined. Cleanups.
51284
51285 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51286 and __floorf is target has SSE4.1.
51287 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51288 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51289 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51290 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51291
51292 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51293 name.
51294 (floorf): Likewise.
51295
51296 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51297
512982011-10-17 Andreas Schwab <schwab@redhat.com>
51299
51300 * misc/sys/cdefs.h: Fix last change.
51301
51302 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51303 database lookup.
51304
513052011-10-16 Ulrich Drepper <drepper@gmail.com>
51306
51307 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51308
51309 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51310 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51311 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51315 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51316 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51317 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51318 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51319 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51320 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51321 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51322 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51323 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51324 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51325 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51326 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51327 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51328 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51329 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51330 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51331
51332 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51333 ceil, ceilf, floor, floorf.
51334
51335 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51336 Perform IRELATIVE relocations last.
51337
51338 * elf/do-rel.h: Add another parameter nrelative, replacing the
51339 local variable with the same name. Change name of the function
51340 to end in Rel or Rela (uppercase).
51341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51342 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51343 elf_dynamic_do_##reloc function.
51344
513452011-10-15 Ulrich Drepper <drepper@gmail.com>
51346
51347 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51348 is sufficient, at least on modern CPUs.
51349
51350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51351
51352 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51353 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51354
51355 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51356 __expl_finite.
51357 * math/bits/math-finite.h: Add entries for exp.
51358 * math/e_expl.c: Add __*_finite alias.
51359 * sysdeps/i386/fpu/e_exp.S: Likewise.
51360 * sysdeps/i386/fpu/e_expf.S: Likewise.
51361 * sysdeps/i386/fpu/e_expl.c: Likewise.
51362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51364 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51366 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51369
51370 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51371 is sufficient, at least on modern CPUs.
51372
51373 * ctype/ctype-info.c (__ctype_init): Define.
51374 * include/ctype.h (__ctype_init): Declare.
51375 (__ctype_b_loc): The variable is always initialized.
51376 (__ctype_toupper_loc): Likewise.
51377 (__ctype_tolower_loc): Likewise.
51378 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51379 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51380
513812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51382
51383 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51384
51385 * configure.in: Also look in $cxxmachine/include for C++ system
51386 headers.
51387
513882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51389
51390 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51391 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51392 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51393 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51394 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51395 (USE_AS_WMEMCMP): New macro.
51396 Fixing indents.
51397 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51398 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51399 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51400 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51402 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51403 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51404 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51405 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51406 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51407 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51408 (USE_AS_WMEMCMP): New macro.
51409 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51410 * sysdeps/string/test-memcmp.c: Update.
51411 Fix simple_wmemcmp.
51412 Add new tests.
51413 * wcsmbs/wmemcmp.c: Update.
51414 (WMEMCMP): New macro.
51415 Fix overflow bug.
51416
514172011-10-12 Andreas Jaeger <aj@suse.de>
51418
51419 [BZ #13268]
51420 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51421
514222011-10-15 Ulrich Drepper <drepper@gmail.com>
51423
51424 * libio/iofwide.c (do_length): Avoid warning.
51425
51426 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51427
514282011-10-14 Ulrich Drepper <drepper@gmail.com>
51429
51430 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51431
51432 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51433 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51434 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51435 * sysdeps/i386/i686/fpu/e_log.S: New file.
51436 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51437 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51438
51439 * ctype/ctype.h: Add support for inlined isXXX functions when
51440 compiling C++ code.
51441
514422011-10-14 Andreas Schwab <schwab@redhat.com>
51443
51444 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51445
51446 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51447
514482011-10-13 Roland McGrath <roland@hack.frob.com>
51449
51450 [BZ #13291]
51451 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51452
514532011-10-13 Andreas Schwab <schwab@redhat.com>
51454
51455 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51456 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51457 feraiseexcept.
51458
51459 * sysdeps/x86_64/memrchr.S: Check for zero size.
51460
51461 * string/stratcliff.c: Add memrchr tests.
51462
514632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51464
51465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51466 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51467 rawmemchr-sse2 rawmemchr-sse2-bsf.
51468 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51469 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51470 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51471 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51472 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51473 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51474 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51475 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51476 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51477 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51478 * string/memrchr.c (MEMRCHR): New macro.
51479
514802011-10-12 Ulrich Drepper <drepper@gmail.com>
51481
51482 Add integration with gcc's -ffinite-math-only and optimize wrapper
51483 functions in libm.
51484 * Versions.def: Define GLIBC_2.15 version for libm.
51485 * math/Makefile (headers): Add bits/math-finite.h.
51486 * math/bits/math-finite.h: New file.
51487 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51488 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51489 * math/e_acoshl.c: Add __*_finite alias.
51490 * math/e_acosl.c: Likewise.
51491 * math/e_asinl.c: Likewise.
51492 * math/e_atan2l.c: Likewise.
51493 * math/e_atanhl.c: Likewise.
51494 * math/e_coshl.c: Likewise.
51495 * math/e_exp10.c: Likewise.
51496 * math/e_exp10f.c: Likewise.
51497 * math/e_exp10l.c: Likewise.
51498 * math/e_exp2l.c: Likewise.
51499 * math/e_fmodl.c: Likewise.
51500 * math/e_gammal_r.c: Likewise.
51501 * math/e_hypotl.c: Likewise.
51502 * math/e_j0l.c: Likewise.
51503 * math/e_j1l.c: Likewise.
51504 * math/e_jnl.c: Likewise.
51505 * math/e_lgammal_r.c: Likewise.
51506 * math/e_log10l.c: Likewise.
51507 * math/e_log2l.c: Likewise.
51508 * math/e_logl.c: Likewise.
51509 * math/e_powl.c: Likewise.
51510 * math/e_sinhl.c: Likewise.
51511 * math/e_sqrtl.c: Likewise.
51512 * math/e_scalb.c: Completely rewritten and optimized.
51513 * math/e_scalbf.c: Likewise.
51514 * math/e_scalbl.c: Likewise.
51515 * math/w_acos.c: Likewise.
51516 * math/w_acosf.c: Likewise.
51517 * math/w_acosl.c: Likewise.
51518 * math/w_acosh.c: Likewise.
51519 * math/w_acoshf.c: Likewise.
51520 * math/w_acoshl.c: Likewise.
51521 * math/w_asin.c: Likewise.
51522 * math/w_asinf.c: Likewise.
51523 * math/w_asinl.c: Likewise.
51524 * math/w_atan2.c: Likewise.
51525 * math/w_atan2f.c: Likewise.
51526 * math/w_atan2l.c: Likewise.
51527 * math/w_atanh.c: Likewise.
51528 * math/w_atanhf.c: Likewise.
51529 * math/w_atanhl.c: Likewise.
51530 * math/w_exp10.c: Likewise.
51531 * math/w_exp10f.c: Likewise.
51532 * math/w_exp10l.c: Likewise.
51533 * math/w_fmod.c: Likewise.
51534 * math/w_fmodf.c: Likewise.
51535 * math/w_fmodl.c: Likewise.
51536 * math/w_j0.c: Likewise.
51537 * math/w_j0f.c: Likewise.
51538 * math/w_j0l.c: Likewise.
51539 * math/w_j1.c: Likewise.
51540 * math/w_j1f.c: Likewise.
51541 * math/w_j1l.c: Likewise.
51542 * math/w_jn.c: Likewise.
51543 * math/w_jnf.c: Likewise.
51544 * math/w_log.c: Likewise.
51545 * math/w_logf.c: Likewise.
51546 * math/w_logl.c: Likewise.
51547 * math/w_log10.c: Likewise.
51548 * math/w_log10f.c: Likewise.
51549 * math/w_log10l.c: Likewise.
51550 * math/w_log2.c: Likewise.
51551 * math/w_log2f.c: Likewise.
51552 * math/w_log2l.c: Likewise.
51553 * math/w_pow.c: Likewise.
51554 * math/w_powf.c: Likewise.
51555 * math/w_powl.c: Likewise.
51556 * math/w_remainder.c: Likewise.
51557 * math/w_remainderf.c: Likewise.
51558 * math/w_remainderl.c: Likewise.
51559 * math/w_scalb.c: Likewise.
51560 * math/w_scalbf.c: Likewise.
51561 * math/w_scalbl.c: Likewise.
51562 * math/w_sqrt.c: Likewise.
51563 * math/w_sqrtf.c: Likewise.
51564 * math/w_sqrtl.c: Likewise.
51565 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51566 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51567 used.
51568 * math/math_private.h: Declare __kernel_standard_f.
51569 * math/w_cosh.c: Remove cruft and optimize a bit.
51570 * math/w_coshf.c: Likewise.
51571 * math/w_coshl.c: Likewise.
51572 * math/w_exp2.c: Likewise.
51573 * math/w_exp2f.c: Likewise.
51574 * math/w_exp2l.c: Likewise.
51575 * math/w_hypot.c: Likewise.
51576 * math/w_hypotf.c: Likewise.
51577 * math/w_hypotl.c: Likewise.
51578 * math/w_lgamma.c: Likewise.
51579 * math/w_lgamma_r.c: Likewise.
51580 * math/w_lgammaf.c: Likewise.
51581 * math/w_lgammaf_r.c: Likewise.
51582 * math/w_lgammal.c: Likewise.
51583 * math/w_lgammal_r.c: Likewise.
51584 * math/w_sinh.c: Likewise.
51585 * math/w_sinhf.c: Likewise.
51586 * math/w_sinhl.c: Likewise.
51587 * math/w_tgamma.c: Likewise.
51588 * math/w_tgammaf.c: Likewise.
51589 * math/w_tgammal.c: Likewise.
51590 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51591 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51592 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51593 Minor optimizations. Pretty printing. Remove cruft.
51594 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51597 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51598 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51599 * sysdeps/i386/fpu/e_asin.S: Likewise.
51600 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51601 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51602 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51603 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51604 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51605 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51607 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51608 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51609 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51610 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51611 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51612 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51613 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51614 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51615 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51616 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51617 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51618 * sysdeps/i386/fpu/e_log.S: Likewise.
51619 * sysdeps/i386/fpu/e_log10.S: Likewise.
51620 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51621 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51622 * sysdeps/i386/fpu/e_log2.S: Likewise.
51623 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51624 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51625 * sysdeps/i386/fpu/e_logf.S: Likewise.
51626 * sysdeps/i386/fpu/e_logl.S: Likewise.
51627 * sysdeps/i386/fpu/e_pow.S: Likewise.
51628 * sysdeps/i386/fpu/e_powf.S: Likewise.
51629 * sysdeps/i386/fpu/e_powl.S: Likewise.
51630 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51631 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51632 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51633 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51634 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51635 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51636 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51637 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51638 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51639 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51640 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51642 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51644 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51645 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51646 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51647 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51649 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51659 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51660 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51661 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51662 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51663 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51664 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51665 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51666 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51667 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51668 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51669 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51670 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51673 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51674 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51675 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51676 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51677 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51678 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51679 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51680 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51681 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51683 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51684 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51685 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51686 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51687 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51688 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51699 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51700 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51703 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51704 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51707 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51710 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51711 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51712 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51713 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51715 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51723 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51724 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51725 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51726 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51727 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51728 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51729 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51730 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51732 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51733 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51734 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51735 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51736 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51737 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51738 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51739 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51740 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51741 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51742 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51744 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51745 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51747 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51748 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51749 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51750 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51751 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51752 (__isnanf): Likewise.
51753 (__isinf_ns): Likewise.
51754 (__isinf_nsf): Likewise.
51755 (__finite): Likewise.
51756 (__finitef): Likewise.
51757 (__ieee754_sqrt): Define as macro.
51758 (__ieee754_sqrtf): Define as macro.
51759 (__ieee754_sqrtl): Define as macro.
51760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51761 inlined copy.
51762 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51763 __FINITE_MATH_ONLY__ consistent.
51764 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51765
517662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51767
51768 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51769 of rawmemchr.
51770
51771 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51772
517732011-10-09 Ulrich Drepper <drepper@gmail.com>
51774
51775 * po/ja.po: Update from translation team.
51776
517772011-10-08 Roland McGrath <roland@hack.frob.com>
51778
51779 * locale/programs/locarchive.c (prepare_address_space): New function.
51780 (create_archive, enlarge_archive, open_archive): Use it.
51781
51782 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51783 inside [SHARED], where it is used.
51784
51785 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51786
51787 * nss/getent.c (netgroup_keys): Remove unused variable.
51788 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51789
517902011-10-08 Ulrich Drepper <drepper@gmail.com>
51791
51792 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51793 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51796 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51797 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51798 * math/Makefile (libm-calls): Add s_isinf_ns.
51799 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51800 * math/multc3.c: Likewise.
51801 * math/s_casin.c: Likewise.
51802 * math/s_casinf.c: Likewise.
51803 * math/s_casinl.c: Likewise.
51804 * math/s_ccos.c: Likewise.
51805 * math/s_ccosf.c: Likewise.
51806 * math/s_ccosl.c: Likewise.
51807 * math/s_ctan.c: Likewise.
51808 * math/s_ctanf.c: Likewise.
51809 * math/s_ctanh.c: Likewise.
51810 * math/s_ctanhf.c: Likewise.
51811 * math/s_ctanhl.c: Likewise.
51812 * math/s_ctanl.c: Likewise.
51813 * math/w_fmod.c: Likewise.
51814 * math/w_fmodf.c: Likewise.
51815 * math/w_fmodl.c: Likewise.
51816 * math/w_remainder.c: Likewise.
51817 * math/w_remainderf.c: Likewise.
51818 * math/w_remainderl.c: Likewise.
51819 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51820 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51821 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51822 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51823 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51824 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51825 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51826 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51827
51828 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51829 of the number.
51830 * stdio-common/printf_fphex.c: Likewise.
51831 * stdio-common/printf_size.c: Likewise.
51832
51833 * math/e_exp10.c: Include math_private.h using <...> not "...".
51834 * math/e_exp10f.c: Likewise.
51835 * math/e_exp10l.c: Likewise.
51836 * math/e_exp2l.c: Likewise.
51837 * math/e_j0l.c: Likewise.
51838 * math/e_j1l.c: Likewise.
51839 * math/e_jnl.c: Likewise.
51840 * math/e_lgammal_r.c: Likewise.
51841 * math/e_rem_pio2l.c: Likewise.
51842 * math/e_scalb.c: Likewise.
51843 * math/e_scalbf.c: Likewise.
51844 * math/e_scalbl.c: Likewise.
51845 * math/k_cosl.c: Likewise.
51846 * math/k_sinl.c: Likewise.
51847 * math/k_tanl.c: Likewise.
51848 * math/s_cacoshf.c: Likewise.
51849 * math/s_catan.c: Likewise.
51850 * math/s_catanf.c: Likewise.
51851 * math/s_catanh.c: Likewise.
51852 * math/s_catanhf.c: Likewise.
51853 * math/s_catanhl.c: Likewise.
51854 * math/s_catanl.c: Likewise.
51855 * math/s_ccosh.c: Likewise.
51856 * math/s_ccoshf.c: Likewise.
51857 * math/s_ccoshl.c: Likewise.
51858 * math/s_cexp.c: Likewise.
51859 * math/s_cexpf.c: Likewise.
51860 * math/s_cexpl.c: Likewise.
51861 * math/s_clog.c: Likewise.
51862 * math/s_clog10.c: Likewise.
51863 * math/s_clog10f.c: Likewise.
51864 * math/s_clog10l.c: Likewise.
51865 * math/s_clogf.c: Likewise.
51866 * math/s_clogl.c: Likewise.
51867 * math/s_csin.c: Likewise.
51868 * math/s_csinf.c: Likewise.
51869 * math/s_csinh.c: Likewise.
51870 * math/s_csinhf.c: Likewise.
51871 * math/s_csinhl.c: Likewise.
51872 * math/s_csinl.c: Likewise.
51873 * math/s_csqrt.c: Likewise.
51874 * math/s_csqrtf.c: Likewise.
51875 * math/s_csqrtl.c: Likewise.
51876 * math/s_ctan.c: Likewise.
51877 * math/s_ctanf.c: Likewise.
51878 * math/s_ctanh.c: Likewise.
51879 * math/s_ctanhf.c: Likewise.
51880 * math/s_ctanhl.c: Likewise.
51881 * math/s_ctanl.c: Likewise.
51882 * math/s_ldexp.c: Likewise.
51883 * math/s_ldexpf.c: Likewise.
51884 * math/s_ldexpl.c: Likewise.
51885 * math/s_significand.c: Likewise.
51886 * math/s_significandf.c: Likewise.
51887 * math/s_significandl.c: Likewise.
51888 * math/w_acos.c: Likewise.
51889 * math/w_acosf.c: Likewise.
51890 * math/w_acosh.c: Likewise.
51891 * math/w_acoshf.c: Likewise.
51892 * math/w_acoshl.c: Likewise.
51893 * math/w_acosl.c: Likewise.
51894 * math/w_asin.c: Likewise.
51895 * math/w_asinf.c: Likewise.
51896 * math/w_asinl.c: Likewise.
51897 * math/w_atan2.c: Likewise.
51898 * math/w_atan2f.c: Likewise.
51899 * math/w_atan2l.c: Likewise.
51900 * math/w_atanh.c: Likewise.
51901 * math/w_atanhf.c: Likewise.
51902 * math/w_atanhl.c: Likewise.
51903 * math/w_cosh.c: Likewise.
51904 * math/w_coshf.c: Likewise.
51905 * math/w_coshl.c: Likewise.
51906 * math/w_dremf.c: Likewise.
51907 * math/w_exp10.c: Likewise.
51908 * math/w_exp10f.c: Likewise.
51909 * math/w_exp10l.c: Likewise.
51910 * math/w_exp2.c: Likewise.
51911 * math/w_exp2f.c: Likewise.
51912 * math/w_fmod.c: Likewise.
51913 * math/w_fmodf.c: Likewise.
51914 * math/w_fmodl.c: Likewise.
51915 * math/w_hypot.c: Likewise.
51916 * math/w_hypotf.c: Likewise.
51917 * math/w_hypotl.c: Likewise.
51918 * math/w_j0.c: Likewise.
51919 * math/w_j0f.c: Likewise.
51920 * math/w_j0l.c: Likewise.
51921 * math/w_j1.c: Likewise.
51922 * math/w_j1f.c: Likewise.
51923 * math/w_j1l.c: Likewise.
51924 * math/w_jn.c: Likewise.
51925 * math/w_jnf.c: Likewise.
51926 * math/w_jnl.c: Likewise.
51927 * math/w_lgamma.c: Likewise.
51928 * math/w_lgamma_r.c: Likewise.
51929 * math/w_lgammaf.c: Likewise.
51930 * math/w_lgammaf_r.c: Likewise.
51931 * math/w_lgammal.c: Likewise.
51932 * math/w_lgammal_r.c: Likewise.
51933 * math/w_log.c: Likewise.
51934 * math/w_log10.c: Likewise.
51935 * math/w_log10f.c: Likewise.
51936 * math/w_log10l.c: Likewise.
51937 * math/w_log2.c: Likewise.
51938 * math/w_log2f.c: Likewise.
51939 * math/w_log2l.c: Likewise.
51940 * math/w_logf.c: Likewise.
51941 * math/w_logl.c: Likewise.
51942 * math/w_pow.c: Likewise.
51943 * math/w_powf.c: Likewise.
51944 * math/w_powl.c: Likewise.
51945 * math/w_remainder.c: Likewise.
51946 * math/w_remainderf.c: Likewise.
51947 * math/w_remainderl.c: Likewise.
51948 * math/w_scalb.c: Likewise.
51949 * math/w_scalbf.c: Likewise.
51950 * math/w_scalbl.c: Likewise.
51951 * math/w_sinh.c: Likewise.
51952 * math/w_sinhf.c: Likewise.
51953 * math/w_sinhl.c: Likewise.
51954 * math/w_sqrt.c: Likewise.
51955 * math/w_sqrtf.c: Likewise.
51956 * math/w_sqrtl.c: Likewise.
51957 * math/w_tgamma.c: Likewise.
51958 * math/w_tgammaf.c: Likewise.
51959 * math/w_tgammal.c: Likewise.
51960
51961 * po/ja.po: Update from translation team.
51962
519632011-09-29 Andreas Jaeger <aj@suse.de>
51964
51965 [BZ #13179]
51966 * sunrpc/netname.c (netname2host): Fix logic.
51967
51968 [BZ #6779]
51969 [BZ #6783]
51970 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51971 correctly.
51972 * math/w_remainder.c (__remainder): Likewise.
51973 * math/w_remainderf.c (__remainderf): Likewise.
51974 * math/libm-test.inc (remainder_test): Add test cases.
51975
519762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51977
51978 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51979 sdiv_qrnnd.
51980
519812011-10-07 Ulrich Drepper <drepper@gmail.com>
51982
51983 * string/test-memcmp.c: Avoid unncessary #defines.
51984 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51985
519862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51987
51988 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51989 Use new sse2 version for core i3 - i7 as it's faster
51990 than sse42 version.
51991 (bit_Prefer_PMINUB_for_stringop): New.
51992 * sysdeps/x86_64/rawmemchr.S: Update.
51993 Replace with faster SSE2 version.
51994 * sysdeps/x86_64/memrchr.S: New file.
51995 * sysdeps/x86_64/memchr.S: Update.
51996 Replace with faster SSE2 version.
51997
519982011-09-12 Marek Polacek <mpolacek@redhat.com>
51999
52000 * elf/dl-load.c (lose): Add cast to avoid warning.
52001
520022011-10-07 Ulrich Drepper <drepper@gmail.com>
52003
52004 * po/ca.po: Update from translation team.
52005
52006 * inet/getnetgrent_r.c: Hook up nscd.
52007 * nscd/Makefile (routines): Add nscd_netgroup.
52008 (nscd-modules): Add netgroupcache.
52009 (CFLAGS-netgroupcache.c): Define.
52010 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52011 (cache_search): Add const to second parameter.
52012 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52013 INNETGR.
52014 (dbs): Add netgrdb entry.
52015 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52016 (verify_persistent_db): Handle netgrdb.
52017 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52018 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52019 GETFDNETGR.
52020 (netgroup_response_header): Define.
52021 (innetgroup_response_header): Define.
52022 (datahead): Add netgroup_response_header and innetgroup_response_header
52023 elements.
52024 * nscd/nscd.conf: Add entries for netgroup cache.
52025 * nscd/nscd.h (dbtype): Add netgrdb.
52026 (_PATH_NSCD_NETGROUP_DB): Define.
52027 (netgroup_iov_disabled): Declare.
52028 (xmalloc, xcalloc, xrealloc): Move declarations here.
52029 (cache_search): Adjust prototype.
52030 Add netgroup-related prototypes.
52031 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52032 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52033 (__nscd_innetgr): Declare.
52034 * nscd/selinux.c (perms): Use access_vector_t as element type and
52035 add netgroup-related initializers.
52036 * nscd/netgroupcache.c: New file.
52037 * nscd/nscd_netgroup.c: New file.
52038 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52039 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52040 For four parameters use innetgr.
52041 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52042 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52043 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52044 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52045
52046 * nscd/connections.c (register_traced_file): Don't register file
52047 for disabled databases.
52048
520492011-10-06 Ulrich Drepper <drepper@gmail.com>
52050
52051 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52052
52053 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52054 from tree and freeing node.
52055
520562011-09-25 Jiri Olsa <jolsa@redhat.com>
52057
52058 * nss/nsswitch.c (__nss_database_lookup): Handle
52059 nss_parse_service_list out of memory case.
52060
520612011-09-15 Jiri Olsa <jolsa@redhat.com>
52062
52063 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52064 out of memory case.
52065
520662011-10-04 Andreas Schwab <schwab@redhat.com>
52067
52068 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52069 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52070 pass it down.
52071 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52072 elf_machine_rela, elf_machine_lazy_rel.
52073 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52074 (ELF_DYNAMIC_DO_REL): Likewise.
52075 (ELF_DYNAMIC_DO_RELA): Likewise.
52076 (ELF_DYNAMIC_RELOCATE): Likewise.
52077 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52078 to ELF_DYNAMIC_DO_REL.
52079 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52080 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52081 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52082 elf_machine_rela.
52083 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52084 skip_ifunc, don't call ifunc function if non-zero.
52085 (elf_machine_rela): Likewise.
52086 (elf_machine_lazy_rel): Likewise.
52087 (elf_machine_lazy_rela): Likewise.
52088 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52089 (elf_machine_lazy_rel): Likewise.
52090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52091 Likewise.
52092 (elf_machine_lazy_rel): Likewise.
52093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52094 Likewise.
52095 (elf_machine_lazy_rel): Likewise.
52096 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52097 (elf_machine_lazy_rel): Likewise.
52098 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52099 (elf_machine_lazy_rel): Likewise.
52100 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52101 (elf_machine_lazy_rel): Likewise.
52102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52103 (elf_machine_lazy_rel): Likewise.
52104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52105 (elf_machine_lazy_rel): Likewise.
52106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52107 (elf_machine_lazy_rel): Likewise.
52108
521092011-09-28 Ulrich Drepper <drepper@gmail.com>
52110
52111 * nss/nss_files/files-init.c (_nss_files_init): Use static
52112 initialization for all the *_traced_file variables.
52113
521142011-09-28 Andreas Schwab <schwab@redhat.com>
52115
52116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52117
521182011-09-27 Roland McGrath <roland@hack.frob.com>
52119
52120 [BZ #13226]
52121 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52122
521232011-09-27 Andreas Schwab <schwab@redhat.com>
52124
52125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52126 Reread the line before reparsing it.
52127
521282011-09-26 Andreas Schwab <schwab@redhat.com>
52129
52130 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52131
521322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52133 Maxim Kuvyrkov <maxim@codesourcery.com>
52134 Joseph Myers <joseph@codesourcery.com>
52135
52136 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52137 if needed for __stack_chk_guard.
52138
521392011-09-19 Roland McGrath <roland@hack.frob.com>
52140
52141 * sysdeps/posix/spawni.c (script_execute): Always define it.
52142 It will be optimized away if unused.
52143 (maybe_script_execute): New function.
52144 (__spawni): Call it.
52145
52146 * Makerules: Don't include tls.make.
52147 (config-tls): Always set to thread.
52148 * tls.make.c: File removed.
52149
521502011-09-19 Mike Frysinger <vapier@gentoo.org>
52151
52152 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52153 * config.make.in (CPPFLAGS-config): New substituted variable.
52154
521552011-09-15 Ulrich Drepper <drepper@gmail.com>
52156
52157 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52158
52159 [BZ #13192]
52160 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52161 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52162
521632011-09-15 Roland McGrath <roland@hack.frob.com>
52164
52165 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52166 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52168 (CALL_FAIL): Likewise.
52169 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52170 (CALL_FAIL): Macro removed.
52171 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52172
521732011-09-15 Ulrich Drepper <drepper@gmail.com>
52174
52175 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52176 for __FINITE_MATH_ONLY__ == 1.
52177
521782011-09-15 Andreas Schwab <schwab@redhat.com>
52179
52180 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52181 __ieee754_sqrt instead of sqrt.
52182 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52183 __ieee754_sqrtf instead of sqrtf.
52184 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52185 __floorf instead of floorf.
52186 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52187 __floorf, __truncf instead of floorf, truncf.
52188
521892011-09-14 Ulrich Drepper <drepper@gmail.com>
52190
52191 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52192
52193 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52194 __extern_always_inline.
52195 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52196 32-bit.
52197
521982011-09-14 Andreas Schwab <schwab@redhat.com>
52199
52200 * elf/rtld.c (dl_main): Also relocate in dependency order when
52201 doing symbol dependency testing.
52202
522032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52204
52205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52206 Always define `refsym'.
52207
522082011-09-13 Andreas Schwab <schwab@redhat.com>
52209
52210 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52211 (__FD_ELT): Renamed from __FDELT.
52212 * misc/bits/select2.h (__FD_ELT): Likewise.
52213 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52214 __FD_MASK instead of __FDELT, __FDMASK.
52215 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52216 Likewise.
52217 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52218 Likewise.
52219
52220 * elf/Makefile (gen-ldd): Fix pattern.
52221
52222 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52223 (init_tls): Likewise.
52224
522252011-09-12 Ulrich Drepper <drepper@gmail.com>
52226
52227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52228
522292011-09-12 Andreas Schwab <schwab@redhat.com>
52230
52231 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52232 `struct cmsghdr *' instead of `void *'.
52233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52234 Likewise.
52235
522362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52237
52238 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52239 if non-absolute.
52240 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52241 ldd_rewrite_script.
52242
522432011-09-11 Ulrich Drepper <drepper@gmail.com>
52244
52245 * configure.in: Remove --with-tls option.
52246 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52247 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52248 out in case it is missing.
52249 * sysdeps/ia64/elf/configure.in: Likewise.
52250 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52251 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52252 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52253 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52254 * sysdeps/sh/elf/configure.in: Likewise.
52255 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52256 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52257 * sysdeps/x86_64/elf/configure.in: Likewise.
52258 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52259 * sysdeps/mach/hurd/tls.h: Likewise.
52260
52261 [BZ #13067]
52262 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52263
52264 [BZ #13090]
52265 * configure.in: Fix use of AC_INIT.
52266
52267 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52268
522692011-09-10 Ulrich Drepper <drepper@gmail.com>
52270
52271 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52272 __set_errno.
52273 * malloc/hooks.c: Likewise.
52274
52275 [BZ #11929]
52276 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52277 variables statically.
52278 (narenas): Initialize.
52279 (list_lock): Initialize.
52280 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52281 initializtion of main_arena and list_lock. Small cleanups.
52282 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52283 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52284 Add initializers to main_arena and mp_.
52285 (malloc_state): Remove pagesize member. Change all users to use
52286 GLRO(dl_pagesize).
52287
52288 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52289 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52290 is always initialized.
52291
52292 * malloc/malloc.c: Removed unused configurations and dead code.
52293 * malloc/arena.c: Likewise.
52294 * malloc/hooks.c: Likewise.
52295 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52296
52297 * include/tls.h: Removed. USE___THREAD must always be defined.
52298 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52299 * elf/dl-libc.c: Likewise.
52300 * elf/dl-tsd.c: Likewise.
52301 * include/errno.h: Likewise.
52302 * include/netdb.h: Likewise.
52303 * include/resolv.h: Likewise.
52304 * inet/herrno-loc.c: Likewise.
52305 * inet/herrno.c: Likewise.
52306 * malloc/arena.c: Likewise.
52307 * malloc/hooks.c: Likewise.
52308 * malloc/malloc.c: Likewise.
52309 * resolv/res-state.c: Likewise.
52310 * resolv/res_libc.c: Likewise.
52311 * sysdeps/i386/dl-machine.h: Likewise.
52312 * sysdeps/ia64/dl-machine.h: Likewise.
52313 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52314 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52315 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52316 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52317 * sysdeps/sh/dl-machine.h: Likewise.
52318 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52319 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52320 * sysdeps/unix/i386/sysdep.S: Likewise.
52321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52322 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52324 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52325 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52326 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52327 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52331 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52332 * sysdeps/x86_64/dl-machine.h: Likewise.
52333 * tls.make.c: Likewise.
52334
52335 * configure.in: Remove --with-__thread option. Make tests for
52336 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52337 tls_model attribute fail if no support is available. Remove
52338 USE_IN_LIBIO.
52339 * Makeconfig: Adjust for dropped configure option. All features are
52340 now mandatory.
52341 * Makerules: Likewise.
52342 * Versions.def: Likewise.
52343 * argp/argp-fmtstream.c: Likewise.
52344 * argp/argp-fmtstream.h: Likewise.
52345 * argp/argp-help.c: Likewise.
52346 * assert/assert.c: Likewise.
52347 * config.h.in: Likewise.
52348 * config.make.in: Likewise.
52349 * configure: Likewise.
52350 * configure.in: Likewise.
52351 * csu/Versions: Likewise.
52352 * csu/init.c: Likewise.
52353 * elf/tst-audit2.c: Likewise.
52354 * elf/tst-tls10.c: Likewise.
52355 * elf/tst-tls10.h: Likewise.
52356 * elf/tst-tls11.c: Likewise.
52357 * elf/tst-tls12.c: Likewise.
52358 * elf/tst-tls14.c: Likewise.
52359 * elf/tst-tlsmod11.c: Likewise.
52360 * elf/tst-tlsmod12.c: Likewise.
52361 * elf/tst-tlsmod13.c: Likewise.
52362 * elf/tst-tlsmod13a.c: Likewise.
52363 * elf/tst-tlsmod14a.c: Likewise.
52364 * elf/tst-tlsmod15b.c: Likewise.
52365 * elf/tst-tlsmod16a.c: Likewise.
52366 * elf/tst-tlsmod16b.c: Likewise.
52367 * elf/tst-tlsmod7.c: Likewise.
52368 * elf/tst-tlsmod8.c: Likewise.
52369 * elf/tst-tlsmod9.c: Likewise.
52370 * gmon/gmon.c: Likewise.
52371 * grp/fgetgrent_r.c: Likewise.
52372 * grp/putgrent.c: Likewise.
52373 * hurd/fopenport.c: Likewise.
52374 * include/libc-symbols.h: Likewise.
52375 * include/tls.h: Likewise.
52376 * intl/gettextP.h: Likewise.
52377 * intl/loadinfo.h: Likewise.
52378 * locale/global-locale.c: Likewise.
52379 * locale/localeinfo.h: Likewise.
52380 * mach/devstream.c: Likewise.
52381 * malloc/arena.c: Likewise.
52382 * malloc/set-freeres.c: Likewise.
52383 * misc/err.c: Likewise.
52384 * misc/getttyent.c: Likewise.
52385 * misc/mntent_r.c: Likewise.
52386 * posix/getopt.c: Likewise.
52387 * posix/wordexp.c: Likewise.
52388 * pwd/fgetpwent_r.c: Likewise.
52389 * resolv/Versions: Likewise.
52390 * resolv/res_hconf.c: Likewise.
52391 * shadow/fgetspent_r.c: Likewise.
52392 * shadow/putspent.c: Likewise.
52393 * stdio-common/printf_fphex.c: Likewise.
52394 * stdio-common/tmpfile.c: Likewise.
52395 * stdlib/abort.c: Likewise.
52396 * stdlib/fmtmsg.c: Likewise.
52397 * sunrpc/auth_unix.c: Likewise.
52398 * sunrpc/clnt_perr.c: Likewise.
52399 * sunrpc/clnt_tcp.c: Likewise.
52400 * sunrpc/clnt_udp.c: Likewise.
52401 * sunrpc/clnt_unix.c: Likewise.
52402 * sunrpc/openchild.c: Likewise.
52403 * sunrpc/svc_simple.c: Likewise.
52404 * sunrpc/svc_tcp.c: Likewise.
52405 * sunrpc/svc_udp.c: Likewise.
52406 * sunrpc/svc_unix.c: Likewise.
52407 * sunrpc/xdr.c: Likewise.
52408 * sunrpc/xdr_array.c: Likewise.
52409 * sunrpc/xdr_rec.c: Likewise.
52410 * sunrpc/xdr_ref.c: Likewise.
52411 * sunrpc/xdr_stdio.c: Likewise.
52412
524132011-09-09 Ulrich Drepper <drepper@gmail.com>
52414
52415 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52416
524172011-07-03 Andreas Jaeger <aj@suse.de>
52418
52419 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52420 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52421 regenerate with gen-libm-tests.pl.
52422
524232010-05-12 Petr Baudis <pasky@suse.cz>
52424
52425 [BZ #11589]
52426 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52427 around j0() zero points by switching to j1().
52428 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52431 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52432
524332011-09-09 Ulrich Drepper <drepper@gmail.com>
52434
52435 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52436 instead of 0.
52437 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52438 instead of 0.
52439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52440 Patch in part by Pavel Roskin <proski@gnu.org>.
52441
52442 [BZ #13138]
52443 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52444 realloc.
52445 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52446 Free memory block if necessary.
52447
52448 [BZ #12847]
52449 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52450 be NULL. Don't lock in this case.
52451
524522011-09-09 Roland McGrath <roland@hack.frob.com>
52453
52454 * elf/elf.h (ELFOSABI_GNU): New macro.
52455 (ELFOSABI_LINUX): Define to that.
52456
524572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52458
52459 * string/strncat.c (strncat): Undef the symbol in case it has been
52460 defined in bits/string.h.
52461
524622011-09-09 Ulrich Drepper <drepper@gmail.com>
52463
52464 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52465
52466 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52467 link map.
52468
524692011-08-17 Andreas Jaeger <aj@suse.de>
52470
52471 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52472
524732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52474 Ian Lance Taylor <iant@google.com>
52475
52476 * math/libm-test.inc (lround_test): New testcase.
52477 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52478
524792011-09-08 Ulrich Drepper <drepper@gmail.com>
52480
52481 * Makefile: Remove support for automatic cvs check-ins.
52482 * Makerules: Likewise.
52483 * config.make.in: Likewise.
52484 * configure.in: Likewise.
52485 * intl/Makefile: Likewise.
52486 * locale/Makefile: Likewise.
52487 * po/Makefile: Likewise.
52488 * posix/Makefile: Likewise.
52489 * sysdeps/gnu/Makefile: Likewise.
52490 * sysdeps/mach/hurd/Makefile: Likewise.
52491 * sysdeps/sparc/sparc32/Makefile: Likewise.
52492
52493 [BZ #13118]
52494 * posix/Makefile (bug-regex32-ENV): Define.
52495 Patch by John Stanley <jpsinthemix@verizon.net>.
52496
52497 * misc/Makefile (headers): Add bits/select2.h.
52498 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52499 * misc/bits/select2.h: New file.
52500 * include/bits/select2.h: New file.
52501 * debug/Makefile (routines): Add fdelt_chk.
52502 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52503 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52504 FD_ISSET.
52505 * debug/fdelt_chk.c: New file.
52506
52507 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52508 * wcsmbs/test-wmemcmp.c: Likewise.
52509 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52510 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52511
525122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52513
52514 * string/Makefile (strop-tests): Add memcmp.
52515 * string/test-wmemcmp.c: New file.
52516 * string/test-memcmp.c: Add wmemcmp support.
52517
525182011-09-08 Roland McGrath <roland@hack.frob.com>
52519
52520 [BZ #13153]
52521 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52522 2011-07-19 change.
52523
52524 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52525 garbage value in a __mach_port_mod_refs call in the cases of the
52526 task-self and thread-self ports.
52527
525282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52529
52530 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52531
525322011-09-08 Andreas Schwab <schwab@redhat.com>
52533
52534 * elf/dl-load.c (lose): Check for non-null L.
52535
525362011-09-07 Ulrich Drepper <drepper@gmail.com>
52537
52538 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52539
52540 * elf/dl-libc.c (dlerror_run): Pass back error code from
52541 dl_catch_error.
52542
52543 [BZ #13123]
52544 * elf/dl-load.c (lose): Free l_origin if it is valid.
52545
52546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52547 names.
52548 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52551 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52552 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52553 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52554
525552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52556
52557 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52558 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52559 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52561 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52562 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52563 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52564 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52565 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52566 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52567
525682011-08-15 Alan Modra <amodra@gmail.com>
52569
52570 [BZ #13092]
52571 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52572 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52573 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52574 ppc_mcount to static-only-routines.
52575 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52576 __mcount_internal.
52577 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52578 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52579
525802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52581
52582 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52583 for finite and infinity parameters.
52584
525852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52586
52587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52588 and add nop instructions for throughput optimization.
52589 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52590
525912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52592
52593 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52594 aligned copy for power7 with vector-scalar instructions.
52595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52596
525972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52598
52599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52600 AVX check.
52601
526022011-09-07 Andreas Schwab <schwab@redhat.com>
52603
52604 [BZ #13144]
52605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52606 last change.
52607
526082011-09-07 Ulrich Drepper <drepper@gmail.com>
52609
52610 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52611 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52612 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52613 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52614 clock_gettime.
52615
526162011-09-06 Ulrich Drepper <drepper@gmail.com>
52617
52618 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52619 Forgot to demangle the pointer.
52620
52621 * sysdeps/i386/sysdep.h: Define atom_text_section.
52622 * sysdeps/x86_64/sysdep.h: Likewise.
52623 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52624 section with atom_text_section.
52625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52626 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52627 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52629 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52630
52631 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52632 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52633 already be defined. Change to take two parameters and don't assign
52634 result to variable. Adjust all users.
52635 Define INTERNAL_GETTIME if not already defined.
52636 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52637 call.
52638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52639 HAVE_CLOCK_GETTIME_VSYSCALL.
52640 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52641
52642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52643 gettimeofday vsyscall, just use time.
52644
526452011-09-06 Andreas Schwab <schwab@redhat.com>
52646
52647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52648 <errno.h>.
52649
526502011-09-06 Ulrich Drepper <drepper@gmail.com>
52651
52652 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52653 syscall on x86-64.
52654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52655 syscall.
52656 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52658 syscall if possible.
52659
526602011-09-05 Ulrich Drepper <drepper@gmail.com>
52661
52662 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52663 e_ident. Don't pass to find_mapsXX.
52664 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52665
526662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52667
52668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52669 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52670 * sysdeps/x86_64/multiarch/strchr.S: Update.
52671 Check bit_slow_BSF bit.
52672 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52673 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52674 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52675
526762011-09-05 Ulrich Drepper <drepper@gmail.com>
52677
52678 [BZ #13134]
52679 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52680 before glibc 2.15.
52681 (tryshell): Define.
52682 (__spawni): Change last parameter to be flag. Test
52683 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52684 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52685 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52686 * posix/spawni.c: Likewise.
52687 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52688 * posix/spawnp.c: Likewise. Change normal version to use
52689 SPAWN_XFLAGS_USE_PATH.
52690 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52691 SPAWN_XFLAGS_TRY_SHELL.
52692
52693 [BZ #13150]
52694 * posix/glob.h: Remove gcc 1.x support.
52695
52696 [BZ #13068]
52697 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52698
526992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52700
52701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52702 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52703 strrchr-sse2-bsf
52704 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52705 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52706 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52707 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52708 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52709 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52710
527112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52712
52713 * sysdeps/x86_64/wcscmp.S: New file.
52714
52715 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52716 wcscmp-c wcscmp-sse2
52717 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52718 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52719 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52720 * wcsmbs/wcscmp.c: Allow renaming.
52721
527222011-09-05 David S. Miller <davem@davemloft.net>
52723
52724 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52725 stack slot, rather than the struct return pointer slot.
52726 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52727 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52729 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52730
527312011-09-05 Ulrich Drepper <drepper@gmail.com>
52732
52733 * po/ja.po: Update from translation team.
52734
52735 [BZ #13144]
52736 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52737 kernel in 64-bit binaries.
52738
527392011-09-01 David S. Miller <davem@davemloft.net>
52740
52741 * elf/elf.h (HWCAP_SPARC_*): Move to..
52742 * sysdeps/sparc/sysdep.h: this new file and add new values.
52743 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52744 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52745 _DL_HWCAP_COUNT to 24.
52746 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52747 entries.
52748 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52749 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52750 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52752 instead of magic constants.
52753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52754
527552011-08-31 David S. Miller <davem@davemloft.net>
52756
52757 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52759 Reimplement to do errno handling inline.
52760 (SYSCALL_ERROR_HANDLER): New macro.
52761 (__SYSCALL_STRING): Do not do errno handling in asm.
52762 (__CLONE_SYSCALL_STRING): Delete.
52763 (__INTERNAL_SYSCALL_STRING): Delete.
52764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52765 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52766 (PSEUDO): Reimplement to do errno handling inline.
52767 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52768 (SYSCALL_ERROR_HANDLER): New macro.
52769 (__SYSCALL_STRING): Do not do errno handling in asm.
52770 (__CLONE_SYSCALL_STRING): Delete.
52771 (__INTERNAL_SYSCALL_STRING): Delete.
52772 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52773 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52774 i386.
52775 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52776 (inline_syscall*): Add 'err' argument.
52777 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52778 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52779 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52780 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52781
52782 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52783 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52784
527852011-08-30 Andreas Schwab <schwab@redhat.com>
52786
52787 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52788
527892011-08-29 Jiri Olsa <jolsa@redhat.com>
52790
52791 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52792 directive.
52793
527942011-08-24 David S. Miller <davem@davemloft.net>
52795
52796 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52797
527982011-08-24 Andreas Schwab <schwab@redhat.com>
52799
52800 * elf/Makefile: Add rules to build and run unload8 test.
52801 * elf/unload8.c: New file.
52802 * elf/unload8mod1.c: New file.
52803 * elf/unload8mod1x.c: New file.
52804 * elf/unload8mod2.c: New file.
52805 * elf/unload8mod3.c: New file.
52806
52807 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52808 it wasn't used.
52809
528102011-08-23 David S. Miller <davem@davemloft.net>
52811
52812 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52813 subtract stack bias.
52814 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52815 %sp not %fp in calculations.
52816 (_JMPBUF_UNWINDS_ADJ): Likewise.
52817
52818 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52819 (aio_suspend): Call it to force an exception region around the
52820 AIO_MISC_WAIT() invocation.
52821
528222011-08-23 Andreas Schwab <schwab@redhat.com>
52823
52824 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52825 backslash.
52826
528272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52828
52829 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52830 protection macro.
52831 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52832 and <dl-machine.h>.
52833 (Elf64_FuncDesc): Remove.
52834
528352011-08-22 David S. Miller <davem@davemloft.net>
52836
52837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52838 sigaltstack check, add missing cfi directives.
52839 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52840 missing cfi directives, and sigaltstack handling.
52841
528422011-08-16 Andreas Schwab <schwab@redhat.com>
52843
52844 [BZ #11724]
52845 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52846 object is seen twice.
52847 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52848
52849 * elf/Makefile (distribute): Add tst-initorder2.c.
52850 (tests): Add tst-initorder2.
52851 (modules-names): Add tst-initorder2a tst-initorder2b
52852 tst-initorder2c tst-initorder2d. Add rules to build them.
52853 ($(objpfx)tst-initorder2.out): New rule.
52854 * elf/tst-initorder2.c: New file.
52855 * elf/tst-initorder2.exp: New file.
52856
528572011-08-22 Andreas Schwab <schwab@redhat.com>
52858
52859 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52860
52861 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52862 dependencies back to end of function.
52863
52864 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52865 $(elfobjdir)/ld.so.
52866
528672011-08-21 Ulrich Drepper <drepper@gmail.com>
52868
52869 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52870 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52871 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52872 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52873 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52874 of __vdso_gettimeofday.
52875 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52876 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52877 attribute_hidden.
52878 (_libc_vdso_platform_setup): Remove initialization of
52879 __vdso_gettimeofday and __vdso_time.
52880
528812011-08-20 Ulrich Drepper <drepper@gmail.com>
52882
52883 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52884 and fgetc_unlocked.
52885 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52886 getc_unlocked.
52887
52888 * elf/dl-open.c (add_to_global): Report additions to the global scope
52889 for LD_DEBUG=scopes.
52890 (dl_open_worker): Also print scope of newly loaded dependencies.
52891 (_dl_show_scope): Indicate if there is no scope.
52892
52893 [BZ #13114]
52894 * stdio-common/Makefile (tests): Add bug24.
52895 * stdio-common/bug24.c: New file.
52896
528972011-08-19 Andreas Jaeger <aj@suse.de>
52898
52899 [BZ #13114]
52900 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52901 non-existant file when using close-on-exec mode.
52902
529032011-08-20 Ulrich Drepper <drepper@gmail.com>
52904
52905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52906 the very first instruction.
52907
52908 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52909 the CFI state in the end.
52910 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52911 inclusion of dl-trampoline.h.
52912 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52913
529142011-08-19 Andreas Schwab <schwab@redhat.com>
52915
52916 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52917 expectations for long double.
52918
52919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52920 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52921
529222011-08-14 David S. Miller <davem@davemloft.net>
52923
52924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52925 artificual limit depends upon the system page size.
52926
529272011-08-17 Ulrich Drepper <drepper@gmail.com>
52928
52929 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52930 * resolv/Makefile: Define CFLAGS-libresolv.
52931
529322011-08-17 Andreas Schwab <schwab@redhat.com>
52933
52934 * nss/makedb.c (compute_tables): Make variables used in nested
52935 function static.
52936
529372011-08-17 Ulrich Drepper <drepper@gmail.com>
52938
52939 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52940 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52941 if buffer was too small.
52942
52943 * elf/pldd.c (main): Attach to all threads in the process.
52944 Rewrite /proc handling to use *at functions.
52945
529462011-08-16 Ulrich Drepper <drepper@gmail.com>
52947
52948 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52949 specifies first scope to show.
52950 (dl_open_worker): Update callers. Move printing scope of new
52951 object to before the relocation.
52952 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52953 * sysdeps/generic/ldsodefs.h: Update declaration.
52954
52955 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52956 string for the scope number.
52957
529582011-08-14 Ulrich Drepper <drepper@gmail.com>
52959
52960 * nscd/servicescache.c (cache_addserv): Make sure written is always
52961 initialized.
52962
529632011-08-14 Roland McGrath <roland@hack.frob.com>
52964
52965 * sysdeps/i386/i486/bits/atomic.h
52966 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52967 statement expression, so as to suppress "set but not used" warning.
52968 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52969
52970 * string/strncat.c (STRNCAT): Use prototype definition.
52971
52972 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52973 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52974 -Iprograms here.
52975 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52976 (localedef-modules): Add localedef.
52977 (locale-modules): Add locale.
52978
52979 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52980 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52981 to avoid a warning.
52982
529832011-08-14 David S. Miller <davem@davemloft.net>
52984
52985 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52986 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52987
529882011-08-13 Ulrich Drepper <drepper@gmail.com>
52989
52990 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52991 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52992 * elf/rtld.c (dl_main): Set l_name of vDSO.
52993 Call _dl_show_scope when DL_DEBUG_SCOPES.
52994 (process_dl_debug): Recognize scopes flag and also set it for all.
52995 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52996 Declare _dl_show_scope.
52997
52998 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52999 (do_dlopen): Pass caller_dlopen to dl_open.
53000 (__libc_dlopen_mode): Initialize caller_dlopen.
53001
53002 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53003 of libc. Make tolower call locale-independent. Optimize a bit by
53004 using isdigit instead of isalnum.
53005 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53006
530072011-08-12 Ulrich Drepper <drepper@gmail.com>
53008
53009 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53010 was a dependency or dynamically loaded.
53011
530122011-08-11 Ulrich Drepper <drepper@gmail.com>
53013
53014 * intl/l10nflist.c: Allow architecture-specific pop function.
53015 * sysdeps/x86_64/l10nflist.c: New file.
53016
53017 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53018 classification.
53019
530202011-08-10 Andreas Schwab <schwab@redhat.com>
53021
53022 * include/dirent.h: Add libc_hidden_proto for scandirat and
53023 scandirat64. Don't declare __scandirat64.
53024 * dirent/scandirat.c: Add libc_hidden_def.
53025 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53026 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53027
530282011-08-10 David S. Miller <davem@davemloft.net>
53029
53030 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53031 enum.
53032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53034 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53035
530362011-08-09 Ulrich Drepper <drepper@gmail.com>
53037
53038 * Versions.def [libc]: Add GLIBC_2.15.
53039 * dirent/Makefile (routines): Add scandirat and scandirat64.
53040 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53041 GLIBC_2.15.
53042 * dirent/dirent.h: Declare scandirat and scandirat64.
53043 * dirent/scandirat.c: New file.
53044 * dirent/scandirat64.c: New file.
53045 * sysdeps/wordsize-64/scandirat.c: New file.
53046 * sysdeps/wordsize-64/scandirat64.c: New file.
53047 * dirent/opendir.c: Define opendirat.
53048 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53049 using scandirat.
53050 * dirent/scandir64.c: Adjust for scandir.c change.
53051 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53052 __scandirat64, and __scandir_cancel_handler.
53053 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53054 additional parameter and use openat instead of open (outside of ld.so).
53055 Add new __opendir as wrapper around __opendirat.
53056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53057 here without requiring old scandirat implementation.
53058
530592011-08-08 Ulrich Drepper <drepper@gmail.com>
53060
53061 * dirent/scandir.c (cancel_handler): Renamed to
53062 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53063 defined. Adjust users.
53064 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53065 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53066
530672011-08-04 Ulrich Drepper <drepper@gmail.com>
53068
53069 * string/test-string.h (IMPL): Use __STRING to expand name and then
53070 stringify it.
53071
53072 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53073 of cleanups.
53074
530752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53076
53077 * string/Makefile: Update.
53078 (strop-tests): Append strncat.
53079 * string/test-wcscmp.c: New file.
53080 New comprehensive test for wcscmp.
53081 * string/test-strcmp.c: Update.
53082 (WIDE): New define.
53083
530842011-07-22 Andreas Schwab <schwab@redhat.com>
53085
53086 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53087 line.
53088
530892011-07-26 Andreas Schwab <schwab@redhat.com>
53090
53091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53092 encoding to ACE if AI_IDN.
53093
530942011-08-01 Jakub Jelinek <jakub@redhat.com>
53095
53096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53097 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53098
530992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53100
53101 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53102 Fix overflow bug in strncat.
53103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53104
53105 * string/test-strncat.c: Update.
53106 Add new tests for checking overflow bugs.
53107
531082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53109
53110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53111 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53112 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53113 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53114 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53115 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53116 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53117 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53118 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53119
53120 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53121 (USE_AS_STRCAT): Define.
53122 Add strcat and strncat support.
53123 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53124
531252011-07-25 Andreas Schwab <schwab@redhat.com>
53126
53127 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53128 __n bigger than INT_MAX+1.
53129 (__strncmp_g): Likewise.
53130
531312011-07-23 Ulrich Drepper <drepper@gmail.com>
53132
53133 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53134 * libio/stido.h: Likewise.
53135
53136 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53137 (AF_NFC): Define.
53138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53139 (AF_NFC): Define.
53140
53141 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53143 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53144 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53145 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53146
53147 [BZ #13021]
53148 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53149 installed.
53150
53151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53152 typo.
53153 (_dl_x86_64_save_sse): Likewise.
53154
531552011-07-22 Ulrich Drepper <drepper@gmail.com>
53156
53157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53158 OSXSAVE.
53159 (_dl_x86_64_save_sse): Likewise.
53160
53161 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53162
53163 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53164
531652011-07-21 Andreas Schwab <schwab@redhat.com>
53166
53167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53168 change.
53169 (_dl_x86_64_save_sse): Use correct AVX check.
53170
531712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53172
53173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53174 bug in strncpy/strncat.
53175 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53176
531772011-07-21 Ulrich Drepper <drepper@gmail.com>
53178
53179 * string/tester.c (test_strcat): Add tests for different alignments
53180 of source and destination.
53181 (test_strncat): Likewise.
53182
531832011-07-20 Ulrich Drepper <drepper@gmail.com>
53184
53185 [BZ #12852]
53186 * posix/glob.c (glob): Check passed in values before using them in
53187 expressions to avoid some overflows.
53188 (glob_in_dir): Likewise.
53189
53190 [BZ #13007]
53191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53192 check for AVX enablement so that we don't crash with old kernels and
53193 new hardware.
53194 * elf/tst-audit4.c: Add same checks here.
53195 * elf/tst-audit6.c: Likewise.
53196
53197 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53198
531992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53200
53201 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53202
532032011-07-20 Ulrich Drepper <drepper@gmail.com>
53204
53205 * po/cs.po: Update from translation team.
53206 * po/bg.po: Likewise.
53207
532082011-07-12 Marek Polacek <mpolacek@redhat.com>
53209
53210 * misc/sys/cdefs.h: Add support for const attribute.
53211 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53212 to gnu_dev_{major,minor,makedev} functions.
53213
532142011-07-20 Marek Polacek <mpolacek@redhat.com>
53215
53216 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53217
532182011-07-20 Andreas Schwab <schwab@redhat.com>
53219
53220 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53221 strlen results.
53222
532232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53224
53225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53226 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53227 register in order to avoid conflicts with the soft frame pointer
53228 being held in r11 when necessary.
53229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53230 (INTERNAL_VSYSCALL_NCS): Likewise.
53231
532322011-07-14 Marek Polacek <mpolacek@redhat.com>
53233
53234 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53235 * elf/dl-fini.c (_dl_fini): Adjust caller.
53236 * elf/dl-close.c (_dl_close_worker): Likewise.
53237 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53238
532392011-07-15 Marek Polacek <mpolacek@redhat.com>
53240
53241 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53242 "aux_cache->nlibs < 0".
53243
53244 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53245 in the reload-count case.
53246
532472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53248
53249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53250 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53251 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53252 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53253 * sysdeps/x86_64/multiarch/strcat.S: New file.
53254 * sysdeps/x86_64/multiarch/strncat.S: New file.
53255 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53256 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53257 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53258 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53260 (USE_AS_STRCAT): Define.
53261 Add strcat and strncat support.
53262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53263 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53264 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53265 * string/strncat.c: Update.
53266 (USE_AS_STRNCAT): Define.
53267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53268 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53269 and i7.
53270 * sysdeps/x86_64/multiarch/init-arch.h
53271 (bit_Prefer_PMINUB_for_stringop): New.
53272 (index_Prefer_PMINUB_for_stringop): Likewise.
53273 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53274 bit_Prefer_PMINUB_for_stringop.
53275
532762011-07-19 Ulrich Drepper <drepper@gmail.com>
53277
53278 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53279 buffer64.
53280 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53281 of casting of buffer.
53282 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53283 buffer32 and buffer64.
53284 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53285 writes instead of casting of buffer.
53286 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53287 buffer32.
53288 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53289 casting of buffer.
53290
532912011-07-19 Andreas Schwab <schwab@redhat.com>
53292
53293 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53294
532952011-07-19 Ulrich Drepper <drepper@gmail.com>
53296
53297 * nscd/nscd.c (termination_handler): Don't do anything for a database
53298 if it has not yet been initialized.
53299
533002011-07-18 Ulrich Drepper <drepper@gmail.com>
53301
53302 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53303
533042011-07-15 Marek Polacek <mpolacek@redhat.com>
53305
53306 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53307
533082011-07-18 Ulrich Drepper <drepper@gmail.com>
53309
53310 * po/nl.po: Update from translation team.
53311 * po/sv.po: Likewise.
53312
533132011-07-16 Roland McGrath <roland@hack.frob.com>
53314
53315 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53316 now disallowed by GCC.
53317
53318 * configure.in (use-default-link): Default to yes if a test -shared
53319 link meets our qualifications.
53320 * configure: Regenerated.
53321
53322 * config.make.in (output-format): New variable.
53323 * configure.in: Check for ld --print-output-format support.
53324 * configure: Regenerated.
53325 * Makerules ($(common-objpfx)format.lds)
53326 [$(output-format) != unknown]: Just use $(output-format),
53327 instead of the linker-script munging.
53328
533292011-07-14 Roland McGrath <roland@hack.frob.com>
53330
53331 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53332 of $(common-objpfx)shlib.lds.
53333 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53334
53335 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53336 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53337
53338 * configure.in (-z relro check): Adjust test code to add a large
53339 writable data section after it.
53340 * configure: Regenerated.
53341
533422011-07-11 Roland McGrath <roland@hack.frob.com>
53343
53344 * configure.in (-z relro check): Fix test code to make the variable
53345 truly const.
53346 * configure: Regenerated.
53347
533482011-07-11 Ulrich Drepper <drepper@gmail.com>
53349
53350 * nscd/nscd.h (struct traced_file): Define.
53351 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53352 elements. Add traced_files.
53353 (inotify_fd): Declare.
53354 (register_traced_file): Declare.
53355 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53356 (inotify_fd): Export.
53357 (resolv_conf_descr): Remove.
53358 (nscd_init): Move inotify descriptor creation to main.
53359 Don't register files for notification here.
53360 (register_traced_file): New function.
53361 (invalidate_cache): Don't use reset_res to determine whether to call
53362 res_init, go through the list of registered files.
53363 (main_loop_poll): The inotify descriptors are now stored in the
53364 structures for the traced files.
53365 (main_loop_epoll): Likewise
53366 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53367 to __nss_disable_nscd.
53368 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53369 for a database anymore. Check the records for all the registered
53370 files instead.
53371 * nss/Makefile (libnss_files-routines): Add files-init.
53372 (libnss_db-routines): Add db-init.
53373 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53374 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53375 * nss/nss_db/db-init.c: New file.
53376 * nss/nss_files/files-init.c: New file.
53377 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53378 __nss_lookup_function.
53379 (__nss_lookup_function): Call nss_load_library.
53380 (nss_load_all_libraries): New function.
53381 (__nss_disable_nscd): Take parameter with callback function for files
53382 to register. Set is_nscd. Load all the DSOs for the NSS modules
53383 used for the cached services.
53384 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53385 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53386 options for features to all the files in nscd.
53387
53388 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53389
533902011-07-10 Roland McGrath <roland@hack.frob.com>
53391
53392 * csu/elf-init.c (__libc_csu_init): Comment typo.
53393
533942011-07-09 Ulrich Drepper <drepper@gmail.com>
53395
53396 * po/pl.po: Update from translation team.
53397 * po/ja.po: Likewise.
53398 * po/ru.po: Likewise.
53399 * po/ko.po: Likewise.
53400 * po/fr.po: Likewise.
53401
534022011-07-09 Roland McGrath <roland@hack.frob.com>
53403
53404 * configure.in (.ctors/.dtors header and trailer check):
53405 Use an empirical test on a built program.
53406 * configure: Regenerated.
53407
53408 * configure.in (-z relro check): Use an empirical test on a built DSO.
53409 Detect, but do not require, on ia64.
53410 * configure: Regenerated.
53411
53412 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53413 Update tests that use readelf to use $READELF instead.
53414 * configure: Regenerated.
53415
534162011-07-08 Ulrich Drepper <drepper@gmail.com>
53417
53418 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53419 if the result is not used.
53420
534212011-07-05 Andreas Jaeger <aj@suse.de>
53422
53423 [BZ#9696]
53424 * stdlib/tst-strtod.c: Add testcase.
53425
534262011-07-07 Ulrich Drepper <drepper@gmail.com>
53427
53428 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53429 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53430 The latter has a higher limit. Take additional parameter to pass to
53431 the new function.
53432 (__pathconf): Pass file to __statfs_link_max.
53433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53434 __statfs_link_max.
53435 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53436 __statfs_link_max.
53437
53438 [BZ #12868]
53439 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53441 Handle Lustre.
53442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53443 (__statfs_filesize_max): Likewise.
53444 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53445
534462011-07-05 Andreas Jaeger <aj@suse.de>
53447
53448 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53449
534502011-07-06 Marek Polacek <mpolacek@redhat.com>
53451
53452 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53453 `status' variable.
53454 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53455 Likewise.
53456
534572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53458
53459 * Makefile (strop-tests): Add strncat.
53460 * string/test-strncat.c: New file.
53461
534622011-06-30 Marek Polacek <mpolacek@redhat.com>
53463
53464 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53465
534662011-06-21 Andreas Jaeger <aj@suse.de>
53467
53468 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53469 Copy rule from iconvdata/Makefile.
53470
534712011-07-06 Ulrich Drepper <drepper@gmail.com>
53472
53473 [BZ #12922]
53474 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53475 but no long options are defined, just return 'W'.
53476
534772011-06-22 Marek Polacek <mpolacek@redhat.com>
53478
53479 [BZ #9696]
53480 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53481
534822011-07-06 Ulrich Drepper <drepper@gmail.com>
53483
53484 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53485 netgroups to read.
53486 (innetgr): Likewise.
53487
534882011-07-05 Roland McGrath <roland@hack.frob.com>
53489
53490 * config.make.in (install_root): Default to $(DESTDIR).
53491
534922011-07-05 Ulrich Drepper <drepper@gmail.com>
53493
53494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53495
534962011-07-02 Roland McGrath <roland@hack.frob.com>
53497
53498 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53499
53500 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53501 containing directory rather than embedding absolute directory names.
53502
53503 * scripts/check-local-headers.sh: Rewritten using awk.
53504 Match by word, not by line. Print error messages for matches.
53505 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53506
53507 * Makerules [shlib-lds-flags empty]:
53508 ($(common-objpfx)libc_pic.opts): New target.
53509 ($(common-objpfx)libc_pic.os.clean): New target.
53510 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53511
53512 * config.make.in (OBJCOPY): New variable.
53513 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53514 * configure: Regenerated.
53515
53516 * config.make.in (use-default-link): New variable.
53517 * configure.in (use_default_link): Grok --with-default-link to set it.
53518 * configure: Regenerated.
53519 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53520 (shlib-lds, shlib-lds-flags): Define to empty.
53521
53522 * Makerules (shlib-lds): New variable.
53523 (shlib-lds-flags): New variable.
53524 (build-shlib, build-moduile, build-module-asneeded): Use it.
53525 ($(common-objpfx)libc.so): Use $(shlib-lds).
53526 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53527 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53528
53529 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53530 DT_FLAGS/DT_FLAGS_1 with zero flags.
53531
53532 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53533 linker script munging.
53534
535352011-07-02 Ulrich Drepper <drepper@gmail.com>
53536
53537 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53538 as 128-bit value.
53539 * crypt/sha512.c (sha512_process_block): Perform total addition using
53540 128-bit if possible.
53541 (__sha512_finish_ctx): Likewise.
53542 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53543 as 64-bit value.
53544 * crypt/sha256.c (SWAP64): Define.
53545 (sha256_process_block): Perform total addition using 64-bit if
53546 possible.
53547 (__sha256_finish_ctx): Likewise.
53548
535492011-07-01 Ulrich Drepper <drepper@gmail.com>
53550
53551 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53553 * nscd/hstcache.c (cache_addhst): Likewise.
53554 * nscd/grpcache.c (cache_addgr): Likewise.
53555 * nscd/aicache.c (addhstaiX): Likewise
53556 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53557
535582011-07-01 Thorsten Kukuk <kukuk@suse.de>
53559
53560 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53561 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53562 * nscd/hstcache.c (cache_addhst): Likewise.
53563 * nscd/grpcache.c (cache_addgr): Likewise.
53564 * nscd/aicache.c (addhstaiX): Likewise
53565
535662011-07-01 Andreas Schwab <schwab@redhat.com>
53567
53568 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53569 domain only when needed.
53570
535712011-06-30 Andreas Schwab <schwab@redhat.com>
53572
53573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53574 is always restored.
53575
535762011-06-29 Ulrich Drepper <drepper@gmail.com>
53577
53578 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53579 are re-adding the entry.
53580 * nscd/servicescache.c (cache_addserv): Likewise.
53581
535822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53583
53584 * sysdeps/generic/dl-irel.h: fix protection against multiple
53585 inclusions.
53586 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53587
535882011-06-28 Ulrich Drepper <drepper@gmail.com>
53589
53590 [BZ #12935]
53591 * malloc/memusage.sh: Fix quoting in message.
53592 * debug/xtrace.sh: Likewise.
53593
53594 * configure.in: Remove support for --experimental-malloc option, make
53595 it the default.
53596 * config.make.in: Likewise.
53597 * malloc/Makefile: Likewise.
53598
535992011-06-27 Andreas Schwab <schwab@redhat.com>
53600
53601 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53602 two-byte characters.
53603
536042011-06-27 Roland McGrath <roland@hack.frob.com>
53605
53606 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53607 AC_CACHE_CHECK invocation.
53608 * configure: Regenerated.
53609
53610 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53611
536122011-06-27 Ulrich Drepper <drepper@gmail.com>
53613
53614 [BZ #12350]
53615 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53616 bit from old_res_options.
53617
53618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53619
53620 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53621 value type for setfct.
53622
536232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53624
53625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53626 __gettimeofday instead of gettimeofday.
53627
536282011-06-26 Ulrich Drepper <drepper@gmail.com>
53629
53630 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53631
536322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53633
53634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53635
53636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53637 info.
53638
536392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53640
53641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53642 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53643 strcpy-sse2-unaligned strncpy-sse2-unaligned
53644 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53645 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53646 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53647 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53648 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53649 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53651 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53652 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53653 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53654 (STRCPY): Support SSE2 and SSSE3 versions.
53655
536562011-06-24 Ulrich Drepper <drepper@gmail.com>
53657
53658 [BZ #12874]
53659 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53660 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53661 kernels which artificially limit size of requests.
53662
536632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53664
53665 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53666 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53667 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53668 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53669 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53670 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53671 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53672 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53673 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53675 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53676 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53677 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53678 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53679 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53681 Enable unaligned load optimization for Intel Core i3, i5 and i7
53682 processors.
53683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53684 Define.
53685 (index_Fast_Unaligned_Load): Define.
53686 (HAS_FAST_UNALIGNED_LOAD): Define.
53687
536882011-06-23 Marek Polacek <mpolacek@redhat.com>
53689
53690 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53691
536922011-06-22 Ulrich Drepper <drepper@gmail.com>
53693
53694 [BZ #12907]
53695 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53696 until it is clear that the information is realy needed.
53697 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53698
536992011-06-22 Andreas Schwab <schwab@redhat.com>
53700
53701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53702
537032011-06-22 Ulrich Drepper <drepper@gmail.com>
53704
53705 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53706 /sys/devices/system/cpu/online if it is usable.
53707
53708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53709 reading the information from the /proc filesystem to once a second.
53710
537112011-06-21 Andreas Jaeger <aj@suse.de>
53712
53713 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53714 NULL after inclusion of kernel headers.
53715
537162011-06-21 Ulrich Drepper <drepper@gmail.com>
53717
53718 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53719 calls to internal_setent.
53720
53721 [BZ #12885]
53722 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53723 addresses using gethostbyname4_r ignore IPv4 addresses.
53724
53725 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53726 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53727
53728 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53729
537302011-06-20 David S. Miller <davem@davemloft.net>
53731
53732 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53733 inclusions.
53734 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53735
53736 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53737 (elf_irel): Use it.
53738 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53739 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53740 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53741 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53742 * sysdeps/x86_64/dl-irel.h: Likewise.
53743
53744 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53745 * elf/dl-sym.c: Likewise.
53746
537472011-06-15 Ulrich Drepper <drepper@gmail.com>
53748
53749 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53750 need to dereference resplen2.
53751
537522011-06-14 Andreas Schwab <schwab@redhat.com>
53753
53754 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53755
537562011-06-15 Ulrich Drepper <drepper@gmail.com>
53757
53758 * Makeconfig: Define vardbdir and inst_vardbdir.
53759 * nss/Makefile: Add rules to install db-Makefile.
53760
53761 * nss/nss_db/db-XXX.c: Cleanup.
53762
53763 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53764 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53765 GLIBC_PRIVATE.
53766 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53767 * nss/makedb.c: Implement -g option to specify that value strings
53768 are generated and should not be added to table iterated over for
53769 get*ent calls.
53770 * nss/nss_db/db-initgroups.c: New file.
53771
53772 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53773 interface.
53774
53775 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53776 (internal_getgrouplist): Adjust to name change.
53777 Update use_initgroups_entry if this is not the first call.
53778 * nss/databases.def: Add initgroups entry.
53779
53780 * nss/makedb.c (compute_tables): Check result of multiple hash table
53781 sizes to minimize maximum chain length.
53782
537832011-06-14 Ulrich Drepper <drepper@gmail.com>
53784
53785 * Versions.def: Add entry for libnss_db.
53786 * shlib-versions: Likewise.
53787 * nss/Makefile: Add rules to build libnss_db.
53788 * nss/Versions: Add libnss_db information. Organize libnss_files
53789 entries better.
53790 * nss/db-Makefile: Add gshadow support. Change rules for the new
53791 makedb progra. Some minor improvements to generate smaller files.
53792 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53793 here from...
53794 * nss/makedb.c: ...here.
53795 Improve database format to be smaller and require less memory at
53796 runtime.
53797 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53798 db anymore.
53799 * nss/nss_db/db-netgrp.c: Likewise.
53800 * nss/nss_db/db-open.c: Likewise.
53801 * nss/nss_files/flies-XXX.x: Adjust comments.
53802 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53803 * nss/nss_files/files-grp.c: Likewise.
53804 * nss/nss_files/files-hosts.c: Likewise.
53805 * nss/nss_files/files-network.c: Likewise.
53806 * nss/nss_files/files-proto.c: Likewise.
53807 * nss/nss_files/files-pwd.c: Likewise.
53808 * nss/nss_files/files-rpc.c: Likewise.
53809 * nss/nss_files/files-service.c: Likewise.
53810 * nss/nss_files/files-sgrp.c: Likewise.
53811 * nss/nss_files/files-spwd.c: Likewise.
53812 * nss/nss_db/db-alias.c: Removed.
53813 * nss/nss_db/dummy-db.h: Removed.
53814
538152011-06-02 Ulrich Drepper <drepper@gmail.com>
53816
53817 * nss/makedb.c: Rewritten to not use database library.
53818 * nss/Makefile: Update to build new makedb program.
53819
538202011-06-14 Andreas Jaeger <aj@suse.de>
53821
53822 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53823 memset declaration.
53824
538252011-06-10 Andreas Schwab <schwab@redhat.com>
53826
53827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53828 tmpbuf.
53829
538302011-06-10 Roland McGrath <roland@hack.frob.com>
53831
53832 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53833 * elf/Makefile ($(objpfx)ld.so): Likewise.
53834
53835 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53836 Don't list ld.so twice in dependencies.
53837
53838 * posix/bug-regex31.c: Include <stdlib.h>.
53839
53840 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53841
53842 * nis/nss_compat/compat-spwd.c
53843 (getspent_next_nss_netgr): Remove unused variable.
53844 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53845
53846 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53847 nonmembers" output to use the right array.
53848
53849 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53850
53851 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53852
53853 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53854 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53855 * catgets/gencat.c (read_input_file): Likewise.
53856 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53857
53858 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53859 variable definition inside #if's controlling its use.
53860
53861 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53862
53863 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53864
53865 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53866
53867 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53868 unreachable code.
53869
53870 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53871
53872 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53873 * configure: Regenerated.
53874
53875 * Makerules: Revert last change.
53876 * elf/Makefile: Likewise.
53877
538782011-06-09 Roland McGrath <roland@hack.frob.com>
53879
53880 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53881 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53882 (reloc-link): Likewise.
53883
538842011-06-09 Ulrich Drepper <drepper@gmail.com>
53885
53886 * elf/Makefile: Add rules to build pldd.
53887 * elf/pldd.c: New file.
53888 * elf/pldd-xx.c: New file.
53889
538902011-06-07 Ulrich Drepper <drepper@gmail.com>
53891
53892 * version.h: Update for 2.15 development version.
53893
538942011-06-07 David S. Miller <davem@davemloft.net>
53895
53896 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53897 ifuncs.
53898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53899 elf_machine_lazy_rel): Likewise.
53900 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53902 elf_machine_lazy_rel): Likewise.
53903 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53904 dl_hwcap via passed in argument.
53905 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53906 Likewise.
53907
539082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53909
53910 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53911
539122011-06-06 Roland McGrath <roland@hack.frob.com>
53913
53914 [BZ #12849]
53915 * manual/fdl-1.1.texi: New file, verbatim from:
53916 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53917 * manual/lgpl-2.1.texi: New file, verbatim from:
53918 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53919 * manual/Makefile (licenses): New variable, list those new file names.
53920 (texis): Use it.
53921 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53922
53923 * manual/fdl.texi: File removed.
53924 * manual/lesser.texi: File removed.
53925 * manual/libc.texinfo (Copying, Documentation License):
53926 Use new @include file names, put @appendix directive before @include.
53927
539282011-06-04 Jakub Jelinek <jakub@redhat.com>
53929
53930 [BZ #12841]
53931 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53932 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53933 (mq_open): Add __NTH.
53934
539352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53936
53937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53938 Assume Intel Core i3/i5/i7 processor if AVX is available.
53939
539402011-05-31 Ulrich Drepper <drepper@gmail.com>
53941
53942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53943 typo.
53944
539452011-05-31 Andreas Schwab <schwab@redhat.com>
53946
53947 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53948 memory. Use alloca_account. Fix memory leak when retrying.
53949
539502011-05-31 Ulrich Drepper <drepper@gmail.com>
53951
53952 * version.h (RELEASE): Bump for 2.14 release.
53953 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53954
53955 * config.make.in (RANLIB): Remove entry.
53956
539572011-05-30 Ulrich Drepper <drepper@gmail.com>
53958
53959 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53960 (libc.pot): Work around missing support for .ksh extension in xgettext.
53961
53962 [BZ #12684]
53963 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53964 if both request failed.
53965 (send_dg): In case of server errors clear resplen or *resplen2.
53966
53967 [BZ #12454]
53968 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53969 when there are multiple maps.
53970 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53971 (_dl_fini): Remove test here.
53972
53973 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53974
539752011-05-29 Ulrich Drepper <drepper@gmail.com>
53976
53977 [BZ #12350]
53978 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53979 bit from old_res_options.
53980 (gaih_inet): Likewise.
53981
53982 [BZ #11099]
53983 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53984 as signed.
53985
53986 * resolv/res_init.c (res_setoptions): Make the code more compact.
53987
53988 [BZ #11558]
53989 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53990 set RES_USEVC.
53991
53992 [BZ #11634]
53993 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53994
53995 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53996
53997 [BZ #11781]
53998 * malloc/malloc.h: Declare malloc hook variables as volatile.
53999
54000 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54001 in last patch.
54002
54003 [BZ #11799]
54004 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54005 raise in the comment.
54006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54008 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54009
540102011-05-28 Ulrich Drepper <drepper@gmail.com>
54011
54012 [BZ #12811]
54013 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54014 grow the buffers more if it already has to be sufficient.
54015 (build_wcs_upper_buffer): Likewise.
54016 * posix/regexec.c (check_matching): Likewise.
54017 (clean_state_log_if_needed): Likewise.
54018 (extend_buffers): Don't enlarge buffers beyond size of the input
54019 buffer.
54020 Patches mostly by Emil Wojak <emil@wojak.eu>.
54021 * posix/bug-regex32.c: New file.
54022 * posix/Makefile (tests): Add bug-regex32.
54023
54024 * locale/findlocale.c (_nl_find_locale): Return right away if
54025 _nl_explode_name failed.
54026 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54027
54028 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54029
54030 * debug/xtrace.sh: Unify messages.
54031 * malloc/memusage.sh: Likewise.
54032
54033 [BZ #12813]
54034 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54035 time symbol from vDSO. Substitute with vsyscall if not available.
54036 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54037 __vdso_time.
54038
54039 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54040 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54041 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54042 Add sendmmsg and internal_sendmmsg.
54043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54044 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54045 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54046
54047 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54048 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54050
540512011-05-27 Ulrich Drepper <drepper@gmail.com>
54052
54053 [BZ #12813]
54054 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54055 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54056 available.
54057 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54058 __vdso_getcpu.
54059
54060 [BZ #12814]
54061 * iconvdata/Makefile (tests): Add bug-iconv9.
54062 * iconvdata/bug-iconv9.c: New file.
54063
540642011-05-27 Andreas Schwab <schwab@redhat.com>
54065
54066 [BZ #12814]
54067 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54068
540692011-05-25 Jakub Jelinek <jakub@redhat.com>
54070
54071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54072 (struct user_regs_struct): Change intcs field back to cs.
54073
540742011-05-25 Ulrich Drepper <drepper@gmail.com>
54075
54076 * po/ja.po: Update from translation team.
54077
540782011-05-23 Ulrich Drepper <drepper@gmail.com>
54079
54080 [BZ #12795]
54081 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54082 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54083
540842011-05-20 Andreas Schwab <schwab@redhat.com>
54085
54086 * stdlib/longlong.h: Update from GCC.
54087
540882011-05-23 Andreas Schwab <schwab@redhat.com>
54089
54090 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54091 parameter name.
54092 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54093 Add parameter name.
54094 (__sysconf): Pass it down.
54095
540962011-05-22 Ulrich Drepper <drepper@gmail.com>
54097
54098 [BZ #12671]
54099 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54100 some situations.
54101 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54102 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54103 add in in __libc_use_alloca calls. Adjust callers.
54104 (glob): Use malloc in some situations.
54105
54106 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54107 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54108 pltexit.
54109
541102011-05-21 Ulrich Drepper <drepper@gmail.com>
54111
54112 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54113 and CLOCK_BOOTTIME_ALARM.
54114
54115 [BZ #12782]
54116 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54117 is returned.
54118
54119 * string/_strerror.c (__strerror_r): Print negative errors as signed
54120 numbers.
54121
54122 [BZ #12777]
54123 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54124 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54125 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54126
54127 * configure.in: Fix typo in redirection and correct removal of test
54128 files in two cases.
54129
54130 [BZ #12788]
54131 * locale/setlocale.c (new_composite_name): Fix test to check for
54132 identical name of all categories.
54133
54134 [BZ #12792]
54135 * libio/filedoalloc.c (local_isatty): New function.
54136 (_IO_file_doallocate): Use local_isatty.
54137 * stdio-common/perror.c (perror): In case a new stream is used
54138 forward the stream error.
54139 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54140 error flag.
54141
541422011-05-20 Ulrich Drepper <drepper@gmail.com>
54143
54144 [BZ #11869]
54145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54146 alloca.
54147 * include/alloca.h (extend_alloca_account): Define.
54148
54149 [BZ #11857]
54150 * posix/regex.h: Fix comments with documentation of user-accessible
54151 fields after compilation and describe correct free'ing of pattern
54152 after re_compile_pattern.
54153 Patch by Reuben Thomas <rrt@sc3d.org>.
54154
541552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54156
54157 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54158 and -mno-altivec to prevent the compiler from using Altivec and/or
54159 VSX instructions when the corresponding registers are not available.
54160
541612011-05-19 Andreas Schwab <schwab@redhat.com>
54162
54163 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54164
541652011-05-19 Ulrich Drepper <drepper@gmail.com>
54166
54167 * libio/freopen.c (freopen): Use __dup2, not dup2.
54168 * libio/freopen64.c (freopen64): Likewise.
54169
541702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54171
54172 [BZ #12775]
54173 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54174 * math/Makefile (tests): Add test-powl.
54175 (CFLAGS-test-powl.c): Define.
54176 * math/test-powl.c: New file.
54177
541782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54179
54180 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54181
541822011-05-17 Ulrich Drepper <drepper@gmail.com>
54183
54184 [BZ #11837]
54185 * iconvdata/gb18030.c: Update to GB18020-2005.
54186
541872011-05-16 Ulrich Drepper <drepper@gmail.com>
54188
54189 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54190 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54191 Patch by Aharon Robbins <arnold@skeeve.com>.
54192
54193 [BZ #11892]
54194 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54195 on the stack.
54196
54197 [BZ #11895]
54198 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54199 through underflows.
54200
54201 [BZ #12766]
54202 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54203 point to strings before performing equality test for error_one_per_line
54204 mode.
54205
54206 [BZ #11697]
54207 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54208
54209 [BZ #11820]
54210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54211 (struct user_fpregs_struct): Avoid __uint*_t types.
54212
54213 [BZ #6420]
54214 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54215 symbol info. Use it instead of calling _dl_addr locally.
54216 (lock_and_info): New function.
54217 (tr_freehook): Call lock_and_info and pass symbol info as additional
54218 parameter to tr_where.
54219 (tr_mallochook): Likewise.
54220 (tr_reallochook): Likewise.
54221 (tr_memalignhook): Likewise.
54222
54223 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54224 used and couldn't be at all thread-safe.
54225
542262011-05-15 Ulrich Drepper <drepper@gmail.com>
54227
54228 * libio/freopen.c (freopen): Don't close old file descriptor
54229 before the new one is opened. Instead dup the new file descriptor
54230 to the old one after the new stream is created.
54231 * libio/freopen64.c (freopen64): Likewise.
54232 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54233 * libio/fileops.c (_IO_new_file_close_it): Handle new
54234 _IO_FLAGS2_NOCLOSE flag.
54235 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54236 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54237 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54238 _IO_FLAGS2_NOCLOSE flag.
54239 * include/unistd.h: Add hidden_proto for dup3.
54240 Define __have_dup3.
54241 * io/dup3.c: Define hidden symbol.
54242 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54243
54244 [BZ #7101]
54245 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54246 when an incomplete long option is used.
54247 * posix/tst-getopt_long1.c: New file.
54248 * posix/Makefile (tests): Add tst-getopt_long1.
54249
54250 [BZ #10138]
54251 * scripts/config.guess: Update from autoconf-2.68.
54252 * scripts/config.sub: Likewise.
54253
54254 [BZ #10157]
54255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54256 tests into ...
54257 (has_cpuclock): ...this. New function.
54258 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54259 macro here based on has_cpuclock code.
54260
54261 [BZ #10149]
54262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54263 First byte (not low byte) is now always NUL.
54264 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54265
54266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54267 Use non-cancelable interfaces.
54268
54269 [BZ #9809]
54270 * locale/iso-639.def: Add entry for Sorani.
54271
54272 [BZ #11901]
54273 * include/stdlib.h: Move include protection to the right place.
54274 Define abort_msg_s. Declare __abort_msg with it.
54275 * stdlib/abort.c (__abort_msg): Adjust type.
54276 * assert/assert.c (__assert_fail_base): New function. Majority
54277 of code from __assert_fail. Allocate memory for __abort_msg with
54278 mmap.
54279 (__assert_fail): Now call __assert_fail_base.
54280 * assert/assert-perr.c: Remove bulk of implementation. Use
54281 __assert_fail_base.
54282 * include/assert.hL Declare __assert_fail_base.
54283 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54284 mmap.
54285 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54286
542872011-05-14 Ulrich Drepper <drepper@gmail.com>
54288
54289 [BZ #11952]
54290 [BZ #12453]
54291 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54292 until all modules are registered in the DTV.
54293 * elf/Makefile: Add rules to build and run tst-tls19.
54294 * elf/tst-tls19.c: New file.
54295 * elf/tst-tls19mod1.c: New file.
54296 * elf/tst-tls19mod2.c: New file.
54297 * elf/tst-tls19mod3.c: New file.
54298 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54299
54300 [BZ #12083]
54301 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54302 correctly.
54303
54304 [BZ #12601]
54305 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54306 two-byte sequence errors.
54307 * iconvdata/Makefile (tests): Add bug-iconv8.
54308 * iconvdata/bug-iconv8.c: New file.
54309
54310 [BZ #12626]
54311 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54312 buf2 definition.
54313
54314 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54315
54316 [BZ #12432]
54317 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54318 (dummy_getcfa): New function.
54319 (init): Get _Unwind_GetCFA address, use dummy if not found.
54320 (backtrace_helper): In recursion check, also check whether CFA changes.
54321 (__backtrace): Completely initialize arg.
54322
54323 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54324 storing incomplete byte sequence in state object. Avoid testing for
54325 guaranteed too small input if we know there is enough data available.
54326
543272011-05-11 Andreas Schwab <schwab@redhat.com>
54328
54329 * Makeconfig (+link-pie): Indent.
54330 * Rules (binaries-pie): Define if $(have-fpie) and
54331 $(build-shared).
54332 (binaries-shared): Also filter out $(binaries-pie).
54333 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54334 * nscd/Makefile (others-pie): Add nscd.
54335 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54336 ($(objpfx)nscd): Remove command override.
54337 * login/Makefile (others-pie): Add pt_chown.
54338 ($(objpfx)pt_chown): Remove command override.
54339 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54340 remove command overrides.
54341
543422011-05-13 Ulrich Drepper <drepper@gmail.com>
54343
54344 * libio/tst_putwc.c: Fix error messages.
54345
54346 [BZ #12724]
54347 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54348 currently writing and seek to current position when not.
54349 * libio/Makefile (tests): Add bug-fclose1.
54350 * libio/bug-fclose1.c: New file.
54351
543522011-05-12 Ulrich Drepper <drepper@gmail.com>
54353
54354 [BZ #12511]
54355 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54356 don't set DF_1_NODELETE here.
54357 (do_lookup_x): When entering new entry test for copy relocation
54358 and if necessary set DF_1_NODELETE flag.
54359 * elf/tst-unique4.cc: New file.
54360 * elf/tst-unique4.h: New file.
54361 * elf/tst-unique4lib.cc: New file.
54362 * elf/Makefile: Add rules to build and run tst-unique4.
54363 Patch by Piotr Bury <pbury@goahead.com>.
54364
543652011-05-11 Ulrich Drepper <drepper@gmail.com>
54366
54367 [BZ #12052]
54368 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54369
54370 [BZ #12625]
54371 * misc/mntent_r.c (addmntent): Flush the stream after the output
54372
54373 [BZ #12393]
54374 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54375 (is_trusted_path_normalize): Skip initial colon. Append slash
54376 to empty buffer. Duplicate is_trusted_path code but allow
54377 constructed patch to be prefix.
54378 (is_dst): Allow $ORIGIN followed by /.
54379 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54380 Correct testing of result of is_trusted_path_normalize
54381 (decompose_rpath): Fix warning.
54382
543832011-05-10 Ulrich Drepper <drepper@gmail.com>
54384
54385 [BZ #11257]
54386 * grp/initgroups.c (internal_getgrouplist): When we found the service
54387 list through the initgroups entry in nsswitch.conf do not always
54388 continue on a successful lookup. Don't always use the
54389 __nss_group_database value if it is set.
54390 * nss/nsswitch.conf (initgroups): Change action for successful db
54391 lookup to continue for compatibility.
54392
543932011-05-09 Ulrich Drepper <drepper@gmail.com>
54394
54395 [BZ #11532]
54396 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54397 and CP774 modules.
54398 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54399 and CP774 modules.
54400 * iconvdata/tst-tables.sh: Likewise.
54401 * iconvdata/cp770.c: New file.
54402 * iconvdata/cp771.c: New file.
54403 * iconvdata/cp772.c: New file.
54404 * iconvdata/cp773.c: New file.
54405 * iconvdata/cp774.c: New file.
54406 * iconvdata/testdata/CP770: New file.
54407 * iconvdata/testdata/CP770..UTF8: New file.
54408 * iconvdata/testdata/CP771: New file.
54409 * iconvdata/testdata/CP771..UTF8: New file.
54410 * iconvdata/testdata/CP772: New file.
54411 * iconvdata/testdata/CP772..UTF8: New file.
54412 * iconvdata/testdata/CP773: New file.
54413 * iconvdata/testdata/CP773..UTF8: New file.
54414 * iconvdata/testdata/CP774: New file.
54415 * iconvdata/testdata/CP774..UTF8: New file.
54416
54417 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54418 END CHARMAP line.
54419 * iconvdata/gen-8bit-gap.sh: Likewise.
54420 * iconvdata/gen-8bit.sh: Likewise.
54421
54422 * locale/iso-639.def: Add ary entry.
54423
54424 [BZ #11258]
54425 * locale/C-translit.h.in: Add U20A1 transliteration.
54426
54427 [BZ #12178]
54428 * locale/iso-639.def: Add wae entry.
54429 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54430
54431 [BZ #12545]
54432 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54433 for n.
54434
54435 [BZ #12711]
54436 * locale/C-translit.h.in: Add entry for U20B9.
54437 Patch by pravin.d.s@gmail.com.
54438
544392011-05-08 Ulrich Drepper <drepper@gmail.com>
54440
54441 [BZ #12713]
54442 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54443 ENAMETOOLONG use generic getcwd.
54444 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54445 in rtld. Use *stat64.
54446 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54447 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54448 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54449 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54450 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54451 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54452 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54453 __fstatat64 macros.
54454 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54455 * dirent/rewinddir.c: Add libc_hidden_def.
54456 * sysdeps/mach/hurd/rewinddir.c: Likewise.
54457 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
54458
54459 * include/dirent.h (__alloc_dir): Add flags parameter.
54460 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54461 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54462 __alloc_dir.
54463 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54464 from fdopendir if O_CLOEXEC is already set.
54465
544662011-03-15 Alan Modra <amodra@gmail.com>
54467
54468 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54469 l_tls_firstbyte_offset non-zero. Save padding offset in
54470 l_tls_firstbyte_offset for later use.
54471 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54472 freeing static tls block.
54473
544742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54475
54476 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54477 where #ifdef was intended. The intent is to prevent ARG_MAX from
54478 being defined by the kernel headers.
54479
544802011-05-07 Ulrich Drepper <drepper@gmail.com>
54481
54482 [BZ #12734]
54483 * resolv/resolv.h: Define RES_NOTLDQUERY.
54484 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54485 no-tld-query and set RES_NOTLDQUERY.
54486 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54487 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54488 modern BIND to search name as TLD unless forbidden.
54489
544902011-05-07 Petr Baudis <pasky@suse.cz>
54491 Ulrich Drepper <drepper@gmail.com>
54492
54493 [BZ #12393]
54494 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54495 (is_trusted_path): ...to here.
54496 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54497 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54498 using is_trusted_path_normalize() in setuid scripts.
54499
545002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54501
54502 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54503 __BEGIN/__END_DECLS.
54504
545052011-05-06 Ulrich Drepper <drepper@gmail.com>
54506
54507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54508 NSS_STATUS_NOTFOUND if no record was found.
54509
545102011-05-05 Andreas Schwab <schwab@redhat.com>
54511
54512 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54513 (headers-not-in-tirpc): Remove rpc/netdb.h
54514 * resolv/netdb.h: Revert last change.
54515
545162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54517
54518 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54519 circular dependency between libgcc.a and libc.a.
54520
545212011-05-05 Andreas Schwab <schwab@redhat.com>
54522
54523 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54524 * nis/Makefile: Don't install rpcsvc/*.
54525 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54526 instead of <rpc/types.h>.
54527 (MAXHOSTNAMELEN): Define.
54528
545292011-05-03 Andreas Schwab <schwab@redhat.com>
54530
54531 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54532
545332011-04-28 Maciej Babinski <mbabinski@google.com>
54534
54535 [BZ #12714]
54536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54537 gethostbyname4_r when IPv6 results are possible.
54538
545392011-05-02 Ulrich Drepper <drepper@gmail.com>
54540
54541 [BZ #12723]
54542 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54543 _PC_PIPE_BUF handling.
54544
545452011-04-30 Bruno Haible <bruno@clisp.org>
54546
54547 [BZ #12717]
54548 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54549 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54550 to 'int'.
54551 * inet/getnameinfo.c (getnameinfo): Likewise.
54552
545532011-04-29 Ulrich Drepper <drepper@gmail.com>
54554
54555 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54556 to groups setting in database lookup.
54557 * nss/nsswitch.conf: Add initgroups entry.
54558
545592011-04-22 Ulrich Drepper <drepper@gmail.com>
54560
54561 [BZ #12685]
54562 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54563 mode string.
54564 Patch by Eric Blake <eblake@redhat.com>.
54565
545662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54567
54568 * sunrpc/Makefile (need-export-routines): Add svc_run.
54569 (routines): Remove svc_run.
54570 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54571 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54572 * sunrpc/svc_run.c (svc_run): Likewise.
54573 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54574
545752011-04-21 Ulrich Drepper <drepper@gmail.com>
54576
54577 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54578 problem in reallocation in last patch.
54579
545802011-04-20 Ulrich Drepper <drepper@gmail.com>
54581
54582 * sunrpc/Makefile: Move inclusion of Rules.
54583
545842011-04-19 Ulrich Drepper <drepper@gmail.com>
54585
54586 * nss/nss_files/files-initgroups.c: New file.
54587 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54588 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54589 _nss_files_initgroups_dyn.
54590
545912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54592
54593 * elf/elf.h (R_ARM_IRELATIVE): Define.
54594
545952011-04-19 Ulrich Drepper <drepper@gmail.com>
54596
54597 * po/ru.po: Update from translation team.
54598
545992011-04-17 Ulrich Drepper <drepper@gmail.com>
54600
54601 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54602 dependencies.
54603
546042011-02-06 Mike Frysinger <vapier@gentoo.org>
54605
54606 [BZ #12653]
54607 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54608 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54609 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54610 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54611 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54612
546132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54614
54615 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54616 differing bytes.
54617 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54618 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54620
546212011-04-17 Ulrich Drepper <drepper@gmail.com>
54622
54623 [BZ #12420]
54624 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54625 storing it.
54626 * stdlib/bug-getcontext.c: New file.
54627 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54628
546292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54630
54631 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54632 instructions into .machine "z9-109".
54633 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54634 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54635
546362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54637
54638 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54639 between environment variables and auxiliary vector.
54640
546412011-04-16 Ulrich Drepper <drepper@gmail.com>
54642
54643 * Makefile: Add rules to build linkobj/libc.so.
54644 * include/libc-symbols.h: Define libc_hidden_nolink.
54645 * include/rpc/auth.h: Mark functions which are to be hidden.
54646 * include/rpc/auth_des.h: Likewise.
54647 * include/rpc/auth_unix.h: Likewise.
54648 * include/rpc/clnt.h: Likewise.
54649 * include/rpc/des_crypt.h: Likewise.
54650 * include/rpc/key_prot.h: Likewise.
54651 * include/rpc/pmap_clnt.h: Likewise.
54652 * include/rpc/pmap_prot.h: Likewise.
54653 * include/rpc/pmap_rmt.h: Likewise.
54654 * include/rpc/rpc_msg.h: Likewise.
54655 * include/rpc/svc.h: Likewise.
54656 * include/rpc/svc_auth.h: Likewise.
54657 * include/rpc/xdr.h: Likewise.
54658 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54659 * nss/Makefile: Likewise.
54660 * sunrpc/Makefile: Don't install headers. Build library with normal
54661 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54662 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54663 for the compat linking library. Remove use of INTDEF/INTUSE.
54664 * sunrpc/auth_none.c: Likewise.
54665 * sunrpc/auth_unix.c: Likewise.
54666 * sunrpc/authdes_prot.c: Likewise.
54667 * sunrpc/authuxprot.c: Likewise.
54668 * sunrpc/clnt_gen.c: Likewise.
54669 * sunrpc/clnt_perr.c: Likewise.
54670 * sunrpc/clnt_raw.c: Likewise.
54671 * sunrpc/clnt_simp.c: Likewise.
54672 * sunrpc/clnt_tcp.c: Likewise.
54673 * sunrpc/clnt_udp.c: Likewise.
54674 * sunrpc/clnt_unix.c: Likewise.
54675 * sunrpc/des_crypt.c: Likewise.
54676 * sunrpc/des_soft.c: Likewise.
54677 * sunrpc/get_myaddr.c: Likewise.
54678 * sunrpc/key_call.c: Likewise.
54679 * sunrpc/key_prot.c: Likewise.
54680 * sunrpc/netname.c: Likewise.
54681 * sunrpc/pm_getmaps.c: Likewise.
54682 * sunrpc/pm_getport.c: Likewise.
54683 * sunrpc/pmap_clnt.c: Likewise.
54684 * sunrpc/pmap_prot.c: Likewise.
54685 * sunrpc/pmap_prot2.c: Likewise.
54686 * sunrpc/pmap_rmt.c: Likewise.
54687 * sunrpc/publickey.c: Likewise.
54688 * sunrpc/rpc_cmsg.c: Likewise.
54689 * sunrpc/rpc_common.c: Likewise.
54690 * sunrpc/rpc_dtable.c: Likewise.
54691 * sunrpc/rpc_prot.c: Likewise.
54692 * sunrpc/rpc_thread.c: Likewise.
54693 * sunrpc/rtime.c: Likewise.
54694 * sunrpc/svc.c: Likewise.
54695 * sunrpc/svc_auth.c: Likewise.
54696 * sunrpc/svc_authux.c: Likewise.
54697 * sunrpc/svc_raw.c: Likewise.
54698 * sunrpc/svc_run.c: Likewise.
54699 * sunrpc/svc_simple.c: Likewise.
54700 * sunrpc/svc_tcp.c: Likewise.
54701 * sunrpc/svc_udp.c: Likewise.
54702 * sunrpc/svc_unix.c: Likewise.
54703 * sunrpc/svcauth_des.c: Likewise.
54704 * sunrpc/xcrypt.c: Likewise.
54705 * sunrpc/xdr.c: Likewise.
54706 * sunrpc/xdr_array.c: Likewise.
54707 * sunrpc/xdr_float.c: Likewise.
54708 * sunrpc/xdr_intXX_t.c: Likewise.
54709 * sunrpc/xdr_mem.c: Likewise.
54710 * sunrpc/xdr_rec.c: Likewise.
54711 * sunrpc/xdr_ref.c: Likewise.
54712 * sunrpc/xdr_sizeof.c: Likewise.
54713 * sunrpc/xdr_stdio.c: Likewise.
54714
547152011-04-10 Ulrich Drepper <drepper@gmail.com>
54716
54717 [BZ #12650]
54718 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54719 * sysdeps/ia64/dl-tls.h: Likewise.
54720 * sysdeps/powerpc/dl-tls.h: Likewise.
54721 * sysdeps/s390/dl-tls.h: Likewise.
54722 * sysdeps/sh/dl-tls.h: Likewise.
54723 * sysdeps/sparc/dl-tls.h: Likewise.
54724 * sysdeps/x86_64/dl-tls.h: Likewise.
54725 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54726
547272011-03-14 Andreas Schwab <schwab@redhat.com>
54728
54729 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54730 rpath element also skip the following colon.
54731 (expand_dynamic_string_token): Add is_path parameter and pass
54732 down to DL_DST_REQUIRED and _dl_dst_substitute.
54733 (decompose_rpath): Call expand_dynamic_string_token with
54734 non-zero is_path. Ignore empty rpaths.
54735 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54736 with zero is_path.
54737
547382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54739
54740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54741 Make cancelable.
54742
547432011-04-09 Ulrich Drepper <drepper@gmail.com>
54744
54745 [BZ #12655]
54746 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54747 Patch by Filipe David Manana <fdmanana@apache.org>.
54748
547492011-04-07 Andreas Schwab <schwab@redhat.com>
54750
54751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54752 Maintain aligned stack.
54753 (CHECK_RSP): Remove unused macro.
54754
547552011-04-03 Ulrich Drepper <drepper@gmail.com>
54756
54757 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54758 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54759
547602011-04-02 Ulrich Drepper <drepper@gmail.com>
54761
54762 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54763
54764 * include/features.h: Mention __USE_XOPEN2K8 in comment.
54765
547662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54767
54768 [BZ #12518]
54769 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54770 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54771 * sysdeps/x86_64/memmove.c: New file.
54772 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54773 (memcpy): Renamed to ...
54774 (__new_memcpy): This.
54775 (memcpy): Provide GLIBC_2_14 memcpy.
54776 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54777 (memcpy): Provide GLIBC_2_2_5 memcpy.
54778
547792011-04-01 Ulrich Drepper <drepper@gmail.com>
54780
54781 [BZ #12631]
54782 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54783
547842011-03-30 Andreas Schwab <schwab@redhat.com>
54785
54786 * misc/syncfs.c: New file.
54787 * misc/Makefile (routines): Add syncfs.
54788 * posix/unistd.h: Declare syncfs.
54789 * sysdeps/unix/syscalls.list: Add syncfs.
54790
547912011-04-01 Andreas Schwab <schwab@redhat.com>
54792
54793 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54794 open_by_handle_at.
54795 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54800 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54802
548032011-04-01 Ulrich Drepper <drepper@gmail.com>
54804
54805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54807 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54812
54813 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54814 sync_file_range.c with -fexceptions.
54815 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54816 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54817 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54818 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54819 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54820 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54822 sync_file_range as cancellation point
54823 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54824 now a wrapper around __call_sync_file_range with cancellation handling.
54825 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54826 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54827 function name to __call_sync_file_range.
54828 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54829 Add call_sync_file_range.
54830
548312011-04-01 Andreas Schwab <schwab@redhat.com>
54832
54833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54834 bits/timex.h.
54835
548362011-04-01 Ulrich Drepper <drepper@gmail.com>
54837
54838 * iconv/iconv.h: Fix typo in comment.
54839 * io/fcntl.h: Likewise.
54840 * libio/stdio.h: Likewise.
54841 * posix/spawn.h: Likewise.
54842 * posix/unistd.h: Likewise.
54843 * stdlib/stdlib.h: Likewise.
54844 * time/time.h: Likewise.
54845 * wcsmbs/wchar.h: Likewise.
54846
54847 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54848 open_by_handle): Add.
54849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54850 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54851 Augment a few comments.
54852 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54854 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54857 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54858 open_by_handle.
54859
54860 * io/fcntl.h (AT_EMPTY_PATH): Define.
54861
548622011-03-30 Ulrich Drepper <drepper@gmail.com>
54863
54864 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54865 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54866 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54867 to...
54868 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
54869 * Versions.def: Add GLIBC_2.14.
54870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54871 Export.
54872
548732011-03-22 Ulrich Drepper <drepper@gmail.com>
54874
54875 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54876 round counter.
54877 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54878
548792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54880
54881 [BZ #12597]
54882 * string/test-strncmp.c (do_page_test): New function.
54883 (check2): Likewise.
54884 (test_main): Call check2.
54885 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54886
548872011-03-20 Ulrich Drepper <drepper@gmail.com>
54888
54889 [BZ #12587]
54890 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54891 Handle cache information in CPU leaf 4.
54892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54893
548942011-03-18 Ulrich Drepper <drepper@gmail.com>
54895
54896 [BZ #12583]
54897 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54898 character representation.
54899 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54900
549012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54902
54903 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54904 END(__isnan) to END(__isnanf) to match function entry point/label
54905 EALIGN(__isnanf,...).
54906
549072011-03-10 Jakub Jelinek <jakub@redhat.com>
54908
54909 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54910
549112011-03-10 Ulrich Drepper <drepper@gmail.com>
54912
54913 [BZ #12510]
54914 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54915 copy from the symbol referenced in the relocation to initialize the
54916 used variable.
54917 Patch by Piotr Bury <pbury@goahead.com>.
54918 * elf/Makefile: Add rules to build and tst-unique3.
54919 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54920 * elf/tst-unique3.cc: New file.
54921 * elf/tst-unique3.h: New file.
54922 * elf/tst-unique3lib.cc: New file.
54923 * elf/tst-unique3lib2.cc: New file.
54924
54925 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54926
549272011-03-10 Mike Frysinger <vapier@gentoo.org>
54928
54929 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54930 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54931 to _start.
54932
549332011-03-06 Ulrich Drepper <drepper@gmail.com>
54934
54935 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54936 to-be-loaded object along a path to loader is ld.so.
54937
549382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54939 Ulrich Drepper <drepper@gmail.com>
54940
54941 * sysdeps/x86_64/memset.S: After aligning destination, code
54942 branches to different locations depending on the value of
54943 misalignment, when multiarch is enabled. Fix this.
54944
549452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54946
54947 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54948 Set _x86_64_preferred_memory_instruction for AMD processsors.
54949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54950 Set bit_Prefer_SSE_for_memop for AMD processors.
54951
549522011-03-04 Ulrich Drepper <drepper@gmail.com>
54953
54954 * libio/fmemopen.c (fmemopen): Optimize a bit.
54955
549562011-03-03 Andreas Schwab <schwab@redhat.com>
54957
54958 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54959
549602011-03-03 Roland McGrath <roland@redhat.com>
54961
54962 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54963
549642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54965
54966 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54967 __bzero_ultra1 instead of __memset_ultra1.
54968
549692011-02-23 Andreas Schwab <schwab@redhat.com>
54970 Ulrich Drepper <drepper@gmail.com>
54971
54972 [BZ #12509]
54973 * include/link.h (struct link_map): Add l_orig_initfini.
54974 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54975 returning unsuccessfully.
54976 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54977 close of a file loaded at startup, restore the original l_initfini
54978 list.
54979 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54980 list, store the pointer.
54981 * elf/Makefile ($(objpfx)noload-mem): New rule.
54982 (noload-ENV): Define.
54983 (tests): Add $(objpfx)noload-mem.
54984 * elf/noload.c: Include <memcheck.h>.
54985 (main): Call mtrace. Close all opened handles.
54986
549872011-02-17 Andreas Schwab <schwab@redhat.com>
54988
54989 [BZ #12454]
54990 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54991 dependencies are missing.
54992
549932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54994
54995 Fix __if_freereq crash: Unlike the generic version which uses free,
54996 Hurd needs munmap.
54997 * sysdeps/mach/hurd/ifreq.h: New file.
54998
549992011-01-27 Petr Baudis <pasky@suse.cz>
55000 Ulrich Drepper <drepper@gmail.com>
55001
55002 [BZ 12445]#
55003 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55004 to extend_alloca().
55005 * stdio-common/bug23.c: New file.
55006 * stdio-common/Makefile (tests): Add bug23.
55007
550082010-09-28 Andreas Schwab <schwab@redhat.com>
55009 Ulrich Drepper <drepper@gmail.com>
55010
55011 [BZ #12489]
55012 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55013 before performing relro protection. At old place add assertion
55014 to make sure nothing changed.
55015
550162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55017 Glauber de Oliveira Costa <glommer@gmail.com>
55018
55019 * elf/elf.h: Add new ARM TLS relocs.
55020
550212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55022
55023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55024 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55025 cast from r3.
55026 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55027 'tests' variable.
55028 * sysdeps/wordsize-64/tst-writev.c: New file.
55029
550302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55031
55032 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55033 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55034 insns in _dl_start to prevent a TOC reference before relocs are
55035 resolved.
55036
550372011-02-15 Ulrich Drepper <drepper@gmail.com>
55038
55039 [BZ #12469]
55040 * Makeconfig: Remove RANLIB definition.
55041 * Makerules: Don't use RANLIB.
55042 * aclocal.m4: Remove ranlib test.
55043 * configure.in: No need to check for ranlib.
55044 * elf/rtld-Rules: Don't use RANLIB.
55045
550462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55047
55048 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55049 protection macro.
55050 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55051 inclusion protection macro.
55052
55053 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55054 SIGRTMIN and SIGRTMAX and print information in that case only when
55055 SIGRTMIN is defined.
55056
550572011-02-11 Jakub Jelinek <jakub@redhat.com>
55058
55059 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55060 arginfo fn returning -1.
55061
55062 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55063 and thousands string is zero terminated.
55064
550652011-02-03 Andreas Schwab <schwab@redhat.com>
55066
55067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55068 sysdeps/unix/sysv/linux/bits/socket.h.
55069
550702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55071
55072 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55073 (__CPU_COUNT): Remove old macros.
55074 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55075 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55076 (__CPU_ALLOC, __CPU_FREE): Add macros.
55077 (__sched_cpualloc, __sched_cpufree): Add declarations.
55078
550792011-02-05 Ulrich Drepper <drepper@gmail.com>
55080
55081 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55082 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55083 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55084 (readdhstai): Return value of addhstaiX call.
55085 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55086 (addgrbyX): Return value returned by cache_addgr.
55087 (readdgrbyname): Return value returned by addgrbyX.
55088 (readdgrbygid): Likewise.
55089 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55090 (addpwbyX): Return value returned by cache_addpw.
55091 (readdpwbyname): Return value returned by addhstbyX.
55092 (readdpwbyuid): Likewise.
55093 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55094 (addservbyX): Return value returned by cache_addserv.
55095 (readdservbyname): Return value returned by addservbyX:
55096 (readdservbyport): Likewise.
55097 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55098 (addhstbyX): Return value returned by cache_addhst.
55099 (readdhstbyname): Return value returned by addhstbyX.
55100 (readdhstbyaddr): Likewise.
55101 (readdhstbynamev6): Likewise.
55102 (readdhstbyaddrv6): Likewise.
55103 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55104 (readdinitgroups): Return value returned by addinitgroupsX.
55105 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55106 (prune_cache): Keep track of timeout value of re-added entries.
55107 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55108 * nscd/nscd.h: Adjust prototypes of readd* functions.
55109
551102011-02-04 Roland McGrath <roland@redhat.com>
55111
55112 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55113 (nis_stats): Likewise.
55114 * nis/nis_modify.c (nis_modify): Likewise.
55115 * nis/nis_remove.c (nis_remove): Likewise.
55116 * nis/nis_add.c (nis_add): Likewise.
55117
55118 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55119
55120 * posix/fnmatch_loop.c: Add some consts.
55121
55122 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55123
551242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55125
55126 [BZ #12460]
55127 * config.make.in (config-cflags-novzeroupper): Define.
55128 * configure.in: Substitute libc_cv_cc_novzeroupper.
55129 * elf/Makefile (AVX-CFLAGS): Define.
55130 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55131 (CFLAGS-tst-auditmod4a.c): Likewise.
55132 (CFLAGS-tst-auditmod4b.c): Likewise.
55133 (CFLAGS-tst-auditmod6b.c): Likewise.
55134 (CFLAGS-tst-auditmod6c.c): Likewise.
55135 (CFLAGS-tst-auditmod7b.c): Likewise.
55136 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55137
551382011-02-02 Ulrich Drepper <drepper@gmail.com>
55139
55140 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55141 function to the callback.
55142 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55143
551442011-02-02 Andreas Schwab <schwab@redhat.com>
55145
55146 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55147 of errno.
55148
551492011-01-19 Ulrich Drepper <drepper@gmail.com>
55150
55151 [BZ #11724]
55152 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55153 of constructors.
55154 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55155 of destructors.
55156 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55157
55158 [BZ #11724]
55159 * elf/Makefile: Add rules to build and run new test.
55160 * elf/tst-initorder.c: New file.
55161 * elf/tst-initorder.exp: New file.
55162 * elf/tst-initordera1.c: New file.
55163 * elf/tst-initordera2.c: New file.
55164 * elf/tst-initordera3.c: New file.
55165 * elf/tst-initordera4.c: New file.
55166 * elf/tst-initorderb1.c: New file.
55167 * elf/tst-initorderb2.c: New file.
55168 * elf/tst-order-a1.c: New file.
55169 * elf/tst-order-a2.c: New file.
55170 * elf/tst-order-a3.c: New file.
55171 * elf/tst-order-a4.c: New file.
55172 * elf/tst-order-b1.c: New file.
55173 * elf/tst-order-b2.c: New file.
55174 * elf/tst-order-main.c: New file.
55175 New test case by George Gensure <werkt0@gmail.com>.
55176
551772010-10-01 Andreas Schwab <schwab@redhat.com>
55178
55179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55180 decoding ACE if AI_CANONIDN.
55181
551822011-01-18 Ulrich Drepper <drepper@gmail.com>
55183
55184 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55185
551862011-01-17 Ulrich Drepper <drepper@gmail.com>
55187
55188 * version.h (RELEASE): Bump for 2.13 release.
55189 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55190
55191 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55192
55193 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55194 MADV_NOHUGEPAGE.
55195 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55196 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55200 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55201
55202 * posix/getconf.c: Update copyright year.
55203 * catgets/gencat.c: Likewise.
55204 * csu/version.c: Likewise.
55205 * debug/catchsegv.sh: Likewise.
55206 * debug/xtrace.sh: Likewise.
55207 * elf/ldconfig.c: Likewise.
55208 * elf/ldd.bash.in: Likewise.
55209 * elf/sprof.c (print_version): Likewise.
55210 * iconv/iconv_prog.c: Likewise.
55211 * iconv/iconvconfig.c: Likewise.
55212 * locale/programs/locale.c: Likewise.
55213 * locale/programs/localedef.c: Likewise.
55214 * malloc/memusage.sh: Likewise.
55215 * malloc/mtrace.pl: Likewise.
55216 * nscd/nscd.c (print_version): Likewise.
55217 * nss/getent.c: Likewise.
55218
55219 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55220 PF_CAIF, and PF_ALG.
55221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55222
552232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55224
55225 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55226 (modules-names): Use them.
55227 (ifunc-test-modules, ifunc-pie-tests): Define.
55228 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55229 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55230 (test-extras): Likewise.
55231 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55232 $(compile-command.c).
55233 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55234 (all-built-dso): Define.
55235 (check-textrel.out, check-execstack.out): Depend on it.
55236
55237 * configure.in: Don't override --enable-multi-arch.
55238
552392011-01-15 Ulrich Drepper <drepper@gmail.com>
55240
55241 [BZ #6812]
55242 * nscd/hstcache.c (tryagain): Define.
55243 (cache_addhst): Return tryagain not notfound for temporary errors.
55244 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55245 failed.
55246
552472011-01-14 Ulrich Drepper <drepper@gmail.com>
55248
55249 [BZ #10563]
55250 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55251 to make the syscall.
55252 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55253
55254 [BZ #12378]
55255 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55256 and fall back to matching as normal character if the string ends before
55257 the matching ']' is found. This is what POSIX requires.
55258 * posix/testfnm.c: Adjust test result.
55259 * posix/globtest.sh: Adjust test result. Add new test.
55260 * posix/tst-fnmatch.input: Likewise.
55261 * posix/tst-fnmatch2.c: Add new test.
55262
552632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55264
55265 * elf/Makefile (check-execstack): Revert last change. Depend on
55266 check-execstack.h.
55267 (check-execstack.h): New target.
55268 (generated): Add check-execstack.h.
55269 * elf/check-execstack.c: Include "check-execstack.h".
55270 (main): Revert last change.
55271 (handle_file): Return zero if GNU_STACK is absent and
55272 DEFAULT_STACK_PERMS doesn't include PF_X.
55273
552742011-01-13 Ulrich Drepper <drepper@gmail.com>
55275
55276 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55277 in child fails because the descriptor is already closed.
55278 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55279 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55280 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55281
55282 [BZ #12397]
55283 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55284 syscall.
55285
55286 [BZ #10484]
55287 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55288 temporary buffer used to handle multi lookups locally.
55289 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55290
552912011-01-12 Ulrich Drepper <drepper@gmail.com>
55292
55293 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55294 loader is ld.so.
55295
552962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55297
55298 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55299 alignment for SSE2.
55300
553012011-01-12 Ulrich Drepper <drepper@gmail.com>
55302
55303 [BZ #12394]
55304 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55305 characters. When rounding increased number of integer digits recompute
55306 number of groups.
55307 * stdio-common/tst-grouping.c: New file.
55308 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55309
553102011-01-09 Ulrich Drepper <drepper@gmail.com>
55311
55312 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55313 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55314
55315 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55316 void.
55317 * bits/select.h: Likewise.
55318
553192011-01-08 Ulrich Drepper <drepper@gmail.com>
55320
55321 * po/ja.po: Update from translation team.
55322
553232011-01-04 David S. Miller <davem@sunset.davemloft.net>
55324
55325 [BZ #11155]
55326 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55327 implementation just like for lxstat, fxstatat, et al.
55328
553292010-12-27 Jim Meyering <meyering@redhat.com>
55330
55331 [BZ #12348]
55332 * posix/regexec.c (build_trtable): Return failure indication upon
55333 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55334
553352010-12-25 Ulrich Drepper <drepper@gmail.com>
55336
55337 [BZ #12201]
55338 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55339 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55340 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55341 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55342
55343 [BZ #12207]
55344 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55345
55346 [BZ #12204]
55347 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55348 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55349
553502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55351
55352 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55353 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55354 script has SORT_BY_INIT_PRIORITY.
55355 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55356 NO_CTORS_DTORS_SECTIONS is defined.
55357 * elf/soinit.c: Likewise.
55358 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55359 NO_CTORS_DTORS_SECTIONS is defined.
55360 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55361 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55362 * sysdeps/sh/init-first.c: Likewise.
55363 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55364
553652010-12-24 Ulrich Drepper <drepper@gmail.com>
55366
55367 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55368 always use the slow path.
55369
553702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55371
55372 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55373 similar rule which adds the sysdep directories to the header search in
55374 order to pick up the correct platform stackinfo.h.
55375 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55376 perform test if it is, otherwise return successfully without testing.
55377 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55378 DEFAULT_STACK_PERMS define in stackinfo.h.
55379 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55380 defined in stackinfo.h.
55381 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55382 DEFAULT_STACK_PERMS defined in stackinfo.h.
55383 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55384 * sysdeps/ia64/stackinfo.h: Likewise.
55385 * sysdeps/s390/stackinfo.h: Likewise.
55386 * sysdeps/sh/stackinfo.h: Likewise.
55387 * sysdeps/sparc/stackinfo.h: Likewise.
55388 * sysdeps/x86_64/stackinfo.h: Likewise.
55389 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55390 PF_X for powerpc64. Retain PF_X for powerpc32.
55391
553922010-12-19 Ulrich Drepper <drepper@gmail.com>
55393
55394 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55395 accurately.
55396 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55397 GETDENTS_64BIT_ALIGNED.
55398
553992010-12-14 Ulrich Drepper <dreper@gmail.com>
55400
55401 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55402
554032010-12-10 Andreas Schwab <schwab@redhat.com>
55404
55405 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55406 _GNU_SOURCE.
55407
55408 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55409 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55410 Remove __restrict.
55411 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55412 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55413
554142010-12-09 Ulrich Drepper <drepper@gmail.com>
55415
55416 [BZ #11655]
55417 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55418 are initialized.
55419
554202010-12-09 Jakub Jelinek <jakub@redhat.com>
55421
55422 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55423
554242010-12-03 Ulrich Drepper <drepper@gmail.com>
55425
55426 * po/it.po: Update from translation team.
55427
554282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55429
55430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55431 unused codes.
55432
554332010-11-30 Ulrich Drepper <drepper@gmail.com>
55434
55435 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55436
554372010-11-24 Andreas Schwab <schwab@redhat.com>
55438
55439 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55440 specially.
55441 (gaih_getanswer_slice): Likewise.
55442
554432010-10-20 Jakub Jelinek <jakub@redhat.com>
55444
55445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55446
554472010-05-31 Petr Baudis <pasky@suse.cz>
55448
55449 [BZ #11149]
55450 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55451 silently even in the chroot mode.
55452
554532010-11-22 Ulrich Drepper <drepper@gmail.com>
55454
55455 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55456 last patch a bit. Pretty printing
55457
554582010-05-31 Petr Baudis <pasky@suse.cz>
55459
55460 [BZ #10085]
55461 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55462 initialization of skip_initgroups_dyn.
55463
554642010-11-19 Ulrich Drepper <drepper@gmail.com>
55465
55466 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55467 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55468
554692010-11-16 Ulrich Drepper <drepper@gmail.com>
55470
55471 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55472
554732010-11-11 Andreas Schwab <schwab@redhat.com>
55474
55475 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55476 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55477 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55478 ($(objpfx)tst-fnmatch-mem): New rule.
55479 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55480 * posix/tst-fnmatch.c (main): Call mtrace.
55481
554822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55483
55484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55485 Support Intel processor model 6 and model 0x2c.
55486
554872010-11-10 Luis Machado <luisgpm@br.ibm.com>
55488
55489 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55490 signed comparison.
55491
554922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55493
55494 [BZ #12205]
55495 * string/test-strncasecmp.c (check_result): New function.
55496 (do_one_test): Use it.
55497 (check1): New function.
55498 (test_main): Use it.
55499 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55500 Support strcasecmp and strncasecmp.
55501
555022010-11-08 Ulrich Drepper <drepper@gmail.com>
55503
55504 [BZ #12194]
55505 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55506 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55507
555082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55509
55510 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55511 IFUNC support.
55512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55513 memset-x86-64.
55514 * sysdeps/x86_64/multiarch/bzero.S: New file.
55515 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55516 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55517 * sysdeps/x86_64/multiarch/memset.S: New file.
55518 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55520 Set bit_Prefer_SSE_for_memop for Intel processors.
55521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55522 Define.
55523 (index_Prefer_SSE_for_memop): Define.
55524 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55525
555262010-11-04 Luis Machado <luisgpm@br.ibm.com>
55527
55528 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55529 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55530
555312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55532
55533 [BZ #12191]
55534 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55535 (__x86_64_raw_data_cache_size_half): Likewise.
55536 (__x86_64_raw_shared_cache_size): Likewise.
55537 (__x86_64_raw_shared_cache_size_half): Likewise.
55538
55539 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55540 (__x86_64_raw_data_cache_size_half): Likewise.
55541 (__x86_64_raw_shared_cache_size): Likewise.
55542 (__x86_64_raw_shared_cache_size_half): Likewise.
55543 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55544 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55545 and __x86_64_raw_shared_cache_size_half. Round
55546 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55547 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55548 to multiple of 256 bytes.
55549
555502010-11-03 Ulrich Drepper <drepper@gmail.com>
55551
55552 [BZ #12167]
55553 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55554 of inacessible symlinks. Verify result of symlink before returning it.
55555 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55556 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55557
555582010-10-28 Erich Ritz <erichritz@gmail.com>
55559
55560 * math/math.h (isinf): Fix typo in comment.
55561
555622010-11-01 Ulrich Drepper <drepper@gmail.com>
55563
55564 * po/da.po: Update from translation team.
55565
555662010-10-26 Ulrich Drepper <drepper@gmail.com>
55567
55568 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55569 is added to the list.
55570
555712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55572 Ulrich Drepper <drepper@gmail.com>
55573
55574 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55575 the global list here. Move code to...
55576 (_dl_add_to_namespace_list): ...here. New function.
55577 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55578 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55579 * elf/dl-load.c (lose): Don't remove the element from the list.
55580 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55581 (_dl_map_object): Likewise.
55582
555832010-10-25 Ulrich Drepper <drepper@gmail.com>
55584
55585 [BZ #12159]
55586 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55587 into all bytes of SSE register.
55588 Patch by Richard Li <richardpku@gmail.com>.
55589
555902010-10-24 Ulrich Drepper <drepper@gmail.com>
55591
55592 [BZ #12140]
55593 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55594 perturbing.
55595
555962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55597
55598 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55599 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55600 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55601 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55603 submachine.
55604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55605
556062010-10-22 Andreas Schwab <schwab@redhat.com>
55607
55608 * include/dlfcn.h (__RTLD_SECURE): Define.
55609 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55610 mode & __RTLD_SECURE instead.
55611 (open_path): Rename preloaded parameter to secure.
55612 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55613 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55614 * elf/dl-deps.c (openaux): Likewise.
55615 * elf/rtld.c (struct map_args): Remove is_preloaded.
55616 (map_doit): Don't use it.
55617 (dl_main): Likewise.
55618 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55619 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55620
556212010-09-09 Andreas Schwab <schwab@redhat.com>
55622
55623 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55624 (sysd-rules-targets): Remove duplicates.
55625 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55626 rtld-%.$o dependency.
55627
556282010-10-18 Andreas Schwab <schwab@redhat.com>
55629
55630 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55631 _dl_map_object do it.
55632
556332010-10-19 Ulrich Drepper <drepper@gmail.com>
55634
55635 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55636 fast fma builtins, define the macros in the C99 standard.
55637 (FP_FAST_FMAF): Likewise.
55638 (FP_FAST_FMAL): Likewise.
55639 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55640
55641 * bits/mathdef.h: Update copyright year.
55642 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55643
556442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55645
55646 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55647 builtins, define the macros in the C99 standard.
55648 (FP_FAST_FMAF): Likewise.
55649 (FP_FAST_FMAL): Likewise.
55650 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55651 multiply/add.
55652 (FP_FAST_FMAF): Likewise.
55653
556542010-10-15 Jakub Jelinek <jakub@redhat.com>
55655
55656 [BZ #3268]
55657 * math/libm-test.inc (fma_test): Some new testcases.
55658 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55659 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55660 y and infinite z. Do multiplication by C already in long double.
55661 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55663 y and infinite z. Do bitwise or of inexact bit into u.d.
55664 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55665 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55666 * sysdeps/i386/fpu/s_fma.S: Removed.
55667 * sysdeps/i386/fpu/s_fmal.S: Removed.
55668
556692010-10-16 Jakub Jelinek <jakub@redhat.com>
55670
55671 [BZ #3268]
55672 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55674 computation is not scheduled after fetestexcept. Fix value
55675 of minimum denormal long double.
55676
556772010-10-14 Jakub Jelinek <jakub@redhat.com>
55678
55679 [BZ #3268]
55680 * math/libm-test.inc (fma_test): Add some more tests.
55681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55682 correctly.
55683
556842010-10-15 Andreas Schwab <schwab@redhat.com>
55685
55686 * scripts/data/localplt-s390-linux-gnu.data: New file.
55687 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55688
556892010-10-13 Jakub Jelinek <jakub@redhat.com>
55690
55691 [BZ #3268]
55692 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55693 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55694 instead of dbl-64.
55695 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55696 inlines.
55697 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55699 if one of x and y is very large and the other is subnormal.
55700 * sysdeps/s390/fpu/s_fmaf.c: New file.
55701 * sysdeps/s390/fpu/s_fma.c: New file.
55702 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55703 * sysdeps/powerpc/fpu/s_fma.S: New file.
55704 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55705 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55706 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55707
557082010-10-12 Jakub Jelinek <jakub@redhat.com>
55709
55710 [BZ #3268]
55711 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55712 fma tests.
55713 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55714 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55715 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55716 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55717 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55718 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55719 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55720
557212010-10-12 Ulrich Drepper <drepper@redhat.com>
55722
55723 [BZ #12078]
55724 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55725 * posix/bug-regex31.input: Add test case.
55726
557272010-10-11 Ulrich Drepper <drepper@gmail.com>
55728
55729 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55730 * posix/bug-regex31.input: New file.
55731
55732 [BZ #12078]
55733 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55734 (parse_sub_exp): Fix last change, use postorder.
55735
55736 * posix/bug-regex31.c: New file.
55737 * posix/Makefile: Add rules to build and run bug-regex31.
55738
55739 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55740
55741 [BZ #12078]
55742 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55743
55744 [BZ #12108]
55745 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55746 to have entries in sys_siglist.
55747
55748 [BZ #12093]
55749 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55750 be NULL.
55751
557522010-10-07 Jakub Jelinek <jakub@redhat.com>
55753
55754 [BZ #3268]
55755 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55756 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55757 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55758 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55759 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55760 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55761 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55762 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55763 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55764 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55765 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55766 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55767 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55768 * math/ftestexcept.c (fetestexcept): Likewise.
55769 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55770 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55771 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55772 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55773 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55774 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55776
557772010-10-11 Ulrich Drepper <drepper@gmail.com>
55778
55779 [BZ #12107]
55780 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55781 newline.
55782
557832010-10-06 Ulrich Drepper <drepper@gmail.com>
55784
55785 * string/bug-strstr1.c: New file.
55786 * string/Makefile: Add rules to build and run bug-strstr1.
55787
557882010-10-05 Eric Blake <eblake@redhat.com>
55789
55790 [BZ #12092]
55791 * string/str-two-way.h (two_way_long_needle): Always clear memory
55792 when skipping input due to the shift table.
55793
557942010-10-03 Ulrich Drepper <drepper@gmail.com>
55795
55796 [BZ #12005]
55797 * malloc/mcheck.c: Handle large requests.
55798
55799 [BZ #12077]
55800 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55801 for strncmp and strncasecmp.
55802 * string/stratcliff.c: Add tests for strcmp and strncmp.
55803 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55804
558052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55806
55807 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55808 __set_fpscr.
55809
558102010-09-30 Andreas Jaeger <aj@suse.de>
55811
55812 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55813 (CGROUP_SUPER_MAGIC): Define.
55814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55815 Handle btrfs and cgroup file systems.
55816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55817 Likewise.
55818
558192010-09-27 Luis Machado <luisgpm@br.ibm.com>
55820
55821 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55822 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55823
558242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55825
55826 [BZ #12067]
55827 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55828 trying to locate the ELF header.
55829
558302010-09-27 Andreas Schwab <schwab@redhat.com>
55831
55832 [BZ #11611]
55833 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55834 Mask out sign-bit copies when constructing f_fsid.
55835
558362010-09-24 Petr Baudis <pasky@suse.cz>
55837
55838 * debug/stack_chk_fail_local.c: Add missing licence exception.
55839 * debug/warning-nop.c: Likewise.
55840
558412010-09-15 Joseph Myers <joseph@codesourcery.com>
55842
55843 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55844 implementing getdents64 using getdents syscall, set d_type if
55845 __ASSUME_GETDENTS32_D_TYPE.
55846
558472010-09-16 Andreas Schwab <schwab@redhat.com>
55848
55849 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55850 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55851
558522010-09-21 Ulrich Drepper <drepper@redhat.com>
55853
55854 [BZ #12037]
55855 * posix/unistd.h: Undo change of feature selection for ftruncate from
55856 2010-01-11.
55857
558582010-09-20 Ulrich Drepper <drepper@redhat.com>
55859
55860 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55861 detection.
55862
558632010-09-20 Andreas Schwab <schwab@redhat.com>
55864
55865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55866 fanotify_mark.
55867 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55868
558692010-09-14 Andreas Schwab <schwab@redhat.com>
55870
55871 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55872 variables after CHECK_SP call.
55873 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55874
558752010-09-13 Andreas Schwab <schwab@redhat.com>
55876 Ulrich Drepper <drepper@redhat.com>
55877
55878 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55879 re-relocationg ld.so.
55880 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55881 _dl_init_paths call.
55882 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55883 here anymore.
55884
558852010-09-14 Ulrich Drepper <drepper@redhat.com>
55886
55887 * resolv/res_init.c (__res_vinit): Count the default server we added.
55888
558892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55890 Ulrich Drepper <drepper@redhat.com>
55891
55892 [BZ #11968]
55893 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55894 (____longjmp_chk): Use %ebx for saving value across system call.
55895 Add unwind info.
55896
558972010-09-06 Andreas Schwab <schwab@redhat.com>
55898
55899 * manual/Makefile: Don't mix pattern rules with normal rules.
55900
559012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55902
55903 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55904 operation.
55905 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55906 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55907 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55908 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55909 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55910 Likewise.
55911
559122010-09-04 Ulrich Drepper <drepper@redhat.com>
55913
55914 [BZ #11979]
55915 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55916 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55917
559182010-09-02 Ulrich Drepper <drepper@redhat.com>
55919
55920 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55921 * sysdeps/x86_64/addmul_1.S: Likewise.
55922 * sysdeps/x86_64/lshift.S: Likewise.
55923 * sysdeps/x86_64/mul_1.S: Likewise.
55924 * sysdeps/x86_64/rshift.S: Likewise.
55925 * sysdeps/x86_64/sub_n.S: Likewise.
55926 * sysdeps/x86_64/submul_1.S: Likewise.
55927
559282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55929
55930 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55931 Define __sched_param instead of SCHED_* and sched_param when
55932 <bits/sched.h> is included with __need_schedparam defined.
55933 * bits/sched.h [__need_schedparam]
55934 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55935 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55936 (__defined_schedparam): Define to 1.
55937 (__sched_param): New structure, identical to sched_param.
55938 (__need_schedparam): Undefine.
55939
559402010-08-31 Mike Frysinger <vapier@gentoo.org>
55941
55942 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55943 (epoll_create1): Declare.
55944
55945 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55946
559472010-08-31 Andreas Schwab <schwab@redhat.com>
55948
55949 [BZ #7066]
55950 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55951 shifting retval into place.
55952
559532010-09-01 Ulrich Drepper <drepper@redhat.com>
55954
55955 * nis/rpcsvc/nis.h: Update copyright notice.
55956 * nis/rpcsvc/nis.x: Likewise.
55957 * nis/rpcsvc/nis_callback.h: Likewise.
55958 * nis/rpcsvc/nis_callback.x: Likewise.
55959 * nis/rpcsvc/nis_object.x: Likewise.
55960 * nis/rpcsvc/nis_tags.h: Likewise.
55961 * nis/rpcsvc/yp.h: Likewise.
55962 * nis/rpcsvc/yp.x: Likewise.
55963 * nis/rpcsvc/ypupd.h: Likewise.
55964 * nis/yp_xdr.c: Likewise.
55965 * nis/ypupdate_xdr.c: Likewise.
55966
55967 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55968 mainly the body of pmap_getport. Add parameters to specify timeouts.
55969 (pmap_getport): Use __libc_rpc_getport.
55970 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55971 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55972 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55973
559742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55975
55976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55977 fanotify_mark.
55978
559792010-08-27 Roland McGrath <roland@redhat.com>
55980
55981 * sysdeps/i386/i686/multiarch/Makefile
55982 (CFLAGS-varshift.c): New variable.
55983
559842010-08-27 Ulrich Drepper <drepper@redhat.com>
55985
55986 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55987 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55988
55989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55990
55991 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55992
559932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55994
55995 * sysdeps/x86_64/strlen.S: Unroll the loop.
55996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55997 strlen-sse2 strlen-sse2-bsf.
55998 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55999 __strlen_no_bsf if bit_Slow_BSF is set.
56000 (__strlen_sse42): Removed.
56001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56002 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56003
560042010-08-25 Roland McGrath <roland@redhat.com>
56005
56006 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56007 * sysdeps/x86_64/multiarch/varshift.c: New file.
56008 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56009 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56010 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56011 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56012
560132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56014
56015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56016 strlen-sse2 strlen-sse2-bsf.
56017 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56018 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56019 (__strlen_sse2): Removed.
56020 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56023 bit_Slow_BSF for Atom.
56024 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56025 (index_Slow_BSF): Define.
56026 (HAS_SLOW_BSF): Define.
56027
560282010-08-25 Ulrich Drepper <drepper@redhat.com>
56029
56030 [BZ #10851]
56031 * resolv/res_init.c (__res_vinit): When no server address at all
56032 is given default to loopback.
56033
560342010-08-24 Roland McGrath <roland@redhat.com>
56035
56036 * configure.in: Remove config-name.h generation.
56037 * configure: Regenerated.
56038 * config-name.in: File removed.
56039 * scripts/config-uname.sh: New file.
56040 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56041 ($(objdir)config-name.h): New target.
56042
56043 * sunrpc/rpc_parse.h: Avoid nested comment.
56044
560452010-08-24 Richard Henderson <rth@redhat.com>
56046 Ulrich Drepper <drepper@redhat.com>
56047 H.J. Lu <hongjiu.lu@intel.com>
56048
56049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56051 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56052 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56053 _mm_alignr_epi8 with _mm_loadu_si128.
56054 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56055 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56056 (__m128i_shift_right): Removed.
56057 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56058 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56059 * sysdeps/x86_64/multiarch/varshift.h: New file.
56060 * sysdeps/x86_64/multiarch/varshift.S: New file.
56061
560622010-08-21 Mike Frysinger <vapier@gentoo.org>
56063
56064 * configure.in: Move assembler checks to before sysdep dir checking.
56065
560662010-08-20 Petr Baudis <pasky@suse.cz>
56067
56068 * LICENSES: Sync the sunrpc license.
56069
560702010-08-19 Ulrich Drepper <drepper@redhat.com>
56071
56072 * sunrpc/auth_des.c: Update copyright notice once again.
56073 * sunrpc/auth_none.c: Likewise.
56074 * sunrpc/auth_unix.c: Likewise.
56075 * sunrpc/authdes_prot.c: Likewise.
56076 * sunrpc/authuxprot.c: Likewise.
56077 * sunrpc/bindrsvprt.c: Likewise.
56078 * sunrpc/clnt_gen.c: Likewise.
56079 * sunrpc/clnt_perr.c: Likewise.
56080 * sunrpc/clnt_raw.c: Likewise.
56081 * sunrpc/clnt_simp.c: Likewise.
56082 * sunrpc/clnt_tcp.c: Likewise.
56083 * sunrpc/clnt_udp.c: Likewise.
56084 * sunrpc/clnt_unix.c: Likewise.
56085 * sunrpc/des_crypt.c: Likewise.
56086 * sunrpc/des_soft.c: Likewise.
56087 * sunrpc/get_myaddr.c: Likewise.
56088 * sunrpc/getrpcport.c: Likewise.
56089 * sunrpc/key_call.c: Likewise.
56090 * sunrpc/key_prot.c: Likewise.
56091 * sunrpc/openchild.c: Likewise.
56092 * sunrpc/pm_getmaps.c: Likewise.
56093 * sunrpc/pm_getport.c: Likewise.
56094 * sunrpc/pmap_clnt.c: Likewise.
56095 * sunrpc/pmap_prot.c: Likewise.
56096 * sunrpc/pmap_prot2.c: Likewise.
56097 * sunrpc/pmap_rmt.c: Likewise.
56098 * sunrpc/rpc/auth.h: Likewise.
56099 * sunrpc/rpc/auth_unix.h: Likewise.
56100 * sunrpc/rpc/clnt.h: Likewise.
56101 * sunrpc/rpc/des_crypt.h: Likewise.
56102 * sunrpc/rpc/key_prot.h: Likewise.
56103 * sunrpc/rpc/netdb.h: Likewise.
56104 * sunrpc/rpc/pmap_clnt.h: Likewise.
56105 * sunrpc/rpc/pmap_prot.h: Likewise.
56106 * sunrpc/rpc/pmap_rmt.h: Likewise.
56107 * sunrpc/rpc/rpc.h: Likewise.
56108 * sunrpc/rpc/rpc_des.h: Likewise.
56109 * sunrpc/rpc/rpc_msg.h: Likewise.
56110 * sunrpc/rpc/svc.h: Likewise.
56111 * sunrpc/rpc/svc_auth.h: Likewise.
56112 * sunrpc/rpc/types.h: Likewise.
56113 * sunrpc/rpc/xdr.h: Likewise.
56114 * sunrpc/rpc_clntout.c: Likewise.
56115 * sunrpc/rpc_cmsg.c: Likewise.
56116 * sunrpc/rpc_common.c: Likewise.
56117 * sunrpc/rpc_cout.c: Likewise.
56118 * sunrpc/rpc_dtable.c: Likewise.
56119 * sunrpc/rpc_hout.c: Likewise.
56120 * sunrpc/rpc_main.c: Likewise.
56121 * sunrpc/rpc_parse.c: Likewise.
56122 * sunrpc/rpc_parse.h: Likewise.
56123 * sunrpc/rpc_prot.c: Likewise.
56124 * sunrpc/rpc_sample.c: Likewise.
56125 * sunrpc/rpc_scan.c: Likewise.
56126 * sunrpc/rpc_scan.h: Likewise.
56127 * sunrpc/rpc_svcout.c: Likewise.
56128 * sunrpc/rpc_tblout.c: Likewise.
56129 * sunrpc/rpc_util.c: Likewise.
56130 * sunrpc/rpc_util.h: Likewise.
56131 * sunrpc/rpcinfo.c: Likewise.
56132 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56133 * sunrpc/rpcsvc/key_prot.x: Likewise.
56134 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56135 * sunrpc/rpcsvc/mount.x: Likewise.
56136 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56137 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56138 * sunrpc/rpcsvc/rex.x: Likewise.
56139 * sunrpc/rpcsvc/rstat.x: Likewise.
56140 * sunrpc/rpcsvc/rusers.x: Likewise.
56141 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56142 * sunrpc/rpcsvc/spray.x: Likewise.
56143 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56144 * sunrpc/rtime.c: Likewise.
56145 * sunrpc/svc.c: Likewise.
56146 * sunrpc/svc_auth.c: Likewise.
56147 * sunrpc/svc_authux.c: Likewise.
56148 * sunrpc/svc_raw.c: Likewise.
56149 * sunrpc/svc_run.c: Likewise.
56150 * sunrpc/svc_simple.c: Likewise.
56151 * sunrpc/svc_tcp.c: Likewise.
56152 * sunrpc/svc_udp.c: Likewise.
56153 * sunrpc/svc_unix.c: Likewise.
56154 * sunrpc/svcauth_des.c: Likewise.
56155 * sunrpc/xcrypt.c: Likewise.
56156 * sunrpc/xdr.c: Likewise.
56157 * sunrpc/xdr_array.c: Likewise.
56158 * sunrpc/xdr_float.c: Likewise.
56159 * sunrpc/xdr_mem.c: Likewise.
56160 * sunrpc/xdr_rec.c: Likewise.
56161 * sunrpc/xdr_ref.c: Likewise.
56162 * sunrpc/xdr_sizeof.c: Likewise.
56163 * sunrpc/xdr_stdio.c: Likewise.
56164
56165 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56166 handling.
56167
561682010-08-19 Andreas Schwab <schwab@redhat.com>
56169
56170 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56171
561722010-08-19 Luis Machado <luisgpm@br.ibm.com>
56173
56174 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56175 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56176 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56177 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56178 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56179 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56180 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56181 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56182 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56183 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56184 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56185 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56186 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56187 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56188
561892010-07-26 Anton Blanchard <anton@samba.org>
56190
56191 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56192 * malloc/arena.c (heap_trim): Likewise.
56193
561942010-08-16 Ulrich Drepper <drepper@redhat.com>
56195
56196 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56197 here. Not...
56198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56199 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56200
562012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56202
56203 * sysdeps/i386/elf/Makefile: New file.
56204
562052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56206
56207 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56208 from fanotify_init.
56209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56211
562122010-08-15 Ulrich Drepper <drepper@redhat.com>
56213
56214 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56215 of strncasecmp_l.
56216 * sysdeps/multiarch/strcmp.S: Likewise.
56217
562182010-08-14 Ulrich Drepper <drepper@redhat.com>
56219
56220 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56221 strncase_l-nonascii.
56222 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56223 Add strncase_l-ssse3.
56224 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56225 * sysdeps/x86_64/strcmp.S: Likewise.
56226 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56227 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56228 * sysdeps/x86_64/strncase.S: New file.
56229 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56230 * sysdeps/x86_64/strncase_l.S: New file.
56231 * string/Makefile (strop-tests): Add strncasecmp.
56232 * string/test-strncasecmp.c: New file.
56233
56234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56235 warning.
56236
56237 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56238 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56239
562402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56241
56242 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56243
562442010-08-12 Ulrich Drepper <drepper@redhat.com>
56245
56246 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56247 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56248 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56249
562502010-05-01 Alan Modra <amodra@gmail.com>
56251
56252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56253 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56254 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56255 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56256 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56257 tidying. Don't tail-call __sigjmp_save for static lib.
56258 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56259 save location.
56260 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56261 (CALL_MCOUNT): Add eh info, and nop after bl.
56262 (TAIL_CALL_SYSCALL_ERROR): New macro.
56263 (PSEUDO_RET): Use it.
56264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56265 Correct save location of integer regs and cr.
56266 (_dl_profile_resolve): Correct cr save location. Delete nops
56267 after bl when SHARED. Reduce cfi size a little by better
56268 placement of cfi directives.
56269 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56270 make a stack frame. Instead use parm save area as a temp.
56271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56272 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56274 Don't make a stack frame for parent, use parm save area.
56275 Increase child stack frame to 112 bytes. Don't save unused reg,
56276 and adjust reg usage. Set up cfi on error recovery and
56277 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56279 (__makecontext): Add dummy nop after jump to exit.
56280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56281 Use correct parm save area and cr save, reduce stack frame.
56282 Correct cfi for possible PSEUDO_RET frame setup.
56283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56284 Branch to local label emitted by PSEUDO_RET rather than
56285 __syscall_error.
56286
562872010-08-12 Andreas Schwab <schwab@redhat.com>
56288
56289 [BZ #11904]
56290 * locale/programs/locale.c (print_assignment): New function.
56291 (show_locale_vars): Use it.
56292
562932010-08-11 Ulrich Drepper <drepper@redhat.com>
56294
56295 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56296 field.
56297 (struct statfs64): Likewise.
56298 (_STATFS_F_FLAGS): Define.
56299 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56301 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56302 (ST_VALID): Define locally.
56303 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56304 __statvfs_getflags, use the provided value.
56305 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56306 __ASSUME_STATFS_F_FLAGS.
56307
56308 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56309
56310 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56311 Add sys/fanotify.h.
56312 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56313 fanotify_mask for GLIBC_2.13.
56314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56315 fanotify_init and fanotify_mark.
56316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56317 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56318
56319 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56320 Add prlimit.
56321 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56322 prlimit64 for GLIBC_2.13.
56323 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56324 prlimit64.
56325 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56326 syscall.
56327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56328 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56329 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56332 add prlimit alias.
56333 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56334
56335 [BZ #11903]
56336 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56337 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56338
56339 * nss/Makefile: Add rules to build and run tst-nss-test1.
56340 * shlib-versions: Add entry for libnss_test1.
56341 * nss/nss_test1.c: New file.
56342 * nss/tst-nss-test1.c: New file.
56343
56344 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56345 (__nss_configure_lookup): Set appropriate entry in
56346 __nss_configure_lookup to true.
56347 * nss/nsswitch.h: Define enum with indeces of databases in
56348 databases and __nss_database_custom arrays. Declare
56349 __nss_database_custom.
56350 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56351 to avoid using nscd when custom rules are installed.
56352 * nss/getXXbyYY_r.c: Likewise.
56353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56354
56355 * nss/nss_files/files-parse.c: Whitespace fixes.
56356
563572010-08-09 Ulrich Drepper <drepper@redhat.com>
56358
56359 [BZ #11883]
56360 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56361 * posix/fnmatch_loop.c: Likewise.
56362
563632010-07-17 Andi Kleen <ak@linux.intel.com>
56364
56365 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56366 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56367 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56368 * Versions.def [GLIBC_2.13]: Add.
56369
563702010-08-06 Ulrich Drepper <drepper@redhat.com>
56371
56372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56373 Also fail if tpwd after pwuid call is NULL.
56374
563752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56376
56377 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56378 when converting to ms.
56379
563802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56381
56382 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56383 EOPNOTSUPP errors with ENOTTY.
56384 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56385 EOPNOTSUPP errors with ENOTTY.
56386
563872010-07-31 Ulrich Drepper <drepper@redhat.com>
56388
56389 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56390 Add strcasecmp_l-ssse3.
56391 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56392 strcasecmp.
56393 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56394 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56395 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56396
563972010-07-30 Ulrich Drepper <drepper@redhat.com>
56398
56399 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56400
56401 * string/Makefile (strop-tests): Add strcasecmp.
56402 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56403 strcasecmp_l-nonascii.
56404 (gen-as-const-headers): Add locale-defines.sym.
56405 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56406 * sysdeps/x86_64/strcasecmp.S: New file.
56407 * sysdeps/x86_64/strcasecmp_l.S: New file.
56408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56409 * sysdeps/x86_64/locale-defines.sym: New file.
56410 * string/test-strcasecmp.c: New file.
56411
56412 * string/test-strcasestr.c: Test both ends of the range of characters.
56413 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56414
564152010-07-29 Roland McGrath <roland@redhat.com>
56416
56417 [BZ #11856]
56418 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56419
564202010-07-27 Ulrich Drepper <drepper@redhat.com>
56421
56422 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56423 for ld.so.
56424
564252010-07-27 Andreas Schwab <schwab@redhat.com>
56426
56427 * manual/memory.texi (Malloc Tunable Parameters): Document
56428 M_PERTURB.
56429
564302010-07-26 Roland McGrath <roland@redhat.com>
56431
56432 [BZ #11840]
56433 * configure.in (-fgnu89-inline check): Set and substitute
56434 gnu89_inline, not libc_cv_gnu89_inline.
56435 * configure: Regenerated.
56436 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56437
564382010-07-26 Ulrich Drepper <drepper@redhat.com>
56439
56440 * string/test-strnlen.c: New file.
56441 * string/Makefile (strop-tests): Add strnlen.
56442 * string/tester.c (test_strnlen): Add a few more test cases.
56443 * string/tst-strlen.c: Better error reporting.
56444
56445 * sysdeps/x86_64/strnlen.S: New file.
56446
564472010-07-24 Ulrich Drepper <drepper@redhat.com>
56448
56449 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56450 lower-latency instructions.
56451
564522010-07-23 Ulrich Drepper <drepper@redhat.com>
56453
56454 * string/test-strcasestr.c: New file.
56455 * string/test-strstr.c: New file.
56456 * string/Makefile (strop-tests): Add strstr and strcasestr.
56457 * string/str-two-way.h: Don't undefine MAX.
56458 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56459
564602010-07-21 Andreas Schwab <schwab@redhat.com>
56461
56462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56463 strcasestr-nonascii.
56464 (CFLAGS-strcasestr-nonascii.c): Define.
56465 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56467 Remove unused attribute.
56468
564692010-07-20 Roland McGrath <roland@redhat.com>
56470
56471 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56472 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56473 ld.so.cache was broken. With it, there is no way to disable dsocaps
56474 like LD_HWCAP_MASK can disable hwcaps.
56475
564762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56477
56478 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56479
564802010-07-16 Ulrich Drepper <drepper@redhat.com>
56481
56482 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56483 call in strcasestr.
56484 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56485 __strcasestr_sse42_nonascii.
56486 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56487 strcasestr-nonascii.c.
56488 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56489
564902010-06-15 Luis Machado <luisgpm@br.ibm.com>
56491
56492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56493 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56494 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56495 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56496
564972010-07-09 Ulrich Drepper <drepper@redhat.com>
56498
56499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56500 fcntl.
56501
565022010-07-06 Andreas Schwab <schwab@redhat.com>
56503
56504 [BZ #11577]
56505 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56506 dl_signal_cerror.
56507
565082010-07-06 Ulrich Drepper <drepper@redhat.com>
56509
56510 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56511 _PC_PIPE_BUF using F_GETPIPE_SZ.
56512
565132010-07-05 Roland McGrath <roland@redhat.com>
56514
56515 * manual/arith.texi (Rounding Functions): Fix rint description
56516 implicit in round description.
56517
565182010-07-02 Ulrich Drepper <drepper@redhat.com>
56519
56520 * elf/Makefile: Fix linking for a few tests to make recent linker
56521 happy.
56522
565232010-06-30 Andreas Schwab <schwab@redhat.com>
56524
56525 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56526 $(common-objpfx)libc_nonshared.a.
56527
565282010-06-21 Luis Machado <luisgpm@br.ibm.com>
56529
56530 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56531 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56532 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56533 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56534 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56535 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56536 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56537 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56552 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56553 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56554 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56555 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56556 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56557 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56558 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56559 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56560 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56561 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56562 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56563 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56578
565792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56580
56581 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56582 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56583 * string/memmove.c (memmove): Renamed to ...
56584 (MEMMOVE): ...this. Default to memmove.
56585 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56586 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56587 (END_CHK): Define.
56588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56589 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56590 mempcpy-ssse3-back memmove-ssse3-back.
56591 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56594 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56595 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56596 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56597 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56598 * sysdeps/x86_64/multiarch/memmove.c: New file.
56599 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56600 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56601 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56602 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56604 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56605 Define.
56606 (index_Fast_Copy_Backward): Define.
56607 (HAS_ARCH_FEATURE): Define.
56608 (HAS_FAST_REP_STRING): Define.
56609 (HAS_FAST_COPY_BACKWARD): Define.
56610
566112010-06-21 Andreas Schwab <schwab@redhat.com>
56612
56613 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56614 Restore proper fallback handling.
56615
566162010-06-19 Ulrich Drepper <drepper@redhat.com>
56617
56618 [BZ #11701]
56619 * posix/group_member.c (__group_member): Correct checking loop.
56620
56621 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56622 OOM in getpwuid_r correctly. Return error number when the caller
56623 should return, otherwise -1.
56624 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56625 call returning > 0 value.
56626 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56627
566282010-06-07 Andreas Schwab <schwab@redhat.com>
56629
56630 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56631 libc_nonshared.a from targets in modules-names.
56632
566332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56634
56635 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56636 requires it.
56637
566382010-06-10 Luis Machado <luisgpm@br.ibm.com>
56639
56640 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56641 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56644
566452010-06-02 Andreas Schwab <schwab@redhat.com>
56646
56647 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56648
566492010-06-14 Ulrich Drepper <drepper@redhat.com>
56650
56651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56652 and F_GETPIPE_SZ.
56653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56657 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56658 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56659
566602010-06-14 Roland McGrath <roland@redhat.com>
56661
56662 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56663
566642010-06-07 Jakub Jelinek <jakub@redhat.com>
56665
56666 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56667 __REDIRECT followed by __THROW.
56668 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56669 * posix/getopt.h (getopt): Likewise.
56670
566712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56672
56673 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56674 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56675 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56676 in AT_FLAGS.
56677 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56678 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56679
566802010-05-28 Luis Machado <luisgpm@br.ibm.com>
56681
56682 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56683
566842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56685
56686 [BZ #11640]
56687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56688 Properly check family and model.
56689
566902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56691
56692 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56693
566942010-05-24 Luis Machado <luisgpm@br.ibm.com>
56695
56696 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56697
566982010-05-21 Ulrich Drepper <drepper@redhat.com>
56699
56700 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56701 symbol reference.
56702
567032010-05-19 Andreas Schwab <schwab@redhat.com>
56704
56705 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56706 symbol reference.
56707
567082010-05-21 Andreas Schwab <schwab@redhat.com>
56709
56710 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56711 and internal_recvmmsg.
56712 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56713 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56714 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56715 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56716
56717 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56718 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56719 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56720
567212010-05-20 Andreas Schwab <schwab@redhat.com>
56722
56723 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56724
567252010-05-17 Luis Machado <luisgpm@br.ibm.com>
56726
56727 POWER7 optimizations.
56728 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56729 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56730
567312010-05-19 Ulrich Drepper <drepper@redhat.com>
56732
56733 * version.h: Update for 2.13 development version.
56734
567352010-05-12 Andrew Stubbs <ams@codesourcery.com>
56736
56737 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56738 exceptions. Return 0.
56739
567402010-05-07 Roland McGrath <roland@redhat.com>
56741
56742 * elf/ldconfig.c (main): Add a const.
56743
567442010-05-06 Ulrich Drepper <drepper@redhat.com>
56745
56746 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56747 (args_options): Add no-idn option.
56748 (ahosts_keys_int): Add idn_flags to ai_flags.
56749 (parse_option): Handle 'i' option to clear idn_flags.
56750
56751 * malloc/malloc.c (_int_free): Possible race in the most recently
56752 added check. Only act on the data if no current modification
56753 happened.
56754
56755See ChangeLog.17 for earlier changes.