1 2012-11-30 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4 second, differently-typed declaration, rather than a cast.
6 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9 * include/rpc/svc.h: ... here.
11 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15 depending n and resplen2 to catch cases where answer
18 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27 2012-11-29 Roland McGrath <roland@hack.frob.com>
29 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31 2012-11-28 Jeff Law <law@redhat.com>
34 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35 dataset_temporary. Track alloca usage into alloca_used.
36 If dataset is large allocate and release it via malloc/free.
38 2012-06-04 Florian Weimer <fweimer@redhat.com>
41 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43 2012-11-28 David S. Miller <davem@davemloft.net>
45 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47 2012-11-28 Joseph Myers <joseph@codesourcery.com>
50 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51 of pi/2 rounded to nearest to 64 bits.
52 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57 2012-11-28 Jeff Law <law@redhat.com>
58 Martin Osvald <mosvald@redhat.com>
61 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62 * sunrpc/svc.c: Include time.h.
63 (__svc_accept_failed): New function.
64 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65 any reason other than EINTR, call __svc_accept_failed.
66 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
69 2012-11-28 Andreas Schwab <schwab@suse.de>
71 * scripts/abilist.awk: Also handle indirect functions in .opd
74 2012-11-28 Joseph Myers <joseph@codesourcery.com>
77 * sysdeps/x86/fpu/powl_helper.c: New file.
78 * sysdeps/x86/fpu/Makefile: Likewise.
79 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
81 (__ieee754_powl): Use __powl_helper for finite arguments except
82 integer exponents below 8.
83 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
85 (__ieee754_powl): Use __powl_helper for finite arguments except
86 integer exponents below 8.
87 * math/libm-test.inc (pow_test): Add more tests and enable some
88 previously disabled tests.
89 * sysdeps/i386/fpu/libm-test-ulps: Update.
90 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
93 Carlos O'Donell <carlos_odonell@mentor.com>
95 * nss/makedb.c (is_prime): Assert that input is odd and greater
96 than 4. Note that fact in a comment too.
97 (next_prime): Add 4 to input.
99 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * libio/Makefile (tests): Add test case tst-fwrite-error.
103 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
104 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
105 * libio/tst-fwrite-error.c: New test case.
107 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
109 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
110 before casting to void *.
111 * include/libc-internal.h (__pointer_type): New macro.
112 (__integer_if_pointer_type_sub): Likewise.
113 (__integer_if_pointer_type): Likewise.
114 (cast_to_integer): Likewise.
115 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
116 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
117 before casting to atomic64_t.
118 (atomic_exchange_acq): Likewise.
119 (__arch_exchange_and_add_body): Likewise.
120 (__arch_add_body): Likewise.
121 (atomic_add_negative): Likewise.
122 (atomic_add_zero): Likewise.
124 2012-11-26 Joseph Myers <joseph@codesourcery.com>
126 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
127 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
128 (add_fdes): Likewise.
129 (linear_search_fdes): Likewise.
130 (binary_search_unencoded_fdes): Likewise.
132 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
134 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
136 2012-11-24 Adam Conrad <adconrad@0c3.net>
138 * configure.in: Autodetect C++ header directories.
139 * configure: Regenerated.
141 2012-11-23 Mike Frysinger <vapier@gentoo.org>
143 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
145 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
149 2012-11-22 Joseph Myers <joseph@codesourcery.com>
151 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
152 LDBL_MANT_DIG == 106]: Disable some tests.
153 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
155 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
160 input for small inputs. Return +/- pi/2 for large inputs.
161 * math/libm-test.inc (atan_test): Add more tests.
163 * sysdeps/generic/unwind-dw2-fde-glibc.c
164 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
165 __attribute__ ((unused)).
168 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
169 x * y if x and y are nonzero and z is zero.
172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
173 nonzero exponents with absolute value below 0x1p-117 to +/-
177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
178 up arguments below 2**-450, not just those below 2**-500.
179 * math/libm-test.inc (hypot_test): Add another test.
182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
183 Return a+b for ratio over 2**120, not 2**60.
184 * math/libm-test.inc (hypot_test): Add another test.
186 * math/libm-test.inc (clog_test): Use
187 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
188 (clog10_test): Likewise.
191 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
193 2012-11-22 Andreas Schwab <schwab@suse.de>
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
197 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
199 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
200 printf output with newline.
202 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
205 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
206 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
207 -z nodlopen, -z initfirst and -z execstack support.
208 * configure: Regenerated.
210 * elf/elf.h (DF_1_NODIRECT): New macro.
211 (DF_1_IGNMULDEF): Likewise.
212 (DF_1_NOKSYMS): Likewise.
213 (DF_1_NOHDR): Likewise.
214 (DF_1_EDITED): Likewise.
215 (DF_1_NORELOC): Likewise.
216 (DF_1_SYMINTPOSE): Likewise.
217 (DF_1_GLOBAUDIT): Likewise.
218 (DF_1_SINGLETON): Likewise.
219 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
220 DT_1_SUPPORTED_MASK bits.
221 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
223 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
225 * sysdeps/unix/make-syscalls.sh: Document prefixes.
227 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
229 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
232 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
233 (sendmmsg): Move declarations...
234 * socket/sys/socket.h: ... here.
235 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
236 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
238 * socket/recvmmsg.c: ... this new file.
239 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
240 (sendmmsg): Rename to __sendmmsg, create weak alias and make
241 definition of __sendmmsg hidden.
242 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
243 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
244 Move ENOSYS stub into and include it from...
245 * socket/sendmmsg.c: ... this new file.
246 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
247 (sysdep_routines): Move recvmmsg and sendmmsg...
248 * socket/Makefile (routines): ... here.
249 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
250 (GLIBC_PRIVATE): Add __sendmmsg.
251 * include/sys/socket.h (__sendmmsg): Add declarations.
252 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
255 2012-11-20 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
258 variable I1 with __attribute__ ((unused)).
259 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
261 2012-11-19 Joseph Myers <joseph@codesourcery.com>
263 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
264 DUMMY variables with __attribute__ ((unused)).
266 * bits/byteswap.h: Include <bits/types.h>.
267 (__bswap_64): Use __uint64_t instead of unsigned long long int.
269 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
271 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
272 string_t. Do not manually set errno.
273 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
274 length with __strnlen. Make sure to both set errno and return it on
277 2012-11-19 David S. Miller <davem@davemloft.net>
279 With help from Joseph Myers.
280 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
281 very large arguments properly.
282 * math/libm-test.inc (atan_test): New tests.
283 (atan2_test): New tests.
284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
287 2012-11-19 Joseph Myers <joseph@codesourcery.com>
290 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
293 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
294 [POSIX] (EADDRNOTAVAIL): Likewise.
295 [POSIX] (EAFNOSUPPORT): Likewise.
296 [POSIX] (EALREADY): Likewise.
297 [POSIX] (ECONNABORTED): Likewise.
298 [POSIX] (ECONNREFUSED): Likewise.
299 [POSIX] (ECONNRESET): Likewise.
300 [POSIX] (EDESTADDRREQ): Likewise.
301 [POSIX] (EDQUOT): Likewise.
302 [POSIX] (EHOSTUNREACH): Likewise.
303 [POSIX] (EIDRM): Likewise.
304 [POSIX] (EISCONN): Likewise.
305 [POSIX] (ELOOP): Likewise.
306 [POSIX] (EMULTIHOP): Likewise.
307 [POSIX] (ENETDOWN): Likewise.
308 [POSIX] (ENETUNREACH): Likewise.
309 [POSIX] (ENOBUFS): Likewise.
310 [POSIX] (ENODATA): Likewise.
311 [POSIX] (ENOLINK): Likewise.
312 [POSIX] (ENOMSG): Likewise.
313 [POSIX] (ENOPROTOOPT): Likewise.
314 [POSIX] (ENOSR): Likewise.
315 [POSIX] (ENOSTR): Likewise.
316 [POSIX] (ENOTCONN): Likewise.
317 [POSIX] (ENOTSOCK): Likewise.
318 [POSIX] (EOPNOTSUPP): Likewise.
319 [POSIX] (EOVERFLOW): Likewise.
320 [POSIX] (EPROTO): Likewise.
321 [POSIX] (EPROTONOSUPPORT): Likewise.
322 [POSIX] (EPROTOTYPE): Likewise.
323 [POSIX] (ESTALE): Likewise.
324 [POSIX] (ETIME): Likewise.
325 [POSIX] (ETXTBSY): Likewise.
326 [POSIX] (EWOULDBLOCK): Likewise.
327 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
328 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
329 [POSIX] (SEEK_CUR): Likewise.
330 [POSIX] (SEEK_END): Likewise.
331 [POSIX || UNIX98] (mode_t): Do not require.
332 [POSIX] (off_t): Likewise.
333 [POSIX] (pid_t): Likewise.
334 [POSIX] (sys/stat.h): Do not allow header.
335 [POSIX] (unistd.h): Likewise.
336 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
337 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
338 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
339 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
341 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
342 sigevent): Specify elements.
343 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
345 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
346 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
348 * conform/data/cpio.h-data [POSIX]: Disable whole file.
349 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
350 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
351 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
352 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
353 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
354 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
355 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
356 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
357 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
358 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
359 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
360 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
361 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
369 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
373 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
374 Specify lower bound on value.
375 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
376 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
377 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
378 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
379 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
380 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
381 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
382 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
384 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
386 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
387 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
388 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
389 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
390 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
391 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
392 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
393 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
394 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
395 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
396 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
397 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
398 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
399 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
400 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
401 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
403 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
405 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
406 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
407 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
408 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
409 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
410 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
414 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
415 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
416 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
417 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
423 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
424 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
425 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
427 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
428 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
430 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
431 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
432 [XPG3] (NL_LANGMAX): Likewise.
433 [POSIX || XPG3] (NL_MSGMAX): Likewise.
434 [POSIX || XPG3] (NL_NMAX): Likewise.
435 [POSIX || XPG3] (NL_SETMAX): Likewise.
436 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
437 [XPG3] (NZERO): Likewise.
438 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
439 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
440 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
441 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
442 (REG_ERANGE): Expect.
443 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
445 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
446 Use (void) in prototype.
447 [POSIX] (*_t): Allow.
448 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
449 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
450 (WRDE_BADVAL): Expect.
452 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
454 [XPG3 || XPG4] (O_RSYNC): Likewise.
455 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
457 [XPG3 || XPG4] (pthread_sigmask): Likewise.
458 [XPG3 || XPG4] (sigqueue): Likewise.
459 [XPG3 || XPG4] (sigtimedwait): Likewise.
460 [XPG3 || XPG4] (sigwaitinfo): Likewise.
461 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
462 [XPG3 || XPG4] (vsnprintf): Likewise.
463 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
465 [XPG3 || XPG4] (blksize_t): Likewise.
466 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
468 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
469 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
470 [XPG3 || XPG4] (struct itimerspec): Likewise.
471 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
472 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
473 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
474 [XPG3 || XPG4] (clockid_t): Likewise.
475 [XPG3 || XPG4] (timer_t): Likewise.
476 [XPG3 || XPG4] (clock_getres): Likewise.
477 [XPG3 || XPG4] (clock_gettime): Likewise.
478 [XPG3 || XPG4] (clock_settime): Likewise.
479 [XPG3 || XPG4] (nanosleep): Likewise.
480 [XPG3 || XPG4] (timer_create): Likewise.
481 [XPG3 || XPG4] (timer_delete): Likewise.
482 [XPG3 || XPG4] (timer_gettime): Likewise.
483 [XPG3 || XPG4] (timer_getoverrun): Likewise.
484 [XPG3 || XPG4] (timer_settime): Likewise.
485 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
486 [XPG3 || XPG4] (getlogin_r): Likewise.
487 [XPG3 || XPG4] (pread): Likewise.
488 [XPG3 || XPG4] (pthread_atfork): Likewise.
489 [XPG3 || XPG4] (pwrite): Likewise.
492 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
495 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
497 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
498 finalizing MALLSTREAM.
500 * sysdeps/mach/hurd/syncfs.c: New file.
502 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
505 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
506 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
507 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
508 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
509 (_nss_dns_gethostbyname4_r): Likewise.
510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
511 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
513 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
516 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
518 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
520 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
521 * elf/cache.c (print_entry): Print ",AArch64" for
524 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
525 * elf/cache.c (print_entry): Print ",hard-float" for
528 2012-11-18 David S. Miller <davem@davemloft.net>
530 With help from Joseph Myers.
531 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
533 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
535 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
536 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
539 * math/libm-test.inc (y0_test): New tests.
540 (y1_test): New tests.
541 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
545 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
547 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
549 * configure: Regenerated.
551 2012-11-17 David S. Miller <davem@davemloft.net>
554 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
555 nonzero exponents with absolute value below 0x1p-128 to +/-
558 2012-11-17 Joseph Myers <joseph@codesourcery.com>
560 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
562 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
564 * posix/getconf-speclist.c: New file.
565 * posix/posix-envs.def: Likewise.
566 * posix/confstr.c (START_ENV_GROUP): New macro.
567 (END_ENV_GROUP): Likewise.
568 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
569 (KNOWN_PRESENT_ENV_STRING): Likewise.
570 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
571 (UNKNOWN_ENVIRONMENT): Likewise.
572 (confstr): Include posix-envs.def instead of handling
573 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
574 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
575 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
576 (END_ENV_GROUP): Likewise.
577 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
578 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
579 (UNKNOWN_ENVIRONMENT): Likewise.
580 (__sysconf): Include posix-envs.def instead of handling associated
582 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
583 preprocessing getconf-speclist.c rather than running getconf or
584 generating empty file.
586 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
588 * scripts/check-local-headers.sh: Ignore 'mach' headers.
590 2012-11-16 Andrej Lajovic <natrij@gmail.com>
593 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
595 2012-11-16 David S. Miller <davem@davemloft.net>
597 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
598 smaller than LDBL_EPSILON/2.0L, just return xm1.
600 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
602 * elf/tst-array1.c (init): Set constructor priority to 1000.
603 (fini): Set destructor priority to 1000.
604 * elf/tst-array2dep.c: Likewise.
606 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
609 * libio/fileops.c (_IO_new_file_write): Correctly return error.
610 (_IO_new_file_xsputn): Also return EOF if none of the input
611 data was written when overflow failed.
612 * libio/iopadn.c (_IO_padn): Likewise.
613 * libio/iowpadn.c (_IO_wpadn): Likewise.
614 * stdio-common/tst-put-error.c: Add copyright notice.
615 (do_test): Add case for printing padded string.
616 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
617 _IO_padn returned error.
618 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
619 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
622 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * libio/libioP.h: Add comment note that the references to C++
625 bits are now obsolete.
627 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
629 * math/libm-test.inc (check_complex): Use asprintf.
631 2012-11-14 Joseph Myers <joseph@codesourcery.com>
633 * debug/pcprofiledump.c (print_version): Update copyright year.
634 * malloc/memusagestat.c (print_version): Likewise.
636 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
639 * elf/Makefile (tests): Add tst-audit8.
640 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
641 ($(objpfx)tst-audit8.out): New target.
642 (tst-audit8-ENV): New variable.
643 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
644 audit if l_reloc_result is NULL.
645 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
646 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
647 * elf/tst-audit8.c: New file.
649 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
651 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
652 * misc/Makefile (CFLAGS-select.c): Define.
653 * posix/Makefile (CFLAGS-pause.c): Define.
655 2012-11-13 David S. Miller <davem@davemloft.net>
657 * crypt/Makefile: Move test targets after toplevel Rules
658 inclusion. Grab any necessary sysdep routines when linking.
659 * crypt/md5.c (md5_process_block): Remove define, we will always
660 name it __md5_process_block.
661 (md5_finish_ctx): Update md5_process_block call.
662 (md5_stream): Likewise.
663 (md5_process_bytes): Likewise.
664 (md5_process_block): Rename to __md5_process_block and move to ...
665 * crypt/md5-block.c: ... here.
666 * crypt/sha256.c (sha256_process_block): Move to ...
667 * crypt/sha256-block.c: ... here.
668 * crypt/sha512.c (sha512_process_block): Move to ...
669 * crypt/sha512-block.c: ... here.
670 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
672 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
673 * sysdeps/sparc/sparc64/multiarch/Makefile
674 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
676 (localedef-aux): Add md5 crypto assembler when in locale subdir.
677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
679 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
680 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
681 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
682 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
683 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
684 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
685 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
686 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
687 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
694 2012-11-13 Joseph Myers <joseph@codesourcery.com>
696 * timezone/tzselect.ksh: Update from tzcode git revision
697 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
698 * timezone/zdump.c: Likewise.
699 * timezone/zic.c: Likewise.
700 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
701 in TZVERSION setting, not $(PKGVERSION).
702 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
703 REPORT_BUGS_TO settings.
706 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
709 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
711 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
712 detection to immediately after _FP_ROUND().
713 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
716 2012-11-11 David S. Miller <davem@davemloft.net>
718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
720 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
721 __close rather than their public counterparts.
723 2012-11-10 Joseph Myers <joseph@codesourcery.com>
725 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
727 [UNIX98] (sem_timedwait): Do not expect.
728 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
729 [XPG4 || UNIX98] (sockatmark): Do not expect.
730 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
731 (clock_getcpuclockid): Do not expect.
732 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
733 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
735 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
736 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
737 [UNIX98] (vwscanf): Likewise.
738 [UNIX98] (vswscanf): Likewise.
740 2012-11-09 Joseph Myers <joseph@codesourcery.com>
742 * timezone/version.h: Remove file.
743 * timezone/README: Do not refer to version.h.
744 * timezone/Makefile ($(objpfx)zic.o): New dependency on
746 ($(objpfx)zdump.o): Likewise.
747 ($(objpfx)version.h): New target.
749 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
751 * timezone/README: Don't mention modification to tzselect.ksh.
752 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
753 work on unmodified tzselect.ksh. Substitute version numbers in
756 * Makefile (format-me): Remove.
757 (INSTALL): Adjust indentation. Use commands directly instead of
760 * aclocal.m4 (ACX_PKGVERSION): New macro.
761 (ACX_BUGURL): Likewise.
762 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
763 (PKGVERSION): New AC_DEFINE_UNQUOTED.
764 (REPORT_BUGS_TO): Likewise.
765 * configure: Regenerated.
766 * config.h.in (PKGVERSION): New macro.
767 (REPORT_BUGS_TO): Likewise.
768 * config.make.in (PKGVERSION): New variable.
769 (PKGVERSION_TEXI): Likewise.
770 (REPORT_BUGS_TO): Likewise.
771 (REPORT_BUGS_TEXI): Likewise.
772 * Makefile (format-me): Use -I$(common-objpfx)manual.
773 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
774 ($(common-objpfx)manual/%): New target.
775 (manual/%): Remove target.
776 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
777 (print_version): Use PKGVERSION.
778 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
779 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
781 ($(objpfx)xtrace): Likewise.
782 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
783 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
784 (print_version): Use PKGVERSION.
785 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
786 (do_version): Use PKGVERSION.
787 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
789 (common-ldd-rewrite): Likewise.
790 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
791 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
792 (print_version): Use PKGVERSION.
793 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
794 * elf/pldd.c (argp_program_bug_address): Remove variable.
795 (more_help): New function.
796 (argp): Use more_help.
797 (print_version): Use PKGVERSION.
798 * elf/sln.c (main): Use PKGVERSION.
799 (usage): Use REPORT_BUGS_TO.
800 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
801 (top level): Use PKGVERSION.
802 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
803 (print_version): Use PKGVERSION.
804 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
805 (print_version): Use PKGVERSION.
806 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
807 (print_version): Use PKGVERSION.
808 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
809 (print_version): Use PKGVERSION.
810 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
811 (print_version): Use PKGVERSION.
812 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
813 (print_version): Use PKGVERSION.
814 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
816 ($(objpfx)memusage): Likewise.
817 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
818 (do_version): Use PKGVERSION.
819 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
820 (print_version): Use PKGVERSION.
821 * malloc/mtrace.pl ($PACKAGE): Remove variable.
822 ($PKGVERSION): New variable.
823 ($REPORT_BUGS_TO): Likewise.
824 (usage): Use $REPORT_BUGS_TO.
825 (top level): Use $PKGVERSION.
826 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
827 ($(objpfx)pkgvers.texi): New rule.
828 ($(objpfx)stamp-pkgvers): Likewise.
829 * manual/install.texi: Include pkgvers.texi.
830 (--with-pkgversion): Document new configure option.
831 (--with-bugurl): Likewise.
832 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
833 than necessarily for this particular distribution. Use
834 REPORT_BUGS_TO for where to report bugs.
835 * INSTALL: Regenerated.
836 * manual/libc.texinfo: Include pkgvers.texi.
837 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
838 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
839 (print_version): Use PKGVERSION.
840 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
841 (print_version): Use PKGVERSION.
842 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
843 (print_version): Use PKGVERSION.
844 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
845 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
847 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
848 (print_version): Use PKGVERSION.
849 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
850 (print_version): Use PKGVERSION.
851 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
854 * timezone/checktab.awk: Update from tzcode 2012i.
855 * timezone/ialloc.c: Likewise.
856 * timezone/private.h: Likewise.
857 * timezone/scheck.c: Likewise.
858 * timezone/tzfile.h: Likewise.
859 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
860 (TZVERSION): Hardcode tzcode version number.
861 * timezone/zdump.c: Update from tzcode 2012i.
862 * timezone/zic.c: Likewise.
863 * timezone/version.h: New file.
864 * timezone/README: Describe version.h. Update upstream location.
867 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
868 (mktemp): Enable declaration.
869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
886 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
887 offset in buffer as u_int32_t not u_long. Consistently use memcpy
888 for copies of such integer values.
889 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
890 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
892 2012-11-09 Andreas Jaeger <aj@suse.de>
894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
895 definitions and declarations that are provided by
896 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
898 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
900 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
901 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
902 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
905 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
907 * elf/elf.h: Update comment before AArch64 relocations.
909 2012-11-07 David S. Miller <davem@davemloft.net>
911 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
912 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
913 (__start_context): Declare.
914 (__makecontext_ret): Delete.
915 (__makecontext): Hook up __start_context instead of
917 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
918 (sysdep_routines): Add __start_context when in stdlib.
920 2012-11-07 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
923 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
924 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
926 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
927 (READELF): New variable. Use it instead of hardcoded "readelf".
929 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
931 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
932 * sysdeps/x86/Makefile: Here.
933 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
934 * sysdeps/x86/tst-xmmymm.sh: This.
936 2012-11-07 Joseph Myers <joseph@codesourcery.com>
938 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
940 [UNIX98] (pthread_barrier_t): Do not expect.
941 [UNIX98] (pthread_barrierattr_t): Likewise.
942 [UNIX98] (pthread_spinlock_t): Likewise.
943 [UNIX98] (pthread_barrier_destroy): Likewise.
944 [UNIX98] (pthread_barrier_init): Likewise.
945 [UNIX98] (pthread_barrier_wait): Likewise.
946 [UNIX98] (pthread_barrierattr_destroy): Likewise.
947 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
948 [UNIX98] (pthread_barrierattr_init): Likewise.
949 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
950 [UNIX98] (pthread_getcpuclockid): Likewise.
951 [UNIX98] (pthread_mutex_timedlock): Likewise.
952 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
953 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
954 [UNIX98] (pthread_sigmask): Likewise.
955 [UNIX98] (pthread_spin_destroy): Likewise.
956 [UNIX98] (pthread_spin_init): Likewise.
957 [UNIX98] (pthread_spin_lock): Likewise.
958 [UNIX98] (pthread_spin_trylock): Likewise.
959 [UNIX98] (pthread_spin_unlock): Likewise.
960 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
962 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
963 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
964 [XPG3 || XPG4] (pthread_cond_t): Likewise.
965 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
966 [XPG3 || XPG4] (pthread_key_t): Likewise.
967 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
968 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
969 [XPG3 || XPG4] (pthread_once_t): Likewise.
970 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
971 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
972 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
973 [XPG3 || XPG4] (pthread_t): Likewise.
975 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
977 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
979 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
980 Change function return type to int.
982 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
983 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
984 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
985 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
986 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
987 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
988 [!POSIX] (posix_madvise): Likewise.
989 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
991 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
992 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
994 (posix_mem_offset): Likewise.
995 (posix_typed_mem_get_info): Likewise.
996 (posix_typed_mem_open): Likewise.
998 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
999 Change condition to [XOPEN2K8].
1001 * conform/conformtest.pl: Preprocess allow-header data with -x c
1002 instead of from stdin.
1003 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1004 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1005 [C99-based standards] (cerfc): Likewise.
1006 [C99-based standards] (cexp2): Likewise.
1007 [C99-based standards] (cexpm1): Likewise.
1008 [C99-based standards] (clog10): Likewise.
1009 [C99-based standards] (clog1p): Likewise.
1010 [C99-based standards] (clog2): Likewise.
1011 [C99-based standards] (clgamma): Likewise.
1012 [C99-based standards] (ctgamma): Likewise.
1013 [C99-based standards] (cerff): Likewise.
1014 [C99-based standards] (cerfcf): Likewise.
1015 [C99-based standards] (cexp2f): Likewise.
1016 [C99-based standards] (cexpm1f): Likewise.
1017 [C99-based standards] (clog10f): Likewise.
1018 [C99-based standards] (clog1pf): Likewise.
1019 [C99-based standards] (clog2f): Likewise.
1020 [C99-based standards] (clgammaf): Likewise.
1021 [C99-based standards] (ctgammaf): Likewise.
1022 [C99-based standards] (cerfl): Likewise.
1023 [C99-based standards] (cerfcl): Likewise.
1024 [C99-based standards] (cexp2l): Likewise.
1025 [C99-based standards] (cexpm1l): Likewise.
1026 [C99-based standards] (clog10l): Likewise.
1027 [C99-based standards] (clog1pl): Likewise.
1028 [C99-based standards] (clog2l): Likewise.
1029 [C99-based standards] (clgammal): Likewise.
1030 [C99-based standards] (ctgammal): Likewise.
1031 * conform/data/inttypes.h-data [C99-based standards]: Include
1032 stdint.h-data. Remove all expectations for stdint.h contents.
1033 [C99-based standards] (PRI*): Do not allow.
1034 [C99-based standards] (SCN*): Likewise.
1035 [C99-based standards] (*_t): Likewise.
1036 [C99-based-standards] (PRId8): Expect macro.
1037 [C99-based-standards] (PRIi8): Likewise.
1038 [C99-based-standards] (PRIo8): Likewise.
1039 [C99-based-standards] (PRIu8): Likewise.
1040 [C99-based-standards] (PRIx8): Likewise.
1041 [C99-based-standards] (PRIX8): Likewise.
1042 [C99-based-standards] (SCNd8): Likewise.
1043 [C99-based-standards] (SCNi8): Likewise.
1044 [C99-based-standards] (SCNo8): Likewise.
1045 [C99-based-standards] (SCNu8): Likewise.
1046 [C99-based-standards] (SCNx8): Likewise.
1047 [C99-based-standards] (PRIdLEAST8): Likewise.
1048 [C99-based-standards] (PRIiLEAST8): Likewise.
1049 [C99-based-standards] (PRIoLEAST8): Likewise.
1050 [C99-based-standards] (PRIuLEAST8): Likewise.
1051 [C99-based-standards] (PRIxLEAST8): Likewise.
1052 [C99-based-standards] (PRIXLEAST8): Likewise.
1053 [C99-based-standards] (SCNdLEAST8): Likewise.
1054 [C99-based-standards] (SCNiLEAST8): Likewise.
1055 [C99-based-standards] (SCNoLEAST8): Likewise.
1056 [C99-based-standards] (SCNuLEAST8): Likewise.
1057 [C99-based-standards] (SCNxLEAST8): Likewise.
1058 [C99-based-standards] (PRIdFAST8): Likewise.
1059 [C99-based-standards] (PRIiFAST8): Likewise.
1060 [C99-based-standards] (PRIoFAST8): Likewise.
1061 [C99-based-standards] (PRIuFAST8): Likewise.
1062 [C99-based-standards] (PRIxFAST8): Likewise.
1063 [C99-based-standards] (PRIXFAST8): Likewise.
1064 [C99-based-standards] (SCNdFAST8): Likewise.
1065 [C99-based-standards] (SCNiFAST8): Likewise.
1066 [C99-based-standards] (SCNoFAST8): Likewise.
1067 [C99-based-standards] (SCNuFAST8): Likewise.
1068 [C99-based-standards] (SCNxFAST8): Likewise.
1069 [C99-based-standards] (PRId16): Likewise.
1070 [C99-based-standards] (PRIi16): Likewise.
1071 [C99-based-standards] (PRIo16): Likewise.
1072 [C99-based-standards] (PRIu16): Likewise.
1073 [C99-based-standards] (PRIx16): Likewise.
1074 [C99-based-standards] (PRIX16): Likewise.
1075 [C99-based-standards] (SCNd16): Likewise.
1076 [C99-based-standards] (SCNi16): Likewise.
1077 [C99-based-standards] (SCNo16): Likewise.
1078 [C99-based-standards] (SCNu16): Likewise.
1079 [C99-based-standards] (SCNx16): Likewise.
1080 [C99-based-standards] (PRIdLEAST16): Likewise.
1081 [C99-based-standards] (PRIiLEAST16): Likewise.
1082 [C99-based-standards] (PRIoLEAST16): Likewise.
1083 [C99-based-standards] (PRIuLEAST16): Likewise.
1084 [C99-based-standards] (PRIxLEAST16): Likewise.
1085 [C99-based-standards] (PRIXLEAST16): Likewise.
1086 [C99-based-standards] (SCNdLEAST16): Likewise.
1087 [C99-based-standards] (SCNiLEAST16): Likewise.
1088 [C99-based-standards] (SCNoLEAST16): Likewise.
1089 [C99-based-standards] (SCNuLEAST16): Likewise.
1090 [C99-based-standards] (SCNxLEAST16): Likewise.
1091 [C99-based-standards] (PRIdFAST16): Likewise.
1092 [C99-based-standards] (PRIiFAST16): Likewise.
1093 [C99-based-standards] (PRIoFAST16): Likewise.
1094 [C99-based-standards] (PRIuFAST16): Likewise.
1095 [C99-based-standards] (PRIxFAST16): Likewise.
1096 [C99-based-standards] (PRIXFAST16): Likewise.
1097 [C99-based-standards] (SCNdFAST16): Likewise.
1098 [C99-based-standards] (SCNiFAST16): Likewise.
1099 [C99-based-standards] (SCNoFAST16): Likewise.
1100 [C99-based-standards] (SCNuFAST16): Likewise.
1101 [C99-based-standards] (SCNxFAST16): Likewise.
1102 [C99-based-standards] (PRId32): Likewise.
1103 [C99-based-standards] (PRIi32): Likewise.
1104 [C99-based-standards] (PRIo32): Likewise.
1105 [C99-based-standards] (PRIu32): Likewise.
1106 [C99-based-standards] (PRIx32): Likewise.
1107 [C99-based-standards] (PRIX32): Likewise.
1108 [C99-based-standards] (SCNd32): Likewise.
1109 [C99-based-standards] (SCNi32): Likewise.
1110 [C99-based-standards] (SCNo32): Likewise.
1111 [C99-based-standards] (SCNu32): Likewise.
1112 [C99-based-standards] (SCNx32): Likewise.
1113 [C99-based-standards] (PRIdLEAST32): Likewise.
1114 [C99-based-standards] (PRIiLEAST32): Likewise.
1115 [C99-based-standards] (PRIoLEAST32): Likewise.
1116 [C99-based-standards] (PRIuLEAST32): Likewise.
1117 [C99-based-standards] (PRIxLEAST32): Likewise.
1118 [C99-based-standards] (PRIXLEAST32): Likewise.
1119 [C99-based-standards] (SCNdLEAST32): Likewise.
1120 [C99-based-standards] (SCNiLEAST32): Likewise.
1121 [C99-based-standards] (SCNoLEAST32): Likewise.
1122 [C99-based-standards] (SCNuLEAST32): Likewise.
1123 [C99-based-standards] (SCNxLEAST32): Likewise.
1124 [C99-based-standards] (PRIdFAST32): Likewise.
1125 [C99-based-standards] (PRIiFAST32): Likewise.
1126 [C99-based-standards] (PRIoFAST32): Likewise.
1127 [C99-based-standards] (PRIuFAST32): Likewise.
1128 [C99-based-standards] (PRIxFAST32): Likewise.
1129 [C99-based-standards] (PRIXFAST32): Likewise.
1130 [C99-based-standards] (SCNdFAST32): Likewise.
1131 [C99-based-standards] (SCNiFAST32): Likewise.
1132 [C99-based-standards] (SCNoFAST32): Likewise.
1133 [C99-based-standards] (SCNuFAST32): Likewise.
1134 [C99-based-standards] (SCNxFAST32): Likewise.
1135 [C99-based-standards] (PRId64): Likewise.
1136 [C99-based-standards] (PRIi64): Likewise.
1137 [C99-based-standards] (PRIo64): Likewise.
1138 [C99-based-standards] (PRIu64): Likewise.
1139 [C99-based-standards] (PRIx64): Likewise.
1140 [C99-based-standards] (PRIX64): Likewise.
1141 [C99-based-standards] (SCNd64): Likewise.
1142 [C99-based-standards] (SCNi64): Likewise.
1143 [C99-based-standards] (SCNo64): Likewise.
1144 [C99-based-standards] (SCNu64): Likewise.
1145 [C99-based-standards] (SCNx64): Likewise.
1146 [C99-based-standards] (PRIdLEAST64): Likewise.
1147 [C99-based-standards] (PRIiLEAST64): Likewise.
1148 [C99-based-standards] (PRIoLEAST64): Likewise.
1149 [C99-based-standards] (PRIuLEAST64): Likewise.
1150 [C99-based-standards] (PRIxLEAST64): Likewise.
1151 [C99-based-standards] (PRIXLEAST64): Likewise.
1152 [C99-based-standards] (SCNdLEAST64): Likewise.
1153 [C99-based-standards] (SCNiLEAST64): Likewise.
1154 [C99-based-standards] (SCNoLEAST64): Likewise.
1155 [C99-based-standards] (SCNuLEAST64): Likewise.
1156 [C99-based-standards] (SCNxLEAST64): Likewise.
1157 [C99-based-standards] (PRIdFAST64): Likewise.
1158 [C99-based-standards] (PRIiFAST64): Likewise.
1159 [C99-based-standards] (PRIoFAST64): Likewise.
1160 [C99-based-standards] (PRIuFAST64): Likewise.
1161 [C99-based-standards] (PRIxFAST64): Likewise.
1162 [C99-based-standards] (PRIXFAST64): Likewise.
1163 [C99-based-standards] (SCNdFAST64): Likewise.
1164 [C99-based-standards] (SCNiFAST64): Likewise.
1165 [C99-based-standards] (SCNoFAST64): Likewise.
1166 [C99-based-standards] (SCNuFAST64): Likewise.
1167 [C99-based-standards] (SCNxFAST64): Likewise.
1168 [C99-based-standards] (PRIdMAX): Likewise.
1169 [C99-based-standards] (PRIiMAX): Likewise.
1170 [C99-based-standards] (PRIoMAX): Likewise.
1171 [C99-based-standards] (PRIuMAX): Likewise.
1172 [C99-based-standards] (PRIxMAX): Likewise.
1173 [C99-based-standards] (PRIXMAX): Likewise.
1174 [C99-based-standards] (SCNdMAX): Likewise.
1175 [C99-based-standards] (SCNiMAX): Likewise.
1176 [C99-based-standards] (SCNoMAX): Likewise.
1177 [C99-based-standards] (SCNuMAX): Likewise.
1178 [C99-based-standards] (SCNxMAX): Likewise.
1179 [C99-based-standards] (PRIdPTR): Likewise.
1180 [C99-based-standards] (PRIiPTR): Likewise.
1181 [C99-based-standards] (PRIoPTR): Likewise.
1182 [C99-based-standards] (PRIuPTR): Likewise.
1183 [C99-based-standards] (PRIxPTR): Likewise.
1184 [C99-based-standards] (PRIXPTR): Likewise.
1185 [C99-based-standards] (SCNdPTR): Likewise.
1186 [C99-based-standards] (SCNiPTR): Likewise.
1187 [C99-based-standards] (SCNoPTR): Likewise.
1188 [C99-based-standards] (SCNuPTR): Likewise.
1189 [C99-based-standards] (SCNxPTR): Likewise.
1190 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1192 * conform/data/stdint.h-data: Update comments to clarify
1194 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1196 [C99-based standards] (INT8_MAX): Likewise.
1197 [C99-based standards] (INT16_MIN): Likewise.
1198 [C99-based standards] (INT16_MAX): Likewise.
1199 [C99-based standards] (INT32_MIN): Likewise.
1200 [C99-based standards] (INT32_MAX): Likewise.
1201 [C99-based standards] (INT64_MIN): Likewise.
1202 [C99-based standards] (INT64_MAX): Likewise.
1203 [C99-based standards] (UINT8_MAX): Likewise.
1204 [C99-based standards] (UINT16_MAX): Likewise.
1205 [C99-based standards] (UINT32_MAX): Likewise.
1206 [C99-based standards] (UINT64_MAX): Likewise.
1207 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1208 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1209 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1210 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1211 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1212 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1213 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1214 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1215 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1216 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1217 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1218 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1219 [C99-based standards] (INT_FAST8_MIN): Likewise.
1220 [C99-based standards] (INT_FAST8_MAX): Likewise.
1221 [C99-based standards] (INT_FAST16_MIN): Likewise.
1222 [C99-based standards] (INT_FAST16_MAX): Likewise.
1223 [C99-based standards] (INT_FAST32_MIN): Likewise.
1224 [C99-based standards] (INT_FAST32_MAX): Likewise.
1225 [C99-based standards] (INT_FAST64_MIN): Likewise.
1226 [C99-based standards] (INT_FAST64_MAX): Likewise.
1227 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1228 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1229 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1230 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1231 [C99-based standards] (INTPTR_MIN): Likewise.
1232 [C99-based standards] (INTPTR_MAX): Likewise.
1233 [C99-based standards] (UINTPTR_MAX): Likewise.
1234 [C99-based standards] (INTMAX_MIN): Likewise.
1235 [C99-based standards] (INTMAX_MAX): Likewise.
1236 [C99-based standards] (UINTMAX_MAX): Likewise.
1237 [C99-based standards] (PTRDIFF_MIN): Likewise.
1238 [C99-based standards] (PTRDIFF_MAX): Likewise.
1239 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1240 [C99-based standards] (SIZE_MAX): Likewise.
1241 [C99-based standards] (WCHAR_MAX): Likewise.
1242 [C99-based standards] (WINT_MAX): Likewise.
1243 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1244 constraint on value.
1245 [C99-based standards] (WCHAR_MIN): Likewise.
1246 [C99-based standards] (WINT_MIN): Likewise.
1247 [C99-based standards] (*_t): Allow.
1248 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1249 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1250 Include math.h-data and complex.h-data. Remove all expectations
1251 of math.h and complex.h contents.
1252 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1254 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1255 (struct tm): Expect tag.
1256 [C99-based-standards] (wcstof): Expect function.
1257 [C99-based-standards] (wcstold): Likewise.
1258 [C99-based-standards] (wcstoll): Likewise.
1259 [C99-based-standards] (wcstoull): Likewise.
1260 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1261 macro-int-constant. Specify type.
1262 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1263 constraint on value.
1264 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1266 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1268 [ISO C standards]: Do not allow headers.
1269 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1270 wcs[abcdefghijklmnopqrstuvwxyz]*.
1271 [ISO C standards] (*_t): Do not allow.
1272 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1274 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1275 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1277 [ISO C standards]: Do not allow headers.
1278 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1279 is[abcdefghijklmnopqrstuvwxyz]*.
1280 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1281 to[abcdefghijklmnopqrstuvwxyz]*.
1282 [ISO C standards] (*_t): Do not allow.
1283 * conform/data/stdalign.h-data: New file.
1284 * conform/data/stdbool.h-data: Likewise.
1285 * conform/data/stdnoreturn.h-data: Likewise.
1287 2012-11-07 Roland McGrath <roland@hack.frob.com>
1290 * manual/filesys.texi (Directory Entries): Typo fix.
1291 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1293 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1295 * elf/elf.h (EM_AARCH64): New macro.
1296 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1297 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1298 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1299 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1300 (R_AARCH64_TLSDESC): Likewise.
1301 (NT_ARM_TLS): Likewise.
1302 (NT_ARM_HW_BREAK): Likewise.
1303 (NT_ARM_HW_WATCH): Likewise.
1305 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1308 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1309 (__ieee754_powl): Saturate nonzero exponents with absolute value
1310 below 0x1p-79 to +/- 0x1p-79.
1311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1312 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1313 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1314 nonzero exponents with absolute value below 0x1p-32 to +/-
1316 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1317 (__ieee754_powl): Saturate nonzero exponents with absolute value
1318 below 0x1p-79 to +/- 0x1p-79.
1319 * math/libm-test.inc (pow_test): Add more tests.
1321 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1323 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1324 _dl_s390_cap_flags with kernel. Increase string length.
1325 (_dl_s390_platforms): Add z196 and zEC12.
1327 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1329 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1330 Change XOPEN21K to XOPEN2K.
1332 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1334 * string/memmove.c: Use memcpy when possible.
1336 2012-11-06 Andreas Jaeger <aj@suse.de>
1338 * po/eo.po: Update from translation team.
1340 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1344 exponent and small x and y exponents, scale x or y up. Increase
1345 by 2 the exponent used in scaling up.
1346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1348 * math/libm-test.inc (fma_test): Add more tests.
1349 (fma_test_towardzero): Likewise.
1350 (fma_test_downward): Likewise.
1351 (fma_test_upward): Likewise.
1353 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1360 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1361 namespace for names of struct fields.
1362 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1364 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1365 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1367 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1370 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1372 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1374 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1378 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1381 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1385 definitely overflow as x * y not x * y + z.
1386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1388 * math/libm-test.inc (fma_test): Add more tests.
1389 (fma_test_towardzero): Likewise.
1390 (fma_test_downward): Likewise.
1391 (fma_test_upward): Likewise.
1393 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1397 * include/stub-tag.h: Remove file.
1398 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1400 * manual/maint.texi (Porting): Don't reference it.
1401 * Makerules ($(objpfx)stubs): Likewise.
1402 * dirent/closedir.c: Don't include <stub-tag.h>.
1403 * dirent/dirfd.c: Likewise.
1404 * dirent/fdopendir.c: Likewise.
1405 * dirent/getdents.c: Likewise.
1406 * dirent/getdents64.c: Likewise.
1407 * dirent/opendir.c: Likewise.
1408 * dirent/readdir.c: Likewise.
1409 * dirent/readdir64.c: Likewise.
1410 * dirent/readdir64_r.c: Likewise.
1411 * dirent/readdir_r.c: Likewise.
1412 * dirent/rewinddir.c: Likewise.
1413 * dirent/seekdir.c: Likewise.
1414 * dirent/telldir.c: Likewise.
1415 * gmon/profil.c: Likewise.
1416 * grp/setgroups.c: Likewise.
1417 * inet/if_index.c: Likewise.
1418 * io/access.c: Likewise.
1419 * io/chdir.c: Likewise.
1420 * io/chmod.c: Likewise.
1421 * io/chown.c: Likewise.
1422 * io/close.c: Likewise.
1423 * io/dup.c: Likewise.
1424 * io/dup2.c: Likewise.
1425 * io/dup3.c: Likewise.
1426 * io/euidaccess.c: Likewise.
1427 * io/faccessat.c: Likewise.
1428 * io/fchdir.c: Likewise.
1429 * io/fchmod.c: Likewise.
1430 * io/fchmodat.c: Likewise.
1431 * io/fchown.c: Likewise.
1432 * io/fchownat.c: Likewise.
1433 * io/fcntl.c: Likewise.
1434 * io/flock.c: Likewise.
1435 * io/fstatfs.c: Likewise.
1436 * io/fstatfs64.c: Likewise.
1437 * io/fstatvfs.c: Likewise.
1438 * io/fstatvfs64.c: Likewise.
1439 * io/futimens.c: Likewise.
1440 * io/fxstat.c: Likewise.
1441 * io/fxstat64.c: Likewise.
1442 * io/fxstatat.c: Likewise.
1443 * io/fxstatat64.c: Likewise.
1444 * io/getcwd.c: Likewise.
1445 * io/isatty.c: Likewise.
1446 * io/lchmod.c: Likewise.
1447 * io/lchown.c: Likewise.
1448 * io/link.c: Likewise.
1449 * io/linkat.c: Likewise.
1450 * io/lseek.c: Likewise.
1451 * io/lseek64.c: Likewise.
1452 * io/lxstat64.c: Likewise.
1453 * io/mkdir.c: Likewise.
1454 * io/mkdirat.c: Likewise.
1455 * io/mkfifo.c: Likewise.
1456 * io/mkfifoat.c: Likewise.
1457 * io/open.c: Likewise.
1458 * io/open64.c: Likewise.
1459 * io/openat.c: Likewise.
1460 * io/openat64.c: Likewise.
1461 * io/pipe.c: Likewise.
1462 * io/pipe2.c: Likewise.
1463 * io/poll.c: Likewise.
1464 * io/posix_fadvise.c: Likewise.
1465 * io/posix_fadvise64.c: Likewise.
1466 * io/posix_fallocate.c: Likewise.
1467 * io/posix_fallocate64.c: Likewise.
1468 * io/read.c: Likewise.
1469 * io/readlink.c: Likewise.
1470 * io/readlinkat.c: Likewise.
1471 * io/rmdir.c: Likewise.
1472 * io/sendfile.c: Likewise.
1473 * io/sendfile64.c: Likewise.
1474 * io/statfs.c: Likewise.
1475 * io/statfs64.c: Likewise.
1476 * io/statvfs.c: Likewise.
1477 * io/statvfs64.c: Likewise.
1478 * io/symlink.c: Likewise.
1479 * io/symlinkat.c: Likewise.
1480 * io/ttyname.c: Likewise.
1481 * io/ttyname_r.c: Likewise.
1482 * io/umask.c: Likewise.
1483 * io/unlink.c: Likewise.
1484 * io/unlinkat.c: Likewise.
1485 * io/utime.c: Likewise.
1486 * io/utimensat.c: Likewise.
1487 * io/write.c: Likewise.
1488 * io/xmknod.c: Likewise.
1489 * io/xmknodat.c: Likewise.
1490 * io/xstat.c: Likewise.
1491 * io/xstat64.c: Likewise.
1492 * login/getpt.c: Likewise.
1493 * login/grantpt.c: Likewise.
1494 * login/unlockpt.c: Likewise.
1495 * math/e_acoshl.c: Likewise.
1496 * math/e_acosl.c: Likewise.
1497 * math/e_asinl.c: Likewise.
1498 * math/e_atan2l.c: Likewise.
1499 * math/e_atanhl.c: Likewise.
1500 * math/e_coshl.c: Likewise.
1501 * math/e_expl.c: Likewise.
1502 * math/e_fmodl.c: Likewise.
1503 * math/e_gammal_r.c: Likewise.
1504 * math/e_hypotl.c: Likewise.
1505 * math/e_j0l.c: Likewise.
1506 * math/e_j1l.c: Likewise.
1507 * math/e_jnl.c: Likewise.
1508 * math/e_lgammal_r.c: Likewise.
1509 * math/e_log10l.c: Likewise.
1510 * math/e_log2l.c: Likewise.
1511 * math/e_logl.c: Likewise.
1512 * math/e_powl.c: Likewise.
1513 * math/e_rem_pio2l.c: Likewise.
1514 * math/e_sinhl.c: Likewise.
1515 * math/e_sqrtl.c: Likewise.
1516 * math/fclrexcpt.c: Likewise.
1517 * math/fedisblxcpt.c: Likewise.
1518 * math/feenablxcpt.c: Likewise.
1519 * math/fegetenv.c: Likewise.
1520 * math/fegetexcept.c: Likewise.
1521 * math/fegetround.c: Likewise.
1522 * math/feholdexcpt.c: Likewise.
1523 * math/fesetenv.c: Likewise.
1524 * math/fesetround.c: Likewise.
1525 * math/feupdateenv.c: Likewise.
1526 * math/fgetexcptflg.c: Likewise.
1527 * math/fraiseexcpt.c: Likewise.
1528 * math/fsetexcptflg.c: Likewise.
1529 * math/ftestexcept.c: Likewise.
1530 * math/k_cosl.c: Likewise.
1531 * math/k_rem_pio2l.c: Likewise.
1532 * math/k_sinl.c: Likewise.
1533 * math/k_tanl.c: Likewise.
1534 * math/s_asinhl.c: Likewise.
1535 * math/s_atanl.c: Likewise.
1536 * math/s_cbrtl.c: Likewise.
1537 * math/s_erfl.c: Likewise.
1538 * math/s_expm1l.c: Likewise.
1539 * math/s_log1pl.c: Likewise.
1540 * math/s_tanhl.c: Likewise.
1541 * misc/acct.c: Likewise.
1542 * misc/brk.c: Likewise.
1543 * misc/chflags.c: Likewise.
1544 * misc/chroot.c: Likewise.
1545 * misc/fchflags.c: Likewise.
1546 * misc/fgetxattr.c: Likewise.
1547 * misc/flistxattr.c: Likewise.
1548 * misc/fremovexattr.c: Likewise.
1549 * misc/fsetxattr.c: Likewise.
1550 * misc/fsync.c: Likewise.
1551 * misc/ftruncate.c: Likewise.
1552 * misc/futimes.c: Likewise.
1553 * misc/futimesat.c: Likewise.
1554 * misc/getdomain.c: Likewise.
1555 * misc/getdtsz.c: Likewise.
1556 * misc/gethostid.c: Likewise.
1557 * misc/gethostname.c: Likewise.
1558 * misc/getloadavg.c: Likewise.
1559 * misc/getpagesize.c: Likewise.
1560 * misc/getsysstats.c: Likewise.
1561 * misc/getxattr.c: Likewise.
1562 * misc/gtty.c: Likewise.
1563 * misc/ioctl.c: Likewise.
1564 * misc/lgetxattr.c: Likewise.
1565 * misc/listxattr.c: Likewise.
1566 * misc/llistxattr.c: Likewise.
1567 * misc/lremovexattr.c: Likewise.
1568 * misc/lsetxattr.c: Likewise.
1569 * misc/lutimes.c: Likewise.
1570 * misc/madvise.c: Likewise.
1571 * misc/mincore.c: Likewise.
1572 * misc/mlock.c: Likewise.
1573 * misc/mlockall.c: Likewise.
1574 * misc/mmap.c: Likewise.
1575 * misc/mprotect.c: Likewise.
1576 * misc/msync.c: Likewise.
1577 * misc/munlock.c: Likewise.
1578 * misc/munlockall.c: Likewise.
1579 * misc/munmap.c: Likewise.
1580 * misc/preadv.c: Likewise.
1581 * misc/preadv64.c: Likewise.
1582 * misc/ptrace.c: Likewise.
1583 * misc/pwritev.c: Likewise.
1584 * misc/pwritev64.c: Likewise.
1585 * misc/readv.c: Likewise.
1586 * misc/reboot.c: Likewise.
1587 * misc/remap_file_pages.c: Likewise.
1588 * misc/removexattr.c: Likewise.
1589 * misc/revoke.c: Likewise.
1590 * misc/select.c: Likewise.
1591 * misc/setdomain.c: Likewise.
1592 * misc/setegid.c: Likewise.
1593 * misc/seteuid.c: Likewise.
1594 * misc/sethostid.c: Likewise.
1595 * misc/sethostname.c: Likewise.
1596 * misc/setregid.c: Likewise.
1597 * misc/setreuid.c: Likewise.
1598 * misc/setxattr.c: Likewise.
1599 * misc/sstk.c: Likewise.
1600 * misc/stty.c: Likewise.
1601 * misc/swapoff.c: Likewise.
1602 * misc/swapon.c: Likewise.
1603 * misc/sync.c: Likewise.
1604 * misc/syncfs.c: Likewise.
1605 * misc/syscall.c: Likewise.
1606 * misc/truncate.c: Likewise.
1607 * misc/ualarm.c: Likewise.
1608 * misc/usleep.c: Likewise.
1609 * misc/ustat.c: Likewise.
1610 * misc/utimes.c: Likewise.
1611 * misc/vhangup.c: Likewise.
1612 * misc/writev.c: Likewise.
1613 * posix/_exit.c: Likewise.
1614 * posix/alarm.c: Likewise.
1615 * posix/execve.c: Likewise.
1616 * posix/fexecve.c: Likewise.
1617 * posix/fork.c: Likewise.
1618 * posix/fpathconf.c: Likewise.
1619 * posix/getaddrinfo.c: Likewise.
1620 * posix/getegid.c: Likewise.
1621 * posix/geteuid.c: Likewise.
1622 * posix/getgid.c: Likewise.
1623 * posix/getgroups.c: Likewise.
1624 * posix/getlogin.c: Likewise.
1625 * posix/getlogin_r.c: Likewise.
1626 * posix/getpgid.c: Likewise.
1627 * posix/getpid.c: Likewise.
1628 * posix/getppid.c: Likewise.
1629 * posix/getresgid.c: Likewise.
1630 * posix/getresuid.c: Likewise.
1631 * posix/getsid.c: Likewise.
1632 * posix/getuid.c: Likewise.
1633 * posix/glob64.c: Likewise.
1634 * posix/nanosleep.c: Likewise.
1635 * posix/pathconf.c: Likewise.
1636 * posix/pause.c: Likewise.
1637 * posix/posix_madvise.c: Likewise.
1638 * posix/pread.c: Likewise.
1639 * posix/pread64.c: Likewise.
1640 * posix/pwrite.c: Likewise.
1641 * posix/pwrite64.c: Likewise.
1642 * posix/sched_getaffinity.c: Likewise.
1643 * posix/sched_getp.c: Likewise.
1644 * posix/sched_gets.c: Likewise.
1645 * posix/sched_primax.c: Likewise.
1646 * posix/sched_primin.c: Likewise.
1647 * posix/sched_rr_gi.c: Likewise.
1648 * posix/sched_setaffinity.c: Likewise.
1649 * posix/sched_setp.c: Likewise.
1650 * posix/sched_sets.c: Likewise.
1651 * posix/sched_yield.c: Likewise.
1652 * posix/setgid.c: Likewise.
1653 * posix/setlogin.c: Likewise.
1654 * posix/setpgid.c: Likewise.
1655 * posix/setresgid.c: Likewise.
1656 * posix/setresuid.c: Likewise.
1657 * posix/setsid.c: Likewise.
1658 * posix/setuid.c: Likewise.
1659 * posix/sleep.c: Likewise.
1660 * posix/spawni.c: Likewise.
1661 * posix/sysconf.c: Likewise.
1662 * posix/times.c: Likewise.
1663 * posix/wait.c: Likewise.
1664 * posix/wait3.c: Likewise.
1665 * posix/wait4.c: Likewise.
1666 * posix/waitpid.c: Likewise.
1667 * resolv/gai_sigqueue.c: Likewise.
1668 * resource/getpriority.c: Likewise.
1669 * resource/getrlimit.c: Likewise.
1670 * resource/getrusage.c: Likewise.
1671 * resource/nice.c: Likewise.
1672 * resource/setpriority.c: Likewise.
1673 * resource/setrlimit.c: Likewise.
1674 * resource/ulimit.c: Likewise.
1675 * rt/aio_cancel.c: Likewise.
1676 * rt/aio_fsync.c: Likewise.
1677 * rt/aio_read.c: Likewise.
1678 * rt/aio_sigqueue.c: Likewise.
1679 * rt/aio_suspend.c: Likewise.
1680 * rt/aio_write.c: Likewise.
1681 * rt/clock_getres.c: Likewise.
1682 * rt/clock_gettime.c: Likewise.
1683 * rt/clock_nanosleep.c: Likewise.
1684 * rt/clock_settime.c: Likewise.
1685 * rt/lio_listio.c: Likewise.
1686 * rt/mq_close.c: Likewise.
1687 * rt/mq_getattr.c: Likewise.
1688 * rt/mq_notify.c: Likewise.
1689 * rt/mq_open.c: Likewise.
1690 * rt/mq_receive.c: Likewise.
1691 * rt/mq_send.c: Likewise.
1692 * rt/mq_setattr.c: Likewise.
1693 * rt/mq_timedreceive.c: Likewise.
1694 * rt/mq_timedsend.c: Likewise.
1695 * rt/mq_unlink.c: Likewise.
1696 * rt/shm_open.c: Likewise.
1697 * rt/shm_unlink.c: Likewise.
1698 * rt/timer_create.c: Likewise.
1699 * rt/timer_delete.c: Likewise.
1700 * rt/timer_getoverr.c: Likewise.
1701 * rt/timer_gettime.c: Likewise.
1702 * rt/timer_settime.c: Likewise.
1703 * setjmp/__longjmp.c: Likewise.
1704 * setjmp/setjmp.c: Likewise.
1705 * signal/kill.c: Likewise.
1706 * signal/killpg.c: Likewise.
1707 * signal/raise.c: Likewise.
1708 * signal/sigaction.c: Likewise.
1709 * signal/sigaltstack.c: Likewise.
1710 * signal/sigblock.c: Likewise.
1711 * signal/sigignore.c: Likewise.
1712 * signal/sigintr.c: Likewise.
1713 * signal/signal.c: Likewise.
1714 * signal/sigpause.c: Likewise.
1715 * signal/sigpending.c: Likewise.
1716 * signal/sigqueue.c: Likewise.
1717 * signal/sigreturn.c: Likewise.
1718 * signal/sigset.c: Likewise.
1719 * signal/sigsetmask.c: Likewise.
1720 * signal/sigstack.c: Likewise.
1721 * signal/sigsuspend.c: Likewise.
1722 * signal/sigtimedwait.c: Likewise.
1723 * signal/sigvec.c: Likewise.
1724 * signal/sigwait.c: Likewise.
1725 * signal/sigwaitinfo.c: Likewise.
1726 * signal/sysv_signal.c: Likewise.
1727 * socket/accept.c: Likewise.
1728 * socket/accept4.c: Likewise.
1729 * socket/bind.c: Likewise.
1730 * socket/connect.c: Likewise.
1731 * socket/getpeername.c: Likewise.
1732 * socket/getsockname.c: Likewise.
1733 * socket/getsockopt.c: Likewise.
1734 * socket/isfdtype.c: Likewise.
1735 * socket/listen.c: Likewise.
1736 * socket/recv.c: Likewise.
1737 * socket/recvfrom.c: Likewise.
1738 * socket/recvmsg.c: Likewise.
1739 * socket/send.c: Likewise.
1740 * socket/sendmsg.c: Likewise.
1741 * socket/sendto.c: Likewise.
1742 * socket/setsockopt.c: Likewise.
1743 * socket/shutdown.c: Likewise.
1744 * socket/sockatmark.c: Likewise.
1745 * socket/socket.c: Likewise.
1746 * socket/socketpair.c: Likewise.
1747 * stdio-common/ctermid.c: Likewise.
1748 * stdio-common/cuserid.c: Likewise.
1749 * stdio-common/remove.c: Likewise.
1750 * stdio-common/rename.c: Likewise.
1751 * stdio-common/renameat.c: Likewise.
1752 * stdio-common/tempname.c: Likewise.
1753 * stdlib/getcontext.c: Likewise.
1754 * stdlib/makecontext.c: Likewise.
1755 * stdlib/setcontext.c: Likewise.
1756 * stdlib/swapcontext.c: Likewise.
1757 * stdlib/system.c: Likewise.
1758 * streams/fattach.c: Likewise.
1759 * streams/fdetach.c: Likewise.
1760 * streams/getmsg.c: Likewise.
1761 * streams/getpmsg.c: Likewise.
1762 * streams/putmsg.c: Likewise.
1763 * streams/putpmsg.c: Likewise.
1764 * sysdeps/unix/bsd/getpt.c: Likewise.
1765 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1766 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1767 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1770 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1771 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1772 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1773 * sysvipc/msgctl.c: Likewise.
1774 * sysvipc/msgget.c: Likewise.
1775 * sysvipc/msgrcv.c: Likewise.
1776 * sysvipc/msgsnd.c: Likewise.
1777 * sysvipc/semctl.c: Likewise.
1778 * sysvipc/semget.c: Likewise.
1779 * sysvipc/semop.c: Likewise.
1780 * sysvipc/semtimedop.c: Likewise.
1781 * sysvipc/shmat.c: Likewise.
1782 * sysvipc/shmctl.c: Likewise.
1783 * sysvipc/shmdt.c: Likewise.
1784 * sysvipc/shmget.c: Likewise.
1785 * termios/tcdrain.c: Likewise.
1786 * termios/tcflow.c: Likewise.
1787 * termios/tcflush.c: Likewise.
1788 * termios/tcgetattr.c: Likewise.
1789 * termios/tcgetpgrp.c: Likewise.
1790 * termios/tcsendbrk.c: Likewise.
1791 * termios/tcsetattr.c: Likewise.
1792 * termios/tcsetpgrp.c: Likewise.
1793 * time/adjtime.c: Likewise.
1794 * time/clock.c: Likewise.
1795 * time/getitimer.c: Likewise.
1796 * time/gettimeofday.c: Likewise.
1797 * time/setitimer.c: Likewise.
1798 * time/settimeofday.c: Likewise.
1799 * time/stime.c: Likewise.
1800 * time/time.c: Likewise.
1802 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1804 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1807 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1809 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1811 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1815 FE_TONEAREST before applying Dekker multiplication and Knuth
1816 addition. Clear inexact exceptions and check for exact zero
1818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1819 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1821 * math/libm-test.inc (fma_test): Add more tests.
1822 (fma_test_towardzero): Likewise.
1823 (fma_test_downward): Likewise.
1824 (fma_test_upward): Likewise.
1825 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1827 (libc_fesetround): New macro.
1828 (libc_fesetroundf): Likewise.
1829 (libc_fesetroundl): Likewise.
1830 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1832 (libc_fesetround_387): Likewise.
1833 (libc_fesetroundf): New macro.
1834 (libc_fesetround): Likewise.
1835 (libc_fesetroundl): Likewise.
1836 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1838 (libc_fesetroundf): New macro.
1839 (libc_fesetround): Likewise.
1840 (libc_fesetroundl): Likewise.
1841 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1842 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1843 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1845 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1846 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1848 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1849 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1851 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1855 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1856 integer constant usable in #if and use that to give value to enum
1858 (FE_DIVBYZERO): Likewise.
1859 (FE_UNDERFLOW): Likewise.
1860 (FE_OVERFLOW): Likewise.
1861 (FE_INVALID): Likewise.
1862 (FE_INVALID_SNAN): Likewise.
1863 (FE_INVALID_ISI): Likewise.
1864 (FE_INVALID_IDI): Likewise.
1865 (FE_INVALID_ZDZ): Likewise.
1866 (FE_INVALID_IMZ): Likewise.
1867 (FE_INVALID_COMPARE): Likewise.
1868 (FE_INVALID_SOFTWARE): Likewise.
1869 (FE_INVALID_SQRT): Likewise.
1870 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1871 (FE_TONEAREST): Likewise.
1872 (FE_TOWARDZERO): Likewise.
1873 (FE_UPWARD): Likewise.
1874 (FE_DOWNWARD): Likewise.
1875 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1876 (FE_DIVBYZERO): Likewise.
1877 (FE_OVERFLOW): Likewise.
1878 (FE_UNDERFLOW): Likewise.
1879 (FE_INEXACT): Likewise.
1880 (FE_TONEAREST): Likewise.
1881 (FE_DOWNWARD): Likewise.
1882 (FE_UPWARD): Likewise.
1883 (FE_TOWARDZERO): Likewise.
1884 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1885 (FE_UNDERFLOW): Likewise.
1886 (FE_OVERFLOW): Likewise.
1887 (FE_DIVBYZERO): Likewise.
1888 (FE_INVALID): Likewise.
1889 (FE_TONEAREST): Likewise.
1890 (FE_TOWARDZERO): Likewise.
1891 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1892 (FE_OVERFLOW): Likewise.
1893 (FE_UNDERFLOW): Likewise.
1894 (FE_DIVBYZERO): Likewise.
1895 (FE_INEXACT): Likewise.
1896 (FE_TONEAREST): Likewise.
1897 (FE_TOWARDZERO): Likewise.
1898 (FE_UPWARD): Likewise.
1899 (FE_DOWNWARD): Likewise.
1900 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1901 (FE_DIVBYZERO): Likewise.
1902 (FE_OVERFLOW): Likewise.
1903 (FE_UNDERFLOW): Likewise.
1904 (FE_INEXACT): Likewise.
1905 (FE_TONEAREST): Likewise.
1906 (FE_DOWNWARD): Likewise.
1907 (FE_UPWARD): Likewise.
1908 (FE_TOWARDZERO): Likewise.
1910 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1912 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1914 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1916 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1917 commands. Quote $PWD.
1918 (blacklist_exports): Don't use remove_newlines. Replace "declare
1920 (remove_newlines): Remove.
1922 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1924 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1925 * stdlib/stdlib.h (atof): Moved to ...
1926 * include/bits/stdlib-float.h: Here. New file.
1927 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1928 * stdlib/bits/stdlib-float.h: New file.
1929 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1934 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1936 * conform/conformtest.pl (@headers): Add fenv.h.
1937 * conform/data/fenv.h-data: New file.
1938 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1939 include of <math/fenv.h>.
1941 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1942 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1943 && !UNIX98]. Enables tests for XOPEN2K8.
1944 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1945 POSIX2008]: Likewise.
1947 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1948 (struct rusage): Do not expect type or its members.
1951 * math/math.h (FP_NAN): Define macro to integer constant usable in
1952 #if and use that to give value to enum constant.
1953 (FP_INFINITE): Likewise.
1954 (FP_ZERO): Likewise.
1955 (FP_SUBNORMAL): Likewise.
1956 (FP_NORMAL): Likewise.
1958 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1960 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1961 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1964 2012-11-02 Roland McGrath <roland@hack.frob.com>
1966 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1967 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1968 autoconf-time if not.
1969 * configure.in: Remove AC_PREREQ.
1971 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1973 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1974 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1975 of the internal implementation.
1977 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1979 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1980 except include of <misc/sys/syslog.h>.
1982 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1985 function returns with a NULL context exit with zero.
1987 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1989 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1991 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1993 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1994 (run_program_cmd): This.
1995 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1996 (tst_langinfo): New variable. Use it.
1998 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2000 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2001 floating point opcodes.
2003 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2005 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2008 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2010 * sysdeps/mach/hurd/powerpc: Remove directory.
2011 * sysdeps/mach/powerpc: Likewise.
2013 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2015 * scripts/check-local-headers.sh: Ignore c++ headers.
2017 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2019 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2020 __libc_cleanup_region_start argument.
2022 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2027 x * y using scaling, not as x * y + z.
2028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2030 * math/libm-test.inc (fma_test): Add more tests.
2031 (fma_test_towardzero): Likewise.
2032 (fma_test_downward): Likewise.
2033 (fma_test_upward): Likewise.
2035 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2037 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2039 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2041 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2044 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2046 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2048 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2055 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2058 Fix the order of the list for glibc 2.17.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2062 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2066 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2070 for low part of x being zero before using __atanl (y).
2071 * math/libm-test.inc (atan2_test): Add another test.
2073 * manual/install.texi (Configuring and compiling): Document
2074 general use of test-wrapper and test-wrapper-env.
2075 * INSTALL: Regenerated.
2077 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2078 (__fma): Do not extract and scale down low bits on after-rounding
2079 systems when result rounded to normal precision would have normal
2081 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2082 (__fmal): Do not extract and scale down low bits on after-rounding
2083 systems when result rounded to normal precision would have normal
2085 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2086 (__fmal): Do not extract and scale down low bits on after-rounding
2087 systems when result rounded to normal precision would have normal
2089 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2091 (fma_test): Add more tests.
2092 (fma_test_towardzero): Likewise.
2093 (fma_test_downward): Likewise.
2094 (fma_test_upward): Likewise.
2096 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2098 * sysdeps/i386/tininess.h: Renamed to ...
2099 * sysdeps/x86/tininess.h: This.
2100 * sysdeps/x86_64/tininess.h: Removed.
2102 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2104 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2105 input. Use $(build-program-cmd).
2106 ($(objpfx)tst-array1-static.out): Likewise.
2107 ($(objpfx)tst-array2.out): Likewise.
2108 ($(objpfx)tst-array3.out): Likewise.
2109 ($(objpfx)tst-array4.out): Likewise.
2110 ($(objpfx)tst-array5.out): Likewise.
2111 ($(objpfx)tst-array5-static.out): Likewise.
2113 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2115 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2118 * nss/nsswitch.h (nss_interface_function): Provide new
2119 macro for use with NSS functions.
2120 * grp/initgroups.c: Use new macro.
2121 * nss/getXXbyYY.c: Likewise.
2122 * nss/getXXbyYY_r.c: Likewise.
2123 * nss/getXXent.c: Likewise.
2124 * nss/getXXent_r.c: Likewise.
2125 * sysdeps/posix/getaddrinfo.c: Likewise.
2127 2012-10-30 Andreas Jaeger <aj@suse.de>
2129 * po/ru.po: Update Russion translation from translation project.
2131 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2136 result and shift together with sticky bit instead of replicating
2137 round-to-nearest rounding.
2138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2140 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2141 missing underflow exceptions.
2142 (fma_test_towardzero): Add more tests.
2143 (fma_test_downward): Likewise.
2144 (fma_test_upward): Likewise.
2147 * sysdeps/generic/tininess.h: New file.
2148 * sysdeps/i386/tininess.h: Likewise.
2149 * sysdeps/sh/tininess.h: Likewise.
2150 * sysdeps/x86_64/tininess.h: Likewise.
2151 * stdlib/tst-strtod-underflow.c: Likewise.
2152 * stdlib/tst-tininess.c: Likewise.
2153 * stdlib/strtod_l.c: Include <tininess.h>.
2154 (round_and_return): Do not set errno for exact underflow cases.
2155 Force an underflow exception when setting errno for underflow.
2156 Determine underflow based on rounding to normal precision if
2157 TININESS_AFTER_ROUNDING.
2158 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2159 ERANGE for exact underflow cases.
2160 * stdlib/Makefile (tests): Add tst-tininess and
2161 tst-strtod-underflow.
2162 ($(objpfx)tst-tininess): Use $(link-libm).
2163 ($(objpfx)tst-strtod-underflow): Likewise.
2165 2012-10-30 Andreas Jaeger <aj@suse.de>
2168 * elf/Makefile (tests): Remove conditional for have-initfini-array
2169 since this is now always required and the variable does not exist
2171 (tests-static): Likewise.
2172 (modules-names): Likewise.
2174 * po/eo.po: Add Esperanto translation from translation project.
2176 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2177 merged with constructor/destructor.
2178 (init_array): Likewise.
2179 * elf/tst-array2dep.c (fini_array): Likewise.
2180 (init_array): Likewise.
2182 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2184 * manual/message.texi: Delete @cartouche tags.
2186 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2188 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2190 * sysdeps/mach/hurd/fsync.c: Likewise.
2192 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2193 [_POSIX_REALTIME_SIGNALS]: Change condition to
2194 [_POSIX_REALTIME_SIGNALS > 0].
2196 2012-10-27 Andreas Jaeger <aj@suse.de>
2198 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2199 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2201 [__WORDSIZE != 64]: Likewise.
2203 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2205 * iconvdata/tst-table.sh: Remove ${SHELL}.
2206 * iconvdata/tst-tables.sh: Likewise.
2208 2012-10-25 David S. Miller <davem@davemloft.net>
2210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2211 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2217 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2218 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2221 2012-10-25 Roland McGrath <roland@hack.frob.com>
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2224 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2227 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2228 Jim Blandy <jimb@codesourcery.com>
2230 * scripts/cross-test-ssh.sh: New file.
2231 * manual/install.texi (Configuring and compiling): Document use of
2233 * INSTALL: Regenerated.
2235 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2237 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2240 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2242 * Makeconfig (run-program-prefix): Fix comment.
2244 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2245 Jim Blandy <jimb@codesourcery.com>
2247 * Makeconfig (test-wrapper): New variable,
2248 (test-wrapper-env): Likewise.
2249 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2250 (run-built-tests): Define to yes.
2251 (run-program-prefix): Use $(test-wrapper).
2252 (built-program-cmd): Likewise.
2253 * Rules (make-test-out): Use $(test-wrapper-env) and
2254 $(host-built-program-cmd).
2255 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2256 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2258 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2259 $(test-wrapper-env) to tst-rtld-load-self.sh.
2260 ($(objpfx)order2.out): Use $(test-wrapper).
2261 ($(objpfx)tst-initorder.out): Likewise.
2262 ($(objpfx)tst-initorder2.out): Likewise.
2263 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2264 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2265 (test_wrapper_env): New variable. Use it to run ld.so.
2266 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2267 Use it to run ld.so.
2268 (test_wrapper_env): Likewise.
2269 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2270 $(test-wrapper) to run-iconv-test.sh.
2271 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2272 (ICONV): Use $test_wrapper.
2273 * posix/Makefile ($(objpfx)globtest.out): Pass
2274 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2275 globtest.sh, not $(run-program-prefix).
2276 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2277 (test_wrapper): Likewise.
2278 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2279 set together with run_via_rtld_prefix.
2280 (run_program_prefix): Define in terms of test_wrapper and
2281 run_via_rtld_prefix.
2283 2012-10-24 Roland McGrath <roland@hack.frob.com>
2285 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2286 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2290 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2291 Declare __clock_getres, __clock_gettime, __clock_settime,
2292 __clock_nanosleep, and __clock_getcpuclockid.
2293 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2294 Remove librt_hidden_def (clock_gettime).
2295 * sysdeps/unix/clock_gettime.c: Likewise.
2296 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2298 * rt/clock_getres.c: Define __clock_getres as an alias.
2299 * sysdeps/posix/clock_getres.c: Likewise.
2300 * rt/clock_settime.c: Define __clock_settime as an alias.
2301 * sysdeps/unix/clock_settime.c: Likewise.
2302 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2303 * sysdeps/unix/clock_nanosleep.c: Likewise.
2304 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2305 * rt/clock-compat.c: New file.
2306 * rt/Makefile (librt-routines): Add clock-compat and move
2307 $(clock-routines) to ...
2308 (routines): ... here, new variable.
2309 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2310 Don't add get_clockfreq here.
2311 * rt/Versions (libc: GLIBC_2.17): New version set.
2312 Add clock_* symbols here.
2313 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2315 (GLIBC_2.17): Add clock_* symbols.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2327 * NEWS: Mention the move.
2329 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2330 Use __open, __read, __close rather than their public counterparts.
2331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2332 (__get_clockfreq_via_cpuinfo): Likewise.
2333 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2334 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2336 * config.h.in (HAVE_IFUNC): New #undef.
2337 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2339 * configure: Regenerated.
2341 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2343 * configure.in: Move READELF check to start of file.
2344 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2345 libc_cv_asm_gnu_indirect_function in the process.
2346 * configure: Regenerated.
2348 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2350 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2351 send the output to /dev/null.
2352 (libc_cv_cc_with_libunwind): Likewise.
2353 (libc_cv_as_noexecstack): Likewise.
2354 * configure: Regenerate.
2356 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2358 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2360 * posix/globtest.sh (TMPDIR): Do not set.
2361 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2362 (testout): Likewise.
2364 2012-10-24 Andreas Jaeger <aj@suse.de>
2366 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2367 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2368 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2369 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2370 posix_fadvise64, posix_fallocate64.
2372 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2373 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2374 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2376 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2378 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2381 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2382 <bits/fcntl-linux.h>.
2383 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2386 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2387 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2388 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2389 [__WORDSIZE != 64]: Likewise.
2391 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2393 * Makeconfig (run-built-tests): New variable.
2394 * Rules [$(cross-compiling) = yes]: Change condition to
2395 [$(run-built-tests) = no].
2396 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2397 to [$(run-built-tests) = yes].
2398 * elf/Makefile [$(cross-compiling) = no]: Likewise
2399 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2400 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2401 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2402 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2403 * io/Makefile [$(cross-compiling) = no]: Likewise.
2404 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2405 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2406 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2407 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2408 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2409 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2410 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2411 * string/Makefile [$(cross-compiling) = no]: Likewise.
2413 * posix/Makefile ($(objpfx)globtest.out): Pass
2414 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2415 $(rtld-installed-name).
2416 * posix/globtest.sh (elf_objpfx): Remove variable.
2417 (rtld_installed_name): Likewise.
2418 (library_path): Likewise.
2419 (run_program_prefix): New variable. Use for running globtest
2422 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2423 Joseph Myers <joseph@codesourcery.com>
2425 * Makeconfig (host-built-program-cmd): New variable.
2426 * elf/Makefile (tst-stackguard1-ARGS): Use
2427 $(host-built-program-cmd).
2428 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2429 (tst-spawn-ARGS): Likewise.
2430 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2432 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2433 Jim Blandy <jimb@codesourcery.com>
2435 * Makeconfig (run-via-rtld-prefix): New variable.
2436 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2437 (built-program-cmd): Likewise.
2439 2012-10-22 Andreas Jaeger <aj@suse.de>
2441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2442 __O_RSYNC if it exists, otherwise to O_SYNC.
2444 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2445 Joseph Myers <joseph@codesourcery.com>
2447 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2449 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2451 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2454 2012-10-22 Andreas Jaeger <aj@suse.de>
2456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2464 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2471 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2472 Joseph Myers <joseph@codesourcery.com>
2474 * config.make.in (NM): New variable.
2476 2012-10-21 Andreas Jaeger <aj@suse.de>
2478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2479 definitions and declarations that are provided by
2480 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2482 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2485 * elf/Makefile (tests-static): Add tst-leaks1-static.
2486 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2487 ($(objpfx)tst-leaks1-static): New rule.
2488 ($(objpfx)tst-leaks1-static-mem): Likewise.
2489 (tst-leaks1-static-ENV): New macro.
2490 * elf/dl-open.c (dl_open_worker): Check the main application
2491 only if SHARED is defined.
2492 * elf/tst-leaks1-static.c: New file.
2494 2012-10-20 Andreas Jaeger <aj@suse.de>
2496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2497 generic values for Linux.
2498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2499 and declarations that are provided by <bits/fcntl-linux.h> and
2500 include <bits/fcntl-linux.h>.
2501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2504 2012-10-20 Roland McGrath <roland@hack.frob.com>
2506 * io/fcntl.h: Move include of <bits/types.h> to the top and
2507 include it unconditionally.
2509 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2511 * wcsmbs/Makefile (tests-ifunc): New variable.
2512 (tests): Add $(tests-ifunc).
2513 * wcsmbs/test-wcschr-ifunc.c: New file.
2514 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2515 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2516 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2517 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2518 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2520 * string/Makefile (tests-ifunc): New variable.
2521 (tests): Add $(tests-ifunc).
2522 * string/test-memccpy.c (TEST_NAME): New macro.
2523 * string/test-memchr.c (TEST_NAME): Likewise.
2524 * string/test-memcmp.c (TEST_NAME): Likewise.
2525 * string/test-memcpy.c (TEST_NAME): Likewise.
2526 * string/test-memmem.c (TEST_NAME): Likewise.
2527 * string/test-memmove.c (TEST_NAME): Likewise.
2528 * string/test-memset.c (TEST_NAME): Likewise.
2529 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2530 * string/test-stpcpy.c (TEST_NAME): Likewise.
2531 * string/test-stpncpy.c (TEST_NAME): Likewise.
2532 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2533 * string/test-strcasestr.c (TEST_NAME): Likewise.
2534 * string/test-strcat.c (TEST_NAME): Likewise.
2535 * string/test-strchr.c (TEST_NAME): Likewise.
2536 * string/test-strcmp.c(TEST_NAME): Likewise.
2537 * string/test-strcpy.c (TEST_NAME): Likewise.
2538 * string/test-strcspn.c (TEST_NAME): Likewise.
2539 * string/test-strlen.c (TEST_NAME): Likewise.
2540 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2541 * string/test-strncmp.c (TEST_NAME): Likewise.
2542 * string/test-strncpy.c (TEST_NAME): Likewise.
2543 * string/test-strnlen.c (TEST_NAME): Likewise.
2544 * string/test-strpbrk.c (TEST_NAME): Likewise.
2545 * string/test-strrchr.c (TEST_NAME): Likewise.
2546 * string/test-strspn.c (TEST_NAME): Likewise.
2547 * string/test-strstr.c (TEST_NAME): Likewise.
2548 * string/test-bcopy-ifunc.c: New file.
2549 * string/test-bzero-ifunc.c: Likewise.
2550 * string/test-memccpy-ifunc.c: Likewise.
2551 * string/test-memchr-ifunc.c: Likewise.
2552 * string/test-memcmp-ifunc.c: Likewise.
2553 * string/test-memcpy-ifunc.c: Likewise.
2554 * string/test-memmem-ifunc.c: Likewise.
2555 * string/test-memmove-ifunc.c: Likewise.
2556 * string/test-mempcpy-ifunc.c: Likewise.
2557 * string/test-memset-ifunc.c: Likewise.
2558 * string/test-rawmemchr-ifunc.c: Likewise.
2559 * string/test-stpcpy-ifunc.c: Likewise.
2560 * string/test-stpncpy-ifunc.c: Likewise.
2561 * string/test-strcasecmp-ifunc.c: Likewise.
2562 * string/test-strcasestr-ifunc.c: Likewise.
2563 * string/test-strcat-ifunc.c: Likewise.
2564 * string/test-strchr-ifunc.c: Likewise.
2565 * string/test-strchrnul-ifunc.c: Likewise.
2566 * string/test-strcmp-ifunc.c: Likewise.
2567 * string/test-strcpy-ifunc.c: Likewise.
2568 * string/test-strcspn-ifunc.c: Likewise.
2569 * string/test-strlen-ifunc.c: Likewise.
2570 * string/test-strncasecmp-ifunc.c: Likewise.
2571 * string/test-strncat-ifunc.c: Likewise.
2572 * string/test-strncmp-ifunc.c: Likewise.
2573 * string/test-strncpy-ifunc.c: Likewise.
2574 * string/test-strnlen-ifunc.c: Likewise.
2575 * string/test-strpbrk-ifunc.c: Likewise.
2576 * string/test-strrchr-ifunc.c: Likewise.
2577 * string/test-strspn-ifunc.c: Likewise.
2578 * string/test-strstr-ifunc.c: Likewise.
2580 * debug/Makefile (tests-ifunc): New variable.
2581 (tests): Add $(tests-ifunc).
2582 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2583 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2584 * debug/test-stpcpy_chk-ifunc.c: New file.
2585 * debug/test-strcpy_chk-ifunc.c: Likewise.
2587 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2590 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2591 header is not read in.
2593 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2595 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2596 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2597 directly. Pass built executable to script as
2598 $(built-program-cmd).
2599 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2600 $testprogram without using LD_LIBRARY_PATH and $ldso.
2602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2603 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2604 $(rtld-installed-name).
2605 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2606 (rtld_installed_name): Likewise.
2607 (library_path): Likewise.
2608 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2609 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2610 $(run-program-prefix) to tst-tables.sh.
2611 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2612 it to run tst-table-from and tst-table-to.
2613 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2614 Pass it to tst-table.sh.
2615 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2616 $(run-program-prefix) to tst-gettext.sh.
2617 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2619 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2621 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2623 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2624 to run tst-gettext2.
2625 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2626 to run tst-translit.
2627 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2628 $(run-program-prefix) to tst-mtrace.sh.
2629 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2631 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2632 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2633 $(rtld-installed-name).
2634 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2635 (rtld_installed_name): Likewise.
2636 (run_program_prefix): New variable. Use it to run wordexp-test.
2638 * Makeconfig (ARCH): Remove all definitions.
2639 (machine): Likewise.
2640 [ARCH]: Remove conditional code.
2641 [!objdir]: Give error.
2642 [!objdir] (objpfx): Remove.
2643 [!objdir] (common-objpfx): Likewise.
2644 [!objdir] (common-objdir): Likewise.
2645 * configure.in (config_makefile): Remove. Hardcode Makefile in
2646 AC_CONFIG_FILES call.
2647 * configure: Regenerated.
2650 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2652 (testout): Likewise.
2654 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2655 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2656 $(rtld-installed-name).
2657 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2658 (rtld_installed_name): Likwise.
2659 (runit): Remove function.
2660 (run_getconf): New variable, Use it for running getconf binary.
2662 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2665 * string/test-memmem.c (check_result): New function.
2666 (do_one_test): Use it.
2667 (check1): New function.
2668 (test_main): Use it.
2670 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2672 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2674 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2676 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2677 (_G_LSEEK64): Likewise.
2678 (_G_MMAP64): Likewise.
2679 (_G_FSTAT64): Likewise.
2680 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2681 (_G_LSEEK64): Likewise.
2682 (_G_MMAP64): Likewise.
2683 (_G_FSTAT64): Likewise.
2684 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2685 unconditional. Call __mmap64 directly.
2686 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2687 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2689 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2690 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2692 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2693 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2695 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2696 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2698 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2699 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2701 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2702 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2703 __fxstat64 directly.
2704 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2705 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2707 (freopen64) [!_G_OPEN64]: Remove conditional code.
2708 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2710 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2711 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2713 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2714 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2716 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2717 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2719 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2720 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2722 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2723 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2725 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2726 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2728 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2730 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2733 * manual/memory.texi (Malloc Tunable Parameters): Add note
2734 about free list pointers overwriting some perturb bytes.
2735 Wording suggested by Roland McGrath.
2737 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2739 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2740 (lgamma_test): Likewise.
2741 (tgamma_test): Likewise.
2743 2012-10-16 Florian Weimer <fweimer@redhat.com>
2746 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2747 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2749 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2751 * NEWS: Mention BZ #14716.
2752 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2753 when removing AVAILABLE1_USES_J macro.
2755 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2757 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2758 (__bswap_64): __uint64_t for unsigned 64-bit int.
2760 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2762 * include/string.h (memmem): Declare libc hidden alias.
2763 * string/memmem.c (memmem): Define libc hidden alias.
2764 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2765 __read, __close instead of open, read, close.
2767 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2770 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2772 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2773 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2774 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2776 (__rawmemchr_sse2): Likewise.
2777 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2778 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2779 (__strchr_sse2): Likewise.
2780 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2781 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2782 (__strcasecmp_sse2): Likewise.
2783 (__strncasecmp_sse2): Likewise.
2784 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2785 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2786 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2787 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2788 (__strrchr_sse2): Likewise.
2789 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2791 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2792 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2793 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2794 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2795 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2796 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2797 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2798 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2799 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2800 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2801 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2802 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2803 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2804 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2805 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2806 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2807 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2808 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2809 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2810 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2811 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2812 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2813 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2814 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2815 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2817 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2818 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2819 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2820 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2822 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2824 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2825 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2826 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2827 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2829 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2831 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2832 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2833 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2834 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2836 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2852 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2854 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2859 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2861 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2862 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2863 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2864 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2865 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2866 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2867 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2868 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2869 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2870 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2871 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2872 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2873 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2874 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2875 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2876 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2878 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2879 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2880 * include/ifunc-impl-list.h: New file.
2881 * misc/ifunc-impl-list.c: Likewise.
2882 * misc/Makefile (routines): Add ifunc-impl-list.
2883 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2884 * string/test-string.h: Include <ifunc-impl-list.h>.
2885 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2886 impl_array): New variables.
2887 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2889 (test_init): Call __libc_ifunc_impl_list to initialize
2890 func_list if TEST_IFUNC and TEST_NAME are defined.
2892 * string/Makefile (strop-tests): Add bcopy and bzero.
2893 * string/test-bcopy.c: New file.
2894 * string/test-bzero.c: Likewise.
2895 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2897 * string/test-memset.c: Support bzero test if TEST_BZERO is
2899 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2901 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2903 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2906 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2908 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2909 * configure: Regenerated.
2911 * Makeconfig (+link-static-before-libc): Don't include
2912 $(link-static-libc).
2914 * libio/libio.h (_IO_pos_t): Remove.
2916 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2918 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2921 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2923 * crypt/crypt-entry.c: Include fips-private.h.
2924 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2925 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2926 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2927 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2929 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2931 * crypt/crypt-private.h: Include stdbool.h.
2932 (_ufc_setup_salt_r): Return bool.
2933 * crypt/crypt-entry.c: Include errno.h.
2934 (__crypt_r): Return NULL with EINVAL for bad salt.
2935 * crypt/crypt_util.c (bad_for_salt): New.
2936 (_ufc_setup_salt_r): Check that salt is long enough and within
2937 the specified alphabet.
2938 * crypt/badsalttest.c: New file.
2939 * crypt/Makefile (tests): Add it.
2940 ($(objpfx)badsalttest): New.
2942 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2944 * NEWS: Add entry for BZ #14602.
2946 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2948 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2950 * math/libm-test.inc: Update comment listing what functions and
2952 (isgreater_test): New function.
2953 (isgreaterequal_test): Likewise.
2954 (isless_test): Likewise.
2955 (islessequal_test): Likewise.
2956 (islessgreater_test): Likewise.
2957 (isunordered_test): Likewise.
2958 (main): Call the new functions.
2960 2012-10-09 Roland McGrath <roland@hack.frob.com>
2962 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2963 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2964 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2965 * sysdeps/i386/configure: Regenerated.
2966 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2967 * sysdeps/mach/configure: Regenerated.
2968 * sysdeps/mach/hurd/configure: Regenerated.
2969 * sysdeps/powerpc/configure: Regenerated.
2970 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2971 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2972 * sysdeps/s390/s390-32/configure: Regenerated.
2973 * sysdeps/s390/s390-64/configure: Regenerated.
2974 * sysdeps/sh/configure: Regenerated.
2975 * sysdeps/sparc/configure: Regenerated.
2976 * sysdeps/unix/sysv/linux/configure: Regenerated.
2977 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2978 * sysdeps/x86_64/configure: Regenerated.
2980 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2981 defined. Don't check if MAP is NULL.
2983 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2985 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2986 (_G_stat64): Likewise.
2987 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2988 (_G_stat64): Likewise.
2989 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2990 instead of struct _G_stat64.
2991 * libio/fileops.c (mmap_remap_check): Likewise.
2992 (decide_maybe_mmap): Likewise.
2993 (_IO_new_file_seekoff): Likewise.
2994 (_IO_file_stat): Likewise.
2995 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2997 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2998 instead of struct _G_stat64.
2999 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3001 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3004 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3006 (CHECK_EOL): New macro.
3007 (two_way_short_needle): Check beginning of haystack for EOL. Use
3009 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3010 Replace with CHECK_EOL.
3011 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3012 Replace with CHECK_EOL.
3014 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3016 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3018 * math/libm-test.inc: Update comment listing what functions and
3020 (finite_test): New function.
3021 (isinf_test): Likewise.
3022 (isnan_test): Likewise.
3023 (fpclassify_test): Test subnormal input.
3024 (isfinite_test): Likewise.
3025 (isnormal_test): Likewise.
3026 (main): Call the new functions.
3028 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3031 * Makerules (%.dynsym): Force C locale when running
3032 $(OBJDUMP) --dynamic-syms.
3034 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3036 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3039 2012-10-06 David S. Miller <davem@davemloft.net>
3041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3042 upper 32-bits of the length value in %o2 since we use branch-on-register
3043 tests which consider the entire 64-bit register.
3045 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3047 * string/test-strstr.c (check2): Add a test for page boundary.
3049 2012-10-05 David S. Miller <davem@davemloft.net>
3051 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3052 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3054 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3057 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3058 and bzero when HWCAP_SPARC_CRYPTO is present.
3060 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3063 * string/test-strstr.c (check2): New function.
3064 (test_main): Call check2.
3066 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3068 * string/bug-strcasestr1.c (do_test): Moved to ...
3069 * string/test-strcasestr.c (check1): Here. New function.
3070 (do_one_test): Break out result checking code into ...
3071 (check_result): This. New function.
3072 (do_one_test): Call check_result.
3073 (test_main): Call check1.
3074 * string/bug-strchr1.c (do_test): Moved to ...
3075 * string/test-strchr.c (check1): Here. New function.
3076 (do_one_test): Break out result checking code into ...
3077 (check_result): This. New function.
3078 (do_one_test): Call check_result.
3079 (test_main): Call check1.
3080 * string/bug-strstr1.c (main): Moved to ...
3081 * string/test-strchr.c (check1): Here. New function.
3082 (do_one_test): Break out result checking code into ...
3083 (check_result): This. New function.
3084 (do_one_test): Call check_result.
3085 (test_main): Call check1.
3086 * string/bug-strcasestr1.c: Removed.
3087 * string/bug-strchr1.c: Likewise.
3088 * string/bug-strstr1.c: Likewise.
3090 * elf/Makefile (dl-routines): Add hwcaps.
3091 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3092 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3093 (_dl_important_hwcaps): Moved to ...
3094 * elf/dl-hwcaps.c: Here. New file.
3095 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3098 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3099 if IS_IN_rtld isn't defined.
3101 * elf/dl-support.c (_dl_sysinfo_map): New.
3102 Include "get-dynamic-info.h" and "setup-vdso.h".
3103 (_dl_non_dynamic_init): Call setup_vdso.
3104 * elf/dynamic-link.h: Don't include <assert.h>.
3105 (elf_get_dynamic_info): Moved to ...
3106 * elf/get-dynamic-info.h: Here. New file.
3107 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3108 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3109 * elf/setup-vdso.h: Here. New file.
3110 * elf/rtld.c: Include "setup-vdso.h".
3111 (dl_main): Call setup_vdso.
3113 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3115 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3116 creal in comment listing functions tested. List finite, isinf,
3117 isnan, isless, islessequal, isgreater, isgreaterequal,
3118 islessgreater, isunordered, lgamma_r and pow10 as functions and
3119 macros not tested. Mention which functions not tested are aliases
3120 for other functions. Fix typo. Note that signs of NaNs are not
3123 * scripts/config.guess: Update from config.git.
3124 * scripts/config.sub: Likewise.
3126 2012-10-04 Roland McGrath <roland@hack.frob.com>
3128 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3129 * misc/madvise.c (madvise): Renamed to __madvise.
3130 Make madvise a weak alias.
3131 * include/sys/mman.h: Declare __madvise.
3132 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3133 * sysdeps/unix/syscalls.list
3134 (madvise): Make __madvise the strong name, and madvise a weak alias.
3135 * sysdeps/unix/sysv/linux/syscalls.list
3136 (madvise, mmap): Remove redundant entries.
3137 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3138 * malloc/malloc.c (mtrim): Likewise.
3139 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3141 2012-10-03 Roland McGrath <roland@hack.frob.com>
3143 * sysdeps/mach/hurd/dl-cache.c: File removed.
3144 * config.h.in (USE_LDCONFIG): New #undef.
3145 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3146 * configure: Regenerated.
3147 * elf/Makefile (dl-routines): Add dl-cache only under
3148 [$(use-ldconfig) = yes].
3149 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3150 cache on [USE_LDCONFIG].
3151 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3153 * elf/rtld.c (dl_main): Likewise.
3155 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3157 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3158 _SC_LEVEL4_CACHE_LINESIZE.
3160 2012-10-03 Roland McGrath <roland@hack.frob.com>
3162 * sysdeps/unix/bsd/confstr.h: File removed.
3164 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3166 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3169 2012-10-02 Roland McGrath <roland@hack.frob.com>
3171 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3172 Make 'mapoff' field ElfW(Off) rather than off_t.
3174 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3176 * nscd/Makefile: Remove nscd-cflags and all its users.
3177 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3178 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3181 * malloc.c (malloc_printerr): Clarify error message.
3183 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3187 Set bit_FMA_Usable if FMA is supported.
3188 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3190 (bit_FMA4_Usable): Updated.
3191 (index_FMA_Usable): New macro.
3192 (CPUID_FMA): Likewise
3193 (HAS_FMA): Defined with bit_FMA_Usable.
3195 2012-10-01 Roland McGrath <roland@hack.frob.com>
3197 * bits/types.h (__swblk_t): Type removed.
3198 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3199 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3201 (__SWBLK_T_TYPE): Likewise.
3202 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3203 (__SWBLK_T_TYPE): Likewise.
3204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3205 (__SWBLK_T_TYPE): Likewise.
3206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3207 (__SWBLK_T_TYPE): Likewise.
3209 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3210 Honza Horak <hhorak@redhat.com>
3212 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3213 (xdr_mapname): Use YPMAXMAP as maxsize.
3214 (xdr_peername): Use YPMAXPEER as maxsize.
3215 (xdr_keydat): Use YPAXRECORD as maxsize.
3216 (xdr_valdat): Use YPMAXRECORD as maxsize.
3218 2012-10-01 Roland McGrath <roland@hack.frob.com>
3220 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3222 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3223 * csu/init-first.c: ... here.
3224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3225 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3228 * sysdeps/i386/init-first.c: File removed.
3229 * sysdeps/sh/init-first.c: File removed.
3231 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3235 if x * y might underflow to zero and z is zero.
3236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3238 * math/libm-test.inc (min_subnorm_value): New variable.
3239 (fma_test): Add more tests.
3240 (fma_test_towardzero): Likewise.
3241 (fma_test_downward): Likewise
3242 (fma_test_upward): Likewise.
3243 (initialize): Set min_subnorm_value.
3245 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3251 mode for addition resulting in exact zero.
3252 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3255 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3257 * math/libm-test.inc (fma_test): Add more tests.
3258 (fma_test_towardzero): New function.
3259 (fma_test_downward): Likewise.
3260 (fma_test_upward): Likewise.
3261 (main): Call the new functions.
3263 2012-09-28 David S. Miller <davem@davemloft.net>
3265 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3267 2012-09-28 Roland McGrath <roland@hack.frob.com>
3269 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3272 * sysdeps/gnu/_G_config.h: Moved to ...
3273 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3274 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3275 * sysdeps/generic/_G_config.h: ... here.
3277 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3279 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3281 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3282 Conditionalize target on [libnss_test1.so-version].
3284 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3286 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3287 (elfobjdir): Move out of conditionals.
3289 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3290 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3291 (__nss_lookup_function): Conditionalize label remove_from_tree on
3292 [!DO_STATIC_NSS || SHARED], matching its only use.
3294 2012-09-28 David S. Miller <davem@davemloft.net>
3296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3297 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3299 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3301 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3303 when HWCAP_SPARC_CRYPTO is present.
3305 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3307 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3309 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3312 * stdio-common/vfprintf.c (process_string_arg): Revert
3315 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3317 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3319 * stdio-common/tst-sprintf.c: Include <locale.h>
3320 (main): Test sprintf's handling of incomplete multibyte
3323 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3325 * elf/dl-runtime.c (VERSYMIDX): Removed.
3326 * elf/dl-version.c (VERSYMIDX): Likewise.
3327 * elf/do-rel.h (VERSYMIDX): Likewise.
3329 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3330 * elf/rtld.c (VALIDX): Likewise.
3331 (ADDRIDX): Likewise.
3332 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3333 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3334 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3335 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3337 (ADDRIDX): Likewise.
3339 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3341 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3343 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3346 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3348 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3349 addresses are in the same scope as 192.0.2/24.
3350 * posix/gai.conf: Document new scope table defaults.
3352 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3355 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3356 for ftell. Compute offsets from write pointers instead.
3357 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3359 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3362 * libio/Makefile (tests): New test case tst-fseek.
3363 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3364 combination works in wide mode.
3365 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3366 state when the external buffer state changes.
3368 2012-09-27 David S. Miller <davem@davemloft.net>
3371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3372 pass reloc->r_addend in as the 'high' argument to
3373 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3377 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3379 * rt/tst-aio2.c: Include <pthread.h>.
3380 * rt/tst-aio3.c: Likewise.
3382 2012-09-27 Steve Ellcey <sellcey@mips.com>
3384 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3386 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3388 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3389 contents on [SHARED].
3391 2012-09-26 Marek Polacek <polacek@redhat.com>
3395 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3396 for C++ and GCC <4.3 as well as for non GCC compilers.
3398 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3402 2012-09-25 Roland McGrath <roland@hack.frob.com>
3404 * Makefile.in (all, install): Declare with .PHONY.
3405 Reported by Michael Hope <michael.hope@linaro.org>.
3407 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3409 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3410 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3412 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3414 (sydep_routines): Add the new and the internal functions.
3415 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3416 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3418 (GLIBC_2.17): Add the new function.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3420 (GLIBC_2.17): Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3422 (GLIBC_2.17): Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3424 (GLIBC_2.17): Likewise.
3425 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3427 2012-09-25 Alan Modra <amodra@gmail.com>
3429 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3430 Add release barrier before setting once_control to say
3431 initialisation is done. Add hints on lwarx. Use macro in
3433 (clear_once_control): Add release barrier.
3435 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3438 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3440 * math/s_clog10.c (__clog10): Likewise.
3441 * math/s_clog10f.c (__clog10f): Likewise.
3442 * math/s_clog10l.c (__clog10l): Likewise.
3443 * math/s_clogf.c (__clogf): Likewise.
3444 * math/s_clogl.c (__clogl): Likewise.
3445 * math/Makefile (libm-calls): Add x2y2m1.
3446 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3447 (__x2y2m1): Likewise.
3448 (__x2y2m1l): Likewise.
3449 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3450 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3453 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3454 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3455 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3456 * sysdeps/i386/fpu/libm-test-ulps: Update.
3457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3461 int as type of variable DEPTH.
3462 (glob): Use size_t instead of int as type of variables NEWCOUNT
3465 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3467 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3469 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3470 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3471 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3472 macros for using routine as __sincosf_ia32.
3473 Use macro for function declaration and weak_alias.
3474 * sysdeps/i386/fpu/libm-test-ulps: Update.
3476 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3479 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3481 * math/s_cexpf.c (__cexpf): Likewise.
3482 * math/s_csinf.c (__csinf): Likewise.
3483 * math/s_csinhf.c (__csinhf): Likewise.
3484 * math/s_ctanf.c (__ctanf): Likewise.
3485 * math/s_ctanhf.c (__ctanhf): Likewise.
3486 * math/s_ccosh.c (__ccoshf): Likewise.
3487 * math/s_cexp.c (__cexpl): Likewise.
3488 * math/s_csin.c (__csin): Likewise.
3489 * math/s_csinh.c (__csinh): Likewise.
3490 * math/s_ctan.c (__ctan): Likewise.
3491 * math/s_ctanh.c (ctanh): Likewise.
3492 * math/s_ccoshl.c (__ccoshl): Likewise.
3493 * math/s_cexpl.c (__cexpl): Likewise.
3494 * math/s_csinl.c (__csinl): Likewise.
3495 * math/s_csinhl.c (__csinhl): Likewise.
3496 * math/s_ctanl.c (__ctanl): Likewise.
3497 * math/s_ctanhl.c (__ctanhl): Likewise.
3499 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3501 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3502 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3503 (_IO_off_t): Define to __off_t, not _G_off_t.
3504 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3505 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3506 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3507 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3508 type of __dummy and __dummy2 fields.
3509 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3510 (_G_ssize_t): Likewise.
3511 (_G_off_t): Likewise.
3512 (_G_pid_t): Likewise.
3513 (_G_uid_t): Likewise.
3514 (_G_wchar_t): Likewise.
3515 (_G_wint_t): Likewise.
3516 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3517 (_G_ssize_t): Likewise.
3518 (_G_off_t): Likewise.
3519 (_G_pid_t): Likewise.
3520 (_G_uid_t): Likewise.
3521 (_G_wchar_t): Likewise.
3522 (_G_wint_t): Likewise.
3523 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3524 (_G_ssize_t): Likewise.
3525 (_G_off_t): Likewise.
3526 (_G_pid_t): Likewise.
3527 (_G_uid_t): Likewise.
3528 (_G_wchar_t): Likewise.
3529 (_G_wint_t): Likewise.
3531 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3533 * malloc/arena.c: Include malloc-sysdep.h.
3534 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3535 is sufficient to shrink the heap or an unmap is needed.
3536 * sysdeps/generic/malloc-sysdep.h: New file. Define
3537 new function check_may_shrink_heap.
3538 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3539 new function check_may_shrink_heap.
3541 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3543 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3546 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3548 * catgets/test-gencat.sh: Add "set -e".
3549 * elf/tst-pathopt.sh: Likewise.
3550 * grp/tst_fgetgrent.sh: Likewise.
3551 * iconvdata/run-iconv-test.sh: Likewise.
3552 * intl/tst-gettext.sh: Likewise.
3553 * intl/tst-gettext2.sh: Likewise.
3554 * intl/tst-gettext4.sh: Likewise.
3555 * intl/tst-gettext6.sh: Likewise.
3556 * intl/tst-translit.sh: Likewise.
3557 * io/ftwtest-sh: Likewise.
3558 * libio/test-freopen.sh: Likewise.
3559 * malloc/tst-mtrace.sh: Likewise.
3560 * posix/globtest.sh: Likewise.
3561 * posix/tst-getconf.sh: Likewise.
3562 * posix/wordexp-tst.sh: Likewise.
3563 * stdio-common/tst-printf.sh: Likewise.
3564 * stdio-common/tst-unbputc.sh: Likewise.
3565 * stdlib/tst-fmtmsg.sh: Likewise.
3566 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3567 * catgets/Makefile: Do not specify -e option when running
3568 testsuite shell scripts.
3569 * elf/Makefile: Likewise.
3570 * grp/Makefile: Likewise.
3571 * iconvdata/Makefile: Likewise.
3572 * intl/Makefile: Likewise.
3573 * io/Makefile: Likewise.
3574 * libio/Makefile: Likewise.
3575 * malloc/Makefile: Likewise.
3576 * posix/Makefile: Likewise.
3577 * stdio-common/Makefile: Likewise.
3578 * stdlib/Makefile: Likewise.
3579 * sysdeps/x86_64/Makefile: Likewise.
3581 * io/ftwtest-sh: Add copyright header.
3582 * posix/globtest.sh: Likewise.
3583 * posix/tst-getconf.sh: Likewise.
3584 * posix/wordexp-tst.sh: Likewise.
3585 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3587 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3590 * Makeconfig (+link): Defined as $(+link-static) if
3591 $(build-shared) isn't yes.
3592 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3594 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3596 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3599 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3600 new chunk size with MALLOC_ALIGN_MASK.
3602 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3605 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3607 (__printf_fphex): Determine rounding using get_rounding_mode and
3609 * stdio-common/tst-printf-round.c (struct hex_test): New
3611 (hex_tests): New variable.
3612 (test_hex_in_one_mode): New function.
3613 (do_test): Also run tests for hex float output.
3615 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3617 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3618 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3619 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3620 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3621 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3622 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3623 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3624 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3626 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3628 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3629 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3630 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3631 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3633 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3636 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3638 * elf/tst-rtld-load-self.sh: New test.
3639 * elf/Makefile: Run it.
3641 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3643 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3644 (tst-writev-ENV): Remove.
3645 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3647 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3649 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3651 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3653 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3655 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3657 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3658 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3659 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3662 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3665 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3666 * config.make.in (have-cpp-asm-debuginfo): Removed.
3667 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3668 * configure: Regenerated.
3670 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3673 * stdio-common/printf_fp.c: Include <stdbool.h> and
3675 (___printf_fp): Determine rounding using get_rounding_mode and
3677 * stdio-common/tst-printf-round.c: New file.
3678 * stdio-common/Makefile (tests): Add tst-printf-round.
3679 (link-libm): New variable.
3680 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3682 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3685 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3686 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3688 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3691 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3693 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3694 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3695 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3696 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3698 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3701 * include/rounding-mode.h: New file.
3702 * sysdeps/generic/get-rounding-mode.h: Likewise.
3703 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3704 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3705 (MAX_VALUE): New macro.
3706 (MIN_VALUE): Likewise.
3707 (overflow_value): New function.
3708 (underflow_value): Likewise.
3709 (round_and_return): Use overflow_value and underflow_value to
3710 determine return values in overflow and underflow cases. Use
3711 round_away to determine rounding depending on rounding mode.
3712 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3713 determine return values in overflow and underflow cases.
3714 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3715 (struct test_results): New structure.
3716 (struct test): Use struct test_results to store expected results
3717 for all rounding modes.
3718 (TEST): Include expected results for all rounding modes.
3719 (test_in_one_mode): New function.
3720 (do_test): Use test_in_one_mode to compute and check results.
3721 Check results for all rounding modes.
3722 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3725 2012-12-09 Allan McRae <allan@archlinux.org>
3727 * sysdeps/i386/fpu/libm-test-ulps: Update
3729 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3731 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3732 (_G_int32_t): Likewise.
3733 (_G_uint16_t): Likewise.
3734 (_G_uint32_t): Likewise.
3735 (_G_HAVE_BOOL): Likewise.
3736 (_G_HAVE_ATEXIT): Likewise.
3737 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3738 (_G_HAVE_IO_FILE_OPEN): Likewise.
3739 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3740 (_G_int32_t): Likewise.
3741 (_G_uint16_t): Likewise.
3742 (_G_uint32_t): Likewise.
3743 (_G_HAVE_BOOL): Likewise.
3744 (_G_HAVE_ATEXIT): Likewise.
3745 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3746 (_G_HAVE_IO_FILE_OPEN): Likewise.
3747 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3748 (_G_int32_t): Likewise.
3749 (_G_uint16_t): Likewise.
3750 (_G_uint32_t): Likewise.
3751 (_G_HAVE_BOOL): Likewise.
3752 (_G_HAVE_ATEXIT): Likewise.
3753 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3754 (_G_HAVE_IO_FILE_OPEN): Likewise.
3756 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3758 * csu/libc-tls.c: Update copyright years.
3760 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3762 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3763 [!_G_USING_THUNKS]: Remove conditional code.
3764 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3765 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3767 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3768 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3769 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3770 (_G_VTABLE_LABEL_PREFIX): Likewise.
3771 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3772 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3774 (_G_VTABLE_LABEL_PREFIX): Likewise.
3775 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3776 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3777 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3778 (_G_VTABLE_LABEL_PREFIX): Likewise.
3779 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3781 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3783 * libio/Makefile: Include ../Makeconfig before tests.
3784 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3785 only if $(build-shared) is yes.
3787 * iconv/gconv_db.c: Update copyright years.
3789 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3791 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3792 unwind info if defined PIC. Fix special cases description.
3793 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3795 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3797 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3799 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3801 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3803 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3806 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3807 (LDLIBS-tst-chk4): This.
3808 (LDFLAGS-tst-chk5): Renamed to ...
3809 (LDLIBS-tst-chk5): This.
3810 (LDFLAGS-tst-chk6): Renamed to ...
3811 (LDLIBS-tst-chk6): This.
3812 (LDFLAGS-tst-lfschk4): Renamed to ...
3813 (LDLIBS-tst-lfschk4): This.
3814 (LDFLAGS-tst-lfschk5): Renamed to ...
3815 (LDLIBS-tst-lfschk5): This.
3816 (LDFLAGS-tst-lfschk6): Renamed to ...
3817 (LDLIBS-tst-lfschk6): This.
3819 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3820 on $(common-objpfx)soversions.mk.
3822 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3825 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3828 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3830 * malloc/arena.c (arena_get_retry): New function that gets
3831 another arena for the caller to try its request on.
3832 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3833 current arena cannot fulfill the request.
3834 (__libc_memalign): Likewise.
3835 (__libc_memalign): Likewise.
3836 (__libc_pvalloc): Likewise.
3837 (__libc_calloc): Likewise.
3839 2012-09-05 John Tobey <john.tobey@gmail.com>
3842 * manual/arith.texi (Operations on Complex): Fix description
3845 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3848 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3852 * manual/memory.texi (Memory): Make order of menu items match
3855 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3857 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3858 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3859 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3861 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3863 * csu/libc-tls.c (static_dtv): Renamed to ...
3864 (_dl_static_dtv): This. Make it global.
3865 (_dl_initial_dtv): Removed.
3866 (__libc_setup_tls): Updated.
3867 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3868 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3871 2012-09-06 Petr Machata <pmachata@redhat.com>
3873 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3874 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3875 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3876 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3878 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3881 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3882 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3885 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3888 * Makeconfig (link-static-before-libc): Replace $(+prector)
3890 (link-static-after-libc): Replace $(+postctor) with
3892 (link-bounded): Replace $(+prector)/$(+postctor) with
3893 $(+prectorT)/$(+postctorT).
3894 (+prectorT): New macro.
3895 (+postctorT): Likewise.
3897 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3899 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3900 (round_str): Handle values above the maximum for IBM long double
3902 * stdlib/tst-strtod-round.c (tests): Regenerated.
3904 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3906 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3908 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3909 zarch_nohighgprs around the zarch optimized routines.
3910 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3911 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3915 2012-09-05 David S. Miller <davem@davemloft.net>
3917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3919 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3920 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3921 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3922 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3925 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3927 * malloc/arena.c: Fold copyright years.
3928 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3930 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3932 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3934 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3936 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3938 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3940 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3941 change internal state upon failure.
3943 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3945 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3946 * malloc/memusage.c (mmap): Likewise.
3947 (mmap64, mremap): Likewise. Adjust name in comment.
3949 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3951 * libio/fileops.c: Fix typos in comments.
3952 * libio/oldfileops.c: Likewise.
3953 * libio/wfileops.c: Likewise.
3955 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3959 (tst-malloc-usable-ENV): Set environment for test case.
3960 * malloc/hooks.c (malloc_check_get_size): New function to get
3962 * malloc/malloc.c (musable): Use malloc_check_get_size.
3963 * malloc/tst-malloc-usable.c: New test case.
3965 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3967 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3969 2012-09-05 Allan McRae <allan@archlinux.org>
3972 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3973 determine header location.
3974 * configure: Regenerated.
3976 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3978 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3980 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3981 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3985 2012-09-04 David S. Miller <davem@davemloft.net>
3987 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3988 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3989 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3991 2012-09-04 Florian Weimer <fweimer@redhat.com>
3993 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3996 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3998 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4001 * libio/iogetdelim.c: Include <limits.h>.
4002 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4003 + len + 1 would overflow.
4005 2012-09-03 Andreas Jaeger <aj@suse.de>
4007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4008 * sysdeps/i386/fpu/libm-test-ulps: Update.
4010 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4012 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4013 Add s_sinf-sse2, s_conf-sse2.
4015 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4016 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4017 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4018 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4020 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4021 for using routine as __sinf_ia32.
4022 Use macro for function declaration and weak_alias.
4023 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4024 for using routine as __cosf_ia32.
4025 Use macro for function declaration and weak_alias.
4027 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4028 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4030 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4031 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4034 * math/libm-test.inc (cos_test): Add more test cases.
4035 (sin_test): Likewise.
4036 (sincos_test): Likewise.
4038 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4040 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4041 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4043 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4045 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4048 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4049 first element of the GOT.
4050 (elf_machine_load_address): Return the difference between
4051 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4053 2012-09-01 Allan McRae <allan@archlinux.org>
4056 * configure.in (AWK): Require gawk version 3.0 or later.
4057 * configure: Regenerated.
4059 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4061 * sysdeps/unix/sysv/linux/kernel-features.h
4062 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4064 [__NR_clock_getres]: Make code unconditional.
4065 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4066 (clock_getcpuclockid): Remove code left unreachable by removal of
4068 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4070 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4072 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4073 Make code unconditional.
4074 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4075 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4076 * sysdeps/unix/sysv/linux/clock_settime.c
4077 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4079 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4080 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4082 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4085 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4086 scripts/test-installation.pl.
4088 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4089 and $ld_so_version if it is set.
4091 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4095 failure if reading from procfs failed.
4096 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4098 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4100 * sysdeps/unix/sysv/linux/kernel-features.h
4101 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4102 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4103 Remove conditional code.
4104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4105 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4106 Remove conditional code.
4107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4108 * sysdeps/unix/sysv/linux/i386/fxstat.c
4109 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4111 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4114 * sysdeps/unix/sysv/linux/i386/lxstat.c
4115 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4117 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4118 Remove conditional code.
4119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4120 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4121 Remove conditional code.
4122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4124 <kernel-features.h>.
4125 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4127 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4128 Remove conditional code.
4129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4130 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4133 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4136 * NEWS: Add fixed bug number.
4138 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4141 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4142 underflowing exponent in case of negative sign.
4143 * stdlib/tst-strtod-round-data: Add more tests.
4144 * stdlib/tst-strtod-round.c (tests): Regenerated.
4147 * stdlib/strtod_l.c (NDIG): Remove.
4148 (HEXNDIG): Likewise.
4149 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4150 smallest representable value.
4151 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4152 lie within an exact representation of 1/2 ulp of the result.
4153 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4155 (TENS_P9_IDX): Define unconditionally.
4156 (TENS_P9_SIZE): Likewise.
4157 (TENS_P10_IDX): Likewise.
4158 (TENS_P10_SIZE): Likewise.
4159 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4160 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4161 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4162 entries for 10^2^13 and 10^2^14.
4163 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4164 (TENS_P13_IDX): Define.
4165 (TENS_P13_SIZE): Likewise.
4166 (TENS_P14_IDX): Likewise.
4167 (TENS_P14_SIZE): Likewise.
4168 (_fpioconst_pow10): Change array size to
4169 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4171 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4172 1024]: Add entries for 10^2^13 and 10^2^14.
4173 [LAST_POW10 > _LAST_POW10]: Remove #error.
4174 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4175 (_fpioconst_pow10): Change array size to
4176 FPIOCONST_POW10_ARRAY_SIZE.
4177 * stdlib/gen-fpioconst.c: New file.
4178 * stdlib/gen-tst-strtod-round.c: Likewise.
4179 * stdlib/tst-strtod-round-data: Likewise.
4180 * stdlib/tst-strtod-round.c: Likewise.
4181 * stdlib/Makefile (tests): Add tst-strtod-round.
4184 * stdlib/strtod_l.c: Include <stdint.h>.
4185 (NDEBUG): Do not define.
4186 (round_and_return): Change EXPONENT parameter to type intmax_t.
4187 Rearrange calculations to avoid internal overflow possibilities.
4188 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4189 Rearrange calculations to avoid internal overflow possibilities.
4190 Assert that number fits inside MPNSIZE limbs.
4191 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4192 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4193 calculations and add assertions to avoid internal overflow
4194 possibilities. Add casts to avoid signed/unsigned operations.
4195 * stdlib/tst-strtod-overflow.c: New file.
4196 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4198 2012-08-25 Marek Polacek <polacek@redhat.com>
4200 * time/time.h: Fix some typos in comments.
4202 2012-08-23 Roland McGrath <roland@hack.frob.com>
4204 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4205 * posix/tst-rfc3484-2.c: Likewise.
4206 * posix/tst-rfc3484-3.c: Likewise.
4208 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4210 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4211 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4213 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4215 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4216 #include of fxstatat64.c.
4218 2012-08-22 Roland McGrath <roland@hack.frob.com>
4220 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4221 * shadow/getspent_r.c: Likewise.
4222 * shadow/getspnam.c: Likewise.
4223 * shadow/getspnam_r.c: Likewise.
4224 * gshadow/getsgent.c: Likewise.
4225 * gshadow/getsgent_r.c: Likewise.
4226 * gshadow/getsgnam.c: Likewise.
4227 * gshadow/getsgnam_r.c: Likewise.
4228 * inet/getnetbyad.c: Likewise.
4229 * inet/getnetbyad_r.c: Likewise.
4230 * inet/getnetbynm.c: Likewise.
4231 * inet/getnetbynm_r.c: Likewise.
4232 * inet/getnetent.c: Likewise.
4233 * inet/getnetent_r.c: Likewise.
4234 * inet/getproto.c: Likewise.
4235 * inet/getproto_r.c: Likewise.
4236 * inet/getprtent.c: Likewise.
4237 * inet/getprtent_r.c: Likewise.
4238 * inet/getprtname.c: Likewise.
4239 * inet/getprtname_r.c: Likewise.
4240 * inet/getrpcbyname.c: Likewise.
4241 * inet/getrpcbyname_r.c: Likewise.
4242 * inet/getrpcbynumber.c: Likewise.
4243 * inet/getrpcbynumber_r.c: Likewise.
4244 * inet/getrpcent.c: Likewise.
4245 * inet/getrpcent_r.c: Likewise.
4246 * inet/getaliasent.c: Likewise.
4247 * inet/getaliasent_r.c: Likewise.
4248 * inet/getaliasname.c: Likewise.
4249 * inet/getaliasname_r.c: Likewise.
4250 * nscd/getgrgid_r.c: Likewise.
4251 * nscd/getgrnam_r.c: Likewise.
4252 * nscd/gethstbyad_r.c: Likewise.
4253 * nscd/gethstbynm3_r.c: Likewise.
4254 * nscd/getpwnam_r.c: Likewise.
4255 * nscd/getpwuid_r.c: Likewise.
4256 * nscd/getsrvbynm_r.c: Likewise.
4257 * nscd/getsrvbypt_r.c: Likewise.
4258 * nscd/gai.c: Likewise.
4260 * configure.in (build_nscd): New substituted variable, set
4261 by --disable-build-nscd and defaults to $use_nscd.
4262 * configure: Regenerated.
4263 * config.make.in (build-nscd): New substituted variable.
4264 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4265 Change conditional to require [$(build-nscd) = yes] as well.
4266 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4269 * configure.in (use_nscd): New substituted variable, set by
4270 --disable-nscd. If enabled, define USE_NSCD.
4271 * configure: Regenerated.
4272 * config.h.in: Add USE_NSCD.
4273 * config.make.in (use-nscd): New substituted variable.
4274 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4275 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4276 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4277 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4278 (CFLAGS-getgrnam_r.c): Likewise.
4279 (CFLAGS-initgroups.c): Likewise.
4280 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4281 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4283 * inet/getnetgrent_r.c
4284 (nscd_setnetgrent): New function, broken out of ...
4285 (setnetgrent): ... here. Call it.
4286 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4287 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4288 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4289 * nscd/Makefile (routines, aux): Move definitions after include of
4290 Makeconfig. Conditionalize on [$(use-nscd) != no].
4291 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4292 Conditionalize on [USE_NSCD].
4293 (is_nscd, nscd_init_cb): Likewise.
4294 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4295 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4296 * nss/nss_db/db-init.c: Likewise.
4297 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4299 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4300 (make_request): Use it.
4301 (cache_valid_p): New function.
4302 (__check_pf): Use it.
4303 * NEWS: Add item for --disable-nscd.
4305 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4307 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4308 to support sed >= 4.2.1-20-ga9bf076.
4309 * configure: Regenerated.
4311 2012-08-22 Roland McGrath <roland@hack.frob.com>
4313 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4314 Conditionalize whole body on [IREL].
4316 2012-08-22 Jeff Law <law@redhat.com>
4319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4320 if the family is PF_UNSPEC.
4322 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4324 * Makerules (lib-version): Rename from V.
4325 (install-lib-nosubdir): Change V to lib-version.
4327 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4330 * powerpc32/power6/wcschr.c: New file.
4331 * powerpc32/power6/wcscpy.c: New file.
4332 * powerpc32/power6/wcsrchr.c: New file.
4333 * powerpc64/power6/wcschr.c: New file.
4334 * powerpc64/power6/wcscpy.c: New file.
4335 * powerpc64/power6/wcsrchr.c: New file.
4337 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4339 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4340 (two_way_short_needle): Use it.
4341 * string/strstr.c (AVAILABLE1_USES_J): Define.
4342 * string/strcasestr.c: Likewise.
4344 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4346 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4349 * NEWS: Add an entry.
4350 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4351 define their defaults.
4352 (two_way_short_needle): Detect end-of-string on-the-fly.
4353 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4354 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4355 * string/bug-strcasestr1.c: New test.
4356 * string/Makefile: Run it.
4358 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4361 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4362 the first character.
4364 2012-08-21 Roland McGrath <roland@hack.frob.com>
4366 * csu/elf-init.c (__libc_csu_irel): Function removed.
4367 * csu/libc-start.c (apply_irel): New function.
4368 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4370 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4372 * sysdeps/unix/sysv/linux/kernel-features.h
4373 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4374 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4375 <kernel-features.h>.
4376 [__NR_fadvise64_64]: Make code unconditional.
4377 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4378 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4379 !__NR_fadvise64_64)]: Likewise.
4380 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4381 !__NR_fadvise64_64))]: Likewise.
4382 [__NR_fadvise64]: Make code unconditional.
4383 [!__NR_fadvise64]: Remove conditional code.
4384 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4385 <kernel-features.h>.
4386 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4388 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4391 not include <kernel-features.h>.
4392 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4394 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4396 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4397 include <kernel-features.h>.
4398 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4400 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4403 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4406 slight instruction rearrangements per scrollpipe analysis.
4407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4409 2012-08-20 Roland McGrath <roland@hack.frob.com>
4411 * manual/syslog.texi (syslog; vsyslog, closelog):
4412 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4413 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4415 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4416 DSOCAPS to match condition on defining it.
4418 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4420 * sysdeps/unix/sysv/linux/kernel-features.h
4421 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4423 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4424 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4429 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4430 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4432 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4433 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4435 * sysdeps/unix/sysv/linux/kernel-features.h
4436 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4437 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4439 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4440 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4441 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4442 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4443 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4444 Make code unconditional.
4445 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4446 (__mmap64) [!__NR_mmap2]: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4448 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4449 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4450 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4451 [__NR_mmap2]: Make code unconditional.
4452 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4453 (__mmap64) [!__NR_mmap2]: Likewise.
4455 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4457 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4459 2012-08-18 Andreas Jaeger <aj@suse.de>
4461 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4463 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4465 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4466 * include/unistd.h (__have_sock_cloexec): Likewise.
4467 (__have_pipe2): Likewise.
4468 (__have_dup3): Likewise.
4470 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4473 * include/unistd.h (__have_pipe2): Change define into an extern int.
4474 (__have_dup3): Likewise.
4475 * socket/have_sock_cloexec.c: Include fcntl.h.
4476 (__have_pipe2): New variable.
4477 (__have_dup3): Likewise.
4479 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4481 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4483 2012-08-17 Marek Polacek <polacek@redhat.com>
4485 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4486 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4488 2012-08-17 Roland McGrath <roland@hack.frob.com>
4490 * configure.in: Add AC_SUBST for sysheaders.
4491 * configure: Regenerated.
4492 * config.make.in (sysheaders): New substituted variable.
4494 * sysdeps/unix/mkfifo.c: Moved ...
4495 * sysdeps/posix/mkfifo.c: ... here.
4496 * sysdeps/unix/mkfifoat.c: Moved ...
4497 * sysdeps/posix/mkfifoat.c: ... here.
4499 * sysdeps/unix/utime.c: Moved ...
4500 * sysdeps/posix/utime.c: ... here.
4502 * sysdeps/unix/time.c: Moved ...
4503 * sysdeps/posix/time.c: ... here.
4504 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4505 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4507 * sysdeps/unix/nice.c: Moved ...
4508 * sysdeps/posix/nice.c: ... here.
4510 * sysdeps/unix/alarm.c: Moved ...
4511 * sysdeps/posix/alarm.c: ... here.
4513 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4515 2012-08-17 Jeff Law <law@redhat.com>
4517 * intl/Makefile (codeset_mo): New variable.
4518 ($(codeset_mo)): New target.
4519 (tst-codeset.out): Depend on that. Remove explicit rule.
4520 (tst-gettext3.out, tst-gettext5.out): Likewise.
4521 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4522 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4523 * intl/tst-codeset.sh: Remove.
4524 * intl/tst-gettext3.sh: Likewise.
4525 * intl/tst-gettext5.sh: Likewise.
4527 2012-08-17 Roland McGrath <roland@hack.frob.com>
4529 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4530 * sysdeps/unix/syscalls.list: ... here.
4532 * sysdeps/posix/getaddrinfo.c
4533 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4534 (gaiconf_init, gaiconf_reload): Use them.
4536 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4537 Define using time_t rather than struct timespec.
4539 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4540 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4542 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4544 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4545 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4548 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4549 __libc_cleanup_push argument.
4551 * bits/param.h: New file.
4552 * misc/sys/param.h: New file.
4553 * include/sys/param.h: New file.
4554 * misc/Makefile (headers): Add bits/param.h.
4555 * sysdeps/generic/sys/param.h: File removed.
4556 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4557 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4558 * sysdeps/mach/hurd/bits/param.h: New file.
4559 * sysdeps/mach/hurd/sys/param.h: File removed.
4561 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4564 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4566 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4567 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4570 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4571 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4572 rather than -D_IO_MTSAFE_IO conditionally.
4573 * stdio-common/Makefile (CPPFLAGS): Likewise.
4574 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4575 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4576 Use $(libio-mtsafe).
4577 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4579 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4580 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4581 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4582 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4583 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4584 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4585 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4586 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4587 (CFLAGS-fread_u_chk.c): Likewise.
4588 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4589 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4590 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4591 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4592 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4593 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4594 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4595 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4596 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4598 * libio/Makefile: Test [$(libc-reentrant) = yes]
4599 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4602 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4603 * sysdeps/pthread/configure: File removed.
4604 * sysdeps/pthread/Makeconfig: New file.
4605 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4606 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4608 2012-08-16 Gary Benson <gbenson@redhat.com>
4610 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4611 unmapping the first object in a namespace.
4613 2012-08-16 Roland McGrath <roland@hack.frob.com>
4615 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4616 (__internal_setnetgrent): ... this. Add internal_function to
4617 definition. Add libc_hidden_def.
4618 (setnetgrent): Update caller.
4619 (internal_endnetgrent): Renamed to ...
4620 (__internal_endnetgrent): ... this. Add internal_function to
4621 definition. Add libc_hidden_def.
4622 (endnetgrent): Update caller.
4623 (internal_getnetgrent_r): Renamed to ...
4624 (__internal_getnetgrent_r): ... this. Add internal_function to
4625 definition. Add libc_hidden_def.
4626 (__getnetgrent_r): Update caller.
4627 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4629 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4631 * stdlib/longlong.h: Update from GCC.
4633 2012-08-16 Roland McGrath <roland@hack.frob.com>
4635 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4636 on _QL, which is set by umul_ppmm but never used.
4637 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4638 variables, which are set by GMP macros but never used.
4639 * stdio-common/_itowa.c (_itowa): Likewise.
4640 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4641 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4643 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4645 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4646 struct La_sh_regs is not constant.
4647 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4648 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4649 and struct La_sparc64_regs are not constant.
4651 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4653 * sysdeps/unix/sysv/linux/kernel-features.h
4654 (__ASSUME_POSIX_TIMERS): Remove.
4655 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4657 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4658 Make code unconditional.
4659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4661 Make code unconditional.
4662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4663 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4664 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4666 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4667 Make code unconditional.
4668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4669 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4670 (__libc_missing_posix_timers): Remove.
4672 2012-08-15 Roland McGrath <roland@hack.frob.com>
4674 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4675 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4677 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4679 * elf/dl-sym.c: Include <stdlib.h>.
4681 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4682 constants, which avoids warnings in 32-bit builds.
4684 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4685 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4687 * misc/lseek.c: File moved to ...
4688 * io/lseek.c: ... here.
4690 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4692 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4693 shifting LEN more than 31 bits at once.
4695 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4698 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4699 segmentation fault for a case of two empty input strings.
4700 * string/test-strncasecmp.c (check1): Renamed to...
4702 (bz14195): Add new testcase for two empty input strings and N > 0.
4703 (test_main): Call new testcase, adapt for renamed function.
4705 2012-08-15 Andreas Jaeger <aj@suse.de>
4708 * crypt/md5test2.c: New test, based on test supplied by Serge
4709 Belyshev <belyshev@depni.sinp.msu.ru>.
4710 * crypt/Makefile (xtests): Add md5test-giant..
4711 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4713 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4716 * crypt/md5.c (md5_process_block): Don't assume the buffer
4717 length is less than 2**32.
4718 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4719 length is less than 2**64.
4721 2012-08-15 Roland McGrath <roland@hack.frob.com>
4723 * string/str-two-way.h: Include <sys/param.h>.
4724 (MAX): Macro removed.
4726 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4727 Move #define and #undef of memmove to just before and after
4728 including <string.h>.
4730 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4731 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4732 and after including <string.h>. Move declarations of
4733 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4734 to before #include "string/memmove.c".
4736 * include/dirent.h: Declare __getdirentries.
4738 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4739 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4741 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4743 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4744 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4745 * sysdeps/i386/configure: Regenerated.
4746 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4747 STABS_CURRENT_FILE, and STABS_FUN.
4748 (END): Remove call to STABS_FUN_END.
4749 (STABS_CURRENT_FILE1): Delete.
4750 (STABS_CURRENT_FILE): Likewise.
4751 (STABS_FUN): Likewise.
4752 (STABS_FUN_END): Likewise.
4753 (STABS_FUN2): Likewise.
4754 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4755 * sysdeps/x86_64/configure: Regenerated.
4757 2012-08-14 Roland McGrath <roland@hack.frob.com>
4759 * elf/dl-open.c: Include <atomic.h>.
4760 * elf/dl-lookup.c: Likewise.
4762 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4764 * sysdeps/unix/sysv/linux/kernel-features.h
4765 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4766 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4768 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4770 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4771 condition on __ASSUME_CLONE_THREAD_FLAGS.
4773 2012-08-14 Andreas Jaeger <aj@suse.de>
4775 * sysdeps/i386/fpu/libm-test-ulps: Update.
4777 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4779 * include/atomic.h (atomic_exchange_and_add): Split into ...
4780 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4783 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4787 2012-08-13 Jeff Law <law@redhat.com>
4789 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4790 null byte in the output string.
4792 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4794 * sysdeps/unix/sysv/linux/kernel-features.h
4795 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4796 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4797 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4798 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4799 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4800 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4801 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4803 2012-08-09 Jeff Law <law@redhat.com>
4806 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4807 When avoid_arena is set, don't retry in the that arena. Pick the
4808 next one, whatever it might be.
4809 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4810 (arena_lock): Pass in new parameter to arena_get2.
4811 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4813 (__libc_malloc): Unify retrying after main arena failure with
4814 __libc_memalign version.
4815 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4817 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4820 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4821 to __redirect_strstr.
4822 (__strstr_sse42): Use typeof __redirect_strstr.
4823 (__strstr_ia32): Likewise.
4824 (__libc_strstr): New prototype.
4825 (strstr): Renamed to ...
4826 (__libc_strstr): This.
4827 (strstr): New strong alias of __libc_strstr.
4828 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4829 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4832 (__libc_time): New prototype.
4833 (time_ifunc): Replace time with __libc_time.
4834 (time): New strong alias and hidden definition of __libc_time.
4835 (__GI_time): Remove strong alias.
4836 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4838 (memmove): Redefined to __redirect_memmove.
4839 (__memmove_sse2): Use typeof __redirect_memmove.
4840 (__memmove_ssse3): Likewise.
4841 (__memmove_ssse3_back): Likewise.
4842 (__libc_memmove): New prototype.
4843 (memmove): Renamed to ...
4844 (__libc_memmove): This.
4845 (memmove): New strong alias of __libc_memmove.
4847 2012-08-08 Mark Salter <msalter@redhat.com>
4850 (R_MN10300_TLS_GD): Define.
4851 (R_MN10300_TLS_LD): Likewise.
4852 (R_MN10300_TLS_LDO): Likewise.
4853 (R_MN10300_TLS_GOTIE): Likewise.
4854 (R_MN10300_TLS_IE): Likewise.
4855 (R_MN10300_TLS_LE): Likewise.
4856 (R_MN10300_TLS_DTPMOD): Likewise.
4857 (R_MN10300_TLS_DTPOFF): Likewise.
4858 (R_MN10300_TLS_TPOFF): Likewise.
4859 (R_MN10300_SYM_DIFF): Likewise.
4860 (R_MN10300_ALIGN): Likewise.
4861 (R_MN10300_NUM): Update.
4863 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4868 2012-08-08 Roland McGrath <roland@hack.frob.com>
4870 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4872 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4873 sysdeps/unix -> sysdeps/posix move.
4874 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4876 2012-08-07 Allan McRae <allan@archlinux.org>
4879 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4880 (SUNOS_CPP): Likewise.
4881 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4883 (open_input): Call CPP using execvp.
4885 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4887 * sysdeps/unix/sysv/linux/kernel-features.h
4888 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4889 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4890 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4891 (__ASSUME_WAITID_SYSCALL): Likewise.
4892 * sysdeps/unix/sysv/linux/dl-execstack.c
4893 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4895 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4898 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4899 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4901 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4903 [__ASSUME_WAITID_SYSCALL]: Likewise.
4904 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4906 2012-08-07 Roland McGrath <roland@hack.frob.com>
4908 * sysdeps/unix/closedir.c: Renamed to ...
4909 * sysdeps/posix/closedir.c: ... here.
4910 * sysdeps/unix/dirfd.c: Renamed to ...
4911 * sysdeps/posix/dirfd.c: ... here.
4912 * sysdeps/unix/dirstream.h: Renamed to ...
4913 * sysdeps/posix/dirstream.h: ... here.
4914 * sysdeps/unix/fdopendir.c: Renamed to ...
4915 * sysdeps/posix/fdopendir.c: ... here.
4916 * sysdeps/unix/opendir.c: Renamed to ...
4917 * sysdeps/posix/opendir.c: ... here.
4918 * sysdeps/unix/readdir.c: Renamed to ...
4919 * sysdeps/posix/readdir.c: ... here.
4920 * sysdeps/unix/readdir_r.c: Renamed to ...
4921 * sysdeps/posix/readdir_r.c: ... here.
4922 * sysdeps/unix/rewinddir.c: Renamed to ...
4923 * sysdeps/posix/rewinddir.c: ... here.
4924 * sysdeps/unix/seekdir.c: Renamed to ...
4925 * sysdeps/posix/seekdir.c: ... here.
4926 * sysdeps/unix/telldir.c: Renamed to ...
4927 * sysdeps/posix/telldir.c: ... here.
4928 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4929 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4931 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4933 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4934 * bits/fcntl.h: ... here.
4936 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4938 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4939 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4940 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4941 (struct flock): Move l_start, l_len to the beginning.
4942 Use __pid_t for l_pid.
4943 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4944 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4945 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4946 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4947 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4948 [__USE_LARGEFILE64] (struct flock64): New type.
4949 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4951 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4952 * bits/dirent.h: ... here.
4954 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4955 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4957 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4960 Change from 2.6.0 to 2.6.16.
4961 * sysdeps/unix/sysv/linux/configure: Regenerated.
4962 * sysdeps/unix/sysv/linux/kernel-features.h
4963 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4964 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4966 (__ASSUME_UTIMES): Likewise.
4967 (__ASSUME_CLONE_STOPPED): Remove.
4968 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4969 architectures, not kernel version.
4970 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4971 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4972 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4973 (__ASSUME_WAITID_SYSCALL): Likewise.
4974 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4975 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4976 * README: State 2.6.16 as minimum Linux kernel version. Do not
4977 refer to older versions.
4979 2012-08-06 Roland McGrath <roland@hack.frob.com>
4981 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4982 Define alphasort64 as an alias.
4983 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4984 Define versionsort64 as an alias.
4985 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4986 Define scandir64 as an alias.
4987 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4988 Define scandirat64 as an alias.
4989 * dirent/alphasort64.c (alphasort64):
4990 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4991 * dirent/versionsort64.c: Likewise.
4992 * dirent/scandir64.c: Likewise.
4993 * dirent/scandirat64.c: Likewise.
4994 * sysdeps/wordsize-64/alphasort.c: File removed.
4995 * sysdeps/wordsize-64/alphasort64.c: File removed.
4996 * sysdeps/wordsize-64/scandir.c: File removed.
4997 * sysdeps/wordsize-64/scandir64.c: File removed.
4998 * sysdeps/wordsize-64/scandirat.c: File removed.
4999 * sysdeps/wordsize-64/scandirat64.c: File removed.
5000 * sysdeps/wordsize-64/versionsort.c: File removed.
5001 * sysdeps/wordsize-64/versionsort64.c: File removed.
5002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5011 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5013 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5015 [defined __arch64__ || defined __sparcv9]
5016 (__INO_T_MATCHES_INO64_T): New macro.
5017 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5018 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5019 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5020 * sysdeps/unix/sysv/linux/bits/dirent.h
5021 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5022 (_DIRENT_MATCHES_DIRENT64): New macro.
5024 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5025 Define lockf64 as an alias.
5026 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5027 Define fseeko64 as an alias.
5028 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5029 Define ftello64 as an alias.
5030 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5031 Define _IO_fgetpos64 and fgetpos64 as aliases.
5032 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5033 Define _IO_fsetpos64 and fsetpos64 as aliases.
5034 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5035 Conditionalize body on this.
5036 * libio/fseeko64.c: Likewise.
5037 * libio/ftello64.c: Likewise.
5038 * libio/iofgetpos64.c: Likewise.
5039 * libio/iofsetpos64.c: Likewise.
5040 * sysdeps/wordsize-64/lockf.c: File removed.
5041 * sysdeps/wordsize-64/lockf64.c: File removed.
5042 * sysdeps/wordsize-64/fseeko.c: File removed.
5043 * sysdeps/wordsize-64/fseeko64.c: File removed.
5044 * sysdeps/wordsize-64/ftello.c: File removed.
5045 * sysdeps/wordsize-64/ftello64.c: File removed.
5046 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5047 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5048 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5049 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5061 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5063 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5065 [defined __arch64__ || defined __sparcv9]
5066 (__OFF_T_MATCHES_OFF64_T): New macro.
5067 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5068 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5070 (__OFF_T_MATCHES_OFF64_T): New macro.
5072 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5074 * stdlib/secure-getenv.c (__secure_getenv): Replace
5075 GLIBC_2_16 with GLIBC_2_17.
5077 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5082 2012-08-03 David S. Miller <davem@davemloft.net>
5084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5086 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5090 (__ASSUME_CORRECT_SI_PID): Likewise.
5091 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5092 (__ASSUME_TMPFS_NAME): Likewise.
5093 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5094 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5095 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5096 (HAVE_AUX_SECURE): Make definition unconditional.
5097 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5098 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5100 2012-08-03 Roland McGrath <roland@hack.frob.com>
5102 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5103 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5104 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5106 __eloop_threshold instead of SYMLOOP_MAX.
5108 * sysdeps/generic/eloop-threshold.h: New file.
5109 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5111 * elf/chroot_canon.c (chroot_canon): Likewise.
5113 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5117 Change to 2.6.0 everywhere.
5118 * sysdeps/unix/sysv/linux/configure: Regenerated.
5119 * sysdeps/unix/sysv/linux/kernel-features.h
5120 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5121 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5123 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5124 (__ASSUME_FUTEX_REQUEUE): Remove.
5125 (__ASSUME_STATFS64): Define unconditionally.
5126 (__ASSUME_AT_SECURE): Likewise.
5127 (__ASSUME_CORRECT_SI_PID): Likewise.
5128 (__ASSUME_TGKILL): Define without depending on kernel version for
5130 (__ASSUME_UTIMES): Likewise.
5131 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5133 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5134 (__ASSUME_TMPFS_NAME): Likewise.
5135 * README: Update reference to Linux kernel versions.
5137 2012-08-02 Marek Polacek <polacek@redhat.com>
5140 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5141 libc_cv_asm_type_prefix with %.
5142 * configure: Regenerated.
5143 * include/libc-symbols.h: Remove comment about
5144 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5145 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5146 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5147 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5148 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5149 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5150 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5151 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5152 * elf/tst-unique2mod1.c: Likewise.
5153 * elf/tst-unique1mod2.c: Likewise.
5154 * elf/tst-unique1mod1.c: Likewise.
5155 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5156 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5157 Replace ASM_TYPE_DIRECTIVE with .type.
5158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5159 * sysdeps/i386/sysdep.h: Likewise.
5160 * sysdeps/x86_64/sysdep.h: Likewise.
5161 * sysdeps/sh/sysdep.h: Likewise.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5163 Do not define ASM_TYPE_DIRECTIVE.
5164 * sysdeps/powerpc/sysdep.h: Likewise.
5165 * sysdeps/powerpc/powerpc32/sysdep.h:
5166 Replace ASM_TYPE_DIRECTIVE with .type.
5167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5168 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5169 * sysdeps/i386/fpu/e_powf.S: Likewise.
5170 * sysdeps/i386/fpu/e_expl.S: Likewise.
5171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5172 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5173 * sysdeps/i386/fpu/e_pow.S: Likewise.
5174 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5175 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5176 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5177 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5178 * sysdeps/i386/fpu/e_log2.S: Likewise.
5179 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5180 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5181 * sysdeps/i386/fpu/e_powl.S: Likewise.
5182 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5183 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5184 * sysdeps/i386/fpu/e_logl.S: Likewise.
5185 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5186 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5187 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5188 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5189 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5190 * sysdeps/i386/fpu/e_log.S: Likewise.
5191 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5192 * sysdeps/i386/fpu/e_logf.S: Likewise.
5193 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5194 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5196 * sysdeps/i386/fpu/e_log10.S: Likewise.
5197 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5198 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5199 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5200 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5204 * sysdeps/i386/i686/strtok.S: Likewise.
5205 * sysdeps/i386/i386-mcount.S: Likewise.
5206 * sysdeps/i386/strtok.S: Likewise.
5207 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5208 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5209 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5211 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5212 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5213 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5214 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5215 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5216 * sysdeps/x86_64/_mcount.S: Likewise.
5217 * sysdeps/x86_64/strtok.S: Likewise.
5218 * sysdeps/sh/_mcount.S: Likewise.
5220 2012-08-01 Roland McGrath <roland@hack.frob.com>
5222 * libio/iofopen.c: Include <fcntl.h>.
5223 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5224 (_IO_fopen64, fopen64): Define as aliases.
5225 * libio/iofopen64.c: Include <fcntl.h>.
5226 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5227 Conditionalize body on this.
5228 * sysdeps/wordsize-64/iofopen.c: File removed.
5229 * sysdeps/wordsize-64/iofopen64.c: File removed.
5231 2012-08-01 Marek Polacek <polacek@redhat.com>
5233 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5234 Use dlfcn directly instead of a variable.
5235 (binfmt-subdir): Do not define.
5238 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5241 Remove all definitions.
5242 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5243 <kernel-features.h>.
5244 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5245 (miss_F_GETOWN_EX): Remove all definitions.
5246 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5248 [!__ASSUME_FCNTL64]: Remove conditional code.
5249 [__ASSUME_FCNTL64]: Make code unconditional.
5250 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5251 <kernel-features.h>.
5252 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5253 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5254 (lockf64) [__NR_fcntl64]: Make code unconditional.
5255 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5257 * sysdeps/unix/sysv/linux/kernel-features.h
5258 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5259 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5260 Make code unconditional.
5261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5264 [__NR_vfork]: Make code unconditional.
5265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5268 [__NR_vfork]: Make code unconditional.
5269 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5270 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5272 2012-08-01 Roland McGrath <roland@hack.frob.com>
5274 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5275 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5277 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5278 Define mkstemp64 as an alias.
5279 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5280 Define mkstemps64 as an alias.
5281 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5282 Define mkostemp64 as an alias.
5283 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5284 Define mkostemps64 as an alias.
5285 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5286 Conditionalize body on this.
5287 * misc/mkostemp64.c: Likewise.
5288 * misc/mkostemps64.c: Likewise.
5289 * misc/mkstemps64.c: Likewise.
5290 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5291 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5292 * sysdeps/wordsize-64/mkostemp.c: File removed.
5293 * sysdeps/wordsize-64/mkstemp.c: File removed.
5294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5300 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5302 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5303 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5305 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5306 compat_symbol macros from <shlib-compat.h> rather than the underlying
5307 default_symbol_version and symbol_version macros, so that DEFAULT
5308 lines in shlib-versions are respected.
5309 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5311 2012-08-01 Florian Weimer <fweimer@redhat.com>
5313 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5314 Declare with warn_unused_result.
5315 (setgid, setregid, setegid, setresgid): Likewise.
5316 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5318 * WUR-REPORT: Remove set*id functions.
5320 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5322 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5324 2012-07-31 Roland McGrath <roland@hack.frob.com>
5326 * include/sys/socket.h (__libc_accept, __libc_accept4):
5327 Add attribute_hidden.
5328 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5330 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5332 * inet/getnetgrent_r.c (setup): Likewise.
5334 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5336 2012-07-31 David S. Miller <davem@davemloft.net>
5338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5340 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5343 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5344 value between 1.0 and 2.0 and smaller part has absolute value less
5346 * math/s_clog10.c (__clog10): Likewise.
5347 * math/s_clog10f.c (__clog10f): Likewise.
5348 * math/s_clog10l.c (__clog10l): Likewise.
5349 * math/s_clogf.c (__clogf): Likewise.
5350 * math/s_clogl.c (__clogl): Likewise.
5351 * math/libm-test.inc (clog_test): Add more tests.
5352 (clog10_test): Likewise.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356 2012-07-31 Florian Weimer <fweimer@redhat.com>
5358 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5359 Exit with zero in case no suitable GID is found, and write a
5360 message to standard error.
5362 2012-07-30 Roland McGrath <roland@hack.frob.com>
5364 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5366 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5367 (MAXPATHLEN): Removed.
5368 (NOGROUP, NODEV): New macros.
5369 (setbit, clrbit, isset, isclr): New macros.
5370 (howmany, roundup, powerof2): New macros.
5371 (DEV_BSIZE): New macro.
5373 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5374 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5376 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5377 definition on [!__NO_LONG_DOUBLE_MATH].
5379 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5380 PTR_MANGLE and PTR_DEMANGLE.
5382 * socket/accept4.c (accept4): Rename to __libc_accept4.
5383 Define accept4 as a weak alias.
5385 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5386 on [_DIRENT_HAVE_D_TYPE].
5387 * io/ftw.c (ftw_dir): Likewise.
5389 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5391 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5393 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5394 Use the BSD numbers rather than the arbitrary ones we had.
5395 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5396 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5397 (SIGXCPU, SIGXFSZ): New macros.
5400 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5401 initializer on [_LIBC_REENTRANT].
5403 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5404 definitions inside [_POSIX_MAPPED_FILES].
5406 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5408 * dirent/opendir.c: Include <fcntl.h>.
5410 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5411 (__libc_getspecific): Likewise.
5412 (__libc_key_create): Likewise.
5414 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5415 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5416 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5417 (tmpfile64): Define as alias.
5418 * sysdeps/wordsize-64/tmpfile.c: File removed.
5419 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5421 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5423 * stdio-common/vfscanf.c: Include <stdbool.h>.
5424 * nss/makedb.c: Likewise.
5425 * stdio-common/_i18n_number.h: Likewise.
5426 * argp/argp-help.c: Likewise.
5427 * posix/wordexp.c: Likewise.
5428 * sysdeps/posix/spawni.c: Likewise.
5429 * nss/nss_files/files-initgroups.c: Likewise.
5430 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5431 * nss/nss_files/files-initgroups.c: Likewise.
5432 * nss/nss_db/db-netgrp.c: Likewise.
5433 * nss/nss_db/db-initgroups.c: Likewise.
5434 * io/fchmodat.c: Include <sys/stat.h>.
5436 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5437 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5439 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5442 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5443 Add multiple inclusion protection.
5445 2012-07-27 David S. Miller <davem@davemloft.net>
5447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5449 2012-07-27 Gary Benson <gbenson@redhat.com>
5452 * elf/rtld.c: Include <stap-probe.h>.
5453 (dl_main): Added static probes "init_start" and "init_complete".
5454 * elf/dl-load.c: Include <stap-probe.h>.
5455 (lose): Take new parameter "nsid".
5456 Added static probe "map_failed".
5457 (_dl_map_object_from_fd): Pass namespace id to lose.
5458 Added static probe "map_start".
5459 (open_verify): Pass namespace id to lose.
5460 * elf/dl-open.c: Include <stap-probe.h>.
5461 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5462 and "reloc_complete".
5463 * elf/dl-close.c: Include <stap-probe.h>.
5464 (_dl_close_worker): Added static probes "unmap_start" and
5466 * elf/rtld-debugger-interface.txt: New file documenting the above.
5468 2012-07-26 Roland McGrath <roland@hack.frob.com>
5470 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5471 rather than a string variable.
5472 * sunrpc/rpc_main.c (h_output): Likewise.
5473 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5475 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5477 * inet/check_native.c: New file.
5479 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5482 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5483 if larger part has absolute value 1.0.
5484 * math/s_clog10.c (__clog10): Likewise.
5485 * math/s_clog10f.c (__clog10f): Likewise.
5486 * math/s_clog10l.c (__clog10l): Likewise.
5487 * math/s_clogf.c (__clogf): Likewise.
5488 * math/s_clogl.c (__clogl): Likewise.
5489 * math/libm-test.inc (clog_test): Add more tests.
5490 (clog10_test): Likewise.
5491 * sysdeps/i386/fpu/libm-test-ulps: Update.
5492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5494 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5495 (pltexit): Likewise.
5496 (La_regs): Likewise.
5497 (La_retval): Likewise.
5498 (int_retval): Likewise.
5499 Update #error for removed macros to refer only to definitions in
5501 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5503 (pltexit): Likewise.
5504 (La_regs): Likewise.
5505 (La_retval): Likewise.
5506 (int_retval): Likewise.
5507 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5509 (pltexit): Likewise.
5510 (La_regs): Likewise.
5511 (La_retval): Likewise.
5512 (int_retval): Likewise.
5513 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5515 (pltexit): Likewise.
5516 (La_regs): Likewise.
5517 (La_retval): Likewise.
5518 (int_retval): Likewise.
5519 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5521 (pltexit): Likewise.
5522 (La_regs): Likewise.
5523 (La_retval): Likewise.
5524 (int_retval): Likewise.
5525 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5527 (pltexit): Likewise.
5528 (La_regs): Likewise.
5529 (La_retval): Likewise.
5530 (int_retval): Likewise.
5531 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5533 (pltexit): Likewise.
5534 (La_regs): Likewise.
5535 (La_retval): Likewise.
5536 (int_retval): Likewise.
5537 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5538 macro definitions in tst-audit.h.
5539 * sysdeps/i386/tst-audit.h: New file.
5540 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5541 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5542 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5543 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5544 * sysdeps/sh/tst-audit.h: Likewise.
5545 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5546 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5547 * sysdeps/x86_64/tst-audit.h: Likewise.
5549 2012-07-26 Andreas Jaeger <aj@suse.de>
5551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5554 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5555 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5556 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5558 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5560 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5562 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5565 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5567 (si_call_addr, si_syscall, si_arch): Define new macro.
5568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5570 (si_call_addr, si_syscall, si_arch): Define new marcro.
5571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5573 (si_call_addr, si_syscall, si_arch): Define new macro.
5574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5576 (si_call_addr, si_syscall, si_arch): Define new macro.
5578 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5582 Change to 2.4.21 where previously 2.4.1.
5583 * sysdeps/unix/sysv/linux/configure: Regenerated.
5584 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5585 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5586 Linux kernel version.
5587 (__ASSUME_STD_AUXV): Remove.
5588 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5590 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5591 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5592 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5593 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5594 (__ASSUME_NETLINK_SUPPORT): Likewise.
5595 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5596 (__no_netlink_support): Remove conditional definition.
5597 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5599 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5600 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5602 (if_nameindex_ioctl): Remove.
5603 (if_nameindex_netlink): Do not handle __no_netlink_support.
5604 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5606 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5607 Remove conditional code.
5608 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5610 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5612 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5613 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5614 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5616 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5617 [!__ASSUME_STD_AUXV]: Remove conditional code.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5619 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5620 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5622 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5623 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5625 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5627 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5628 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5630 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5632 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5635 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5638 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5640 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5642 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5644 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5647 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5649 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5652 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5654 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5656 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5658 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5661 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5663 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5665 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5667 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5670 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5672 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5673 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5674 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5675 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5676 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5677 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5678 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5679 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5680 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5681 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5682 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5683 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5684 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5685 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5690 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5693 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5696 2012-07-25 Florian Weimer <fweimer@redhat.com>
5698 * Versions.def: Add GLIBC_2.17.
5699 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5700 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5701 Introduce __libc_secure_getenv.
5702 * stdlib/Versions (2.17): Add secure_getenv
5703 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5704 * stdlib/secure-getenv.c: Rename __secure_getenv to
5705 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5706 symbol __secure_getenv for GLIBC_2.0.
5707 * stdlib/tst-secure-getenv.c: New.
5708 * stdlib/Makefile (tests): Add testcase.
5709 * manual/startup.texi (Environment Access): Document
5711 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5712 __libc_secure_getenv.
5713 * inet/ruserpass.c (ruserpass): Likewise.
5714 * malloc/mtrace.c (mtrace): Likewise.
5715 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5716 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5717 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5718 * sysdeps/posix/tempname.c: Likewise. Evaluate
5720 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5721 __secure_getenv to __libc_secure_getenv.
5722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5735 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5737 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5738 (struct La_i86_retval): Likewise.
5739 (struct La_x86_64_regs): Likewise.
5740 (struct La_x86_64_retval): Likewise.
5741 (struct La_x32_regs): Likewise.
5742 (struct La_x32_retval): Likewise.
5743 (struct La_ppc32_regs): Likewise.
5744 (struct La_ppc32_retval): Likewise.
5745 (struct La_ppc64_regs): Likewise.
5746 (struct La_ppc64_retval): Likewise.
5747 (struct La_sh_regs): Likewise.
5748 (struct La_sh_retval): Likewise.
5749 (struct La_s390_32_regs): Likewise.
5750 (struct La_s390_32_retval): Likewise.
5751 (struct La_s390_64_regs): Likewise.
5752 (struct La_s390_64_retval): Likewise.
5753 (struct La_sparc32_regs): Likewise.
5754 (struct La_sparc32_retval): Likewise.
5755 (struct La_sparc64_regs): Likewise.
5756 (struct La_sparc64_retval): Likewise.
5757 (struct audit_ifaces): Remove architecture-specific pltenter and
5759 * sysdeps/i386/ldsodefs.h: New file.
5760 * sysdeps/powerpc/ldsodefs.h: Likewise.
5761 * sysdeps/s390/ldsodefs.h: Likewise.
5762 * sysdeps/sh/ldsodefs.h: Likewise.
5763 * sysdeps/sparc/ldsodefs.h: Likewise.
5764 * sysdeps/x86_64/ldsodefs.h: Likewise.
5766 2012-07-25 Marek Polacek <polacek@redhat.com>
5769 * math/libm-test.inc (yn_test): Add another test.
5770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5771 to ERANGE when the result is +-Inf.
5772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5774 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5777 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5779 * conform/data/time.h-data (NULL): Use macro-constant. Require
5781 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5783 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5785 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5787 * configure.in <sysdeps resolving>: Correct printing
5789 * configure: Regenerate.
5791 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5793 * math/w_ilogb.c: Include <limits.h>.
5794 * math/w_ilogbl.c: Likewise.
5796 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5798 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5799 va_copy. Document allowing for unavailable va_copy only as
5800 pre-C99 compatibility.
5801 * manual/string.texi (Copying and Concatenation): Use va_copy
5802 instead of __va_copy in concat example.
5804 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5806 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5807 (__sendto): Use create_address_port. Initialize APORT and deallocate
5810 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5811 with O_NOLINK passed to __file_name_lookup.
5813 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5814 with O_NOLINK passed to __file_name_lookup.
5816 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5817 negative N or less than NGIDS.
5819 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5820 type to string_t. Set ERANGE as errno and return it if NAME is not big
5821 enough. Use memcpy instead of strncpy.
5823 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5825 * elf/Makefile (check-data): Remove.
5826 (localplt.data): New vpath directive.
5827 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5828 instead of $(check-data).
5829 * scripts/data/localplt-generic.data: Move to ...
5830 * sysdeps/generic/localplt.data: ... here.
5831 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5832 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5833 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5836 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5839 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5842 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5845 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5848 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5852 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5855 PPC32 and PPC64 files.
5856 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5857 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5859 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5861 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5862 __makecontext_ret to ...
5863 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5864 ... here and call exit if uc_link is NULL. New file.
5865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5866 __makecontext_ret.S.
5867 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5868 __makecontext_ret to ...
5869 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5870 ... here and call exit if uc_link is NULL. New file.
5871 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5872 __makecontext_ret.S.
5874 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5876 * elf/elf.h (R_390_IRELATIVE): New definition.
5877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5878 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5879 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5881 (elf_machine_lazy_rel): Likewise.
5882 * sysdeps/s390/dl-irel.h: New file.
5883 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5884 * sysdeps/s390/s390-64/memset.S: New asm code.
5885 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5886 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5888 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5889 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5890 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5892 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5893 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5894 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5895 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5896 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5897 * sysdeps/s390/s390-32/memset.S: New asm code.
5898 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5900 2012-07-17 Marek Polacek <polacek@redhat.com>
5903 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5904 * sysdeps/s390/s390-64/configure.in: Likewise.
5905 * sysdeps/sparc/configure.in: Likewise.
5906 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5907 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5908 * sysdeps/i386/configure.in: Likewise.
5909 * sysdeps/x86_64/configure.in: Likewise.
5910 * sysdeps/sh/configure.in: Likewise.
5911 * sysdeps/s390/s390-32/configure: Regenerated.
5912 * sysdeps/s390/s390-64/configure: Likewise.
5913 * sysdeps/x86_64/configure: Likewise.
5914 * sysdeps/sh/configure: Likewise.
5915 * sysdeps/powerpc/powerpc64/configure: Likewise.
5916 * sysdeps/powerpc/powerpc32/configure: Likewise.
5917 * sysdeps/sparc/configure: Likwise.
5918 * sysdeps/i386/configure: Likewise.
5920 * elf/dl-open.c: Comment fixes.
5922 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5924 * Makefile [CXX] (check-data): Remove.
5925 [CXX] (c++-types.data): New vpath directive.
5926 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5927 vpath. Do not allow for C++ type data being missing.
5928 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5929 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5930 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5931 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5932 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5933 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5934 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5937 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5940 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5943 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5946 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5949 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5952 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5955 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5958 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5959 definitions to architecture-specific files.
5963 * sysdeps/i386/tls-macros.h: New file.
5964 * sysdeps/powerpc/tls-macros.h: Likewise.
5965 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5966 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5967 * sysdeps/sh/tls-macros.h: Likewise.
5968 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5969 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5970 * sysdeps/x86_64/tls-macros.h: Likewise.
5972 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5975 zero value for regular exit case.
5977 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5978 (__start_context): Preserve zero value for regular exit case.
5980 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5981 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5983 * manual/setjmp.texi (setcontext): Clarify normal process
5984 termination when uc_link is the null pointer.
5985 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5988 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5990 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5991 preprocessor. Test for each exception mask separately.
5993 2012-07-16 Andreas Jaeger <aj@suse.de>
5995 * po/ru.po: Update from translation team.
5997 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5999 * conform/data/string.h-data (NULL): Use macro-constant. Require
6001 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6002 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6003 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6004 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6007 2012-07-13 Andreas Jaeger <aj@suse.de>
6009 * po/fr.po: Update from translation team.
6011 2012-07-12 Marek Polacek <polacek@redhat.com>
6014 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6018 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6022 Change to 2.4.1 where previously 2.4.0.
6023 * sysdeps/unix/sysv/linux/configure: Regenerated.
6024 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6025 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6027 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6028 (__ASSUME_AT_CLKTCK): Remove.
6029 (__ASSUME_AT_PAGESIZE): Likewise.
6030 (__ASSUME_AT_XID): Likewise.
6031 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6032 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6033 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6035 (HAVE_AUX_PAGESIZE): Likewise.
6036 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6037 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6038 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6040 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6044 the temporary buffer used to invoke __gethostbyname2_r,
6045 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6046 host_data / struct gaih_addrtuple.
6047 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6048 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6049 header file nss/nsswitch.h.
6050 * nss/nsswitch.h (global scope): Add definition of implementation
6051 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6052 resolv/nss_dns/dns-host.c).
6054 2012-07-11 Andreas Jaeger <aj@suse.de>
6056 * po/fr.po: Update from translation team.
6058 * po/sv.po: Update from translation team
6059 * po/fr.po: Another update from translation team.
6061 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6064 for subnormals or multiply small sinh result by itself.
6065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6068 2012-07-11 David S. Miller <davem@davemloft.net>
6070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6072 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6075 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6076 (INTERNAL_MARK): Shift it here.
6078 2012-07-10 Marek Polacek <polacek@redhat.com>
6081 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6082 libc_cv_asm_global_directive with .globl.
6083 * configure: Regenerated.
6084 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6086 * sysdeps/i386/configure: Regenerated.
6087 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6089 * sysdeps/x86_64/configure: Regenerated.
6090 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6091 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6092 * elf/tst-unique2mod2.c: Likewise.
6093 * elf/tst-unique2mod1.c: Likewise.
6094 * elf/tst-unique1mod2.c: Likewise.
6095 * elf/tst-unique1mod1.c: Likewise.
6096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6100 * sysdeps/mach/sysdep.h: Likewise.
6101 * sysdeps/i386/sysdep.h: Likewise.
6102 * sysdeps/i386/i386-mcount.S: Likewise.
6103 * sysdeps/x86_64/_mcount.S: Likewise.
6104 * sysdeps/x86_64/sysdep.h: Likewise.
6105 * sysdeps/sh/_mcount.S: Likewise.
6106 * sysdeps/sh/sysdep.h: Likewise.
6107 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6108 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6109 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6111 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6112 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6113 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6114 * locale/localeinfo.h: Likewise.
6115 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6116 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6118 2012-07-09 Roland McGrath <roland@hack.frob.com>
6121 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6123 * manual/message.texi (The Uniforum approach): Likewise.
6124 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6125 (glibc iconv Implementation): Likewise.
6127 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6130 * math/s_clog.c (__clog): Avoid scaling a value down where that
6131 could result in underflow.
6132 * math/s_clog10.c (__clog10): Likewise.
6133 * math/s_clog10f.c (__clog10f): Likewise.
6134 * math/s_clog10l.c (__clog10l): Likewise.
6135 * math/s_clogf.c (__clogf): Likewise.
6136 * math/s_clogl.c (__clogl): Likewise.
6137 * math/libm-test.inc (clog_test): Add more tests.
6138 (clog10_test): Likewise.
6139 * sysdeps/i386/fpu/libm-test-ulps: Update.
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6142 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6146 by 7 not 8 to examine high bit of fractional part.
6149 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6150 for call to __mcount_internal.
6151 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6152 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6153 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6155 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6158 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6159 approximation for values within 0x1p-13f of an odd multiple of
6161 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6162 exception. Add more tests.
6163 * sysdeps/i386/fpu/libm-test-ulps: Update.
6166 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6167 inputs and return -1 for them. Do not check for +Inf in case not
6169 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6170 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6172 and return -1 for them. Do not check for +Inf in case not
6174 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6177 and return -1 for them. Do not check for +Inf in case not
6179 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6181 * sysdeps/i386/fpu/libm-test-ulps: Update.
6182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6184 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6186 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6188 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6192 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6193 could result in spurious underflow. Scale down values above
6194 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6195 * math/s_csqrtf.c (__csqrtf): Likewise.
6196 * math/s_csqrtl.c (__csqrtl): Likewise.
6197 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6204 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6206 * catgets/xopen-msg.awk: New file.
6207 * catgets/xopen-msg.sed: Removed.
6209 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6211 * intl/po2test.awk: New file.
6212 * intl/po2test.sed: Removed.
6214 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6217 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6218 or multiply small sinh result by itself.
6219 * math/s_ctanf.c (__ctanf): Likewise.
6220 * math/s_ctanh.c (__ctanh): Likewise.
6221 * math/s_ctanhf.c (__ctanhf): Likewise.
6222 * math/s_ctanhl.c (__ctanhl): Likewise.
6223 * math/s_ctanl.c (__ctanl): Likewise.
6224 * math/libm-test.inc (ctan_test_tonearest): New function.
6225 (ctan_test_towardzero): Likewise.
6226 (ctan_test_downward): Likewise.
6227 (ctan_test_upward): Likewise.
6228 (ctanh_test_tonearest): Likewise.
6229 (ctanh_test_towardzero): Likewise.
6230 (ctanh_test_downward): Likewise.
6231 (ctanh_test_upward): Likewise.
6232 (main): Call these new functions.
6233 * sysdeps/i386/fpu/libm-test-ulps: Update.
6234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6238 * .gitignore: Delete /ports entry.
6240 2012-07-03 Andreas Jaeger <aj@suse.de>
6242 * po/bg.po: Update from translation team.
6243 * po/cs.po: Likewise.
6244 * po/de.po: Likewise.
6245 * po/hr.po: Likewise.
6246 * po/nl.pl: Likewise.
6247 * po/pl.po: Likewise.
6248 * po/vi.po: Likewise.
6250 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6252 * Makeconfig [!+link] (+link-before-libc): New variable.
6253 [!+link] (+link-after-libc): Likewise.
6254 [!+link] (+link-tests): Likewise.
6255 [!+link] (+link): Define in terms of $(+link-before-libc) and
6256 $(+link-after-libc).
6257 [!+link-static] (+link-static-before-libc): New variable.
6258 [!+link-static] (+link-static-after-libc): Likewise.
6259 [!+link-static] (+link-static-tests): Likewise.
6260 [!+link-static] (+link-static): Define in terms of
6261 $(+link-static-before-libc) and $(+link-static-after-libc).
6262 [build-shared] (link-libc-before-gnulib): New variable.
6263 [build-shared] (link-libc-tests): Likewise.
6264 [build-shared] (link-libc): Define in terms of
6265 $(link-libc-before-gnulib).
6266 [!build-shared] (link-libc-tests): New variable.
6267 (link-libc-static-tests): New variable.
6268 [!gnulib] (gnulib-arch): New variable.
6269 [!gnulib] (gnulib-tests): Likewise.
6270 [!gnulib] (static-gnulib-arch): Likewise.
6271 [!gnulib] (static-gnulib-tests): Likewise.
6272 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6273 Define with "=" instead of ":=".
6274 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6275 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6276 * Rules (binaries-all-notests): New variable.
6277 (binaries-all-tests): Likewise.
6278 (binaries-static-notests): Likewise.
6279 (binaries-static-tests): Likewise.
6280 (binaries-all): Define using $(binaries-all-notests) and
6281 $(binaries-all-tests).
6282 (binaries-static): Define using $(binaries-static-notests) and
6283 $(binaries-static-tests).
6284 (binaries-shared-tests): New variable.
6285 (binaries-shared-notests): Likewise.
6286 (binaries-shared): Remove variable.
6287 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6288 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6289 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6290 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6291 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6292 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6293 * elf/Makefile (sln-modules): New variable.
6294 (extra-objs): Add $(sln-modules:=.o).
6295 (ldconfig-modules): Add static-stubs.
6296 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6297 * elf/static-stubs.c: New file.
6300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6301 by 7 not 8 to examine high bit of fractional part. Use volatile
6302 variables when splitting into final array of floats if
6303 __FLT_EVAL_METHOD__ != 0.
6304 * math/libm-test.inc (cos_test): Add another test.
6305 (sin_test): Likewise.
6306 * sysdeps/i386/fpu/libm-test-ulps: Update.
6309 * math/libm-test.inc (cosh_test): Add more tests.
6311 * version.h (RELEASE): Set to "development".
6312 (VERSION): Set to "2.16.90".
6314 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6316 * NEWS: Update copyright. Remove last-updated date.
6317 Mention math library bug fixes and timezone data changes.
6318 * README: Mention GNU/Hurd, x32, and HPPA support status.
6320 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6322 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6324 2012-06-27 Andreas Jaeger <aj@suse.de>
6326 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6328 2012-06-25 Andreas Jaeger <aj@suse.de>
6330 * sysdeps/s390/fpu/libm-test-ulps: Update.
6332 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6333 Thomas Schwinge <thomas@codesourcery.com>
6335 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6336 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6340 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6342 * sysdeps/mach/start.c: Remove file.
6343 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6344 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6345 * sysdeps/sh/init-first.c: Likewise.
6347 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6348 registers for frame unwinding purposes, add CFI directives.
6349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6351 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6354 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6355 __fortify_fail returning.
6356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6359 sysdeps/sh/____longjmp_chk.S.
6360 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6361 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6362 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6363 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6365 * sysdeps/sh/abort-instr.h: New file.
6366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6367 process in case exit returns.
6369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6370 initialize the GOT register before use.
6372 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6373 calculation of ARGC > 4.
6375 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6376 meaningful names to some local labels.
6378 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6379 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6382 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6383 (__arch_compare_and_exchange_val_16_acq): Likewise.
6384 (__arch_compare_and_exchange_val_32_acq): Likewise.
6385 (atomic_exchange_and_add): Fix gUSA sequence.
6386 (atomic_add): Likewise.
6387 (atomic_add_negative): Likewise.
6388 (atomic_add_zero): Likewise.
6389 (atomic_bit_test_set): Likewise.
6391 2012-06-22 Andreas Schwab <schwab@redhat.com>
6394 * include/link.h (struct link_map): Add l_free_initfini.
6395 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6397 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6398 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6399 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6402 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6404 * configure.in: Use AC_LANG_SOURCE.
6405 * configure: Regenerate.
6407 2012-06-22 Roland McGrath <roland@hack.frob.com>
6409 * configure.in (libc_cv_localstatedir): New substituted variable.
6410 * configure: Regenerated.
6411 * config.make.in (localstatedir): New variable, substituted from
6412 libc_cv_localstatedir.
6413 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6414 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6415 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6416 * sysdeps/gnu/configure: Regenerated.
6418 2012-06-21 Jeff Law <law@redhat.com>
6421 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6422 free. Simplify list management for _LIBC case.
6424 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6428 Clear sign bit of 64-bit integer value before comparing against
6431 * sysdeps/mach/configure: Regenerated.
6433 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6436 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6438 2012-06-21 Jeff Law <law@redhat.com>
6441 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6442 uint16_t for elements in the "seen" array to avoid char overflows.
6443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6444 * elf/dl-open.c (dl_open_worker): Likewise.
6446 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6448 * scripts/list-sources.sh: Scan PORTS for translations.
6449 * po/libc.pot: Regenerated.
6451 2012-06-21 Andreas Jaeger <aj@suse.de>
6454 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6456 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6457 * bits/byteswap-16.h (__bswap_16): Likewise.
6458 * bits/byteswap.h (__bswap_constant_16): Likewise.
6460 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6463 * sysdeps/i386/fpu_control.h: Removed.
6464 * sysdeps/x86_64/fpu_control.h: Moved to ...
6465 * sysdeps/x86/fpu_control.h: Here.
6467 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6468 (_FPU_SETCW): Likewise.
6470 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6473 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6474 * sysdeps/x86/fpu/bits/mathinline.h: This.
6475 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6479 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6480 functions if __x86_64__ is defined.
6482 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6484 * string/endian.h: Add !__ASSEMBLER__ condition for including
6485 conversion interfaces.
6487 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6491 of ABS(x) in calculating zero to negative powers other than odd
6493 * math/libm-test.inc (pow_test): Add more tests.
6495 2012-06-15 Andreas Jaeger <aj@suse.de>
6497 * manual/contrib.texi (Contributors): Update entry of Liubov
6498 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6501 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6503 * string/string.h: Add __wur to GNU version of strerror_r.
6505 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6508 * string/Makefile (tests): Add tst-strtok_r.
6509 * string/tst-strtok_r.c: New file.
6510 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6511 RAX_LP/RDX_LP on SAVE_PTR.
6513 2012-06-14 Roland McGrath <roland@hack.frob.com>
6515 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6517 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6519 * libm_test.inc (csqrt_test): Allow more spurious underflow
6521 (j0_test): Likewise.
6522 (j1_test): Likewise.
6523 (y0_test): Likewise.
6524 (y1_test): Likewise.
6526 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6528 * po/Makefile (libc.pot): Use UTF-8 charset.
6530 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6533 Suppress sign-conversion warning from FD_SET.
6534 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6535 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6536 not unsigned long int.
6537 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6539 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6543 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6544 __extern_always_inline instead of __extern_inline.
6545 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6546 (__signbit): Likewise.
6547 (__signbitl): Support C++ namespace.
6548 (lrintf): New inline function.
6550 (llrintf): Likewise.
6562 (nearbyint): Likewise.
6563 (nearbyintf): Likewise.
6565 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6568 non-default versions.
6570 2012-06-11 Roland McGrath <roland@hack.frob.com>
6573 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6575 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6577 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6578 (FE_UPWARD, FE_DOWNWARD): Don't define.
6579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6587 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6589 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6592 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6594 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6597 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6598 * sysdeps/i386/fpu/Implies: New file.
6599 * sysdeps/x86_64/fpu/Implies: Likewise.
6600 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6601 * sysdeps/x86/fpu/bits/fenv.h: This.
6603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6606 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6609 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6610 character 0xffff that matches the last element of the
6613 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6618 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6621 values higher than 25.6283.
6623 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6626 subnormal exponent extraction and add some __builtin_expect.
6627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6628 Fix for subnormal mantissa calculation.
6630 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6632 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6633 cpu2 is -1 and errno is not ENOSYS.
6635 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6638 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6639 * sysdeps/x86/bits/string.h: This.
6640 * sysdeps/x86_64/bits/string.h: Removed.
6642 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6643 if not compiling for x86-64, but compiling for >= i486.
6645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6646 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6649 New macro from Linux kernel 3.4.0.
6650 (FP_XSTATE_MAGIC2): Likewise.
6651 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6652 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6653 (struct _fpx_sw_bytes): New struct.
6654 (struct _xsave_hdr): Likewise.
6655 (struct _ymmh_state): Likewise.
6656 (struct _xstate): Likewise.
6658 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6659 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6661 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6663 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6665 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6666 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6667 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6668 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6669 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6670 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6672 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6675 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6676 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6677 (sysdep_headers): Include sys/platform/ppc.h.
6678 * sysdeps/powerpc/test-gettimebase.c: Test for
6679 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6680 * manual/Makefile (appendices): Include platform.texi.
6681 * manual/contrib.texi (Contributors): Update @node pointers.
6682 * manual/maint.texi (Maintenance): Likewise.
6683 (Platform): New node.
6684 * manual/platform.texi: New file. Document the new features.
6686 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6687 Jakub Jelinek <jakub@redhat.com>
6690 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6691 where __builtin_expect is unavailable.
6693 2012-06-03 David S. Miller <davem@davemloft.net>
6695 * stdlib/longlong.h: Updated from GCC.
6697 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6700 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6701 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6704 (GLIBC_2.16): Likewise.
6706 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6710 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6713 (default-abi): New variable.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6717 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6719 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6721 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6724 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6725 definition. Document in comment.
6727 2012-06-01 David S. Miller <davem@davemloft.net>
6729 * stdlib/longlong.h: Updated from GCC.
6731 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6734 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6735 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6736 sys/debugreg.h sys/io.h here.
6737 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6738 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6740 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6741 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6743 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6745 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6748 Define only if __x86_64__ is defined.
6750 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6754 Use int64_t for variable i.
6755 * math/libm-test.inc (fmod_test): Add more tests.
6757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6758 z computation is not scheduled after fetestexcept.
6759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6760 Use math_force_eval instead of asm to ensure calculation scheduled
6761 before exception test.
6762 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6763 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6765 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6768 computation is not scheduled after fetestexcept.
6770 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6774 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6776 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6779 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6781 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6784 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6786 (__WCHAR_MIN): Support __WORDSIZE == 64.
6787 (__WCHAR_MAX): Likewise.
6789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6794 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6801 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6804 Defined to 1 if __x86_64__ isn't defined.
6805 (_STAT_VER_LINUX_OLD): New.
6806 (st_atime): Remove duplicate.
6807 (st_mtime): Likewise.
6808 (st_ctime): Likewise.
6810 2012-05-31 David S. Miller <davem@davemloft.net>
6812 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6815 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6817 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6821 * elf/dl-reloc.c: Include <_itoa.h>.
6822 (_dl_reloc_bad_type): Remove use of INTUSE.
6823 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6824 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6825 * stdio-common/psiginfo.c (psiginfo): Likewise.
6826 * stdio-common/psignal.c (psignal): Likewise.
6827 * string/strsignal.c (strsignal): Likewise.
6828 * include/signal.h (_sys_siglist): Declare hidden proto.
6829 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6830 INTVARDEF with libc_hidden_data_def.
6831 * stdio-common/itoa-udigits.c: Likewise.
6832 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6833 (_itoa_lower_digits_internal): Remove declaration.
6834 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6835 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6836 (_sys_sigabbrev_internal): Remove aliases.
6837 (_sys_siglist): Define hidden alias.
6839 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6844 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6848 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6850 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6851 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6852 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6853 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6855 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6857 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6859 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6871 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6873 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6877 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6880 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6881 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6883 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6890 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6891 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6893 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6895 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6897 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6903 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6905 * math/math.h (M_El): Use two more decimal places.
6906 (M_LOG2El): Likewise.
6907 (M_LOG10El): Likewise.
6909 (M_LN10l): Likewise.
6911 (M_PI_2l): Likewise.
6912 (M_PI_4l): Likewise.
6913 (M_1_PIl): Likewise.
6914 (M_2_PIl): Likewise.
6915 (M_2_SQRTPIl): Likewise.
6916 (M_SQRT2l): Likewise.
6917 (M_SQRT1_2l): Likewise.
6919 2012-05-31 David S. Miller <davem@davemloft.net>
6921 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6922 values between float registers.
6923 * sysdeps/sparc/sparc64/memset.S: Likewise.
6924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6926 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6928 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6929 -D_FORTIFY_SOURCE=1.
6930 (CPPFLAGS-tst-longjmp_chk.c): Define.
6931 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6932 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6933 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6934 CFLAGS-tst-wchar-h.c.
6936 2012-05-31 Marek Polacek <polacek@redhat.com>
6939 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6940 __endmntent_internal): Remove declaration.
6941 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6942 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6943 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6945 2012-05-30 David S. Miller <davem@davemloft.net>
6947 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6948 (___Q_simulate_exceptions): Use real FP ops rather than writing
6950 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6953 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6956 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6957 * sysdeps/x86/bits/xtitypes.h: This.
6959 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6960 * sysdeps/x86/bits/wordsize.h: This.
6962 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6963 * sysdeps/x86/bits/huge_vall.h: This.
6965 * sysdeps/i386/bits/select.h: Removed.
6966 * sysdeps/x86_64/bits/select.h: Renamed to ...
6967 * sysdeps/x86/bits/select.h: This.
6969 * sysdeps/i386/bits/setjmp.h: Removed.
6970 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6971 * sysdeps/x86/bits/setjmp.h: This.
6973 * sysdeps/i386/bits/mathdef.h: Removed.
6974 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6975 * sysdeps/x86/bits/mathdef.h: This.
6977 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6980 * include/sys/socket.h (__connect_internal)
6981 (__libc_sa_len_internal): Remove declaration.
6982 (__connect, __libc_sa_len): Declare hidden_proto.
6983 (SA_LEN): Remove use of INTUSE.
6984 * socket/connect.c: Add libc_hidden_def.
6985 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6986 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6987 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6989 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6991 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6992 of adding _internal alias.
6994 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6997 * sysdeps/i386/bits/link.h: Removed.
6998 * sysdeps/i386/bits/linkmap.h: Likewise.
6999 * sysdeps/x86_64/bits/link.h: Renamed to ...
7000 * sysdeps/x86/bits/link.h: This.
7001 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7002 * sysdeps/x86/bits/linkmap.h: This.
7004 * sysdeps/i386/bits/endian.h: Removed.
7005 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7006 * sysdeps/x86/bits/endian.h: This.
7008 * sysdeps/i386/bits/byteswap.h: Removed.
7009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7010 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7011 * sysdeps/x86/bits/byteswap.h: This.
7012 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7013 * sysdeps/x86/bits/byteswap-16.h: This.
7014 * sysdeps/i386/Implies: Add x86.
7015 * sysdeps/x86_64/Implies: Likewise.
7017 2012-05-30 David S. Miller <davem@davemloft.net>
7019 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7020 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7021 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7022 (FP_TRAPPING_EXCEPTIONS): Define.
7023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7024 (FP_TRAPPING_EXCEPTIONS): Define.
7025 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7026 subnormals only when inexact has been signalled or underflow
7027 exceptions are enabled.
7028 (_FP_PACK_CANONICAL): Likewise.
7030 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7034 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7036 2012-05-30 Richard Henderson <rth@twiddle.net>
7038 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7039 with #ifndef NOT_IN_libc.
7041 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7042 marked to avoid plt entry.
7044 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7047 * Makeconfig (default-abi): New macro.
7048 (abi-includes): Likewise.
7049 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7050 $(abi-$(default-abi)-lib-soname) for soname if defined.
7051 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7053 * Makefile (installed-stubs): Likewise.
7054 * include/stubs-biarch.h: Removed.
7055 * scripts/lib-names.awk: Only handle one library at a time.
7056 * scripts/soversions.awk: Remove WORDSIZE support.
7057 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7059 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7061 (syscall-list-default-condition): Likewise.
7062 (syscall-list-default-condition): Likewise.
7063 (syscall-list-includes): Likewise.
7064 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7065 syscall-list-* with abi-*. Handle undefined abi-variants.
7066 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7067 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7068 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7069 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7070 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7071 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7073 (syscall-list-32-options): Likewise.
7074 (syscall-list-32-condition): Likewise.
7075 (syscall-list-64-options): Likewise.
7076 (syscall-list-64-condition): Likewise.
7077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7079 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7082 (abi-64-ld-soname): New macro.
7083 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7087 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7088 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7090 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7092 * sysdeps/unix/sysv/linux/kernel-features.h
7093 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7094 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7095 include <kernel-features.h>.
7096 [!__NR_ftruncate64]: Remove conditional code.
7097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7098 [__NR_ftruncate64]: Make code unconditional.
7099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7100 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7101 include <kernel-features.h>.
7102 [!__NR_ftruncate64]: Remove conditional code.
7103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7104 [__NR_ftruncate64]: Make code unconditional.
7105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7107 include <kernel-features.h>.
7108 [!__NR_ftruncate64]: Remove conditional code.
7109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7110 [__NR_ftruncate64]: Make code unconditional.
7111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7113 include <kernel-features.h>.
7114 [!__NR_ftruncate64]: Remove conditional code.
7115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7116 [__NR_ftruncate64]: Make code unconditional.
7117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7119 * configure.in (libc_cv_fpie): Weaken to a compile test using
7121 * configure: Regenerated.
7123 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7138 2012-05-27 David S. Miller <davem@davemloft.net>
7140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7142 (__Q_simulate_exceptions): Return void. Change to simulate
7143 exceptions by writing into the %fsr.
7144 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7145 (__Qp_handle_exceptions): Likewise.
7147 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7148 __Qp_handle_exceptions.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7150 __Qp_handle_exceptions.
7151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7152 as unused and give dummy FP_RND_NEAREST initializer.
7153 (FP_INHIBIT_RESULTS): Define.
7154 (___Q_simulate_exceptions): Update declaration.
7155 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7157 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7158 as unused and give dummy FP_RND_NEAREST initializer.
7159 (__Qp_handle_exceptions): Update declaration.
7160 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7163 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7166 the temporary FPU control word.
7167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7168 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7173 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7174 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7175 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7176 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7179 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7181 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7184 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7186 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7187 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7191 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7192 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7195 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7197 * po/h.po: Update from translation team.
7199 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7201 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7204 handling of denormals.
7205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7206 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7214 2012-05-26 Marek Polacek <polacek@redhat.com>
7217 * math/libm-test.inc (fma_test): Don't always expect underflow
7220 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7223 * elf/tst-execstack.c: Include stackinfo.h.
7224 (do_test): Adjust test case to ensure that pthread_getattr_np
7225 behaviour remains the same after marking stack executable.
7227 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7229 * sysdeps/unix/sysv/linux/kernel-features.h
7230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7235 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7240 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7242 * configure.in: Define the default includes to being none.
7243 * configure: Regenerated.
7245 2012-05-25 Roland McGrath <roland@hack.frob.com>
7247 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7248 * sysdeps/x86_64/setjmp.S: Likewise.
7249 * sysdeps/i386/bsd-setjmp.S: Likewise.
7250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7251 * sysdeps/i386/setjmp.S: Likewise.
7252 * sysdeps/i386/__longjmp.S: Likewise.
7253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7256 * include/stap-probe.h: New file.
7257 * configure.in: Handle --enable-systemtap.
7258 * configure: Regenerated.
7259 * config.h.in (USE_STAP_PROBE): New #undef.
7260 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7261 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7264 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7268 to 2.4.0 where earlier.
7269 * sysdeps/unix/sysv/linux/configure: Regenerated.
7270 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7271 <kernel-features.h>.
7272 [__ASSUME_32BITUIDS]: Make code unconditional.
7273 [!__ASSUME_32BITUIDS]: Remove conditional code.
7274 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7275 <kernel-features.h>.
7276 [__ASSUME_32BITUIDS]: Make code unconditional.
7277 [!__ASSUME_32BITUIDS]: Remove conditional code.
7278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7279 [__ASSUME_32BITUIDS]: Make code unconditional.
7280 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7281 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7282 <kernel-features.h>.
7283 [__ASSUME_32BITUIDS]: Make code unconditional.
7284 [!__ASSUME_32BITUIDS]: Remove conditional code.
7285 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7286 <kernel-features.h>.
7287 [__ASSUME_32BITUIDS]: Make code unconditional.
7288 [!__ASSUME_32BITUIDS]: Remove conditional code.
7289 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7290 <kernel-features.h>.
7291 [__ASSUME_32BITUIDS]: Make code unconditional.
7292 [!__ASSUME_32BITUIDS]: Remove conditional code.
7293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7294 <kernel-features.h>.
7295 [__ASSUME_32BITUIDS]: Make code unconditional.
7296 [!__ASSUME_32BITUIDS]: Remove conditional code.
7297 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7298 <kernel-features.h>.
7299 [__ASSUME_32BITUIDS]: Make code unconditional.
7300 [!__ASSUME_32BITUIDS]: Remove conditional code.
7301 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7302 <kernel-features.h>.
7303 [__ASSUME_32BITUIDS]: Make code unconditional.
7304 [!__ASSUME_32BITUIDS]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7306 <kernel-features.h>.
7307 [__ASSUME_32BITUIDS]: Make code unconditional.
7308 [!__ASSUME_32BITUIDS]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7310 <kernel-features.h>.
7311 [__ASSUME_32BITUIDS]: Make code unconditional.
7312 [!__ASSUME_32BITUIDS]: Remove conditional code.
7313 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7314 <kernel-features.h>.
7315 [__ASSUME_32BITUIDS]: Make code unconditional.
7316 [!__ASSUME_32BITUIDS]: Remove conditional code.
7317 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7318 <kernel-features.h>.
7319 [__ASSUME_32BITUIDS]: Make code unconditional.
7320 [!__ASSUME_32BITUIDS]: Remove conditional code.
7321 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7322 <kernel-features.h>.
7323 [__NR_setresgid] (__setresgid): Do not declare.
7324 [__ASSUME_32BITUIDS]: Make code unconditional.
7325 [!__ASSUME_32BITUIDS]: Remove conditional code.
7326 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7327 <kernel-features.h>.
7328 [__NR_setresuid] (__setresuid): Do not declare.
7329 [__ASSUME_32BITUIDS]: Make code unconditional.
7330 [!__ASSUME_32BITUIDS]: Remove conditional code.
7331 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7332 <kernel-features.h>.
7333 [__ASSUME_32BITUIDS]: Make code unconditional.
7334 [!__ASSUME_32BITUIDS]: Remove conditional code.
7335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7336 <kernel-features.h>.
7337 [__ASSUME_32BITUIDS]: Make code unconditional.
7338 [!__ASSUME_32BITUIDS]: Remove conditional code.
7339 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7340 <kernel-features.h>.
7341 [__ASSUME_32BITUIDS]: Make code unconditional.
7342 [!__ASSUME_32BITUIDS]: Remove conditional code.
7343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7344 <kernel-features.h>.
7345 [__ASSUME_32BITUIDS]: Make code unconditional.
7346 [!__ASSUME_32BITUIDS]: Remove conditional code.
7347 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7348 <kernel-features.h>.
7349 [__ASSUME_32BITUIDS]: Make code unconditional.
7350 [!__ASSUME_32BITUIDS]: Remove conditional code.
7351 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7352 <kernel-features.h>.
7353 [__ASSUME_32BITUIDS]: Make code unconditional.
7354 [!__ASSUME_32BITUIDS]: Remove conditional code.
7355 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7356 <kernel-features.h>.
7357 [__ASSUME_32BITUIDS]: Make code unconditional.
7358 [!__ASSUME_32BITUIDS]: Remove conditional code.
7359 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7360 <kernel-features.h>.
7361 [__ASSUME_32BITUIDS]: Make code unconditional.
7362 [!__ASSUME_32BITUIDS]: Remove conditional code.
7363 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7364 <kernel-features.h>.
7365 [__ASSUME_32BITUIDS]: Make code unconditional.
7366 [!__ASSUME_32BITUIDS]: Remove conditional code.
7367 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7368 <kernel-features.h>.
7369 [__ASSUME_32BITUIDS]: Make code unconditional.
7370 [!__ASSUME_32BITUIDS]: Remove conditional code.
7371 * sysdeps/unix/sysv/linux/kernel-features.h
7372 (__ASSUME_SETRESUID_SYSCALL): Remove.
7373 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7374 (__ASSUME_32BITUIDS): Likewise.
7375 (__ASSUME_LDT_WORKS): Likewise.
7376 (__ASSUME_O_DIRECTORY): Likewise.
7377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7378 architecture but not kernel version.
7379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7380 (__ASSUME_MMAP2_SYSCALL): Likewise.
7381 (__ASSUME_STAT64_SYSCALL): Likewise.
7382 (__ASSUME_IPC64): Likewise.
7383 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7384 <kernel-features.h>.
7385 [__ASSUME_32BITUIDS]: Make code unconditional.
7386 [!__ASSUME_32BITUIDS]: Remove conditional code.
7387 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7388 <kernel-features.h>.
7389 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7390 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7391 132096]: Remove conditional code.
7392 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7394 <kernel-features.h>.
7395 [__ASSUME_32BITUIDS]: Make code unconditional.
7396 [!__ASSUME_32BITUIDS]: Remove conditional code.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7398 <kernel-features.h>.
7399 [__ASSUME_32BITUIDS]: Make code unconditional.
7400 [!__ASSUME_32BITUIDS]: Remove conditional code.
7401 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7402 <kernel-features.h>.
7403 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7405 (__setresgid): Do not declare.
7406 [__ASSUME_32BITUIDS]: Make code unconditional.
7407 [!__ASSUME_32BITUIDS]: Remove conditional code.
7408 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7409 <kernel-features.h>.
7410 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7412 (__setresuid): Do not declare.
7413 [__ASSUME_32BITUIDS]: Make code unconditional.
7414 [!__ASSUME_32BITUIDS]: Remove conditional code.
7415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7416 <kernel-features.h>.
7417 [__ASSUME_32BITUIDS]: Make code unconditional.
7418 [!__ASSUME_32BITUIDS]: Remove conditional code.
7419 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7420 <kernel-features.h>.
7421 [__ASSUME_32BITUIDS]: Make code unconditional.
7422 [!__ASSUME_32BITUIDS]: Remove conditional code.
7424 2012-05-25 Richard Henderson <rth@twiddle.net>
7426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7427 dl_hwcap to ifunc resolver.
7428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7431 dl_hwcap to ifunc resolver.
7432 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7434 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7437 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7438 for |x| <= 2**-26, not 2**-57.
7439 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7442 2012-05-24 Jeff Law <law@redhat.com>
7444 * stdio-common/Makefile (tests): Add bug25.
7445 * stdio-common/bug25.c: New test.
7447 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7450 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7451 multiple of MALLOC_ALIGNMENT in size.
7452 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7454 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7456 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7458 (FILENAME_MAX): Use macro-int-constant.
7459 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7460 (_IOFBF): Use macro-int-constant.
7463 (SEEK_CUR): Likewise.
7464 (SEEK_END): Likewise.
7465 (SEEK_SET): Likewise.
7466 (TMP_MAX): Likewise.
7467 (EOF): Use macro-int-constant. Require < 0.
7468 (NULL): Use macro-constant. Require == 0.
7469 (stdin): Require type to be FILE *.
7472 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7474 (EXIT_SUCCESS): Likewise.
7475 (NULL): Use macro-constant. Require == 0.
7476 (RAND_MAX): Use macro-int-constant.
7477 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7478 [C99-based standards] (strtof): Require function.
7479 [C99-based standards] (strtold): Likewise.
7480 [C99-based standards] (strtoll): Likewise.
7481 [C99-based standards] (strtoull): Likewise.
7482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7483 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7484 [ISO || ISO99 || ISO11] (math.h): Likewise.
7485 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7489 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7492 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7493 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7494 * intl/dgettext.c (DCGETTEXT): Likewise.
7495 * intl/gettext.c (DCGETTEXT): Likewise.
7496 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7497 * posix/regex_internal.h (gettext): Likewise.
7498 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7500 * include/argz.h (__argz_count_internal)
7501 (__argz_stringify_internal): Remove declaration.
7502 (__argz_count, __argz_stringify): Declare hidden proto.
7503 * intl/dcgettext.c: Remove use of INTDEF.
7504 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7505 * string/argz-stringify.c: Likewise.
7506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7508 Declare hidden proto.
7509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7511 Declare hidden proto.
7512 * include/stdio.h (__asprintf_internal): Don't declare.
7513 (__asprintf): Don't define as macro. Declare hidden proto.
7514 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7515 (__fsetlocking): Declare hidden proto.
7516 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7517 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7519 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7520 (_IO_setlinebuf): Remove use of INTUSE.
7521 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7522 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7523 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7525 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7526 (_IO_do_flush): Remove use of INTUSE.
7527 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7528 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7529 (_IO_adjust_column, _IO_least_wmarker)
7530 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7531 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7532 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7533 (_IO_default_doallocate, _IO_wdefault_doallocate)
7534 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7535 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7536 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7537 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7538 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7539 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7540 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7541 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7542 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7543 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7544 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7545 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7546 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7548 (_IO_flush_all_internal, _IO_adjust_column_internal)
7549 (_IO_default_uflow_internal, _IO_default_finish_internal)
7550 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7551 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7552 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7553 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7554 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7555 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7556 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7557 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7558 (_IO_file_close_internal, _IO_file_close_it_internal)
7559 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7560 (_IO_file_init_internal, _IO_file_attach_internal)
7561 (_IO_file_fopen_internal, _IO_file_read_internal)
7562 (_IO_file_sync_internal, _IO_file_seek_internal)
7563 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7564 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7565 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7566 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7567 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7568 (_IO_list_all_internal, _IO_link_in_internal)
7569 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7570 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7571 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7572 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7573 (_IO_do_write_internal, _IO_padn_internal)
7574 (_IO_getline_info_internal, _IO_getline_internal)
7575 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7576 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7577 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7578 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7579 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7580 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7581 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7582 with libc_hidden_ver, remove use of INTUSE.
7583 * libio/genops.c: Likewise.
7584 * libio/freopen.c: Likewise.
7585 * libio/freopen64.c: Likewise.
7586 * libio/iofclose.c: Likewise.
7587 * libio/iofdopen.c: Likewise.
7588 * libio/iofflush.c: Likewise.
7589 * libio/iofflush_u.c: Likewise.
7590 * libio/iofgets.c: Likewise.
7591 * libio/iofgets_u.c: Likewise.
7592 * libio/iofopen.c: Likewise.
7593 * libio/iofopncook.c: Likewise.
7594 * libio/iofread.c: Likewise.
7595 * libio/iofread_u.c: Likewise.
7596 * libio/ioftell.c: Likewise.
7597 * libio/iofwrite.c: Likewise.
7598 * libio/iogetline.c: Likewise.
7599 * libio/iogets.c: Likewise.
7600 * libio/iogetwline.c: Likewise.
7601 * libio/iopadn.c: Likewise.
7602 * libio/iopopen.c: Likewise.
7603 * libio/ioseekoff.c: Likewise.
7604 * libio/ioseekpos.c: Likewise.
7605 * libio/iosetbuffer.c: Likewise.
7606 * libio/iosetvbuf.c: Likewise.
7607 * libio/ioungetc.c: Likewise.
7608 * libio/ioungetwc.c: Likewise.
7609 * libio/iovdprintf.c: Likewise.
7610 * libio/iovsprintf.c: Likewise.
7611 * libio/iovsscanf.c: Likewise.
7612 * libio/memstream.c: Likewise.
7613 * libio/obprintf.c: Likewise.
7614 * libio/oldfileops.c: Likewise.
7615 * libio/oldiofclose.c: Likewise.
7616 * libio/oldiofdopen.c: Likewise.
7617 * libio/oldiofopen.c: Likewise.
7618 * libio/oldiopopen.c: Likewise.
7619 * libio/oldstdfiles.c: Likewise.
7620 * libio/putc.c: Likewise.
7621 * libio/setbuf.c: Likewise.
7622 * libio/setlinebuf.c: Likewise.
7623 * libio/stdfiles.c: Likewise.
7624 * libio/strops.c: Likewise.
7625 * libio/vasprintf.c: Likewise.
7626 * libio/vscanf.c: Likewise.
7627 * libio/vsnprintf.c: Likewise.
7628 * libio/vswprintf.c: Likewise.
7629 * libio/wfiledoalloc.c: Likewise.
7630 * libio/wfileops.c: Likewise.
7631 * libio/wgenops.c: Likewise.
7632 * libio/wmemstream.c: Likewise.
7633 * libio/wstrops.c: Likewise.
7634 * libio/__fpurge.c: Likewise.
7635 * libio/__fsetlocking.c: Likewise.
7636 * assert/assert.c: Likewise.
7637 * debug/fgets_chk.c: Likewise.
7638 * debug/fgets_u_chk.c: Likewise.
7639 * debug/fread_chk.c: Likewise.
7640 * debug/fread_u_chk.c: Likewise.
7641 * debug/gets_chk.c: Likewise.
7642 * debug/obprintf_chk.c: Likewise.
7643 * debug/vasprintf_chk.c: Likewise.
7644 * debug/vdprintf_chk.c: Likewise.
7645 * debug/vsnprintf_chk.c: Likewise.
7646 * debug/vsprintf_chk.c: Likewise.
7647 * malloc/mtrace.c: Likewise.
7648 * misc/error.c: Likewise.
7649 * misc/syslog.c: Likewise.
7650 * stdio-common/asprintf.c: Likewise.
7651 * stdio-common/fxprintf.c: Likewise.
7652 * stdio-common/getw.c: Likewise.
7653 * stdio-common/isoc99_fscanf.c: Likewise.
7654 * stdio-common/isoc99_scanf.c: Likewise.
7655 * stdio-common/isoc99_vfscanf.c: Likewise.
7656 * stdio-common/isoc99_vscanf.c: Likewise.
7657 * stdio-common/isoc99_vsscanf.c: Likewise.
7658 * stdio-common/printf-prs.c: Likewise.
7659 * stdio-common/printf_fp.c: Likewise.
7660 * stdio-common/printf_fphex.c: Likewise.
7661 * stdio-common/printf_size.c: Likewise.
7662 * stdio-common/putw.c: Likewise.
7663 * stdio-common/scanf.c: Likewise.
7664 * stdio-common/sprintf.c: Likewise.
7665 * stdio-common/tmpfile.c: Likewise.
7666 * stdio-common/vfprintf.c: Likewise.
7667 * stdio-common/vfscanf.c: Likewise.
7668 * stdlib/strfmon_l.c: Likewise.
7669 * sunrpc/openchild.c: Likewise.
7670 * sunrpc/xdr_stdio.c: Likewise.
7671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7672 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7674 2012-05-24 Roland McGrath <roland@hack.frob.com>
7676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7678 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7679 in the third column, to generate for the shared library an IFUNC
7680 that uses _dl_vdso_vsym.
7681 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7682 * Makeconfig (object-suffixes-noshared): New variable.
7684 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7685 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7686 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7687 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7690 * include/sys/time.h (__gettimeofday): Remove macro.
7691 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7692 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7694 (__gettimeofday): Add libc_hidden_def.
7695 (gettimeofday): Add libc_hidden_weak.
7696 * sysdeps/mach/gettimeofday.c: Likewise.
7697 * sysdeps/posix/gettimeofday.c: Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7701 (__gettimeofday_internal): Remove strong_alias.
7702 (__gettimeofday): Add libc_hidden_def.
7703 (gettimeofday): Add libc_hidden_weak.
7704 * sysdeps/unix/syscalls.list (gettimeofday):
7705 Remove __gettimeofday_internal alias.
7707 2012-05-24 Daniel Jacobowitz <drow@false.org>
7708 H.J. Lu <hongjiu.lu@intel.com>
7711 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7712 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7713 (largebin_index_32_big): New.
7714 (largebin_index): Use it for 16-byte alignment.
7715 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7716 correction with front_misalign.
7718 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7746 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7747 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7749 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7753 * math/libm-test.inc (exp_test): Add test from bug 14036.
7754 (pow_test): Add test from bug 10846.
7756 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7758 (special_function): Do not include flags in test name.
7759 (parse_args): Likewise.
7760 * sysdeps/i386/fpu/libm-test-ulps: Update.
7761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7766 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7768 * math/libm-test.inc ("Philosophy"): Update comment about
7770 (UNDERFLOW_EXCEPTION): New macro.
7771 (UNDERFLOW_EXCEPTION_OK): Likewise.
7772 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7773 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7774 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7775 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7776 (INVALID_EXCEPTION_OK): Update value.
7777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7778 (OVERFLOW_EXCEPTION_OK): Likewise.
7779 (IGNORE_ZERO_INF_SIGN): Likewise.
7780 (test_exceptions): Handle underflow exceptions.
7781 (acos_test): Update for underflow exception expectations.
7782 (cexp_test): Likewise.
7783 (clog_test): Likewise.
7784 (clog10_test): Likewise.
7785 (csqrt_test): Likewise.
7786 (ctan_test): Likewise.
7787 (ctanh_test): Likewise.
7788 (exp_test): Likewise.
7789 (exp10_test): Likewise.
7790 (exp2_test): Likewise.
7791 (expm1_test): Likewise.
7792 (fma_test): Likewise.
7793 (j0_test): Likewise.
7794 (jn_test): Likewise.
7795 (nexttoward_test): Likewise.
7796 (pow_test): Likewise.
7797 (scalbn_test): Likewise.
7798 (scalbln_test): Likewise.
7799 (tan_test): Likewise.
7800 (y1_test): Likewise.
7801 * sysdeps/i386/fpu/libm-test-ulps: Update.
7802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7804 2012-05-23 David S. Miller <davem@davemloft.net>
7806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7807 (__libc_sigaction): Remove unused local variables.
7809 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7813 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7815 mktime: avoid signed integer overflow
7816 * time/mktime.c (__mktime_internal): Do not mishandle the case
7817 where diff == INT_MIN.
7819 mktime: simplify computation of average
7820 * time/mktime.c (ranged_convert): Use new time_t_avg function
7821 instead of rolling our own (probably-slower) code.
7823 mktime: do not assume signed right shift propagates sign bit
7824 * time/mktime.c (isdst_differ): New static function.
7825 (__mktime_internal): No need to normalize tm_isdst now.
7826 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7829 mktime: merge another wrapv change from gnulib
7830 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7831 from some compilers.
7833 mktime: remove incorrect attempt at unusual arithmetics
7834 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7835 The code didn't really work on such machines anyway.
7836 (TYPE_MINIMUM): Assume two's complement.
7837 (twos_complement_arithmetic): Verify that long_int and time_t
7838 are two's complement (or unsigned, in the latter case).
7840 mktime: check signed shifts on long_int and time_t, too
7841 * time/mktime.c (SHR): Check that shifts work as desired
7842 on the types long_int and time_t too, as SHR is used on
7845 mktime: do not assume 'long' is wide enough
7846 * time/mktime.c (verify): Move decl up.
7847 (long_int): New type.
7848 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7849 to remove assumption in the code that 'long' is wide enough to
7850 store year values. This assumption is not true on x32 and on
7851 some non-glibc platforms.
7853 mktime: merge wrapv change from gnulib
7854 * time/mktime.c (WRAPV): New macro.
7855 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7856 (guess_time_tm, __mktime_internal): Do not assume that signed
7857 integer overflow wraps around; modern compilers generate code
7858 where this assumption is no longer valid.
7860 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7863 Replace "jmp L(pseudo_end)" with "ret".
7864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7867 2012-05-23 Andreas Jaeger <aj@suse.de>
7869 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7870 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7872 2012-05-23 Andreas Jaeger <aj@suse.de>
7873 Maximilian Attems <max@stro.at>
7875 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7878 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7881 code so that pseudo_end is just ret and the stack pointer is
7882 correct also for static library in error case.
7884 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7887 move to syscalls.list.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7893 * manual/install.texi (Running make install): Do not mention Linux
7894 kernel version for which pt_chown is not needed.
7895 (Linux): Do not mention problems with nscd with 2.0 kernels.
7896 * INSTALL: Regenerated.
7898 2012-05-23 Andreas Jaeger <aj@suse.de>
7900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7901 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7903 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7905 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7907 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7913 * sysdeps/unix/sysv/linux/bits/in.h
7914 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7916 2012-05-22 Roland McGrath <roland@hack.frob.com>
7918 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7919 (PREPARE_VERSION): Just use assert instead, it will be elided
7920 under [NDEBUG] anyway.
7922 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7924 * sysdeps/unix/sysv/linux/Makefile: Include
7925 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7926 (sysdep_routines): Remove sysctl.
7927 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7928 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7930 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7931 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7933 2012-05-22 Andreas Jaeger <aj@suse.de>
7935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7936 that pseudo_end is just ret and the stack pointer is correct also
7937 for static library in error case.
7939 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7942 * nss/nsswitch.c (defconfig_entries): New variable.
7943 (__nss_database_lookup): Don't leak defconfig entries.
7944 (nss_parse_service_list): Don't leak on error paths.
7945 (free_database_entries): New function.
7946 (free_defconfig): New function.
7947 (free_mem): Move common code to free_database_entries.
7949 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7955 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7956 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7959 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7960 (INTERNAL_SYSCALL_TYPES): Likewise.
7961 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7962 (LOAD_REGS_TYPES_[1-6]): Likewise.
7963 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7964 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7966 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7969 copysignl for GLIBC_2_0.
7970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7971 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7973 logbl for GLIBC_2_0.
7974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7977 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7982 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7985 * time/mktime.c: Update copyright years.
7987 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7989 mktime: merge comment-quoting-style change from gnulib
7990 * time/mktime.c: Quote 'like this' in comments.
7991 The GNU coding standards suggest that we no longer quote `like this',
7992 as "`" and "'" are typically rendered asymmetrically nowadays.
7993 The typical gnulib style is to quote 'like this' when quoting
7994 code, and "like this" when quoting English.
7996 * time/mktime.c (compile-command): Add "-I.".
7998 mktime: merge mktime-internal.h change from gnulib
7999 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8001 mktime: merge time_r change from gnulib
8002 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8004 mktime: merge DEBUG change from gnulib
8005 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8006 case system <time.h> has a #define.
8008 mktime: merge <sys/types.h> change from gnulib
8009 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8010 since <time.t> is now guaranteed to define time_t.
8012 mktime: merge HAVE_CONFIG_H change from gnulib
8013 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8015 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8022 (struct rusage): Use anonymous union to pad each field to
8025 2012-05-21 David S. Miller <davem@davemloft.net>
8027 * Makefules (o-iterator): Remove .s cases.
8028 (compile-command.s): Delete.
8029 (COMPILE.s): Delete.
8030 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8032 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8034 * configure.in (libc_cv_predef_stack_protector): Only consider
8035 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8036 * configure: Regenerated.
8038 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8041 New macro. Use R*LP on int and pointer.
8042 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8043 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8044 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8045 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8047 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8048 [__WORDSIZE_TIME64_COMPAT32] instead of
8049 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8050 (struct utmp): Likewise.
8051 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8052 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8054 (__WORDSIZE_TIME64_COMPAT32): This.
8055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8056 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8057 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8060 (__WORDSIZE_TIME64_COMPAT32): New macro.
8062 2012-05-21 Andreas Jaeger <aj@suse.de>
8064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8065 only if [SHARED]. Add prototype for __wcschr_ia32.
8067 2012-05-21 Roland McGrath <roland@hack.frob.com>
8069 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8070 of %rbp unmolested in the jmp_buf while mangling the low bits.
8071 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8072 unmolested high bits of %rbp while demangling the low bits.
8073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8075 2012-05-21 Andreas Jaeger <aj@suse.de>
8077 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8078 * sunrpc/svc_simple.c: Use it for registerrpc.
8079 * sunrpc/xcrypt.c: Use it for passwd2des.
8081 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8083 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8085 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8086 Don't define if [__SYSCALL_WORDSIZE != 32].
8087 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8090 2012-05-21 Bruno Haible <bruno@clisp.org>
8091 Andreas Jaeger <aj@suse.de>
8093 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8094 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8095 inptr and inend for must_buffer_ch.
8096 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8097 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8098 * stdio-common/Makefile (tests): Remove bug15.
8099 (bug15-ENV): Remove macro.
8100 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8103 2012-05-19 Andreas Jaeger <aj@suse.de>
8104 Roland McGrath <roland@hack.frob.com>
8106 * manual/contrib.texi: Completely rewritten. It contains now an
8107 alphabetical list of contributors and their contributions.
8109 2012-05-21 Richard Henderson <rth@twiddle.net>
8111 * misc/getauxval.c (__getauxval): Use unsigned long int.
8112 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8113 (getauxval): Use unsigned long int.
8115 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8117 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8119 2012-05-21 Roland McGrath <roland@hack.frob.com>
8121 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8122 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8123 __alignof__ (long double).
8125 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8129 2012-05-20 Richard Henderson <rth@twiddle.net>
8131 * misc/getauxval.c: New file.
8132 * misc/sys/auxv.h: New file.
8133 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8134 (routines): Add getauxval.
8135 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8137 * elf/dl-sysdep.c (_dl_auxv): Remove.
8138 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8139 * elf/dl-support.c (_dl_auxv): New variable.
8140 (_dl_aux_init): Initialize it.
8141 * manual/startup.texi (Auxiliary Vector): New node.
8142 * sysdeps/generic/bits/hwcap.h: New file.
8143 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8144 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8145 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8146 * sysdeps/sparc/sysdep.h: ... here. Include it.
8147 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8160 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8164 2012-05-19 David S. Miller <davem@davemloft.net>
8166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8168 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8171 * math/s_ccosh.c: Include <float.h>
8172 (__ccosh): Avoid internal overflow calculating sinh and cosh
8173 values before multiplying by sin and cos values.
8174 * math/s_ccoshf.c: Likewise.
8175 * math/s_ccoshl.c: Likewise.
8176 * math/s_csin.c: Likewise.
8177 * math/s_csinf.c: Likewise.
8178 * math/s_csinl.c: Likewise.
8179 * math/s_csinh.c: Likewise.
8180 * math/s_csinhf.c: Likewise.
8181 * math/s_csinhl.c: Likewise.
8182 * math/libm-test.inc (ccos_test): Add more tests.
8183 (ccosh_test): Likewise.
8184 (csin_test): Likewise.
8185 (csinh_test): Likewise.
8186 * sysdeps/i386/fpu/libm-test-ulps: Update.
8187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8189 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8191 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8192 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8194 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8196 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8198 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8199 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8200 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8201 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8202 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8203 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8204 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8205 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8206 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8207 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8208 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8209 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8210 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8211 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8212 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8213 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8214 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8215 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8216 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8217 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8218 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8219 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8220 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8221 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8222 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8223 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8224 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8225 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8226 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8227 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8228 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8230 2012-05-18 Andreas Jaeger <aj@suse.de>
8232 * csu/.gitignore: Delete.
8234 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8236 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8237 (timex): Use __syscall_slong_t.
8239 2012-05-18 Andreas Jaeger <aj@suse.de>
8240 Carlos O'Donell <carlos_odonell@mentor.com>
8242 * manual/install.texi (Configuring and compiling): Update
8243 description about files modified in the source directory.
8244 * INSTALL: Regenerated.
8246 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8248 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8249 value. Use "or" to set return value to -1.
8250 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8251 negate return value.
8253 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8255 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8256 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8257 failure if the compiler has Graphite support disabled.
8258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8260 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8261 CFLAGS-memmove.c): Likewise.
8262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8265 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/x86_64/x32/_itoa.h: New file.
8269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8270 getdents system call only if kernel and user dirents have the
8271 same d_ino and d_off.
8273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8274 LLONG_MAX != LONG_MAX.
8275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8276 (_fitoa_word): Likewise.
8278 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8285 include <bits/wordsize.h>. Check __x86_64__ instead of
8287 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8288 if __x86_64__ is defined. Use anonymous union on fpstate.
8290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8293 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8295 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8296 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8298 Refer to _rtld_local_ro instead of _rtld_global_ro.
8299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8301 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8303 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8305 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8306 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8307 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8309 * sysdeps/powerpc/powerpc32/dl-machine.c
8310 (__elf_machine_runtime_setup) [PROF]: Don't reference
8313 2012-05-18 Andreas Jaeger <aj@suse.de>
8315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8316 function only available for GCCs before 3.4 since GCC 3.4
8317 introduced a builtin.
8319 (llrintf): Likewise.
8327 (nearbyint): Likewise.
8328 (nearbyintf): Likewise.
8334 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8337 on both fields and cast pointer to __syscall_ulong_t.
8339 * bits/types.h (__fsword_t): New type.
8340 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8341 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8343 (__FSWORD_T_TYPE): Likewise.
8344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8345 (__FSWORD_T_TYPE): Likewise.
8346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8347 (__FSWORD_T_TYPE): Likewise.
8348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8349 (__FSWORD_T_TYPE): Likewise.
8350 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8351 __SWORD_TYPE with __fsword_t.
8352 (statfs64): Likewise.
8354 2012-05-17 David S. Miller <davem@davemloft.net>
8356 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8358 2012-05-17 Andreas Jaeger <aj@suse.de>
8360 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8363 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8365 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8367 2012-05-17 Andreas Jaeger <aj@suse.de>
8369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8372 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8374 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8376 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8379 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8381 2012-05-17 Andreas Jaeger <aj@suse.de>
8382 Carlos O'Donell <carlos_odonell@mentor.com>
8385 * sysdeps/x86_64/multiarch/init-arch.h
8386 (bit_YMM_Usable): Rename to...
8387 (bit_AVX_Usable): ... this.
8388 (bit_FMA4_Usable): New macro.
8389 (bit_XMM_state): New macro.
8390 (bit_YMM_state): New macro.
8391 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8392 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8393 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8394 (CPUID_OSXSAVE): New macro.
8395 (CPUID_AVX): New macro.
8396 (CPUID_FMA4): New macro.
8397 (index_YMM_Usable): Rename to...
8398 (index_AVX_Usable): ... this.
8399 (HAS_AVX): Use HAS_ARCH_FEATURE.
8400 (HAS_FMA4): Likewise.
8401 (HAS_YMM_USABLE): Remove.
8402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8403 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8405 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8406 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8407 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8408 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8409 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8411 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8413 * math/libm-test.c: Support platforms without multiple rounding modes.
8414 * math/bug-nextafter.c: Support platforms without FP exceptions.
8415 * math/bug-nexttoward.c: Likewise.
8416 * math/test-fenv.c: Likewise.
8417 * math/test-misc.c: Likewise.
8418 * stdlib/bug-getcontext.c: Likewise.
8420 2012-05-17 Andreas Jaeger <aj@suse.de>
8422 * manual/examples/search.c (critter_cmp): Change signature to
8424 * manual/string.texi (Collation Functions): Likewise.
8426 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8428 * bits/types.h: Fold copyright years.
8429 * bits/typesizes.h: Likewise.
8430 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8434 * time/time.h: Likewise.
8436 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8439 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8440 in instead of returning them. Return void.
8441 (__libc_mallinfo): Accumulate over all arenas.
8442 (__malloc_stats): Adjust for change in int_mallinfo interface.
8444 2012-05-16 Roland McGrath <roland@hack.frob.com>
8447 * configure.in (NM): Add AC_CHECK_TOOL for it.
8448 (libc_extra_cflags): New substituted variable.
8449 Check for -fstack-protector being used implicitly.
8450 * configure: Regenerated.
8451 * config.make.in (config-extra-cflags): New variable,
8452 gets @libc_extra_cflags@.
8453 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8456 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8457 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8458 * configure: Regenerated.
8459 * config.make.in (CPPUNDEFS): New substituted variable.
8460 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8461 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8462 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8466 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8467 (mq_attr): Use __syscall_slong_t.
8469 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8472 Check __x86_64__ instead of __WORDSIZE.
8473 (_STAT_VER_LINUX): Likewise.
8474 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8475 __syscall_ulong_t and __syscall_slong_t.
8478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8488 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8491 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8492 include <bits/wordsize.h>. Check __x86_64__ instead of
8494 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8496 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8499 include <bits/wordsize.h>. Check __x86_64__ instead of
8501 (user_regs_struct): Use "__extension__ unsigned long long"
8502 instead of "unsigned long" if __x86_64__ is defined.
8503 (user): Likewise. Pad after pointer field if __ILP32__ is
8506 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8508 * configure.in (makeinfo): Require version 4.5 or later. Allow
8510 * configure: Regenerated.
8511 * manual/install.texi (texinfo): Increase version requirement to
8513 * INSTALL: Regenerated.
8515 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8519 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8521 * sysdeps/x86_64/x32/ffs.c: New file.
8523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8525 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8526 defined. Use __syscall_ulong_t.
8527 (shminfo): Use __syscall_ulong_t.
8528 (shm_info): Likewise.
8530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8535 (msgqnum_t): Use __syscall_ulong_t.
8536 (msglen_t): Likewise.
8537 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8545 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8546 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8548 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8552 include <bits/wordsize.h>. Check __x86_64__ instead of
8555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8556 "unsigned long long int" if __x86_64__ is defined.
8557 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8561 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8565 (GET_PC): Cast to uintptr_t first.
8566 (GET_FRAME): Likewise.
8567 (GET_STACK): Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8599 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8601 * Makerules (+depfiles): Also collect depfiles from .oS in
8603 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8604 .oS, $(libnldbl-routines)).
8606 * Makerules (native-compile-mkdep-flags): Define.
8607 * sunrpc/Makefile (extra-objs): Add $(addprefix
8608 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8609 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8610 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8611 calling $(make-target-directory).
8613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8615 * bits/types.h (__snseconds_t): Removed.
8616 * time/time.h (struct timespec): Replace __snseconds_t with
8618 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8619 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8622 (__SNSECONDS_T_TYPE): Likewise.
8623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8624 (__SNSECONDS_T_TYPE): Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8626 (__SNSECONDS_T_TYPE): Likewise.
8628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8630 * sysdeps/mach/hurd/bits/typesizes.h
8631 (__SYSCALL_SLONG_TYPE): New macro.
8632 (__SYSCALL_ULONG_TYPE): Likewise.
8634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8636 * bits/types.h (__syscall_slong_t): New type.
8637 (__syscall_ulong_t): Likewise.
8639 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8640 (__SYSCALL_ULONG_TYPE): Likewise.
8641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8642 (__SYSCALL_SLONG_TYPE): Likewise.
8643 (__SYSCALL_ULONG_TYPE): Likewise.
8644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8645 (__SYSCALL_SLONG_TYPE): Likewise.
8646 (__SYSCALL_ULONG_TYPE): Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8648 (__SYSCALL_SLONG_TYPE): Likewise.
8649 (__SYSCALL_ULONG_TYPE): Likewise.
8651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8653 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8654 Add sigaltstack-offsets.sym.
8655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8656 <sigaltstack-offsets.h>.
8657 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8658 longjmp_msg pointer.
8659 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8660 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8662 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8664 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8666 * elf/stackguard-macros.h: Remove file.
8667 * sysdeps/generic/stackguard-macros.h: New file.
8668 * sysdeps/i386/stackguard-macros.h: Likewise.
8669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8675 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8676 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8677 <elf/stackguard-macros.h>.
8680 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8681 __aligned__ in attribute.
8682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8683 (gregset_t): Likewise.
8685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8687 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8688 * sysdeps/x86_64/64/Implies-after: Here. New file.
8689 * sysdeps/x86_64/x32/Implies-after: New file.
8691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8693 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8694 and access return value for _dl_profile_fixup. Use R10_LP to
8697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8703 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8704 * sysdeps/x86_64/x32/sysdep.h: New file.
8706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8708 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8709 * sysdeps/x86_64/setjmp.S: Likewise.
8711 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8715 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8717 remove unused global constant.
8719 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8721 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8722 include of <not-cancel.h>.
8724 2012-05-15 Roland McGrath <roland@hack.frob.com>
8726 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8728 2012-05-15 Jeff Law <law@redhat.com>
8729 Andreas Jaeger <aj@suse.de>
8732 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8734 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8735 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8737 code changing __hst_map_handle.map.
8739 2012-05-15 Roland McGrath <roland@hack.frob.com>
8741 * configure.in (sysnames): Look for Implies-before and Implies-after
8743 * configure: Regenerated.
8745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8747 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8748 8-byte data alignment with LP_SIZE alignment.
8750 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8757 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8762 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8769 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8770 (stackinfo_sub_sp): Likewise.
8772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8789 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8793 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8794 into R11_LP and load __x86_64_shared_cache_size_half into
8797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8802 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8811 powerpc32/power7/fpu/s_logb.c via #include.
8812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8813 powerpc32/power7/fpu/s_logbf.c via #include.
8814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8815 powerpc32/power7/fpu/s_logbl.c via #include.
8817 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8819 * README.libm: Remove file.
8821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8823 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8824 count for x32. Use R*_LP and omit operand-size suffix.
8826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8828 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8829 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8830 * sysdeps/x86_64/x32/shlib-versions: New file.
8832 2012-05-14 Roland McGrath <roland@hack.frob.com>
8834 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8835 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8836 Use _dl_fatal_printf instead.
8838 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8840 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8841 set if not set by the user. Do not allow for being unset.
8842 * sysdeps/unix/sysv/linux/configure: Regenerated.
8844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8846 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8847 the `q' suffix from lea and replace .quad with ASM_ADDR.
8849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8852 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8854 (PTR_DEMANGLE): Likewise.
8856 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8858 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8860 (ASM_ADDR): Likewise.
8878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8880 * sysdeps/x86_64/x32/dl-machine.h: New file.
8882 2012-05-14 Andreas Jaeger <aj@suse.de>
8884 * manual/Makefile (subdir): Remove export of subdir.
8885 (all): Remove target.
8886 (.PHONY): Remove all from list.
8887 (mkinstalldirs): Remove.
8888 (.PHONY): Remove installdirs from list.
8889 ($(inst_infodir)/libc.info): Use make-target-directory.
8890 (installdirs): Remove.
8892 (glibc-targets): Remove.
8895 ($(objpfx)stubs ../po/manual.pot): Remove.
8896 ($(objpfx)stamp%): Remove.
8897 (make-target-directory): Remove.
8898 (subdir_install): Remove.
8906 * manual/.gitignore: Remove, it's not needed anymore.
8907 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8909 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8911 (texis): Renamed to $(objpfx)texis.
8912 (texis-path): New, contains path to generated files.
8913 (chapters.%): Use texis-path for complete path, add extra argument
8915 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8916 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8917 (summary,texi, stamp-summary): Use complete path of
8918 files. Generate files in build dir.
8919 (dir-add.texi): Build in build dir.
8920 (libm-err.texi,stamp-libm-err): Likewise.
8921 (version.texi, stamp-version): Likewise.
8922 (.%c.texi): Likewise.
8923 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8924 (mostlyclean): Remove target.
8925 (realclean): Remove target.
8926 (generated): Add new variable with contents from mostlyclean and
8927 realclean, remove entries duplicated in common-mostlyclean, add
8928 stamp-libm-err and stamp-version.
8929 (generated-dirs): Add libc directory.
8930 ($(inst_infodir)/libc.info): Install files from build dir.
8932 * manual/install.texi (Configuring and compiling): Adjust since
8933 the info files are not part of the tar ball anymore.
8935 2012-05-14 Andreas Jaeger <aj@suse.de>
8937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8940 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8944 to 2.2.0 where earlier.
8945 * sysdeps/unix/sysv/linux/configure: Regenerated.
8946 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8947 Remove conditional code.
8948 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8949 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8950 Remove conditional code.
8951 [!__NR_lchown]: Likewise.
8952 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8953 [__NR_lchown]: Likewise.
8954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8955 comment referencing __ASSUME_LCHOWN_SYSCALL.
8956 * sysdeps/unix/sysv/linux/i386/sigaction.c
8957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8960 Remove conditional code.
8961 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8962 (__protocol_available): Remove #if 0 code.
8963 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8965 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8966 * sysdeps/unix/sysv/linux/kernel-features.h
8967 (__ASSUME_GETCWD_SYSCALL): Don't define.
8968 (__ASSUME_REALTIME_SIGNALS): Likewise.
8969 (__ASSUME_PREAD_SYSCALL): Likewise.
8970 (__ASSUME_PWRITE_SYSCALL): Likewise.
8971 (__ASSUME_POLL_SYSCALL): Likewise.
8972 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8973 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8975 (__ASSUME_SIOCGIFNAME): Don't define.
8976 (__ASSUME_MSG_NOSIGNAL): Likewise.
8977 (__ASSUME_SENDFILE): Define unconditionally.
8978 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8979 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8981 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8982 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8984 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8987 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9012 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9013 Remove conditional code.
9014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9015 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9016 Remove conditional code.
9017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9019 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9020 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9021 Remove conditional code.
9022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9023 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9024 Remove conditional code.
9025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9026 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9027 Remove conditional code.
9028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9029 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9030 Remove conditional code.
9031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9032 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9033 Remove conditional code.
9034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9035 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9038 * sysdeps/unix/sysv/linux/sigaction.c
9039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9041 * sysdeps/unix/sysv/linux/sigpending.c
9042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9044 * sysdeps/unix/sysv/linux/sigprocmask.c
9045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9047 * sysdeps/unix/sysv/linux/sigsuspend.c
9048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9051 (__libc_missing_rt_sigs): Remove.
9052 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9053 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9054 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9055 Remove conditional code.
9056 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9057 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9064 2012-05-14 Andreas Jaeger <aj@suse.de>
9066 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9067 it's not used in glibc.
9068 (__coshm1): Likewise.
9069 (__acosh1p): Likewise.
9072 * manual/string.texi (Copying and Concatenation): Add missing
9073 variable in concat example.
9074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9080 __builtin_clzl with __builtin_clzll.
9082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9085 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9088 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9090 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9091 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9092 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9095 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9097 * NEWS: Update ia64 info.
9099 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9101 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9104 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9106 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9107 * sysdeps/unix/syscalls.list (dup3): Likewise.
9108 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9109 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9111 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9113 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9114 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9116 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9118 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9120 (TLS_IE): Use mov/add instead of movq/addq to load thread
9122 (TLS_GD_PREFIX): New.
9125 2012-05-11 David S. Miller <davem@davemloft.net>
9127 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9128 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9129 (_FPU_SETCW): Likewise.
9131 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9133 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9136 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9139 * iconvdata/gb18030.c: Update tables.
9140 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9141 characters specially.
9142 (BODY for TO_LOOP): Add encoding of missing ranges.
9144 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9147 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9148 * sysdeps/mach/hurd/dup3.c: Likewise.
9149 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9150 * sysdeps/powerpc/memmove.c:: Likewise.
9152 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9155 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9157 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9159 * elf/elf.h (R_X86_64_RELATIVE64): New.
9160 (R_X86_64_NUM): Updated.
9161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9162 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9163 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9164 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9165 tst-quad1pie tst-quad2pie
9166 (modules-names): Add tst-quadmod1 tst-quadmod2.
9167 ($(objpfx)tst-quad1): New dependency.
9168 ($(objpfx)tst-quad2): Likewise.
9169 ($(objpfx)tst-quad1pie): Likewise.
9170 ($(objpfx)tst-quad2pie): Likewise.
9171 * sysdeps/x86_64/tst-quad1.c: New file.
9172 * sysdeps/x86_64/tst-quad1pie.c: New file.
9173 * sysdeps/x86_64/tst-quad2.c: Likewise.
9174 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9175 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9176 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9177 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9178 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9180 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9182 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9183 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9184 * streams/stropts.h (t_scalar_t): Define type.
9186 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9187 (_PATH_PRESERVE): Set to "/var/lib".
9188 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9190 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9193 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9194 if __dir_mkfile succeeded.
9196 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9197 checking for _hurd_dtablesize. Unlock it right after having
9198 finished _hurd_dtable allocation.
9200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9202 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9203 * sysdeps/mach/hurd/configure: Regenerated.
9204 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9205 special-casing to...
9206 * sysdeps/gnu/configure.in: ... this new file.
9207 * sysdeps/unix/sysv/linux/configure: Regenerated.
9208 * sysdeps/gnu/configure: New generated file.
9210 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9211 for Linux: use nsec instead of usec, as well as:
9212 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9213 members of type struct timespec.
9214 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9216 (struct stat64): Likewise.
9217 (_STATBUF_ST_NSEC): New macro.
9218 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9221 __strtoul_internal rather than strtoul.
9223 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9225 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9228 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9230 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9231 which preserves existing values.
9232 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9234 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9236 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9237 TIMEOUT values. Return EINVAL for NFDS values either negative or
9238 greater than FD_SETSIZE.
9240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9242 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9243 allocated, call __vm_protect to finish enabling the existing space, and
9244 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9245 allocate the remainder.
9247 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9249 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9250 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9254 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9255 sysdeps/mach/hurd/readlink.c.
9257 * posix/tst-sysconf.c (posix_options): Only use
9258 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9259 _POSIX_SYNCHRONIZED_IO when they are defined
9260 * sysdeps/mach/hurd/bits/posix_opt.h:
9261 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9262 (_XOPEN_REALTIME): Undefine macro.
9263 (_XOPEN_REALTIME_THREADS): Undefine macro.
9264 (_XOPEN_SHM): Undefine macro.
9265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9269 (_POSIX_ASYNC_IO): Undefine macro.
9270 (_POSIX_PRIORITIZED_IO): Undefine macro.
9271 (_POSIX_SPIN_LOCKS): Define macro to -1.
9273 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9274 SA_NODEFER, SA_RESETHAND.
9275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9276 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9281 * elf/Makefile (pldd-modules): Define unconditionally.
9283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9285 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9287 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9289 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9290 Return ENOENT when name is empty.
9291 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9293 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9295 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9297 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9301 Fix mlock in all cases except non-readable pages.
9302 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9303 instead of VM_PROT_ALL as parameter to __vm_wire function.
9305 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9306 (__mkdir): When path is `/', just fail with EEXIST.
9307 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9311 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9312 <sys/uio.h> (for writev).
9313 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9314 and <sys/param.h> (for MIN).
9316 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9318 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9319 REQUESTED_TIME. Properly set the remaining time and return EINTR
9322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9324 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9325 Depend on against $(link-rpcuserlibs).
9327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9329 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9330 (__libc_stack_end): Do not use attribute_relro.
9331 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9332 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9333 to libthread-provided value.
9334 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9337 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9340 * bits/libc-lock.h (__libc_once_get): New macro.
9341 * sysdeps/mach/bits/libc-lock.h: Likewise.
9342 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9344 instead of using implementation details.
9346 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9347 * libio/freopen.c: Likewise.
9348 * libio/freopen64.c: Likewise.
9349 * misc/syslog.c: Likewise.
9350 * nscd/connections.c: Likewise.
9351 * nscd/netgroupcache.c: Likewise.
9352 * sysdeps/posix/getcwd.c: Likewise.
9354 2012-05-10 Roland McGrath <roland@hack.frob.com>
9356 * math/w_ilogbf.c: Add #include <limits.h>.
9358 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9360 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9361 path instead of returning without unlocking.
9363 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9364 immediate-write ioctls.
9365 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9369 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9370 __builtin_frame_address instead of making assumptions about the
9371 location of the return address relative to DATA. Force early load of
9373 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9374 __builtin_frame_address.
9377 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9378 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9379 implement dup3 and do some further code clean-ups.
9380 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9381 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9385 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9387 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9388 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9389 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9390 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9391 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9394 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9395 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9396 when handler == SIG_ERR, not when handler != SIG_ERR.
9398 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9400 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9401 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9404 accept4 for GNU Hurd.
9405 * include/sys/socket.h (__libc_accept4): New prototype.
9406 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9407 to implement __libc_accept4.
9408 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9413 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9414 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9417 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9419 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9423 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9424 assertion on O_CLOEXEC flag.
9425 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9426 * hurd/intern-fd.c: Likewise.
9427 * hurd/port2fd.c: Likewise.
9429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9432 * bits/in.h (IPV6_PKTINFO): Define new macro.
9433 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9435 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9442 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9446 * math/libm-test.inc (logb_test) : Additional logb tests.
9448 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9449 Andreas Jaeger <aj@suse.de>
9451 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9452 * configure: Regenerated.
9453 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9454 * config.make.in (link-obsolete-rpc): New substituted variable.
9455 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9456 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9457 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9458 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9459 so that libc.a contains the symbols.
9460 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9461 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9462 * sunrpc/auth_none.c: Likewise.
9463 * sunrpc/auth_unix.c: Likewise.
9464 * sunrpc/authdes_prot.c: Likewise.
9465 * sunrpc/authuxprot.c: Likewise.
9466 * sunrpc/clnt_gen.c: Likewise.
9467 * sunrpc/clnt_perr.c: Likewise.
9468 * sunrpc/clnt_raw.c: Likewise.
9469 * sunrpc/clnt_simp.c: Likewise.
9470 * sunrpc/clnt_tcp.c: Likewise.
9471 * sunrpc/clnt_udp.c: Likewise.
9472 * sunrpc/clnt_unix.c: Likewise.
9473 * sunrpc/des_crypt.c: Likewise.
9474 * sunrpc/des_soft.c: Likewise.
9475 * sunrpc/get_myaddr.c: Likewise.
9476 * sunrpc/key_call.c: Likewise.
9477 * sunrpc/key_prot.c: Likewise.
9478 * sunrpc/netname.c: Likewise.
9479 * sunrpc/pm_getmaps.c: Likewise.
9480 * sunrpc/pm_getport.c: Likewise.
9481 * sunrpc/pmap_clnt.c: Likewise.
9482 * sunrpc/pmap_prot.c: Likewise.
9483 * sunrpc/pmap_prot2.c: Likewise.
9484 * sunrpc/pmap_rmt.c: Likewise.
9485 * sunrpc/publickey.c: Likewise.
9486 * sunrpc/rpc_cmsg.c: Likewise.
9487 * sunrpc/rpc_common.c: Likewise.
9488 * sunrpc/rpc_dtable.c: Likewise.
9489 * sunrpc/rpc_prot.c: Likewise.
9490 * sunrpc/rpc_thread.c: Likewise.
9491 * sunrpc/rtime.c: Likewise.
9492 * sunrpc/svc.c: Likewise.
9493 * sunrpc/svc_auth.c: Likewise.
9494 * sunrpc/svc_raw.c: Likewise.
9495 * sunrpc/svc_run.c: Likewise.
9496 * sunrpc/svc_tcp.c: Likewise.
9497 * sunrpc/svc_udp.c: Likewise.
9498 * sunrpc/svc_unix.c: Likewise.
9499 * sunrpc/svcauth_des.c: Likewise.
9500 * sunrpc/xcrypt.c: Likewise.
9501 * sunrpc/xdr.c: Likewise.
9502 * sunrpc/xdr_array.c: Likewise.
9503 * sunrpc/xdr_float.c: Likewise.
9504 * sunrpc/xdr_intXX_t.c: Likewise.
9505 * sunrpc/xdr_mem.c: Likewise.
9506 * sunrpc/xdr_rec.c: Likewise.
9507 * sunrpc/xdr_ref.c: Likewise.
9508 * sunrpc/xdr_sizeof.c: Likewise.
9509 * sunrpc/xdr_stdio.c: Likewise.
9511 2012-05-10 Roland McGrath <roland@hack.frob.com>
9513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9514 change. Update copyright years.
9516 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9518 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9520 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9521 Joseph Myers <joseph@codesourcery.com>
9522 Paul Pluzhnikov <ppluzhnikov@google.com>
9525 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9527 [cross-compiling] (extra-libs): Likewise.
9528 [cross-compiling] (extra-libs-others): Likewise.
9529 [cross-compiling] (librpcsvc-routines): Likewise.
9530 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9531 [cross-compiling] (omit-deps): Likewise.
9532 (sunrpc-CPPFLAGS): New variable.
9533 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9534 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9535 (cross-rpcgen-objs): New variable.
9536 (extra-objs): Append $(cross-rpcgen-objs).
9537 ($(cross-rpcgen-objs)): New rule.
9538 ($(objpfx)cross-rpcgen): Likewise.
9539 (rpcgen-cmd): Define to use $(built-program-file). Expand
9541 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9542 ($(objpfx)x%.stmp): Likewise.
9543 * sunrpc/proto.h [IS_IN_build] (_): Define.
9544 [IS_IN_build] (_libc_intl_domainname): Likewise.
9546 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9549 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9550 and R_X86_64_TPOFF64.
9552 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9554 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9555 sysdeps/unix/sysv/syscalls.list.
9558 * sysdeps/unix/sysv/syscalls.list: Remove file.
9560 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9563 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9564 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9565 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9566 (__LC_IDENTIFICATION): Make these macros useful in #if
9567 expressions, as required by C99.
9569 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9571 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9572 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9575 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9577 * stdlib/longlong.h: Updated from GCC.
9579 2012-05-09 Andreas Jaeger <aj@suse.de>
9581 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9582 default is first entry.
9583 (run_mode): Set type.
9584 (main): Remove informal message about syslog.
9585 (options): Fix typo.
9588 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9591 (llrintf): Likewise.
9595 (nearbyint): Likewise.
9596 (nearbyintf): Likewise.
9598 2012-05-09 Andreas Jaeger <aj@suse.de>
9599 Pedro Alves <palves@redhat.com>
9601 * nscd/nscd.c (run_mode): Use enum.
9602 (main): Cleanup coding style issue.
9604 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9605 Andreas Jaeger <aj@suse.de>
9607 * nscd/nscd.c (go_background): Replaced with...
9608 (run_mode): ... this.
9609 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9610 (options): Add -F --foreground.
9611 (main): Implement it.
9612 (parse_opt): Parse it.
9614 2012-05-09 Andreas Jaeger <aj@suse.de>
9617 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9618 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9619 -Wconversion warning.
9620 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9623 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9625 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9627 (LC_ALL): Use macro-int-constant.
9628 (LC_COLLATE): Likewise.
9629 (LC_CTYPE): Likewise.
9630 (LC_MESSAGES): Likewise.
9631 (LC_MONETARY): Likewise.
9632 (LC_NUMERIC): Likewise.
9633 (LC_TIME): Likewise.
9634 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9635 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9637 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9639 [C99-based standards] (float_t): Expect type.
9640 [C99-based standards] (double_t): Expect type.
9641 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9643 [C99-based standards] (HUGE_VALL): Likewise.
9644 [C99-based standards] (INFINITY): Likewise.
9645 [C99-based standards] (NAN): Likewise.
9646 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9647 [C99-based standards] (FP_NAN): Likewise.
9648 [C99-based standards] (FP_NORMAL): Likewise.
9649 [C99-based standards] (FP_SUBNORMAL): Likewise.
9650 [C99-based standards] (FP_ZERO): Likewise.
9651 [C99-based standards] (FP_FAST_FMA): Use
9652 optional-macro-int-constant. Specify type. Require == 1.
9653 [C99-based standards] (FP_FAST_FMAF): Likewise.
9654 [C99-based standards] (FP_FAST_FMAL): Likewise.
9655 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9656 [C99-based standards] (FP_ILOGBNAN): Likewise.
9657 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9659 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9660 [C99-based standards] (math_errhandling): Specify type.
9661 [ISO99 || ISO11] (signgam): Do not allow.
9662 [non-C99-based standards] (copysignf): Do not allow.
9663 [non-C99-based standards] (exp2f): Likewise.
9664 [non-C99-based standards] (log2f): Likewise.
9665 [non-C99-based standards] (modff): Allow.
9666 [non-C99-based standards] (erff): Do not allow.
9667 [non-C99-based standards] (erfcf): Likewise.
9668 [non-C99-based standards] (gammaf): Likewise.
9669 [non-C99-based standards] (hypotf): Likewise.
9670 [non-C99-based standards] (j0f): Likewise.
9671 [non-C99-based standards] (j1f): Likewise.
9672 [non-C99-based standards] (jnf): Likewise.
9673 [non-C99-based standards] (lgammaf): Likewise.
9674 [non-C99-based standards] (tgammaf): Likewise.
9675 [non-C99-based standards] (y0f): Likewise.
9676 [non-C99-based standards] (y1f): Likewise.
9677 [non-C99-based standards] (ynf): Likewise.
9678 [non-C99-based standards] (isnanf): Likewise.
9679 [non-C99-based standards] (acoshf): Likewise.
9680 [non-C99-based standards] (asinhf): Likewise.
9681 [non-C99-based standards] (atanhf): Likewise.
9682 [non-C99-based standards] (cbrtf): Likewise.
9683 [non-C99-based standards] (expm1f): Likewise.
9684 [non-C99-based standards] (ilogbf): Likewise.
9685 [non-C99-based standards] (log1pf): Likewise.
9686 [non-C99-based standards] (logbf): Likewise.
9687 [non-C99-based standards] (nextafterf): Likewise.
9688 [non-C99-based standards] (remainderf): Likewise.
9689 [non-C99-based standards] (rintf): Likewise.
9690 [non-C99-based standards] (scalbf): Likewise.
9691 [non-C99-based standards] (copysignl): Likewise.
9692 [non-C99-based standards] (exp2l): Likewise.
9693 [non-C99-based standards] (log2l): Likewise.
9694 [non-C99-based standards] (modfl): Allow.
9695 [non-C99-based standards] (erfl): Do not allow.
9696 [non-C99-based standards] (erfcl): Likewise.
9697 [non-C99-based standards] (gammal): Likewise.
9698 [non-C99-based standards] (hypotl): Likewise.
9699 [non-C99-based standards] (j0l): Likewise.
9700 [non-C99-based standards] (j1l): Likewise.
9701 [non-C99-based standards] (jnl): Likewise.
9702 [non-C99-based standards] (lgammal): Likewise.
9703 [non-C99-based standards] (tgammal): Likewise.
9704 [non-C99-based standards] (y0l): Likewise.
9705 [non-C99-based standards] (y1l): Likewise.
9706 [non-C99-based standards] (ynl): Likewise.
9707 [non-C99-based standards] (isnanl): Likewise.
9708 [non-C99-based standards] (acoshl): Likewise.
9709 [non-C99-based standards] (asinhl): Likewise.
9710 [non-C99-based standards] (atanhl): Likewise.
9711 [non-C99-based standards] (cbrtl): Likewise.
9712 [non-C99-based standards] (expm1l): Likewise.
9713 [non-C99-based standards] (ilogbl): Likewise.
9714 [non-C99-based standards] (log1pl): Likewise.
9715 [non-C99-based standards] (logbl): Likewise.
9716 [non-C99-based standards] (nextafterl): Likewise.
9717 [non-C99-based standards] (remainderl): Likewise.
9718 [non-C99-based standards] (rintl): Likewise.
9719 [non-C99-based standards] (scalbl): Likewise.
9720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9721 [non-C99-based standards] (FP_*): Do not allow.
9722 [C99-based standards] (FP_*): Change to
9723 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9724 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9726 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9727 (SIG_ERR): Likewise.
9728 [X/Open-based standards] (SIG_HOLD): Likewise.
9729 (SIG_IGN): Likewise.
9730 (SIGABRT): Use macro-int-constant. Specify type. Require
9735 (SIGSEGV): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9745 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9750 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9751 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9752 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9753 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9754 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9755 [X/Open-based standards] (SIGTRAP): Likewise.
9756 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9757 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9758 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9759 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9760 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9763 2012-05-08 Ian Wienand <ianw@vmware.com>
9766 * time/tzset.c (__tzset_parse_tz): Update default rules for
9767 daylight time changes in the Energy Policy Act of 2005.
9769 2012-05-09 Andreas Jaeger <aj@suse.de>
9772 * elf/ldconfig.c (parse_conf): Change string to make clear that
9773 ldconfig only issued a warning if ld.so.conf does not exist.
9775 2012-05-08 David S. Miller <davem@davemloft.net>
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9778 movxtod instead of popping the value on the stack.
9780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9782 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9784 * config.h.in: Add HAVE_ARM_PCS_VFP.
9786 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9789 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9790 checking but the checks are disabled for any reason.
9792 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9794 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9795 and ELF64_R_TYPE with ELFW(R_TYPE).
9797 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9799 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9802 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9803 (settimeofday): Likewise.
9805 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9807 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9808 a struct th_u2 inside the union, and move tu_block/tu_code into
9809 a new th_u3 union of tu_block/tu_code inside of that. Move
9810 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9811 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9812 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9813 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9814 (th_stuff): Change to th_u1.tu_stuff.
9816 (th_msg): Change to th_u1.th_u2.tu_data.
9818 2012-05-07 David S. Miller <davem@davemloft.net>
9820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9824 (SETUP_PIC_REG): Use it.
9825 (SETUP_PIC_REG_LEAF): Use it.
9827 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9833 (EXPL_FINITE): Likewise.
9835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9836 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9840 (EXPL_FINITE): Likewise.
9842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9843 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9845 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9846 test of -max_value argument for long double.
9847 * sysdeps/i386/fpu/libm-test-ulps: Update.
9848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9850 2012-05-06 David S. Miller <davem@davemloft.net>
9852 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9853 quad soft-float symbols whose references which are compiler
9855 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9857 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9863 (EXPL_FINITE): Likewise.
9867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9868 Adjust comments for base varying.
9869 (__expl_finite): Change alias to EXPL_FINITE.
9870 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9872 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9873 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9875 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9878 (EXPL_FINITE): Likewise.
9882 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9883 Adjust comments for base varying.
9884 (__expl_finite): Change alias to EXPL_FINITE.
9885 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9890 * math/libm-test.inc (check_float_internal): Correct ulp
9891 calculation for subnormal expected results.
9893 2012-05-06 Andreas Jaeger <aj@suse.de>
9895 * Makeconfig (+math-flags): New, set to -frounding-math.
9896 (+cflags): Add +math-flags so that all of glibc gets compiled with
9899 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9901 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9903 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9909 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9910 (__ieee754_expl): Allow for and saturate large arguments.
9911 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9912 (u_threshold): Likewise.
9913 (__exp): Call __ieee754_exp before checking for overflow and
9915 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9916 (u_threshold): Likewise.
9917 (__expf): Call __ieee754_expf before checking for overflow and
9919 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9920 (u_threshold): Likewise.
9921 (__expl): Call __ieee754_expl before checking for overflow and
9923 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9924 (__ieee754_expl): Allow for and saturate large arguments.
9925 * math/libm-test.inc (exp_test): Add another test. Do not allow
9926 missing overflow exception on overflow.
9927 (expm1_test): Do not allow missing overflow exception on overflow.
9929 * sysdeps/i386/fpu/e_expl.c: Move to ...
9930 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9931 rather than using inline asm.
9932 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9933 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9934 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9936 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9943 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9945 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9946 sysdeps/unix/common/syscalls.list.
9949 (ftruncate): Likewise.
9950 (getrusage): Likewise.
9951 (gettimeofday): Likewise.
9952 (setpgid): Likewise.
9953 (setregid): Likewise.
9954 (setreuid): Likewise.
9955 (sigaction): Likewise.
9956 (truncate): Likewise.
9957 (vhangup): Likewise.
9958 * sysdeps/unix/common/syscalls.list: Remove file.
9959 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9960 * sysdeps/unix/sysv/linux/Implies: Likewise.
9962 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9996 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10007 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/unix/common/bits/dirent.h: Remove file.
10010 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10012 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10013 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10014 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10015 * sysdeps/unix/bsd/isatty.c: Likewise.
10016 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10017 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10018 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10020 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10024 long double comparison inaccuracies.
10025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10028 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10030 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10033 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10037 nonzero digits before rounding a hex value.
10038 * stdlib/tst-strtod.c (tests): Add another test.
10040 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10042 * sysdeps/s390/fpu/libm-test-ulps: Update.
10044 2012-05-03 Andreas Jaeger <aj@suse.de>
10046 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10047 does not get optimized out.
10048 (malloc_opt_barrier): New.
10050 2012-05-03 Andreas Jaeger <aj@suse.de>
10051 Roland McGrath <roland@hack.frob.com>
10053 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10054 intermediate file deletion.
10055 (generated): Add .symlist files.
10057 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10060 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10061 Redirect under this condition.
10062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10063 [__USE_GNU] (__dprintf_chk): Not under this condition.
10064 [__USE_GNU] (__vdprintf_chk): Likewise.
10065 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10066 under this condition.
10067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10068 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10069 [__USE_XOPEN2K8] (vdprintf): Likewise.
10070 [__USE_GNU] (__dprintf_chk): Not under this condition.
10071 [__USE_GNU] (__vdprintf_chk): Likewise.
10072 [__USE_GNU] (dprintf): Likewise.
10073 [__USE_GNU] (vdprintf): Likewise.
10075 2012-05-03 Roland McGrath <roland@hack.frob.com>
10077 * elf/Makefile (common-generated): Set this instead of generated for
10078 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10079 $(all-built-dso)-derived lists.
10081 2012-05-03 Andreas Jaeger <aj@suse.de>
10083 * sysdeps/i386/fpu/libm-test-ulps: Update.
10086 * FAQ.in: Likewise.
10087 * scripts/gen-FAQ.pl: Likewise.
10088 * manual/install.texi (Installation): Point to online location of
10090 * Makefile (files-for-dist): Remove FAQ.
10093 2012-05-02 Allan McRae <allan@archlinux.org>
10095 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10096 (LDFLAGS-reldepmod5.so): Likewise.
10097 (LDFLAGS-reldep6mod1.so): Likewise.
10098 (LDFLAGS-reldep6mod4.so): Likewise.
10099 (LDFLAGS-reldep8mod3.so): Likewise.
10100 (LDFLAGS-unload4mod1.so): Likewise.
10101 (LDFLAGS-unload4mod2.so): Likewise.
10102 (LDFLAGS-tst-initorder): Likewise.
10103 (LDFLAGS-tst-initordera2.so): Likewise.
10104 (LDFLAGS-tst-initordera3.so): Likewise.
10105 (LDFLAGS-tst-initordera4.so): Likewise.
10106 (LDFLAGS-tst-initorderb2.so): Likewise.
10107 (LDFLAGS-noload): Likewise.
10108 (LDFLAGS-next): Likewise.
10109 (LDFLAGS-order2mod1.so): Likewise.
10110 (LDFLAGS-order2mod2.so): Likewise.
10111 (LDFLAGS-tst-initorder2): Likewise.
10112 (LDFLAGS-tst-initorder2a.so): Likewise.
10113 (LDFLAGS-tst-initorder2b.so): Likewise.
10114 (LDFLAGS-tst-initorder2c.so): Likewise.
10115 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10117 2012-05-02 David S. Miller <davem@davemloft.net>
10119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10121 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10124 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10126 2012-05-02 Andreas Jaeger <aj@suse.de>
10128 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10129 since we manipulate rounding mode.
10130 (CPPFLAGS-test-idouble.c): Likewise.
10131 (CPPFLAGS-test-ifloat.c): Likewise.
10132 (CFLAGS-test-ldouble.c): Likewise.
10133 (CFLAGS-test-double.c): Likewise.
10134 (CFLAGS-test-float.c): Likewise.
10135 (CFLAGS-test-misc.c): Likewise.
10136 (CFLAGS-test-test-fenv.c): Likewise.
10138 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10143 comparisons to determine direction to adjust input.
10145 2012-05-01 Roland McGrath <roland@hack.frob.com>
10147 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10148 output to the target.
10150 * scripts/localplt.awk: New file.
10151 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10152 (check-localplt-CFLAGS): Variable removed.
10153 ($(all-built-dso:=.jmprel)): New static pattern rule.
10154 (generated): Add those targets.
10155 (localplt-built-dso): New variable.
10156 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10158 * elf/check-localplt.c: File removed.
10160 * scripts/check-execstack.awk: New file.
10161 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10162 (check-execstack-CFLAGS): Variable removed.
10163 ($(objpfx)check-execstack.h): Target removed.
10164 ($(objpfx)execstack-default): New target.
10165 (generated): Add that instead of check-execstack.h.
10166 ($(all-built-dso:=.phdr)): New static pattern rule.
10167 (generated): Add those targets.
10168 * elf/check-execstack.c: File removed.
10170 * scripts/check-textrel.awk: New file.
10171 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10172 (check-textrel-CFLAGS): Variable removed.
10173 (all-built-dso): Use := to define.o
10174 ($(all-built-dso:=.dyn)): New static pattern rule.
10175 (generated): Add those targets.
10176 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10177 * config.make.in (READELF): New substituted variable.
10178 * elf/check-textrel.c: File removed.
10180 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10182 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10184 * conform/data/ctype.h-data [C99-based standards] (isblank):
10186 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10187 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10189 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10190 Specify type. Require positive value.
10191 (EILSEQ): Likewise.
10192 (ERANGE): Likewise.
10193 [ISO || POSIX] (EILSEQ): Do not expect.
10194 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10195 Specify type. Require positive value.
10196 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10202 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10203 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10208 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10210 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10217 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10253 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10260 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10266 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10267 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10268 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10269 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10270 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10271 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10272 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10274 (FLT_ROUNDS): Expect as macro, not constant.
10275 (FLT_MANT_DIG): Use macro-int-constant.
10276 (DBL_MANT_DIG): Likewise.
10277 (LDBL_MANT_DIG): Likewise.
10278 (FLT_DIG): Likewise.
10279 (DBL_DIG): Likewise.
10280 (LDBL_DIG): Likewise.
10281 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10282 (DBL_MIN_EXP): Likewise.
10283 (LDBL_MIN_EXP): Likewise.
10284 (FLT_MAX_EXP): Use macro-int-constant.
10285 (DBL_MAX_EXP): Likewise.
10286 (LDBL_MAX_EXP): Likewise.
10287 (FLT_MAX_10_EXP): Likewise.
10288 (DBL_MAX_10_EXP): Likewise.
10289 (LDBL_MAX_10_EXP): Likewise.
10290 (FLT_MAX): Use macro-constant.
10291 (DBL_MAX): Likewise.
10292 (LDBL_MAX): Likewise.
10293 (FLT_EPSILON): Use macro-constant. Give upper bound.
10294 (DBL_EPSILON): Likewise.
10295 (LDBL_EPSILON): Likewise.
10296 (FLT_MIN): Likewise.
10297 (DBL_MIN): Likewise.
10298 (LDBL_MIN): Likewise.
10299 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10300 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10301 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10302 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10303 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10304 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10305 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10306 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10307 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10308 [ISO11] (FLT_TRUE_MIN): Likewise.
10309 [ISO11] (LDBL_TRUE_MIN): Likewise.
10310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10311 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10312 (SCHAR_MIN): Use macro-int-constant. Specify type.
10313 (SCHAR_MAX): Likewise.
10314 (UCHAR_MAX): Likewise.
10315 (CHAR_MIN): Likewise.
10316 (CHAR_MAX): Likewise.
10317 (MB_LEN_MAX): Use macro-int-constant.
10318 (SHRT_MIN): Use macro-int-constant. Specify type.
10319 (SHRT_MAX): Likewise.
10320 (USHRT_MAX): Likewise.
10321 (INT_MAX): Likewise.
10322 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10324 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10326 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10328 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10329 bound negative. Suffix upper bound with "L".
10330 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10332 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10334 [C99-based standards] (LLONG_MAX): Likewise.
10335 [C99-based standards] (ULLONG_MAX): Likewise.
10336 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10338 [ISO11] (max_align_t): Require type.
10339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10341 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10342 from $CFLAGS, without defining away __attribute__ calls.
10343 (checknamespace): Use $CFLAGS_namespace.
10345 * conform/conformtest.pl (@keywords): Only include C99 keywords
10346 for standards based on C99 or C11.
10348 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10350 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10353 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10354 usability of symbols in #if.
10356 * conform/conformtest.pl: If macro or constant types start
10357 "promoted:", expect the symbol to be of the following type
10358 promoted by the integer promotions.
10360 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10361 in one place. Also handle "macro-constant".
10363 * conform/conformtest.pl: Only accept expected macro values with
10364 "==". Parse all "macro" lines in one place.
10365 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10367 * conform/conformtest.pl: Handle braced types on "constant" lines
10368 instead of handling "typed-constant".
10369 * conform/data/signal.h-data: Use "constant" instead of
10372 * conform/conformtest.pl: Handle "optional-" at start of lines in
10373 one place rather than duplicating several cases. Handle each
10374 format of "macro" line with initial "optional-".
10376 * conform/conformtest.pl: Only accept expected constant or
10377 optional-constant values with "==". Parse all "constant" lines in
10378 one place. Parse all "optional-constant" lines in one place.
10379 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10380 * conform/data/fmtmsg.h-data: Likewise.
10381 * conform/data/netinet/in.h-data: Likewise.
10382 * conform/data/tar.h-data: Likewise.
10383 * conform/data/limits.h-data: Use "==" form on "constant" and
10384 "optional-constant" lines.
10386 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10387 Use -std=c99 for XOPEN2K.
10388 (@knownproblems): Remove.
10389 (newtoken): Don't check %isknown.
10391 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10392 Do not expect macro.
10393 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10405 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10406 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10423 [XPG3] (acosh): Likewise.
10424 [XPG3] (asinh): Likewise.
10425 [XPG3] (atanh): Likewise.
10426 [XPG3] (cbrt): Likewise.
10427 [XPG3] (expm1): Likewise.
10428 [XPG3] (ilogb): Likewise.
10429 [XPG3] (log1p): Likewise.
10430 [XPG3] (logb): Likewise.
10431 [XPG3] (nextafter): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10434 [XPG3] (remainder): Likewise.
10435 [XPG3] (rint): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10443 [UNIX98 || XOPEN2K] (scalb): Expect.
10444 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10445 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10564 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10565 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10566 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10571 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10572 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10575 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10576 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10578 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10579 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10582 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10583 _XOPEN_SOURCE_EXTENDED for XPG4.
10585 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10587 * Makeconfig (localtime): Remove variable.
10588 (inst_localtime-file): Likewise.
10590 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10611 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10615 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10616 comparisons to determine direction to adjust input.
10617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10618 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10628 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10630 * math/libm-test.inc (nexttoward_test): Add more tests.
10632 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10636 in version GLIBC_2.1, not GLIBC_2.0.
10637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10640 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10646 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10647 * math/libm-test.inc (acos_test): Add more tests.
10648 (asin_test): Likewise.
10649 * sysdeps/i386/fpu/libm-test-ulps: Update.
10650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10655 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10656 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10657 * math/libm-test.inc (acos_test_tonearest): New function.
10658 (acos_test_towardzero): Likewise.
10659 (acos_test_downward): Likewise.
10660 (acos_test_upward): Likewise.
10661 (asin_test_tonearest): Likewise.
10662 (asin_test_towardzero): Likewise.
10663 (asin_test_downward): Likewise.
10664 (asin_test_upward): Likewise.
10665 (main): Call the new functions.
10666 * sysdeps/i386/fpu/libm-test-ulps: Update.
10667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10671 * math/e_exp10.c: Include <float.h>.
10672 (__ieee754_exp10): Handle underflow here rather than multiplying
10673 large negative argument by M_LN10.
10674 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10676 * math/e_exp10l.c: Include <float.h>.
10677 (__ieee754_exp10l): Handle underflow here rather than multiplying
10678 large negative argument by M_LN10l.
10679 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10680 spurious overflow exception on underflow.
10682 2012-04-29 Marek Polacek <polacek@redhat.com>
10684 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10685 (__fortify_function): New macro.
10686 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10687 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10688 __extern_always_inline.
10689 * libio/bits/stdio2.h: Likewise.
10690 * libio/bits/stdio.h: Likewise.
10691 * string/string.h: Likewise.
10692 * string/bits/string3.h: Likewise.
10693 * include/stdio.h: Likewise.
10694 * stdlib/bits/stdlib.h: Likewise.
10695 * stdlib/stdlib.h: Likewise.
10696 * rt/bits/mqueue2.h: Likewise.
10697 * rt/mqueue.h: Likewise.
10698 * posix/bits/unistd.h: Likewise.
10699 * posix/unistd.h: Likewise.
10700 * io/bits/poll2.h: Likewise.
10701 * io/bits/fcntl2.h: Likewise.
10702 * io/fcntl.h: Likewise.
10703 * io/sys/poll.h: Likewise.
10704 * misc/bits/syslog.h: Likewise.
10705 * misc/bits/syslog-ldbl.h: Likewise.
10706 * misc/sys/syslog.h: Likewise.
10707 * socket/bits/socket2.h: Likewise.
10708 * socket/sys/socket.h: Likewise.
10709 * debug/tst-chk1.c: Likewise.
10710 * wcsmbs/bits/wchar2.h: Likewise.
10711 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10712 * wcsmbs/wchar.h: Likewise.
10714 2012-04-29 Andreas Jaeger <aj@suse.de>
10716 * Makerules (tests): Remove enable-check-abi protection.
10717 (check-abi-warn): Remove.
10718 (check-abi-%): Remove check-abi-warn usage.
10720 * configure.in: Remove check-abi configure option.
10721 * configure: Regenerated.
10722 * config.make.in (enable-check-abi): Remove.
10724 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10727 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10728 double functions to double *_finite functions.
10731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10732 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10734 * stdio-common/Makefile (tests): Add tst-sprintf3.
10735 * stdio-common/tst-sprintf3.c: New file.
10737 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10738 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10740 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10742 * conform/conformtest.pl: Remove duplicate typed-constant
10745 2012-04-28 David S. Miller <davem@davemloft.net>
10747 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10748 (check-abi-%): Remove AWK script prerequisite and explicit
10750 (check-abi): Rewrite to just diff the symlist with the abilist.
10751 (config-tls, config-abi-config): Delete, no longer used.
10752 (update-abi-%): Remove AWK script and explicit abilist directory.
10753 (update-abi): Rewrite to simply compare and conditionally copy the
10754 symlist and the sysdep abilist file. Remove update-abi-config
10756 * abilist/ld.abilist: Remove.
10757 * abilist/libBrokenLocale.abilist: Remove.
10758 * abilist/libanl.abilist: Remove.
10759 * abilist/libcrypt.abilist: Remove.
10760 * abilist/libdl.abilist: Remove.
10761 * abilist/librt.abilist: Remove.
10762 * abilist/libthread_db.abilist: Remove.
10763 * abilist/libutil.abilist: Remove.
10764 * scripts/extract-abilist.awk: Remove.
10765 * scripts/merge-abilist.awk: Remove.
10766 * sysdeps/generic/libcidn.abilist: New file.
10767 * sysdeps/generic/libnss_compat.abilist: New file.
10768 * sysdeps/generic/libnss_db.abilist: New file.
10769 * sysdeps/generic/libnss_dns.abilist: New file.
10770 * sysdeps/generic/libnss_files.abilist: New file.
10771 * sysdeps/generic/libnss_hesiod.abilist: New file.
10772 * sysdeps/generic/libnss_nis.abilist: New file.
10773 * sysdeps/generic/libnss_nisplus.abilist: New file.
10774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10780 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10782 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10789 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10790 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10791 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10793 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10796 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10798 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10908 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10909 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10912 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10915 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10916 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10917 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10919 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10920 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10972 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10974 * conform/conformtest.pl: Fix typo in handling typed-constant from
10977 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10979 * README: Cut down references to pre-2.6 Linux kernels and
10980 Linuxthreads. Update lists of configurations in libc and ports
10981 and sort alphabetically. Say "or newer" with Linux kernel version
10984 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10986 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10989 * math/libm-test.inc (logb_test_downward): New test to expose
10990 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10993 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10996 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10998 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10999 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11001 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11003 * sysdeps/unix/i386/brk.S: Remove file.
11004 * sysdeps/unix/i386/dl-brk.S: Likewise.
11005 * sysdeps/unix/i386/pipe.S: Likewise.
11006 * sysdeps/unix/i386/sigreturn.S: Likewise.
11007 * sysdeps/unix/i386/syscall.S: Likewise.
11008 * sysdeps/unix/i386/vfork.S: Likewise.
11009 * sysdeps/unix/i386/wait.S: Likewise.
11011 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11012 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11014 * configure.in (arm*-none*): Do not allow without
11015 --enable-hacker-mode.
11016 (netbsd*): Remove case setting base_os.
11017 (386bsd*): Likewise.
11018 (freebsd*): Likewise.
11021 (sunos*): Likewise.
11022 (ultrix*): Likewise.
11023 (newsos*): Likewise.
11024 (dynix*): Likewise.
11030 (minix*): Likewise.
11031 (irix4*): Likewise.
11032 (irix6*): Likewise.
11033 (solaris[2-9]*): Likewise.
11035 * configure: Regenerated.
11037 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11041 overflow or cancellation in calculating denominator.
11042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11044 down expression to avoid unexpected rounding in newer GCCs.
11045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11047 2012-04-26 David S. Miller <davem@davemloft.net>
11049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11050 long-double compat symbols.
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11065 2012-04-25 David S. Miller <davem@davemloft.net>
11067 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11068 HWCAP_* values only after the memory barriers have been defined.
11069 (atomic_full_barrier): Define.
11070 (atomic_read_barrier): Define.
11071 (atomic_write_barrier): Define.
11073 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11075 * shlib-versions: Add libgcc_s version information.
11076 * sysdeps/generic/libgcc_s.h: Remove.
11077 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11079 * sysdeps/gnu/unwind-resume.c: Likewise.
11080 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11082 2012-04-25 David S. Miller <davem@davemloft.net>
11084 * sysdeps/unix/sparc/brk.S: Delete.
11085 * sysdeps/unix/sparc/dl-brk.S: Delete.
11086 * sysdeps/unix/sparc/pipe.S: Delete.
11087 * sysdeps/unix/sparc/sysdep.S: Delete.
11088 * sysdeps/unix/sparc/sysdep.h: Delete.
11089 * sysdeps/unix/sparc/vfork.S: Delete.
11090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11091 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11093 ret_ERRVAL, r0, r1, MOVE): Define.
11094 (JUMPTARGET): Remove.
11095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11096 sysdeps/unix/sparc/sysdep.h
11097 (ENTRY, END): Remove.
11098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11100 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11102 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11103 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11106 * timezone/README: Update upstream location and email address for
11108 * timezone/zdump.c: Update from tzcode 2012b.
11109 * timezone/zic.c: Likewise.
11111 * configure.in (libc_cv_as_needed): Remove test.
11112 * configure: Regenerated.
11113 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11114 conditional definition.
11115 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11116 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11117 * config.make.in (have-as-needed): Remove variable.
11119 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11120 Paul Pluzhnikov <ppluzhnikov@google.com>
11122 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11125 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11127 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11128 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11129 * sysdeps/sh/strlen.S: Likewise.
11131 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11133 * sysdeps/unix/fork.S: Remove file.
11134 * sysdeps/unix/i386/fork.S: Likewise.
11135 * sysdeps/unix/sparc/fork.S: Likewise.
11137 * sysdeps/unix/system.c: Remove file.
11138 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11140 * sysdeps/unix/getegid.S: Remove file.
11141 * sysdeps/unix/geteuid.S: Likewise.
11143 2012-04-24 Roland McGrath <roland@hack.frob.com>
11145 * scripts/check-localplt.awk: New file.
11146 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11148 * scripts/data/localplt-generic.data: Add a comment.
11150 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11151 NODE when __dir_mkfile failed.
11152 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11153 Reported by Ludovic Courtès <ludo@gnu.org>.
11155 2012-04-24 Andreas Jaeger <aj@suse.de>
11157 * Makerules (common-clean): Also remove gen-as-const-headers
11160 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11162 * Makerules (native-compile): Do not change working directory for
11163 build. Use $(OUTPUT_OPTION) in command.
11164 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11166 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11169 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11170 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11171 * math/libm-test.inc (floor_test): Add more tests.
11172 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11174 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11176 * sysdeps/unix/getdents.c: Remove file.
11177 * sysdeps/unix/sysv/getdents.c: Likewise.
11178 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11180 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11181 sysdeps/unix/mman/syscalls.list.
11183 (mprotect): Likewise.
11185 (munmap): Likewise.
11186 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11187 * sysdeps/unix/mman/syscalls.list: Remove.
11188 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11190 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11191 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11192 * configure: Regenerated.
11193 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11194 $(libgcc_s_suffix).
11195 * config.make.in (libgcc_s_suffix): Remove variable.
11197 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11199 * sysdeps/unix/sysv/gethostname.c: Move to ...
11200 * sysdeps/posix/gethostname.c: ... here.
11202 * sysdeps/unix/execve.S: Remove file.
11204 * sysdeps/unix/_exit.S: Remove file.
11206 2012-04-23 Andreas Jaeger <aj@suse.de>
11209 * manual/Makefile: Remove make dist support, there's no
11210 need for a stand-alone documentation tar ball.
11211 (TEXI2DVI): Define always, it's not in Makeconfig.
11214 (edition): Removed.
11215 (glibc-doc-$(edition).tar): Removed
11219 (ETAGS): Remove, it's in Makeconfig.
11220 (move-if-change): Remove, it's in Makeconfig.
11222 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11225 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11226 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11227 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11228 (strtod_l, strtof_l, strtold_l): Remove __wur.
11229 It is not necessarily an error to ignore strtol's return value.
11230 One can reliably look at the stored endptr to decide whether
11231 the number had valid syntax.
11233 2012-04-21 Andreas Jaeger <aj@suse.de>
11236 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11238 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11241 * sysdeps/unix/sysv/Versions: Remove file.
11243 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11248 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11252 version from __vm86.
11254 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11256 * sysdeps/unix/common/lxstat.c: Remove file.
11257 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11259 * sysdeps/unix/sysv/Makefile: Remove file.
11261 * sysdeps/unix/sysv/direct.h: Remove file.
11263 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11264 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11265 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11266 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11267 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11268 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11269 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11271 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11273 * sysdeps/unix/xmknod.c: Remove file.
11274 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11276 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11278 * sysdeps/unix/sysv/i386/time.S: Remove file.
11280 * sysdeps/unix/fxstat.c: Remove file.
11281 * sysdeps/unix/xstat.c: Likewise.
11282 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11284 * sysdeps/unix/sysv/sigaction.c: Remove file.
11286 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11287 (sysdep_headers): Remove variable.
11288 [termio.h not in sysdep_headers] (generated): Likewise.
11289 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11290 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11291 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11292 * sysdeps/unix/sysv/tcflow.c: Likewise.
11293 * sysdeps/unix/sysv/tcflush.c: Likewise.
11294 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11295 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11296 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11297 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11298 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11300 * sysdeps/unix/siglist.c: Remove file.
11302 * sysdeps/unix/getppid.S: Remove file.
11304 * sysdeps/unix/mkdir.c: Remove file.
11305 * sysdeps/unix/rmdir.c: Likewise.
11307 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11309 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11312 errlist-compat value.
11314 2012-04-18 David S. Miller <davem@davemloft.net>
11316 * sysdeps/generic/memcopy.h (reg_char): Delete.
11317 * debug/strcat_chk.c: Use char, not reg_char.
11318 * debug/strcpy_chk.c: Likewise.
11319 * debug/strncat_chk.c: Likewise.
11320 * debug/strncpy_chk.c: Likewise.
11321 * string/memchr.c: Likewise.
11322 * string/memrchr.c: Likewise.
11323 * string/rawmemchr.c: Likewise.
11324 * string/strcat.c: Likewise.
11325 * string/strchr.c: Likewise.
11326 * string/strchrnul.c: Likewise.
11327 * string/strcmp.c: Likewise.
11328 * string/strcpy.c: Likewise.
11329 * string/strncat.c: Likewise.
11330 * string/strncmp.c: Likewise.
11331 * string/strncpy.c: Likewise.
11333 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11335 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11336 __builtin_memcopy is called when src and dest ranges are known to not
11339 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11342 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11343 fwd_align_merge macro call.
11344 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11345 bwd_align_merge macro call.
11346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11348 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11351 bwd_align_merge macros.
11352 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11353 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11356 2012-04-18 David S. Miller <davem@davemloft.net>
11358 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11360 2012-04-18 Andreas Jaeger <aj@suse.de>
11363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11364 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11368 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11371 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11372 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11373 Adjust for changed ldbl-128 files.
11375 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11376 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11379 2012-04-17 David S. Miller <davem@davemloft.net>
11381 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11383 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11385 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11386 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11387 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11388 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11389 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11390 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11392 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11395 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11396 * math/libm-test.inc: Add ilogb errno and exception tests.
11397 * math/w_ilogb.c: New file: ilogb wrapper.
11398 * math/w_ilogbf.c: New file: ilogbf wrapper.
11399 * math/w_ilogbl.c: New file: ilogbl wrapper.
11400 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11401 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11402 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11403 exception being thrown with 0.0 as argument.
11404 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11405 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11406 exception being thrown with 0.0 as argument.
11407 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11408 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11409 exception being thrown with 0.0 as argument.
11410 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11411 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11412 exception being thrown with 0.0 as argument.
11413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11414 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11416 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11419 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11420 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11421 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11423 2012-04-17 Petr Baudis <pasky@ucw.cz>
11425 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11428 2012-04-16 Marek Polacek <polacek@redhat.com>
11430 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11432 2012-04-16 Marek Polacek <polacek@redhat.com>
11434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11435 operands of fdivp instruction.
11437 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11439 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11440 * elf/tst-auditmod3b.c: Likewise.
11441 * elf/tst-auditmod4b.c: Likewise.
11442 * elf/tst-auditmod5b.c: Likewise.
11443 * elf/tst-auditmod6b.c: Likewise.
11444 * elf/tst-auditmod6c.c: Likewise.
11445 * elf/tst-auditmod7b.c: Likewise.
11446 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11447 * sysdeps/x86_64/preconfigure.in: Likewise.
11448 * sysdeps/x86_64/preconfigure: Regenerated.
11450 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11455 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11458 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11460 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11463 * locale/iso-639.def: Fix gl language name. Spotted by
11466 2012-04-12 Roland McGrath <roland@hack.frob.com>
11469 * libio/libio.h (__io_write_fn): Update comment.
11471 2012-04-12 Petr Baudis <pasky@ucw.cz>
11474 * stdio.texi (Hook Functions): The user provided writer function
11475 is not allowed to return -1.
11477 2012-04-11 David S. Miller <davem@davemloft.net>
11479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11481 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11483 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11484 Add a leading slash to rtkaio.
11486 2012-04-11 Jim Meyering <meyering@redhat.com>
11489 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11490 It is not necessarily an error to ignore fwrite's return
11491 value. One can reliably use ferror to test for errors after
11494 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11496 * bits/types.h (__snseconds_t): New type.
11497 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11499 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11501 (__SNSECONDS_T_TYPE): Likewise.
11502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11503 (__SNSECONDS_T_TYPE): Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11505 (__SNSECONDS_T_TYPE): Likewise.
11507 2012-04-10 Andreas Jaeger <aj@suse.de>
11510 * manual/time.texi (Processor Time): Return type of times is
11511 elapsed real time since an arbitrary point in the past.
11512 (CPU Time): Move CLK_TCK from here...
11513 (Processor Time): ...to here. Correct description.
11514 * manual/conf.texi (Constants for Sysconf): Correct description of
11517 2012-04-10 David S. Miller <davem@davemloft.net>
11520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11521 where the is a gap between DT_REL(A) and DT_JMPREL.
11523 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11525 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11529 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11531 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11532 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11533 (dl_main): Handle --inhibit-cache.
11534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11536 * elf/dl-load.c (_dl_map_object): Use it.
11537 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11539 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11543 (__ieee754_powl): Saturate large exponents rather than testing for
11544 overflow of y*log2(x).
11545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11546 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11550 * math/s_ctan.c: Include <float.h>.
11551 (__ctan): Avoid internal overflow or cancellation in calculating
11553 * math/s_ctanf.c: Likewise.
11554 * math/s_ctanl.c: Likewise.
11555 * math/s_ctanh.c: Likewise.
11556 * math/s_ctanhf.c: Likewise.
11557 * math/s_ctanhl.c: Likewise.
11558 * math/libm-test.inc (ctan_test): Add more tests.
11559 (ctanh_test): Likewise.
11560 * sysdeps/i386/fpu/libm-test-ulps: Update.
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11563 2012-04-09 Andreas Jaeger <aj@suse.de>
11566 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11567 is an optional BSD extension.
11570 * manual/stdio.texi (Opening Streams): Document additional fopen
11573 2012-04-09 Roland McGrath <roland@hack.frob.com>
11575 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11576 %eax without telling the compiler.
11578 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11581 * manual/install.texi: Use sourceware.org.
11583 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11587 (__ieee754_pow): Generate overflow and underflow using huge*huge
11588 and tiny*tiny rather than just returning constant infinity or zero
11589 for large exponents.
11590 * math/libm-test.inc (pow_test): Require overflow exceptions for
11591 applicable cases of large exponents.
11594 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11595 (__ieee754_pow): Use iterative multiplication algorithm only for
11596 integer exponents with absolute value below 1024. Check for odd
11597 integer exponents when using algorithm for real exponents.
11598 * math/libm-test.inc (pow_test): Add more tests.
11599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11601 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11604 * math/libm-test.inc (exp_test): Do not allow overflow exception
11607 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11610 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11611 instead of __kernel_standard_f.
11613 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11615 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11616 * sysdeps/x86_64/memset_chk.S: Likewise.
11618 2012-04-08 Andreas Jaeger <aj@suse.de>
11621 * manual/startup.texi (Environment Access): Describe return value
11622 for putenv and setenv.
11625 * manual/filesys.texi (Directory Entries): Add description for
11629 * manual/filesys.texi (Directory Entries): Clarify that it's file
11630 system not operating system in the description of DT_UNKNOWN.
11633 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11635 2012-04-08 Stephen Compall <s11@member.fsf.org>
11638 * manual/llio.texi (Opening and Closing Files): Add cross
11639 reference to explain mode argument.
11641 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11643 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11644 * sysdeps/x86_64/memset_chk.S: Likewise.
11646 2012-04-07 David S. Miller <davem@davemloft.net>
11648 * elf/elf.h (R_SPARC_WDISP10): Define.
11649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11652 R_SPARC_SIZE64 and R_SPARC_H34.
11654 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11657 conditions and remove no longer applicable assertion.
11659 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11661 * bits/byteswap.h: Include <features.h>.
11662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11665 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11667 * bits/byteswap.h (__bswap_16): Removed.
11668 Include <bits/byteswap-16.h> to get __bswap_16.
11669 * sysdeps/i386/bits/byteswap.h: Likewise.
11670 * sysdeps/s390/bits/byteswap.h: Likewise.
11671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11672 * bits/byteswap-16.h: New file.
11673 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11675 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11676 * string/Makefile (headers): Add bits/byteswap-16.h.
11678 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11681 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11683 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11684 * nss/tst-nss-static.c: New.
11686 2012-04-06 Robert Millan <rmh@gnu.org>
11689 * manual/llio.texi (File Position Primitive): lseek
11690 refers to WHENCE when it really means OFFSET.
11692 2012-04-06 Andreas Jaeger <aj@suse.de>
11694 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11695 strncmp declarations.
11697 * abilist/libc.abilist: Add __poll and __ppoll.
11699 2012-04-05 David S. Miller <davem@davemloft.net>
11701 * scripts/check-local-headers.sh: Accept a host triplet in the
11702 path matched by the exclude regexp.
11704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11706 * sysdeps/powerpc/powerpc32/dl-machine.h
11707 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11708 * sysdeps/s390/s390-32/dl-machine.h
11709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11710 * sysdeps/sparc/sparc32/dl-machine.h
11711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11712 * sysdeps/sparc/sparc64/dl-machine.h
11713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11715 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11718 undefined symbol errors.
11720 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11723 2012-04-05 Michael Matz <matz@suse.de>
11726 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11728 2012-04-05 Andreas Jaeger <aj@suse.de>
11731 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11734 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11737 which ROUND is no valid rounding mode.
11739 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11743 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11745 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11748 an exception using FPU order intentionally.
11750 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11752 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11753 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11754 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11755 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11757 2012-04-05 Simon Josefsson <simon@josefsson.org>
11760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11761 EINVAL when BUFLEN is too smal.
11763 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11766 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11767 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11769 2012-04-03 Andreas Jaeger <aj@suse.de>
11772 * manual/setjmp.texi (System V contexts): Fix sentence.
11775 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11776 New macro for this case.
11777 [!__GNUC__] (__bswap_64): New inline function for this case.
11778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11779 * bits/byteswap.h: Likewise.
11780 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11781 ull, guard with __GLIBC_HAVE_LONG_LONG.
11783 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11784 __GLIBC_HAVE_LONG_LONG.
11786 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11787 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11789 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11793 inptr and inend, rather than using last_ch.
11795 2012-04-02 David S. Miller <davem@davemloft.net>
11797 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11798 * stdio-common/printf-parse.h (read_int): Change return type to
11799 'int', return -1 on INT_MAX overflow.
11800 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11801 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11802 overflows INT_MAX. Check for overflow of in-format-string precision
11803 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11804 SIZE_MAX not INT_MAX for integer overflow test.
11805 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11806 skip the construct in the format string but do not record anything.
11807 * stdio-common/bug22.c: Adjust to test both width/prevision
11808 INT_MAX overflow as well as total length INT_MAX overflow. Check
11809 explicitly for proper errno values.
11811 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11813 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11815 * string/test-strcmp.c [! WIDE]: Likewise.
11816 * time/tst-mktime2.c: Likewise for INT_MAX.
11817 * string/test-string.h: #include <sys/param.h> for MIN.
11819 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11820 * sysdeps/i386/init-first.c (init): Likewise.
11821 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11822 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11823 * sysdeps/sh/init-first.c (init): Likewise.
11825 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11827 * po/ru.po: Update from translation team.
11828 * po/vi.po: Likewise.
11830 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11832 * resolv/nss_dns/dns-host.c: Merge copyright years.
11834 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11837 Optimize memcpy with prefetch if
11838 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11839 src, dst pointers have unequal 16 byte alignments.
11841 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11844 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11845 from a CNAME entry and return the minimum ttl for the query.
11846 (gaih_getanswer_slice): Likewise.
11848 2012-03-30 Jeff Law <law@redhat.com>
11850 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11852 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11853 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11855 * resolv/nss_dns/dns-host.c: Update copyright year.
11857 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11859 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11860 requests to save a system call. Fix check that all bytes are sent.
11862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11863 comments for sendmmsg.
11865 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11869 with only 1 character between 0x0041 and 0x01b0.
11870 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11871 * wcsmbs/tst-mbsnrtowcs.c: New file.
11873 2012-03-29 David S. Miller <davem@davemloft.net>
11875 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11876 small copies by hand.
11878 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11881 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11882 _nss_compat_initgroups_dyn): Fall back to malloc/free
11883 for large group memberships.
11885 2012-03-28 David S. Miller <davem@davemloft.net>
11887 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11888 that branches into memcpy.
11889 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11892 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11895 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11896 implementation too.
11897 * sysdeps/sparc/mempcpy.S: New file.
11899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11900 the IFUNC routine in the libc case.
11901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11905 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11906 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11907 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11908 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11909 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11910 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11912 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11913 loop to 256 bytes instead of 64 bytes and fix test signedness.
11915 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11916 * sysdeps/sparc/sparc32/Makefile: rather than here...
11917 * sysdeps/sparc/sparc64/Makefile: and here.
11919 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11921 * malloc/mallocbug.c: Avoid warnings about unused variables.
11923 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11926 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11927 in the right place. Discard and retry query if response is
11928 larger than input buffer size.
11930 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11936 x for large integer exponent.
11937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11938 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11939 sign of result as needed afterwards.
11940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11942 result for underflowing pow the same as for overflow.
11943 (__kernel_standard_l): Handle powl overflow and underflow here
11944 rather than calling __kernel_standard.
11945 * math/libm-test.inc (pow_test): Add more tests.
11960 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11961 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11962 (__kernel_standard_l): New function.
11963 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11965 * math/w_acosl.c (__acosl): Likewise.
11966 * math/w_asinl.c (__asinl): Likewise.
11967 * math/w_atan2l.c (__atan2l): Likewise.
11968 * math/w_atanhl.c (__atanhl): Likewise.
11969 * math/w_coshl.c (__coshl): Likewise.
11970 * math/w_exp10l.c (__exp10l): Likewise.
11971 * math/w_exp2l.c (__exp2l): Likewise.
11972 * math/w_fmodl.c (__fmodl): Likewise.
11973 * math/w_hypotl.c (__hypotl): Likewise.
11974 * math/w_j0l.c (__j0l, __y0l): Likewise.
11975 * math/w_j1l.c (__j1l, __y1l): Likewise.
11976 * math/w_jnl.c (__jnl, __ynl): Likewise.
11977 * math/w_lgammal.c (__lgammal): Likewise.
11978 * math/w_log10l.c (__log10l): Likewise.
11979 * math/w_log2l.c (__log2l): Likewise.
11980 * math/w_logl.c (__logl): Likewise.
11981 * math/w_powl.c (__powl): Likewise.
11982 * math/w_remainderl.c (__remainderl): Likewise.
11983 * math/w_scalbl.c (sysv_scalbl): Likewise.
11984 * math/w_sinhl.c (__sinhl): Likewise.
11985 * math/w_sqrtl.c (__sqrtl): Likewise.
11986 * math/w_tgammal.c (__tgammal): Likewise.
11987 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11988 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11989 * math/libm-test.inc (acos_test): Add more tests.
11990 (acosh_test): Likewise.
11991 (asin_test): Likewise.
11992 (atanh_test): Likewise.
11993 (exp_test): Likewise.
11994 (exp10_test): Likewise.
11995 (exp2_test): Likewise.
11996 (expm1_test): Likewise.
11997 (lgamma_test): Likewise.
11998 (log_test): Likewise.
11999 (log10_test): Likewise.
12000 (log1p_test): Likewise.
12001 (log2_test): Likewise.
12002 (pow_test): Do not allow some spurious overflow exceptions.
12003 (sqrt_test): Add more tests.
12004 (tgamma_test): Likewise.
12005 (y0_test): Likewise.
12006 (y1_test): Likewise.
12007 (yn_test): Likewise.
12009 2012-03-27 Anton Blanchard <anton@samba.org>
12011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12017 2012-03-27 David S. Miller <davem@davemloft.net>
12019 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12021 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12022 have-as-vis3 check.
12024 2012-03-27 Andreas Jaeger <aj@suse.de>
12026 * sysdeps/x86_64/elf/configure.in: Moved to ...
12027 * sysdeps/x86_64/configure.in: ... here.
12028 * sysdeps/x86_64/elf/start.S: Moved to ...
12029 * sysdeps/x86_64/start.S: ... here.
12030 * sysdeps/x86_64/elf/configure: Delete.
12032 * sysdeps/x86_64/configure.in: Merge contents from
12033 sysdeps/i386/configure.in (without i686 check).
12035 * sysdeps/i386/elf/Versions: Merge into ...
12036 * sysdeps/i386/Versions: ... this.
12037 * sysdeps/i386/elf/Versions: Delete file.
12038 * sysdeps/i386/elf/start.S: Moved to ...
12039 * sysdeps/i386/start.S: ...here.
12040 * sysdeps/i386/elf/configure.in: Merge into...
12041 * sysdeps/i386/configure.in: ...here.
12042 * sysdeps/i386/elf/configure.in: Delete file.
12043 * sysdeps/i386/elf/configure: Delete file.
12045 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12046 * debug/backtracesyms.c: ... here.
12047 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12048 * debug/backtracesymsfd.c: ... here.
12049 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12050 * sysdeps/generic/ifunc-sel.h: ... here.
12052 * sysdeps/unix/i386/start.c: Delete file.
12053 * sysdeps/unix/sparc/start.c: Delete file.
12054 * sysdeps/unix/start.c: Delete file.
12056 * sysdeps/sh/elf/configure.in: Moved to ...
12057 * sysdeps/sh/configure.in: ... here.
12058 * sysdeps/sh/elf/start.S: Moved to ...
12059 * sysdeps/sh/start.S: ... here.
12060 * sysdeps/sh/elf/configure: Delete file.
12062 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12063 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12064 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12065 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12066 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12067 * sysdeps/powerpc/powerpc64/start.S: here.
12068 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12069 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12070 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12071 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12072 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12074 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12075 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12076 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12077 * sysdeps/powerpc/powerpc32/start.S: ... here.
12078 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12079 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12080 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12082 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12083 * sysdeps/powerpc/ifunc-sel.h: ... here.
12084 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12085 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12087 * sysdeps/sparc/elf/configure.in: Moved to ...
12088 * sysdeps/sparc/configure.in: ... here.
12089 * sysdeps/sparc/elf/configure: Delete file.
12090 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12091 * sysdeps/sparc/sparc32/start.S: ... here.
12092 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12093 * sysdeps/sparc/sparc64/start.S: ... here.
12094 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12095 * sysdeps/sparc/sparc32/Makefile: ... this.
12096 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12097 * sysdeps/sparc/sparc64/Makefile: ... this.
12099 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12100 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12101 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12102 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12103 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12104 * sysdeps/s390/s390-32/setjmp.S: ... here.
12105 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12106 * sysdeps/s390/s390-32/configure.in: ... here.
12107 * sysdeps/s390/s390-32/elf/configure: Delete file.
12108 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12109 * sysdeps/s390/s390-32/start.S: ... here.
12111 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12112 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12113 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12114 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12115 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12116 * sysdeps/s390/s390-64/setjmp.S: ... here.
12117 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12118 * sysdeps/s390/s390-64/configure.in: ... here
12119 * sysdeps/s390/s390-64/elf/configure: Delete file.
12120 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12121 * sysdeps/s390/s390-64/start.S: ... here.
12122 * sysdeps/s390/s390-64/elf/configure: Delete.
12124 * configure.in: Remove support for elf directories in sysdeps.
12126 * configure: Regenerated.
12127 * sysdeps/i386/configure: Regenerated.
12128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12130 * sysdeps/s390/s390-32/configure: Regenerated.
12131 * sysdeps/s390/s390-64/configure: Regenerated.
12132 * sysdeps/sh/configure: Regenerated.
12133 * sysdeps/sparc/configure: Regenerated.
12134 * sysdeps/x86_64/configure: Regenerated.
12136 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12141 denormal result into account.
12143 2012-03-25 Roland McGrath <roland@hack.frob.com>
12145 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12146 Reported by Allan McRae <allan@archlinux.org>.
12148 2012-03-23 Jeff Law <law@redhat.com>
12150 * nss/getnssent.c (__nss_getent): Fix typo.
12152 2012-03-23 David S. Miller <davem@davemloft.net>
12154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12156 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12158 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12159 to pad to uint64_t for each field.
12160 (dl_tls_index): Replace unsigned long with uint64_t.
12162 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12163 Paul Pluzhnikov <ppluzhnikov@google.com>
12166 * grp/Makefile (otherlibs): Don't set it.
12167 * inet/Makefile (otherlibs): Likewise.
12168 * login/Makefile (otherlibs): Likewise.
12169 * nscd/Makefile (otherlibs): Likewise.
12170 * posix/Makefile (otherlibs): Likewise.
12171 * pwd/Makefile (otherlibs): Likewise.
12172 * rt/Makefile (otherlibs): Likewise.
12173 * sunrpc/Makefile (otherlibs): Likewise.
12174 * nss/Makefile (otherlibs): Likewise.
12175 Add libnss_files to routines and static-only-routines.
12176 ($(objpfx)getent): Remove rule.
12177 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12178 static-only-routines.
12180 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12183 * math/s_cexp.c: Include <float.h>.
12184 (__cexp): Handle exp result overflowing not necessarily
12185 overflowing both real and imaginary parts of result.
12186 * math/s_cexpf.c: Likewise.
12187 * math/s_cexpl.c: Likewise.
12188 * math/libm-test.inc (cexp_test): Add more tests.
12189 * sysdeps/i386/fpu/libm-test-ulps: Update.
12190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12194 * include/link.h (ELFW): New macro.
12195 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12196 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12198 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12200 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12203 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12207 (struct La_x32_retval): Likewise.
12209 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12211 * sysdeps/x86_64/preconfigure.in: New file.
12212 * sysdeps/x86_64/preconfigure: New generated file.
12214 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12217 * math/e_exp2l.c: Include <float.h>.
12218 (__ieee754_exp2l): Handle overflow and underflow cases
12219 separately. Only pass fractional part of argument to
12221 * math/libm-test.inc (exp2_test): Add more tests.
12223 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12224 negating x to take absolute value.
12225 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12231 computing low part if x was negated.
12232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12234 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12236 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12237 la_x32_gnu_pltexit.
12238 (pltexit): Cast int_retval to ptrdiff_t.
12239 * elf/tst-auditmod3b.c: Likewise.
12240 * elf/tst-auditmod4b.c: Likewise.
12241 * elf/tst-auditmod5b.c: Likewise.
12242 * elf/tst-auditmod6b.c: Likewise.
12243 * elf/tst-auditmod6c.c: Likewise.
12244 * elf/tst-auditmod7b.c: Likewise.
12246 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12247 and x32_gnu_pltexit.
12249 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12250 __ELF_NATIVE_CLASS.
12251 (La_x32_regs): New macro.
12252 (La_x32_retval): Likewise.
12253 (la_x32_gnu_pltenter): New function prototype.
12254 (la_x32_gnu_pltexit): Likewise.
12256 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12263 * configure.in (libc_cv_cc_nofma): Check for option to disable
12264 generation of FMA instructions.
12265 * configure: Regenerate.
12266 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12267 * sysdeps/ieee754/dbl-64/Makefile: New file.
12268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12269 Remove brandred-fma4.
12270 (CFLAGS-brandred-fma4.c): Remove.
12271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12277 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12280 LLONG_MAX != LONG_MAX.
12281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12282 (_fitoa_word): Likewise.
12283 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12284 LLONG_MAX != LONG_MAX.
12285 * stdio-common/_itowa.h: Include <_itoa.h>.
12286 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12287 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12288 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12289 only if not defined.
12290 (_ITOA_WORD_TYPE): Likewise.
12291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12292 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12294 2012-03-21 David S. Miller <davem@davemloft.net>
12296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12298 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12300 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12301 of x86_64 when setting libc_cv_slibdir, libdir and
12303 * sysdeps/unix/sysv/linux/configure: Regenerated.
12305 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12307 * manual/lang.texi (Old Varargs): Remove section.
12308 (How Variadic): Update menu.
12309 (va_start): Do not mention varargs.h.
12311 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12312 Joseph Myers <joseph@codesourcery.com>
12314 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12316 * configure: Regenerated.
12318 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12320 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12321 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12324 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12327 * Makefile (files-for-dist): Remove NOTES.
12328 (NOTES): Remove rule.
12329 * README: Don't refer to NOTES.
12330 * manual/creature.texi: Don't include macros.texi.
12331 * manual/intro.texi (creature.texi): Remove comment referring to
12334 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12335 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12336 * configure: Regenerated.
12337 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12338 LIBC_TRY_CC_OPTION.
12339 (libc_cv_as_i686): Likewise.
12340 (libc_cv_cc_avx): Likewise.
12341 (libc_cv_cc_sse2avx): Likewise.
12342 (libc_cv_cc_fma4): Likewise.
12343 (libc_cv_cc_novzeroupper): Likewise.
12344 * sysdeps/i386/configure: Regenerated.
12347 * sysdeps/i386/fpu/s_cexp.S: Remove.
12348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12350 * math/libm-test.inc (cexp_test): Add more tests.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12354 2012-03-21 Allan McRae <allan@archlinux.org>
12356 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12358 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12361 * math/w_exp2.c: Do not include <float.h>.
12362 (o_threshold, u_threshold): Remove.
12363 (__exp2): Calculate result before checking finiteness and calling
12365 * math/w_exp2f.c: Likewise.
12366 * math/w_exp2l.c: Likewise.
12367 * math/libm-test.inc (exp2_test): Require overflow exception for
12371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12372 range of signed 64-bit integers before using fistpll. Remove
12373 checks for whether integers fit in mantissa bits.
12374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12375 the range of signed 32-bit integers before using fistpl. Remove
12376 checks for whether integers fit in mantissa bits.
12377 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12378 (__ieee754_powl): Test for y outside the range of signed 64-bit
12379 integers before using fistpll. Reduce 64-bit values to 63-bit
12381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12382 divide-by-zero is raised for zero to large negative powers.
12383 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12384 (__ieee754_powl): Test for y outside the range of signed 64-bit
12385 integers before using fistpll. Reduce 64-bit values to 63-bit
12387 * math/libm-test.inc (pow_test): Add more tests.
12389 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12391 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12392 <stdio-common/_itoa.h>.
12393 * debug/segfault.c: Likewise.
12394 * elf/dl-cache.c: Likewise.
12395 * elf/dl-minimal.c: Likewise.
12396 * elf/dl-misc.c: Likewise.
12397 * elf/dl-sysdep.c: Likewise.
12398 * elf/dl-version.c: Likewise.
12399 * elf/rtld.c: Likewise.
12400 * hurd/hurdsock.c: Likewise.
12401 * hurd/lookup-retry.c: Likewise.
12402 * malloc/malloc.c: Likewise.
12403 * malloc/mtrace.c: Likewise.
12404 * nscd/nscd_getgr_r.c: Likewise.
12405 * nscd/nscd_getpw_r.c: Likewise.
12406 * nscd/nscd_getserv_r.c: Likewise.
12407 * posix/getopt_init.c: Likewise.
12408 * posix/wordexp.c: Likewise.
12409 * stdio-common/_itoa.c: Likewise.
12410 * stdio-common/printf_fphex.c: Likewise.
12411 * stdio-common/vfprintf.c: Likewise.
12412 * string/_strerror.c: Likewise.
12413 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12414 * sysdeps/i386/i686/hp-timing.h: Likewise.
12415 * sysdeps/mach/_strerror.c: Likewise.
12416 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12417 * sysdeps/mach/hurd/sethostid.c: Likewise.
12418 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12419 * sysdeps/mach/xpg-strerror.c: Likewise.
12420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12422 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12423 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12425 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12427 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12428 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12429 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12430 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12432 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12434 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12435 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12436 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12437 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12438 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12439 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12442 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12444 * stdio-common/_itoa.h: Moved to ...
12445 * sysdeps/generic/_itoa.h: Here.
12447 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12449 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12450 instead of "_itoa.h" and "_itowa.h".
12451 * stdio-common/vfprintf.: Likewise.
12453 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12457 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12458 (__signbit): Likwise.
12459 (llrintf): Likwise.
12462 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12464 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12467 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12469 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12470 OVERFLOW_EXCEPTION_OK.
12471 * math/libm-test.inc ("Philosophy"): Update comment about
12473 (OVERFLOW_EXCEPTION): Define.
12474 (OVERFLOW_EXCEPTION_OK): Likewise.
12475 (INVALID_EXCEPTION_OK): Renumber.
12476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12477 (IGNORE_ZERO_INF_SIGN): Likewise.
12478 (test_exceptions): Handle FE_OVERFLOW.
12479 (exp10_test): Expect overflow exceptions.
12480 (exp2_test): Likewise.
12481 (expm1_test): Likewise.
12482 (nextafter_test): Likewise.
12483 (pow_test): Likewise.
12484 (scalbn_test): Likewise.
12485 (scalbln_test): Likewise.
12487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12489 * sysdeps/x86_64/bits/atomic.h
12490 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12492 (atomic_exchange_acq): Likewise.
12493 (__arch_exchange_and_add_body): Likewise.
12494 (__arch_add_body): Likewise.
12495 (atomic_add_negative): Likewise.
12496 (atomic_add_zero): Likewise.
12498 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12500 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12501 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12503 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12505 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12506 Check __x86_64__ instead of __WORDSIZE.
12508 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12510 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12512 2012-03-19 David S. Miller <davem@davemloft.net>
12514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12516 * sysdeps/sparc/fpu/fenv_private.h: New file.
12517 * sysdeps/sparc/fpu/math_private.h: Use it.
12518 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12521 (libc_feholdexcept_setroundl): Remove.
12522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12529 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12530 int64_t instead of long int.
12531 (INSERT_WORDS64): Likwise.
12533 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12535 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12536 _Unwind_GetCFA return to _Unwind_Ptr first.
12538 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12541 * math/s_clog.c: Include <float.h>.
12542 (__clog): Scale large or subnormal inputs.
12543 * math/s_clogf.c: Likewise.
12544 * math/s_clogl.c: Likewise.
12545 * math/s_clog10.c: Include <float.h>.
12546 (M_LOG10_2): Define.
12547 (__clog10): Scale large or subnormal inputs.
12548 * math/s_clog10f.c: Likewise.
12549 * math/s_clog10l.c: Likewise.
12550 * math/libm-test.inc (clog_test): Add more tests.
12551 (clog10_test): Likewise.
12552 * sysdeps/i386/fpu/libm-test-ulps: Update.
12553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12558 * math/libm-test.inc (atan2_test): Add another test.
12560 * Makerules (common-objdir-compile): Remove.
12561 * sysdeps/unix/Makefile (config-generated): Do not add
12562 $(unix-generated) to variable.
12563 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12564 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12566 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12568 [generic bits/local_lim.h] (before-compile): Do not append to
12570 [generic bits/local_lim.h] (common-generated): Likewise.
12571 [generic sys/param.h] (before-compile): Do not append to variable.
12572 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12573 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12577 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12578 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12579 [generic sys/param.h] ($(addprefix
12580 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12581 [generic sys/param.h] (common-generated): Do not append to
12583 [generic sys/param.h] (sysdep_headers): Likewise.
12584 [generic bits/errno.h] (before-compile): Do not append to
12586 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12588 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12589 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12590 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12591 [generic bits/errno.h] (common-generated): Do not append to
12593 [generic bits/ioctls.h] (before-compile): Do not append to
12595 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12597 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12598 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12602 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12603 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12604 [generic bits/ioctls.h] (common-generated): Do not append to
12606 [generic sys/syscall.h] (syscall.h): Remove variable.
12607 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12609 [generic sys/syscall.h] (before-compile): Do not append to
12611 [generic sys/syscall.h] (common-generated): Likewise.
12612 * sysdeps/unix/errnos-tmpl.c: Remove file.
12613 * sysdeps/unix/errnos.awk: Likewise.
12614 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12615 * sysdeps/unix/ioctls.awk: Likewise.
12616 * sysdeps/unix/mk-local_lim.c: Likewise.
12617 * sysdeps/unix/snarf-ioctls: Likewise.
12619 2012-03-19 Richard Henderson <rth@twiddle.net>
12621 * sysdeps/i386/fpu/fenv_private.h: New file.
12622 * sysdeps/i386/fpu/math_private.h: Use it.
12623 (math_opt_barrier, math_force_eval): Remove.
12624 (libc_feholdexcept_setround_53bit): Remove.
12625 (libc_feupdateenv_53bit): Remove.
12626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12627 (math_opt_barrier, math_force_eval): Remove.
12628 (libc_feholdexcept): Remove.
12629 (libc_feholdexcept_setround): Remove.
12630 (libc_fetestexcept, libc_fesetenv): Remove.
12631 (libc_feupdateenv_test): Remove.
12632 (libc_feupdateenv, libc_feholdsetround): Remove.
12633 (libc_feresetround): Remove.
12635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12636 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12638 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12639 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12640 (libc_feupdateenv_testl): New.
12641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12642 (libc_feupdateenv_testf): New.
12643 (libc_feupdateenv): Use libc_feupdateenv_test.
12644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12647 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12648 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12649 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12650 (libc_feresetround_noex): New.
12651 (libc_feresetround_noexf): New.
12652 (libc_feresetround_noexl): New.
12653 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12654 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12655 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12661 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12663 SET_RESTORE_ROUND_NOEX.
12664 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12665 SET_RESTORE_ROUND_NOEXF.
12666 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12667 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12668 (libc_feholdsetroundf): New.
12669 (libc_feresetround, libc_feresetroundf): New.
12671 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12672 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12673 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12675 * sysdeps/generic/math_private.h: Include <fenv.h>.
12676 (default_libc_feholdexcept): New.
12677 (default_libc_feholdexcept_setround): New.
12678 (default_libc_fesetenv, default_libc_feupdateenv): New.
12679 (libc_feholdexcept): Only define if undefined.
12680 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12681 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12682 (libc_feholdexcept_setroundl): Likewise.
12683 (libc_feholdexcept_setround_53bit): Likewise.
12684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12685 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12686 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12687 (libc_feupdateenv_53bit): Likewise.
12688 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12689 (libc_feholdexcept): Convert from macro to inline function.
12690 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12691 (libc_fesetenv, libc_feupdateenv): Likewise.
12693 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12694 not previously defined.
12695 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12696 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12697 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12699 * sysdeps/ieee754/flt-32/math_private.h: New file.
12700 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12701 math_private.h below SET_FLOAT_WORD.
12702 (__isnan, __isinf_ns, __finite): Remove.
12703 (__isnanf, __isinf_nsf, __finitef): Remove.
12705 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12709 2012-03-17 David S. Miller <davem@davemloft.net>
12712 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12715 2012-03-16 David S. Miller <davem@davemloft.net>
12717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12723 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12724 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12725 sysdep_routines when subdir is sysvipc.
12726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12727 __getshmlba helper.
12729 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12731 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12733 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12736 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12740 (__lround): Renamed to ...
12741 (__llround): This. Replace long int with long long int.
12742 Define lround functions as aliases of llround functions.
12743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12745 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12748 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12749 adresses to uintptr_t. Replace "long int" and "unsigned long
12750 int" with "greg_t" on va_arg.
12752 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12754 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12755 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12757 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12758 Move e_machine check before EI_CLASS check. Handle x32
12759 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12760 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12761 SKIP_EM_IA_64 and include
12762 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12764 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12765 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12766 (add_system_dir): New macro.
12768 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12771 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12782 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12784 * math/w_j0f.c (j0f): Likewise.
12786 * math/w_j0l.c (__j0l): Likewise.
12788 * math/w_j1.c (j1): Likewise.
12790 * math/w_j1f.c (j1f): Likewise.
12792 * math/w_j1l.c (__j1l): Likewise.
12794 * math/w_jn.c (jn): Likewise.
12796 * math/w_jnf.c (jnf): Likewise.
12798 * math/w_jnl.c (__jnl): Likewise.
12800 * math/libm-test.inc (j0_test): Add more tests.
12801 (j1_test): Likewise.
12802 (jn_test): Likewise. Add trailing semicolon to existing test.
12803 (y0_test): Likewise.
12804 (y1_test): Likewise.
12805 * sysdeps/i386/fpu/libm-test-ulps: Update.
12806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12811 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12812 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12814 (__tanl): Set errno for infinite argument.
12815 * sysdeps/i386/fpu/mptan.c: Remove.
12816 * sysdeps/i386/fpu/s_tan.S: Likewise.
12817 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12818 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12819 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12820 * math/libm-test.inc (tan_test): Add more tests and enable more
12821 tests for double and long double.
12822 * sysdeps/i386/fpu/libm-test-ulps: Update.
12823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12825 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12827 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12828 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12830 2012-03-16 Roland McGrath <roland@hack.frob.com>
12832 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12833 * configure.in: Use it for both main tree and add-ons.
12834 * configure: Regenerated.
12836 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12838 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12840 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12846 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12847 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12852 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12854 != 0 for prec == 2.
12855 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12856 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12857 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12858 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12859 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12860 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12861 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12862 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12863 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12864 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12865 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12866 * math/libm-test.inc (cos_test): Add more tests and enable more
12867 tests for long double.
12868 (sin_test): Likewise.
12869 (sincos_test): Likewise.
12870 * sysdeps/i386/fpu/libm-test-ulps: Update.
12871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12873 2012-03-16 David S. Miller <davem@davemloft.net>
12875 * sysdeps/sparc/fpu/math_private.h: New file.
12877 2012-03-15 David S. Miller <davem@davemloft.net>
12879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12893 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12894 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12896 * sysdeps/sparc/sparc-ifunc.h: New file.
12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12942 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12944 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12948 2012-03-15 Andreas Jaeger <aj@suse.de>
12951 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12952 ieee754/flt-32 implementation for sin, cos and sincos.
12953 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12954 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12955 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12956 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12957 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12958 ieee754/flt-32 implementation for tan.
12960 * math/libm-test.inc (cos_test): Enable some large input tests for
12962 (sin_test): Likewise.
12963 (sincos_test): Likewise.
12964 (tan_test): Add tests for large input.
12966 * sysdeps/i386/fpu/libm-test-ulps: Update.
12968 2012-03-15 Andreas Jaeger <aj@suse.de>
12971 * math/libm-test.inc (cos_test): Add more test cases.
12972 (sin_test): Likewise.
12973 (sincos_test): Likewise.
12975 2012-03-15 Andreas Jaeger <aj@suse.de>
12978 * math/libm-test.inc (cos_test): Add a test case for large input
12980 (sin_test): Likewise.
12981 (sincos_test): Likewise.
12983 2012-03-15 Andreas Jaeger <aj@suse.de>,
12984 Joseph Myers <joseph@codesourcery.com>
12987 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12988 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12989 * sysdeps/i386/fpu/branred.c: Likewise.
12990 * sysdeps/i386/fpu/dosincos.c: Likewise.
12991 * sysdeps/i386/fpu/mpa.c: Likewise.
12992 * sysdeps/i386/fpu/s_cos.S: Likewise.
12993 * sysdeps/i386/fpu/s_sin.S: Likewise.
12994 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12995 * sysdeps/i386/fpu/sincos32.c: Likewise.
12997 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12999 (libc_feupdateenv_53bit): Define.
13000 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13002 (libc_feupdateenv_53bit): Define.
13004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13005 53 bit (without extend i386 double precision).
13007 * math/libm-test.inc (sincos_test): Add tests for large input.
13011 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13013 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13017 2012-03-15 David S. Miller <davem@davemloft.net>
13019 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13020 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13021 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13022 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13047 fmin/fmax sysdep routines.
13048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13050 2012-03-14 David S. Miller <davem@davemloft.net>
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13124 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13129 * sysdeps/sparc/configure.in: New file.
13130 * sysdeps/sparc/configure: Generate.
13131 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13132 * configure: Regenerate.
13133 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13134 * config.make.in (have-as-vis3): New.
13135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13136 available use -Av9d instead of -Av9a.
13137 * sysdeps/sparc/sparc64/Makefile: Likewise.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13153 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13154 fzeros/fnegs to load 0x80000000 into a float register instead of
13156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13158 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13164 ($(inst_includedir)/bits/syscall.h): Remove rule.
13165 ($(objpfx)bits/syscall.d): Include instead of
13166 $(objpfx)syscall-list.d.
13167 (generated): Change syscall-list.h and syscall-list.d to
13168 bits/syscall.h and bits/syscall.d.
13170 2012-03-14 Roland McGrath <roland@hack.frob.com>
13173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13175 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13178 * math/s_csqrt.c: Include <float.h>.
13179 (__csqrt): Scale large or subnormal inputs.
13180 * math/s_csqrtf.c: Likewise.
13181 * math/s_csqrtl.c: Likewise.
13182 * math/libm-test.inc (csqrt_test): Add more tests.
13183 * sysdeps/i386/fpu/libm-test-ulps: Update.
13184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13187 * math/libm-test.inc (hypot_test): Add more tests.
13189 2012-03-13 David S. Miller <davem@davemloft.net>
13192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13193 double-precision for the calculation instead of scaling.
13195 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13198 manipulate bits before adding and subtracting TWO52[sx].
13199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13204 2012-03-13 David S. Miller <davem@davemloft.net>
13206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13209 rtld-global-offsets.h
13210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13218 'err' in the ifdef scope in which it is actually used.
13220 * nss/nss_db/db-init.c: Include string.h
13222 2012-03-12 David S. Miller <davem@davemloft.net>
13224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13225 masking out of the most significant byte of random value used.
13226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13227 Fix coding style in previous change.
13229 * sysdeps/unix/sysv/linux/kernel-features.h
13230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13236 2012-03-11 David S. Miller <davem@davemloft.net>
13238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13241 for 'resultvar' otherwise things get truncated on 64-bit.
13243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13244 Fix masking out of the most significant byte of random value used.
13246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13248 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13252 2012-03-09 David S. Miller <davem@davemloft.net>
13254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13255 variables with appropriate CPP guards.
13256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13257 frame pointer, not the stack pointer. Correct layout comments. Fix test
13258 on resulting framesize and the management of the outregs buffer for pltexit.
13259 Preserve floating point return values across _dl_call_pltexit call.
13260 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13261 framesize and the management of the outregs buffer for pltexit.
13262 Preserve floating point return values across _dl_call_pltexit
13264 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13265 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13266 (print_exit): Fix format string for return register value.
13268 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13270 * sunrpc/Makefile (others): Add rpcgen.
13271 ($(objpfx)rpcgen): Remove special build rule and dependency on
13273 * sunrpc/rpcgen.c: New file.
13275 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13278 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13279 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13280 * sysdeps/i386/crti.S: Likewise.
13281 * sysdeps/i386/crtn.S: Likewise.
13282 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13283 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13284 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13285 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13286 * sysdeps/sh/crti.S: Likewise.
13287 * sysdeps/sh/crtn.S: Likewise.
13288 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13291 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13293 * locale/programs/locfile-kw.gperf: Likewise.
13294 * locale/programs/charmap-kw.h: Regenerated.
13295 * locale/programs/locfile-kw.h: Likewise.
13298 * intl/plural.y: Replace FSF snail mail address with URL.
13299 * intl/plural.c: Regenerated.
13301 2012-03-09 Richard Henderson <rth@twiddle.net>
13303 * include/math_private.h: Remove file.
13304 * math/math_private.h: Move file ...
13305 * sysdeps/generic/math_private.h: ... here.
13307 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13308 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13309 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13311 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13312 and <math_private.h>.
13313 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13314 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13315 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13316 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13317 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13408 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13410 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13413 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13414 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13415 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13416 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13425 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13427 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13430 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13431 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13434 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13435 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13436 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13439 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13440 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13441 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13442 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13443 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13448 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13452 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13454 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13457 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13462 * sysdeps/ieee754/k_standard.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13623 * sysdeps/ieee754/s_lib_version.c: Likewise.
13624 * sysdeps/ieee754/s_matherr.c: Likewise.
13625 * sysdeps/ieee754/s_signgam.c: Likewise.
13626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13629 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13630 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13631 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13632 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13633 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13634 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13635 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13636 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13637 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13640 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13641 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13644 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13648 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13650 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13651 * sunrpc/rpc_main.c: Likewise.
13652 * sunrpc/rpc_svcout.c: Likewise.
13654 2012-03-09 David S. Miller <davem@davemloft.net>
13656 * include/math_private.h: New file.
13658 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13660 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13661 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13662 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13663 from <bits/socket_type.h>.
13664 (enum __socket_type): Don't define here.
13665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13667 bits/socket_type.h.
13670 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13671 checking __USE_GNU.
13673 * Makerules ($(inst_includedir)/%.h): New rule.
13674 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13675 (install-others): Remove variable setting.
13676 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13678 2012-03-08 Richard Henderson <rth@twiddle.net>
13680 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13681 from macro to inline function; merge with the
13682 !__LIBC_INTERNAL_MATH_INLINES version.
13683 (__ieee754_sqrtf): Likewise.
13685 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13686 to inline function.
13687 (__rintf, __floor, __floorf): Likewise.
13689 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13690 macro to inline function.
13691 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13694 not <math/math_private.h>.
13696 2012-03-08 David S. Miller <davem@davemloft.net>
13698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13700 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13702 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13704 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13706 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13707 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13709 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13711 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13712 be defined individually, they must be defined as a block. Define
13713 S for printing a string instead of hidint the different by using a
13714 macro for adding the 'l'.
13715 * stdio-common/tst-fphex-wide.c: Adjust.
13717 2012-03-07 Marek Polacek <polacek@redhat.com>
13719 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13721 2012-03-08 Marek Polacek <polacek@redhat.com>
13724 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13725 * stdio-common/tst-fphex.c: Define a few macros to make the
13726 test reusable. Use them.
13727 * stdio-common/tst-fphex-wide.c: New file.
13729 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13732 * manual/macros.texi (gnusystems): New macro.
13733 (nongnusystems): Likewise.
13734 (gnulinuxhurdsystems): Likewise.
13735 (gnuhurdsystems): Likewise..
13736 (gnulinuxsystems): Likewise.
13737 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13738 variants of the GNU system, not "GNU system".
13739 * manual/conf.texi: Likewise.
13740 * manual/errno.texi: Likewise. Update example of errno macro
13742 * manual/filesys.texi: Likewise.
13743 (getumask): Document as specific to GNU/Hurd.
13744 * manual/install.texi: Likewise. Reword some references to
13746 * manual/intro.texi: Likewise.
13747 * manual/io.texi: Likewise.
13748 (File Name Portability): Detail which constraints are inapplicable
13749 to all GNU systems and which are only inapplicable to GNU/Hurd.
13750 * manual/job.texi: Likewise.
13751 * manual/llio.texi: Likewise.
13752 (O_NOCTTY): Document as present on GNU/Linux.
13753 * manual/maint.texi: Likewise.
13754 * manual/memory.texi: Likewise.
13755 * manual/pattern.texi: Likewise.
13756 * manual/pipe.texi: Likewise.
13757 * manual/process.texi: Likewise.
13758 * manual/resource.texi: Likewise.
13759 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13761 * manual/setjmp.texi: Likewise.
13762 * manual/signal.texi: Likewise.
13763 * manual/startup.texi: Likewise.
13764 * manual/stdio.texi: Likewise.
13765 * manual/terminal.texi: Likewise.
13766 (ONLCR): Document as POSIX.
13767 (OXTABS): Document availability on GNU/Linux as XTABS.
13768 (ONOEOT): Document availability separately from other bits.
13769 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13770 * manual/time.texi: Likewise.
13771 * manual/users.texi: Likewise.
13772 * INSTALL: Regenerated.
13773 * sysdeps/gnu/errlist.c: Regenerated.
13775 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13776 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13777 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13779 * configure: Regenerated.
13781 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13783 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13784 default includes instead of AC_HEADER_CHECK.
13785 * sysdeps/i386/configure: Regenerated.
13788 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13789 * math/s_cacoshf.c (__cacoshf): Likewise.
13790 * math/s_cacoshl.c (__cacoshl): Likewise.
13791 * math/s_casinh.c (__casinh): Set signs of result from argument.
13792 * math/s_casinhf.c (__casinhf): Likewise.
13793 * math/s_casinhl.c (__casinhl): Likewise.
13794 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13795 (casinh_test): Add more tests.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update.
13797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13799 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13801 * po/zh_TW.po: Update from translation team.
13803 * login/Makefile (distribute): Remove variable.
13804 * catgets/Makefile: Likewise.
13805 * mach/Makefile: Likewise.
13806 * malloc/Makefile: Likewise.
13807 * misc/Makefile: Likewise.
13808 * iconv/Makefile: Likewise.
13809 * nscd/Makefile: Likewise.
13810 * hurd/Makefile: Likewise.
13811 * manual/Makefile: Likewise.
13812 * locale/Makefile: Likewise.
13813 * intl/Makefile: Likewise.
13814 * conform/Makefile: Likewise.
13815 * nss/Makefile: Likewise.
13816 * time/Makefile: Likewise.
13817 * soft-fp/Makefile: Likewise.
13818 * dirent/Makefile: Likewise.
13819 * gmon/Makefile: Likewise.
13820 * po/Makefile: Likewise.
13821 * rt/Makefile: Likewise.
13822 * socket/Makefile: Likewise.
13823 * math/Makefile: Likewise.
13824 * signal/Makefile: Likewise.
13825 * debug/Makefile: Likewise.
13826 * elf/Makefile: Likewise.
13827 * timezone/Makefile: Likewise.
13828 * stdlib/Makefile: Likewise.
13829 * iconvdata/Makefile: Likewise.
13830 * sunrpc/Makefile: Likewise.
13831 * io/Makefile: Likewise.
13832 * argp/Makefile: Likewise.
13833 * inet/Makefile: Likewise.
13834 * hesiod/Makefile: Likewise.
13835 * grp/Makefile: Likewise.
13836 * csu/Makefile: Likewise.
13837 * wctype/Makefile: Likewise.
13838 * crypt/Makefile: Likewise.
13839 * libio/Makefile: Likewise.
13840 * string/Makefile: Likewise.
13841 * nis/Makefile: Likewise.
13842 * resolv/Makefile: Likewise.
13843 * stdio-common/Makefile: Likewise.
13844 * wcsmbs/Makefile: Likewise.
13845 * dlfcn/Makefile: Likewise.
13846 * posix/Makefile: Likewise.
13849 * timezone/Makefile: Don't install timezone files, just the programs
13852 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13854 * nss/databases.def: Add missing gshadow entry.
13856 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13858 2012-03-06 Marek Polacek <polacek@redhat.com>
13861 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13862 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13863 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13864 * stdio-common/tst-long-dbl-fphex.c: New file.
13866 2012-03-06 David S. Miller <davem@davemloft.net>
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13869 (set_obp_int): New function.
13870 (get_obp_int): New function.
13871 (__get_clockfreq_via_dev_openprom): Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13873 Avoid unused variable warnings on 'val' and use builtin_expect.
13874 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13876 (INLINE_CLONE_SYSCALL): Likewise.
13878 2012-03-05 David S. Miller <davem@davemloft.net>
13880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13882 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13886 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13887 only for |x| >= 40.
13888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13890 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13893 Replace gettimeofday with __vdso_gettimeofday.
13895 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13896 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13897 __vdso_clock_gettime and __vdso_getcpu.
13899 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13900 time with __vdso_time.
13902 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13904 * manual/lang.texi (size_t): Note types to which size_t may be
13905 equivalent with the GNU C Library, but do not describe when
13906 differences between them are significant.
13908 2012-03-05 Andreas Jaeger <aj@suse.de>
13910 * sysdeps/i386/fpu/libm-test-ulps: Update.
13912 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13915 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13916 (__ieee754_pow): Save and restore rounding mode and use
13917 round-to-nearest for main computations.
13918 * math/libm-test.inc (pow_test_tonearest): New function.
13919 (pow_test_towardzero): Likewise.
13920 (pow_test_downward): Likewise.
13921 (pow_test_upward): Likewise.
13922 (main): Call the new functions.
13923 * sysdeps/i386/fpu/libm-test-ulps: Update.
13924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927 * math/libm-test.inc (cosh_test_tonearest): New function.
13928 (cosh_test_towardzero): Likewise.
13929 (cosh_test_downward): Likewise.
13930 (cosh_test_upward): Likewise.
13931 (sinh_test_tonearest): Likewise.
13932 (sinh_test_towardzero): Likewise.
13933 (sinh_test_downward): Likewise.
13934 (sinh_test_upward): Likewise.
13935 (main): Call the new functions.
13936 * sysdeps/i386/fpu/libm-test-ulps: Update.
13937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939 2012-03-05 Tom de Vries <tom@codesourcery.com>
13941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13942 default stack guard is set in last bytes.
13943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13945 2012-03-05 Kees Cook <keescook@chromium.org>
13947 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13950 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13951 possibly allocate from heap instead of stack.
13952 * stdio-common/bug-vfprintf-nargs.c: New file.
13953 * stdio-common/Makefile (tests): Add nargs overflow test.
13955 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13959 2012-03-03 Marek Polacek <polacek@redhat.com>
13961 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13962 * math/math_private.h: Likewise.
13963 * stdlib/tst-strtod.c: Likewise.
13964 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13965 * sysdeps/x86_64/bits/atomic.h: Likewise.
13967 2012-03-02 David S. Miller <davem@davemloft.net>
13969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13973 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13974 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13975 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13976 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13978 2012-03-02 Roland McGrath <roland@hack.frob.com>
13981 * manual/examples/README: New file, says the example source files
13982 can be used under GPL>=2.
13983 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13984 line containing just "*/".
13985 * manual/examples/add.c: Add copyright header (GPL>=2).
13986 * manual/examples/argp-ex1.c: Likewise.
13987 * manual/examples/argp-ex2.c: Likewise.
13988 * manual/examples/argp-ex3.c: Likewise.
13989 * manual/examples/argp-ex4.c: Likewise.
13990 * manual/examples/atexit.c: Likewise.
13991 * manual/examples/db.c: Likewise.
13992 * manual/examples/dir.c: Likewise.
13993 * manual/examples/dir2.c: Likewise.
13994 * manual/examples/execinfo.c: Likewise.
13995 * manual/examples/filecli.c: Likewise.
13996 * manual/examples/filesrv.c: Likewise.
13997 * manual/examples/fmtmsgexpl.c: Likewise.
13998 * manual/examples/genpass.c: Likewise.
13999 * manual/examples/inetcli.c: Likewise.
14000 * manual/examples/inetsrv.c: Likewise.
14001 * manual/examples/isockad.c: Likewise.
14002 * manual/examples/longopt.c: Likewise.
14003 * manual/examples/memopen.c: Likewise.
14004 * manual/examples/memstrm.c: Likewise.
14005 * manual/examples/mkfsock.c: Likewise.
14006 * manual/examples/mkisock.c: Likewise.
14007 * manual/examples/mygetpass.c: Likewise.
14008 * manual/examples/pipe.c: Likewise.
14009 * manual/examples/popen.c: Likewise.
14010 * manual/examples/rprintf.c: Likewise.
14011 * manual/examples/search.c: Likewise.
14012 * manual/examples/select.c: Likewise.
14013 * manual/examples/setjmp.c: Likewise.
14014 * manual/examples/sigh1.c: Likewise.
14015 * manual/examples/sigusr.c: Likewise.
14016 * manual/examples/stpcpy.c: Likewise.
14017 * manual/examples/strdupa.c: Likewise.
14018 * manual/examples/strftim.c: Likewise.
14019 * manual/examples/strncat.c: Likewise.
14020 * manual/examples/subopt.c: Likewise.
14021 * manual/examples/swapcontext.c: Likewise.
14022 * manual/examples/termios.c: Likewise.
14023 * manual/examples/testopt.c: Likewise.
14024 * manual/examples/testpass.c: Likewise.
14025 * manual/examples/timeval_subtract.c: Likewise.
14028 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14030 * manual/timeval_subtract.c.texi: ... here, new file.
14032 2012-03-02 David S. Miller <davem@davemloft.net>
14034 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14036 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14040 (__sin): Save and restore rounding mode and use round-to-nearest
14041 for all computations.
14042 (__cos): Save and restore rounding mode and use round-to-nearest
14043 for all computations.
14044 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14046 (tan): Save and restore rounding mode and use round-to-nearest for
14048 * math/libm-test.inc (cos_test_tonearest): New function.
14049 (cos_test_towardzero): Likewise.
14050 (cos_test_downward): Likewise.
14051 (cos_test_upward): Likewise.
14052 (sin_test_tonearest): Likewise.
14053 (sin_test_towardzero): Likewise.
14054 (sin_test_downward): Likewise.
14055 (sin_test_upward): Likewise.
14056 (tan_test_tonearest): Likewise.
14057 (tan_test_towardzero): Likewise.
14058 (tan_test_downward): Likewise.
14059 (tan_test_upward): Likewise.
14060 (main): Call the new functions.
14061 * sysdeps/i386/fpu/libm-test-ulps: Update.
14062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14065 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14066 small n, then large n, before computing and testing k+n.
14067 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14072 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14073 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14080 * math/libm-test.inc (scalbn_test): Add more tests.
14081 (scalbln_test): Likewise.
14083 * manual/filesys.texi (mode_t): Describe constraints on size and
14084 signedness, not exact equivalence to a particular type.
14086 (ino64_t): Likewise.
14088 (nlink_t): Likewise.
14089 (blkcnt_t): Likewise.
14090 (blkcnt64_t): Likewise.
14091 * manual/llio.texi (off_t): Likewise.
14094 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14095 (__ieee754_exp): Save and restore rounding mode and use
14096 round-to-nearest for all computations.
14097 * math/libm-test.inc (exp_test_tonearest): New function.
14098 (exp_test_towardzero): Likewise.
14099 (exp_test_downward): Likewise.
14100 (exp_test_upward): Likewise.
14101 (main): Call the new functions.
14102 * sysdeps/i386/fpu/libm-test-ulps: Update.
14103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14105 2012-03-01 Chris Demetriou <cgd@google.com>
14107 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14108 have predictable order.
14110 2012-03-01 David S. Miller <davem@davemloft.net>
14112 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14114 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14115 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14116 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14117 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14119 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14120 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14121 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14123 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14124 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14125 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14126 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14127 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14132 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14133 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14135 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14136 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14137 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14138 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14139 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14141 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14142 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14143 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14144 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14145 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14151 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14152 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14153 * sysdeps/sparc/elf/configure: Regenerated.
14155 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14157 * configure.in (AS, LD): Require binutils 2.20 or later.
14158 * configure: Regenerated.
14159 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14160 as required minimum version.
14161 * INSTALL: Regenerated.
14165 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14166 before squaring exponent.
14167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14168 bottom long double and 27 bits of top long double before squaring
14170 * math/libm-test.inc (erfc_test): Add more tests.
14171 * sysdeps/i386/fpu/libm-test-ulps: Update.
14172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14175 2012-03-01 Kai Tietz <ktietz@redhat.com>
14177 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14178 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14179 containing bit-fields.
14180 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14181 * soft-fp/single.h (_FP_UNION_S): Likewise.
14182 * soft-fp/double.h (_FP_UNION_D): Likewise.
14184 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14187 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14188 not include ../strcmp.S.
14189 [USE_AS_STRNCASECMP_L]: Likewise.
14190 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14191 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14192 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14193 (__strncasecmp_l_ia32): Define as alias to
14194 __strncasecmp_l_nonascii.
14197 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14198 * sysdeps/i386/fpu/libm-test-ulps: Update.
14199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14201 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14204 2012-02-29 Jeff Law <law@redhat.com>
14206 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14207 out of bounds read.
14209 2012-02-29 Marek Polacek <polacek@redhat.com>
14212 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14213 * elf/Makefile: Add rules to run tst-unused-dep.out.
14215 2012-02-28 David S. Miller <davem@davemloft.net>
14217 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14218 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14221 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14222 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14224 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14226 * math/libm-test.inc (llround_test): Move one test from
14227 lround_test. Use TEST_f_L in moved test.
14228 (lround_test): Move misplaced test to llround_test. Add testcase
14231 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14233 * sysdeps/x86_64/fpu/e_expf.S: New file.
14234 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14236 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14239 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14240 of remain_len that may cause incomplete multi-byte character and
14242 * posix/bug-regex33.c: New file.
14243 * posix/Makefile (tests): Add bug-regex33.
14245 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14247 * manual/macros.texi: New file.
14248 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14249 * manual/libc.texinfo: Include macros.texi.
14250 * manual/creatute.texi: Likewise.
14251 * manual/install.texi: Likewise.
14252 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14253 @glibcadj{} in references to the GNU C Library.
14254 * manual/charset.texi: Likewise.
14255 * manual/conf.texi: Likewise.
14256 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14257 when not using those macros.
14258 * manual/creature.texi: Likewise.
14259 * manual/crypt.texi: Likewise.
14260 * manual/errno.texi: Likewise.
14261 * manual/filesys.texi: Likewise.
14262 * manual/header.texi: Likewise.
14263 * manual/install.texi: Likewise.
14264 * manual/intro.texi: Likewise.
14265 * manual/io.texi: Likewise.
14266 * manual/job.texi: Likewise.
14267 * manual/lang.texi: Likewise.
14268 * manual/libc.texiinfo: Likewise.
14269 * manual/llio.texi: Likewise.
14270 * manual/locale.texi: Likewise.
14271 * manual/maint.texi: Likewise.
14272 * manual/math.texi: Likewise.
14273 * manual/memory.texi: Likewise.
14274 * manual/message.texi: Likewise.
14275 * manual/nss.texi: Likewise.
14276 * manual/pattern.texi: Likewise.
14277 * manual/process.texi: Likewise.
14278 * manual/resource.texi: Likewise.
14279 * manual/search.texi: Likewise.
14280 * manual/setjmp.texi: Likewise.
14281 * manual/signal.texi: Likewise.
14282 * manual/socket.texi: Likewise.
14283 * manual/startup.texi: Likewise.
14284 * manual/stdio.texi: Likewise.
14285 * manual/string.texi: Likewise.
14286 * manual/sysinfo.texi: Likewise.
14287 * manual/syslog.texi: Likewise.
14288 * manual/terminal.texi: Likewise.
14289 * manual/time.texi: Likewise.
14290 * manual/users.texi: Likewise.
14291 * INSTALL: Regenerated.
14292 * NOTES: Regenerated.
14293 * sysdeps/gnu/errlist.c: Regenerated.
14295 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14297 * include/dirent.h: Include <dirstream.h> before
14300 2012-02-28 David S. Miller <davem@davemloft.net>
14302 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14303 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14304 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14305 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14307 2012-02-27 David S. Miller <davem@davemloft.net>
14309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14312 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14315 frame pointer instead of stack pointer relative arg slot.
14316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14320 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14323 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14325 2012-02-27 David S. Miller <davem@davemloft.net>
14327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14333 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14334 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14336 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14338 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14339 later. Allow versions 5-9.
14340 * configure: Regenerated.
14341 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14342 required minimum version and 4.6 as recommended version. Do not
14343 mention bugs in GCC 2.7 and 2.8.
14344 * INSTALL: Regenerated.
14346 2012-02-27 David S. Miller <davem@davemloft.net>
14348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14352 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14353 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14354 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14355 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14358 manipulate bits before adding and subtracting TWO112[sx].
14359 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14361 2012-02-27 Roland McGrath <roland@hack.frob.com>
14364 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14365 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14366 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14367 being in POSIX, because they are in 1003.1-2008.
14369 * rt/tst-aio.c: Include <fcntl.h>.
14370 * rt/tst-aio7.c: Likewise.
14371 * rt/tst-aio64.c: Likewise.
14373 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14375 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14377 * manual/install.texi (--with-headers): Describe headers as
14378 interface headers, not private headers.
14379 (Specific advice for GNU/Linux systems): Describe use of headers
14380 from "make headers_install", not private headers from older
14382 * INSTALL: Regenerated.
14383 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14385 * sysdeps/unix/sysv/linux/configure: Regenerated.
14387 * manual/llio.texi (fclean): Remove documentation.
14389 * manual/Makefile (libc-texi-generated): New variable. Include
14391 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14392 $(libc-texi-generated), not duplicated list of files.
14393 (version.texi, stamp-version): New rules.
14394 (realclean): Remove $(libc-texi-generated), not individual files
14395 from that list. Do not remove dir-add.texinfo.
14396 * manual/libc.texinfo: Comment out uses of edition numbers and
14397 references to printed manual. Remove last-updated dates.
14398 (EDITION): Comment out.
14400 (VERSION, UPDATED): Remove.
14401 (version.texi): Include.
14403 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14405 * sysdeps/posix/spawni.c: Include <signal.h>.
14406 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14407 * sysdeps/pthread/aio_fsync.c: Likewise.
14409 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14411 * conform/Makefile (tests): Run only when not cross-compiling and
14412 when fast-check is not defined.
14414 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14415 * conform/data/limits.h-data: Fixes for POSIX2008.
14416 * conform/run-conformtest.sh: Run all tests.
14417 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14419 * include/bits/dlfcn.h: Likewise.
14420 * include/langinfo.h: Likewise.
14421 * include/monetary.h: Likewise.
14422 * include/sys/poll.h: Likewise.
14424 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14426 * posix/spawn.h: Define __need_sigset_t.
14427 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14428 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14429 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14430 to get sigevent_t only.
14431 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14432 only for __USE_GNU.
14433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14434 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14435 process_vm_writev only for __USE_GNU.
14436 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14438 * conform/Makefile: For now ignore errors from run-conformtest.
14439 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14440 POSIX to avoid namespace pollution. Don't prepend headers.
14441 * conform/data/aio.h-data: Fixes for POSIX testing.
14442 * conform/data/fcntl.h-data: Likewise.
14443 * conform/data/glob.h-data: Likewise.
14444 * conform/data/grp.h-data: Likewise.
14445 * conform/data/pthread.h-data: Likewise.
14446 * conform/data/pwd.h-data: Likewise.
14447 * conform/data/signal.h-data: Likewise.
14448 * conform/data/spawn.h-data: Likewise.
14449 * conform/data/stdio.h-data: Likewise.
14450 * conform/data/stdlib.h-data: Likewise.
14451 * conform/data/stropts.h-data: Likewise.
14452 * conform/data/sys/mman.h-data: Likewise.
14453 * conform/data/sys/stat.h-data: Likewise.
14454 * conform/data/sys/types.h-data: Likewise.
14455 * conform/data/sys/wait.h-data: Likewise.
14456 * conform/data/time.h-data: Likewise.
14457 * conform/data/unistd.h-data: Likewise.
14458 * conform/data/utime.h-data: Likewise.
14460 * io/sys/stat.h: fchmod was always in POSIX.
14461 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14462 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14463 * rt/aio.h: Define __need_timespec before including <time.h>.
14464 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14465 struct. Add forward declaration of pthread_attr_t and use it in
14467 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14469 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14470 always remove CLK_TCK definition.
14472 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14474 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14476 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14478 * conform/run-conformtest.sh: New file.
14479 * conform/Makefile: Run run-conformtest for tests.
14480 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14483 * conform/data/uchar.h-data: New file.
14484 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14485 * conform/data/arpa/inet.h-data: Likewise.
14486 * conform/data/assert.h-data: Likewise.
14487 * conform/data/complex.h-data: Likewise.
14488 * conform/data/cpio.h-data: Likewise.
14489 * conform/data/ctype.h-data: Likewise.
14490 * conform/data/dirent.h-data: Likewise.
14491 * conform/data/dlfcn.h-data: Likewise.
14492 * conform/data/errno.h-data: Likewise.
14493 * conform/data/fcntl.h-data: Likewise.
14494 * conform/data/float.h-data: Likewise.
14495 * conform/data/fmtmsg.h-data: Likewise.
14496 * conform/data/fnmatch.h-data: Likewise.
14497 * conform/data/ftw.h-data: Likewise.
14498 * conform/data/glob.h-data: Likewise.
14499 * conform/data/grp.h-data: Likewise.
14500 * conform/data/iconv.h-data: Likewise.
14501 * conform/data/inttypes.h-data: Likewise.
14502 * conform/data/langinfo.h-data: Likewise.
14503 * conform/data/libgen.h-data: Likewise.
14504 * conform/data/limits.h-data: Likewise.
14505 * conform/data/locale.h-data: Likewise.
14506 * conform/data/math.h-data: Likewise.
14507 * conform/data/monetary.h-data: Likewise.
14508 * conform/data/mqueue.h-data: Likewise.
14509 * conform/data/ndbm.h-data: Likewise.
14510 * conform/data/net/if.h-data: Likewise.
14511 * conform/data/netdb.h-data: Likewise.
14512 * conform/data/netinet/in.h-data: Likewise.
14513 * conform/data/nl_types.h-data: Likewise.
14514 * conform/data/poll.h-data: Likewise.
14515 * conform/data/pthread.h-data: Likewise.
14516 * conform/data/pwd.h-data: Likewise.
14517 * conform/data/regex.h-data: Likewise.
14518 * conform/data/sched.h-data: Likewise.
14519 * conform/data/search.h-data: Likewise.
14520 * conform/data/semaphore.h-data: Likewise.
14521 * conform/data/setjmp.h-data: Likewise.
14522 * conform/data/signal.h-data: Likewise.
14523 * conform/data/spawn.h-data: Likewise.
14524 * conform/data/stdarg.h-data: Likewise.
14525 * conform/data/stdio.h-data: Likewise.
14526 * conform/data/stdlib.h-data: Likewise.
14527 * conform/data/string.h-data: Likewise.
14528 * conform/data/strings.h-data: Likewise.
14529 * conform/data/stropts.h-data: Likewise.
14530 * conform/data/sys/ipc.h-data: Likewise.
14531 * conform/data/sys/mman.h-data: Likewise.
14532 * conform/data/sys/msg.h-data: Likewise.
14533 * conform/data/sys/resource.h-data: Likewise.
14534 * conform/data/sys/select.h-data: Likewise.
14535 * conform/data/sys/sem.h-data: Likewise.
14536 * conform/data/sys/shm.h-data: Likewise.
14537 * conform/data/sys/socket.h-data: Likewise.
14538 * conform/data/sys/stat.h-data: Likewise.
14539 * conform/data/sys/statvfs.h-data: Likewise.
14540 * conform/data/sys/time.h-data: Likewise.
14541 * conform/data/sys/timeb.h-data: Likewise.
14542 * conform/data/sys/times.h-data: Likewise.
14543 * conform/data/sys/types.h-data: Likewise.
14544 * conform/data/sys/uio.h-data: Likewise.
14545 * conform/data/sys/un.h-data: Likewise.
14546 * conform/data/sys/utsname.h-data: Likewise.
14547 * conform/data/sys/wait.h-data: Likewise.
14548 * conform/data/syslog.h-data: Likewise.
14549 * conform/data/tar.h-data: Likewise.
14550 * conform/data/termios.h-data: Likewise.
14551 * conform/data/utime.h-data: Likewise.
14552 * conform/data/utmpx.h-data: Likewise.
14553 * conform/data/varargs.h-data: Likewise.
14554 * conform/data/wchar.h-data: Likewise.
14555 * conform/data/wctype.h-data: Likewise.
14556 * conform/data/wordexp.h-data: Likewise.
14558 * include/stropts.h: New file.
14559 * include/uchar.h: New file.
14560 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14561 * include/assert.h: Likewise.
14562 * include/ctype.h: Likewise.
14563 * include/dirent.h: Likewise.
14564 * include/dlfcn.h: Likewise.
14565 * include/fcntl.h: Likewise.
14566 * include/fnmatch.h: Likewise.
14567 * include/glob.h: Likewise.
14568 * include/grp.h: Likewise.
14569 * include/libio.h: Likewise.
14570 * include/locale.h: Likewise.
14571 * include/math.h: Likewise.
14572 * include/net/if.h: Likewise.
14573 * include/netdb.h: Likewise.
14574 * include/netinet/in.h: Likewise.
14575 * include/pthread.h: Likewise.
14576 * include/pwd.h: Likewise.
14577 * include/regex.h: Likewise.
14578 * include/sched.h: Likewise.
14579 * include/search.h: Likewise.
14580 * include/setjmp.h: Likewise.
14581 * include/signal.h: Likewise.
14582 * include/stdio.h: Likewise.
14583 * include/stdlib.h: Likewise.
14584 * include/string.h: Likewise.
14585 * include/sys/cdefs.h: Likewise.
14586 * include/sys/mman.h: Likewise.
14587 * include/sys/msg.h: Likewise.
14588 * include/sys/resource.h: Likewise.
14589 * include/sys/select.h: Likewise.
14590 * include/sys/socket.h: Likewise.
14591 * include/sys/stat.h: Likewise.
14592 * include/sys/statvfs.h: Likewise.
14593 * include/sys/time.h: Likewise.
14594 * include/sys/times.h: Likewise.
14595 * include/sys/uio.h: Likewise.
14596 * include/sys/utsname.h: Likewise.
14597 * include/sys/wait.h: Likewise.
14598 * include/termios.h: Likewise.
14599 * include/time.h: Likewise.
14600 * include/ulimit.h: Likewise.
14601 * include/unistd.h: Likewise.
14602 * include/utime.h: Likewise.
14603 * include/wchar.h: Likewise.
14604 * include/wctype.h: Likewise.
14605 * include/wordexp.h: Likewise.
14607 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14609 * time/time.h: TIME_UTC must be a macro.
14610 Make timespec_get available for ISO C11 only as well.
14612 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14614 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14615 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14617 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14619 * configure.in: Use -o not -a in test for unsupported multi-arch.
14621 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14623 * manual/texinfo.tex: Update to version 2012-01-19.16.
14625 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14627 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14629 2012-02-24 Roland McGrath <roland@hack.frob.com>
14632 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14633 * manual/fdl-1.3.texi: New file.
14634 * manual/fdl-1.1.texi: File removed.
14637 * manual/libc.texinfo (FDL_VERSION): New @set.
14638 Use it for mention of FDL in cover text.
14639 (Documentation License): Use it in @include file name.
14641 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14642 Roland McGrath <roland@hack.frob.com>
14645 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14646 not LONG_LONG_MAX and LONG_LONG_MIN.
14647 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14648 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14650 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14652 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14656 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14657 manipulate bits before adding and subtracting TWO23[sx].
14658 * math/libm-test.inc (nearbyint_test): Add more tests.
14660 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14663 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14664 bits before adding and subtracting TWO23[sx].
14665 * math/libm-test.inc (rint_test): Add more tests.
14666 (rint_test_tonearest): Likewise.
14667 (rint_test_towardzero): Likewise.
14668 (rint_test_downward): Likewise.
14669 (rint_test_upward: Likewise.
14671 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14674 * include/stdc-predef.h: New file. Extracted from features.h.
14675 * include/features.h: Include stdc-predef.h.
14676 * Makefile (headers): Add stdc-predef.h.
14677 * CONFORMANCE (Compiler limitations): Update.
14679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14681 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14683 2012-02-21 David S. Miller <davem@davemloft.net>
14685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14688 2012-02-20 David S. Miller <davem@davemloft.net>
14690 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14691 using a normal save/restore sequence, rather than allocating a
14692 dummy stack frame just to store a frame pointer and restore.
14693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14695 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14697 * manual/install.texi: Fix stray word in line-wrapped comment.
14699 2012-02-20 David S. Miller <davem@davemloft.net>
14701 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14702 both binutils and gcc support GOTDATA.
14704 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14705 "rd %pc" in the PIC register setup sequences.
14707 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14708 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14709 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14710 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14711 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14716 (SYSCALL_ERROR_HANDLER): Likewise.
14717 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14720 (SYSCALL_ERROR_HANDLER): Likewise.
14722 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14723 (HAVE_GCC_GOTDATA): New.
14724 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14725 relocation support in both binutils and gcc.
14726 * sysdeps/sparc/elf/configure: Regenerate.
14728 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14729 * sysdeps/sparc/sparc32/elf/configure: Delete.
14730 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14731 * sysdeps/sparc/sparc64/elf/configure: Delete.
14732 * sysdeps/sparc/elf/configure.in: New file.
14733 * sysdeps/sparc/elf/configure: Generate.
14735 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14736 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14737 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14738 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14739 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14741 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14743 * manual/install.texi: Do not mention specific glibc version
14745 * manual/libc.texinfo (VERSION, UPDATED): Update.
14746 (@copying): Use @copyright{} and range of years.
14748 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14751 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14752 [crti.S not in sysdirs] (generated): Do not append.
14753 [crti.S not in sysdirs] (omit-deps): Likewise.
14754 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14755 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14756 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14757 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14758 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14760 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14761 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14762 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14763 * csu/defs.awk: Remove file.
14764 * sysdeps/generic/initfini.c: Likewise.
14765 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14767 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14770 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14772 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14773 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14774 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14776 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14777 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14779 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14780 (__EPOLL_PACKED): Define to empty if not defined by
14782 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14786 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14788 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14789 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14793 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14797 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14799 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14802 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14806 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14809 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14811 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14813 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14814 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14816 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14818 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14821 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14823 * math/w_acos.c: Use non-signaling floating-point comparisons.
14824 * math/w_acosf.c: Likewise.
14825 * math/w_acosh.c: Likewise.
14826 * math/w_acoshf.c: Likewise.
14827 * math/w_acoshl.c: Likewise.
14828 * math/w_acosl.c: Likewise.
14829 * math/w_asin.c: Likewise.
14830 * math/w_asinf.c: Likewise.
14831 * math/w_asinl.c: Likewise.
14832 * math/w_atanh.c: Likewise.
14833 * math/w_atanhf.c: Likewise.
14834 * math/w_atanhl.c: Likewise.
14835 * math/w_exp2.c: Likewise.
14836 * math/w_exp2f.c: Likewise.
14837 * math/w_exp2l.c: Likewise.
14838 * math/w_j0.c: Likewise.
14839 * math/w_j0f.c: Likewise.
14840 * math/w_j0l.c: Likewise.
14841 * math/w_j1.c: Likewise.
14842 * math/w_j1f.c: Likewise.
14843 * math/w_j1l.c: Likewise.
14844 * math/w_jn.c: Likewise.
14845 * math/w_jnf.c: Likewise.
14846 * math/w_log.c: Likewise.
14847 * math/w_log10.c: Likewise.
14848 * math/w_log10f.c: Likewise.
14849 * math/w_log10l.c: Likewise.
14850 * math/w_log2.c: Likewise.
14851 * math/w_log2f.c: Likewise.
14852 * math/w_log2l.c: Likewise.
14853 * math/w_logf.c: Likewise.
14854 * math/w_logl.c: Likewise.
14855 * math/w_sqrt.c: Likewise.
14856 * math/w_sqrtf.c: Likewise.
14857 * math/w_sqrtl.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14864 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14867 * manual/string.texi (strnlen): Use correct parameter name in
14868 equivalent expression.
14870 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14873 * manual/users.texi (seteuid): Consistently use neweuid for
14876 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14879 * manual/nss.texi (Services in the NSS configuration): Correct
14880 list of services in example configuration file.
14882 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14885 * manual/arith.texi: Remove statements about negative zero
14886 behaving identically to zero.
14888 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14891 * manual/install.texi: Do not document upgrading from libc5.
14893 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14896 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14898 2012-02-18 David S. Miller <davem@davemloft.net>
14900 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14901 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14902 %o7 across the call.
14903 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14906 SETUP_PIC_REG_LEAF.
14907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14908 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14909 * sysdeps/sparc/crtn.S: Likewise.
14911 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14913 * aout/Makefile: Remove.
14915 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14918 * manual/examples/argp-ex1.c (main): Format definition in GNU
14920 * manual/examples/argp-ex2.c (main): Likewise.
14921 * manual/examples/argp-ex3.c (main): Likewise.
14922 * manual/examples/argp-ex4.c (main): Likewise.
14923 * manual/examples/longopt.c (main): Use new-style prototype
14925 * manual/examples/strncat.c (main): Specify return type and use
14926 (void) for arguments.
14927 * manual/examples/subopt.c (main): Use char **argv argument.
14929 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14932 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14935 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14938 * manual/string.texi (strchr): Change when strchrnul is
14941 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14944 * manual/locale.texi (setlocale): Document LOCPATH.
14946 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14949 * manual/process.texi (execle): Move @dots{} before last argument.
14951 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14954 * manual/charset.texi (Generic Charset Conversion): Fix typo
14955 (LC_TYPE -> LC_CTYPE).
14957 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14960 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14961 (scalbnf): Likewise.
14962 (scalbnl): Likewise.
14963 (scalbln): Likewise.
14964 (scalblnf): Likewise.
14965 (scalblnl): Likewise.
14966 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14967 (vwarnx): Likewise.
14970 * manual/filesys.texi (telldir): Use braces around return type.
14971 * manual/llio.texi (mmap): Add space after comma.
14972 (mmap64): Likewise.
14973 * manual/math.texi (jn): Use @var{} on parameter names.
14979 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14981 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14983 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14984 (sched_get_priority_max): Likewise.
14985 * manual/signal.texi (sigvec): Add space after comma.
14986 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14988 (if_indextoname): Likewise.
14989 (if_freenameindex): Likewise.
14990 (sendto): Use ',' instead of '.' in prototype.
14991 * manual/startup.texi (syscall): Use @dots{} instead of literal
14993 * manual/stdio.texi (__fpending): Separate initial words of
14994 paragraph from @deftypefun line.
14995 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14997 (vsyslog): Use @var{} on parameter names.
14998 * manual/terminal.texi (stty): Use @var{} on parameter names.
14999 * manual/users.texi (getutmp): Use @var{} on parameter names.
15000 (getutmpx): Likewise.
15002 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15005 * manual/stdio.texi (fopen): Fix typos in description of
15008 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15011 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15012 get clock_id definition.
15014 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15017 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15018 (madvise): Cast every argument to void on its own.
15020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15023 * manual/startup.texi (Exit Status): Fix typo.
15025 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15028 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15029 * manual/examples/argp-ex2.c: Likewise.
15030 * manual/examples/argp-ex3.c: Likewise.
15032 2012-02-16 Richard Henderson <rth@redhat.com>
15034 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15035 * sysdeps/s390/s390-32/initfini.c: Remove.
15036 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15037 * sysdeps/s390/s390-64/initfini.c: Remove.
15039 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15041 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15042 compiler output for sysdeps/generic/initfini.c.
15043 * sysdeps/sh/elf/initfini.c: Remove file.
15045 2012-02-16 David S. Miller <davem@davemloft.net>
15048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15050 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15051 * sysdeps/sparc/crti.S: New file.
15052 * sysdeps/sparc/crtn.S: New file.
15053 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15054 * sysdeps/sparc/sparc64/Makefile: Likewise.
15056 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15059 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15061 2012-02-15 Roland McGrath <roland@hack.frob.com>
15064 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15066 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15067 (write, read, close): Likewise.
15068 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15070 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15072 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15073 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15074 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15075 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15077 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15081 2012-02-14 Marek Polacek <polacek@redhat.com>
15083 * sysdeps/x86_64/crti.S: New file.
15084 * sysdeps/x86_64/crtn.S: New file.
15085 * sysdeps/x86_64/elf/initfini.c: Remove file.
15087 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15089 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15090 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15091 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15092 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15094 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15098 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15101 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15103 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15105 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15109 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15111 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15112 __feraiseexcept instead of feraiseexcept.
15114 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15115 nanosleep invocations.
15116 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15117 strings, and add error checking for a nanosleep invocations.
15119 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15121 Replace FSF snail mail address with URLs, as per GNU coding standards.
15122 Most of the snail mail addresses were wrong anyway, and omitting
15123 them makes the source code easier to maintain. Almost all of the
15124 changes are to license notices and to locale LC_IDENTIFICATION
15125 addresses, except for this one:
15126 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15127 not its snail mail address.
15129 2012-02-09 Richard Henderson <rth@twiddle.net>
15131 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15132 of kernel-features.h.
15134 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15136 2012-02-08 Marek Polacek <polacek@redhat.com>
15138 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15139 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15140 * sysdeps/gnu/_G_config.h: Likewise.
15141 * sysdeps/generic/_G_config.h: Likewise.
15143 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15145 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15149 * sysdeps/powerpc/powerpc32/crti.S: New file.
15150 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15151 * sysdeps/powerpc/powerpc64/crti.S: New file.
15152 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15154 * Makeconfig (have-initfini): Don't set.
15155 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15156 * configure.in (nopic_initfini): Don't substitute.
15157 * config.h.in (HAVE_INITFINI): Don't #undef.
15158 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15159 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15161 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15163 Support crti.S and crtn.S provided directly by architectures.
15164 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15165 [crti.S in sysdirs] (omit-deps): Likewise.
15166 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15167 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15168 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15169 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15170 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15171 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15172 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15173 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15174 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15175 compiler output for sysdeps/generic/initfini.c.
15176 * sysdeps/i386/elf/Makefile: Remove file.
15177 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15179 2012-02-07 Marek Polacek <polacek@redhat.com>
15181 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15182 * sysdeps/gnu/_G_config.h: Likewise.
15183 * sysdeps/mach/hurd/_G_config.h: Likewise.
15185 2012-02-07 Marek Polacek <polacek@redhat.com>
15187 * math/Makefile (tests): Add tst-CMPLX2.
15188 * math/tst-CMPLX2.c: New file.
15190 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15192 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15194 * math/libm-test.inc (jn_test): Add missing L suffix.
15196 2012-02-06 Marek Polacek <polacek@redhat.com>
15198 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15199 * sysdeps/i386/fpu/e_powf.S: Likewise.
15200 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15201 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15202 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15203 * sysdeps/i386/fpu/e_pow.S: Likewise.
15204 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15205 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15206 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15207 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15208 * sysdeps/i386/fpu/e_log2.S: Likewise.
15209 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15210 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15211 * sysdeps/i386/fpu/e_powl.S: Likewise.
15212 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15213 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15214 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15215 * sysdeps/i386/fpu/e_logl.S: Likewise.
15216 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15217 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15218 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15219 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15221 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15222 * sysdeps/i386/fpu/e_log.S: Likewise.
15223 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15224 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15225 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15226 * sysdeps/i386/fpu/e_logf.S: Likewise.
15227 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15228 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15229 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15230 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15231 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15232 * sysdeps/i386/fpu/e_log10.S: Likewise.
15233 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15234 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15235 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15236 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15237 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15238 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15239 * sysdeps/i386/asm-syntax.h: Likewise.
15240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15242 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15243 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15244 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15245 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15246 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15247 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15248 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15249 * sysdeps/powerpc/sysdep.h: Likewise.
15250 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15253 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15256 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15258 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15260 * sysdeps/i386/sysdep.h: Include <features.h>.
15261 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15264 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15266 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15268 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15271 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15273 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15274 (SETUP_PIC_REG): Use GET_PC_THUNK.
15275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15278 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15280 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15281 for non-PIC compilation.
15282 (SETUP_PIC_REG): Add .p2align directive.
15283 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15284 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15286 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15288 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15289 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15291 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15292 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15293 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15294 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15295 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15296 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15297 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15298 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15299 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15300 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15301 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15302 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15305 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15306 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15309 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15311 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15312 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15313 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15314 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15316 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15317 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15318 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15319 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15320 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15321 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15322 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15323 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15325 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15327 * math/tst-CMPLX.c: Include <stdio.h>.
15329 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15331 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15333 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15334 * sysdeps/sparc/bits/mathdef.h: Likewise.
15336 2012-01-31 Marek Polacek <polacek@redhat.com>
15338 * libio/libio.h: Don't define _PARAMS.
15339 * locale/programs/config.h: Don't define PARAMS.
15340 * stdlib/strtol_l.c: Likewise.
15341 (__strtol_l): Remove PARAMS from the prototype.
15343 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15345 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15346 names. Just use the correct names. Remove unnecessary wrapper
15348 * malloc/arena.c: Likewise.
15349 * malloc/hooks.c: Likewise.
15351 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15352 ARENA_TEST says not to. Simplify test for creation of a new arena.
15353 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15355 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15357 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15359 (update_get_addr): New function.
15360 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15361 GET_ADDR_MODULE parameter.
15363 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15365 * crypt/cert.c: Remove __STDC__ conditionals.
15366 * crypt/crypt-entry.c: Likewise.
15367 * crypt/crypt_util.c: Likewise.
15368 * libio/filedoalloc.c: Likewise.
15369 * libio/fileops.c: Likewise.
15370 * libio/genops.c: Likewise.
15371 * libio/iofclose.c: Likewise.
15372 * libio/iofdopen.c: Likewise.
15373 * libio/iofopen.c: Likewise.
15374 * libio/iofopen64.c: Likewise.
15375 * libio/iogetdelim.c: Likewise.
15376 * libio/iopopen.c: Likewise.
15377 * libio/obprintf.c: Likewise.
15378 * libio/oldfileops.c: Likewise.
15379 * libio/oldiofclose.c: Likewise.
15380 * libio/oldiofdopen.c: Likewise.
15381 * libio/oldiofopen.c: Likewise.
15382 * libio/oldiopopen.c: Likewise.
15383 * libio/wfiledoalloc.c: Likewise.
15384 * libio/wgenops.c: Likewise.
15385 * locale/programs/xmalloc.c: Likewise.
15386 * misc/syslog.c: Likewise.
15387 * stdio-common/xbug.c: Likewise.
15388 * string/memchr.c: Likewise.
15389 * string/memcmp.c: Likewise.
15390 * string/memrchr.c: Likewise.
15391 * string/rawmemchr.c: Likewise.
15392 * sysdeps/posix/getcwd.c: Likewise.
15393 * time/strftime_l.c: Likewise.
15395 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15397 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15398 * config.make.in (config-cflags-sse2avx): Define.
15399 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15402 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15404 * scripts/config.guess: Update from upstream config git repository.
15405 * scripts/config.sub: Likewise.
15407 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15409 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15411 (R_TILEPRO_*, R_TILEGX_*): New macros.
15413 * scripts/firstversions.awk: Fix bug in version range handling.
15415 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15417 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15419 * include/sys/epoll.h: New file.
15420 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15423 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15425 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15426 Avoid unnecessary __WORDSIZE == 64 test.
15427 (fmaxf): Use VEX format if possible.
15432 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15433 * math/math_private.h: Remove libc_fegetround* and
15435 * sysdeps/i386/configure.in: Check for -msse2avx.
15436 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15437 also if SSE2AVX is defined.
15438 Remove libc_fegetround* and libc_fesetround*.
15439 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15440 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15449 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15451 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15453 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15457 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15460 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15462 * Makeconfig (libm): Define.
15463 * elf/Makefile: Add rules to build and run tst-relsort1.
15464 * elf/tst-relsort1.c: New file.
15465 * elf/tst-relsort1mod1.c: New file.
15466 * elf/tst-relsort1mod2.c: New file.
15468 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15470 * math/s_ldexp.c: Remove __STDC__ conditionals.
15471 * math/s_ldexpf.c: Likewise.
15472 * math/s_ldexpl.c: Likewise.
15473 * math/s_nextafter.c: Likewise.
15474 * math/s_nexttowardf.c: Likewise.
15475 * math/s_significand.c: Likewise.
15476 * math/s_significandf.c: Likewise.
15477 * math/s_significandl.c: Likewise.
15478 * math/w_jnl.c: Likewise.
15479 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15480 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15481 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15482 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15483 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15488 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15489 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15491 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15493 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15498 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15499 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15507 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15508 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15509 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15510 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15511 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15512 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15514 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15515 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15516 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15517 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15518 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15519 * sysdeps/ieee754/k_standard.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15586 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15594 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15595 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15599 * sysdeps/ieee754/s_matherr.c: Likewise.
15600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15605 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15607 * crypt/md5.h: Remove __STDC__ conditionals.
15608 * libio/libioP.h: Likewise.
15609 * locale/programs/config.h: Likewise.
15610 * sysdeps/generic/sysdep.h: Likewise.
15611 * sysdeps/i386/asm-syntax.h: Likewise.
15612 * sysdeps/s390/asm-syntax.h: Likewise.
15613 * sysdeps/unix/sysdep.h: Likewise.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15617 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15619 * libio/libio.h: Remove __STDC__ conditionals.
15620 * malloc/obstack.h: Likewise.
15621 * math/complex.h: Likewise.
15622 * math/math.h: Likewise.
15623 * sysdeps/generic/_G_config.h: Likewise.
15624 * sysdeps/gnu/_G_config.h: Likewise.
15625 * sysdeps/mach/hurd/_G_config.h: Likewise.
15626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15627 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15628 * sysdeps/sparc/bits/mathdef.h: Likewise.
15630 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15633 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15634 Clean up HAS_* macros.
15635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15636 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15640 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15641 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15642 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15646 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15648 * elf/tst-unique3.cc (gets): Remove declaration.
15649 * elf/tst-unique3lib.cc (gets): Likewise.
15650 * elf/tst-unique3lib2.cc (gets): Likewise.
15651 * elf/tst-unique4.cc (gets): Likewise.
15653 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15655 * include/stdio.h: Add C++ protection. Add gets declarations and
15657 * debug/tst-chk1.c: Don't declare gets here.
15658 * stdio-common/tst-gets.c: Likewise.
15660 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15662 * posix/glob: Remove directory.
15664 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15666 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15668 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15670 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15671 of the non-standard EPFNOSUPPORT.
15673 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15675 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15676 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15677 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15679 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15681 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15683 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15685 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15687 * nscd/grpcache.c (cache_addgr): Likewise.
15688 * nscd/hstcache.c (cache_addhst): Likewise.
15689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15690 * nscd/pwdcache.c (cache_addpw): Likewise.
15691 * nscd/servicescache.c (cache_addserv): Likewise.
15693 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15695 * malloc/malloc.c: Various cleanups.
15696 * malloc/hooks.c: Likewise.
15698 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15699 * stdlib/bug-fmtmsg1.c: New file.
15701 * stdlib/fmtmsg.c (init): Add missing unlock.
15702 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15704 2012-01-12 Marek Polacek <polacek@redhat.com>
15706 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15709 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15711 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15713 macro to ensure uniqueness of label name.
15714 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15715 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15717 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15721 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15722 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15726 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15730 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15731 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15734 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15737 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15741 * math/bits/math-finite.h: Add ldexp support.
15743 2012-01-10 Marek Polacek <polacek@redhat.com>
15745 * locale/programs/localedef.h (show_archive_content): Add noreturn
15748 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15750 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15752 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15754 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15756 * io/Makefile (headers): Add bits/poll2.h.
15758 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15761 typo #include statement.
15763 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15765 * include/sys/cdefs.h: Define __attribute_alloc_size.
15766 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15767 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15768 * elf/pldd.c: Likewise.
15769 * iconv/iconv_charmap.c: Likewise.
15770 * iconv/iconvconfig.c: Likewise.
15771 * iconv/strtab.c: Likewise.
15772 * locale/programs/locale.c: Likewise.
15773 * locale/programs/localedef.h: Likewise.
15774 * locale/programs/simple-hash.c: Likewise.
15775 * nscd/nscd.h: Likewise.
15776 * nss/makedb.c: Likewise.
15777 * sysdeps/generic/ldconfig.h: Likewise.
15778 * locale/programs/localedef.c: Remove xmalloc prototype.
15779 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15781 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15783 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15786 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15788 * math/Makefile (tests): Add tst-CMPLX.
15789 * math/tst-CMPLX.c: New file.
15791 * math/complex.h (CMPLXL): Fix typo.
15793 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15794 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15796 * debug/tst-chk1.c: Add poll and ppoll tests.
15797 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15798 * include/sys/poll.h: Add hidden proto for ppoll.
15799 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15800 * sysdeps/mach/hurd/ppoll.c: Likewise.
15801 * io/ppoll.c: Likewise.
15802 * debug/poll_chk.c: New file.
15803 * debug/ppoll_chk.c: New file.
15804 * include/bits/poll2.h: New file.
15805 * io/bits/poll2.h: New file.
15808 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15810 * configure.in: static is always set to yes. Remove.
15811 * config.make.in: Don't set build-static.
15812 * Makeconfig: Remove use of build-static.
15813 * dlfcn/Makefile: Likewise.
15814 * elf/Makefile: Likewise.
15815 * math/Makefile: Likewise.
15816 * misc/Makefile: Likewise.
15817 * nptl/Makefile: Likewise.
15818 * sysdeps/mach/hurd/Makefile: Likewise.
15820 * configure.in: PWD_P is not used anymore.
15821 * config.make.in: Remove PWD_P entry.
15823 * configure.in: Remove last remnants of RANLIB.
15824 No need to check for signed size_t anymore.
15825 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15827 Remove __builtin_expect test because we require at least gcc 3.4.
15828 * aclocal.m4: Likewise.
15830 * wcsmbs/mbrtoc16.c: Implement using towc function.
15831 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15832 * wcsmbs/wcsmbsload.c: Likewise.
15833 * iconv/gconv_simple.c: Likewise.
15834 * iconv/gconv_int.h: Likewise.
15835 * iconv/gconv_builtin.h: Likewise.
15836 * iconv/iconv_prog.c: Remove CHAR16 handling.
15838 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15840 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15842 * configure.in: Remove --with-elf and --enable-bounded options.
15843 Dont set base_machine for ia64. More non-ELF conditions removed.
15844 Remove testing and setting of leading underscore information.
15845 * config.make.in (build-bounded): Set to no.
15846 * config.h.in: Remove NO_UNDERSCORES entry.
15847 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15849 * csu/start.c: Remove !NO_UNDERSCORE code.
15850 * locale/localeinfo.h: Likewise.
15851 * sysdeps/generic/machine-gmon.h: Likewise.
15852 * sysdeps/generic/sysdep.h: Likewise.
15853 * sysdeps/i386/sysdep.h: Likewise.
15854 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15855 * sysdeps/mach/sysdep.h: Likewise.
15856 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15858 * sysdeps/sh/sysdep.h: Likewise.
15859 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15860 * sysdeps/unix/i386/sysdep.S: Likewise.
15861 * sysdeps/unix/sparc/start.c: Likewise.
15862 * sysdeps/unix/sparc/sysdep.S: Likewise.
15863 * sysdeps/unix/sparc/sysdep.h: Likewise.
15864 * sysdeps/unix/start.c: Likewise.
15865 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15866 * sysdeps/x86_64/sysdep.h: Likewise.
15868 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15871 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15873 * argp/argp-fmtstream.h: Use const instead __const.
15874 * argp/argp.h: Likewise.
15875 * assert/assert.h: Likewise.
15876 * bits/fenv.h: Likewise.
15877 * bits/sched.h: Likewise.
15878 * bits/sigset.h: Likewise.
15879 * bits/sigthread.h: Likewise.
15880 * catgets/nl_types.h: Likewise.
15881 * conform/data/pthread.h-data: Likewise.
15882 * crypt/crypt-private.h: Likewise.
15883 * crypt/crypt.h: Likewise.
15884 * crypt/crypt_util.c: Likewise.
15885 * ctype/ctype.h: Likewise.
15886 * debug/execinfo.h: Likewise.
15887 * debug/mbsnrtowcs_chk.c: Likewise.
15888 * debug/mbsrtowcs_chk.c: Likewise.
15889 * debug/wcsnrtombs_chk.c: Likewise.
15890 * debug/wcsrtombs_chk.c: Likewise.
15891 * debug/wcstombs_chk.c: Likewise.
15892 * dirent/dirent.h: Likewise.
15893 * dlfcn/dlfcn.h: Likewise.
15894 * elf/neededtest4.c: Likewise.
15895 * grp/grp.h: Likewise.
15896 * gshadow/gshadow.h: Likewise.
15897 * iconv/gconv.h: Likewise.
15898 * iconv/gconv_int.h: Likewise.
15899 * iconv/gconv_simple.c: Likewise.
15900 * iconv/iconv.h: Likewise.
15901 * iconv/loop.c: Likewise.
15902 * iconv/skeleton.c: Likewise.
15903 * include/aio.h: Likewise.
15904 * include/aliases.h: Likewise.
15905 * include/argz.h: Likewise.
15906 * include/arpa/inet.h: Likewise.
15907 * include/assert.h: Likewise.
15908 * include/dirent.h: Likewise.
15909 * include/dlfcn.h: Likewise.
15910 * include/execinfo.h: Likewise.
15911 * include/fcntl.h: Likewise.
15912 * include/fenv.h: Likewise.
15913 * include/glob.h: Likewise.
15914 * include/grp.h: Likewise.
15915 * include/libintl.h: Likewise.
15916 * include/mntent.h: Likewise.
15917 * include/netdb.h: Likewise.
15918 * include/pwd.h: Likewise.
15919 * include/rpc/netdb.h: Likewise.
15920 * include/sched.h: Likewise.
15921 * include/search.h: Likewise.
15922 * include/shadow.h: Likewise.
15923 * include/signal.h: Likewise.
15924 * include/stdio.h: Likewise.
15925 * include/stdlib.h: Likewise.
15926 * include/string.h: Likewise.
15927 * include/sys/socket.h: Likewise.
15928 * include/sys/stat.h: Likewise.
15929 * include/sys/statfs.h: Likewise.
15930 * include/sys/statvfs.h: Likewise.
15931 * include/sys/syslog.h: Likewise.
15932 * include/sys/time.h: Likewise.
15933 * include/sys/uio.h: Likewise.
15934 * include/time.h: Likewise.
15935 * include/unistd.h: Likewise.
15936 * include/utmp.h: Likewise.
15937 * include/wchar.h: Likewise.
15938 * include/wctype.h: Likewise.
15939 * inet/aliases.h: Likewise.
15940 * inet/arpa/inet.h: Likewise.
15941 * inet/netinet/ether.h: Likewise.
15942 * inet/netinet/in.h: Likewise.
15943 * intl/libintl.h: Likewise.
15944 * io/bits/fcntl2.h: Likewise.
15945 * io/fcntl.h: Likewise.
15946 * io/ftw.h: Likewise.
15947 * io/sys/poll.h: Likewise.
15948 * io/sys/stat.h: Likewise.
15949 * io/sys/statfs.h: Likewise.
15950 * io/sys/statvfs.h: Likewise.
15951 * io/utime.h: Likewise.
15952 * libio/bits/stdio.h: Likewise.
15953 * libio/bits/stdio2.h: Likewise.
15954 * libio/libio.h: Likewise.
15955 * libio/libioP.h: Likewise.
15956 * libio/stdio.h: Likewise.
15957 * locale/lc-ctype.c: Likewise.
15958 * locale/locale.h: Likewise.
15959 * login/utmp.h: Likewise.
15960 * malloc/arena.c: Likewise.
15961 * malloc/malloc.c: Likewise.
15962 * malloc/malloc.h: Likewise.
15963 * malloc/mcheck.c: Likewise.
15964 * malloc/mtrace.c: Likewise.
15965 * math/bits/mathcalls.h: Likewise.
15966 * math/fenv.h: Likewise.
15967 * math/math_private.h: Likewise.
15968 * misc/bits/error.h: Likewise.
15969 * misc/bits/syslog.h: Likewise.
15970 * misc/err.h: Likewise.
15971 * misc/error.h: Likewise.
15972 * misc/fstab.h: Likewise.
15973 * misc/mntent.h: Likewise.
15974 * misc/regexp.h: Likewise.
15975 * misc/search.h: Likewise.
15976 * misc/sgtty.h: Likewise.
15977 * misc/sys/mman.h: Likewise.
15978 * misc/sys/syslog.h: Likewise.
15979 * misc/sys/uio.h: Likewise.
15980 * misc/sys/xattr.h: Likewise.
15981 * misc/ttyent.h: Likewise.
15982 * nis/rpcsvc/ypclnt.h: Likewise.
15983 * nss/nss.h: Likewise.
15984 * posix/bits/unistd.h: Likewise.
15985 * posix/fnmatch.h: Likewise.
15986 * posix/glob.h: Likewise.
15987 * posix/sched.h: Likewise.
15988 * posix/spawn.h: Likewise.
15989 * posix/sys/wait.h: Likewise.
15990 * posix/unistd.h: Likewise.
15991 * posix/wordexp.h: Likewise.
15992 * pwd/pwd.h: Likewise.
15993 * resolv/netdb.h: Likewise.
15994 * resource/sys/resource.h: Likewise.
15995 * rt/aio.h: Likewise.
15996 * rt/bits/mqueue2.h: Likewise.
15997 * rt/mqueue.h: Likewise.
15998 * shadow/shadow.h: Likewise.
15999 * signal/signal.h: Likewise.
16000 * socket/send.c: Likewise.
16001 * socket/sendto.c: Likewise.
16002 * socket/sys/socket.h: Likewise.
16003 * stdio-common/printf.h: Likewise.
16004 * stdlib/bits/stdlib.h: Likewise.
16005 * stdlib/fmtmsg.h: Likewise.
16006 * stdlib/monetary.h: Likewise.
16007 * stdlib/stdlib.h: Likewise.
16008 * stdlib/ucontext.h: Likewise.
16009 * streams/stropts.h: Likewise.
16010 * string/argz.h: Likewise.
16011 * string/bits/string2.h: Likewise.
16012 * string/string.h: Likewise.
16013 * string/strings.h: Likewise.
16014 * sunrpc/rpc/auth.h: Likewise.
16015 * sunrpc/rpc/auth_des.h: Likewise.
16016 * sunrpc/rpc/clnt.h: Likewise.
16017 * sunrpc/rpc/netdb.h: Likewise.
16018 * sunrpc/rpc/pmap_clnt.h: Likewise.
16019 * sunrpc/rpc/xdr.h: Likewise.
16020 * sysdeps/generic/inttypes.h: Likewise.
16021 * sysdeps/generic/net/if.h: Likewise.
16022 * sysdeps/generic/sys/swap.h: Likewise.
16023 * sysdeps/gnu/net/if.h: Likewise.
16024 * sysdeps/gnu/utmpx.h: Likewise.
16025 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16026 * sysdeps/i386/i486/bits/string.h: Likewise.
16027 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16028 * sysdeps/s390/bits/string.h: Likewise.
16029 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16030 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16031 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16032 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16033 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16034 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16035 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16036 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16037 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16038 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16039 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16040 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16041 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16042 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16043 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16044 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16045 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16047 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16050 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16051 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16052 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16053 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16054 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16055 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16057 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16058 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16059 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16060 * sysvipc/sys/ipc.h: Likewise.
16061 * sysvipc/sys/msg.h: Likewise.
16062 * sysvipc/sys/sem.h: Likewise.
16063 * sysvipc/sys/shm.h: Likewise.
16064 * termios/termios.h: Likewise.
16065 * time/sys/time.h: Likewise.
16066 * time/time.h: Likewise.
16067 * wcsmbs/bits/wchar2.h: Likewise.
16068 * wcsmbs/uchar.h: Likewise.
16069 * wcsmbs/wchar.h: Likewise.
16070 * wctype/wctype.h: Likewise.
16073 * Makeconfig: Remove all but ELF support including AIX support.
16074 * Makerules: Likewise.
16075 * config.h.in: Likewise.
16076 * config.make.in: Likewise.
16077 * configure: Likewise.
16078 * configure.in: Likewise.
16079 * csu/Makefile: Likewise.
16080 * csu/version.c: Likewise.
16081 * debug/Makefile: Likewise.
16082 * dlfcn/Makefile: Likewise.
16083 * elf/Makefile: Likewise.
16084 * extra-lib.mk: Likewise.
16085 * iconv/Makefile: Likewise.
16086 * include/libc-symbols.h: Likewise.
16087 * include/shlib-compat.h: Likewise.
16088 * resolv/Makefile: Likewise.
16089 * resolv/res_libc.c: Likewise.
16090 * rt/Makefile: Likewise.
16091 * sysdeps/i386/asm-syntax.h: Likewise.
16092 * sysdeps/i386/sysdep.h: Likewise.
16093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16094 * sysdeps/mach/sysdep.h: Likewise.
16095 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16096 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16097 * sysdeps/s390/asm-syntax.h: Likewise.
16098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16100 * sysdeps/sh/sysdep.h: Likewise.
16101 * sysdeps/unix/sparc/sysdep.h: Likewise.
16102 * sysdeps/wordsize-32/divdi3.c: Likewise.
16103 * sysdeps/x86_64/sysdep.h: Likewise.
16105 * argp/Versions: Remove _argp_unlock_xxx.
16108 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16109 * abilist/libBrokenLocale.abilist: Likewise.
16110 * abilist/libanl.abilist: Likewise.
16111 * abilist/libc.abilist: Likewise.
16112 * abilist/libcrypt.abilist: Likewise.
16113 * abilist/libdl.abilist: Likewise.
16114 * abilist/libm.abilist: Likewise.
16115 * abilist/libnsl.abilist: Likewise.
16116 * abilist/libpthread.abilist: Likewise.
16117 * abilist/libresolv.abilist: Likewise.
16118 * abilist/librt.abilist: Likewise.
16119 * abilist/libthread_db.abilist: Likewise.
16120 * abilist/libutil.abilist: Likewise.
16121 * abilist/libnss_db.abilist: New file.
16123 * scripts/abilist.awk: Add support for indirect functions.
16125 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16127 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16129 * shlib-versions: Remove entries for ports architectures.
16131 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16133 * elf/stackguard-macros.h: Remove support for IA-64.
16134 * elf/tst-auditmod1.c: Likewise.
16135 * sysdeps/generic/ldsodefs.h: Likewise.
16137 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16138 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16142 * configure.in: Remove --enable-omitfp support.
16144 * config.make.in: Likewise.
16145 * Makeconfig: Likewise.
16146 * manual/install.texi: Likewise.
16148 In case anyone cares, the IA-64 architecture could move to ports.
16149 * sysdeps/ia64/*: Removed.
16150 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16151 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16154 * configure.in: Remove entries for unsupported architectures.
16157 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16158 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16160 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16161 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16162 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16163 fall back to using wcrtomb.
16164 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16165 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16167 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16168 * wcsmbs/tst-c16c32-1.c: New file.
16170 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16173 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16175 * elf/tst-unique3.cc: Add explicit declaration of gets.
16176 * elf/tst-unique3lib.cc: Likewise.
16177 * elf/tst-unique3lib2.cc: Likewise.
16178 * elf/tst-unique4.cc: Likewise.
16180 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16182 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16185 * assert/assert.h (static_assert): Don't define for C++.
16186 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16187 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16189 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16191 * iconv/loop.c (single loop): Fix assertion in storing of
16194 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16196 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16198 * posix/getconf.c: Update copyright year.
16199 * nss/getent.c: Likewise.
16200 * nss/makedb.c: Likewise.
16201 * iconv/iconvconfig.c: Likewise.
16202 * iconv/iconv_prog.c: Likewise.
16203 * elf/ldconfig.c: Likewise.
16204 * elf/pldd.c: Likewise.
16205 * elf/sotruss.ksh: Likewise.
16206 * catgets/gencat.c: Likewise.
16207 * csu/version.c: Likewise.
16208 * elf/ldd.bash.in: Likewise.
16209 * elf/sprof.c (print_version): Likewise.
16210 * locale/programs/locale.c: Likewise.
16211 * locale/programs/localedef.c: Likewise.
16212 * login/programs/pt_chown.c: Likewise.
16213 * nscd/nscd.c (print_version): Likewise.
16214 * debug/xtrace.sh: Likewise.
16215 * malloc/memusage.sh: Likewise.
16216 * malloc/mtrace.pl: Likewise.
16217 * debug/catchsegv.sh: Likewise.
16219 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16221 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16224 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16227 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16228 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16230 * iconv/gconv_int.h: Likewise.
16231 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16232 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16233 from libc for GLIBC_2.16.
16234 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16235 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16236 * wcsmbs/uchar.h: Really define mbstate_t.
16237 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16238 * wcsmbs/c16rtomb.c: New file.
16239 * wcsmbs/mbrtoc16.c: New file.
16240 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16241 for C/POSIX locale.
16242 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16243 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16245 * wcsmbs/wchar.h: Add missing __restrict.
16247 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16250 * time/Makefile (routines): Add timespec_get.
16251 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16252 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16253 timespec for ISO C11.
16254 * time/timespec_get.c: New file.
16255 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16256 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16259 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16260 * stdlib/stdlib.h: Declare aligned_alloc.
16261 * Versions.def: Add GLIBC_2.16 for libc.
16262 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16265 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16268 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16272 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16275 * assert/assert.h (static_assert): Define.
16277 * version.h: Update for 2.16 development version.
16280 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16283 * version.h (RELEASE): Bump for 2.15 release.
16284 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16286 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16287 Patch by Marek Polacek <mpolacek@redhat.com>.
16289 * bits/byteswap.h: Protect long long constants with __extension__.
16290 * sysdeps/i386/bits/byteswap.h: Likewise.
16291 * sysdeps/ia64/bits/byteswap.h: Likewise.
16292 * sysdeps/s390/bits/byteswap.h: Likewise.
16293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16295 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16299 destination buffer.
16300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16302 2011-12-23 Marek Polacek <polacek@redhat.com>
16304 * elf/dl-addr.c (determine_info): Add inline keyword.
16305 * elf/tst-auditmod4b.c (check_avx): Likewise.
16306 * elf/tst-auditmod6b.c (check_avx): Likewise.
16307 * elf/tst-auditmod6c.c (check_avx): Likewise.
16308 * elf/tst-auditmod7b.c (check_avx): Likewise.
16310 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16312 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16315 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16319 processing for last bytes.
16321 2011-08-06 Bruno Haible <bruno@clisp.org>
16324 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16325 U+0385, not to U+1FEE.
16328 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16329 entry for U+00A5 U+0301.
16331 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16334 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16335 buffer for the output is too small.
16337 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16341 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16342 SSE flags if possible.
16344 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16348 processing for last bytes.
16350 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16352 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16353 (syscall-list-default-options, syscall-list-default-condition)
16354 (syscall-list-includes): Define.
16355 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16356 list of ABIs and options and #if conditions for each ABI. Do not
16357 handle common syscalls between ABIs specially.
16358 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16360 (syscall-list-variants, syscall-list-32bit-options)
16361 (syscall-list-32bit-condition, syscall-list-64bit-options)
16362 (syscall-list-64bit-condition): Define.
16363 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16364 (syscall-list-variants, syscall-list-32bit-options)
16365 (syscall-list-32bit-condition, syscall-list-64bit-options)
16366 (syscall-list-64bit-condition): Define.
16367 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16369 (syscall-list-variants, syscall-list-32bit-options)
16370 (syscall-list-32bit-condition, syscall-list-64bit-options)
16371 (syscall-list-64bit-condition): Define.
16372 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16374 (syscall-list-variants, syscall-list-32bit-options)
16375 (syscall-list-32bit-condition, syscall-list-64bit-options)
16376 (syscall-list-64bit-condition): Define.
16378 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16380 * locale/iso-639.def: Add brx entry.
16383 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16384 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16386 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16387 __feraiseexcept_renamed.
16389 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16392 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16393 EPOLLET with unsigned values.
16394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16397 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16398 to large cancellation.
16399 * math/s_cacoshf.c: Likewise.
16400 * math/s_cacoshl.c: Likewise.
16402 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16406 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16407 * math/s_cacoshf.c: Likewise.
16408 * math/s_cacoshl.c: Likewise.
16410 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16413 * iconv/gconv.h: Define __GCONV_SWAP.
16414 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16415 * iconvdata/utf-16.c: Likewise.
16416 * iconvdata/utf-32.c: Likewise.
16418 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16421 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16422 numerator after shifting it by one limb.
16424 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16426 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16427 under [__USE_EXTERN_INLINES].
16429 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16432 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16434 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16437 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16439 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16441 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16442 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16443 for strncasecmp/strncasecmp_l compilation.
16444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16445 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16447 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16450 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16453 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16456 * time/tzfile.c (__tzfile_read): Check values from file header.
16458 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16460 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16461 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16462 * powerpc/powerpc32/dl-start.S: Likewise.
16463 * powerpc/powerpc32/elf/start.S: Likewise.
16464 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16465 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16466 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16467 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16468 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16469 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16470 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16471 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16472 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16473 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16474 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16475 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16476 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16477 * powerpc/powerpc32/memset.S: Likewise.
16478 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16479 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16480 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16481 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16482 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16483 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16484 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16485 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16486 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16487 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16488 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16489 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16490 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16492 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16494 * math/libm-test.inc: Added more nearbyint tests.
16495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16496 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16498 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16500 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16502 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16505 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16507 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16508 Add wcscpy-ssse3 wcscpy-c.
16509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16510 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16511 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16512 * sysdeps/x86_64/wcschr.S: New file.
16513 * sysdeps/x86_64/wcsrchr.S: New file.
16514 * string/test-strcmp.c: Remove checking of wcscmp function for
16516 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16517 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16518 wcsrchr-sse2 wcsrchr-c.
16519 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16520 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16521 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16522 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16523 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16524 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16525 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16526 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16528 * wcsmbc/wcschr.c (WCSCHR): New macro.
16530 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16532 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16533 * wcsmbs/test-wcsrchr.c: New file.
16534 * string/test-strrchr.c: Add wcsrchr support.
16536 * wcsmbs/test-wcscpy.c: New file.
16537 * string/test-strcpy.c: Add wcscpy support.
16540 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16542 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16545 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16548 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16550 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16553 Minor optimizations.
16555 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16556 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16557 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16559 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16561 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16562 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16563 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16564 for gcc to avoid warnings.
16565 * inet/Makefile (tests): Add tst-checks.
16566 * inet/tst-checks.c: New file.
16568 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16571 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16574 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16575 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16577 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16579 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16581 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16584 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16586 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16589 conditional on GCC version.
16590 (__arch_compare_and_exchange_val_8_acq)
16591 (__arch_compare_and_exchange_val_16_acq)
16592 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16593 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16594 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16596 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16598 * sysdeps/sh/backtrace.c: New file.
16600 2011-12-02 Andreas Schwab <schwab@redhat.com>
16602 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16605 2011-12-01 Andreas Schwab <schwab@redhat.com>
16607 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16608 falling back to utime.
16610 2011-11-30 Andreas Schwab <schwab@redhat.com>
16612 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16613 expectations for float.
16615 2011-11-29 Andreas Schwab <schwab@redhat.com>
16617 * locale/weight.h (findidx): Add parameter len.
16618 * locale/weightwc.h (findidx): Likewise.
16619 * posix/fnmatch_loop.c (FCT): Adjust caller.
16620 * posix/regcomp.c (build_equiv_class): Likewise.
16621 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16622 * posix/regexec.c (check_node_accept_bytes): Likewise.
16623 * string/strcoll_l.c (STRCOLL): Likewise.
16624 * string/strxfrm_l.c (STRXFRM): Likewise.
16626 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16628 * Makefile.in: Remove CVSOPT handling.
16629 * configure.in: Remove use of AC_REVISION.
16630 * iconvdata/Makefile (distribute): No need to filter out CVS.
16631 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16634 2011-11-16 Andreas Schwab <schwab@redhat.com>
16636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16637 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16638 [USE_AS_STRNCASECMP_L]: Likewise.
16639 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16640 NO_TLS_DIRECT_SEG_REFS.
16641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16642 Fix argument offsets for non-PIC.
16643 [USE_AS_STRNCASECMP_L]: Likewise.
16644 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16645 NO_TLS_DIRECT_SEG_REFS.
16647 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16649 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16651 * locale/loadlocale.c (_nl_load_locale): Likewise.
16653 2011-11-15 Andreas Schwab <schwab@redhat.com>
16655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16656 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16657 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16658 (SYSCALL_GETTIME): Set errno on error.
16660 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16661 count references to noai6ai_cached.
16663 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16665 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16667 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16668 FD_CLOEXEC for /proc/self/maps.
16670 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16671 FD_CLOEXEC for /proc/meminfo.
16673 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16676 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16677 FD_CLOEXEC for given file.
16679 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16681 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16682 FD_CLOEXEC for /etc/hosts.
16683 (_gethtent): Likewise.
16685 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16687 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16688 cancellation and set FD_CLOEXEC for /etc/netgroup.
16690 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16691 reading /etc/publickey.
16693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16694 allow cancellation when reading /etc/group.
16696 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16698 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16700 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16701 when using data file.
16703 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16705 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16706 (write_nis_obj): Use "c" and "e" in fopen.
16708 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16710 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16712 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16714 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16716 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16719 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16721 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16723 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16725 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16726 file parsing and set FD_CLOEXEC.
16728 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16730 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16732 2011-11-14 Andreas Schwab <schwab@redhat.com>
16734 * malloc/arena.c (arena_get2): Don't call reused_arena when
16735 _int_new_arena failed.
16737 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16739 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16740 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16741 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16742 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16743 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16745 to compile strcasecmp and strncasecmp.
16746 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16747 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16751 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16753 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16754 locale-defines.sym to gen-as-const-headers.
16755 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16756 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16758 to compile strcasecmp and strncasecmp.
16759 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16760 strcasecmp_l and strncasecmp_l.
16761 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16762 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16763 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16764 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16765 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16766 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16767 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16768 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16769 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16770 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16771 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16773 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16775 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16776 result of SYSDEP_GETTIME_CPU to retval.
16777 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16778 parameter list to macro. Remove trailing semicolon. Adjust users.
16780 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16783 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16785 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16787 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16788 from unused variable.
16790 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16792 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16795 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16798 * sunrpc/rpc_prot.c (rejected): Fix case value.
16800 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16801 unsigned long long int to avoid warnings in shift.
16803 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16805 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16808 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16809 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16810 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16812 * nis/nis_table.c (nis_list): Use variable of correct type for
16813 result of __follow_path call.
16815 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16817 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16818 of math functions ceil, trunc, floor, round, and sqrt, when
16819 avaliable on the platform.
16820 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16823 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16824 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16826 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16828 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16831 2011-11-11 Roland McGrath <roland@hack.frob.com>
16833 * include/unistd.h: Fix __readlink return type.
16834 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16836 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16838 * stdlib/ucontext.h: Undo last change for makecontext.
16840 2011-11-11 Andreas Schwab <schwab@redhat.com>
16842 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16844 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16845 * setjmp/setjmp.h: Mark functions as non-leaf.
16846 * setjmp/bits/setjmp2.h: Likewise.
16847 * stdlib/ucontext.h: Likewise.
16849 2011-11-10 Andreas Schwab <schwab@redhat.com>
16851 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16852 (reused_arena): Don't check arena limit.
16853 (arena_get2): Atomically check arena limit.
16855 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16857 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16858 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16863 2011-11-07 Andreas Schwab <schwab@redhat.com>
16865 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16866 handler when locking.
16868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16869 Fix size of allocated buffer.
16871 2011-11-04 Andreas Schwab <schwab@redhat.com>
16874 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16875 declarations for long double functions.
16876 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16878 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16880 2011-11-03 Andreas Schwab <schwab@redhat.com>
16882 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16885 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16888 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16890 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16892 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16894 * include/alloca.h (stackinfo_alloca_round): Define.
16895 (extend_alloca): Use it.
16896 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16897 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16900 * scripts/check-local-headers.sh: Ignore libaudit.h.
16902 * nscd/Makefile (extra-objs): Make recursively expanded.
16904 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16906 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16907 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16909 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16910 * posix/tst-rfc3484-2.c: Likewise.
16911 * posix/tst-rfc3484-3.c: Likewise.
16913 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16915 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16917 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16918 process_vm_writev from libc using GLIBC_2.15 version.
16920 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16922 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16924 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16927 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16930 * nss/getent.c (initgroups_keys): Show error message in case no group
16933 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16934 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16935 __bump_nl_timestamp.
16936 * nscd/connections (nscd_init): When host database is served open
16937 netlink socket and request notification about configuration changes.
16938 (main_loop_poll): Track netlink file descriptor and bump timestamp
16939 in case data becomes available.
16940 (main_loop_epoll): Likewise.
16941 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16942 (database_pers_head): Add extra_data fileds.
16943 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16944 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16945 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16948 in6ai data, call __free_in6ai.
16949 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16950 Add -DHAVE_NETLINK.
16951 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16952 interface information. Reuse previous data if netlink timestamp
16954 (__bump_nl_timestamp): New function.
16955 (__free_in6ai): New function.
16957 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16959 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16960 close_not_cancel_no_status here.
16961 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16963 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16966 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16969 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16970 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16971 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16973 2011-07-03 Andreas Jaeger <aj@suse.de>
16976 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16977 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16978 * math/libm-test.inc (sin_test): Add test case.
16980 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16983 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16984 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16986 * elf/chroot_canon.c (chroot_canon): Cleanups.
16988 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16991 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16992 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16994 * string/test-strchr.c: Make usable for strchrnul testing.
16995 * string/test-strchrnul.c: New file.
16996 * string/Makefile (strop-tests): Add strchrnul.
16998 * po/it.po: Update from translation team.
16999 * po/es.po: Likewise.
17001 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17003 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17004 the three constants needed as parameters. Drop the others.
17005 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17006 __m128i_strloadu_tolower.
17007 Create and initialize variable zero and use it in all the places
17008 where _mm_setzero_si128 was used.
17010 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17011 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17012 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17015 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17016 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17017 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17018 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17019 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17020 __mpranred, __mptan.
17021 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17022 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17023 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17024 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17025 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17026 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17028 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17029 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17031 2011-10-28 Andreas Schwab <schwab@redhat.com>
17033 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17034 redefine if SHARED.
17035 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17038 wide char related routines to wcsmbs subdir.
17040 2011-10-27 Andreas Schwab <schwab@redhat.com>
17043 * misc/sys/cdefs.h (__THROWNL): Define.
17044 * posix/unistd.h: Use __THREADNL instead of __THREAD
17045 for memory synchronization functions.
17047 2011-10-26 Roland McGrath <roland@hack.frob.com>
17050 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17052 * manual/stdio.texi (Obstack Streams): Node removed.
17054 2011-10-26 Andreas Schwab <schwab@redhat.com>
17056 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17057 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17058 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17060 * math/math_private.h (math_force_eval): Allow non-addressable
17062 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17064 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17066 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17067 file is not needed.
17069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17072 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17073 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17074 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17075 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17076 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17078 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17079 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17080 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17081 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17082 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17083 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17085 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17086 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17087 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17088 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17089 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17091 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17092 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17093 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17094 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17095 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17096 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17098 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17099 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17102 place. Use VEX encoding when compiling for AVX.
17104 2011-10-25 Andreas Schwab <schwab@redhat.com>
17106 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17107 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17109 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17111 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17113 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17114 useless if() expression.
17115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17117 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17118 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17125 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17129 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17133 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17135 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17137 2011-10-25 Andreas Schwab <schwab@redhat.com>
17139 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17141 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17143 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17145 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17146 .text section. Avoid duplicate constants.
17147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17159 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17162 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17164 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17170 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17171 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17172 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17173 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17174 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17175 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17176 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17177 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17178 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17180 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17181 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17182 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17183 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17185 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17186 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17187 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17188 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17189 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17190 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17191 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17193 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17195 * sysdeps/x86_64/dla.h: Move to ...
17196 * sysdeps/x86_64/fpu/dla.h: ...here.
17197 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17198 situations. Use __builtin_fma only for gcc 4.6 and up.
17200 * config.make.in: Add have-mfma4 entry.
17201 * configure.in: Substitute libc_cv_cc_fma4.
17202 * math/Makefile (dbl-only-routines): Add sincostab.
17203 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17204 Use __sincostab not sincos.
17205 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17212 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17213 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17214 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17215 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17218 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17220 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17221 define aliases when function name is a macro.
17222 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17223 sysdeps/ieee754/dbl-64/sincos.tbl.
17224 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17225 fma4-enabled routines.
17226 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17227 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17228 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17229 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17230 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17233 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17235 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17236 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17237 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17238 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17239 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17240 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17241 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17242 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17243 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17244 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17246 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17247 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17249 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17253 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17254 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17255 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17257 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17268 2011-10-24 Andreas Schwab <schwab@redhat.com>
17270 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17272 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17274 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17276 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17280 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17281 Remove unused variable magic_bits.
17282 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17284 * string/strnlen.c: Define and use STRNLEN macro.
17285 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17286 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17288 * wcsmbs/wcslen.c: Define and use WCSLEN.
17289 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17290 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17291 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17292 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17293 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17294 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17295 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17297 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17300 strnlen-sse2-no-bsf.
17301 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17303 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17304 Add strnlen support.
17305 (USE_AS_STRNLEN): New macro.
17306 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17308 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17309 * sysdeps/x86_64/wcslen.S: New file.
17311 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17314 XMM-moves are used for copying on small sizes.
17316 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17318 * wcsmbs/Makefile (strop-tests): Add wcschr.
17319 * wcsmbs/test-wcschr.c: New file.
17320 * string/test-strchr.c: Update.
17321 Add wcschr support.
17324 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17326 * wcsmbs/Makefile (strop-tests): Add wcslen.
17327 * wcsmbs/test-wcslen.c: New file.
17328 * string/test-strlen.c: Update.
17329 Add wcslen support.
17332 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17334 * po/it.po: Update from translation team.
17336 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17338 * sysdeps/x86_64/wcscmp.S: Update.
17339 Fix wrong comparison semantics.
17340 wcscmp shall use signed comparison not unsigned.
17341 Don't use substraction to avoid overflow bug.
17342 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17343 * wcsmbc/wcscmp.c: Likewise.
17344 * string/test-strcmp.c: Likewise.
17345 Add new tests to check cases with negative values.
17347 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17349 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17350 * sysdeps/x86_64/dla.h: ...here. New file.
17351 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17361 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17364 __ynl_finite aliases.
17366 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17370 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17372 [DLA_FMA] (EMULV): Use DLA_FMA.
17373 [DLA_FMA] (MUL12): Use EMULV.
17374 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17375 that are not needed.
17376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17384 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17386 * math/s_nan.c: Undef __nan.
17387 * math/s_nanf.c: Undef __nanf.
17388 * math/s_nanl.c: Undef __nanl.
17389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17392 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17394 * math/s_catan.c: Add branch predictions.
17395 * math/s_catanf.c: Likewise.
17396 * math/s_catanh.c: Likewise.
17397 * math/s_catanhf.c: Likewise.
17398 * math/s_catanhl.c: Likewise.
17399 * math/s_catanl.c: Likewise.
17400 * math/s_cexp.c: Likewise.
17401 * math/s_cexpf.c: Likewise.
17402 * math/s_cexpl.c: Likewise.
17403 * math/s_clog.c: Likewise.
17404 * math/s_clog10.c: Likewise.
17405 * math/s_clog10f.c: Likewise.
17406 * math/s_clog10l.c: Likewise.
17407 * math/s_clogf.c: Likewise.
17408 * math/s_clogl.c: Likewise.
17409 * math/s_csqrt.c: Likewise.
17410 * math/s_csqrtf.c: Likewise.
17411 * math/s_csqrtl.c: Likewise.
17412 * math/s_ctanf.c: Likewise.
17413 * math/s_ctanh.c: Likewise.
17414 * math/s_ctanhf.c: Likewise.
17415 * math/s_ctanhl.c: Likewise.
17416 * math/s_ctanl.c: Likewise.
17418 * math/math_private.h: Define __nan, __nanf, __nanl.
17419 * math/s_cacosh.c: Include <math_private.h>.
17420 * math/s_cacoshl.c: Likewise.
17421 * math/s_casinh.c: Likewise.
17422 * math/s_casinhf.c: Likewise.
17423 * math/s_casinhl.c: Likewise.
17424 * math/s_ccos.c: Rely entire on ccosh.
17425 * math/s_ccosf.c: Rely entire on ccoshf.
17426 * math/s_ccosl.c: Rely entirely on ccoshl.
17427 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17428 Remove tests for FE_INVALID.
17429 * math/s_ccoshf.c: Likewise.
17430 * math/s_ccoshl.c: Likewise.
17431 * math/s_csin.c: Likewise.
17432 * math/s_csinf.c: Likewise.
17433 * math/s_csinh.c Likewise.
17434 * math/s_csinhf.c: Likewise.
17435 * math/s_csinhl.c: Likewise.
17436 * math/s_csinl.c: Likewise.
17437 * math/s_ctan.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17439 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17440 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17442 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17445 compilation problems.
17447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17450 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17452 * sysdeps/i386/configure.in: Test for -mfma4 option.
17453 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17454 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17455 COMMON_CPUID_INDEX_80000001.
17456 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17457 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17458 use it if FMA3 is not supported.
17459 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17461 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17462 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17464 2011-10-20 Andreas Schwab <schwab@redhat.com>
17467 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17468 it would create a cycle with a link time dependency.
17470 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17472 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17474 * string/Makefile (strop-tests): Add rawmemchr.
17475 * string/test-rawmemchr.c: New file.
17477 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17479 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17480 when compiling str{,n}casecmp and when AVX is available. Hook up
17481 new optimized code in initializers.
17483 2011-10-19 Andreas Schwab <schwab@redhat.com>
17485 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17486 __feraiseexcept instead of feraiseexcept.
17488 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17490 * math/math_private.h: Define defaults for libc_fetestexcept and
17492 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17493 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17495 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17496 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17497 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17498 libc_fetestexcept and libc_feupdateenv.
17500 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17501 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17502 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17503 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17504 libc_feholdexcept_setround.
17506 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17507 Add s_nearbyint-c and s_nearbyintf-c.
17508 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17509 nearbyintf inlines.
17510 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17511 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17513 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17515 * math/math_private.h: Define defaults for libc_fegetround,
17516 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17517 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17518 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17520 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17521 standard functions.
17522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17523 Remove comments and hacks for old compiler versions.
17524 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17525 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17526 libc_feholdexceptl.
17528 2011-10-18 Andreas Schwab <schwab@redhat.com>
17530 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17531 (__feraiseexcept_renamed): Add __NTH.
17532 (feraiseexcept): Add __NTH. Rename local variables to fix
17533 namespace violations.
17535 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17537 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17541 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17542 recently added interfaces.
17543 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17545 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17546 about macro parameter expansion.
17548 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17549 __NO_MATH_INLINES is defined. Cleanups.
17551 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17552 and __floorf is target has SSE4.1.
17553 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17554 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17555 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17556 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17558 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17560 (floorf): Likewise.
17562 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17564 2011-10-17 Andreas Schwab <schwab@redhat.com>
17566 * misc/sys/cdefs.h: Fix last change.
17568 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17571 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17573 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17575 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17578 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17582 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17583 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17585 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17586 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17587 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17588 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17589 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17590 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17591 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17592 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17594 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17595 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17596 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17598 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17599 ceil, ceilf, floor, floorf.
17601 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17602 Perform IRELATIVE relocations last.
17604 * elf/do-rel.h: Add another parameter nrelative, replacing the
17605 local variable with the same name. Change name of the function
17606 to end in Rel or Rela (uppercase).
17607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17608 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17609 elf_dynamic_do_##reloc function.
17611 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17613 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17614 is sufficient, at least on modern CPUs.
17616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17618 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17619 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17621 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17623 * math/bits/math-finite.h: Add entries for exp.
17624 * math/e_expl.c: Add __*_finite alias.
17625 * sysdeps/i386/fpu/e_exp.S: Likewise.
17626 * sysdeps/i386/fpu/e_expf.S: Likewise.
17627 * sysdeps/i386/fpu/e_expl.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17629 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17633 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17636 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17637 is sufficient, at least on modern CPUs.
17639 * ctype/ctype-info.c (__ctype_init): Define.
17640 * include/ctype.h (__ctype_init): Declare.
17641 (__ctype_b_loc): The variable is always initialized.
17642 (__ctype_toupper_loc): Likewise.
17643 (__ctype_tolower_loc): Likewise.
17644 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17645 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17647 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17649 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17651 * configure.in: Also look in $cxxmachine/include for C++ system
17654 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17656 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17657 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17658 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17659 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17661 (USE_AS_WMEMCMP): New macro.
17663 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17664 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17665 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17666 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17668 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17669 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17670 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17671 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17672 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17674 (USE_AS_WMEMCMP): New macro.
17675 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17676 * sysdeps/string/test-memcmp.c: Update.
17677 Fix simple_wmemcmp.
17679 * wcsmbs/wmemcmp.c: Update.
17680 (WMEMCMP): New macro.
17683 2011-10-12 Andreas Jaeger <aj@suse.de>
17686 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17688 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17690 * libio/iofwide.c (do_length): Avoid warning.
17692 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17694 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17696 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17698 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17699 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17700 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17701 * sysdeps/i386/i686/fpu/e_log.S: New file.
17702 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17703 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17705 * ctype/ctype.h: Add support for inlined isXXX functions when
17706 compiling C++ code.
17708 2011-10-14 Andreas Schwab <schwab@redhat.com>
17710 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17714 2011-10-13 Roland McGrath <roland@hack.frob.com>
17717 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17719 2011-10-13 Andreas Schwab <schwab@redhat.com>
17721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17722 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17725 * sysdeps/x86_64/memrchr.S: Check for zero size.
17727 * string/stratcliff.c: Add memrchr tests.
17729 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17732 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17733 rawmemchr-sse2 rawmemchr-sse2-bsf.
17734 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17735 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17736 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17737 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17738 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17739 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17740 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17741 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17742 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17743 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17744 * string/memrchr.c (MEMRCHR): New macro.
17746 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17748 Add integration with gcc's -ffinite-math-only and optimize wrapper
17750 * Versions.def: Define GLIBC_2.15 version for libm.
17751 * math/Makefile (headers): Add bits/math-finite.h.
17752 * math/bits/math-finite.h: New file.
17753 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17754 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17755 * math/e_acoshl.c: Add __*_finite alias.
17756 * math/e_acosl.c: Likewise.
17757 * math/e_asinl.c: Likewise.
17758 * math/e_atan2l.c: Likewise.
17759 * math/e_atanhl.c: Likewise.
17760 * math/e_coshl.c: Likewise.
17761 * math/e_exp10.c: Likewise.
17762 * math/e_exp10f.c: Likewise.
17763 * math/e_exp10l.c: Likewise.
17764 * math/e_exp2l.c: Likewise.
17765 * math/e_fmodl.c: Likewise.
17766 * math/e_gammal_r.c: Likewise.
17767 * math/e_hypotl.c: Likewise.
17768 * math/e_j0l.c: Likewise.
17769 * math/e_j1l.c: Likewise.
17770 * math/e_jnl.c: Likewise.
17771 * math/e_lgammal_r.c: Likewise.
17772 * math/e_log10l.c: Likewise.
17773 * math/e_log2l.c: Likewise.
17774 * math/e_logl.c: Likewise.
17775 * math/e_powl.c: Likewise.
17776 * math/e_sinhl.c: Likewise.
17777 * math/e_sqrtl.c: Likewise.
17778 * math/e_scalb.c: Completely rewritten and optimized.
17779 * math/e_scalbf.c: Likewise.
17780 * math/e_scalbl.c: Likewise.
17781 * math/w_acos.c: Likewise.
17782 * math/w_acosf.c: Likewise.
17783 * math/w_acosl.c: Likewise.
17784 * math/w_acosh.c: Likewise.
17785 * math/w_acoshf.c: Likewise.
17786 * math/w_acoshl.c: Likewise.
17787 * math/w_asin.c: Likewise.
17788 * math/w_asinf.c: Likewise.
17789 * math/w_asinl.c: Likewise.
17790 * math/w_atan2.c: Likewise.
17791 * math/w_atan2f.c: Likewise.
17792 * math/w_atan2l.c: Likewise.
17793 * math/w_atanh.c: Likewise.
17794 * math/w_atanhf.c: Likewise.
17795 * math/w_atanhl.c: Likewise.
17796 * math/w_exp10.c: Likewise.
17797 * math/w_exp10f.c: Likewise.
17798 * math/w_exp10l.c: Likewise.
17799 * math/w_fmod.c: Likewise.
17800 * math/w_fmodf.c: Likewise.
17801 * math/w_fmodl.c: Likewise.
17802 * math/w_j0.c: Likewise.
17803 * math/w_j0f.c: Likewise.
17804 * math/w_j0l.c: Likewise.
17805 * math/w_j1.c: Likewise.
17806 * math/w_j1f.c: Likewise.
17807 * math/w_j1l.c: Likewise.
17808 * math/w_jn.c: Likewise.
17809 * math/w_jnf.c: Likewise.
17810 * math/w_log.c: Likewise.
17811 * math/w_logf.c: Likewise.
17812 * math/w_logl.c: Likewise.
17813 * math/w_log10.c: Likewise.
17814 * math/w_log10f.c: Likewise.
17815 * math/w_log10l.c: Likewise.
17816 * math/w_log2.c: Likewise.
17817 * math/w_log2f.c: Likewise.
17818 * math/w_log2l.c: Likewise.
17819 * math/w_pow.c: Likewise.
17820 * math/w_powf.c: Likewise.
17821 * math/w_powl.c: Likewise.
17822 * math/w_remainder.c: Likewise.
17823 * math/w_remainderf.c: Likewise.
17824 * math/w_remainderl.c: Likewise.
17825 * math/w_scalb.c: Likewise.
17826 * math/w_scalbf.c: Likewise.
17827 * math/w_scalbl.c: Likewise.
17828 * math/w_sqrt.c: Likewise.
17829 * math/w_sqrtf.c: Likewise.
17830 * math/w_sqrtl.c: Likewise.
17831 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17832 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17834 * math/math_private.h: Declare __kernel_standard_f.
17835 * math/w_cosh.c: Remove cruft and optimize a bit.
17836 * math/w_coshf.c: Likewise.
17837 * math/w_coshl.c: Likewise.
17838 * math/w_exp2.c: Likewise.
17839 * math/w_exp2f.c: Likewise.
17840 * math/w_exp2l.c: Likewise.
17841 * math/w_hypot.c: Likewise.
17842 * math/w_hypotf.c: Likewise.
17843 * math/w_hypotl.c: Likewise.
17844 * math/w_lgamma.c: Likewise.
17845 * math/w_lgamma_r.c: Likewise.
17846 * math/w_lgammaf.c: Likewise.
17847 * math/w_lgammaf_r.c: Likewise.
17848 * math/w_lgammal.c: Likewise.
17849 * math/w_lgammal_r.c: Likewise.
17850 * math/w_sinh.c: Likewise.
17851 * math/w_sinhf.c: Likewise.
17852 * math/w_sinhl.c: Likewise.
17853 * math/w_tgamma.c: Likewise.
17854 * math/w_tgammaf.c: Likewise.
17855 * math/w_tgammal.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17858 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17859 Minor optimizations. Pretty printing. Remove cruft.
17860 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17862 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17864 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17865 * sysdeps/i386/fpu/e_asin.S: Likewise.
17866 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17867 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17868 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17869 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17870 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17871 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17872 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17873 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17874 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17875 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17876 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17877 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17878 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17879 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17880 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17881 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17882 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17883 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17884 * sysdeps/i386/fpu/e_log.S: Likewise.
17885 * sysdeps/i386/fpu/e_log10.S: Likewise.
17886 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17887 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17888 * sysdeps/i386/fpu/e_log2.S: Likewise.
17889 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17890 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17891 * sysdeps/i386/fpu/e_logf.S: Likewise.
17892 * sysdeps/i386/fpu/e_logl.S: Likewise.
17893 * sysdeps/i386/fpu/e_pow.S: Likewise.
17894 * sysdeps/i386/fpu/e_powf.S: Likewise.
17895 * sysdeps/i386/fpu/e_powl.S: Likewise.
17896 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17897 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17898 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17899 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17900 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17901 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17902 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17903 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17904 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17909 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17911 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17926 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17927 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17928 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17929 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17930 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17931 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17932 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17933 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17943 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17945 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17946 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17952 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17960 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17985 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17988 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17993 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17997 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18000 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18001 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18002 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18003 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18004 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18005 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18006 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18007 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18008 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18009 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18012 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18013 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18014 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18015 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18016 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18017 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18018 (__isnanf): Likewise.
18019 (__isinf_ns): Likewise.
18020 (__isinf_nsf): Likewise.
18021 (__finite): Likewise.
18022 (__finitef): Likewise.
18023 (__ieee754_sqrt): Define as macro.
18024 (__ieee754_sqrtf): Define as macro.
18025 (__ieee754_sqrtl): Define as macro.
18026 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18028 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18029 __FINITE_MATH_ONLY__ consistent.
18030 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18032 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18034 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18039 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18041 * po/ja.po: Update from translation team.
18043 2011-10-08 Roland McGrath <roland@hack.frob.com>
18045 * locale/programs/locarchive.c (prepare_address_space): New function.
18046 (create_archive, enlarge_archive, open_archive): Use it.
18048 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18049 inside [SHARED], where it is used.
18051 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18053 * nss/getent.c (netgroup_keys): Remove unused variable.
18054 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18056 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18058 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18061 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18062 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18063 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18064 * math/Makefile (libm-calls): Add s_isinf_ns.
18065 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18066 * math/multc3.c: Likewise.
18067 * math/s_casin.c: Likewise.
18068 * math/s_casinf.c: Likewise.
18069 * math/s_casinl.c: Likewise.
18070 * math/s_ccos.c: Likewise.
18071 * math/s_ccosf.c: Likewise.
18072 * math/s_ccosl.c: Likewise.
18073 * math/s_ctan.c: Likewise.
18074 * math/s_ctanf.c: Likewise.
18075 * math/s_ctanh.c: Likewise.
18076 * math/s_ctanhf.c: Likewise.
18077 * math/s_ctanhl.c: Likewise.
18078 * math/s_ctanl.c: Likewise.
18079 * math/w_fmod.c: Likewise.
18080 * math/w_fmodf.c: Likewise.
18081 * math/w_fmodl.c: Likewise.
18082 * math/w_remainder.c: Likewise.
18083 * math/w_remainderf.c: Likewise.
18084 * math/w_remainderl.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18086 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18089 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18090 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18091 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18092 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18094 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18096 * stdio-common/printf_fphex.c: Likewise.
18097 * stdio-common/printf_size.c: Likewise.
18099 * math/e_exp10.c: Include math_private.h using <...> not "...".
18100 * math/e_exp10f.c: Likewise.
18101 * math/e_exp10l.c: Likewise.
18102 * math/e_exp2l.c: Likewise.
18103 * math/e_j0l.c: Likewise.
18104 * math/e_j1l.c: Likewise.
18105 * math/e_jnl.c: Likewise.
18106 * math/e_lgammal_r.c: Likewise.
18107 * math/e_rem_pio2l.c: Likewise.
18108 * math/e_scalb.c: Likewise.
18109 * math/e_scalbf.c: Likewise.
18110 * math/e_scalbl.c: Likewise.
18111 * math/k_cosl.c: Likewise.
18112 * math/k_sinl.c: Likewise.
18113 * math/k_tanl.c: Likewise.
18114 * math/s_cacoshf.c: Likewise.
18115 * math/s_catan.c: Likewise.
18116 * math/s_catanf.c: Likewise.
18117 * math/s_catanh.c: Likewise.
18118 * math/s_catanhf.c: Likewise.
18119 * math/s_catanhl.c: Likewise.
18120 * math/s_catanl.c: Likewise.
18121 * math/s_ccosh.c: Likewise.
18122 * math/s_ccoshf.c: Likewise.
18123 * math/s_ccoshl.c: Likewise.
18124 * math/s_cexp.c: Likewise.
18125 * math/s_cexpf.c: Likewise.
18126 * math/s_cexpl.c: Likewise.
18127 * math/s_clog.c: Likewise.
18128 * math/s_clog10.c: Likewise.
18129 * math/s_clog10f.c: Likewise.
18130 * math/s_clog10l.c: Likewise.
18131 * math/s_clogf.c: Likewise.
18132 * math/s_clogl.c: Likewise.
18133 * math/s_csin.c: Likewise.
18134 * math/s_csinf.c: Likewise.
18135 * math/s_csinh.c: Likewise.
18136 * math/s_csinhf.c: Likewise.
18137 * math/s_csinhl.c: Likewise.
18138 * math/s_csinl.c: Likewise.
18139 * math/s_csqrt.c: Likewise.
18140 * math/s_csqrtf.c: Likewise.
18141 * math/s_csqrtl.c: Likewise.
18142 * math/s_ctan.c: Likewise.
18143 * math/s_ctanf.c: Likewise.
18144 * math/s_ctanh.c: Likewise.
18145 * math/s_ctanhf.c: Likewise.
18146 * math/s_ctanhl.c: Likewise.
18147 * math/s_ctanl.c: Likewise.
18148 * math/s_ldexp.c: Likewise.
18149 * math/s_ldexpf.c: Likewise.
18150 * math/s_ldexpl.c: Likewise.
18151 * math/s_significand.c: Likewise.
18152 * math/s_significandf.c: Likewise.
18153 * math/s_significandl.c: Likewise.
18154 * math/w_acos.c: Likewise.
18155 * math/w_acosf.c: Likewise.
18156 * math/w_acosh.c: Likewise.
18157 * math/w_acoshf.c: Likewise.
18158 * math/w_acoshl.c: Likewise.
18159 * math/w_acosl.c: Likewise.
18160 * math/w_asin.c: Likewise.
18161 * math/w_asinf.c: Likewise.
18162 * math/w_asinl.c: Likewise.
18163 * math/w_atan2.c: Likewise.
18164 * math/w_atan2f.c: Likewise.
18165 * math/w_atan2l.c: Likewise.
18166 * math/w_atanh.c: Likewise.
18167 * math/w_atanhf.c: Likewise.
18168 * math/w_atanhl.c: Likewise.
18169 * math/w_cosh.c: Likewise.
18170 * math/w_coshf.c: Likewise.
18171 * math/w_coshl.c: Likewise.
18172 * math/w_dremf.c: Likewise.
18173 * math/w_exp10.c: Likewise.
18174 * math/w_exp10f.c: Likewise.
18175 * math/w_exp10l.c: Likewise.
18176 * math/w_exp2.c: Likewise.
18177 * math/w_exp2f.c: Likewise.
18178 * math/w_fmod.c: Likewise.
18179 * math/w_fmodf.c: Likewise.
18180 * math/w_fmodl.c: Likewise.
18181 * math/w_hypot.c: Likewise.
18182 * math/w_hypotf.c: Likewise.
18183 * math/w_hypotl.c: Likewise.
18184 * math/w_j0.c: Likewise.
18185 * math/w_j0f.c: Likewise.
18186 * math/w_j0l.c: Likewise.
18187 * math/w_j1.c: Likewise.
18188 * math/w_j1f.c: Likewise.
18189 * math/w_j1l.c: Likewise.
18190 * math/w_jn.c: Likewise.
18191 * math/w_jnf.c: Likewise.
18192 * math/w_jnl.c: Likewise.
18193 * math/w_lgamma.c: Likewise.
18194 * math/w_lgamma_r.c: Likewise.
18195 * math/w_lgammaf.c: Likewise.
18196 * math/w_lgammaf_r.c: Likewise.
18197 * math/w_lgammal.c: Likewise.
18198 * math/w_lgammal_r.c: Likewise.
18199 * math/w_log.c: Likewise.
18200 * math/w_log10.c: Likewise.
18201 * math/w_log10f.c: Likewise.
18202 * math/w_log10l.c: Likewise.
18203 * math/w_log2.c: Likewise.
18204 * math/w_log2f.c: Likewise.
18205 * math/w_log2l.c: Likewise.
18206 * math/w_logf.c: Likewise.
18207 * math/w_logl.c: Likewise.
18208 * math/w_pow.c: Likewise.
18209 * math/w_powf.c: Likewise.
18210 * math/w_powl.c: Likewise.
18211 * math/w_remainder.c: Likewise.
18212 * math/w_remainderf.c: Likewise.
18213 * math/w_remainderl.c: Likewise.
18214 * math/w_scalb.c: Likewise.
18215 * math/w_scalbf.c: Likewise.
18216 * math/w_scalbl.c: Likewise.
18217 * math/w_sinh.c: Likewise.
18218 * math/w_sinhf.c: Likewise.
18219 * math/w_sinhl.c: Likewise.
18220 * math/w_sqrt.c: Likewise.
18221 * math/w_sqrtf.c: Likewise.
18222 * math/w_sqrtl.c: Likewise.
18223 * math/w_tgamma.c: Likewise.
18224 * math/w_tgammaf.c: Likewise.
18225 * math/w_tgammal.c: Likewise.
18227 * po/ja.po: Update from translation team.
18229 2011-09-29 Andreas Jaeger <aj@suse.de>
18232 * sunrpc/netname.c (netname2host): Fix logic.
18236 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18238 * math/w_remainder.c (__remainder): Likewise.
18239 * math/w_remainderf.c (__remainderf): Likewise.
18240 * math/libm-test.inc (remainder_test): Add test cases.
18242 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18244 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18247 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18249 * string/test-memcmp.c: Avoid unncessary #defines.
18250 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18252 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18254 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18255 Use new sse2 version for core i3 - i7 as it's faster
18256 than sse42 version.
18257 (bit_Prefer_PMINUB_for_stringop): New.
18258 * sysdeps/x86_64/rawmemchr.S: Update.
18259 Replace with faster SSE2 version.
18260 * sysdeps/x86_64/memrchr.S: New file.
18261 * sysdeps/x86_64/memchr.S: Update.
18262 Replace with faster SSE2 version.
18264 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18266 * elf/dl-load.c (lose): Add cast to avoid warning.
18268 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18270 * po/ca.po: Update from translation team.
18272 * inet/getnetgrent_r.c: Hook up nscd.
18273 * nscd/Makefile (routines): Add nscd_netgroup.
18274 (nscd-modules): Add netgroupcache.
18275 (CFLAGS-netgroupcache.c): Define.
18276 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18277 (cache_search): Add const to second parameter.
18278 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18280 (dbs): Add netgrdb entry.
18281 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18282 (verify_persistent_db): Handle netgrdb.
18283 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18284 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18286 (netgroup_response_header): Define.
18287 (innetgroup_response_header): Define.
18288 (datahead): Add netgroup_response_header and innetgroup_response_header
18290 * nscd/nscd.conf: Add entries for netgroup cache.
18291 * nscd/nscd.h (dbtype): Add netgrdb.
18292 (_PATH_NSCD_NETGROUP_DB): Define.
18293 (netgroup_iov_disabled): Declare.
18294 (xmalloc, xcalloc, xrealloc): Move declarations here.
18295 (cache_search): Adjust prototype.
18296 Add netgroup-related prototypes.
18297 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18298 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18299 (__nscd_innetgr): Declare.
18300 * nscd/selinux.c (perms): Use access_vector_t as element type and
18301 add netgroup-related initializers.
18302 * nscd/netgroupcache.c: New file.
18303 * nscd/nscd_netgroup.c: New file.
18304 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18305 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18306 For four parameters use innetgr.
18307 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18308 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18309 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18310 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18312 * nscd/connections.c (register_traced_file): Don't register file
18313 for disabled databases.
18315 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18317 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18319 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18320 from tree and freeing node.
18322 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18324 * nss/nsswitch.c (__nss_database_lookup): Handle
18325 nss_parse_service_list out of memory case.
18327 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18329 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18330 out of memory case.
18332 2011-10-04 Andreas Schwab <schwab@redhat.com>
18334 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18335 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18337 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18338 elf_machine_rela, elf_machine_lazy_rel.
18339 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18340 (ELF_DYNAMIC_DO_REL): Likewise.
18341 (ELF_DYNAMIC_DO_RELA): Likewise.
18342 (ELF_DYNAMIC_RELOCATE): Likewise.
18343 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18344 to ELF_DYNAMIC_DO_REL.
18345 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18346 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18347 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18349 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18350 skip_ifunc, don't call ifunc function if non-zero.
18351 (elf_machine_rela): Likewise.
18352 (elf_machine_lazy_rel): Likewise.
18353 (elf_machine_lazy_rela): Likewise.
18354 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18355 (elf_machine_lazy_rel): Likewise.
18356 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18358 (elf_machine_lazy_rel): Likewise.
18359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18361 (elf_machine_lazy_rel): Likewise.
18362 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18363 (elf_machine_lazy_rel): Likewise.
18364 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18365 (elf_machine_lazy_rel): Likewise.
18366 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18367 (elf_machine_lazy_rel): Likewise.
18368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18369 (elf_machine_lazy_rel): Likewise.
18370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18371 (elf_machine_lazy_rel): Likewise.
18372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18373 (elf_machine_lazy_rel): Likewise.
18375 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18377 * nss/nss_files/files-init.c (_nss_files_init): Use static
18378 initialization for all the *_traced_file variables.
18380 2011-09-28 Andreas Schwab <schwab@redhat.com>
18382 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18384 2011-09-27 Roland McGrath <roland@hack.frob.com>
18387 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18389 2011-09-27 Andreas Schwab <schwab@redhat.com>
18391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18392 Reread the line before reparsing it.
18394 2011-09-26 Andreas Schwab <schwab@redhat.com>
18396 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18398 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18399 Maxim Kuvyrkov <maxim@codesourcery.com>
18400 Joseph Myers <joseph@codesourcery.com>
18402 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18403 if needed for __stack_chk_guard.
18405 2011-09-19 Roland McGrath <roland@hack.frob.com>
18407 * sysdeps/posix/spawni.c (script_execute): Always define it.
18408 It will be optimized away if unused.
18409 (maybe_script_execute): New function.
18410 (__spawni): Call it.
18412 * Makerules: Don't include tls.make.
18413 (config-tls): Always set to thread.
18414 * tls.make.c: File removed.
18416 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18418 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18419 * config.make.in (CPPFLAGS-config): New substituted variable.
18421 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18426 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18427 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18429 2011-09-15 Roland McGrath <roland@hack.frob.com>
18431 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18432 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18434 (CALL_FAIL): Likewise.
18435 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18436 (CALL_FAIL): Macro removed.
18437 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18439 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18442 for __FINITE_MATH_ONLY__ == 1.
18444 2011-09-15 Andreas Schwab <schwab@redhat.com>
18446 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18447 __ieee754_sqrt instead of sqrt.
18448 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18449 __ieee754_sqrtf instead of sqrtf.
18450 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18451 __floorf instead of floorf.
18452 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18453 __floorf, __truncf instead of floorf, truncf.
18455 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18457 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18459 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18460 __extern_always_inline.
18461 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18464 2011-09-14 Andreas Schwab <schwab@redhat.com>
18466 * elf/rtld.c (dl_main): Also relocate in dependency order when
18467 doing symbol dependency testing.
18469 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18472 Always define `refsym'.
18474 2011-09-13 Andreas Schwab <schwab@redhat.com>
18476 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18477 (__FD_ELT): Renamed from __FDELT.
18478 * misc/bits/select2.h (__FD_ELT): Likewise.
18479 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18480 __FD_MASK instead of __FDELT, __FDMASK.
18481 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18483 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18486 * elf/Makefile (gen-ldd): Fix pattern.
18488 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18489 (init_tls): Likewise.
18491 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18495 2011-09-12 Andreas Schwab <schwab@redhat.com>
18497 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18498 `struct cmsghdr *' instead of `void *'.
18499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18502 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18504 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18506 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18507 ldd_rewrite_script.
18509 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18511 * configure.in: Remove --with-tls option.
18512 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18513 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18514 out in case it is missing.
18515 * sysdeps/ia64/elf/configure.in: Likewise.
18516 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18517 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18518 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18519 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18520 * sysdeps/sh/elf/configure.in: Likewise.
18521 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18522 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18523 * sysdeps/x86_64/elf/configure.in: Likewise.
18524 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18525 * sysdeps/mach/hurd/tls.h: Likewise.
18528 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18531 * configure.in: Fix use of AC_INIT.
18533 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18535 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18537 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18539 * malloc/hooks.c: Likewise.
18542 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18543 variables statically.
18544 (narenas): Initialize.
18545 (list_lock): Initialize.
18546 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18547 initializtion of main_arena and list_lock. Small cleanups.
18548 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18549 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18550 Add initializers to main_arena and mp_.
18551 (malloc_state): Remove pagesize member. Change all users to use
18554 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18555 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18556 is always initialized.
18558 * malloc/malloc.c: Removed unused configurations and dead code.
18559 * malloc/arena.c: Likewise.
18560 * malloc/hooks.c: Likewise.
18561 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18563 * include/tls.h: Removed. USE___THREAD must always be defined.
18564 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18565 * elf/dl-libc.c: Likewise.
18566 * elf/dl-tsd.c: Likewise.
18567 * include/errno.h: Likewise.
18568 * include/netdb.h: Likewise.
18569 * include/resolv.h: Likewise.
18570 * inet/herrno-loc.c: Likewise.
18571 * inet/herrno.c: Likewise.
18572 * malloc/arena.c: Likewise.
18573 * malloc/hooks.c: Likewise.
18574 * malloc/malloc.c: Likewise.
18575 * resolv/res-state.c: Likewise.
18576 * resolv/res_libc.c: Likewise.
18577 * sysdeps/i386/dl-machine.h: Likewise.
18578 * sysdeps/ia64/dl-machine.h: Likewise.
18579 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18580 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18581 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18582 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18583 * sysdeps/sh/dl-machine.h: Likewise.
18584 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18585 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18586 * sysdeps/unix/i386/sysdep.S: Likewise.
18587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18588 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18593 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18597 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18598 * sysdeps/x86_64/dl-machine.h: Likewise.
18599 * tls.make.c: Likewise.
18601 * configure.in: Remove --with-__thread option. Make tests for
18602 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18603 tls_model attribute fail if no support is available. Remove
18605 * Makeconfig: Adjust for dropped configure option. All features are
18607 * Makerules: Likewise.
18608 * Versions.def: Likewise.
18609 * argp/argp-fmtstream.c: Likewise.
18610 * argp/argp-fmtstream.h: Likewise.
18611 * argp/argp-help.c: Likewise.
18612 * assert/assert.c: Likewise.
18613 * config.h.in: Likewise.
18614 * config.make.in: Likewise.
18615 * configure: Likewise.
18616 * configure.in: Likewise.
18617 * csu/Versions: Likewise.
18618 * csu/init.c: Likewise.
18619 * elf/tst-audit2.c: Likewise.
18620 * elf/tst-tls10.c: Likewise.
18621 * elf/tst-tls10.h: Likewise.
18622 * elf/tst-tls11.c: Likewise.
18623 * elf/tst-tls12.c: Likewise.
18624 * elf/tst-tls14.c: Likewise.
18625 * elf/tst-tlsmod11.c: Likewise.
18626 * elf/tst-tlsmod12.c: Likewise.
18627 * elf/tst-tlsmod13.c: Likewise.
18628 * elf/tst-tlsmod13a.c: Likewise.
18629 * elf/tst-tlsmod14a.c: Likewise.
18630 * elf/tst-tlsmod15b.c: Likewise.
18631 * elf/tst-tlsmod16a.c: Likewise.
18632 * elf/tst-tlsmod16b.c: Likewise.
18633 * elf/tst-tlsmod7.c: Likewise.
18634 * elf/tst-tlsmod8.c: Likewise.
18635 * elf/tst-tlsmod9.c: Likewise.
18636 * gmon/gmon.c: Likewise.
18637 * grp/fgetgrent_r.c: Likewise.
18638 * grp/putgrent.c: Likewise.
18639 * hurd/fopenport.c: Likewise.
18640 * include/libc-symbols.h: Likewise.
18641 * include/tls.h: Likewise.
18642 * intl/gettextP.h: Likewise.
18643 * intl/loadinfo.h: Likewise.
18644 * locale/global-locale.c: Likewise.
18645 * locale/localeinfo.h: Likewise.
18646 * mach/devstream.c: Likewise.
18647 * malloc/arena.c: Likewise.
18648 * malloc/set-freeres.c: Likewise.
18649 * misc/err.c: Likewise.
18650 * misc/getttyent.c: Likewise.
18651 * misc/mntent_r.c: Likewise.
18652 * posix/getopt.c: Likewise.
18653 * posix/wordexp.c: Likewise.
18654 * pwd/fgetpwent_r.c: Likewise.
18655 * resolv/Versions: Likewise.
18656 * resolv/res_hconf.c: Likewise.
18657 * shadow/fgetspent_r.c: Likewise.
18658 * shadow/putspent.c: Likewise.
18659 * stdio-common/printf_fphex.c: Likewise.
18660 * stdio-common/tmpfile.c: Likewise.
18661 * stdlib/abort.c: Likewise.
18662 * stdlib/fmtmsg.c: Likewise.
18663 * sunrpc/auth_unix.c: Likewise.
18664 * sunrpc/clnt_perr.c: Likewise.
18665 * sunrpc/clnt_tcp.c: Likewise.
18666 * sunrpc/clnt_udp.c: Likewise.
18667 * sunrpc/clnt_unix.c: Likewise.
18668 * sunrpc/openchild.c: Likewise.
18669 * sunrpc/svc_simple.c: Likewise.
18670 * sunrpc/svc_tcp.c: Likewise.
18671 * sunrpc/svc_udp.c: Likewise.
18672 * sunrpc/svc_unix.c: Likewise.
18673 * sunrpc/xdr.c: Likewise.
18674 * sunrpc/xdr_array.c: Likewise.
18675 * sunrpc/xdr_rec.c: Likewise.
18676 * sunrpc/xdr_ref.c: Likewise.
18677 * sunrpc/xdr_stdio.c: Likewise.
18679 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18681 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18683 2011-07-03 Andreas Jaeger <aj@suse.de>
18685 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18687 regenerate with gen-libm-tests.pl.
18689 2010-05-12 Petr Baudis <pasky@suse.cz>
18692 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18693 around j0() zero points by switching to j1().
18694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18699 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18701 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18703 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18706 Patch in part by Pavel Roskin <proski@gnu.org>.
18709 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18711 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18712 Free memory block if necessary.
18715 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18716 be NULL. Don't lock in this case.
18718 2011-09-09 Roland McGrath <roland@hack.frob.com>
18720 * elf/elf.h (ELFOSABI_GNU): New macro.
18721 (ELFOSABI_LINUX): Define to that.
18723 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18725 * string/strncat.c (strncat): Undef the symbol in case it has been
18726 defined in bits/string.h.
18728 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18730 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18732 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18735 2011-08-17 Andreas Jaeger <aj@suse.de>
18737 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18739 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18740 Ian Lance Taylor <iant@google.com>
18742 * math/libm-test.inc (lround_test): New testcase.
18743 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18745 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18747 * Makefile: Remove support for automatic cvs check-ins.
18748 * Makerules: Likewise.
18749 * config.make.in: Likewise.
18750 * configure.in: Likewise.
18751 * intl/Makefile: Likewise.
18752 * locale/Makefile: Likewise.
18753 * po/Makefile: Likewise.
18754 * posix/Makefile: Likewise.
18755 * sysdeps/gnu/Makefile: Likewise.
18756 * sysdeps/mach/hurd/Makefile: Likewise.
18757 * sysdeps/sparc/sparc32/Makefile: Likewise.
18760 * posix/Makefile (bug-regex32-ENV): Define.
18761 Patch by John Stanley <jpsinthemix@verizon.net>.
18763 * misc/Makefile (headers): Add bits/select2.h.
18764 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18765 * misc/bits/select2.h: New file.
18766 * include/bits/select2.h: New file.
18767 * debug/Makefile (routines): Add fdelt_chk.
18768 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18769 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18771 * debug/fdelt_chk.c: New file.
18773 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18774 * wcsmbs/test-wmemcmp.c: Likewise.
18775 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18776 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18778 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18780 * string/Makefile (strop-tests): Add memcmp.
18781 * string/test-wmemcmp.c: New file.
18782 * string/test-memcmp.c: Add wmemcmp support.
18784 2011-09-08 Roland McGrath <roland@hack.frob.com>
18787 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18790 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18791 garbage value in a __mach_port_mod_refs call in the cases of the
18792 task-self and thread-self ports.
18794 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18796 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18798 2011-09-08 Andreas Schwab <schwab@redhat.com>
18800 * elf/dl-load.c (lose): Check for non-null L.
18802 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18804 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18806 * elf/dl-libc.c (dlerror_run): Pass back error code from
18810 * elf/dl-load.c (lose): Free l_origin if it is valid.
18812 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18814 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18815 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18816 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18817 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18818 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18819 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18821 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18823 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18824 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18825 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18826 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18827 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18828 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18829 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18830 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18831 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18832 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18834 2011-08-15 Alan Modra <amodra@gmail.com>
18837 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18838 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18839 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18840 ppc_mcount to static-only-routines.
18841 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18843 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18844 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18846 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18848 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18849 for finite and infinity parameters.
18851 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18854 and add nop instructions for throughput optimization.
18855 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18857 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18860 aligned copy for power7 with vector-scalar instructions.
18861 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18863 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18868 2011-09-07 Andreas Schwab <schwab@redhat.com>
18871 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18874 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18876 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18877 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18878 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18879 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18882 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18884 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18885 Forgot to demangle the pointer.
18887 * sysdeps/i386/sysdep.h: Define atom_text_section.
18888 * sysdeps/x86_64/sysdep.h: Likewise.
18889 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18890 section with atom_text_section.
18891 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18892 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18893 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18895 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18897 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18899 already be defined. Change to take two parameters and don't assign
18900 result to variable. Adjust all users.
18901 Define INTERNAL_GETTIME if not already defined.
18902 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18905 HAVE_CLOCK_GETTIME_VSYSCALL.
18906 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18909 gettimeofday vsyscall, just use time.
18911 2011-09-06 Andreas Schwab <schwab@redhat.com>
18913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18916 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18918 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18922 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18923 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18924 syscall if possible.
18926 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18928 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18929 e_ident. Don't pass to find_mapsXX.
18930 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18932 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18935 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18936 * sysdeps/x86_64/multiarch/strchr.S: Update.
18937 Check bit_slow_BSF bit.
18938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18939 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18940 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18942 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18945 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18947 (tryshell): Define.
18948 (__spawni): Change last parameter to be flag. Test
18949 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18950 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18951 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18952 * posix/spawni.c: Likewise.
18953 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18954 * posix/spawnp.c: Likewise. Change normal version to use
18955 SPAWN_XFLAGS_USE_PATH.
18956 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18957 SPAWN_XFLAGS_TRY_SHELL.
18960 * posix/glob.h: Remove gcc 1.x support.
18963 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18965 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18968 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18970 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18971 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18972 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18973 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18974 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18975 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18977 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18979 * sysdeps/x86_64/wcscmp.S: New file.
18981 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18982 wcscmp-c wcscmp-sse2
18983 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18984 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18986 * wcsmbs/wcscmp.c: Allow renaming.
18988 2011-09-05 David S. Miller <davem@davemloft.net>
18990 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18991 stack slot, rather than the struct return pointer slot.
18992 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18993 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18997 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18999 * po/ja.po: Update from translation team.
19002 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19003 kernel in 64-bit binaries.
19005 2011-09-01 David S. Miller <davem@davemloft.net>
19007 * elf/elf.h (HWCAP_SPARC_*): Move to..
19008 * sysdeps/sparc/sysdep.h: this new file and add new values.
19009 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19010 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19011 _DL_HWCAP_COUNT to 24.
19012 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19014 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19015 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19016 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19018 instead of magic constants.
19019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19021 2011-08-31 David S. Miller <davem@davemloft.net>
19023 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19025 Reimplement to do errno handling inline.
19026 (SYSCALL_ERROR_HANDLER): New macro.
19027 (__SYSCALL_STRING): Do not do errno handling in asm.
19028 (__CLONE_SYSCALL_STRING): Delete.
19029 (__INTERNAL_SYSCALL_STRING): Delete.
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19031 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19032 (PSEUDO): Reimplement to do errno handling inline.
19033 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19034 (SYSCALL_ERROR_HANDLER): New macro.
19035 (__SYSCALL_STRING): Do not do errno handling in asm.
19036 (__CLONE_SYSCALL_STRING): Delete.
19037 (__INTERNAL_SYSCALL_STRING): Delete.
19038 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19039 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19041 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19042 (inline_syscall*): Add 'err' argument.
19043 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19044 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19045 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19046 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19048 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19049 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19051 2011-08-30 Andreas Schwab <schwab@redhat.com>
19053 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19055 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19057 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19060 2011-08-24 David S. Miller <davem@davemloft.net>
19062 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19064 2011-08-24 Andreas Schwab <schwab@redhat.com>
19066 * elf/Makefile: Add rules to build and run unload8 test.
19067 * elf/unload8.c: New file.
19068 * elf/unload8mod1.c: New file.
19069 * elf/unload8mod1x.c: New file.
19070 * elf/unload8mod2.c: New file.
19071 * elf/unload8mod3.c: New file.
19073 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19076 2011-08-23 David S. Miller <davem@davemloft.net>
19078 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19079 subtract stack bias.
19080 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19081 %sp not %fp in calculations.
19082 (_JMPBUF_UNWINDS_ADJ): Likewise.
19084 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19085 (aio_suspend): Call it to force an exception region around the
19086 AIO_MISC_WAIT() invocation.
19088 2011-08-23 Andreas Schwab <schwab@redhat.com>
19090 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19093 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19095 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19097 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19098 and <dl-machine.h>.
19099 (Elf64_FuncDesc): Remove.
19101 2011-08-22 David S. Miller <davem@davemloft.net>
19103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19104 sigaltstack check, add missing cfi directives.
19105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19106 missing cfi directives, and sigaltstack handling.
19108 2011-08-16 Andreas Schwab <schwab@redhat.com>
19111 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19112 object is seen twice.
19113 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19115 * elf/Makefile (distribute): Add tst-initorder2.c.
19116 (tests): Add tst-initorder2.
19117 (modules-names): Add tst-initorder2a tst-initorder2b
19118 tst-initorder2c tst-initorder2d. Add rules to build them.
19119 ($(objpfx)tst-initorder2.out): New rule.
19120 * elf/tst-initorder2.c: New file.
19121 * elf/tst-initorder2.exp: New file.
19123 2011-08-22 Andreas Schwab <schwab@redhat.com>
19125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19127 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19128 dependencies back to end of function.
19130 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19131 $(elfobjdir)/ld.so.
19133 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19136 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19138 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19139 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19140 of __vdso_gettimeofday.
19141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19142 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19144 (_libc_vdso_platform_setup): Remove initialization of
19145 __vdso_gettimeofday and __vdso_time.
19147 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19149 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19150 and fgetc_unlocked.
19151 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19154 * elf/dl-open.c (add_to_global): Report additions to the global scope
19155 for LD_DEBUG=scopes.
19156 (dl_open_worker): Also print scope of newly loaded dependencies.
19157 (_dl_show_scope): Indicate if there is no scope.
19160 * stdio-common/Makefile (tests): Add bug24.
19161 * stdio-common/bug24.c: New file.
19163 2011-08-19 Andreas Jaeger <aj@suse.de>
19166 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19167 non-existant file when using close-on-exec mode.
19169 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19172 the very first instruction.
19174 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19175 the CFI state in the end.
19176 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19177 inclusion of dl-trampoline.h.
19178 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19180 2011-08-19 Andreas Schwab <schwab@redhat.com>
19182 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19183 expectations for long double.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19186 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19188 2011-08-14 David S. Miller <davem@davemloft.net>
19190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19191 artificual limit depends upon the system page size.
19193 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19195 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19196 * resolv/Makefile: Define CFLAGS-libresolv.
19198 2011-08-17 Andreas Schwab <schwab@redhat.com>
19200 * nss/makedb.c (compute_tables): Make variables used in nested
19203 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19205 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19206 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19207 if buffer was too small.
19209 * elf/pldd.c (main): Attach to all threads in the process.
19210 Rewrite /proc handling to use *at functions.
19212 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19214 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19215 specifies first scope to show.
19216 (dl_open_worker): Update callers. Move printing scope of new
19217 object to before the relocation.
19218 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19219 * sysdeps/generic/ldsodefs.h: Update declaration.
19221 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19222 string for the scope number.
19224 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19226 * nscd/servicescache.c (cache_addserv): Make sure written is always
19229 2011-08-14 Roland McGrath <roland@hack.frob.com>
19231 * sysdeps/i386/i486/bits/atomic.h
19232 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19233 statement expression, so as to suppress "set but not used" warning.
19234 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19236 * string/strncat.c (STRNCAT): Use prototype definition.
19238 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19239 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19241 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19242 (localedef-modules): Add localedef.
19243 (locale-modules): Add locale.
19245 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19246 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19247 to avoid a warning.
19249 2011-08-14 David S. Miller <davem@davemloft.net>
19251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19252 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19254 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19256 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19257 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19258 * elf/rtld.c (dl_main): Set l_name of vDSO.
19259 Call _dl_show_scope when DL_DEBUG_SCOPES.
19260 (process_dl_debug): Recognize scopes flag and also set it for all.
19261 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19262 Declare _dl_show_scope.
19264 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19265 (do_dlopen): Pass caller_dlopen to dl_open.
19266 (__libc_dlopen_mode): Initialize caller_dlopen.
19268 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19269 of libc. Make tolower call locale-independent. Optimize a bit by
19270 using isdigit instead of isalnum.
19271 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19273 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19275 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19276 was a dependency or dynamically loaded.
19278 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19280 * intl/l10nflist.c: Allow architecture-specific pop function.
19281 * sysdeps/x86_64/l10nflist.c: New file.
19283 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19286 2011-08-10 Andreas Schwab <schwab@redhat.com>
19288 * include/dirent.h: Add libc_hidden_proto for scandirat and
19289 scandirat64. Don't declare __scandirat64.
19290 * dirent/scandirat.c: Add libc_hidden_def.
19291 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19292 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19294 2011-08-10 David S. Miller <davem@davemloft.net>
19296 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19302 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19304 * Versions.def [libc]: Add GLIBC_2.15.
19305 * dirent/Makefile (routines): Add scandirat and scandirat64.
19306 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19308 * dirent/dirent.h: Declare scandirat and scandirat64.
19309 * dirent/scandirat.c: New file.
19310 * dirent/scandirat64.c: New file.
19311 * sysdeps/wordsize-64/scandirat.c: New file.
19312 * sysdeps/wordsize-64/scandirat64.c: New file.
19313 * dirent/opendir.c: Define opendirat.
19314 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19316 * dirent/scandir64.c: Adjust for scandir.c change.
19317 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19318 __scandirat64, and __scandir_cancel_handler.
19319 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19320 additional parameter and use openat instead of open (outside of ld.so).
19321 Add new __opendir as wrapper around __opendirat.
19322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19323 here without requiring old scandirat implementation.
19325 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19327 * dirent/scandir.c (cancel_handler): Renamed to
19328 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19329 defined. Adjust users.
19330 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19333 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19335 * string/test-string.h (IMPL): Use __STRING to expand name and then
19338 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19341 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19343 * string/Makefile: Update.
19344 (strop-tests): Append strncat.
19345 * string/test-wcscmp.c: New file.
19346 New comprehensive test for wcscmp.
19347 * string/test-strcmp.c: Update.
19348 (WIDE): New define.
19350 2011-07-22 Andreas Schwab <schwab@redhat.com>
19352 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19355 2011-07-26 Andreas Schwab <schwab@redhat.com>
19357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19358 encoding to ACE if AI_IDN.
19360 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19363 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19365 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19368 Fix overflow bug in strncat.
19369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19371 * string/test-strncat.c: Update.
19372 Add new tests for checking overflow bugs.
19374 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19377 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19378 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19379 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19380 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19381 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19382 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19383 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19384 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19386 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19387 (USE_AS_STRCAT): Define.
19388 Add strcat and strncat support.
19389 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19391 2011-07-25 Andreas Schwab <schwab@redhat.com>
19393 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19394 __n bigger than INT_MAX+1.
19395 (__strncmp_g): Likewise.
19397 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19399 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19400 * libio/stido.h: Likewise.
19402 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19407 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19414 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19419 (_dl_x86_64_save_sse): Likewise.
19421 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19425 (_dl_x86_64_save_sse): Likewise.
19427 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19429 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19431 2011-07-21 Andreas Schwab <schwab@redhat.com>
19433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19435 (_dl_x86_64_save_sse): Use correct AVX check.
19437 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19440 bug in strncpy/strncat.
19441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19443 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19445 * string/tester.c (test_strcat): Add tests for different alignments
19446 of source and destination.
19447 (test_strncat): Likewise.
19449 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19452 * posix/glob.c (glob): Check passed in values before using them in
19453 expressions to avoid some overflows.
19454 (glob_in_dir): Likewise.
19457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19458 check for AVX enablement so that we don't crash with old kernels and
19460 * elf/tst-audit4.c: Add same checks here.
19461 * elf/tst-audit6.c: Likewise.
19463 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19465 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19467 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19469 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19471 * po/cs.po: Update from translation team.
19472 * po/bg.po: Likewise.
19474 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19476 * misc/sys/cdefs.h: Add support for const attribute.
19477 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19478 to gnu_dev_{major,minor,makedev} functions.
19480 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19482 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19484 2011-07-20 Andreas Schwab <schwab@redhat.com>
19486 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19489 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19492 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19493 register in order to avoid conflicts with the soft frame pointer
19494 being held in r11 when necessary.
19495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19496 (INTERNAL_VSYSCALL_NCS): Likewise.
19498 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19500 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19501 * elf/dl-fini.c (_dl_fini): Adjust caller.
19502 * elf/dl-close.c (_dl_close_worker): Likewise.
19503 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19505 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19507 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19508 "aux_cache->nlibs < 0".
19510 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19511 in the reload-count case.
19513 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19516 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19517 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19518 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19519 * sysdeps/x86_64/multiarch/strcat.S: New file.
19520 * sysdeps/x86_64/multiarch/strncat.S: New file.
19521 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19522 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19523 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19524 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19526 (USE_AS_STRCAT): Define.
19527 Add strcat and strncat support.
19528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19530 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19531 * string/strncat.c: Update.
19532 (USE_AS_STRNCAT): Define.
19533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19534 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19536 * sysdeps/x86_64/multiarch/init-arch.h
19537 (bit_Prefer_PMINUB_for_stringop): New.
19538 (index_Prefer_PMINUB_for_stringop): Likewise.
19539 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19540 bit_Prefer_PMINUB_for_stringop.
19542 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19544 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19546 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19547 of casting of buffer.
19548 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19549 buffer32 and buffer64.
19550 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19551 writes instead of casting of buffer.
19552 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19554 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19557 2011-07-19 Andreas Schwab <schwab@redhat.com>
19559 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19561 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19563 * nscd/nscd.c (termination_handler): Don't do anything for a database
19564 if it has not yet been initialized.
19566 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19568 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19570 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19572 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19574 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19576 * po/nl.po: Update from translation team.
19577 * po/sv.po: Likewise.
19579 2011-07-16 Roland McGrath <roland@hack.frob.com>
19581 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19582 now disallowed by GCC.
19584 * configure.in (use-default-link): Default to yes if a test -shared
19585 link meets our qualifications.
19586 * configure: Regenerated.
19588 * config.make.in (output-format): New variable.
19589 * configure.in: Check for ld --print-output-format support.
19590 * configure: Regenerated.
19591 * Makerules ($(common-objpfx)format.lds)
19592 [$(output-format) != unknown]: Just use $(output-format),
19593 instead of the linker-script munging.
19595 2011-07-14 Roland McGrath <roland@hack.frob.com>
19597 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19598 of $(common-objpfx)shlib.lds.
19599 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19601 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19602 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19604 * configure.in (-z relro check): Adjust test code to add a large
19605 writable data section after it.
19606 * configure: Regenerated.
19608 2011-07-11 Roland McGrath <roland@hack.frob.com>
19610 * configure.in (-z relro check): Fix test code to make the variable
19612 * configure: Regenerated.
19614 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19616 * nscd/nscd.h (struct traced_file): Define.
19617 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19618 elements. Add traced_files.
19619 (inotify_fd): Declare.
19620 (register_traced_file): Declare.
19621 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19622 (inotify_fd): Export.
19623 (resolv_conf_descr): Remove.
19624 (nscd_init): Move inotify descriptor creation to main.
19625 Don't register files for notification here.
19626 (register_traced_file): New function.
19627 (invalidate_cache): Don't use reset_res to determine whether to call
19628 res_init, go through the list of registered files.
19629 (main_loop_poll): The inotify descriptors are now stored in the
19630 structures for the traced files.
19631 (main_loop_epoll): Likewise
19632 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19633 to __nss_disable_nscd.
19634 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19635 for a database anymore. Check the records for all the registered
19637 * nss/Makefile (libnss_files-routines): Add files-init.
19638 (libnss_db-routines): Add db-init.
19639 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19640 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19641 * nss/nss_db/db-init.c: New file.
19642 * nss/nss_files/files-init.c: New file.
19643 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19644 __nss_lookup_function.
19645 (__nss_lookup_function): Call nss_load_library.
19646 (nss_load_all_libraries): New function.
19647 (__nss_disable_nscd): Take parameter with callback function for files
19648 to register. Set is_nscd. Load all the DSOs for the NSS modules
19649 used for the cached services.
19650 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19652 options for features to all the files in nscd.
19654 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19656 2011-07-10 Roland McGrath <roland@hack.frob.com>
19658 * csu/elf-init.c (__libc_csu_init): Comment typo.
19660 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19662 * po/pl.po: Update from translation team.
19663 * po/ja.po: Likewise.
19664 * po/ru.po: Likewise.
19665 * po/ko.po: Likewise.
19666 * po/fr.po: Likewise.
19668 2011-07-09 Roland McGrath <roland@hack.frob.com>
19670 * configure.in (.ctors/.dtors header and trailer check):
19671 Use an empirical test on a built program.
19672 * configure: Regenerated.
19674 * configure.in (-z relro check): Use an empirical test on a built DSO.
19675 Detect, but do not require, on ia64.
19676 * configure: Regenerated.
19678 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19679 Update tests that use readelf to use $READELF instead.
19680 * configure: Regenerated.
19682 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19684 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19685 if the result is not used.
19687 2011-07-05 Andreas Jaeger <aj@suse.de>
19690 * stdlib/tst-strtod.c: Add testcase.
19692 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19694 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19695 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19696 The latter has a higher limit. Take additional parameter to pass to
19698 (__pathconf): Pass file to __statfs_link_max.
19699 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19701 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19705 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19708 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19709 (__statfs_filesize_max): Likewise.
19710 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19712 2011-07-05 Andreas Jaeger <aj@suse.de>
19714 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19716 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19718 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19720 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19723 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19725 * Makefile (strop-tests): Add strncat.
19726 * string/test-strncat.c: New file.
19728 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19730 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19732 2011-06-21 Andreas Jaeger <aj@suse.de>
19734 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19735 Copy rule from iconvdata/Makefile.
19737 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19740 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19741 but no long options are defined, just return 'W'.
19743 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19746 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19748 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19750 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19752 (innetgr): Likewise.
19754 2011-07-05 Roland McGrath <roland@hack.frob.com>
19756 * config.make.in (install_root): Default to $(DESTDIR).
19758 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19762 2011-07-02 Roland McGrath <roland@hack.frob.com>
19764 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19766 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19767 containing directory rather than embedding absolute directory names.
19769 * scripts/check-local-headers.sh: Rewritten using awk.
19770 Match by word, not by line. Print error messages for matches.
19771 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19773 * Makerules [shlib-lds-flags empty]:
19774 ($(common-objpfx)libc_pic.opts): New target.
19775 ($(common-objpfx)libc_pic.os.clean): New target.
19776 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19778 * config.make.in (OBJCOPY): New variable.
19779 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19780 * configure: Regenerated.
19782 * config.make.in (use-default-link): New variable.
19783 * configure.in (use_default_link): Grok --with-default-link to set it.
19784 * configure: Regenerated.
19785 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19786 (shlib-lds, shlib-lds-flags): Define to empty.
19788 * Makerules (shlib-lds): New variable.
19789 (shlib-lds-flags): New variable.
19790 (build-shlib, build-moduile, build-module-asneeded): Use it.
19791 ($(common-objpfx)libc.so): Use $(shlib-lds).
19792 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19793 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19795 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19796 DT_FLAGS/DT_FLAGS_1 with zero flags.
19798 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19799 linker script munging.
19801 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19803 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19805 * crypt/sha512.c (sha512_process_block): Perform total addition using
19806 128-bit if possible.
19807 (__sha512_finish_ctx): Likewise.
19808 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19810 * crypt/sha256.c (SWAP64): Define.
19811 (sha256_process_block): Perform total addition using 64-bit if
19813 (__sha256_finish_ctx): Likewise.
19815 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19817 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19819 * nscd/hstcache.c (cache_addhst): Likewise.
19820 * nscd/grpcache.c (cache_addgr): Likewise.
19821 * nscd/aicache.c (addhstaiX): Likewise
19822 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19824 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19826 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19828 * nscd/hstcache.c (cache_addhst): Likewise.
19829 * nscd/grpcache.c (cache_addgr): Likewise.
19830 * nscd/aicache.c (addhstaiX): Likewise
19832 2011-07-01 Andreas Schwab <schwab@redhat.com>
19834 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19835 domain only when needed.
19837 2011-06-30 Andreas Schwab <schwab@redhat.com>
19839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19840 is always restored.
19842 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19844 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19845 are re-adding the entry.
19846 * nscd/servicescache.c (cache_addserv): Likewise.
19848 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19850 * sysdeps/generic/dl-irel.h: fix protection against multiple
19852 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19854 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19857 * malloc/memusage.sh: Fix quoting in message.
19858 * debug/xtrace.sh: Likewise.
19860 * configure.in: Remove support for --experimental-malloc option, make
19862 * config.make.in: Likewise.
19863 * malloc/Makefile: Likewise.
19865 2011-06-27 Andreas Schwab <schwab@redhat.com>
19867 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19868 two-byte characters.
19870 2011-06-27 Roland McGrath <roland@hack.frob.com>
19872 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19873 AC_CACHE_CHECK invocation.
19874 * configure: Regenerated.
19876 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19878 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19881 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19882 bit from old_res_options.
19884 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19886 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19887 value type for setfct.
19889 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19892 __gettimeofday instead of gettimeofday.
19894 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19896 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19898 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19905 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19908 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19909 strcpy-sse2-unaligned strncpy-sse2-unaligned
19910 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19911 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19912 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19913 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19914 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19917 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19918 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19919 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19920 (STRCPY): Support SSE2 and SSSE3 versions.
19922 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19925 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19926 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19927 kernels which artificially limit size of requests.
19929 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19932 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19933 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19934 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19935 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19936 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19937 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19938 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19941 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19942 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19943 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19944 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19945 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19947 Enable unaligned load optimization for Intel Core i3, i5 and i7
19949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19951 (index_Fast_Unaligned_Load): Define.
19952 (HAS_FAST_UNALIGNED_LOAD): Define.
19954 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19956 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19958 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19961 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19962 until it is clear that the information is realy needed.
19963 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19965 2011-06-22 Andreas Schwab <schwab@redhat.com>
19967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19969 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19972 /sys/devices/system/cpu/online if it is usable.
19974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19975 reading the information from the /proc filesystem to once a second.
19977 2011-06-21 Andreas Jaeger <aj@suse.de>
19979 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19980 NULL after inclusion of kernel headers.
19982 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19984 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19985 calls to internal_setent.
19988 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19989 addresses using gethostbyname4_r ignore IPv4 addresses.
19991 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19992 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19994 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19996 2011-06-20 David S. Miller <davem@davemloft.net>
19998 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20000 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20002 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20003 (elf_irel): Use it.
20004 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20005 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20006 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20007 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20008 * sysdeps/x86_64/dl-irel.h: Likewise.
20010 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20011 * elf/dl-sym.c: Likewise.
20013 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20015 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20016 need to dereference resplen2.
20018 2011-06-14 Andreas Schwab <schwab@redhat.com>
20020 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20022 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20024 * Makeconfig: Define vardbdir and inst_vardbdir.
20025 * nss/Makefile: Add rules to install db-Makefile.
20027 * nss/nss_db/db-XXX.c: Cleanup.
20029 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20030 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20032 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20033 * nss/makedb.c: Implement -g option to specify that value strings
20034 are generated and should not be added to table iterated over for
20036 * nss/nss_db/db-initgroups.c: New file.
20038 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20041 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20042 (internal_getgrouplist): Adjust to name change.
20043 Update use_initgroups_entry if this is not the first call.
20044 * nss/databases.def: Add initgroups entry.
20046 * nss/makedb.c (compute_tables): Check result of multiple hash table
20047 sizes to minimize maximum chain length.
20049 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20051 * Versions.def: Add entry for libnss_db.
20052 * shlib-versions: Likewise.
20053 * nss/Makefile: Add rules to build libnss_db.
20054 * nss/Versions: Add libnss_db information. Organize libnss_files
20056 * nss/db-Makefile: Add gshadow support. Change rules for the new
20057 makedb progra. Some minor improvements to generate smaller files.
20058 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20060 * nss/makedb.c: ...here.
20061 Improve database format to be smaller and require less memory at
20063 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20065 * nss/nss_db/db-netgrp.c: Likewise.
20066 * nss/nss_db/db-open.c: Likewise.
20067 * nss/nss_files/flies-XXX.x: Adjust comments.
20068 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20069 * nss/nss_files/files-grp.c: Likewise.
20070 * nss/nss_files/files-hosts.c: Likewise.
20071 * nss/nss_files/files-network.c: Likewise.
20072 * nss/nss_files/files-proto.c: Likewise.
20073 * nss/nss_files/files-pwd.c: Likewise.
20074 * nss/nss_files/files-rpc.c: Likewise.
20075 * nss/nss_files/files-service.c: Likewise.
20076 * nss/nss_files/files-sgrp.c: Likewise.
20077 * nss/nss_files/files-spwd.c: Likewise.
20078 * nss/nss_db/db-alias.c: Removed.
20079 * nss/nss_db/dummy-db.h: Removed.
20081 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20083 * nss/makedb.c: Rewritten to not use database library.
20084 * nss/Makefile: Update to build new makedb program.
20086 2011-06-14 Andreas Jaeger <aj@suse.de>
20088 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20089 memset declaration.
20091 2011-06-10 Andreas Schwab <schwab@redhat.com>
20093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20096 2011-06-10 Roland McGrath <roland@hack.frob.com>
20098 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20099 * elf/Makefile ($(objpfx)ld.so): Likewise.
20101 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20102 Don't list ld.so twice in dependencies.
20104 * posix/bug-regex31.c: Include <stdlib.h>.
20106 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20108 * nis/nss_compat/compat-spwd.c
20109 (getspent_next_nss_netgr): Remove unused variable.
20110 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20112 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20113 nonmembers" output to use the right array.
20115 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20117 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20119 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20120 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20121 * catgets/gencat.c (read_input_file): Likewise.
20122 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20124 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20125 variable definition inside #if's controlling its use.
20127 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20129 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20131 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20133 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20136 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20138 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20139 * configure: Regenerated.
20141 * Makerules: Revert last change.
20142 * elf/Makefile: Likewise.
20144 2011-06-09 Roland McGrath <roland@hack.frob.com>
20146 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20147 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20148 (reloc-link): Likewise.
20150 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20152 * elf/Makefile: Add rules to build pldd.
20153 * elf/pldd.c: New file.
20154 * elf/pldd-xx.c: New file.
20156 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20158 * version.h: Update for 2.15 development version.
20160 2011-06-07 David S. Miller <davem@davemloft.net>
20162 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20165 elf_machine_lazy_rel): Likewise.
20166 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20168 elf_machine_lazy_rel): Likewise.
20169 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20170 dl_hwcap via passed in argument.
20171 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20174 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20176 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20178 2011-06-06 Roland McGrath <roland@hack.frob.com>
20181 * manual/fdl-1.1.texi: New file, verbatim from:
20182 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20183 * manual/lgpl-2.1.texi: New file, verbatim from:
20184 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20185 * manual/Makefile (licenses): New variable, list those new file names.
20187 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20189 * manual/fdl.texi: File removed.
20190 * manual/lesser.texi: File removed.
20191 * manual/libc.texinfo (Copying, Documentation License):
20192 Use new @include file names, put @appendix directive before @include.
20194 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20197 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20198 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20199 (mq_open): Add __NTH.
20201 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20204 Assume Intel Core i3/i5/i7 processor if AVX is available.
20206 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20211 2011-05-31 Andreas Schwab <schwab@redhat.com>
20213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20214 memory. Use alloca_account. Fix memory leak when retrying.
20216 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20218 * version.h (RELEASE): Bump for 2.14 release.
20219 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20221 * config.make.in (RANLIB): Remove entry.
20223 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20225 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20226 (libc.pot): Work around missing support for .ksh extension in xgettext.
20229 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20230 if both request failed.
20231 (send_dg): In case of server errors clear resplen or *resplen2.
20234 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20235 when there are multiple maps.
20236 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20237 (_dl_fini): Remove test here.
20239 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20241 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20244 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20245 bit from old_res_options.
20246 (gaih_inet): Likewise.
20249 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20252 * resolv/res_init.c (res_setoptions): Make the code more compact.
20255 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20259 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20261 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20264 * malloc/malloc.h: Declare malloc hook variables as volatile.
20266 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20270 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20271 raise in the comment.
20272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20273 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20274 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20276 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20279 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20280 grow the buffers more if it already has to be sufficient.
20281 (build_wcs_upper_buffer): Likewise.
20282 * posix/regexec.c (check_matching): Likewise.
20283 (clean_state_log_if_needed): Likewise.
20284 (extend_buffers): Don't enlarge buffers beyond size of the input
20286 Patches mostly by Emil Wojak <emil@wojak.eu>.
20287 * posix/bug-regex32.c: New file.
20288 * posix/Makefile (tests): Add bug-regex32.
20290 * locale/findlocale.c (_nl_find_locale): Return right away if
20291 _nl_explode_name failed.
20292 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20294 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20296 * debug/xtrace.sh: Unify messages.
20297 * malloc/memusage.sh: Likewise.
20300 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20301 time symbol from vDSO. Substitute with vsyscall if not available.
20302 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20305 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20306 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20307 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20308 Add sendmmsg and internal_sendmmsg.
20309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20310 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20313 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20314 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20317 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20320 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20321 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20323 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20327 * iconvdata/Makefile (tests): Add bug-iconv9.
20328 * iconvdata/bug-iconv9.c: New file.
20330 2011-05-27 Andreas Schwab <schwab@redhat.com>
20333 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20335 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20337 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20338 (struct user_regs_struct): Change intcs field back to cs.
20340 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20342 * po/ja.po: Update from translation team.
20344 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20347 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20348 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20350 2011-05-20 Andreas Schwab <schwab@redhat.com>
20352 * stdlib/longlong.h: Update from GCC.
20354 2011-05-23 Andreas Schwab <schwab@redhat.com>
20356 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20358 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20359 Add parameter name.
20360 (__sysconf): Pass it down.
20362 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20365 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20367 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20368 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20369 add in in __libc_use_alloca calls. Adjust callers.
20370 (glob): Use malloc in some situations.
20372 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20373 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20376 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20378 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20379 and CLOCK_BOOTTIME_ALARM.
20382 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20385 * string/_strerror.c (__strerror_r): Print negative errors as signed
20389 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20390 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20391 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20393 * configure.in: Fix typo in redirection and correct removal of test
20394 files in two cases.
20397 * locale/setlocale.c (new_composite_name): Fix test to check for
20398 identical name of all categories.
20401 * libio/filedoalloc.c (local_isatty): New function.
20402 (_IO_file_doallocate): Use local_isatty.
20403 * stdio-common/perror.c (perror): In case a new stream is used
20404 forward the stream error.
20405 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20408 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20413 * include/alloca.h (extend_alloca_account): Define.
20416 * posix/regex.h: Fix comments with documentation of user-accessible
20417 fields after compilation and describe correct free'ing of pattern
20418 after re_compile_pattern.
20419 Patch by Reuben Thomas <rrt@sc3d.org>.
20421 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20423 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20424 and -mno-altivec to prevent the compiler from using Altivec and/or
20425 VSX instructions when the corresponding registers are not available.
20427 2011-05-19 Andreas Schwab <schwab@redhat.com>
20429 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20431 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20433 * libio/freopen.c (freopen): Use __dup2, not dup2.
20434 * libio/freopen64.c (freopen64): Likewise.
20436 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20439 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20440 * math/Makefile (tests): Add test-powl.
20441 (CFLAGS-test-powl.c): Define.
20442 * math/test-powl.c: New file.
20444 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20446 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20448 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20451 * iconvdata/gb18030.c: Update to GB18020-2005.
20453 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20455 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20456 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20457 Patch by Aharon Robbins <arnold@skeeve.com>.
20460 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20464 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20465 through underflows.
20468 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20469 point to strings before performing equality test for error_one_per_line
20473 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20477 (struct user_fpregs_struct): Avoid __uint*_t types.
20480 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20481 symbol info. Use it instead of calling _dl_addr locally.
20482 (lock_and_info): New function.
20483 (tr_freehook): Call lock_and_info and pass symbol info as additional
20484 parameter to tr_where.
20485 (tr_mallochook): Likewise.
20486 (tr_reallochook): Likewise.
20487 (tr_memalignhook): Likewise.
20489 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20490 used and couldn't be at all thread-safe.
20492 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20494 * libio/freopen.c (freopen): Don't close old file descriptor
20495 before the new one is opened. Instead dup the new file descriptor
20496 to the old one after the new stream is created.
20497 * libio/freopen64.c (freopen64): Likewise.
20498 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20499 * libio/fileops.c (_IO_new_file_close_it): Handle new
20500 _IO_FLAGS2_NOCLOSE flag.
20501 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20502 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20503 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20504 _IO_FLAGS2_NOCLOSE flag.
20505 * include/unistd.h: Add hidden_proto for dup3.
20506 Define __have_dup3.
20507 * io/dup3.c: Define hidden symbol.
20508 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20511 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20512 when an incomplete long option is used.
20513 * posix/tst-getopt_long1.c: New file.
20514 * posix/Makefile (tests): Add tst-getopt_long1.
20517 * scripts/config.guess: Update from autoconf-2.68.
20518 * scripts/config.sub: Likewise.
20521 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20523 (has_cpuclock): ...this. New function.
20524 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20525 macro here based on has_cpuclock code.
20528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20529 First byte (not low byte) is now always NUL.
20530 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20533 Use non-cancelable interfaces.
20536 * locale/iso-639.def: Add entry for Sorani.
20539 * include/stdlib.h: Move include protection to the right place.
20540 Define abort_msg_s. Declare __abort_msg with it.
20541 * stdlib/abort.c (__abort_msg): Adjust type.
20542 * assert/assert.c (__assert_fail_base): New function. Majority
20543 of code from __assert_fail. Allocate memory for __abort_msg with
20545 (__assert_fail): Now call __assert_fail_base.
20546 * assert/assert-perr.c: Remove bulk of implementation. Use
20547 __assert_fail_base.
20548 * include/assert.hL Declare __assert_fail_base.
20549 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20551 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20553 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20557 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20558 until all modules are registered in the DTV.
20559 * elf/Makefile: Add rules to build and run tst-tls19.
20560 * elf/tst-tls19.c: New file.
20561 * elf/tst-tls19mod1.c: New file.
20562 * elf/tst-tls19mod2.c: New file.
20563 * elf/tst-tls19mod3.c: New file.
20564 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20567 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20571 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20572 two-byte sequence errors.
20573 * iconvdata/Makefile (tests): Add bug-iconv8.
20574 * iconvdata/bug-iconv8.c: New file.
20577 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20580 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20583 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20584 (dummy_getcfa): New function.
20585 (init): Get _Unwind_GetCFA address, use dummy if not found.
20586 (backtrace_helper): In recursion check, also check whether CFA changes.
20587 (__backtrace): Completely initialize arg.
20589 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20590 storing incomplete byte sequence in state object. Avoid testing for
20591 guaranteed too small input if we know there is enough data available.
20593 2011-05-11 Andreas Schwab <schwab@redhat.com>
20595 * Makeconfig (+link-pie): Indent.
20596 * Rules (binaries-pie): Define if $(have-fpie) and
20598 (binaries-shared): Also filter out $(binaries-pie).
20599 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20600 * nscd/Makefile (others-pie): Add nscd.
20601 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20602 ($(objpfx)nscd): Remove command override.
20603 * login/Makefile (others-pie): Add pt_chown.
20604 ($(objpfx)pt_chown): Remove command override.
20605 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20606 remove command overrides.
20608 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20610 * libio/tst_putwc.c: Fix error messages.
20613 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20614 currently writing and seek to current position when not.
20615 * libio/Makefile (tests): Add bug-fclose1.
20616 * libio/bug-fclose1.c: New file.
20618 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20621 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20622 don't set DF_1_NODELETE here.
20623 (do_lookup_x): When entering new entry test for copy relocation
20624 and if necessary set DF_1_NODELETE flag.
20625 * elf/tst-unique4.cc: New file.
20626 * elf/tst-unique4.h: New file.
20627 * elf/tst-unique4lib.cc: New file.
20628 * elf/Makefile: Add rules to build and run tst-unique4.
20629 Patch by Piotr Bury <pbury@goahead.com>.
20631 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20634 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20637 * misc/mntent_r.c (addmntent): Flush the stream after the output
20640 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20641 (is_trusted_path_normalize): Skip initial colon. Append slash
20642 to empty buffer. Duplicate is_trusted_path code but allow
20643 constructed patch to be prefix.
20644 (is_dst): Allow $ORIGIN followed by /.
20645 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20646 Correct testing of result of is_trusted_path_normalize
20647 (decompose_rpath): Fix warning.
20649 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20652 * grp/initgroups.c (internal_getgrouplist): When we found the service
20653 list through the initgroups entry in nsswitch.conf do not always
20654 continue on a successful lookup. Don't always use the
20655 __nss_group_database value if it is set.
20656 * nss/nsswitch.conf (initgroups): Change action for successful db
20657 lookup to continue for compatibility.
20659 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20662 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20664 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20666 * iconvdata/tst-tables.sh: Likewise.
20667 * iconvdata/cp770.c: New file.
20668 * iconvdata/cp771.c: New file.
20669 * iconvdata/cp772.c: New file.
20670 * iconvdata/cp773.c: New file.
20671 * iconvdata/cp774.c: New file.
20672 * iconvdata/testdata/CP770: New file.
20673 * iconvdata/testdata/CP770..UTF8: New file.
20674 * iconvdata/testdata/CP771: New file.
20675 * iconvdata/testdata/CP771..UTF8: New file.
20676 * iconvdata/testdata/CP772: New file.
20677 * iconvdata/testdata/CP772..UTF8: New file.
20678 * iconvdata/testdata/CP773: New file.
20679 * iconvdata/testdata/CP773..UTF8: New file.
20680 * iconvdata/testdata/CP774: New file.
20681 * iconvdata/testdata/CP774..UTF8: New file.
20683 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20685 * iconvdata/gen-8bit-gap.sh: Likewise.
20686 * iconvdata/gen-8bit.sh: Likewise.
20688 * locale/iso-639.def: Add ary entry.
20691 * locale/C-translit.h.in: Add U20A1 transliteration.
20694 * locale/iso-639.def: Add wae entry.
20695 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20698 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20702 * locale/C-translit.h.in: Add entry for U20B9.
20703 Patch by pravin.d.s@gmail.com.
20705 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20708 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20709 ENAMETOOLONG use generic getcwd.
20710 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20711 in rtld. Use *stat64.
20712 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20713 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20714 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20715 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20716 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20717 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20718 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20719 __fstatat64 macros.
20720 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20721 * dirent/rewinddir.c: Add libc_hidden_def.
20722 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20723 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20725 * include/dirent.h (__alloc_dir): Add flags parameter.
20726 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20727 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20729 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20730 from fdopendir if O_CLOEXEC is already set.
20732 2011-03-15 Alan Modra <amodra@gmail.com>
20734 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20735 l_tls_firstbyte_offset non-zero. Save padding offset in
20736 l_tls_firstbyte_offset for later use.
20737 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20738 freeing static tls block.
20740 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20742 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20743 where #ifdef was intended. The intent is to prevent ARG_MAX from
20744 being defined by the kernel headers.
20746 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20749 * resolv/resolv.h: Define RES_NOTLDQUERY.
20750 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20751 no-tld-query and set RES_NOTLDQUERY.
20752 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20753 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20754 modern BIND to search name as TLD unless forbidden.
20756 2011-05-07 Petr Baudis <pasky@suse.cz>
20757 Ulrich Drepper <drepper@gmail.com>
20760 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20761 (is_trusted_path): ...to here.
20762 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20763 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20764 using is_trusted_path_normalize() in setuid scripts.
20766 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20768 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20769 __BEGIN/__END_DECLS.
20771 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20774 NSS_STATUS_NOTFOUND if no record was found.
20776 2011-05-05 Andreas Schwab <schwab@redhat.com>
20778 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20779 (headers-not-in-tirpc): Remove rpc/netdb.h
20780 * resolv/netdb.h: Revert last change.
20782 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20784 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20785 circular dependency between libgcc.a and libc.a.
20787 2011-05-05 Andreas Schwab <schwab@redhat.com>
20789 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20790 * nis/Makefile: Don't install rpcsvc/*.
20791 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20792 instead of <rpc/types.h>.
20793 (MAXHOSTNAMELEN): Define.
20795 2011-05-03 Andreas Schwab <schwab@redhat.com>
20797 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20799 2011-04-28 Maciej Babinski <mbabinski@google.com>
20802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20803 gethostbyname4_r when IPv6 results are possible.
20805 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20808 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20809 _PC_PIPE_BUF handling.
20811 2011-04-30 Bruno Haible <bruno@clisp.org>
20814 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20815 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20817 * inet/getnameinfo.c (getnameinfo): Likewise.
20819 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20821 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20822 to groups setting in database lookup.
20823 * nss/nsswitch.conf: Add initgroups entry.
20825 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20828 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20830 Patch by Eric Blake <eblake@redhat.com>.
20832 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20834 * sunrpc/Makefile (need-export-routines): Add svc_run.
20835 (routines): Remove svc_run.
20836 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20837 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20838 * sunrpc/svc_run.c (svc_run): Likewise.
20839 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20841 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20843 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20844 problem in reallocation in last patch.
20846 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20848 * sunrpc/Makefile: Move inclusion of Rules.
20850 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20852 * nss/nss_files/files-initgroups.c: New file.
20853 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20854 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20855 _nss_files_initgroups_dyn.
20857 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20859 * elf/elf.h (R_ARM_IRELATIVE): Define.
20861 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20863 * po/ru.po: Update from translation team.
20865 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20867 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20870 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20874 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20877 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20879 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20881 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20887 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20890 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20892 * stdlib/bug-getcontext.c: New file.
20893 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20895 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20897 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20898 instructions into .machine "z9-109".
20899 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20900 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20902 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20904 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20905 between environment variables and auxiliary vector.
20907 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20909 * Makefile: Add rules to build linkobj/libc.so.
20910 * include/libc-symbols.h: Define libc_hidden_nolink.
20911 * include/rpc/auth.h: Mark functions which are to be hidden.
20912 * include/rpc/auth_des.h: Likewise.
20913 * include/rpc/auth_unix.h: Likewise.
20914 * include/rpc/clnt.h: Likewise.
20915 * include/rpc/des_crypt.h: Likewise.
20916 * include/rpc/key_prot.h: Likewise.
20917 * include/rpc/pmap_clnt.h: Likewise.
20918 * include/rpc/pmap_prot.h: Likewise.
20919 * include/rpc/pmap_rmt.h: Likewise.
20920 * include/rpc/rpc_msg.h: Likewise.
20921 * include/rpc/svc.h: Likewise.
20922 * include/rpc/svc_auth.h: Likewise.
20923 * include/rpc/xdr.h: Likewise.
20924 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20925 * nss/Makefile: Likewise.
20926 * sunrpc/Makefile: Don't install headers. Build library with normal
20927 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20928 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20929 for the compat linking library. Remove use of INTDEF/INTUSE.
20930 * sunrpc/auth_none.c: Likewise.
20931 * sunrpc/auth_unix.c: Likewise.
20932 * sunrpc/authdes_prot.c: Likewise.
20933 * sunrpc/authuxprot.c: Likewise.
20934 * sunrpc/clnt_gen.c: Likewise.
20935 * sunrpc/clnt_perr.c: Likewise.
20936 * sunrpc/clnt_raw.c: Likewise.
20937 * sunrpc/clnt_simp.c: Likewise.
20938 * sunrpc/clnt_tcp.c: Likewise.
20939 * sunrpc/clnt_udp.c: Likewise.
20940 * sunrpc/clnt_unix.c: Likewise.
20941 * sunrpc/des_crypt.c: Likewise.
20942 * sunrpc/des_soft.c: Likewise.
20943 * sunrpc/get_myaddr.c: Likewise.
20944 * sunrpc/key_call.c: Likewise.
20945 * sunrpc/key_prot.c: Likewise.
20946 * sunrpc/netname.c: Likewise.
20947 * sunrpc/pm_getmaps.c: Likewise.
20948 * sunrpc/pm_getport.c: Likewise.
20949 * sunrpc/pmap_clnt.c: Likewise.
20950 * sunrpc/pmap_prot.c: Likewise.
20951 * sunrpc/pmap_prot2.c: Likewise.
20952 * sunrpc/pmap_rmt.c: Likewise.
20953 * sunrpc/publickey.c: Likewise.
20954 * sunrpc/rpc_cmsg.c: Likewise.
20955 * sunrpc/rpc_common.c: Likewise.
20956 * sunrpc/rpc_dtable.c: Likewise.
20957 * sunrpc/rpc_prot.c: Likewise.
20958 * sunrpc/rpc_thread.c: Likewise.
20959 * sunrpc/rtime.c: Likewise.
20960 * sunrpc/svc.c: Likewise.
20961 * sunrpc/svc_auth.c: Likewise.
20962 * sunrpc/svc_authux.c: Likewise.
20963 * sunrpc/svc_raw.c: Likewise.
20964 * sunrpc/svc_run.c: Likewise.
20965 * sunrpc/svc_simple.c: Likewise.
20966 * sunrpc/svc_tcp.c: Likewise.
20967 * sunrpc/svc_udp.c: Likewise.
20968 * sunrpc/svc_unix.c: Likewise.
20969 * sunrpc/svcauth_des.c: Likewise.
20970 * sunrpc/xcrypt.c: Likewise.
20971 * sunrpc/xdr.c: Likewise.
20972 * sunrpc/xdr_array.c: Likewise.
20973 * sunrpc/xdr_float.c: Likewise.
20974 * sunrpc/xdr_intXX_t.c: Likewise.
20975 * sunrpc/xdr_mem.c: Likewise.
20976 * sunrpc/xdr_rec.c: Likewise.
20977 * sunrpc/xdr_ref.c: Likewise.
20978 * sunrpc/xdr_sizeof.c: Likewise.
20979 * sunrpc/xdr_stdio.c: Likewise.
20981 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20984 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20985 * sysdeps/ia64/dl-tls.h: Likewise.
20986 * sysdeps/powerpc/dl-tls.h: Likewise.
20987 * sysdeps/s390/dl-tls.h: Likewise.
20988 * sysdeps/sh/dl-tls.h: Likewise.
20989 * sysdeps/sparc/dl-tls.h: Likewise.
20990 * sysdeps/x86_64/dl-tls.h: Likewise.
20991 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20993 2011-03-14 Andreas Schwab <schwab@redhat.com>
20995 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20996 rpath element also skip the following colon.
20997 (expand_dynamic_string_token): Add is_path parameter and pass
20998 down to DL_DST_REQUIRED and _dl_dst_substitute.
20999 (decompose_rpath): Call expand_dynamic_string_token with
21000 non-zero is_path. Ignore empty rpaths.
21001 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21004 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21009 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21012 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21013 Patch by Filipe David Manana <fdmanana@apache.org>.
21015 2011-04-07 Andreas Schwab <schwab@redhat.com>
21017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21018 Maintain aligned stack.
21019 (CHECK_RSP): Remove unused macro.
21021 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21023 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21026 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21028 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21030 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21032 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21035 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21036 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21037 * sysdeps/x86_64/memmove.c: New file.
21038 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21039 (memcpy): Renamed to ...
21040 (__new_memcpy): This.
21041 (memcpy): Provide GLIBC_2_14 memcpy.
21042 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21043 (memcpy): Provide GLIBC_2_2_5 memcpy.
21045 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21048 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21050 2011-03-30 Andreas Schwab <schwab@redhat.com>
21052 * misc/syncfs.c: New file.
21053 * misc/Makefile (routines): Add syncfs.
21054 * posix/unistd.h: Declare syncfs.
21055 * sysdeps/unix/syscalls.list: Add syncfs.
21057 2011-04-01 Andreas Schwab <schwab@redhat.com>
21059 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21066 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21069 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21073 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21079 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21080 sync_file_range.c with -fexceptions.
21081 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21082 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21083 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21084 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21085 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21086 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21088 sync_file_range as cancellation point
21089 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21090 now a wrapper around __call_sync_file_range with cancellation handling.
21091 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21093 function name to __call_sync_file_range.
21094 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21095 Add call_sync_file_range.
21097 2011-04-01 Andreas Schwab <schwab@redhat.com>
21099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21102 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21104 * iconv/iconv.h: Fix typo in comment.
21105 * io/fcntl.h: Likewise.
21106 * libio/stdio.h: Likewise.
21107 * posix/spawn.h: Likewise.
21108 * posix/unistd.h: Likewise.
21109 * stdlib/stdlib.h: Likewise.
21110 * time/time.h: Likewise.
21111 * wcsmbs/wchar.h: Likewise.
21113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21114 open_by_handle): Add.
21115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21116 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21117 Augment a few comments.
21118 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21123 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21126 * io/fcntl.h (AT_EMPTY_PATH): Define.
21128 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21130 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21131 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21132 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21134 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21135 * Versions.def: Add GLIBC_2.14.
21136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21139 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21141 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21143 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21145 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21148 * string/test-strncmp.c (do_page_test): New function.
21149 (check2): Likewise.
21150 (test_main): Call check2.
21151 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21153 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21156 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21157 Handle cache information in CPU leaf 4.
21158 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21160 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21163 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21164 character representation.
21165 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21167 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21169 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21170 END(__isnan) to END(__isnanf) to match function entry point/label
21171 EALIGN(__isnanf,...).
21173 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21175 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21177 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21180 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21181 copy from the symbol referenced in the relocation to initialize the
21183 Patch by Piotr Bury <pbury@goahead.com>.
21184 * elf/Makefile: Add rules to build and tst-unique3.
21185 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21186 * elf/tst-unique3.cc: New file.
21187 * elf/tst-unique3.h: New file.
21188 * elf/tst-unique3lib.cc: New file.
21189 * elf/tst-unique3lib2.cc: New file.
21191 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21193 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21195 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21196 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21199 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21201 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21202 to-be-loaded object along a path to loader is ld.so.
21204 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21205 Ulrich Drepper <drepper@gmail.com>
21207 * sysdeps/x86_64/memset.S: After aligning destination, code
21208 branches to different locations depending on the value of
21209 misalignment, when multiarch is enabled. Fix this.
21211 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21213 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21214 Set _x86_64_preferred_memory_instruction for AMD processsors.
21215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21216 Set bit_Prefer_SSE_for_memop for AMD processors.
21218 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21220 * libio/fmemopen.c (fmemopen): Optimize a bit.
21222 2011-03-03 Andreas Schwab <schwab@redhat.com>
21224 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21226 2011-03-03 Roland McGrath <roland@redhat.com>
21228 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21230 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21232 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21233 __bzero_ultra1 instead of __memset_ultra1.
21235 2011-02-23 Andreas Schwab <schwab@redhat.com>
21236 Ulrich Drepper <drepper@gmail.com>
21239 * include/link.h (struct link_map): Add l_orig_initfini.
21240 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21241 returning unsuccessfully.
21242 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21243 close of a file loaded at startup, restore the original l_initfini
21245 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21246 list, store the pointer.
21247 * elf/Makefile ($(objpfx)noload-mem): New rule.
21248 (noload-ENV): Define.
21249 (tests): Add $(objpfx)noload-mem.
21250 * elf/noload.c: Include <memcheck.h>.
21251 (main): Call mtrace. Close all opened handles.
21253 2011-02-17 Andreas Schwab <schwab@redhat.com>
21256 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21257 dependencies are missing.
21259 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21261 Fix __if_freereq crash: Unlike the generic version which uses free,
21263 * sysdeps/mach/hurd/ifreq.h: New file.
21265 2011-01-27 Petr Baudis <pasky@suse.cz>
21266 Ulrich Drepper <drepper@gmail.com>
21269 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21270 to extend_alloca().
21271 * stdio-common/bug23.c: New file.
21272 * stdio-common/Makefile (tests): Add bug23.
21274 2010-09-28 Andreas Schwab <schwab@redhat.com>
21275 Ulrich Drepper <drepper@gmail.com>
21278 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21279 before performing relro protection. At old place add assertion
21280 to make sure nothing changed.
21282 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21283 Glauber de Oliveira Costa <glommer@gmail.com>
21285 * elf/elf.h: Add new ARM TLS relocs.
21287 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21290 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21292 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21294 * sysdeps/wordsize-64/tst-writev.c: New file.
21296 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21298 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21299 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21300 insns in _dl_start to prevent a TOC reference before relocs are
21303 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21306 * Makeconfig: Remove RANLIB definition.
21307 * Makerules: Don't use RANLIB.
21308 * aclocal.m4: Remove ranlib test.
21309 * configure.in: No need to check for ranlib.
21310 * elf/rtld-Rules: Don't use RANLIB.
21312 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21314 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21316 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21317 inclusion protection macro.
21319 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21320 SIGRTMIN and SIGRTMAX and print information in that case only when
21321 SIGRTMIN is defined.
21323 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21325 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21326 arginfo fn returning -1.
21328 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21329 and thousands string is zero terminated.
21331 2011-02-03 Andreas Schwab <schwab@redhat.com>
21333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21334 sysdeps/unix/sysv/linux/bits/socket.h.
21336 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21338 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21339 (__CPU_COUNT): Remove old macros.
21340 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21341 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21342 (__CPU_ALLOC, __CPU_FREE): Add macros.
21343 (__sched_cpualloc, __sched_cpufree): Add declarations.
21345 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21347 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21348 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21349 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21350 (readdhstai): Return value of addhstaiX call.
21351 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21352 (addgrbyX): Return value returned by cache_addgr.
21353 (readdgrbyname): Return value returned by addgrbyX.
21354 (readdgrbygid): Likewise.
21355 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21356 (addpwbyX): Return value returned by cache_addpw.
21357 (readdpwbyname): Return value returned by addhstbyX.
21358 (readdpwbyuid): Likewise.
21359 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21360 (addservbyX): Return value returned by cache_addserv.
21361 (readdservbyname): Return value returned by addservbyX:
21362 (readdservbyport): Likewise.
21363 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21364 (addhstbyX): Return value returned by cache_addhst.
21365 (readdhstbyname): Return value returned by addhstbyX.
21366 (readdhstbyaddr): Likewise.
21367 (readdhstbynamev6): Likewise.
21368 (readdhstbyaddrv6): Likewise.
21369 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21370 (readdinitgroups): Return value returned by addinitgroupsX.
21371 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21372 (prune_cache): Keep track of timeout value of re-added entries.
21373 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21374 * nscd/nscd.h: Adjust prototypes of readd* functions.
21376 2011-02-04 Roland McGrath <roland@redhat.com>
21378 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21379 (nis_stats): Likewise.
21380 * nis/nis_modify.c (nis_modify): Likewise.
21381 * nis/nis_remove.c (nis_remove): Likewise.
21382 * nis/nis_add.c (nis_add): Likewise.
21384 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21386 * posix/fnmatch_loop.c: Add some consts.
21388 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21390 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21393 * config.make.in (config-cflags-novzeroupper): Define.
21394 * configure.in: Substitute libc_cv_cc_novzeroupper.
21395 * elf/Makefile (AVX-CFLAGS): Define.
21396 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21397 (CFLAGS-tst-auditmod4a.c): Likewise.
21398 (CFLAGS-tst-auditmod4b.c): Likewise.
21399 (CFLAGS-tst-auditmod6b.c): Likewise.
21400 (CFLAGS-tst-auditmod6c.c): Likewise.
21401 (CFLAGS-tst-auditmod7b.c): Likewise.
21402 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21404 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21406 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21407 function to the callback.
21408 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21410 2011-02-02 Andreas Schwab <schwab@redhat.com>
21412 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21415 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21418 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21420 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21422 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21425 * elf/Makefile: Add rules to build and run new test.
21426 * elf/tst-initorder.c: New file.
21427 * elf/tst-initorder.exp: New file.
21428 * elf/tst-initordera1.c: New file.
21429 * elf/tst-initordera2.c: New file.
21430 * elf/tst-initordera3.c: New file.
21431 * elf/tst-initordera4.c: New file.
21432 * elf/tst-initorderb1.c: New file.
21433 * elf/tst-initorderb2.c: New file.
21434 * elf/tst-order-a1.c: New file.
21435 * elf/tst-order-a2.c: New file.
21436 * elf/tst-order-a3.c: New file.
21437 * elf/tst-order-a4.c: New file.
21438 * elf/tst-order-b1.c: New file.
21439 * elf/tst-order-b2.c: New file.
21440 * elf/tst-order-main.c: New file.
21441 New test case by George Gensure <werkt0@gmail.com>.
21443 2010-10-01 Andreas Schwab <schwab@redhat.com>
21445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21446 decoding ACE if AI_CANONIDN.
21448 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21450 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21452 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21454 * version.h (RELEASE): Bump for 2.13 release.
21455 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21457 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21461 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21463 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21464 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21465 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21468 * posix/getconf.c: Update copyright year.
21469 * catgets/gencat.c: Likewise.
21470 * csu/version.c: Likewise.
21471 * debug/catchsegv.sh: Likewise.
21472 * debug/xtrace.sh: Likewise.
21473 * elf/ldconfig.c: Likewise.
21474 * elf/ldd.bash.in: Likewise.
21475 * elf/sprof.c (print_version): Likewise.
21476 * iconv/iconv_prog.c: Likewise.
21477 * iconv/iconvconfig.c: Likewise.
21478 * locale/programs/locale.c: Likewise.
21479 * locale/programs/localedef.c: Likewise.
21480 * malloc/memusage.sh: Likewise.
21481 * malloc/mtrace.pl: Likewise.
21482 * nscd/nscd.c (print_version): Likewise.
21483 * nss/getent.c: Likewise.
21485 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21486 PF_CAIF, and PF_ALG.
21487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21489 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21491 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21492 (modules-names): Use them.
21493 (ifunc-test-modules, ifunc-pie-tests): Define.
21494 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21495 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21496 (test-extras): Likewise.
21497 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21498 $(compile-command.c).
21499 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21500 (all-built-dso): Define.
21501 (check-textrel.out, check-execstack.out): Depend on it.
21503 * configure.in: Don't override --enable-multi-arch.
21505 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21508 * nscd/hstcache.c (tryagain): Define.
21509 (cache_addhst): Return tryagain not notfound for temporary errors.
21510 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21513 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21517 to make the syscall.
21518 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21521 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21522 and fall back to matching as normal character if the string ends before
21523 the matching ']' is found. This is what POSIX requires.
21524 * posix/testfnm.c: Adjust test result.
21525 * posix/globtest.sh: Adjust test result. Add new test.
21526 * posix/tst-fnmatch.input: Likewise.
21527 * posix/tst-fnmatch2.c: Add new test.
21529 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21531 * elf/Makefile (check-execstack): Revert last change. Depend on
21533 (check-execstack.h): New target.
21534 (generated): Add check-execstack.h.
21535 * elf/check-execstack.c: Include "check-execstack.h".
21536 (main): Revert last change.
21537 (handle_file): Return zero if GNU_STACK is absent and
21538 DEFAULT_STACK_PERMS doesn't include PF_X.
21540 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21542 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21543 in child fails because the descriptor is already closed.
21544 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21545 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21546 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21549 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21553 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21554 temporary buffer used to handle multi lookups locally.
21555 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21557 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21559 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21562 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21564 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21565 alignment for SSE2.
21567 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21570 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21571 characters. When rounding increased number of integer digits recompute
21573 * stdio-common/tst-grouping.c: New file.
21574 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21576 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21578 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21579 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21581 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21583 * bits/select.h: Likewise.
21585 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21587 * po/ja.po: Update from translation team.
21589 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21592 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21593 implementation just like for lxstat, fxstatat, et al.
21595 2010-12-27 Jim Meyering <meyering@redhat.com>
21598 * posix/regexec.c (build_trtable): Return failure indication upon
21599 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21601 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21604 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21605 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21606 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21610 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21613 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21614 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21616 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21618 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21619 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21620 script has SORT_BY_INIT_PRIORITY.
21621 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21622 NO_CTORS_DTORS_SECTIONS is defined.
21623 * elf/soinit.c: Likewise.
21624 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21625 NO_CTORS_DTORS_SECTIONS is defined.
21626 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21627 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21628 * sysdeps/sh/init-first.c: Likewise.
21629 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21631 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21633 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21634 always use the slow path.
21636 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21638 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21639 similar rule which adds the sysdep directories to the header search in
21640 order to pick up the correct platform stackinfo.h.
21641 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21642 perform test if it is, otherwise return successfully without testing.
21643 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21644 DEFAULT_STACK_PERMS define in stackinfo.h.
21645 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21646 defined in stackinfo.h.
21647 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21648 DEFAULT_STACK_PERMS defined in stackinfo.h.
21649 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21650 * sysdeps/ia64/stackinfo.h: Likewise.
21651 * sysdeps/s390/stackinfo.h: Likewise.
21652 * sysdeps/sh/stackinfo.h: Likewise.
21653 * sysdeps/sparc/stackinfo.h: Likewise.
21654 * sysdeps/x86_64/stackinfo.h: Likewise.
21655 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21656 PF_X for powerpc64. Retain PF_X for powerpc32.
21658 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21660 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21662 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21663 GETDENTS_64BIT_ALIGNED.
21665 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21667 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21669 2010-12-10 Andreas Schwab <schwab@redhat.com>
21671 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21674 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21675 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21677 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21678 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21680 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21683 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21686 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21688 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21690 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21692 * po/it.po: Update from translation team.
21694 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21699 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21701 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21703 2010-11-24 Andreas Schwab <schwab@redhat.com>
21705 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21707 (gaih_getanswer_slice): Likewise.
21709 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21713 2010-05-31 Petr Baudis <pasky@suse.cz>
21716 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21717 silently even in the chroot mode.
21719 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21721 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21722 last patch a bit. Pretty printing
21724 2010-05-31 Petr Baudis <pasky@suse.cz>
21727 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21728 initialization of skip_initgroups_dyn.
21730 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21732 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21735 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21737 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21739 2010-11-11 Andreas Schwab <schwab@redhat.com>
21741 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21742 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21743 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21744 ($(objpfx)tst-fnmatch-mem): New rule.
21745 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21746 * posix/tst-fnmatch.c (main): Call mtrace.
21748 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21751 Support Intel processor model 6 and model 0x2c.
21753 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21758 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21761 * string/test-strncasecmp.c (check_result): New function.
21762 (do_one_test): Use it.
21763 (check1): New function.
21764 (test_main): Use it.
21765 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21766 Support strcasecmp and strncasecmp.
21768 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21771 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21774 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21776 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21780 * sysdeps/x86_64/multiarch/bzero.S: New file.
21781 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21782 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21783 * sysdeps/x86_64/multiarch/memset.S: New file.
21784 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21786 Set bit_Prefer_SSE_for_memop for Intel processors.
21787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21789 (index_Prefer_SSE_for_memop): Define.
21790 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21792 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21794 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21795 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21797 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21800 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21801 (__x86_64_raw_data_cache_size_half): Likewise.
21802 (__x86_64_raw_shared_cache_size): Likewise.
21803 (__x86_64_raw_shared_cache_size_half): Likewise.
21805 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21806 (__x86_64_raw_data_cache_size_half): Likewise.
21807 (__x86_64_raw_shared_cache_size): Likewise.
21808 (__x86_64_raw_shared_cache_size_half): Likewise.
21809 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21810 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21811 and __x86_64_raw_shared_cache_size_half. Round
21812 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21813 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21814 to multiple of 256 bytes.
21816 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21819 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21820 of inacessible symlinks. Verify result of symlink before returning it.
21821 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21822 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21824 2010-10-28 Erich Ritz <erichritz@gmail.com>
21826 * math/math.h (isinf): Fix typo in comment.
21828 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21830 * po/da.po: Update from translation team.
21832 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21834 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21835 is added to the list.
21837 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21838 Ulrich Drepper <drepper@gmail.com>
21840 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21841 the global list here. Move code to...
21842 (_dl_add_to_namespace_list): ...here. New function.
21843 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21844 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21845 * elf/dl-load.c (lose): Don't remove the element from the list.
21846 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21847 (_dl_map_object): Likewise.
21849 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21852 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21853 into all bytes of SSE register.
21854 Patch by Richard Li <richardpku@gmail.com>.
21856 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21859 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21862 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21864 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21865 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21866 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21872 2010-10-22 Andreas Schwab <schwab@redhat.com>
21874 * include/dlfcn.h (__RTLD_SECURE): Define.
21875 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21876 mode & __RTLD_SECURE instead.
21877 (open_path): Rename preloaded parameter to secure.
21878 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21879 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21880 * elf/dl-deps.c (openaux): Likewise.
21881 * elf/rtld.c (struct map_args): Remove is_preloaded.
21882 (map_doit): Don't use it.
21883 (dl_main): Likewise.
21884 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21885 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21887 2010-09-09 Andreas Schwab <schwab@redhat.com>
21889 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21890 (sysd-rules-targets): Remove duplicates.
21891 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21892 rtld-%.$o dependency.
21894 2010-10-18 Andreas Schwab <schwab@redhat.com>
21896 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21897 _dl_map_object do it.
21899 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21901 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21902 fast fma builtins, define the macros in the C99 standard.
21903 (FP_FAST_FMAF): Likewise.
21904 (FP_FAST_FMAL): Likewise.
21905 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21907 * bits/mathdef.h: Update copyright year.
21908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21910 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21912 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21913 builtins, define the macros in the C99 standard.
21914 (FP_FAST_FMAF): Likewise.
21915 (FP_FAST_FMAL): Likewise.
21916 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21918 (FP_FAST_FMAF): Likewise.
21920 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21923 * math/libm-test.inc (fma_test): Some new testcases.
21924 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21925 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21926 y and infinite z. Do multiplication by C already in long double.
21927 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21929 y and infinite z. Do bitwise or of inexact bit into u.d.
21930 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21931 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21932 * sysdeps/i386/fpu/s_fma.S: Removed.
21933 * sysdeps/i386/fpu/s_fmal.S: Removed.
21935 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21938 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21940 computation is not scheduled after fetestexcept. Fix value
21941 of minimum denormal long double.
21943 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21946 * math/libm-test.inc (fma_test): Add some more tests.
21947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21950 2010-10-15 Andreas Schwab <schwab@redhat.com>
21952 * scripts/data/localplt-s390-linux-gnu.data: New file.
21953 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21955 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21958 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21959 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21961 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21963 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21965 if one of x and y is very large and the other is subnormal.
21966 * sysdeps/s390/fpu/s_fmaf.c: New file.
21967 * sysdeps/s390/fpu/s_fma.c: New file.
21968 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21969 * sysdeps/powerpc/fpu/s_fma.S: New file.
21970 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21971 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21972 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21974 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21977 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21980 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21981 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21982 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21983 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21984 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21985 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21987 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21990 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21991 * posix/bug-regex31.input: Add test case.
21993 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21995 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21996 * posix/bug-regex31.input: New file.
21999 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22000 (parse_sub_exp): Fix last change, use postorder.
22002 * posix/bug-regex31.c: New file.
22003 * posix/Makefile: Add rules to build and run bug-regex31.
22005 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22008 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22011 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22012 to have entries in sys_siglist.
22015 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22018 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22021 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22022 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22023 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22024 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22026 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22027 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22028 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22029 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22030 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22031 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22032 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22033 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22034 * math/ftestexcept.c (fetestexcept): Likewise.
22035 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22036 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22037 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22038 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22039 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22040 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22041 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22043 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22046 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22049 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22051 * string/bug-strstr1.c: New file.
22052 * string/Makefile: Add rules to build and run bug-strstr1.
22054 2010-10-05 Eric Blake <eblake@redhat.com>
22057 * string/str-two-way.h (two_way_long_needle): Always clear memory
22058 when skipping input due to the shift table.
22060 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22063 * malloc/mcheck.c: Handle large requests.
22066 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22067 for strncmp and strncasecmp.
22068 * string/stratcliff.c: Add tests for strcmp and strncmp.
22069 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22071 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22073 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22076 2010-09-30 Andreas Jaeger <aj@suse.de>
22078 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22079 (CGROUP_SUPER_MAGIC): Define.
22080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22081 Handle btrfs and cgroup file systems.
22082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22085 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22087 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22088 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22090 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22093 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22094 trying to locate the ELF header.
22096 2010-09-27 Andreas Schwab <schwab@redhat.com>
22099 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22100 Mask out sign-bit copies when constructing f_fsid.
22102 2010-09-24 Petr Baudis <pasky@suse.cz>
22104 * debug/stack_chk_fail_local.c: Add missing licence exception.
22105 * debug/warning-nop.c: Likewise.
22107 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22109 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22110 implementing getdents64 using getdents syscall, set d_type if
22111 __ASSUME_GETDENTS32_D_TYPE.
22113 2010-09-16 Andreas Schwab <schwab@redhat.com>
22115 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22116 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22118 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22121 * posix/unistd.h: Undo change of feature selection for ftruncate from
22124 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22126 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22129 2010-09-20 Andreas Schwab <schwab@redhat.com>
22131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22133 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22135 2010-09-14 Andreas Schwab <schwab@redhat.com>
22137 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22138 variables after CHECK_SP call.
22139 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22141 2010-09-13 Andreas Schwab <schwab@redhat.com>
22142 Ulrich Drepper <drepper@redhat.com>
22144 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22145 re-relocationg ld.so.
22146 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22147 _dl_init_paths call.
22148 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22151 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22153 * resolv/res_init.c (__res_vinit): Count the default server we added.
22155 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22156 Ulrich Drepper <drepper@redhat.com>
22159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22160 (____longjmp_chk): Use %ebx for saving value across system call.
22163 2010-09-06 Andreas Schwab <schwab@redhat.com>
22165 * manual/Makefile: Don't mix pattern rules with normal rules.
22167 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22169 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22171 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22172 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22173 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22174 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22178 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22181 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22182 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22184 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22186 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22187 * sysdeps/x86_64/addmul_1.S: Likewise.
22188 * sysdeps/x86_64/lshift.S: Likewise.
22189 * sysdeps/x86_64/mul_1.S: Likewise.
22190 * sysdeps/x86_64/rshift.S: Likewise.
22191 * sysdeps/x86_64/sub_n.S: Likewise.
22192 * sysdeps/x86_64/submul_1.S: Likewise.
22194 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22196 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22197 Define __sched_param instead of SCHED_* and sched_param when
22198 <bits/sched.h> is included with __need_schedparam defined.
22199 * bits/sched.h [__need_schedparam]
22200 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22201 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22202 (__defined_schedparam): Define to 1.
22203 (__sched_param): New structure, identical to sched_param.
22204 (__need_schedparam): Undefine.
22206 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22208 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22209 (epoll_create1): Declare.
22211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22213 2010-08-31 Andreas Schwab <schwab@redhat.com>
22216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22217 shifting retval into place.
22219 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22221 * nis/rpcsvc/nis.h: Update copyright notice.
22222 * nis/rpcsvc/nis.x: Likewise.
22223 * nis/rpcsvc/nis_callback.h: Likewise.
22224 * nis/rpcsvc/nis_callback.x: Likewise.
22225 * nis/rpcsvc/nis_object.x: Likewise.
22226 * nis/rpcsvc/nis_tags.h: Likewise.
22227 * nis/rpcsvc/yp.h: Likewise.
22228 * nis/rpcsvc/yp.x: Likewise.
22229 * nis/rpcsvc/ypupd.h: Likewise.
22230 * nis/yp_xdr.c: Likewise.
22231 * nis/ypupdate_xdr.c: Likewise.
22233 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22234 mainly the body of pmap_getport. Add parameters to specify timeouts.
22235 (pmap_getport): Use __libc_rpc_getport.
22236 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22237 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22238 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22240 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22245 2010-08-27 Roland McGrath <roland@redhat.com>
22247 * sysdeps/i386/i686/multiarch/Makefile
22248 (CFLAGS-varshift.c): New variable.
22250 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22252 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22253 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22257 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22259 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22261 * sysdeps/x86_64/strlen.S: Unroll the loop.
22262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22263 strlen-sse2 strlen-sse2-bsf.
22264 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22265 __strlen_no_bsf if bit_Slow_BSF is set.
22266 (__strlen_sse42): Removed.
22267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22268 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22270 2010-08-25 Roland McGrath <roland@redhat.com>
22272 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22273 * sysdeps/x86_64/multiarch/varshift.c: New file.
22274 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22275 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22276 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22277 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22279 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22282 strlen-sse2 strlen-sse2-bsf.
22283 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22284 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22285 (__strlen_sse2): Removed.
22286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22289 bit_Slow_BSF for Atom.
22290 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22291 (index_Slow_BSF): Define.
22292 (HAS_SLOW_BSF): Define.
22294 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22297 * resolv/res_init.c (__res_vinit): When no server address at all
22298 is given default to loopback.
22300 2010-08-24 Roland McGrath <roland@redhat.com>
22302 * configure.in: Remove config-name.h generation.
22303 * configure: Regenerated.
22304 * config-name.in: File removed.
22305 * scripts/config-uname.sh: New file.
22306 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22307 ($(objdir)config-name.h): New target.
22309 * sunrpc/rpc_parse.h: Avoid nested comment.
22311 2010-08-24 Richard Henderson <rth@redhat.com>
22312 Ulrich Drepper <drepper@redhat.com>
22313 H.J. Lu <hongjiu.lu@intel.com>
22315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22317 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22318 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22319 _mm_alignr_epi8 with _mm_loadu_si128.
22320 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22321 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22322 (__m128i_shift_right): Removed.
22323 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22324 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22325 * sysdeps/x86_64/multiarch/varshift.h: New file.
22326 * sysdeps/x86_64/multiarch/varshift.S: New file.
22328 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22330 * configure.in: Move assembler checks to before sysdep dir checking.
22332 2010-08-20 Petr Baudis <pasky@suse.cz>
22334 * LICENSES: Sync the sunrpc license.
22336 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22338 * sunrpc/auth_des.c: Update copyright notice once again.
22339 * sunrpc/auth_none.c: Likewise.
22340 * sunrpc/auth_unix.c: Likewise.
22341 * sunrpc/authdes_prot.c: Likewise.
22342 * sunrpc/authuxprot.c: Likewise.
22343 * sunrpc/bindrsvprt.c: Likewise.
22344 * sunrpc/clnt_gen.c: Likewise.
22345 * sunrpc/clnt_perr.c: Likewise.
22346 * sunrpc/clnt_raw.c: Likewise.
22347 * sunrpc/clnt_simp.c: Likewise.
22348 * sunrpc/clnt_tcp.c: Likewise.
22349 * sunrpc/clnt_udp.c: Likewise.
22350 * sunrpc/clnt_unix.c: Likewise.
22351 * sunrpc/des_crypt.c: Likewise.
22352 * sunrpc/des_soft.c: Likewise.
22353 * sunrpc/get_myaddr.c: Likewise.
22354 * sunrpc/getrpcport.c: Likewise.
22355 * sunrpc/key_call.c: Likewise.
22356 * sunrpc/key_prot.c: Likewise.
22357 * sunrpc/openchild.c: Likewise.
22358 * sunrpc/pm_getmaps.c: Likewise.
22359 * sunrpc/pm_getport.c: Likewise.
22360 * sunrpc/pmap_clnt.c: Likewise.
22361 * sunrpc/pmap_prot.c: Likewise.
22362 * sunrpc/pmap_prot2.c: Likewise.
22363 * sunrpc/pmap_rmt.c: Likewise.
22364 * sunrpc/rpc/auth.h: Likewise.
22365 * sunrpc/rpc/auth_unix.h: Likewise.
22366 * sunrpc/rpc/clnt.h: Likewise.
22367 * sunrpc/rpc/des_crypt.h: Likewise.
22368 * sunrpc/rpc/key_prot.h: Likewise.
22369 * sunrpc/rpc/netdb.h: Likewise.
22370 * sunrpc/rpc/pmap_clnt.h: Likewise.
22371 * sunrpc/rpc/pmap_prot.h: Likewise.
22372 * sunrpc/rpc/pmap_rmt.h: Likewise.
22373 * sunrpc/rpc/rpc.h: Likewise.
22374 * sunrpc/rpc/rpc_des.h: Likewise.
22375 * sunrpc/rpc/rpc_msg.h: Likewise.
22376 * sunrpc/rpc/svc.h: Likewise.
22377 * sunrpc/rpc/svc_auth.h: Likewise.
22378 * sunrpc/rpc/types.h: Likewise.
22379 * sunrpc/rpc/xdr.h: Likewise.
22380 * sunrpc/rpc_clntout.c: Likewise.
22381 * sunrpc/rpc_cmsg.c: Likewise.
22382 * sunrpc/rpc_common.c: Likewise.
22383 * sunrpc/rpc_cout.c: Likewise.
22384 * sunrpc/rpc_dtable.c: Likewise.
22385 * sunrpc/rpc_hout.c: Likewise.
22386 * sunrpc/rpc_main.c: Likewise.
22387 * sunrpc/rpc_parse.c: Likewise.
22388 * sunrpc/rpc_parse.h: Likewise.
22389 * sunrpc/rpc_prot.c: Likewise.
22390 * sunrpc/rpc_sample.c: Likewise.
22391 * sunrpc/rpc_scan.c: Likewise.
22392 * sunrpc/rpc_scan.h: Likewise.
22393 * sunrpc/rpc_svcout.c: Likewise.
22394 * sunrpc/rpc_tblout.c: Likewise.
22395 * sunrpc/rpc_util.c: Likewise.
22396 * sunrpc/rpc_util.h: Likewise.
22397 * sunrpc/rpcinfo.c: Likewise.
22398 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22399 * sunrpc/rpcsvc/key_prot.x: Likewise.
22400 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22401 * sunrpc/rpcsvc/mount.x: Likewise.
22402 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22403 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22404 * sunrpc/rpcsvc/rex.x: Likewise.
22405 * sunrpc/rpcsvc/rstat.x: Likewise.
22406 * sunrpc/rpcsvc/rusers.x: Likewise.
22407 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22408 * sunrpc/rpcsvc/spray.x: Likewise.
22409 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22410 * sunrpc/rtime.c: Likewise.
22411 * sunrpc/svc.c: Likewise.
22412 * sunrpc/svc_auth.c: Likewise.
22413 * sunrpc/svc_authux.c: Likewise.
22414 * sunrpc/svc_raw.c: Likewise.
22415 * sunrpc/svc_run.c: Likewise.
22416 * sunrpc/svc_simple.c: Likewise.
22417 * sunrpc/svc_tcp.c: Likewise.
22418 * sunrpc/svc_udp.c: Likewise.
22419 * sunrpc/svc_unix.c: Likewise.
22420 * sunrpc/svcauth_des.c: Likewise.
22421 * sunrpc/xcrypt.c: Likewise.
22422 * sunrpc/xdr.c: Likewise.
22423 * sunrpc/xdr_array.c: Likewise.
22424 * sunrpc/xdr_float.c: Likewise.
22425 * sunrpc/xdr_mem.c: Likewise.
22426 * sunrpc/xdr_rec.c: Likewise.
22427 * sunrpc/xdr_ref.c: Likewise.
22428 * sunrpc/xdr_sizeof.c: Likewise.
22429 * sunrpc/xdr_stdio.c: Likewise.
22431 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22434 2010-08-19 Andreas Schwab <schwab@redhat.com>
22436 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22438 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22440 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22441 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22443 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22444 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22445 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22446 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22447 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22449 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22450 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22451 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22452 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22453 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22455 2010-07-26 Anton Blanchard <anton@samba.org>
22457 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22458 * malloc/arena.c (heap_trim): Likewise.
22460 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22462 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22465 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22467 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22469 * sysdeps/i386/elf/Makefile: New file.
22471 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22473 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22474 from fanotify_init.
22475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22478 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22480 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22482 * sysdeps/multiarch/strcmp.S: Likewise.
22484 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22486 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22487 strncase_l-nonascii.
22488 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22489 Add strncase_l-ssse3.
22490 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22491 * sysdeps/x86_64/strcmp.S: Likewise.
22492 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22493 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22494 * sysdeps/x86_64/strncase.S: New file.
22495 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22496 * sysdeps/x86_64/strncase_l.S: New file.
22497 * string/Makefile (strop-tests): Add strncasecmp.
22498 * string/test-strncasecmp.c: New file.
22500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22503 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22506 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22508 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22510 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22512 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22513 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22516 2010-05-01 Alan Modra <amodra@gmail.com>
22518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22519 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22520 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22521 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22522 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22523 tidying. Don't tail-call __sigjmp_save for static lib.
22524 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22526 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22527 (CALL_MCOUNT): Add eh info, and nop after bl.
22528 (TAIL_CALL_SYSCALL_ERROR): New macro.
22529 (PSEUDO_RET): Use it.
22530 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22531 Correct save location of integer regs and cr.
22532 (_dl_profile_resolve): Correct cr save location. Delete nops
22533 after bl when SHARED. Reduce cfi size a little by better
22534 placement of cfi directives.
22535 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22536 make a stack frame. Instead use parm save area as a temp.
22537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22538 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22540 Don't make a stack frame for parent, use parm save area.
22541 Increase child stack frame to 112 bytes. Don't save unused reg,
22542 and adjust reg usage. Set up cfi on error recovery and
22543 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22545 (__makecontext): Add dummy nop after jump to exit.
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22547 Use correct parm save area and cr save, reduce stack frame.
22548 Correct cfi for possible PSEUDO_RET frame setup.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22550 Branch to local label emitted by PSEUDO_RET rather than
22553 2010-08-12 Andreas Schwab <schwab@redhat.com>
22556 * locale/programs/locale.c (print_assignment): New function.
22557 (show_locale_vars): Use it.
22559 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22561 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22563 (struct statfs64): Likewise.
22564 (_STATFS_F_FLAGS): Define.
22565 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22567 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22568 (ST_VALID): Define locally.
22569 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22570 __statvfs_getflags, use the provided value.
22571 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22572 __ASSUME_STATFS_F_FLAGS.
22574 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22576 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22577 Add sys/fanotify.h.
22578 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22579 fanotify_mask for GLIBC_2.13.
22580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22581 fanotify_init and fanotify_mark.
22582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22583 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22585 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22587 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22588 prlimit64 for GLIBC_2.13.
22589 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22591 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22595 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22596 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22599 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22602 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22603 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22605 * nss/Makefile: Add rules to build and run tst-nss-test1.
22606 * shlib-versions: Add entry for libnss_test1.
22607 * nss/nss_test1.c: New file.
22608 * nss/tst-nss-test1.c: New file.
22610 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22611 (__nss_configure_lookup): Set appropriate entry in
22612 __nss_configure_lookup to true.
22613 * nss/nsswitch.h: Define enum with indeces of databases in
22614 databases and __nss_database_custom arrays. Declare
22615 __nss_database_custom.
22616 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22617 to avoid using nscd when custom rules are installed.
22618 * nss/getXXbyYY_r.c: Likewise.
22619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22621 * nss/nss_files/files-parse.c: Whitespace fixes.
22623 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22626 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22627 * posix/fnmatch_loop.c: Likewise.
22629 2010-07-17 Andi Kleen <ak@linux.intel.com>
22631 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22632 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22633 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22634 * Versions.def [GLIBC_2.13]: Add.
22636 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22638 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22639 Also fail if tpwd after pwuid call is NULL.
22641 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22643 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22644 when converting to ms.
22646 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22648 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22649 EOPNOTSUPP errors with ENOTTY.
22650 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22651 EOPNOTSUPP errors with ENOTTY.
22653 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22655 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22656 Add strcasecmp_l-ssse3.
22657 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22659 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22660 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22661 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22663 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22665 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22667 * string/Makefile (strop-tests): Add strcasecmp.
22668 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22669 strcasecmp_l-nonascii.
22670 (gen-as-const-headers): Add locale-defines.sym.
22671 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22672 * sysdeps/x86_64/strcasecmp.S: New file.
22673 * sysdeps/x86_64/strcasecmp_l.S: New file.
22674 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22675 * sysdeps/x86_64/locale-defines.sym: New file.
22676 * string/test-strcasecmp.c: New file.
22678 * string/test-strcasestr.c: Test both ends of the range of characters.
22679 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22681 2010-07-29 Roland McGrath <roland@redhat.com>
22684 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22686 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22688 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22691 2010-07-27 Andreas Schwab <schwab@redhat.com>
22693 * manual/memory.texi (Malloc Tunable Parameters): Document
22696 2010-07-26 Roland McGrath <roland@redhat.com>
22699 * configure.in (-fgnu89-inline check): Set and substitute
22700 gnu89_inline, not libc_cv_gnu89_inline.
22701 * configure: Regenerated.
22702 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22704 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22706 * string/test-strnlen.c: New file.
22707 * string/Makefile (strop-tests): Add strnlen.
22708 * string/tester.c (test_strnlen): Add a few more test cases.
22709 * string/tst-strlen.c: Better error reporting.
22711 * sysdeps/x86_64/strnlen.S: New file.
22713 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22716 lower-latency instructions.
22718 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22720 * string/test-strcasestr.c: New file.
22721 * string/test-strstr.c: New file.
22722 * string/Makefile (strop-tests): Add strstr and strcasestr.
22723 * string/str-two-way.h: Don't undefine MAX.
22724 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22726 2010-07-21 Andreas Schwab <schwab@redhat.com>
22728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22729 strcasestr-nonascii.
22730 (CFLAGS-strcasestr-nonascii.c): Define.
22731 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22733 Remove unused attribute.
22735 2010-07-20 Roland McGrath <roland@redhat.com>
22737 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22738 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22739 ld.so.cache was broken. With it, there is no way to disable dsocaps
22740 like LD_HWCAP_MASK can disable hwcaps.
22742 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22744 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22746 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22748 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22749 call in strcasestr.
22750 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22751 __strcasestr_sse42_nonascii.
22752 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22753 strcasestr-nonascii.c.
22754 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22756 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22763 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22768 2010-07-06 Andreas Schwab <schwab@redhat.com>
22771 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22774 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22776 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22777 _PC_PIPE_BUF using F_GETPIPE_SZ.
22779 2010-07-05 Roland McGrath <roland@redhat.com>
22781 * manual/arith.texi (Rounding Functions): Fix rint description
22782 implicit in round description.
22784 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22786 * elf/Makefile: Fix linking for a few tests to make recent linker
22789 2010-06-30 Andreas Schwab <schwab@redhat.com>
22791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22792 $(common-objpfx)libc_nonshared.a.
22794 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22796 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22797 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22798 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22799 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22800 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22801 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22802 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22803 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22818 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22819 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22820 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22821 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22822 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22823 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22824 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22825 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22826 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22827 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22828 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22829 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22845 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22847 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22848 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22849 * string/memmove.c (memmove): Renamed to ...
22850 (MEMMOVE): ...this. Default to memmove.
22851 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22852 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22855 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22856 mempcpy-ssse3-back memmove-ssse3-back.
22857 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22860 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22861 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22862 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22863 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22864 * sysdeps/x86_64/multiarch/memmove.c: New file.
22865 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22866 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22867 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22868 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22869 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22870 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22872 (index_Fast_Copy_Backward): Define.
22873 (HAS_ARCH_FEATURE): Define.
22874 (HAS_FAST_REP_STRING): Define.
22875 (HAS_FAST_COPY_BACKWARD): Define.
22877 2010-06-21 Andreas Schwab <schwab@redhat.com>
22879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22880 Restore proper fallback handling.
22882 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22885 * posix/group_member.c (__group_member): Correct checking loop.
22887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22888 OOM in getpwuid_r correctly. Return error number when the caller
22889 should return, otherwise -1.
22890 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22891 call returning > 0 value.
22892 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22894 2010-06-07 Andreas Schwab <schwab@redhat.com>
22896 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22897 libc_nonshared.a from targets in modules-names.
22899 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22901 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22904 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22911 2010-06-02 Andreas Schwab <schwab@redhat.com>
22913 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22915 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22926 2010-06-14 Roland McGrath <roland@redhat.com>
22928 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22930 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22932 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22933 __REDIRECT followed by __THROW.
22934 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22935 * posix/getopt.h (getopt): Likewise.
22937 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22939 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22940 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22941 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22943 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22944 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22946 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22950 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22954 Properly check family and model.
22956 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22958 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22960 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22962 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22964 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22966 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22969 2010-05-19 Andreas Schwab <schwab@redhat.com>
22971 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22974 2010-05-21 Andreas Schwab <schwab@redhat.com>
22976 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22977 and internal_recvmmsg.
22978 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22979 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22981 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22983 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22984 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22985 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22987 2010-05-20 Andreas Schwab <schwab@redhat.com>
22989 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22991 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22993 POWER7 optimizations.
22994 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22995 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22997 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22999 * version.h: Update for 2.13 development version.
23001 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23003 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23004 exceptions. Return 0.
23006 2010-05-07 Roland McGrath <roland@redhat.com>
23008 * elf/ldconfig.c (main): Add a const.
23010 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23012 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23013 (args_options): Add no-idn option.
23014 (ahosts_keys_int): Add idn_flags to ai_flags.
23015 (parse_option): Handle 'i' option to clear idn_flags.
23017 * malloc/malloc.c (_int_free): Possible race in the most recently
23018 added check. Only act on the data if no current modification
23021 See ChangeLog.17 for earlier changes.