1 2012-11-28 Andreas Schwab <schwab@suse.de>
3 * scripts/abilist.awk: Also handle indirect functions in .opd
6 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/x86/fpu/powl_helper.c: New file.
10 * sysdeps/x86/fpu/Makefile: Likewise.
11 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13 (__ieee754_powl): Use __powl_helper for finite arguments except
14 integer exponents below 8.
15 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17 (__ieee754_powl): Use __powl_helper for finite arguments except
18 integer exponents below 8.
19 * math/libm-test.inc (pow_test): Add more tests and enable some
20 previously disabled tests.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25 Carlos O'Donell <carlos_odonell@mentor.com>
27 * nss/makedb.c (is_prime): Assert that input is odd and greater
28 than 4. Note that fact in a comment too.
29 (next_prime): Add 4 to input.
31 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34 * libio/Makefile (tests): Add test case tst-fwrite-error.
35 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37 * libio/tst-fwrite-error.c: New test case.
39 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
41 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42 before casting to void *.
43 * include/libc-internal.h (__pointer_type): New macro.
44 (__integer_if_pointer_type_sub): Likewise.
45 (__integer_if_pointer_type): Likewise.
46 (cast_to_integer): Likewise.
47 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49 before casting to atomic64_t.
50 (atomic_exchange_acq): Likewise.
51 (__arch_exchange_and_add_body): Likewise.
52 (__arch_add_body): Likewise.
53 (atomic_add_negative): Likewise.
54 (atomic_add_zero): Likewise.
56 2012-11-26 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
61 (linear_search_fdes): Likewise.
62 (binary_search_unencoded_fdes): Likewise.
64 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
66 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68 2012-11-24 Adam Conrad <adconrad@0c3.net>
70 * configure.in: Autodetect C++ header directories.
71 * configure: Regenerated.
73 2012-11-23 Mike Frysinger <vapier@gentoo.org>
75 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
77 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
79 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81 2012-11-22 Joseph Myers <joseph@codesourcery.com>
83 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
84 LDBL_MANT_DIG == 106]: Disable some tests.
85 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
87 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
91 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
92 input for small inputs. Return +/- pi/2 for large inputs.
93 * math/libm-test.inc (atan_test): Add more tests.
95 * sysdeps/generic/unwind-dw2-fde-glibc.c
96 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
97 __attribute__ ((unused)).
100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
101 x * y if x and y are nonzero and z is zero.
104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
105 nonzero exponents with absolute value below 0x1p-117 to +/-
109 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
110 up arguments below 2**-450, not just those below 2**-500.
111 * math/libm-test.inc (hypot_test): Add another test.
114 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
115 Return a+b for ratio over 2**120, not 2**60.
116 * math/libm-test.inc (hypot_test): Add another test.
118 * math/libm-test.inc (clog_test): Use
119 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
120 (clog10_test): Likewise.
123 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
125 2012-11-22 Andreas Schwab <schwab@suse.de>
127 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
131 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
132 printf output with newline.
134 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
137 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
138 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
139 -z nodlopen, -z initfirst and -z execstack support.
140 * configure: Regenerated.
142 * elf/elf.h (DF_1_NODIRECT): New macro.
143 (DF_1_IGNMULDEF): Likewise.
144 (DF_1_NOKSYMS): Likewise.
145 (DF_1_NOHDR): Likewise.
146 (DF_1_EDITED): Likewise.
147 (DF_1_NORELOC): Likewise.
148 (DF_1_SYMINTPOSE): Likewise.
149 (DF_1_GLOBAUDIT): Likewise.
150 (DF_1_SINGLETON): Likewise.
151 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
152 DT_1_SUPPORTED_MASK bits.
153 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
155 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
157 * sysdeps/unix/make-syscalls.sh: Document prefixes.
159 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
161 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
164 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
165 (sendmmsg): Move declarations...
166 * socket/sys/socket.h: ... here.
167 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
168 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
170 * socket/recvmmsg.c: ... this new file.
171 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
172 (sendmmsg): Rename to __sendmmsg, create weak alias and make
173 definition of __sendmmsg hidden.
174 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
175 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
176 Move ENOSYS stub into and include it from...
177 * socket/sendmmsg.c: ... this new file.
178 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
179 (sysdep_routines): Move recvmmsg and sendmmsg...
180 * socket/Makefile (routines): ... here.
181 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
182 (GLIBC_PRIVATE): Add __sendmmsg.
183 * include/sys/socket.h (__sendmmsg): Add declarations.
184 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
187 2012-11-20 Joseph Myers <joseph@codesourcery.com>
189 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
190 variable I1 with __attribute__ ((unused)).
191 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
193 2012-11-19 Joseph Myers <joseph@codesourcery.com>
195 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
196 DUMMY variables with __attribute__ ((unused)).
198 * bits/byteswap.h: Include <bits/types.h>.
199 (__bswap_64): Use __uint64_t instead of unsigned long long int.
201 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
203 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
204 string_t. Do not manually set errno.
205 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
206 length with __strnlen. Make sure to both set errno and return it on
209 2012-11-19 David S. Miller <davem@davemloft.net>
211 With help from Joseph Myers.
212 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
213 very large arguments properly.
214 * math/libm-test.inc (atan_test): New tests.
215 (atan2_test): New tests.
216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
219 2012-11-19 Joseph Myers <joseph@codesourcery.com>
222 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
225 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
226 [POSIX] (EADDRNOTAVAIL): Likewise.
227 [POSIX] (EAFNOSUPPORT): Likewise.
228 [POSIX] (EALREADY): Likewise.
229 [POSIX] (ECONNABORTED): Likewise.
230 [POSIX] (ECONNREFUSED): Likewise.
231 [POSIX] (ECONNRESET): Likewise.
232 [POSIX] (EDESTADDRREQ): Likewise.
233 [POSIX] (EDQUOT): Likewise.
234 [POSIX] (EHOSTUNREACH): Likewise.
235 [POSIX] (EIDRM): Likewise.
236 [POSIX] (EISCONN): Likewise.
237 [POSIX] (ELOOP): Likewise.
238 [POSIX] (EMULTIHOP): Likewise.
239 [POSIX] (ENETDOWN): Likewise.
240 [POSIX] (ENETUNREACH): Likewise.
241 [POSIX] (ENOBUFS): Likewise.
242 [POSIX] (ENODATA): Likewise.
243 [POSIX] (ENOLINK): Likewise.
244 [POSIX] (ENOMSG): Likewise.
245 [POSIX] (ENOPROTOOPT): Likewise.
246 [POSIX] (ENOSR): Likewise.
247 [POSIX] (ENOSTR): Likewise.
248 [POSIX] (ENOTCONN): Likewise.
249 [POSIX] (ENOTSOCK): Likewise.
250 [POSIX] (EOPNOTSUPP): Likewise.
251 [POSIX] (EOVERFLOW): Likewise.
252 [POSIX] (EPROTO): Likewise.
253 [POSIX] (EPROTONOSUPPORT): Likewise.
254 [POSIX] (EPROTOTYPE): Likewise.
255 [POSIX] (ESTALE): Likewise.
256 [POSIX] (ETIME): Likewise.
257 [POSIX] (ETXTBSY): Likewise.
258 [POSIX] (EWOULDBLOCK): Likewise.
259 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
260 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
261 [POSIX] (SEEK_CUR): Likewise.
262 [POSIX] (SEEK_END): Likewise.
263 [POSIX || UNIX98] (mode_t): Do not require.
264 [POSIX] (off_t): Likewise.
265 [POSIX] (pid_t): Likewise.
266 [POSIX] (sys/stat.h): Do not allow header.
267 [POSIX] (unistd.h): Likewise.
268 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
269 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
270 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
271 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
273 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
274 sigevent): Specify elements.
275 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
277 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
278 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
280 * conform/data/cpio.h-data [POSIX]: Disable whole file.
281 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
282 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
283 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
284 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
285 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
286 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
287 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
288 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
289 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
290 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
291 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
292 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
293 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
295 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
297 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
299 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
301 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
302 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
303 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
304 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
305 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
306 Specify lower bound on value.
307 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
308 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
309 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
310 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
311 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
312 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
313 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
314 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
316 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
318 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
319 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
320 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
321 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
322 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
323 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
324 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
325 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
326 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
327 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
328 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
329 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
330 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
331 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
332 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
333 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
335 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
337 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
338 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
339 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
340 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
341 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
342 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
344 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
345 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
346 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
347 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
348 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
349 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
350 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
352 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
353 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
354 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
355 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
356 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
357 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
359 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
360 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
361 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
362 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
363 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
364 [XPG3] (NL_LANGMAX): Likewise.
365 [POSIX || XPG3] (NL_MSGMAX): Likewise.
366 [POSIX || XPG3] (NL_NMAX): Likewise.
367 [POSIX || XPG3] (NL_SETMAX): Likewise.
368 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
369 [XPG3] (NZERO): Likewise.
370 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
371 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
372 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
373 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
374 (REG_ERANGE): Expect.
375 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
377 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
378 Use (void) in prototype.
379 [POSIX] (*_t): Allow.
380 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
381 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
382 (WRDE_BADVAL): Expect.
384 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
386 [XPG3 || XPG4] (O_RSYNC): Likewise.
387 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
389 [XPG3 || XPG4] (pthread_sigmask): Likewise.
390 [XPG3 || XPG4] (sigqueue): Likewise.
391 [XPG3 || XPG4] (sigtimedwait): Likewise.
392 [XPG3 || XPG4] (sigwaitinfo): Likewise.
393 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
394 [XPG3 || XPG4] (vsnprintf): Likewise.
395 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
397 [XPG3 || XPG4] (blksize_t): Likewise.
398 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
400 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
401 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
402 [XPG3 || XPG4] (struct itimerspec): Likewise.
403 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
404 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
405 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
406 [XPG3 || XPG4] (clockid_t): Likewise.
407 [XPG3 || XPG4] (timer_t): Likewise.
408 [XPG3 || XPG4] (clock_getres): Likewise.
409 [XPG3 || XPG4] (clock_gettime): Likewise.
410 [XPG3 || XPG4] (clock_settime): Likewise.
411 [XPG3 || XPG4] (nanosleep): Likewise.
412 [XPG3 || XPG4] (timer_create): Likewise.
413 [XPG3 || XPG4] (timer_delete): Likewise.
414 [XPG3 || XPG4] (timer_gettime): Likewise.
415 [XPG3 || XPG4] (timer_getoverrun): Likewise.
416 [XPG3 || XPG4] (timer_settime): Likewise.
417 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
418 [XPG3 || XPG4] (getlogin_r): Likewise.
419 [XPG3 || XPG4] (pread): Likewise.
420 [XPG3 || XPG4] (pthread_atfork): Likewise.
421 [XPG3 || XPG4] (pwrite): Likewise.
424 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
427 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
429 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
430 finalizing MALLSTREAM.
432 * sysdeps/mach/hurd/syncfs.c: New file.
434 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
438 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
439 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
440 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
441 (_nss_dns_gethostbyname4_r): Likewise.
442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
443 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
445 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
448 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
450 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
452 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
453 * elf/cache.c (print_entry): Print ",AArch64" for
456 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
457 * elf/cache.c (print_entry): Print ",hard-float" for
460 2012-11-18 David S. Miller <davem@davemloft.net>
462 With help from Joseph Myers.
463 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
465 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
467 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
468 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
470 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
471 * math/libm-test.inc (y0_test): New tests.
472 (y1_test): New tests.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
477 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
479 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
481 * configure: Regenerated.
483 2012-11-17 David S. Miller <davem@davemloft.net>
486 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
487 nonzero exponents with absolute value below 0x1p-128 to +/-
490 2012-11-17 Joseph Myers <joseph@codesourcery.com>
492 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
494 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
496 * posix/getconf-speclist.c: New file.
497 * posix/posix-envs.def: Likewise.
498 * posix/confstr.c (START_ENV_GROUP): New macro.
499 (END_ENV_GROUP): Likewise.
500 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
501 (KNOWN_PRESENT_ENV_STRING): Likewise.
502 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
503 (UNKNOWN_ENVIRONMENT): Likewise.
504 (confstr): Include posix-envs.def instead of handling
505 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
506 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
507 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
508 (END_ENV_GROUP): Likewise.
509 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
510 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
511 (UNKNOWN_ENVIRONMENT): Likewise.
512 (__sysconf): Include posix-envs.def instead of handling associated
514 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
515 preprocessing getconf-speclist.c rather than running getconf or
516 generating empty file.
518 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
520 * scripts/check-local-headers.sh: Ignore 'mach' headers.
522 2012-11-16 Andrej Lajovic <natrij@gmail.com>
525 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
527 2012-11-16 David S. Miller <davem@davemloft.net>
529 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
530 smaller than LDBL_EPSILON/2.0L, just return xm1.
532 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
534 * elf/tst-array1.c (init): Set constructor priority to 1000.
535 (fini): Set destructor priority to 1000.
536 * elf/tst-array2dep.c: Likewise.
538 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
541 * libio/fileops.c (_IO_new_file_write): Correctly return error.
542 (_IO_new_file_xsputn): Also return EOF if none of the input
543 data was written when overflow failed.
544 * libio/iopadn.c (_IO_padn): Likewise.
545 * libio/iowpadn.c (_IO_wpadn): Likewise.
546 * stdio-common/tst-put-error.c: Add copyright notice.
547 (do_test): Add case for printing padded string.
548 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
549 _IO_padn returned error.
550 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
551 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
554 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
556 * libio/libioP.h: Add comment note that the references to C++
557 bits are now obsolete.
559 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
561 * math/libm-test.inc (check_complex): Use asprintf.
563 2012-11-14 Joseph Myers <joseph@codesourcery.com>
565 * debug/pcprofiledump.c (print_version): Update copyright year.
566 * malloc/memusagestat.c (print_version): Likewise.
568 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
571 * elf/Makefile (tests): Add tst-audit8.
572 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
573 ($(objpfx)tst-audit8.out): New target.
574 (tst-audit8-ENV): New variable.
575 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
576 audit if l_reloc_result is NULL.
577 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
578 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
579 * elf/tst-audit8.c: New file.
581 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
583 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
584 * misc/Makefile (CFLAGS-select.c): Define.
585 * posix/Makefile (CFLAGS-pause.c): Define.
587 2012-11-13 David S. Miller <davem@davemloft.net>
589 * crypt/Makefile: Move test targets after toplevel Rules
590 inclusion. Grab any necessary sysdep routines when linking.
591 * crypt/md5.c (md5_process_block): Remove define, we will always
592 name it __md5_process_block.
593 (md5_finish_ctx): Update md5_process_block call.
594 (md5_stream): Likewise.
595 (md5_process_bytes): Likewise.
596 (md5_process_block): Rename to __md5_process_block and move to ...
597 * crypt/md5-block.c: ... here.
598 * crypt/sha256.c (sha256_process_block): Move to ...
599 * crypt/sha256-block.c: ... here.
600 * crypt/sha512.c (sha512_process_block): Move to ...
601 * crypt/sha512-block.c: ... here.
602 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
604 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
605 * sysdeps/sparc/sparc64/multiarch/Makefile
606 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
608 (localedef-aux): Add md5 crypto assembler when in locale subdir.
609 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
611 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
612 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
613 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
614 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
615 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
616 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
617 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
618 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
619 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
621 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
622 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
624 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
626 2012-11-13 Joseph Myers <joseph@codesourcery.com>
628 * timezone/tzselect.ksh: Update from tzcode git revision
629 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
630 * timezone/zdump.c: Likewise.
631 * timezone/zic.c: Likewise.
632 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
633 in TZVERSION setting, not $(PKGVERSION).
634 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
635 REPORT_BUGS_TO settings.
638 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
641 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
643 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
644 detection to immediately after _FP_ROUND().
645 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
648 2012-11-11 David S. Miller <davem@davemloft.net>
650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
652 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
653 __close rather than their public counterparts.
655 2012-11-10 Joseph Myers <joseph@codesourcery.com>
657 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
659 [UNIX98] (sem_timedwait): Do not expect.
660 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
661 [XPG4 || UNIX98] (sockatmark): Do not expect.
662 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
663 (clock_getcpuclockid): Do not expect.
664 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
665 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
667 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
668 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
669 [UNIX98] (vwscanf): Likewise.
670 [UNIX98] (vswscanf): Likewise.
672 2012-11-09 Joseph Myers <joseph@codesourcery.com>
674 * timezone/version.h: Remove file.
675 * timezone/README: Do not refer to version.h.
676 * timezone/Makefile ($(objpfx)zic.o): New dependency on
678 ($(objpfx)zdump.o): Likewise.
679 ($(objpfx)version.h): New target.
681 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
683 * timezone/README: Don't mention modification to tzselect.ksh.
684 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
685 work on unmodified tzselect.ksh. Substitute version numbers in
688 * Makefile (format-me): Remove.
689 (INSTALL): Adjust indentation. Use commands directly instead of
692 * aclocal.m4 (ACX_PKGVERSION): New macro.
693 (ACX_BUGURL): Likewise.
694 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
695 (PKGVERSION): New AC_DEFINE_UNQUOTED.
696 (REPORT_BUGS_TO): Likewise.
697 * configure: Regenerated.
698 * config.h.in (PKGVERSION): New macro.
699 (REPORT_BUGS_TO): Likewise.
700 * config.make.in (PKGVERSION): New variable.
701 (PKGVERSION_TEXI): Likewise.
702 (REPORT_BUGS_TO): Likewise.
703 (REPORT_BUGS_TEXI): Likewise.
704 * Makefile (format-me): Use -I$(common-objpfx)manual.
705 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
706 ($(common-objpfx)manual/%): New target.
707 (manual/%): Remove target.
708 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
709 (print_version): Use PKGVERSION.
710 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
711 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
713 ($(objpfx)xtrace): Likewise.
714 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
715 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
716 (print_version): Use PKGVERSION.
717 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
718 (do_version): Use PKGVERSION.
719 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
721 (common-ldd-rewrite): Likewise.
722 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
723 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
724 (print_version): Use PKGVERSION.
725 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
726 * elf/pldd.c (argp_program_bug_address): Remove variable.
727 (more_help): New function.
728 (argp): Use more_help.
729 (print_version): Use PKGVERSION.
730 * elf/sln.c (main): Use PKGVERSION.
731 (usage): Use REPORT_BUGS_TO.
732 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
733 (top level): Use PKGVERSION.
734 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
735 (print_version): Use PKGVERSION.
736 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
737 (print_version): Use PKGVERSION.
738 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
739 (print_version): Use PKGVERSION.
740 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
741 (print_version): Use PKGVERSION.
742 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
743 (print_version): Use PKGVERSION.
744 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
745 (print_version): Use PKGVERSION.
746 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
748 ($(objpfx)memusage): Likewise.
749 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
750 (do_version): Use PKGVERSION.
751 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
752 (print_version): Use PKGVERSION.
753 * malloc/mtrace.pl ($PACKAGE): Remove variable.
754 ($PKGVERSION): New variable.
755 ($REPORT_BUGS_TO): Likewise.
756 (usage): Use $REPORT_BUGS_TO.
757 (top level): Use $PKGVERSION.
758 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
759 ($(objpfx)pkgvers.texi): New rule.
760 ($(objpfx)stamp-pkgvers): Likewise.
761 * manual/install.texi: Include pkgvers.texi.
762 (--with-pkgversion): Document new configure option.
763 (--with-bugurl): Likewise.
764 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
765 than necessarily for this particular distribution. Use
766 REPORT_BUGS_TO for where to report bugs.
767 * INSTALL: Regenerated.
768 * manual/libc.texinfo: Include pkgvers.texi.
769 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
770 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
771 (print_version): Use PKGVERSION.
772 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
773 (print_version): Use PKGVERSION.
774 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
775 (print_version): Use PKGVERSION.
776 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
777 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
779 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
780 (print_version): Use PKGVERSION.
781 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
782 (print_version): Use PKGVERSION.
783 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
786 * timezone/checktab.awk: Update from tzcode 2012i.
787 * timezone/ialloc.c: Likewise.
788 * timezone/private.h: Likewise.
789 * timezone/scheck.c: Likewise.
790 * timezone/tzfile.h: Likewise.
791 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
792 (TZVERSION): Hardcode tzcode version number.
793 * timezone/zdump.c: Update from tzcode 2012i.
794 * timezone/zic.c: Likewise.
795 * timezone/version.h: New file.
796 * timezone/README: Describe version.h. Update upstream location.
799 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
800 (mktemp): Enable declaration.
801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
802 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
804 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
806 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
808 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
810 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
812 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
814 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
818 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
819 offset in buffer as u_int32_t not u_long. Consistently use memcpy
820 for copies of such integer values.
821 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
822 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
824 2012-11-09 Andreas Jaeger <aj@suse.de>
826 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
827 definitions and declarations that are provided by
828 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
830 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
833 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
834 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
837 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
839 * elf/elf.h: Update comment before AArch64 relocations.
841 2012-11-07 David S. Miller <davem@davemloft.net>
843 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
845 (__start_context): Declare.
846 (__makecontext_ret): Delete.
847 (__makecontext): Hook up __start_context instead of
849 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
850 (sysdep_routines): Add __start_context when in stdlib.
852 2012-11-07 Joseph Myers <joseph@codesourcery.com>
854 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
855 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
856 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
858 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
859 (READELF): New variable. Use it instead of hardcoded "readelf".
861 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
863 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
864 * sysdeps/x86/Makefile: Here.
865 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
866 * sysdeps/x86/tst-xmmymm.sh: This.
868 2012-11-07 Joseph Myers <joseph@codesourcery.com>
870 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
872 [UNIX98] (pthread_barrier_t): Do not expect.
873 [UNIX98] (pthread_barrierattr_t): Likewise.
874 [UNIX98] (pthread_spinlock_t): Likewise.
875 [UNIX98] (pthread_barrier_destroy): Likewise.
876 [UNIX98] (pthread_barrier_init): Likewise.
877 [UNIX98] (pthread_barrier_wait): Likewise.
878 [UNIX98] (pthread_barrierattr_destroy): Likewise.
879 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
880 [UNIX98] (pthread_barrierattr_init): Likewise.
881 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
882 [UNIX98] (pthread_getcpuclockid): Likewise.
883 [UNIX98] (pthread_mutex_timedlock): Likewise.
884 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
885 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
886 [UNIX98] (pthread_sigmask): Likewise.
887 [UNIX98] (pthread_spin_destroy): Likewise.
888 [UNIX98] (pthread_spin_init): Likewise.
889 [UNIX98] (pthread_spin_lock): Likewise.
890 [UNIX98] (pthread_spin_trylock): Likewise.
891 [UNIX98] (pthread_spin_unlock): Likewise.
892 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
894 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
895 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
896 [XPG3 || XPG4] (pthread_cond_t): Likewise.
897 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
898 [XPG3 || XPG4] (pthread_key_t): Likewise.
899 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
900 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
901 [XPG3 || XPG4] (pthread_once_t): Likewise.
902 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
903 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
904 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
905 [XPG3 || XPG4] (pthread_t): Likewise.
907 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
909 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
911 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
912 Change function return type to int.
914 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
915 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
916 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
917 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
918 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
919 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
920 [!POSIX] (posix_madvise): Likewise.
921 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
923 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
924 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
926 (posix_mem_offset): Likewise.
927 (posix_typed_mem_get_info): Likewise.
928 (posix_typed_mem_open): Likewise.
930 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
931 Change condition to [XOPEN2K8].
933 * conform/conformtest.pl: Preprocess allow-header data with -x c
934 instead of from stdin.
935 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
936 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
937 [C99-based standards] (cerfc): Likewise.
938 [C99-based standards] (cexp2): Likewise.
939 [C99-based standards] (cexpm1): Likewise.
940 [C99-based standards] (clog10): Likewise.
941 [C99-based standards] (clog1p): Likewise.
942 [C99-based standards] (clog2): Likewise.
943 [C99-based standards] (clgamma): Likewise.
944 [C99-based standards] (ctgamma): Likewise.
945 [C99-based standards] (cerff): Likewise.
946 [C99-based standards] (cerfcf): Likewise.
947 [C99-based standards] (cexp2f): Likewise.
948 [C99-based standards] (cexpm1f): Likewise.
949 [C99-based standards] (clog10f): Likewise.
950 [C99-based standards] (clog1pf): Likewise.
951 [C99-based standards] (clog2f): Likewise.
952 [C99-based standards] (clgammaf): Likewise.
953 [C99-based standards] (ctgammaf): Likewise.
954 [C99-based standards] (cerfl): Likewise.
955 [C99-based standards] (cerfcl): Likewise.
956 [C99-based standards] (cexp2l): Likewise.
957 [C99-based standards] (cexpm1l): Likewise.
958 [C99-based standards] (clog10l): Likewise.
959 [C99-based standards] (clog1pl): Likewise.
960 [C99-based standards] (clog2l): Likewise.
961 [C99-based standards] (clgammal): Likewise.
962 [C99-based standards] (ctgammal): Likewise.
963 * conform/data/inttypes.h-data [C99-based standards]: Include
964 stdint.h-data. Remove all expectations for stdint.h contents.
965 [C99-based standards] (PRI*): Do not allow.
966 [C99-based standards] (SCN*): Likewise.
967 [C99-based standards] (*_t): Likewise.
968 [C99-based-standards] (PRId8): Expect macro.
969 [C99-based-standards] (PRIi8): Likewise.
970 [C99-based-standards] (PRIo8): Likewise.
971 [C99-based-standards] (PRIu8): Likewise.
972 [C99-based-standards] (PRIx8): Likewise.
973 [C99-based-standards] (PRIX8): Likewise.
974 [C99-based-standards] (SCNd8): Likewise.
975 [C99-based-standards] (SCNi8): Likewise.
976 [C99-based-standards] (SCNo8): Likewise.
977 [C99-based-standards] (SCNu8): Likewise.
978 [C99-based-standards] (SCNx8): Likewise.
979 [C99-based-standards] (PRIdLEAST8): Likewise.
980 [C99-based-standards] (PRIiLEAST8): Likewise.
981 [C99-based-standards] (PRIoLEAST8): Likewise.
982 [C99-based-standards] (PRIuLEAST8): Likewise.
983 [C99-based-standards] (PRIxLEAST8): Likewise.
984 [C99-based-standards] (PRIXLEAST8): Likewise.
985 [C99-based-standards] (SCNdLEAST8): Likewise.
986 [C99-based-standards] (SCNiLEAST8): Likewise.
987 [C99-based-standards] (SCNoLEAST8): Likewise.
988 [C99-based-standards] (SCNuLEAST8): Likewise.
989 [C99-based-standards] (SCNxLEAST8): Likewise.
990 [C99-based-standards] (PRIdFAST8): Likewise.
991 [C99-based-standards] (PRIiFAST8): Likewise.
992 [C99-based-standards] (PRIoFAST8): Likewise.
993 [C99-based-standards] (PRIuFAST8): Likewise.
994 [C99-based-standards] (PRIxFAST8): Likewise.
995 [C99-based-standards] (PRIXFAST8): Likewise.
996 [C99-based-standards] (SCNdFAST8): Likewise.
997 [C99-based-standards] (SCNiFAST8): Likewise.
998 [C99-based-standards] (SCNoFAST8): Likewise.
999 [C99-based-standards] (SCNuFAST8): Likewise.
1000 [C99-based-standards] (SCNxFAST8): Likewise.
1001 [C99-based-standards] (PRId16): Likewise.
1002 [C99-based-standards] (PRIi16): Likewise.
1003 [C99-based-standards] (PRIo16): Likewise.
1004 [C99-based-standards] (PRIu16): Likewise.
1005 [C99-based-standards] (PRIx16): Likewise.
1006 [C99-based-standards] (PRIX16): Likewise.
1007 [C99-based-standards] (SCNd16): Likewise.
1008 [C99-based-standards] (SCNi16): Likewise.
1009 [C99-based-standards] (SCNo16): Likewise.
1010 [C99-based-standards] (SCNu16): Likewise.
1011 [C99-based-standards] (SCNx16): Likewise.
1012 [C99-based-standards] (PRIdLEAST16): Likewise.
1013 [C99-based-standards] (PRIiLEAST16): Likewise.
1014 [C99-based-standards] (PRIoLEAST16): Likewise.
1015 [C99-based-standards] (PRIuLEAST16): Likewise.
1016 [C99-based-standards] (PRIxLEAST16): Likewise.
1017 [C99-based-standards] (PRIXLEAST16): Likewise.
1018 [C99-based-standards] (SCNdLEAST16): Likewise.
1019 [C99-based-standards] (SCNiLEAST16): Likewise.
1020 [C99-based-standards] (SCNoLEAST16): Likewise.
1021 [C99-based-standards] (SCNuLEAST16): Likewise.
1022 [C99-based-standards] (SCNxLEAST16): Likewise.
1023 [C99-based-standards] (PRIdFAST16): Likewise.
1024 [C99-based-standards] (PRIiFAST16): Likewise.
1025 [C99-based-standards] (PRIoFAST16): Likewise.
1026 [C99-based-standards] (PRIuFAST16): Likewise.
1027 [C99-based-standards] (PRIxFAST16): Likewise.
1028 [C99-based-standards] (PRIXFAST16): Likewise.
1029 [C99-based-standards] (SCNdFAST16): Likewise.
1030 [C99-based-standards] (SCNiFAST16): Likewise.
1031 [C99-based-standards] (SCNoFAST16): Likewise.
1032 [C99-based-standards] (SCNuFAST16): Likewise.
1033 [C99-based-standards] (SCNxFAST16): Likewise.
1034 [C99-based-standards] (PRId32): Likewise.
1035 [C99-based-standards] (PRIi32): Likewise.
1036 [C99-based-standards] (PRIo32): Likewise.
1037 [C99-based-standards] (PRIu32): Likewise.
1038 [C99-based-standards] (PRIx32): Likewise.
1039 [C99-based-standards] (PRIX32): Likewise.
1040 [C99-based-standards] (SCNd32): Likewise.
1041 [C99-based-standards] (SCNi32): Likewise.
1042 [C99-based-standards] (SCNo32): Likewise.
1043 [C99-based-standards] (SCNu32): Likewise.
1044 [C99-based-standards] (SCNx32): Likewise.
1045 [C99-based-standards] (PRIdLEAST32): Likewise.
1046 [C99-based-standards] (PRIiLEAST32): Likewise.
1047 [C99-based-standards] (PRIoLEAST32): Likewise.
1048 [C99-based-standards] (PRIuLEAST32): Likewise.
1049 [C99-based-standards] (PRIxLEAST32): Likewise.
1050 [C99-based-standards] (PRIXLEAST32): Likewise.
1051 [C99-based-standards] (SCNdLEAST32): Likewise.
1052 [C99-based-standards] (SCNiLEAST32): Likewise.
1053 [C99-based-standards] (SCNoLEAST32): Likewise.
1054 [C99-based-standards] (SCNuLEAST32): Likewise.
1055 [C99-based-standards] (SCNxLEAST32): Likewise.
1056 [C99-based-standards] (PRIdFAST32): Likewise.
1057 [C99-based-standards] (PRIiFAST32): Likewise.
1058 [C99-based-standards] (PRIoFAST32): Likewise.
1059 [C99-based-standards] (PRIuFAST32): Likewise.
1060 [C99-based-standards] (PRIxFAST32): Likewise.
1061 [C99-based-standards] (PRIXFAST32): Likewise.
1062 [C99-based-standards] (SCNdFAST32): Likewise.
1063 [C99-based-standards] (SCNiFAST32): Likewise.
1064 [C99-based-standards] (SCNoFAST32): Likewise.
1065 [C99-based-standards] (SCNuFAST32): Likewise.
1066 [C99-based-standards] (SCNxFAST32): Likewise.
1067 [C99-based-standards] (PRId64): Likewise.
1068 [C99-based-standards] (PRIi64): Likewise.
1069 [C99-based-standards] (PRIo64): Likewise.
1070 [C99-based-standards] (PRIu64): Likewise.
1071 [C99-based-standards] (PRIx64): Likewise.
1072 [C99-based-standards] (PRIX64): Likewise.
1073 [C99-based-standards] (SCNd64): Likewise.
1074 [C99-based-standards] (SCNi64): Likewise.
1075 [C99-based-standards] (SCNo64): Likewise.
1076 [C99-based-standards] (SCNu64): Likewise.
1077 [C99-based-standards] (SCNx64): Likewise.
1078 [C99-based-standards] (PRIdLEAST64): Likewise.
1079 [C99-based-standards] (PRIiLEAST64): Likewise.
1080 [C99-based-standards] (PRIoLEAST64): Likewise.
1081 [C99-based-standards] (PRIuLEAST64): Likewise.
1082 [C99-based-standards] (PRIxLEAST64): Likewise.
1083 [C99-based-standards] (PRIXLEAST64): Likewise.
1084 [C99-based-standards] (SCNdLEAST64): Likewise.
1085 [C99-based-standards] (SCNiLEAST64): Likewise.
1086 [C99-based-standards] (SCNoLEAST64): Likewise.
1087 [C99-based-standards] (SCNuLEAST64): Likewise.
1088 [C99-based-standards] (SCNxLEAST64): Likewise.
1089 [C99-based-standards] (PRIdFAST64): Likewise.
1090 [C99-based-standards] (PRIiFAST64): Likewise.
1091 [C99-based-standards] (PRIoFAST64): Likewise.
1092 [C99-based-standards] (PRIuFAST64): Likewise.
1093 [C99-based-standards] (PRIxFAST64): Likewise.
1094 [C99-based-standards] (PRIXFAST64): Likewise.
1095 [C99-based-standards] (SCNdFAST64): Likewise.
1096 [C99-based-standards] (SCNiFAST64): Likewise.
1097 [C99-based-standards] (SCNoFAST64): Likewise.
1098 [C99-based-standards] (SCNuFAST64): Likewise.
1099 [C99-based-standards] (SCNxFAST64): Likewise.
1100 [C99-based-standards] (PRIdMAX): Likewise.
1101 [C99-based-standards] (PRIiMAX): Likewise.
1102 [C99-based-standards] (PRIoMAX): Likewise.
1103 [C99-based-standards] (PRIuMAX): Likewise.
1104 [C99-based-standards] (PRIxMAX): Likewise.
1105 [C99-based-standards] (PRIXMAX): Likewise.
1106 [C99-based-standards] (SCNdMAX): Likewise.
1107 [C99-based-standards] (SCNiMAX): Likewise.
1108 [C99-based-standards] (SCNoMAX): Likewise.
1109 [C99-based-standards] (SCNuMAX): Likewise.
1110 [C99-based-standards] (SCNxMAX): Likewise.
1111 [C99-based-standards] (PRIdPTR): Likewise.
1112 [C99-based-standards] (PRIiPTR): Likewise.
1113 [C99-based-standards] (PRIoPTR): Likewise.
1114 [C99-based-standards] (PRIuPTR): Likewise.
1115 [C99-based-standards] (PRIxPTR): Likewise.
1116 [C99-based-standards] (PRIXPTR): Likewise.
1117 [C99-based-standards] (SCNdPTR): Likewise.
1118 [C99-based-standards] (SCNiPTR): Likewise.
1119 [C99-based-standards] (SCNoPTR): Likewise.
1120 [C99-based-standards] (SCNuPTR): Likewise.
1121 [C99-based-standards] (SCNxPTR): Likewise.
1122 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1124 * conform/data/stdint.h-data: Update comments to clarify
1126 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1128 [C99-based standards] (INT8_MAX): Likewise.
1129 [C99-based standards] (INT16_MIN): Likewise.
1130 [C99-based standards] (INT16_MAX): Likewise.
1131 [C99-based standards] (INT32_MIN): Likewise.
1132 [C99-based standards] (INT32_MAX): Likewise.
1133 [C99-based standards] (INT64_MIN): Likewise.
1134 [C99-based standards] (INT64_MAX): Likewise.
1135 [C99-based standards] (UINT8_MAX): Likewise.
1136 [C99-based standards] (UINT16_MAX): Likewise.
1137 [C99-based standards] (UINT32_MAX): Likewise.
1138 [C99-based standards] (UINT64_MAX): Likewise.
1139 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1140 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1141 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1142 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1143 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1144 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1145 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1146 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1147 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1148 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1149 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1150 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1151 [C99-based standards] (INT_FAST8_MIN): Likewise.
1152 [C99-based standards] (INT_FAST8_MAX): Likewise.
1153 [C99-based standards] (INT_FAST16_MIN): Likewise.
1154 [C99-based standards] (INT_FAST16_MAX): Likewise.
1155 [C99-based standards] (INT_FAST32_MIN): Likewise.
1156 [C99-based standards] (INT_FAST32_MAX): Likewise.
1157 [C99-based standards] (INT_FAST64_MIN): Likewise.
1158 [C99-based standards] (INT_FAST64_MAX): Likewise.
1159 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1160 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1161 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1162 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1163 [C99-based standards] (INTPTR_MIN): Likewise.
1164 [C99-based standards] (INTPTR_MAX): Likewise.
1165 [C99-based standards] (UINTPTR_MAX): Likewise.
1166 [C99-based standards] (INTMAX_MIN): Likewise.
1167 [C99-based standards] (INTMAX_MAX): Likewise.
1168 [C99-based standards] (UINTMAX_MAX): Likewise.
1169 [C99-based standards] (PTRDIFF_MIN): Likewise.
1170 [C99-based standards] (PTRDIFF_MAX): Likewise.
1171 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1172 [C99-based standards] (SIZE_MAX): Likewise.
1173 [C99-based standards] (WCHAR_MAX): Likewise.
1174 [C99-based standards] (WINT_MAX): Likewise.
1175 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1176 constraint on value.
1177 [C99-based standards] (WCHAR_MIN): Likewise.
1178 [C99-based standards] (WINT_MIN): Likewise.
1179 [C99-based standards] (*_t): Allow.
1180 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1181 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1182 Include math.h-data and complex.h-data. Remove all expectations
1183 of math.h and complex.h contents.
1184 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1186 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1187 (struct tm): Expect tag.
1188 [C99-based-standards] (wcstof): Expect function.
1189 [C99-based-standards] (wcstold): Likewise.
1190 [C99-based-standards] (wcstoll): Likewise.
1191 [C99-based-standards] (wcstoull): Likewise.
1192 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1193 macro-int-constant. Specify type.
1194 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1195 constraint on value.
1196 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1198 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1200 [ISO C standards]: Do not allow headers.
1201 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1202 wcs[abcdefghijklmnopqrstuvwxyz]*.
1203 [ISO C standards] (*_t): Do not allow.
1204 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1206 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1207 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1209 [ISO C standards]: Do not allow headers.
1210 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1211 is[abcdefghijklmnopqrstuvwxyz]*.
1212 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1213 to[abcdefghijklmnopqrstuvwxyz]*.
1214 [ISO C standards] (*_t): Do not allow.
1215 * conform/data/stdalign.h-data: New file.
1216 * conform/data/stdbool.h-data: Likewise.
1217 * conform/data/stdnoreturn.h-data: Likewise.
1219 2012-11-07 Roland McGrath <roland@hack.frob.com>
1222 * manual/filesys.texi (Directory Entries): Typo fix.
1223 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1225 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1227 * elf/elf.h (EM_AARCH64): New macro.
1228 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1229 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1230 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1231 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1232 (R_AARCH64_TLSDESC): Likewise.
1233 (NT_ARM_TLS): Likewise.
1234 (NT_ARM_HW_BREAK): Likewise.
1235 (NT_ARM_HW_WATCH): Likewise.
1237 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1240 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1241 (__ieee754_powl): Saturate nonzero exponents with absolute value
1242 below 0x1p-79 to +/- 0x1p-79.
1243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1244 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1245 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1246 nonzero exponents with absolute value below 0x1p-32 to +/-
1248 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1249 (__ieee754_powl): Saturate nonzero exponents with absolute value
1250 below 0x1p-79 to +/- 0x1p-79.
1251 * math/libm-test.inc (pow_test): Add more tests.
1253 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1255 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1256 _dl_s390_cap_flags with kernel. Increase string length.
1257 (_dl_s390_platforms): Add z196 and zEC12.
1259 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1261 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1262 Change XOPEN21K to XOPEN2K.
1264 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1266 * string/memmove.c: Use memcpy when possible.
1268 2012-11-06 Andreas Jaeger <aj@suse.de>
1270 * po/eo.po: Update from translation team.
1272 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1276 exponent and small x and y exponents, scale x or y up. Increase
1277 by 2 the exponent used in scaling up.
1278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1280 * math/libm-test.inc (fma_test): Add more tests.
1281 (fma_test_towardzero): Likewise.
1282 (fma_test_downward): Likewise.
1283 (fma_test_upward): Likewise.
1285 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1288 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1292 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1293 namespace for names of struct fields.
1294 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1296 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1297 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1299 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1302 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1304 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1306 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1310 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1313 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1317 definitely overflow as x * y not x * y + z.
1318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1320 * math/libm-test.inc (fma_test): Add more tests.
1321 (fma_test_towardzero): Likewise.
1322 (fma_test_downward): Likewise.
1323 (fma_test_upward): Likewise.
1325 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1329 * include/stub-tag.h: Remove file.
1330 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1332 * manual/maint.texi (Porting): Don't reference it.
1333 * Makerules ($(objpfx)stubs): Likewise.
1334 * dirent/closedir.c: Don't include <stub-tag.h>.
1335 * dirent/dirfd.c: Likewise.
1336 * dirent/fdopendir.c: Likewise.
1337 * dirent/getdents.c: Likewise.
1338 * dirent/getdents64.c: Likewise.
1339 * dirent/opendir.c: Likewise.
1340 * dirent/readdir.c: Likewise.
1341 * dirent/readdir64.c: Likewise.
1342 * dirent/readdir64_r.c: Likewise.
1343 * dirent/readdir_r.c: Likewise.
1344 * dirent/rewinddir.c: Likewise.
1345 * dirent/seekdir.c: Likewise.
1346 * dirent/telldir.c: Likewise.
1347 * gmon/profil.c: Likewise.
1348 * grp/setgroups.c: Likewise.
1349 * inet/if_index.c: Likewise.
1350 * io/access.c: Likewise.
1351 * io/chdir.c: Likewise.
1352 * io/chmod.c: Likewise.
1353 * io/chown.c: Likewise.
1354 * io/close.c: Likewise.
1355 * io/dup.c: Likewise.
1356 * io/dup2.c: Likewise.
1357 * io/dup3.c: Likewise.
1358 * io/euidaccess.c: Likewise.
1359 * io/faccessat.c: Likewise.
1360 * io/fchdir.c: Likewise.
1361 * io/fchmod.c: Likewise.
1362 * io/fchmodat.c: Likewise.
1363 * io/fchown.c: Likewise.
1364 * io/fchownat.c: Likewise.
1365 * io/fcntl.c: Likewise.
1366 * io/flock.c: Likewise.
1367 * io/fstatfs.c: Likewise.
1368 * io/fstatfs64.c: Likewise.
1369 * io/fstatvfs.c: Likewise.
1370 * io/fstatvfs64.c: Likewise.
1371 * io/futimens.c: Likewise.
1372 * io/fxstat.c: Likewise.
1373 * io/fxstat64.c: Likewise.
1374 * io/fxstatat.c: Likewise.
1375 * io/fxstatat64.c: Likewise.
1376 * io/getcwd.c: Likewise.
1377 * io/isatty.c: Likewise.
1378 * io/lchmod.c: Likewise.
1379 * io/lchown.c: Likewise.
1380 * io/link.c: Likewise.
1381 * io/linkat.c: Likewise.
1382 * io/lseek.c: Likewise.
1383 * io/lseek64.c: Likewise.
1384 * io/lxstat64.c: Likewise.
1385 * io/mkdir.c: Likewise.
1386 * io/mkdirat.c: Likewise.
1387 * io/mkfifo.c: Likewise.
1388 * io/mkfifoat.c: Likewise.
1389 * io/open.c: Likewise.
1390 * io/open64.c: Likewise.
1391 * io/openat.c: Likewise.
1392 * io/openat64.c: Likewise.
1393 * io/pipe.c: Likewise.
1394 * io/pipe2.c: Likewise.
1395 * io/poll.c: Likewise.
1396 * io/posix_fadvise.c: Likewise.
1397 * io/posix_fadvise64.c: Likewise.
1398 * io/posix_fallocate.c: Likewise.
1399 * io/posix_fallocate64.c: Likewise.
1400 * io/read.c: Likewise.
1401 * io/readlink.c: Likewise.
1402 * io/readlinkat.c: Likewise.
1403 * io/rmdir.c: Likewise.
1404 * io/sendfile.c: Likewise.
1405 * io/sendfile64.c: Likewise.
1406 * io/statfs.c: Likewise.
1407 * io/statfs64.c: Likewise.
1408 * io/statvfs.c: Likewise.
1409 * io/statvfs64.c: Likewise.
1410 * io/symlink.c: Likewise.
1411 * io/symlinkat.c: Likewise.
1412 * io/ttyname.c: Likewise.
1413 * io/ttyname_r.c: Likewise.
1414 * io/umask.c: Likewise.
1415 * io/unlink.c: Likewise.
1416 * io/unlinkat.c: Likewise.
1417 * io/utime.c: Likewise.
1418 * io/utimensat.c: Likewise.
1419 * io/write.c: Likewise.
1420 * io/xmknod.c: Likewise.
1421 * io/xmknodat.c: Likewise.
1422 * io/xstat.c: Likewise.
1423 * io/xstat64.c: Likewise.
1424 * login/getpt.c: Likewise.
1425 * login/grantpt.c: Likewise.
1426 * login/unlockpt.c: Likewise.
1427 * math/e_acoshl.c: Likewise.
1428 * math/e_acosl.c: Likewise.
1429 * math/e_asinl.c: Likewise.
1430 * math/e_atan2l.c: Likewise.
1431 * math/e_atanhl.c: Likewise.
1432 * math/e_coshl.c: Likewise.
1433 * math/e_expl.c: Likewise.
1434 * math/e_fmodl.c: Likewise.
1435 * math/e_gammal_r.c: Likewise.
1436 * math/e_hypotl.c: Likewise.
1437 * math/e_j0l.c: Likewise.
1438 * math/e_j1l.c: Likewise.
1439 * math/e_jnl.c: Likewise.
1440 * math/e_lgammal_r.c: Likewise.
1441 * math/e_log10l.c: Likewise.
1442 * math/e_log2l.c: Likewise.
1443 * math/e_logl.c: Likewise.
1444 * math/e_powl.c: Likewise.
1445 * math/e_rem_pio2l.c: Likewise.
1446 * math/e_sinhl.c: Likewise.
1447 * math/e_sqrtl.c: Likewise.
1448 * math/fclrexcpt.c: Likewise.
1449 * math/fedisblxcpt.c: Likewise.
1450 * math/feenablxcpt.c: Likewise.
1451 * math/fegetenv.c: Likewise.
1452 * math/fegetexcept.c: Likewise.
1453 * math/fegetround.c: Likewise.
1454 * math/feholdexcpt.c: Likewise.
1455 * math/fesetenv.c: Likewise.
1456 * math/fesetround.c: Likewise.
1457 * math/feupdateenv.c: Likewise.
1458 * math/fgetexcptflg.c: Likewise.
1459 * math/fraiseexcpt.c: Likewise.
1460 * math/fsetexcptflg.c: Likewise.
1461 * math/ftestexcept.c: Likewise.
1462 * math/k_cosl.c: Likewise.
1463 * math/k_rem_pio2l.c: Likewise.
1464 * math/k_sinl.c: Likewise.
1465 * math/k_tanl.c: Likewise.
1466 * math/s_asinhl.c: Likewise.
1467 * math/s_atanl.c: Likewise.
1468 * math/s_cbrtl.c: Likewise.
1469 * math/s_erfl.c: Likewise.
1470 * math/s_expm1l.c: Likewise.
1471 * math/s_log1pl.c: Likewise.
1472 * math/s_tanhl.c: Likewise.
1473 * misc/acct.c: Likewise.
1474 * misc/brk.c: Likewise.
1475 * misc/chflags.c: Likewise.
1476 * misc/chroot.c: Likewise.
1477 * misc/fchflags.c: Likewise.
1478 * misc/fgetxattr.c: Likewise.
1479 * misc/flistxattr.c: Likewise.
1480 * misc/fremovexattr.c: Likewise.
1481 * misc/fsetxattr.c: Likewise.
1482 * misc/fsync.c: Likewise.
1483 * misc/ftruncate.c: Likewise.
1484 * misc/futimes.c: Likewise.
1485 * misc/futimesat.c: Likewise.
1486 * misc/getdomain.c: Likewise.
1487 * misc/getdtsz.c: Likewise.
1488 * misc/gethostid.c: Likewise.
1489 * misc/gethostname.c: Likewise.
1490 * misc/getloadavg.c: Likewise.
1491 * misc/getpagesize.c: Likewise.
1492 * misc/getsysstats.c: Likewise.
1493 * misc/getxattr.c: Likewise.
1494 * misc/gtty.c: Likewise.
1495 * misc/ioctl.c: Likewise.
1496 * misc/lgetxattr.c: Likewise.
1497 * misc/listxattr.c: Likewise.
1498 * misc/llistxattr.c: Likewise.
1499 * misc/lremovexattr.c: Likewise.
1500 * misc/lsetxattr.c: Likewise.
1501 * misc/lutimes.c: Likewise.
1502 * misc/madvise.c: Likewise.
1503 * misc/mincore.c: Likewise.
1504 * misc/mlock.c: Likewise.
1505 * misc/mlockall.c: Likewise.
1506 * misc/mmap.c: Likewise.
1507 * misc/mprotect.c: Likewise.
1508 * misc/msync.c: Likewise.
1509 * misc/munlock.c: Likewise.
1510 * misc/munlockall.c: Likewise.
1511 * misc/munmap.c: Likewise.
1512 * misc/preadv.c: Likewise.
1513 * misc/preadv64.c: Likewise.
1514 * misc/ptrace.c: Likewise.
1515 * misc/pwritev.c: Likewise.
1516 * misc/pwritev64.c: Likewise.
1517 * misc/readv.c: Likewise.
1518 * misc/reboot.c: Likewise.
1519 * misc/remap_file_pages.c: Likewise.
1520 * misc/removexattr.c: Likewise.
1521 * misc/revoke.c: Likewise.
1522 * misc/select.c: Likewise.
1523 * misc/setdomain.c: Likewise.
1524 * misc/setegid.c: Likewise.
1525 * misc/seteuid.c: Likewise.
1526 * misc/sethostid.c: Likewise.
1527 * misc/sethostname.c: Likewise.
1528 * misc/setregid.c: Likewise.
1529 * misc/setreuid.c: Likewise.
1530 * misc/setxattr.c: Likewise.
1531 * misc/sstk.c: Likewise.
1532 * misc/stty.c: Likewise.
1533 * misc/swapoff.c: Likewise.
1534 * misc/swapon.c: Likewise.
1535 * misc/sync.c: Likewise.
1536 * misc/syncfs.c: Likewise.
1537 * misc/syscall.c: Likewise.
1538 * misc/truncate.c: Likewise.
1539 * misc/ualarm.c: Likewise.
1540 * misc/usleep.c: Likewise.
1541 * misc/ustat.c: Likewise.
1542 * misc/utimes.c: Likewise.
1543 * misc/vhangup.c: Likewise.
1544 * misc/writev.c: Likewise.
1545 * posix/_exit.c: Likewise.
1546 * posix/alarm.c: Likewise.
1547 * posix/execve.c: Likewise.
1548 * posix/fexecve.c: Likewise.
1549 * posix/fork.c: Likewise.
1550 * posix/fpathconf.c: Likewise.
1551 * posix/getaddrinfo.c: Likewise.
1552 * posix/getegid.c: Likewise.
1553 * posix/geteuid.c: Likewise.
1554 * posix/getgid.c: Likewise.
1555 * posix/getgroups.c: Likewise.
1556 * posix/getlogin.c: Likewise.
1557 * posix/getlogin_r.c: Likewise.
1558 * posix/getpgid.c: Likewise.
1559 * posix/getpid.c: Likewise.
1560 * posix/getppid.c: Likewise.
1561 * posix/getresgid.c: Likewise.
1562 * posix/getresuid.c: Likewise.
1563 * posix/getsid.c: Likewise.
1564 * posix/getuid.c: Likewise.
1565 * posix/glob64.c: Likewise.
1566 * posix/nanosleep.c: Likewise.
1567 * posix/pathconf.c: Likewise.
1568 * posix/pause.c: Likewise.
1569 * posix/posix_madvise.c: Likewise.
1570 * posix/pread.c: Likewise.
1571 * posix/pread64.c: Likewise.
1572 * posix/pwrite.c: Likewise.
1573 * posix/pwrite64.c: Likewise.
1574 * posix/sched_getaffinity.c: Likewise.
1575 * posix/sched_getp.c: Likewise.
1576 * posix/sched_gets.c: Likewise.
1577 * posix/sched_primax.c: Likewise.
1578 * posix/sched_primin.c: Likewise.
1579 * posix/sched_rr_gi.c: Likewise.
1580 * posix/sched_setaffinity.c: Likewise.
1581 * posix/sched_setp.c: Likewise.
1582 * posix/sched_sets.c: Likewise.
1583 * posix/sched_yield.c: Likewise.
1584 * posix/setgid.c: Likewise.
1585 * posix/setlogin.c: Likewise.
1586 * posix/setpgid.c: Likewise.
1587 * posix/setresgid.c: Likewise.
1588 * posix/setresuid.c: Likewise.
1589 * posix/setsid.c: Likewise.
1590 * posix/setuid.c: Likewise.
1591 * posix/sleep.c: Likewise.
1592 * posix/spawni.c: Likewise.
1593 * posix/sysconf.c: Likewise.
1594 * posix/times.c: Likewise.
1595 * posix/wait.c: Likewise.
1596 * posix/wait3.c: Likewise.
1597 * posix/wait4.c: Likewise.
1598 * posix/waitpid.c: Likewise.
1599 * resolv/gai_sigqueue.c: Likewise.
1600 * resource/getpriority.c: Likewise.
1601 * resource/getrlimit.c: Likewise.
1602 * resource/getrusage.c: Likewise.
1603 * resource/nice.c: Likewise.
1604 * resource/setpriority.c: Likewise.
1605 * resource/setrlimit.c: Likewise.
1606 * resource/ulimit.c: Likewise.
1607 * rt/aio_cancel.c: Likewise.
1608 * rt/aio_fsync.c: Likewise.
1609 * rt/aio_read.c: Likewise.
1610 * rt/aio_sigqueue.c: Likewise.
1611 * rt/aio_suspend.c: Likewise.
1612 * rt/aio_write.c: Likewise.
1613 * rt/clock_getres.c: Likewise.
1614 * rt/clock_gettime.c: Likewise.
1615 * rt/clock_nanosleep.c: Likewise.
1616 * rt/clock_settime.c: Likewise.
1617 * rt/lio_listio.c: Likewise.
1618 * rt/mq_close.c: Likewise.
1619 * rt/mq_getattr.c: Likewise.
1620 * rt/mq_notify.c: Likewise.
1621 * rt/mq_open.c: Likewise.
1622 * rt/mq_receive.c: Likewise.
1623 * rt/mq_send.c: Likewise.
1624 * rt/mq_setattr.c: Likewise.
1625 * rt/mq_timedreceive.c: Likewise.
1626 * rt/mq_timedsend.c: Likewise.
1627 * rt/mq_unlink.c: Likewise.
1628 * rt/shm_open.c: Likewise.
1629 * rt/shm_unlink.c: Likewise.
1630 * rt/timer_create.c: Likewise.
1631 * rt/timer_delete.c: Likewise.
1632 * rt/timer_getoverr.c: Likewise.
1633 * rt/timer_gettime.c: Likewise.
1634 * rt/timer_settime.c: Likewise.
1635 * setjmp/__longjmp.c: Likewise.
1636 * setjmp/setjmp.c: Likewise.
1637 * signal/kill.c: Likewise.
1638 * signal/killpg.c: Likewise.
1639 * signal/raise.c: Likewise.
1640 * signal/sigaction.c: Likewise.
1641 * signal/sigaltstack.c: Likewise.
1642 * signal/sigblock.c: Likewise.
1643 * signal/sigignore.c: Likewise.
1644 * signal/sigintr.c: Likewise.
1645 * signal/signal.c: Likewise.
1646 * signal/sigpause.c: Likewise.
1647 * signal/sigpending.c: Likewise.
1648 * signal/sigqueue.c: Likewise.
1649 * signal/sigreturn.c: Likewise.
1650 * signal/sigset.c: Likewise.
1651 * signal/sigsetmask.c: Likewise.
1652 * signal/sigstack.c: Likewise.
1653 * signal/sigsuspend.c: Likewise.
1654 * signal/sigtimedwait.c: Likewise.
1655 * signal/sigvec.c: Likewise.
1656 * signal/sigwait.c: Likewise.
1657 * signal/sigwaitinfo.c: Likewise.
1658 * signal/sysv_signal.c: Likewise.
1659 * socket/accept.c: Likewise.
1660 * socket/accept4.c: Likewise.
1661 * socket/bind.c: Likewise.
1662 * socket/connect.c: Likewise.
1663 * socket/getpeername.c: Likewise.
1664 * socket/getsockname.c: Likewise.
1665 * socket/getsockopt.c: Likewise.
1666 * socket/isfdtype.c: Likewise.
1667 * socket/listen.c: Likewise.
1668 * socket/recv.c: Likewise.
1669 * socket/recvfrom.c: Likewise.
1670 * socket/recvmsg.c: Likewise.
1671 * socket/send.c: Likewise.
1672 * socket/sendmsg.c: Likewise.
1673 * socket/sendto.c: Likewise.
1674 * socket/setsockopt.c: Likewise.
1675 * socket/shutdown.c: Likewise.
1676 * socket/sockatmark.c: Likewise.
1677 * socket/socket.c: Likewise.
1678 * socket/socketpair.c: Likewise.
1679 * stdio-common/ctermid.c: Likewise.
1680 * stdio-common/cuserid.c: Likewise.
1681 * stdio-common/remove.c: Likewise.
1682 * stdio-common/rename.c: Likewise.
1683 * stdio-common/renameat.c: Likewise.
1684 * stdio-common/tempname.c: Likewise.
1685 * stdlib/getcontext.c: Likewise.
1686 * stdlib/makecontext.c: Likewise.
1687 * stdlib/setcontext.c: Likewise.
1688 * stdlib/swapcontext.c: Likewise.
1689 * stdlib/system.c: Likewise.
1690 * streams/fattach.c: Likewise.
1691 * streams/fdetach.c: Likewise.
1692 * streams/getmsg.c: Likewise.
1693 * streams/getpmsg.c: Likewise.
1694 * streams/putmsg.c: Likewise.
1695 * streams/putpmsg.c: Likewise.
1696 * sysdeps/unix/bsd/getpt.c: Likewise.
1697 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1698 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1699 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1702 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1703 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1704 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1705 * sysvipc/msgctl.c: Likewise.
1706 * sysvipc/msgget.c: Likewise.
1707 * sysvipc/msgrcv.c: Likewise.
1708 * sysvipc/msgsnd.c: Likewise.
1709 * sysvipc/semctl.c: Likewise.
1710 * sysvipc/semget.c: Likewise.
1711 * sysvipc/semop.c: Likewise.
1712 * sysvipc/semtimedop.c: Likewise.
1713 * sysvipc/shmat.c: Likewise.
1714 * sysvipc/shmctl.c: Likewise.
1715 * sysvipc/shmdt.c: Likewise.
1716 * sysvipc/shmget.c: Likewise.
1717 * termios/tcdrain.c: Likewise.
1718 * termios/tcflow.c: Likewise.
1719 * termios/tcflush.c: Likewise.
1720 * termios/tcgetattr.c: Likewise.
1721 * termios/tcgetpgrp.c: Likewise.
1722 * termios/tcsendbrk.c: Likewise.
1723 * termios/tcsetattr.c: Likewise.
1724 * termios/tcsetpgrp.c: Likewise.
1725 * time/adjtime.c: Likewise.
1726 * time/clock.c: Likewise.
1727 * time/getitimer.c: Likewise.
1728 * time/gettimeofday.c: Likewise.
1729 * time/setitimer.c: Likewise.
1730 * time/settimeofday.c: Likewise.
1731 * time/stime.c: Likewise.
1732 * time/time.c: Likewise.
1734 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1736 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1739 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1741 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1743 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1747 FE_TONEAREST before applying Dekker multiplication and Knuth
1748 addition. Clear inexact exceptions and check for exact zero
1750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1753 * math/libm-test.inc (fma_test): Add more tests.
1754 (fma_test_towardzero): Likewise.
1755 (fma_test_downward): Likewise.
1756 (fma_test_upward): Likewise.
1757 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1759 (libc_fesetround): New macro.
1760 (libc_fesetroundf): Likewise.
1761 (libc_fesetroundl): Likewise.
1762 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1764 (libc_fesetround_387): Likewise.
1765 (libc_fesetroundf): New macro.
1766 (libc_fesetround): Likewise.
1767 (libc_fesetroundl): Likewise.
1768 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1770 (libc_fesetroundf): New macro.
1771 (libc_fesetround): Likewise.
1772 (libc_fesetroundl): Likewise.
1773 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1774 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1775 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1777 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1778 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1780 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1781 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1783 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1787 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1788 integer constant usable in #if and use that to give value to enum
1790 (FE_DIVBYZERO): Likewise.
1791 (FE_UNDERFLOW): Likewise.
1792 (FE_OVERFLOW): Likewise.
1793 (FE_INVALID): Likewise.
1794 (FE_INVALID_SNAN): Likewise.
1795 (FE_INVALID_ISI): Likewise.
1796 (FE_INVALID_IDI): Likewise.
1797 (FE_INVALID_ZDZ): Likewise.
1798 (FE_INVALID_IMZ): Likewise.
1799 (FE_INVALID_COMPARE): Likewise.
1800 (FE_INVALID_SOFTWARE): Likewise.
1801 (FE_INVALID_SQRT): Likewise.
1802 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1803 (FE_TONEAREST): Likewise.
1804 (FE_TOWARDZERO): Likewise.
1805 (FE_UPWARD): Likewise.
1806 (FE_DOWNWARD): Likewise.
1807 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1808 (FE_DIVBYZERO): Likewise.
1809 (FE_OVERFLOW): Likewise.
1810 (FE_UNDERFLOW): Likewise.
1811 (FE_INEXACT): Likewise.
1812 (FE_TONEAREST): Likewise.
1813 (FE_DOWNWARD): Likewise.
1814 (FE_UPWARD): Likewise.
1815 (FE_TOWARDZERO): Likewise.
1816 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1817 (FE_UNDERFLOW): Likewise.
1818 (FE_OVERFLOW): Likewise.
1819 (FE_DIVBYZERO): Likewise.
1820 (FE_INVALID): Likewise.
1821 (FE_TONEAREST): Likewise.
1822 (FE_TOWARDZERO): Likewise.
1823 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1824 (FE_OVERFLOW): Likewise.
1825 (FE_UNDERFLOW): Likewise.
1826 (FE_DIVBYZERO): Likewise.
1827 (FE_INEXACT): Likewise.
1828 (FE_TONEAREST): Likewise.
1829 (FE_TOWARDZERO): Likewise.
1830 (FE_UPWARD): Likewise.
1831 (FE_DOWNWARD): Likewise.
1832 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1833 (FE_DIVBYZERO): Likewise.
1834 (FE_OVERFLOW): Likewise.
1835 (FE_UNDERFLOW): Likewise.
1836 (FE_INEXACT): Likewise.
1837 (FE_TONEAREST): Likewise.
1838 (FE_DOWNWARD): Likewise.
1839 (FE_UPWARD): Likewise.
1840 (FE_TOWARDZERO): Likewise.
1842 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1844 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1846 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1848 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1849 commands. Quote $PWD.
1850 (blacklist_exports): Don't use remove_newlines. Replace "declare
1852 (remove_newlines): Remove.
1854 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1856 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1857 * stdlib/stdlib.h (atof): Moved to ...
1858 * include/bits/stdlib-float.h: Here. New file.
1859 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1860 * stdlib/bits/stdlib-float.h: New file.
1861 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1863 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1866 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1868 * conform/conformtest.pl (@headers): Add fenv.h.
1869 * conform/data/fenv.h-data: New file.
1870 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1871 include of <math/fenv.h>.
1873 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1874 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1875 && !UNIX98]. Enables tests for XOPEN2K8.
1876 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1877 POSIX2008]: Likewise.
1879 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1880 (struct rusage): Do not expect type or its members.
1883 * math/math.h (FP_NAN): Define macro to integer constant usable in
1884 #if and use that to give value to enum constant.
1885 (FP_INFINITE): Likewise.
1886 (FP_ZERO): Likewise.
1887 (FP_SUBNORMAL): Likewise.
1888 (FP_NORMAL): Likewise.
1890 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1892 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1893 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1896 2012-11-02 Roland McGrath <roland@hack.frob.com>
1898 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1899 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1900 autoconf-time if not.
1901 * configure.in: Remove AC_PREREQ.
1903 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1905 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1906 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1907 of the internal implementation.
1909 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1911 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1912 except include of <misc/sys/syslog.h>.
1914 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1917 function returns with a NULL context exit with zero.
1919 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1921 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1923 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1925 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1926 (run_program_cmd): This.
1927 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1928 (tst_langinfo): New variable. Use it.
1930 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1932 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1933 floating point opcodes.
1935 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1937 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1940 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1942 * sysdeps/mach/hurd/powerpc: Remove directory.
1943 * sysdeps/mach/powerpc: Likewise.
1945 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1947 * scripts/check-local-headers.sh: Ignore c++ headers.
1949 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1951 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1952 __libc_cleanup_region_start argument.
1954 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1959 x * y using scaling, not as x * y + z.
1960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1962 * math/libm-test.inc (fma_test): Add more tests.
1963 (fma_test_towardzero): Likewise.
1964 (fma_test_downward): Likewise.
1965 (fma_test_upward): Likewise.
1967 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1969 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1971 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1976 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1978 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1980 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1987 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1990 Fix the order of the list for glibc 2.17.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1994 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1998 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2001 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2002 for low part of x being zero before using __atanl (y).
2003 * math/libm-test.inc (atan2_test): Add another test.
2005 * manual/install.texi (Configuring and compiling): Document
2006 general use of test-wrapper and test-wrapper-env.
2007 * INSTALL: Regenerated.
2009 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2010 (__fma): Do not extract and scale down low bits on after-rounding
2011 systems when result rounded to normal precision would have normal
2013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2014 (__fmal): Do not extract and scale down low bits on after-rounding
2015 systems when result rounded to normal precision would have normal
2017 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2018 (__fmal): Do not extract and scale down low bits on after-rounding
2019 systems when result rounded to normal precision would have normal
2021 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2023 (fma_test): Add more tests.
2024 (fma_test_towardzero): Likewise.
2025 (fma_test_downward): Likewise.
2026 (fma_test_upward): Likewise.
2028 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2030 * sysdeps/i386/tininess.h: Renamed to ...
2031 * sysdeps/x86/tininess.h: This.
2032 * sysdeps/x86_64/tininess.h: Removed.
2034 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2036 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2037 input. Use $(build-program-cmd).
2038 ($(objpfx)tst-array1-static.out): Likewise.
2039 ($(objpfx)tst-array2.out): Likewise.
2040 ($(objpfx)tst-array3.out): Likewise.
2041 ($(objpfx)tst-array4.out): Likewise.
2042 ($(objpfx)tst-array5.out): Likewise.
2043 ($(objpfx)tst-array5-static.out): Likewise.
2045 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2047 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2050 * nss/nsswitch.h (nss_interface_function): Provide new
2051 macro for use with NSS functions.
2052 * grp/initgroups.c: Use new macro.
2053 * nss/getXXbyYY.c: Likewise.
2054 * nss/getXXbyYY_r.c: Likewise.
2055 * nss/getXXent.c: Likewise.
2056 * nss/getXXent_r.c: Likewise.
2057 * sysdeps/posix/getaddrinfo.c: Likewise.
2059 2012-10-30 Andreas Jaeger <aj@suse.de>
2061 * po/ru.po: Update Russion translation from translation project.
2063 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2068 result and shift together with sticky bit instead of replicating
2069 round-to-nearest rounding.
2070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2072 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2073 missing underflow exceptions.
2074 (fma_test_towardzero): Add more tests.
2075 (fma_test_downward): Likewise.
2076 (fma_test_upward): Likewise.
2079 * sysdeps/generic/tininess.h: New file.
2080 * sysdeps/i386/tininess.h: Likewise.
2081 * sysdeps/sh/tininess.h: Likewise.
2082 * sysdeps/x86_64/tininess.h: Likewise.
2083 * stdlib/tst-strtod-underflow.c: Likewise.
2084 * stdlib/tst-tininess.c: Likewise.
2085 * stdlib/strtod_l.c: Include <tininess.h>.
2086 (round_and_return): Do not set errno for exact underflow cases.
2087 Force an underflow exception when setting errno for underflow.
2088 Determine underflow based on rounding to normal precision if
2089 TININESS_AFTER_ROUNDING.
2090 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2091 ERANGE for exact underflow cases.
2092 * stdlib/Makefile (tests): Add tst-tininess and
2093 tst-strtod-underflow.
2094 ($(objpfx)tst-tininess): Use $(link-libm).
2095 ($(objpfx)tst-strtod-underflow): Likewise.
2097 2012-10-30 Andreas Jaeger <aj@suse.de>
2100 * elf/Makefile (tests): Remove conditional for have-initfini-array
2101 since this is now always required and the variable does not exist
2103 (tests-static): Likewise.
2104 (modules-names): Likewise.
2106 * po/eo.po: Add Esperanto translation from translation project.
2108 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2109 merged with constructor/destructor.
2110 (init_array): Likewise.
2111 * elf/tst-array2dep.c (fini_array): Likewise.
2112 (init_array): Likewise.
2114 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2116 * manual/message.texi: Delete @cartouche tags.
2118 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2120 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2122 * sysdeps/mach/hurd/fsync.c: Likewise.
2124 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2125 [_POSIX_REALTIME_SIGNALS]: Change condition to
2126 [_POSIX_REALTIME_SIGNALS > 0].
2128 2012-10-27 Andreas Jaeger <aj@suse.de>
2130 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2131 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2133 [__WORDSIZE != 64]: Likewise.
2135 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2137 * iconvdata/tst-table.sh: Remove ${SHELL}.
2138 * iconvdata/tst-tables.sh: Likewise.
2140 2012-10-25 David S. Miller <davem@davemloft.net>
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2143 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2148 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2149 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2150 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2153 2012-10-25 Roland McGrath <roland@hack.frob.com>
2155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2156 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2159 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2160 Jim Blandy <jimb@codesourcery.com>
2162 * scripts/cross-test-ssh.sh: New file.
2163 * manual/install.texi (Configuring and compiling): Document use of
2165 * INSTALL: Regenerated.
2167 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2169 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2172 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2174 * Makeconfig (run-program-prefix): Fix comment.
2176 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2177 Jim Blandy <jimb@codesourcery.com>
2179 * Makeconfig (test-wrapper): New variable,
2180 (test-wrapper-env): Likewise.
2181 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2182 (run-built-tests): Define to yes.
2183 (run-program-prefix): Use $(test-wrapper).
2184 (built-program-cmd): Likewise.
2185 * Rules (make-test-out): Use $(test-wrapper-env) and
2186 $(host-built-program-cmd).
2187 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2188 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2190 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2191 $(test-wrapper-env) to tst-rtld-load-self.sh.
2192 ($(objpfx)order2.out): Use $(test-wrapper).
2193 ($(objpfx)tst-initorder.out): Likewise.
2194 ($(objpfx)tst-initorder2.out): Likewise.
2195 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2196 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2197 (test_wrapper_env): New variable. Use it to run ld.so.
2198 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2199 Use it to run ld.so.
2200 (test_wrapper_env): Likewise.
2201 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2202 $(test-wrapper) to run-iconv-test.sh.
2203 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2204 (ICONV): Use $test_wrapper.
2205 * posix/Makefile ($(objpfx)globtest.out): Pass
2206 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2207 globtest.sh, not $(run-program-prefix).
2208 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2209 (test_wrapper): Likewise.
2210 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2211 set together with run_via_rtld_prefix.
2212 (run_program_prefix): Define in terms of test_wrapper and
2213 run_via_rtld_prefix.
2215 2012-10-24 Roland McGrath <roland@hack.frob.com>
2217 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2218 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2222 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2223 Declare __clock_getres, __clock_gettime, __clock_settime,
2224 __clock_nanosleep, and __clock_getcpuclockid.
2225 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2226 Remove librt_hidden_def (clock_gettime).
2227 * sysdeps/unix/clock_gettime.c: Likewise.
2228 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2229 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2230 * rt/clock_getres.c: Define __clock_getres as an alias.
2231 * sysdeps/posix/clock_getres.c: Likewise.
2232 * rt/clock_settime.c: Define __clock_settime as an alias.
2233 * sysdeps/unix/clock_settime.c: Likewise.
2234 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2235 * sysdeps/unix/clock_nanosleep.c: Likewise.
2236 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2237 * rt/clock-compat.c: New file.
2238 * rt/Makefile (librt-routines): Add clock-compat and move
2239 $(clock-routines) to ...
2240 (routines): ... here, new variable.
2241 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2242 Don't add get_clockfreq here.
2243 * rt/Versions (libc: GLIBC_2.17): New version set.
2244 Add clock_* symbols here.
2245 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2247 (GLIBC_2.17): Add clock_* symbols.
2248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2259 * NEWS: Mention the move.
2261 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2262 Use __open, __read, __close rather than their public counterparts.
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2264 (__get_clockfreq_via_cpuinfo): Likewise.
2265 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2266 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2268 * config.h.in (HAVE_IFUNC): New #undef.
2269 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2271 * configure: Regenerated.
2273 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2275 * configure.in: Move READELF check to start of file.
2276 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2277 libc_cv_asm_gnu_indirect_function in the process.
2278 * configure: Regenerated.
2280 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2282 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2283 send the output to /dev/null.
2284 (libc_cv_cc_with_libunwind): Likewise.
2285 (libc_cv_as_noexecstack): Likewise.
2286 * configure: Regenerate.
2288 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2290 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2292 * posix/globtest.sh (TMPDIR): Do not set.
2293 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2294 (testout): Likewise.
2296 2012-10-24 Andreas Jaeger <aj@suse.de>
2298 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2299 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2300 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2301 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2302 posix_fadvise64, posix_fallocate64.
2304 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2305 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2306 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2308 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2310 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2313 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2314 <bits/fcntl-linux.h>.
2315 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2318 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2319 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2320 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2321 [__WORDSIZE != 64]: Likewise.
2323 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2325 * Makeconfig (run-built-tests): New variable.
2326 * Rules [$(cross-compiling) = yes]: Change condition to
2327 [$(run-built-tests) = no].
2328 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2329 to [$(run-built-tests) = yes].
2330 * elf/Makefile [$(cross-compiling) = no]: Likewise
2331 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2332 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2333 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2334 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2335 * io/Makefile [$(cross-compiling) = no]: Likewise.
2336 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2337 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2338 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2339 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2340 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2341 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2342 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2343 * string/Makefile [$(cross-compiling) = no]: Likewise.
2345 * posix/Makefile ($(objpfx)globtest.out): Pass
2346 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2347 $(rtld-installed-name).
2348 * posix/globtest.sh (elf_objpfx): Remove variable.
2349 (rtld_installed_name): Likewise.
2350 (library_path): Likewise.
2351 (run_program_prefix): New variable. Use for running globtest
2354 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2355 Joseph Myers <joseph@codesourcery.com>
2357 * Makeconfig (host-built-program-cmd): New variable.
2358 * elf/Makefile (tst-stackguard1-ARGS): Use
2359 $(host-built-program-cmd).
2360 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2361 (tst-spawn-ARGS): Likewise.
2362 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2364 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2365 Jim Blandy <jimb@codesourcery.com>
2367 * Makeconfig (run-via-rtld-prefix): New variable.
2368 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2369 (built-program-cmd): Likewise.
2371 2012-10-22 Andreas Jaeger <aj@suse.de>
2373 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2374 __O_RSYNC if it exists, otherwise to O_SYNC.
2376 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2377 Joseph Myers <joseph@codesourcery.com>
2379 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2381 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2383 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2386 2012-10-22 Andreas Jaeger <aj@suse.de>
2388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2396 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2403 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2404 Joseph Myers <joseph@codesourcery.com>
2406 * config.make.in (NM): New variable.
2408 2012-10-21 Andreas Jaeger <aj@suse.de>
2410 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2411 definitions and declarations that are provided by
2412 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2414 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2417 * elf/Makefile (tests-static): Add tst-leaks1-static.
2418 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2419 ($(objpfx)tst-leaks1-static): New rule.
2420 ($(objpfx)tst-leaks1-static-mem): Likewise.
2421 (tst-leaks1-static-ENV): New macro.
2422 * elf/dl-open.c (dl_open_worker): Check the main application
2423 only if SHARED is defined.
2424 * elf/tst-leaks1-static.c: New file.
2426 2012-10-20 Andreas Jaeger <aj@suse.de>
2428 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2429 generic values for Linux.
2430 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2431 and declarations that are provided by <bits/fcntl-linux.h> and
2432 include <bits/fcntl-linux.h>.
2433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2436 2012-10-20 Roland McGrath <roland@hack.frob.com>
2438 * io/fcntl.h: Move include of <bits/types.h> to the top and
2439 include it unconditionally.
2441 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2443 * wcsmbs/Makefile (tests-ifunc): New variable.
2444 (tests): Add $(tests-ifunc).
2445 * wcsmbs/test-wcschr-ifunc.c: New file.
2446 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2447 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2448 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2449 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2450 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2452 * string/Makefile (tests-ifunc): New variable.
2453 (tests): Add $(tests-ifunc).
2454 * string/test-memccpy.c (TEST_NAME): New macro.
2455 * string/test-memchr.c (TEST_NAME): Likewise.
2456 * string/test-memcmp.c (TEST_NAME): Likewise.
2457 * string/test-memcpy.c (TEST_NAME): Likewise.
2458 * string/test-memmem.c (TEST_NAME): Likewise.
2459 * string/test-memmove.c (TEST_NAME): Likewise.
2460 * string/test-memset.c (TEST_NAME): Likewise.
2461 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2462 * string/test-stpcpy.c (TEST_NAME): Likewise.
2463 * string/test-stpncpy.c (TEST_NAME): Likewise.
2464 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2465 * string/test-strcasestr.c (TEST_NAME): Likewise.
2466 * string/test-strcat.c (TEST_NAME): Likewise.
2467 * string/test-strchr.c (TEST_NAME): Likewise.
2468 * string/test-strcmp.c(TEST_NAME): Likewise.
2469 * string/test-strcpy.c (TEST_NAME): Likewise.
2470 * string/test-strcspn.c (TEST_NAME): Likewise.
2471 * string/test-strlen.c (TEST_NAME): Likewise.
2472 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2473 * string/test-strncmp.c (TEST_NAME): Likewise.
2474 * string/test-strncpy.c (TEST_NAME): Likewise.
2475 * string/test-strnlen.c (TEST_NAME): Likewise.
2476 * string/test-strpbrk.c (TEST_NAME): Likewise.
2477 * string/test-strrchr.c (TEST_NAME): Likewise.
2478 * string/test-strspn.c (TEST_NAME): Likewise.
2479 * string/test-strstr.c (TEST_NAME): Likewise.
2480 * string/test-bcopy-ifunc.c: New file.
2481 * string/test-bzero-ifunc.c: Likewise.
2482 * string/test-memccpy-ifunc.c: Likewise.
2483 * string/test-memchr-ifunc.c: Likewise.
2484 * string/test-memcmp-ifunc.c: Likewise.
2485 * string/test-memcpy-ifunc.c: Likewise.
2486 * string/test-memmem-ifunc.c: Likewise.
2487 * string/test-memmove-ifunc.c: Likewise.
2488 * string/test-mempcpy-ifunc.c: Likewise.
2489 * string/test-memset-ifunc.c: Likewise.
2490 * string/test-rawmemchr-ifunc.c: Likewise.
2491 * string/test-stpcpy-ifunc.c: Likewise.
2492 * string/test-stpncpy-ifunc.c: Likewise.
2493 * string/test-strcasecmp-ifunc.c: Likewise.
2494 * string/test-strcasestr-ifunc.c: Likewise.
2495 * string/test-strcat-ifunc.c: Likewise.
2496 * string/test-strchr-ifunc.c: Likewise.
2497 * string/test-strchrnul-ifunc.c: Likewise.
2498 * string/test-strcmp-ifunc.c: Likewise.
2499 * string/test-strcpy-ifunc.c: Likewise.
2500 * string/test-strcspn-ifunc.c: Likewise.
2501 * string/test-strlen-ifunc.c: Likewise.
2502 * string/test-strncasecmp-ifunc.c: Likewise.
2503 * string/test-strncat-ifunc.c: Likewise.
2504 * string/test-strncmp-ifunc.c: Likewise.
2505 * string/test-strncpy-ifunc.c: Likewise.
2506 * string/test-strnlen-ifunc.c: Likewise.
2507 * string/test-strpbrk-ifunc.c: Likewise.
2508 * string/test-strrchr-ifunc.c: Likewise.
2509 * string/test-strspn-ifunc.c: Likewise.
2510 * string/test-strstr-ifunc.c: Likewise.
2512 * debug/Makefile (tests-ifunc): New variable.
2513 (tests): Add $(tests-ifunc).
2514 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2515 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2516 * debug/test-stpcpy_chk-ifunc.c: New file.
2517 * debug/test-strcpy_chk-ifunc.c: Likewise.
2519 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2522 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2523 header is not read in.
2525 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2527 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2528 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2529 directly. Pass built executable to script as
2530 $(built-program-cmd).
2531 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2532 $testprogram without using LD_LIBRARY_PATH and $ldso.
2534 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2535 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2536 $(rtld-installed-name).
2537 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2538 (rtld_installed_name): Likewise.
2539 (library_path): Likewise.
2540 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2541 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2542 $(run-program-prefix) to tst-tables.sh.
2543 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2544 it to run tst-table-from and tst-table-to.
2545 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2546 Pass it to tst-table.sh.
2547 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2548 $(run-program-prefix) to tst-gettext.sh.
2549 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2551 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2553 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2555 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2556 to run tst-gettext2.
2557 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2558 to run tst-translit.
2559 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2560 $(run-program-prefix) to tst-mtrace.sh.
2561 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2563 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2564 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2565 $(rtld-installed-name).
2566 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2567 (rtld_installed_name): Likewise.
2568 (run_program_prefix): New variable. Use it to run wordexp-test.
2570 * Makeconfig (ARCH): Remove all definitions.
2571 (machine): Likewise.
2572 [ARCH]: Remove conditional code.
2573 [!objdir]: Give error.
2574 [!objdir] (objpfx): Remove.
2575 [!objdir] (common-objpfx): Likewise.
2576 [!objdir] (common-objdir): Likewise.
2577 * configure.in (config_makefile): Remove. Hardcode Makefile in
2578 AC_CONFIG_FILES call.
2579 * configure: Regenerated.
2582 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2584 (testout): Likewise.
2586 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2587 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2588 $(rtld-installed-name).
2589 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2590 (rtld_installed_name): Likwise.
2591 (runit): Remove function.
2592 (run_getconf): New variable, Use it for running getconf binary.
2594 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2597 * string/test-memmem.c (check_result): New function.
2598 (do_one_test): Use it.
2599 (check1): New function.
2600 (test_main): Use it.
2602 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2604 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2606 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2608 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2609 (_G_LSEEK64): Likewise.
2610 (_G_MMAP64): Likewise.
2611 (_G_FSTAT64): Likewise.
2612 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2613 (_G_LSEEK64): Likewise.
2614 (_G_MMAP64): Likewise.
2615 (_G_FSTAT64): Likewise.
2616 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2617 unconditional. Call __mmap64 directly.
2618 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2619 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2621 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2622 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2624 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2625 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2627 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2628 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2630 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2631 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2633 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2634 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2635 __fxstat64 directly.
2636 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2637 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2639 (freopen64) [!_G_OPEN64]: Remove conditional code.
2640 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2642 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2643 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2645 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2646 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2648 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2649 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2651 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2652 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2654 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2655 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2657 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2658 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2660 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2662 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2665 * manual/memory.texi (Malloc Tunable Parameters): Add note
2666 about free list pointers overwriting some perturb bytes.
2667 Wording suggested by Roland McGrath.
2669 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2671 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2672 (lgamma_test): Likewise.
2673 (tgamma_test): Likewise.
2675 2012-10-16 Florian Weimer <fweimer@redhat.com>
2678 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2679 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2681 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2683 * NEWS: Mention BZ #14716.
2684 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2685 when removing AVAILABLE1_USES_J macro.
2687 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2689 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2690 (__bswap_64): __uint64_t for unsigned 64-bit int.
2692 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2694 * include/string.h (memmem): Declare libc hidden alias.
2695 * string/memmem.c (memmem): Define libc hidden alias.
2696 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2697 __read, __close instead of open, read, close.
2699 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2702 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2704 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2705 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2706 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2708 (__rawmemchr_sse2): Likewise.
2709 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2710 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2711 (__strchr_sse2): Likewise.
2712 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2713 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2714 (__strcasecmp_sse2): Likewise.
2715 (__strncasecmp_sse2): Likewise.
2716 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2717 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2718 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2719 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2720 (__strrchr_sse2): Likewise.
2721 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2723 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2724 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2725 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2726 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2727 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2728 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2729 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2730 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2731 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2732 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2733 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2734 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2735 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2736 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2737 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2738 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2739 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2740 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2741 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2742 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2743 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2744 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2745 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2746 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2747 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2748 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2749 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2750 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2751 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2752 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2754 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2756 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2757 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2758 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2759 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2761 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2763 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2764 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2765 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2766 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2768 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2771 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2772 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2775 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2776 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2786 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2787 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2788 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2790 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2792 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2793 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2794 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2795 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2802 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2803 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2804 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2805 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2806 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2808 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2810 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2811 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2812 * include/ifunc-impl-list.h: New file.
2813 * misc/ifunc-impl-list.c: Likewise.
2814 * misc/Makefile (routines): Add ifunc-impl-list.
2815 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2816 * string/test-string.h: Include <ifunc-impl-list.h>.
2817 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2818 impl_array): New variables.
2819 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2821 (test_init): Call __libc_ifunc_impl_list to initialize
2822 func_list if TEST_IFUNC and TEST_NAME are defined.
2824 * string/Makefile (strop-tests): Add bcopy and bzero.
2825 * string/test-bcopy.c: New file.
2826 * string/test-bzero.c: Likewise.
2827 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2829 * string/test-memset.c: Support bzero test if TEST_BZERO is
2831 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2833 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2835 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2838 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2840 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2841 * configure: Regenerated.
2843 * Makeconfig (+link-static-before-libc): Don't include
2844 $(link-static-libc).
2846 * libio/libio.h (_IO_pos_t): Remove.
2848 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2850 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2853 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2855 * crypt/crypt-entry.c: Include fips-private.h.
2856 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2857 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2858 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2859 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2861 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2863 * crypt/crypt-private.h: Include stdbool.h.
2864 (_ufc_setup_salt_r): Return bool.
2865 * crypt/crypt-entry.c: Include errno.h.
2866 (__crypt_r): Return NULL with EINVAL for bad salt.
2867 * crypt/crypt_util.c (bad_for_salt): New.
2868 (_ufc_setup_salt_r): Check that salt is long enough and within
2869 the specified alphabet.
2870 * crypt/badsalttest.c: New file.
2871 * crypt/Makefile (tests): Add it.
2872 ($(objpfx)badsalttest): New.
2874 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2876 * NEWS: Add entry for BZ #14602.
2878 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2880 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2882 * math/libm-test.inc: Update comment listing what functions and
2884 (isgreater_test): New function.
2885 (isgreaterequal_test): Likewise.
2886 (isless_test): Likewise.
2887 (islessequal_test): Likewise.
2888 (islessgreater_test): Likewise.
2889 (isunordered_test): Likewise.
2890 (main): Call the new functions.
2892 2012-10-09 Roland McGrath <roland@hack.frob.com>
2894 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2895 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2896 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2897 * sysdeps/i386/configure: Regenerated.
2898 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2899 * sysdeps/mach/configure: Regenerated.
2900 * sysdeps/mach/hurd/configure: Regenerated.
2901 * sysdeps/powerpc/configure: Regenerated.
2902 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2903 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2904 * sysdeps/s390/s390-32/configure: Regenerated.
2905 * sysdeps/s390/s390-64/configure: Regenerated.
2906 * sysdeps/sh/configure: Regenerated.
2907 * sysdeps/sparc/configure: Regenerated.
2908 * sysdeps/unix/sysv/linux/configure: Regenerated.
2909 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2910 * sysdeps/x86_64/configure: Regenerated.
2912 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2913 defined. Don't check if MAP is NULL.
2915 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2917 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2918 (_G_stat64): Likewise.
2919 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2920 (_G_stat64): Likewise.
2921 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2922 instead of struct _G_stat64.
2923 * libio/fileops.c (mmap_remap_check): Likewise.
2924 (decide_maybe_mmap): Likewise.
2925 (_IO_new_file_seekoff): Likewise.
2926 (_IO_file_stat): Likewise.
2927 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2929 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2930 instead of struct _G_stat64.
2931 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2933 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2936 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2938 (CHECK_EOL): New macro.
2939 (two_way_short_needle): Check beginning of haystack for EOL. Use
2941 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2942 Replace with CHECK_EOL.
2943 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2944 Replace with CHECK_EOL.
2946 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2948 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2950 * math/libm-test.inc: Update comment listing what functions and
2952 (finite_test): New function.
2953 (isinf_test): Likewise.
2954 (isnan_test): Likewise.
2955 (fpclassify_test): Test subnormal input.
2956 (isfinite_test): Likewise.
2957 (isnormal_test): Likewise.
2958 (main): Call the new functions.
2960 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2963 * Makerules (%.dynsym): Force C locale when running
2964 $(OBJDUMP) --dynamic-syms.
2966 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2968 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2971 2012-10-06 David S. Miller <davem@davemloft.net>
2973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2974 upper 32-bits of the length value in %o2 since we use branch-on-register
2975 tests which consider the entire 64-bit register.
2977 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2979 * string/test-strstr.c (check2): Add a test for page boundary.
2981 2012-10-05 David S. Miller <davem@davemloft.net>
2983 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2984 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2986 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2989 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2990 and bzero when HWCAP_SPARC_CRYPTO is present.
2992 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2995 * string/test-strstr.c (check2): New function.
2996 (test_main): Call check2.
2998 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3000 * string/bug-strcasestr1.c (do_test): Moved to ...
3001 * string/test-strcasestr.c (check1): Here. New function.
3002 (do_one_test): Break out result checking code into ...
3003 (check_result): This. New function.
3004 (do_one_test): Call check_result.
3005 (test_main): Call check1.
3006 * string/bug-strchr1.c (do_test): Moved to ...
3007 * string/test-strchr.c (check1): Here. New function.
3008 (do_one_test): Break out result checking code into ...
3009 (check_result): This. New function.
3010 (do_one_test): Call check_result.
3011 (test_main): Call check1.
3012 * string/bug-strstr1.c (main): Moved to ...
3013 * string/test-strchr.c (check1): Here. New function.
3014 (do_one_test): Break out result checking code into ...
3015 (check_result): This. New function.
3016 (do_one_test): Call check_result.
3017 (test_main): Call check1.
3018 * string/bug-strcasestr1.c: Removed.
3019 * string/bug-strchr1.c: Likewise.
3020 * string/bug-strstr1.c: Likewise.
3022 * elf/Makefile (dl-routines): Add hwcaps.
3023 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3024 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3025 (_dl_important_hwcaps): Moved to ...
3026 * elf/dl-hwcaps.c: Here. New file.
3027 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3030 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3031 if IS_IN_rtld isn't defined.
3033 * elf/dl-support.c (_dl_sysinfo_map): New.
3034 Include "get-dynamic-info.h" and "setup-vdso.h".
3035 (_dl_non_dynamic_init): Call setup_vdso.
3036 * elf/dynamic-link.h: Don't include <assert.h>.
3037 (elf_get_dynamic_info): Moved to ...
3038 * elf/get-dynamic-info.h: Here. New file.
3039 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3040 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3041 * elf/setup-vdso.h: Here. New file.
3042 * elf/rtld.c: Include "setup-vdso.h".
3043 (dl_main): Call setup_vdso.
3045 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3047 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3048 creal in comment listing functions tested. List finite, isinf,
3049 isnan, isless, islessequal, isgreater, isgreaterequal,
3050 islessgreater, isunordered, lgamma_r and pow10 as functions and
3051 macros not tested. Mention which functions not tested are aliases
3052 for other functions. Fix typo. Note that signs of NaNs are not
3055 * scripts/config.guess: Update from config.git.
3056 * scripts/config.sub: Likewise.
3058 2012-10-04 Roland McGrath <roland@hack.frob.com>
3060 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3061 * misc/madvise.c (madvise): Renamed to __madvise.
3062 Make madvise a weak alias.
3063 * include/sys/mman.h: Declare __madvise.
3064 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3065 * sysdeps/unix/syscalls.list
3066 (madvise): Make __madvise the strong name, and madvise a weak alias.
3067 * sysdeps/unix/sysv/linux/syscalls.list
3068 (madvise, mmap): Remove redundant entries.
3069 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3070 * malloc/malloc.c (mtrim): Likewise.
3071 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3073 2012-10-03 Roland McGrath <roland@hack.frob.com>
3075 * sysdeps/mach/hurd/dl-cache.c: File removed.
3076 * config.h.in (USE_LDCONFIG): New #undef.
3077 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3078 * configure: Regenerated.
3079 * elf/Makefile (dl-routines): Add dl-cache only under
3080 [$(use-ldconfig) = yes].
3081 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3082 cache on [USE_LDCONFIG].
3083 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3085 * elf/rtld.c (dl_main): Likewise.
3087 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3089 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3090 _SC_LEVEL4_CACHE_LINESIZE.
3092 2012-10-03 Roland McGrath <roland@hack.frob.com>
3094 * sysdeps/unix/bsd/confstr.h: File removed.
3096 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3098 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3101 2012-10-02 Roland McGrath <roland@hack.frob.com>
3103 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3104 Make 'mapoff' field ElfW(Off) rather than off_t.
3106 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3108 * nscd/Makefile: Remove nscd-cflags and all its users.
3109 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3110 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3113 * malloc.c (malloc_printerr): Clarify error message.
3115 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3119 Set bit_FMA_Usable if FMA is supported.
3120 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3122 (bit_FMA4_Usable): Updated.
3123 (index_FMA_Usable): New macro.
3124 (CPUID_FMA): Likewise
3125 (HAS_FMA): Defined with bit_FMA_Usable.
3127 2012-10-01 Roland McGrath <roland@hack.frob.com>
3129 * bits/types.h (__swblk_t): Type removed.
3130 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3131 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3133 (__SWBLK_T_TYPE): Likewise.
3134 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3135 (__SWBLK_T_TYPE): Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3137 (__SWBLK_T_TYPE): Likewise.
3138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3139 (__SWBLK_T_TYPE): Likewise.
3141 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3142 Honza Horak <hhorak@redhat.com>
3144 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3145 (xdr_mapname): Use YPMAXMAP as maxsize.
3146 (xdr_peername): Use YPMAXPEER as maxsize.
3147 (xdr_keydat): Use YPAXRECORD as maxsize.
3148 (xdr_valdat): Use YPMAXRECORD as maxsize.
3150 2012-10-01 Roland McGrath <roland@hack.frob.com>
3152 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3154 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3155 * csu/init-first.c: ... here.
3156 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3157 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3159 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3160 * sysdeps/i386/init-first.c: File removed.
3161 * sysdeps/sh/init-first.c: File removed.
3163 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3167 if x * y might underflow to zero and z is zero.
3168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3170 * math/libm-test.inc (min_subnorm_value): New variable.
3171 (fma_test): Add more tests.
3172 (fma_test_towardzero): Likewise.
3173 (fma_test_downward): Likewise
3174 (fma_test_upward): Likewise.
3175 (initialize): Set min_subnorm_value.
3177 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3182 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3183 mode for addition resulting in exact zero.
3184 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3189 * math/libm-test.inc (fma_test): Add more tests.
3190 (fma_test_towardzero): New function.
3191 (fma_test_downward): Likewise.
3192 (fma_test_upward): Likewise.
3193 (main): Call the new functions.
3195 2012-09-28 David S. Miller <davem@davemloft.net>
3197 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3199 2012-09-28 Roland McGrath <roland@hack.frob.com>
3201 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3204 * sysdeps/gnu/_G_config.h: Moved to ...
3205 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3206 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3207 * sysdeps/generic/_G_config.h: ... here.
3209 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3211 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3213 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3214 Conditionalize target on [libnss_test1.so-version].
3216 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3218 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3219 (elfobjdir): Move out of conditionals.
3221 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3222 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3223 (__nss_lookup_function): Conditionalize label remove_from_tree on
3224 [!DO_STATIC_NSS || SHARED], matching its only use.
3226 2012-09-28 David S. Miller <davem@davemloft.net>
3228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3229 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3231 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3233 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3235 when HWCAP_SPARC_CRYPTO is present.
3237 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3239 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3241 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3244 * stdio-common/vfprintf.c (process_string_arg): Revert
3247 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3249 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3251 * stdio-common/tst-sprintf.c: Include <locale.h>
3252 (main): Test sprintf's handling of incomplete multibyte
3255 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3257 * elf/dl-runtime.c (VERSYMIDX): Removed.
3258 * elf/dl-version.c (VERSYMIDX): Likewise.
3259 * elf/do-rel.h (VERSYMIDX): Likewise.
3261 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3262 * elf/rtld.c (VALIDX): Likewise.
3263 (ADDRIDX): Likewise.
3264 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3265 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3266 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3267 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3269 (ADDRIDX): Likewise.
3271 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3273 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3275 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3278 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3280 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3281 addresses are in the same scope as 192.0.2/24.
3282 * posix/gai.conf: Document new scope table defaults.
3284 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3287 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3288 for ftell. Compute offsets from write pointers instead.
3289 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3291 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * libio/Makefile (tests): New test case tst-fseek.
3295 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3296 combination works in wide mode.
3297 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3298 state when the external buffer state changes.
3300 2012-09-27 David S. Miller <davem@davemloft.net>
3303 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3304 pass reloc->r_addend in as the 'high' argument to
3305 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3309 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3311 * rt/tst-aio2.c: Include <pthread.h>.
3312 * rt/tst-aio3.c: Likewise.
3314 2012-09-27 Steve Ellcey <sellcey@mips.com>
3316 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3318 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3320 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3321 contents on [SHARED].
3323 2012-09-26 Marek Polacek <polacek@redhat.com>
3327 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3328 for C++ and GCC <4.3 as well as for non GCC compilers.
3330 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3334 2012-09-25 Roland McGrath <roland@hack.frob.com>
3336 * Makefile.in (all, install): Declare with .PHONY.
3337 Reported by Michael Hope <michael.hope@linaro.org>.
3339 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3341 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3342 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3344 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3346 (sydep_routines): Add the new and the internal functions.
3347 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3348 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3350 (GLIBC_2.17): Add the new function.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3352 (GLIBC_2.17): Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3354 (GLIBC_2.17): Likewise.
3355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3356 (GLIBC_2.17): Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3359 2012-09-25 Alan Modra <amodra@gmail.com>
3361 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3362 Add release barrier before setting once_control to say
3363 initialisation is done. Add hints on lwarx. Use macro in
3365 (clear_once_control): Add release barrier.
3367 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3370 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3372 * math/s_clog10.c (__clog10): Likewise.
3373 * math/s_clog10f.c (__clog10f): Likewise.
3374 * math/s_clog10l.c (__clog10l): Likewise.
3375 * math/s_clogf.c (__clogf): Likewise.
3376 * math/s_clogl.c (__clogl): Likewise.
3377 * math/Makefile (libm-calls): Add x2y2m1.
3378 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3379 (__x2y2m1): Likewise.
3380 (__x2y2m1l): Likewise.
3381 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3382 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3385 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3386 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3387 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3392 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3393 int as type of variable DEPTH.
3394 (glob): Use size_t instead of int as type of variables NEWCOUNT
3397 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3399 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3401 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3402 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3403 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3404 macros for using routine as __sincosf_ia32.
3405 Use macro for function declaration and weak_alias.
3406 * sysdeps/i386/fpu/libm-test-ulps: Update.
3408 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3411 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3413 * math/s_cexpf.c (__cexpf): Likewise.
3414 * math/s_csinf.c (__csinf): Likewise.
3415 * math/s_csinhf.c (__csinhf): Likewise.
3416 * math/s_ctanf.c (__ctanf): Likewise.
3417 * math/s_ctanhf.c (__ctanhf): Likewise.
3418 * math/s_ccosh.c (__ccoshf): Likewise.
3419 * math/s_cexp.c (__cexpl): Likewise.
3420 * math/s_csin.c (__csin): Likewise.
3421 * math/s_csinh.c (__csinh): Likewise.
3422 * math/s_ctan.c (__ctan): Likewise.
3423 * math/s_ctanh.c (ctanh): Likewise.
3424 * math/s_ccoshl.c (__ccoshl): Likewise.
3425 * math/s_cexpl.c (__cexpl): Likewise.
3426 * math/s_csinl.c (__csinl): Likewise.
3427 * math/s_csinhl.c (__csinhl): Likewise.
3428 * math/s_ctanl.c (__ctanl): Likewise.
3429 * math/s_ctanhl.c (__ctanhl): Likewise.
3431 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3433 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3434 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3435 (_IO_off_t): Define to __off_t, not _G_off_t.
3436 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3437 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3438 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3439 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3440 type of __dummy and __dummy2 fields.
3441 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3442 (_G_ssize_t): Likewise.
3443 (_G_off_t): Likewise.
3444 (_G_pid_t): Likewise.
3445 (_G_uid_t): Likewise.
3446 (_G_wchar_t): Likewise.
3447 (_G_wint_t): Likewise.
3448 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3449 (_G_ssize_t): Likewise.
3450 (_G_off_t): Likewise.
3451 (_G_pid_t): Likewise.
3452 (_G_uid_t): Likewise.
3453 (_G_wchar_t): Likewise.
3454 (_G_wint_t): Likewise.
3455 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3456 (_G_ssize_t): Likewise.
3457 (_G_off_t): Likewise.
3458 (_G_pid_t): Likewise.
3459 (_G_uid_t): Likewise.
3460 (_G_wchar_t): Likewise.
3461 (_G_wint_t): Likewise.
3463 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3465 * malloc/arena.c: Include malloc-sysdep.h.
3466 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3467 is sufficient to shrink the heap or an unmap is needed.
3468 * sysdeps/generic/malloc-sysdep.h: New file. Define
3469 new function check_may_shrink_heap.
3470 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3471 new function check_may_shrink_heap.
3473 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3475 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3478 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3480 * catgets/test-gencat.sh: Add "set -e".
3481 * elf/tst-pathopt.sh: Likewise.
3482 * grp/tst_fgetgrent.sh: Likewise.
3483 * iconvdata/run-iconv-test.sh: Likewise.
3484 * intl/tst-gettext.sh: Likewise.
3485 * intl/tst-gettext2.sh: Likewise.
3486 * intl/tst-gettext4.sh: Likewise.
3487 * intl/tst-gettext6.sh: Likewise.
3488 * intl/tst-translit.sh: Likewise.
3489 * io/ftwtest-sh: Likewise.
3490 * libio/test-freopen.sh: Likewise.
3491 * malloc/tst-mtrace.sh: Likewise.
3492 * posix/globtest.sh: Likewise.
3493 * posix/tst-getconf.sh: Likewise.
3494 * posix/wordexp-tst.sh: Likewise.
3495 * stdio-common/tst-printf.sh: Likewise.
3496 * stdio-common/tst-unbputc.sh: Likewise.
3497 * stdlib/tst-fmtmsg.sh: Likewise.
3498 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3499 * catgets/Makefile: Do not specify -e option when running
3500 testsuite shell scripts.
3501 * elf/Makefile: Likewise.
3502 * grp/Makefile: Likewise.
3503 * iconvdata/Makefile: Likewise.
3504 * intl/Makefile: Likewise.
3505 * io/Makefile: Likewise.
3506 * libio/Makefile: Likewise.
3507 * malloc/Makefile: Likewise.
3508 * posix/Makefile: Likewise.
3509 * stdio-common/Makefile: Likewise.
3510 * stdlib/Makefile: Likewise.
3511 * sysdeps/x86_64/Makefile: Likewise.
3513 * io/ftwtest-sh: Add copyright header.
3514 * posix/globtest.sh: Likewise.
3515 * posix/tst-getconf.sh: Likewise.
3516 * posix/wordexp-tst.sh: Likewise.
3517 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3519 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3522 * Makeconfig (+link): Defined as $(+link-static) if
3523 $(build-shared) isn't yes.
3524 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3526 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3528 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3531 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3532 new chunk size with MALLOC_ALIGN_MASK.
3534 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3537 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3539 (__printf_fphex): Determine rounding using get_rounding_mode and
3541 * stdio-common/tst-printf-round.c (struct hex_test): New
3543 (hex_tests): New variable.
3544 (test_hex_in_one_mode): New function.
3545 (do_test): Also run tests for hex float output.
3547 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3549 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3550 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3551 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3552 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3553 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3554 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3555 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3556 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3558 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3560 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3561 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3562 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3563 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3565 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3568 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3570 * elf/tst-rtld-load-self.sh: New test.
3571 * elf/Makefile: Run it.
3573 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3576 (tst-writev-ENV): Remove.
3577 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3579 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3581 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3583 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3585 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3587 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3589 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3590 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3591 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3594 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3597 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3598 * config.make.in (have-cpp-asm-debuginfo): Removed.
3599 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3600 * configure: Regenerated.
3602 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3605 * stdio-common/printf_fp.c: Include <stdbool.h> and
3607 (___printf_fp): Determine rounding using get_rounding_mode and
3609 * stdio-common/tst-printf-round.c: New file.
3610 * stdio-common/Makefile (tests): Add tst-printf-round.
3611 (link-libm): New variable.
3612 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3614 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3617 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3618 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3620 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3623 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3625 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3626 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3627 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3628 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3630 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3633 * include/rounding-mode.h: New file.
3634 * sysdeps/generic/get-rounding-mode.h: Likewise.
3635 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3636 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3637 (MAX_VALUE): New macro.
3638 (MIN_VALUE): Likewise.
3639 (overflow_value): New function.
3640 (underflow_value): Likewise.
3641 (round_and_return): Use overflow_value and underflow_value to
3642 determine return values in overflow and underflow cases. Use
3643 round_away to determine rounding depending on rounding mode.
3644 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3645 determine return values in overflow and underflow cases.
3646 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3647 (struct test_results): New structure.
3648 (struct test): Use struct test_results to store expected results
3649 for all rounding modes.
3650 (TEST): Include expected results for all rounding modes.
3651 (test_in_one_mode): New function.
3652 (do_test): Use test_in_one_mode to compute and check results.
3653 Check results for all rounding modes.
3654 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3657 2012-12-09 Allan McRae <allan@archlinux.org>
3659 * sysdeps/i386/fpu/libm-test-ulps: Update
3661 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3663 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3664 (_G_int32_t): Likewise.
3665 (_G_uint16_t): Likewise.
3666 (_G_uint32_t): Likewise.
3667 (_G_HAVE_BOOL): Likewise.
3668 (_G_HAVE_ATEXIT): Likewise.
3669 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3670 (_G_HAVE_IO_FILE_OPEN): Likewise.
3671 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3672 (_G_int32_t): Likewise.
3673 (_G_uint16_t): Likewise.
3674 (_G_uint32_t): Likewise.
3675 (_G_HAVE_BOOL): Likewise.
3676 (_G_HAVE_ATEXIT): Likewise.
3677 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3678 (_G_HAVE_IO_FILE_OPEN): Likewise.
3679 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3680 (_G_int32_t): Likewise.
3681 (_G_uint16_t): Likewise.
3682 (_G_uint32_t): Likewise.
3683 (_G_HAVE_BOOL): Likewise.
3684 (_G_HAVE_ATEXIT): Likewise.
3685 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3686 (_G_HAVE_IO_FILE_OPEN): Likewise.
3688 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3690 * csu/libc-tls.c: Update copyright years.
3692 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3694 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3695 [!_G_USING_THUNKS]: Remove conditional code.
3696 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3697 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3699 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3700 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3701 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3702 (_G_VTABLE_LABEL_PREFIX): Likewise.
3703 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3704 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3705 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3706 (_G_VTABLE_LABEL_PREFIX): Likewise.
3707 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3708 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3709 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3710 (_G_VTABLE_LABEL_PREFIX): Likewise.
3711 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3713 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3715 * libio/Makefile: Include ../Makeconfig before tests.
3716 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3717 only if $(build-shared) is yes.
3719 * iconv/gconv_db.c: Update copyright years.
3721 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3723 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3724 unwind info if defined PIC. Fix special cases description.
3725 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3727 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3729 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3731 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3733 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3735 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3738 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3739 (LDLIBS-tst-chk4): This.
3740 (LDFLAGS-tst-chk5): Renamed to ...
3741 (LDLIBS-tst-chk5): This.
3742 (LDFLAGS-tst-chk6): Renamed to ...
3743 (LDLIBS-tst-chk6): This.
3744 (LDFLAGS-tst-lfschk4): Renamed to ...
3745 (LDLIBS-tst-lfschk4): This.
3746 (LDFLAGS-tst-lfschk5): Renamed to ...
3747 (LDLIBS-tst-lfschk5): This.
3748 (LDFLAGS-tst-lfschk6): Renamed to ...
3749 (LDLIBS-tst-lfschk6): This.
3751 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3752 on $(common-objpfx)soversions.mk.
3754 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3757 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3760 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3762 * malloc/arena.c (arena_get_retry): New function that gets
3763 another arena for the caller to try its request on.
3764 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3765 current arena cannot fulfill the request.
3766 (__libc_memalign): Likewise.
3767 (__libc_memalign): Likewise.
3768 (__libc_pvalloc): Likewise.
3769 (__libc_calloc): Likewise.
3771 2012-09-05 John Tobey <john.tobey@gmail.com>
3774 * manual/arith.texi (Operations on Complex): Fix description
3777 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3780 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3784 * manual/memory.texi (Memory): Make order of menu items match
3787 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3789 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3790 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3791 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3793 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3795 * csu/libc-tls.c (static_dtv): Renamed to ...
3796 (_dl_static_dtv): This. Make it global.
3797 (_dl_initial_dtv): Removed.
3798 (__libc_setup_tls): Updated.
3799 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3800 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3803 2012-09-06 Petr Machata <pmachata@redhat.com>
3805 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3806 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3807 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3808 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3810 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3813 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3814 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3817 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3820 * Makeconfig (link-static-before-libc): Replace $(+prector)
3822 (link-static-after-libc): Replace $(+postctor) with
3824 (link-bounded): Replace $(+prector)/$(+postctor) with
3825 $(+prectorT)/$(+postctorT).
3826 (+prectorT): New macro.
3827 (+postctorT): Likewise.
3829 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3831 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3832 (round_str): Handle values above the maximum for IBM long double
3834 * stdlib/tst-strtod-round.c (tests): Regenerated.
3836 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3838 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3840 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3841 zarch_nohighgprs around the zarch optimized routines.
3842 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3843 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3844 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3847 2012-09-05 David S. Miller <davem@davemloft.net>
3849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3851 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3852 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3853 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3854 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3857 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3859 * malloc/arena.c: Fold copyright years.
3860 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3862 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3864 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3866 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3868 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3870 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3872 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3873 change internal state upon failure.
3875 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3877 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3878 * malloc/memusage.c (mmap): Likewise.
3879 (mmap64, mremap): Likewise. Adjust name in comment.
3881 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3883 * libio/fileops.c: Fix typos in comments.
3884 * libio/oldfileops.c: Likewise.
3885 * libio/wfileops.c: Likewise.
3887 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3890 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3891 (tst-malloc-usable-ENV): Set environment for test case.
3892 * malloc/hooks.c (malloc_check_get_size): New function to get
3894 * malloc/malloc.c (musable): Use malloc_check_get_size.
3895 * malloc/tst-malloc-usable.c: New test case.
3897 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3899 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3901 2012-09-05 Allan McRae <allan@archlinux.org>
3904 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3905 determine header location.
3906 * configure: Regenerated.
3908 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3910 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3912 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3913 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3917 2012-09-04 David S. Miller <davem@davemloft.net>
3919 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3920 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3921 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3923 2012-09-04 Florian Weimer <fweimer@redhat.com>
3925 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3928 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3930 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3933 * libio/iogetdelim.c: Include <limits.h>.
3934 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3935 + len + 1 would overflow.
3937 2012-09-03 Andreas Jaeger <aj@suse.de>
3939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3940 * sysdeps/i386/fpu/libm-test-ulps: Update.
3942 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3944 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3945 Add s_sinf-sse2, s_conf-sse2.
3947 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3948 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3949 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3950 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3952 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3953 for using routine as __sinf_ia32.
3954 Use macro for function declaration and weak_alias.
3955 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3956 for using routine as __cosf_ia32.
3957 Use macro for function declaration and weak_alias.
3959 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3960 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3962 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3963 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3966 * math/libm-test.inc (cos_test): Add more test cases.
3967 (sin_test): Likewise.
3968 (sincos_test): Likewise.
3970 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3972 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3973 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3975 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3977 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3980 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3981 first element of the GOT.
3982 (elf_machine_load_address): Return the difference between
3983 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3985 2012-09-01 Allan McRae <allan@archlinux.org>
3988 * configure.in (AWK): Require gawk version 3.0 or later.
3989 * configure: Regenerated.
3991 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/unix/sysv/linux/kernel-features.h
3994 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3996 [__NR_clock_getres]: Make code unconditional.
3997 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3998 (clock_getcpuclockid): Remove code left unreachable by removal of
4000 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4002 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4003 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4004 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4005 Make code unconditional.
4006 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4007 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4008 * sysdeps/unix/sysv/linux/clock_settime.c
4009 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4011 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4012 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4014 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4017 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4018 scripts/test-installation.pl.
4020 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4021 and $ld_so_version if it is set.
4023 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4026 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4027 failure if reading from procfs failed.
4028 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4030 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4032 * sysdeps/unix/sysv/linux/kernel-features.h
4033 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4034 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4035 Remove conditional code.
4036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4037 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4038 Remove conditional code.
4039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4040 * sysdeps/unix/sysv/linux/i386/fxstat.c
4041 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4043 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4044 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4046 * sysdeps/unix/sysv/linux/i386/lxstat.c
4047 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4048 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4049 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4050 Remove conditional code.
4051 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4052 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4053 Remove conditional code.
4054 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4055 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4056 <kernel-features.h>.
4057 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4059 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4060 Remove conditional code.
4061 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4062 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4065 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4068 * NEWS: Add fixed bug number.
4070 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4073 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4074 underflowing exponent in case of negative sign.
4075 * stdlib/tst-strtod-round-data: Add more tests.
4076 * stdlib/tst-strtod-round.c (tests): Regenerated.
4079 * stdlib/strtod_l.c (NDIG): Remove.
4080 (HEXNDIG): Likewise.
4081 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4082 smallest representable value.
4083 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4084 lie within an exact representation of 1/2 ulp of the result.
4085 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4087 (TENS_P9_IDX): Define unconditionally.
4088 (TENS_P9_SIZE): Likewise.
4089 (TENS_P10_IDX): Likewise.
4090 (TENS_P10_SIZE): Likewise.
4091 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4092 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4093 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4094 entries for 10^2^13 and 10^2^14.
4095 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4096 (TENS_P13_IDX): Define.
4097 (TENS_P13_SIZE): Likewise.
4098 (TENS_P14_IDX): Likewise.
4099 (TENS_P14_SIZE): Likewise.
4100 (_fpioconst_pow10): Change array size to
4101 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4103 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4104 1024]: Add entries for 10^2^13 and 10^2^14.
4105 [LAST_POW10 > _LAST_POW10]: Remove #error.
4106 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4107 (_fpioconst_pow10): Change array size to
4108 FPIOCONST_POW10_ARRAY_SIZE.
4109 * stdlib/gen-fpioconst.c: New file.
4110 * stdlib/gen-tst-strtod-round.c: Likewise.
4111 * stdlib/tst-strtod-round-data: Likewise.
4112 * stdlib/tst-strtod-round.c: Likewise.
4113 * stdlib/Makefile (tests): Add tst-strtod-round.
4116 * stdlib/strtod_l.c: Include <stdint.h>.
4117 (NDEBUG): Do not define.
4118 (round_and_return): Change EXPONENT parameter to type intmax_t.
4119 Rearrange calculations to avoid internal overflow possibilities.
4120 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4121 Rearrange calculations to avoid internal overflow possibilities.
4122 Assert that number fits inside MPNSIZE limbs.
4123 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4124 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4125 calculations and add assertions to avoid internal overflow
4126 possibilities. Add casts to avoid signed/unsigned operations.
4127 * stdlib/tst-strtod-overflow.c: New file.
4128 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4130 2012-08-25 Marek Polacek <polacek@redhat.com>
4132 * time/time.h: Fix some typos in comments.
4134 2012-08-23 Roland McGrath <roland@hack.frob.com>
4136 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4137 * posix/tst-rfc3484-2.c: Likewise.
4138 * posix/tst-rfc3484-3.c: Likewise.
4140 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4142 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4143 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4145 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4147 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4148 #include of fxstatat64.c.
4150 2012-08-22 Roland McGrath <roland@hack.frob.com>
4152 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4153 * shadow/getspent_r.c: Likewise.
4154 * shadow/getspnam.c: Likewise.
4155 * shadow/getspnam_r.c: Likewise.
4156 * gshadow/getsgent.c: Likewise.
4157 * gshadow/getsgent_r.c: Likewise.
4158 * gshadow/getsgnam.c: Likewise.
4159 * gshadow/getsgnam_r.c: Likewise.
4160 * inet/getnetbyad.c: Likewise.
4161 * inet/getnetbyad_r.c: Likewise.
4162 * inet/getnetbynm.c: Likewise.
4163 * inet/getnetbynm_r.c: Likewise.
4164 * inet/getnetent.c: Likewise.
4165 * inet/getnetent_r.c: Likewise.
4166 * inet/getproto.c: Likewise.
4167 * inet/getproto_r.c: Likewise.
4168 * inet/getprtent.c: Likewise.
4169 * inet/getprtent_r.c: Likewise.
4170 * inet/getprtname.c: Likewise.
4171 * inet/getprtname_r.c: Likewise.
4172 * inet/getrpcbyname.c: Likewise.
4173 * inet/getrpcbyname_r.c: Likewise.
4174 * inet/getrpcbynumber.c: Likewise.
4175 * inet/getrpcbynumber_r.c: Likewise.
4176 * inet/getrpcent.c: Likewise.
4177 * inet/getrpcent_r.c: Likewise.
4178 * inet/getaliasent.c: Likewise.
4179 * inet/getaliasent_r.c: Likewise.
4180 * inet/getaliasname.c: Likewise.
4181 * inet/getaliasname_r.c: Likewise.
4182 * nscd/getgrgid_r.c: Likewise.
4183 * nscd/getgrnam_r.c: Likewise.
4184 * nscd/gethstbyad_r.c: Likewise.
4185 * nscd/gethstbynm3_r.c: Likewise.
4186 * nscd/getpwnam_r.c: Likewise.
4187 * nscd/getpwuid_r.c: Likewise.
4188 * nscd/getsrvbynm_r.c: Likewise.
4189 * nscd/getsrvbypt_r.c: Likewise.
4190 * nscd/gai.c: Likewise.
4192 * configure.in (build_nscd): New substituted variable, set
4193 by --disable-build-nscd and defaults to $use_nscd.
4194 * configure: Regenerated.
4195 * config.make.in (build-nscd): New substituted variable.
4196 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4197 Change conditional to require [$(build-nscd) = yes] as well.
4198 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4201 * configure.in (use_nscd): New substituted variable, set by
4202 --disable-nscd. If enabled, define USE_NSCD.
4203 * configure: Regenerated.
4204 * config.h.in: Add USE_NSCD.
4205 * config.make.in (use-nscd): New substituted variable.
4206 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4207 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4208 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4209 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4210 (CFLAGS-getgrnam_r.c): Likewise.
4211 (CFLAGS-initgroups.c): Likewise.
4212 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4213 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4215 * inet/getnetgrent_r.c
4216 (nscd_setnetgrent): New function, broken out of ...
4217 (setnetgrent): ... here. Call it.
4218 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4219 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4220 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4221 * nscd/Makefile (routines, aux): Move definitions after include of
4222 Makeconfig. Conditionalize on [$(use-nscd) != no].
4223 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4224 Conditionalize on [USE_NSCD].
4225 (is_nscd, nscd_init_cb): Likewise.
4226 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4227 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4228 * nss/nss_db/db-init.c: Likewise.
4229 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4231 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4232 (make_request): Use it.
4233 (cache_valid_p): New function.
4234 (__check_pf): Use it.
4235 * NEWS: Add item for --disable-nscd.
4237 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4239 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4240 to support sed >= 4.2.1-20-ga9bf076.
4241 * configure: Regenerated.
4243 2012-08-22 Roland McGrath <roland@hack.frob.com>
4245 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4246 Conditionalize whole body on [IREL].
4248 2012-08-22 Jeff Law <law@redhat.com>
4251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4252 if the family is PF_UNSPEC.
4254 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4256 * Makerules (lib-version): Rename from V.
4257 (install-lib-nosubdir): Change V to lib-version.
4259 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4262 * powerpc32/power6/wcschr.c: New file.
4263 * powerpc32/power6/wcscpy.c: New file.
4264 * powerpc32/power6/wcsrchr.c: New file.
4265 * powerpc64/power6/wcschr.c: New file.
4266 * powerpc64/power6/wcscpy.c: New file.
4267 * powerpc64/power6/wcsrchr.c: New file.
4269 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4271 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4272 (two_way_short_needle): Use it.
4273 * string/strstr.c (AVAILABLE1_USES_J): Define.
4274 * string/strcasestr.c: Likewise.
4276 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4278 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4281 * NEWS: Add an entry.
4282 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4283 define their defaults.
4284 (two_way_short_needle): Detect end-of-string on-the-fly.
4285 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4286 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4287 * string/bug-strcasestr1.c: New test.
4288 * string/Makefile: Run it.
4290 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4293 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4294 the first character.
4296 2012-08-21 Roland McGrath <roland@hack.frob.com>
4298 * csu/elf-init.c (__libc_csu_irel): Function removed.
4299 * csu/libc-start.c (apply_irel): New function.
4300 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4302 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4304 * sysdeps/unix/sysv/linux/kernel-features.h
4305 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4306 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4307 <kernel-features.h>.
4308 [__NR_fadvise64_64]: Make code unconditional.
4309 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4310 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4311 !__NR_fadvise64_64)]: Likewise.
4312 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4313 !__NR_fadvise64_64))]: Likewise.
4314 [__NR_fadvise64]: Make code unconditional.
4315 [!__NR_fadvise64]: Remove conditional code.
4316 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4317 <kernel-features.h>.
4318 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4320 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4323 not include <kernel-features.h>.
4324 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4326 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4328 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4329 include <kernel-features.h>.
4330 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4332 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4335 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4337 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4338 slight instruction rearrangements per scrollpipe analysis.
4339 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4341 2012-08-20 Roland McGrath <roland@hack.frob.com>
4343 * manual/syslog.texi (syslog; vsyslog, closelog):
4344 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4345 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4347 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4348 DSOCAPS to match condition on defining it.
4350 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4352 * sysdeps/unix/sysv/linux/kernel-features.h
4353 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4355 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4356 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4358 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4359 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4361 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4362 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4364 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4365 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4367 * sysdeps/unix/sysv/linux/kernel-features.h
4368 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4369 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4371 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4372 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4373 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4374 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4375 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4376 Make code unconditional.
4377 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4378 (__mmap64) [!__NR_mmap2]: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4380 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4381 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4383 [__NR_mmap2]: Make code unconditional.
4384 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4385 (__mmap64) [!__NR_mmap2]: Likewise.
4387 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4389 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4391 2012-08-18 Andreas Jaeger <aj@suse.de>
4393 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4395 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4397 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4398 * include/unistd.h (__have_sock_cloexec): Likewise.
4399 (__have_pipe2): Likewise.
4400 (__have_dup3): Likewise.
4402 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4405 * include/unistd.h (__have_pipe2): Change define into an extern int.
4406 (__have_dup3): Likewise.
4407 * socket/have_sock_cloexec.c: Include fcntl.h.
4408 (__have_pipe2): New variable.
4409 (__have_dup3): Likewise.
4411 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4413 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4415 2012-08-17 Marek Polacek <polacek@redhat.com>
4417 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4418 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4420 2012-08-17 Roland McGrath <roland@hack.frob.com>
4422 * configure.in: Add AC_SUBST for sysheaders.
4423 * configure: Regenerated.
4424 * config.make.in (sysheaders): New substituted variable.
4426 * sysdeps/unix/mkfifo.c: Moved ...
4427 * sysdeps/posix/mkfifo.c: ... here.
4428 * sysdeps/unix/mkfifoat.c: Moved ...
4429 * sysdeps/posix/mkfifoat.c: ... here.
4431 * sysdeps/unix/utime.c: Moved ...
4432 * sysdeps/posix/utime.c: ... here.
4434 * sysdeps/unix/time.c: Moved ...
4435 * sysdeps/posix/time.c: ... here.
4436 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4439 * sysdeps/unix/nice.c: Moved ...
4440 * sysdeps/posix/nice.c: ... here.
4442 * sysdeps/unix/alarm.c: Moved ...
4443 * sysdeps/posix/alarm.c: ... here.
4445 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4447 2012-08-17 Jeff Law <law@redhat.com>
4449 * intl/Makefile (codeset_mo): New variable.
4450 ($(codeset_mo)): New target.
4451 (tst-codeset.out): Depend on that. Remove explicit rule.
4452 (tst-gettext3.out, tst-gettext5.out): Likewise.
4453 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4454 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4455 * intl/tst-codeset.sh: Remove.
4456 * intl/tst-gettext3.sh: Likewise.
4457 * intl/tst-gettext5.sh: Likewise.
4459 2012-08-17 Roland McGrath <roland@hack.frob.com>
4461 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4462 * sysdeps/unix/syscalls.list: ... here.
4464 * sysdeps/posix/getaddrinfo.c
4465 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4466 (gaiconf_init, gaiconf_reload): Use them.
4468 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4469 Define using time_t rather than struct timespec.
4471 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4472 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4474 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4476 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4477 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4480 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4481 __libc_cleanup_push argument.
4483 * bits/param.h: New file.
4484 * misc/sys/param.h: New file.
4485 * include/sys/param.h: New file.
4486 * misc/Makefile (headers): Add bits/param.h.
4487 * sysdeps/generic/sys/param.h: File removed.
4488 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4489 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4490 * sysdeps/mach/hurd/bits/param.h: New file.
4491 * sysdeps/mach/hurd/sys/param.h: File removed.
4493 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4496 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4498 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4499 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4502 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4503 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4504 rather than -D_IO_MTSAFE_IO conditionally.
4505 * stdio-common/Makefile (CPPFLAGS): Likewise.
4506 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4507 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4508 Use $(libio-mtsafe).
4509 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4511 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4512 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4513 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4514 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4515 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4516 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4517 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4518 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4519 (CFLAGS-fread_u_chk.c): Likewise.
4520 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4521 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4522 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4523 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4524 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4525 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4526 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4527 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4528 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4530 * libio/Makefile: Test [$(libc-reentrant) = yes]
4531 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4534 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4535 * sysdeps/pthread/configure: File removed.
4536 * sysdeps/pthread/Makeconfig: New file.
4537 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4538 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4540 2012-08-16 Gary Benson <gbenson@redhat.com>
4542 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4543 unmapping the first object in a namespace.
4545 2012-08-16 Roland McGrath <roland@hack.frob.com>
4547 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4548 (__internal_setnetgrent): ... this. Add internal_function to
4549 definition. Add libc_hidden_def.
4550 (setnetgrent): Update caller.
4551 (internal_endnetgrent): Renamed to ...
4552 (__internal_endnetgrent): ... this. Add internal_function to
4553 definition. Add libc_hidden_def.
4554 (endnetgrent): Update caller.
4555 (internal_getnetgrent_r): Renamed to ...
4556 (__internal_getnetgrent_r): ... this. Add internal_function to
4557 definition. Add libc_hidden_def.
4558 (__getnetgrent_r): Update caller.
4559 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4561 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4563 * stdlib/longlong.h: Update from GCC.
4565 2012-08-16 Roland McGrath <roland@hack.frob.com>
4567 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4568 on _QL, which is set by umul_ppmm but never used.
4569 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4570 variables, which are set by GMP macros but never used.
4571 * stdio-common/_itowa.c (_itowa): Likewise.
4572 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4573 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4575 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4577 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4578 struct La_sh_regs is not constant.
4579 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4580 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4581 and struct La_sparc64_regs are not constant.
4583 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4585 * sysdeps/unix/sysv/linux/kernel-features.h
4586 (__ASSUME_POSIX_TIMERS): Remove.
4587 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4589 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4590 Make code unconditional.
4591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4592 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4593 Make code unconditional.
4594 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4595 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4596 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4597 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4598 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4599 Make code unconditional.
4600 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4601 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4602 (__libc_missing_posix_timers): Remove.
4604 2012-08-15 Roland McGrath <roland@hack.frob.com>
4606 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4607 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4609 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4611 * elf/dl-sym.c: Include <stdlib.h>.
4613 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4614 constants, which avoids warnings in 32-bit builds.
4616 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4617 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4619 * misc/lseek.c: File moved to ...
4620 * io/lseek.c: ... here.
4622 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4624 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4625 shifting LEN more than 31 bits at once.
4627 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4630 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4631 segmentation fault for a case of two empty input strings.
4632 * string/test-strncasecmp.c (check1): Renamed to...
4634 (bz14195): Add new testcase for two empty input strings and N > 0.
4635 (test_main): Call new testcase, adapt for renamed function.
4637 2012-08-15 Andreas Jaeger <aj@suse.de>
4640 * crypt/md5test2.c: New test, based on test supplied by Serge
4641 Belyshev <belyshev@depni.sinp.msu.ru>.
4642 * crypt/Makefile (xtests): Add md5test-giant..
4643 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4645 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4648 * crypt/md5.c (md5_process_block): Don't assume the buffer
4649 length is less than 2**32.
4650 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4651 length is less than 2**64.
4653 2012-08-15 Roland McGrath <roland@hack.frob.com>
4655 * string/str-two-way.h: Include <sys/param.h>.
4656 (MAX): Macro removed.
4658 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4659 Move #define and #undef of memmove to just before and after
4660 including <string.h>.
4662 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4663 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4664 and after including <string.h>. Move declarations of
4665 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4666 to before #include "string/memmove.c".
4668 * include/dirent.h: Declare __getdirentries.
4670 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4671 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4673 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4675 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4676 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4677 * sysdeps/i386/configure: Regenerated.
4678 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4679 STABS_CURRENT_FILE, and STABS_FUN.
4680 (END): Remove call to STABS_FUN_END.
4681 (STABS_CURRENT_FILE1): Delete.
4682 (STABS_CURRENT_FILE): Likewise.
4683 (STABS_FUN): Likewise.
4684 (STABS_FUN_END): Likewise.
4685 (STABS_FUN2): Likewise.
4686 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4687 * sysdeps/x86_64/configure: Regenerated.
4689 2012-08-14 Roland McGrath <roland@hack.frob.com>
4691 * elf/dl-open.c: Include <atomic.h>.
4692 * elf/dl-lookup.c: Likewise.
4694 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/unix/sysv/linux/kernel-features.h
4697 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4698 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4700 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4702 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4703 condition on __ASSUME_CLONE_THREAD_FLAGS.
4705 2012-08-14 Andreas Jaeger <aj@suse.de>
4707 * sysdeps/i386/fpu/libm-test-ulps: Update.
4709 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4711 * include/atomic.h (atomic_exchange_and_add): Split into ...
4712 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4715 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4719 2012-08-13 Jeff Law <law@redhat.com>
4721 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4722 null byte in the output string.
4724 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4726 * sysdeps/unix/sysv/linux/kernel-features.h
4727 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4728 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4729 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4731 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4732 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4733 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4735 2012-08-09 Jeff Law <law@redhat.com>
4738 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4739 When avoid_arena is set, don't retry in the that arena. Pick the
4740 next one, whatever it might be.
4741 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4742 (arena_lock): Pass in new parameter to arena_get2.
4743 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4745 (__libc_malloc): Unify retrying after main arena failure with
4746 __libc_memalign version.
4747 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4749 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4752 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4753 to __redirect_strstr.
4754 (__strstr_sse42): Use typeof __redirect_strstr.
4755 (__strstr_ia32): Likewise.
4756 (__libc_strstr): New prototype.
4757 (strstr): Renamed to ...
4758 (__libc_strstr): This.
4759 (strstr): New strong alias of __libc_strstr.
4760 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4761 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4764 (__libc_time): New prototype.
4765 (time_ifunc): Replace time with __libc_time.
4766 (time): New strong alias and hidden definition of __libc_time.
4767 (__GI_time): Remove strong alias.
4768 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4770 (memmove): Redefined to __redirect_memmove.
4771 (__memmove_sse2): Use typeof __redirect_memmove.
4772 (__memmove_ssse3): Likewise.
4773 (__memmove_ssse3_back): Likewise.
4774 (__libc_memmove): New prototype.
4775 (memmove): Renamed to ...
4776 (__libc_memmove): This.
4777 (memmove): New strong alias of __libc_memmove.
4779 2012-08-08 Mark Salter <msalter@redhat.com>
4782 (R_MN10300_TLS_GD): Define.
4783 (R_MN10300_TLS_LD): Likewise.
4784 (R_MN10300_TLS_LDO): Likewise.
4785 (R_MN10300_TLS_GOTIE): Likewise.
4786 (R_MN10300_TLS_IE): Likewise.
4787 (R_MN10300_TLS_LE): Likewise.
4788 (R_MN10300_TLS_DTPMOD): Likewise.
4789 (R_MN10300_TLS_DTPOFF): Likewise.
4790 (R_MN10300_TLS_TPOFF): Likewise.
4791 (R_MN10300_SYM_DIFF): Likewise.
4792 (R_MN10300_ALIGN): Likewise.
4793 (R_MN10300_NUM): Update.
4795 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4797 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4800 2012-08-08 Roland McGrath <roland@hack.frob.com>
4802 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4804 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4805 sysdeps/unix -> sysdeps/posix move.
4806 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4808 2012-08-07 Allan McRae <allan@archlinux.org>
4811 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4812 (SUNOS_CPP): Likewise.
4813 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4815 (open_input): Call CPP using execvp.
4817 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4819 * sysdeps/unix/sysv/linux/kernel-features.h
4820 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4821 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4822 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4823 (__ASSUME_WAITID_SYSCALL): Likewise.
4824 * sysdeps/unix/sysv/linux/dl-execstack.c
4825 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4827 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4829 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4830 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4831 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4833 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4835 [__ASSUME_WAITID_SYSCALL]: Likewise.
4836 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4838 2012-08-07 Roland McGrath <roland@hack.frob.com>
4840 * sysdeps/unix/closedir.c: Renamed to ...
4841 * sysdeps/posix/closedir.c: ... here.
4842 * sysdeps/unix/dirfd.c: Renamed to ...
4843 * sysdeps/posix/dirfd.c: ... here.
4844 * sysdeps/unix/dirstream.h: Renamed to ...
4845 * sysdeps/posix/dirstream.h: ... here.
4846 * sysdeps/unix/fdopendir.c: Renamed to ...
4847 * sysdeps/posix/fdopendir.c: ... here.
4848 * sysdeps/unix/opendir.c: Renamed to ...
4849 * sysdeps/posix/opendir.c: ... here.
4850 * sysdeps/unix/readdir.c: Renamed to ...
4851 * sysdeps/posix/readdir.c: ... here.
4852 * sysdeps/unix/readdir_r.c: Renamed to ...
4853 * sysdeps/posix/readdir_r.c: ... here.
4854 * sysdeps/unix/rewinddir.c: Renamed to ...
4855 * sysdeps/posix/rewinddir.c: ... here.
4856 * sysdeps/unix/seekdir.c: Renamed to ...
4857 * sysdeps/posix/seekdir.c: ... here.
4858 * sysdeps/unix/telldir.c: Renamed to ...
4859 * sysdeps/posix/telldir.c: ... here.
4860 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4861 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4862 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4863 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4865 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4866 * bits/fcntl.h: ... here.
4868 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4870 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4871 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4872 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4873 (struct flock): Move l_start, l_len to the beginning.
4874 Use __pid_t for l_pid.
4875 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4876 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4877 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4878 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4879 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4880 [__USE_LARGEFILE64] (struct flock64): New type.
4881 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4883 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4884 * bits/dirent.h: ... here.
4886 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4887 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4889 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4891 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4892 Change from 2.6.0 to 2.6.16.
4893 * sysdeps/unix/sysv/linux/configure: Regenerated.
4894 * sysdeps/unix/sysv/linux/kernel-features.h
4895 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4896 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4898 (__ASSUME_UTIMES): Likewise.
4899 (__ASSUME_CLONE_STOPPED): Remove.
4900 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4901 architectures, not kernel version.
4902 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4903 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4904 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4905 (__ASSUME_WAITID_SYSCALL): Likewise.
4906 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4907 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4908 * README: State 2.6.16 as minimum Linux kernel version. Do not
4909 refer to older versions.
4911 2012-08-06 Roland McGrath <roland@hack.frob.com>
4913 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4914 Define alphasort64 as an alias.
4915 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4916 Define versionsort64 as an alias.
4917 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4918 Define scandir64 as an alias.
4919 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4920 Define scandirat64 as an alias.
4921 * dirent/alphasort64.c (alphasort64):
4922 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4923 * dirent/versionsort64.c: Likewise.
4924 * dirent/scandir64.c: Likewise.
4925 * dirent/scandirat64.c: Likewise.
4926 * sysdeps/wordsize-64/alphasort.c: File removed.
4927 * sysdeps/wordsize-64/alphasort64.c: File removed.
4928 * sysdeps/wordsize-64/scandir.c: File removed.
4929 * sysdeps/wordsize-64/scandir64.c: File removed.
4930 * sysdeps/wordsize-64/scandirat.c: File removed.
4931 * sysdeps/wordsize-64/scandirat64.c: File removed.
4932 * sysdeps/wordsize-64/versionsort.c: File removed.
4933 * sysdeps/wordsize-64/versionsort64.c: File removed.
4934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4936 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4937 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4938 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4939 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4940 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4941 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4943 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4945 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4947 [defined __arch64__ || defined __sparcv9]
4948 (__INO_T_MATCHES_INO64_T): New macro.
4949 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4950 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4951 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4952 * sysdeps/unix/sysv/linux/bits/dirent.h
4953 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4954 (_DIRENT_MATCHES_DIRENT64): New macro.
4956 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4957 Define lockf64 as an alias.
4958 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4959 Define fseeko64 as an alias.
4960 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4961 Define ftello64 as an alias.
4962 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4963 Define _IO_fgetpos64 and fgetpos64 as aliases.
4964 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4965 Define _IO_fsetpos64 and fsetpos64 as aliases.
4966 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4967 Conditionalize body on this.
4968 * libio/fseeko64.c: Likewise.
4969 * libio/ftello64.c: Likewise.
4970 * libio/iofgetpos64.c: Likewise.
4971 * libio/iofsetpos64.c: Likewise.
4972 * sysdeps/wordsize-64/lockf.c: File removed.
4973 * sysdeps/wordsize-64/lockf64.c: File removed.
4974 * sysdeps/wordsize-64/fseeko.c: File removed.
4975 * sysdeps/wordsize-64/fseeko64.c: File removed.
4976 * sysdeps/wordsize-64/ftello.c: File removed.
4977 * sysdeps/wordsize-64/ftello64.c: File removed.
4978 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4979 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4980 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4981 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4988 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4990 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4993 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4995 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4997 [defined __arch64__ || defined __sparcv9]
4998 (__OFF_T_MATCHES_OFF64_T): New macro.
4999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5000 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5001 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5002 (__OFF_T_MATCHES_OFF64_T): New macro.
5004 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5006 * stdlib/secure-getenv.c (__secure_getenv): Replace
5007 GLIBC_2_16 with GLIBC_2_17.
5009 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5011 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5012 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5014 2012-08-03 David S. Miller <davem@davemloft.net>
5016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5018 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5020 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5022 (__ASSUME_CORRECT_SI_PID): Likewise.
5023 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5024 (__ASSUME_TMPFS_NAME): Likewise.
5025 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5026 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5027 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5028 (HAVE_AUX_SECURE): Make definition unconditional.
5029 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5030 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5032 2012-08-03 Roland McGrath <roland@hack.frob.com>
5034 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5035 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5036 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5037 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5038 __eloop_threshold instead of SYMLOOP_MAX.
5040 * sysdeps/generic/eloop-threshold.h: New file.
5041 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5043 * elf/chroot_canon.c (chroot_canon): Likewise.
5045 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5049 Change to 2.6.0 everywhere.
5050 * sysdeps/unix/sysv/linux/configure: Regenerated.
5051 * sysdeps/unix/sysv/linux/kernel-features.h
5052 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5053 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5055 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5056 (__ASSUME_FUTEX_REQUEUE): Remove.
5057 (__ASSUME_STATFS64): Define unconditionally.
5058 (__ASSUME_AT_SECURE): Likewise.
5059 (__ASSUME_CORRECT_SI_PID): Likewise.
5060 (__ASSUME_TGKILL): Define without depending on kernel version for
5062 (__ASSUME_UTIMES): Likewise.
5063 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5065 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5066 (__ASSUME_TMPFS_NAME): Likewise.
5067 * README: Update reference to Linux kernel versions.
5069 2012-08-02 Marek Polacek <polacek@redhat.com>
5072 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5073 libc_cv_asm_type_prefix with %.
5074 * configure: Regenerated.
5075 * include/libc-symbols.h: Remove comment about
5076 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5077 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5078 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5079 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5080 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5081 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5082 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5083 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5084 * elf/tst-unique2mod1.c: Likewise.
5085 * elf/tst-unique1mod2.c: Likewise.
5086 * elf/tst-unique1mod1.c: Likewise.
5087 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5088 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5089 Replace ASM_TYPE_DIRECTIVE with .type.
5090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5091 * sysdeps/i386/sysdep.h: Likewise.
5092 * sysdeps/x86_64/sysdep.h: Likewise.
5093 * sysdeps/sh/sysdep.h: Likewise.
5094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5095 Do not define ASM_TYPE_DIRECTIVE.
5096 * sysdeps/powerpc/sysdep.h: Likewise.
5097 * sysdeps/powerpc/powerpc32/sysdep.h:
5098 Replace ASM_TYPE_DIRECTIVE with .type.
5099 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5100 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5101 * sysdeps/i386/fpu/e_powf.S: Likewise.
5102 * sysdeps/i386/fpu/e_expl.S: Likewise.
5103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5105 * sysdeps/i386/fpu/e_pow.S: Likewise.
5106 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5108 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5109 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5110 * sysdeps/i386/fpu/e_log2.S: Likewise.
5111 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5113 * sysdeps/i386/fpu/e_powl.S: Likewise.
5114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5115 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5116 * sysdeps/i386/fpu/e_logl.S: Likewise.
5117 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5118 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5119 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5120 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5121 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5122 * sysdeps/i386/fpu/e_log.S: Likewise.
5123 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5124 * sysdeps/i386/fpu/e_logf.S: Likewise.
5125 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5126 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5127 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5128 * sysdeps/i386/fpu/e_log10.S: Likewise.
5129 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5130 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5131 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5132 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5133 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5134 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5135 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5136 * sysdeps/i386/i686/strtok.S: Likewise.
5137 * sysdeps/i386/i386-mcount.S: Likewise.
5138 * sysdeps/i386/strtok.S: Likewise.
5139 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5140 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5141 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5142 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5143 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5144 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5145 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5146 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5147 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5148 * sysdeps/x86_64/_mcount.S: Likewise.
5149 * sysdeps/x86_64/strtok.S: Likewise.
5150 * sysdeps/sh/_mcount.S: Likewise.
5152 2012-08-01 Roland McGrath <roland@hack.frob.com>
5154 * libio/iofopen.c: Include <fcntl.h>.
5155 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5156 (_IO_fopen64, fopen64): Define as aliases.
5157 * libio/iofopen64.c: Include <fcntl.h>.
5158 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5159 Conditionalize body on this.
5160 * sysdeps/wordsize-64/iofopen.c: File removed.
5161 * sysdeps/wordsize-64/iofopen64.c: File removed.
5163 2012-08-01 Marek Polacek <polacek@redhat.com>
5165 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5166 Use dlfcn directly instead of a variable.
5167 (binfmt-subdir): Do not define.
5170 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5173 Remove all definitions.
5174 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5175 <kernel-features.h>.
5176 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5177 (miss_F_GETOWN_EX): Remove all definitions.
5178 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5180 [!__ASSUME_FCNTL64]: Remove conditional code.
5181 [__ASSUME_FCNTL64]: Make code unconditional.
5182 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5183 <kernel-features.h>.
5184 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5185 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5186 (lockf64) [__NR_fcntl64]: Make code unconditional.
5187 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5189 * sysdeps/unix/sysv/linux/kernel-features.h
5190 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5191 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5192 Make code unconditional.
5193 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5194 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5196 [__NR_vfork]: Make code unconditional.
5197 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5198 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5200 [__NR_vfork]: Make code unconditional.
5201 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5202 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5204 2012-08-01 Roland McGrath <roland@hack.frob.com>
5206 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5207 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5209 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5210 Define mkstemp64 as an alias.
5211 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5212 Define mkstemps64 as an alias.
5213 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5214 Define mkostemp64 as an alias.
5215 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5216 Define mkostemps64 as an alias.
5217 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5218 Conditionalize body on this.
5219 * misc/mkostemp64.c: Likewise.
5220 * misc/mkostemps64.c: Likewise.
5221 * misc/mkstemps64.c: Likewise.
5222 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5223 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5224 * sysdeps/wordsize-64/mkostemp.c: File removed.
5225 * sysdeps/wordsize-64/mkstemp.c: File removed.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5227 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5229 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5232 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5233 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5234 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5235 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5237 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5238 compat_symbol macros from <shlib-compat.h> rather than the underlying
5239 default_symbol_version and symbol_version macros, so that DEFAULT
5240 lines in shlib-versions are respected.
5241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5243 2012-08-01 Florian Weimer <fweimer@redhat.com>
5245 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5246 Declare with warn_unused_result.
5247 (setgid, setregid, setegid, setresgid): Likewise.
5248 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5250 * WUR-REPORT: Remove set*id functions.
5252 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5254 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5256 2012-07-31 Roland McGrath <roland@hack.frob.com>
5258 * include/sys/socket.h (__libc_accept, __libc_accept4):
5259 Add attribute_hidden.
5260 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5262 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5264 * inet/getnetgrent_r.c (setup): Likewise.
5266 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5268 2012-07-31 David S. Miller <davem@davemloft.net>
5270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5272 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5275 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5276 value between 1.0 and 2.0 and smaller part has absolute value less
5278 * math/s_clog10.c (__clog10): Likewise.
5279 * math/s_clog10f.c (__clog10f): Likewise.
5280 * math/s_clog10l.c (__clog10l): Likewise.
5281 * math/s_clogf.c (__clogf): Likewise.
5282 * math/s_clogl.c (__clogl): Likewise.
5283 * math/libm-test.inc (clog_test): Add more tests.
5284 (clog10_test): Likewise.
5285 * sysdeps/i386/fpu/libm-test-ulps: Update.
5286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288 2012-07-31 Florian Weimer <fweimer@redhat.com>
5290 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5291 Exit with zero in case no suitable GID is found, and write a
5292 message to standard error.
5294 2012-07-30 Roland McGrath <roland@hack.frob.com>
5296 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5298 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5299 (MAXPATHLEN): Removed.
5300 (NOGROUP, NODEV): New macros.
5301 (setbit, clrbit, isset, isclr): New macros.
5302 (howmany, roundup, powerof2): New macros.
5303 (DEV_BSIZE): New macro.
5305 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5306 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5308 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5309 definition on [!__NO_LONG_DOUBLE_MATH].
5311 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5312 PTR_MANGLE and PTR_DEMANGLE.
5314 * socket/accept4.c (accept4): Rename to __libc_accept4.
5315 Define accept4 as a weak alias.
5317 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5318 on [_DIRENT_HAVE_D_TYPE].
5319 * io/ftw.c (ftw_dir): Likewise.
5321 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5323 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5325 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5326 Use the BSD numbers rather than the arbitrary ones we had.
5327 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5328 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5329 (SIGXCPU, SIGXFSZ): New macros.
5332 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5333 initializer on [_LIBC_REENTRANT].
5335 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5336 definitions inside [_POSIX_MAPPED_FILES].
5338 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5340 * dirent/opendir.c: Include <fcntl.h>.
5342 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5343 (__libc_getspecific): Likewise.
5344 (__libc_key_create): Likewise.
5346 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5347 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5348 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5349 (tmpfile64): Define as alias.
5350 * sysdeps/wordsize-64/tmpfile.c: File removed.
5351 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5353 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5355 * stdio-common/vfscanf.c: Include <stdbool.h>.
5356 * nss/makedb.c: Likewise.
5357 * stdio-common/_i18n_number.h: Likewise.
5358 * argp/argp-help.c: Likewise.
5359 * posix/wordexp.c: Likewise.
5360 * sysdeps/posix/spawni.c: Likewise.
5361 * nss/nss_files/files-initgroups.c: Likewise.
5362 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5363 * nss/nss_files/files-initgroups.c: Likewise.
5364 * nss/nss_db/db-netgrp.c: Likewise.
5365 * nss/nss_db/db-initgroups.c: Likewise.
5366 * io/fchmodat.c: Include <sys/stat.h>.
5368 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5369 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5371 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5374 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5375 Add multiple inclusion protection.
5377 2012-07-27 David S. Miller <davem@davemloft.net>
5379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5381 2012-07-27 Gary Benson <gbenson@redhat.com>
5384 * elf/rtld.c: Include <stap-probe.h>.
5385 (dl_main): Added static probes "init_start" and "init_complete".
5386 * elf/dl-load.c: Include <stap-probe.h>.
5387 (lose): Take new parameter "nsid".
5388 Added static probe "map_failed".
5389 (_dl_map_object_from_fd): Pass namespace id to lose.
5390 Added static probe "map_start".
5391 (open_verify): Pass namespace id to lose.
5392 * elf/dl-open.c: Include <stap-probe.h>.
5393 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5394 and "reloc_complete".
5395 * elf/dl-close.c: Include <stap-probe.h>.
5396 (_dl_close_worker): Added static probes "unmap_start" and
5398 * elf/rtld-debugger-interface.txt: New file documenting the above.
5400 2012-07-26 Roland McGrath <roland@hack.frob.com>
5402 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5403 rather than a string variable.
5404 * sunrpc/rpc_main.c (h_output): Likewise.
5405 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5407 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5409 * inet/check_native.c: New file.
5411 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5414 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5415 if larger part has absolute value 1.0.
5416 * math/s_clog10.c (__clog10): Likewise.
5417 * math/s_clog10f.c (__clog10f): Likewise.
5418 * math/s_clog10l.c (__clog10l): Likewise.
5419 * math/s_clogf.c (__clogf): Likewise.
5420 * math/s_clogl.c (__clogl): Likewise.
5421 * math/libm-test.inc (clog_test): Add more tests.
5422 (clog10_test): Likewise.
5423 * sysdeps/i386/fpu/libm-test-ulps: Update.
5424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5427 (pltexit): Likewise.
5428 (La_regs): Likewise.
5429 (La_retval): Likewise.
5430 (int_retval): Likewise.
5431 Update #error for removed macros to refer only to definitions in
5433 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5435 (pltexit): Likewise.
5436 (La_regs): Likewise.
5437 (La_retval): Likewise.
5438 (int_retval): Likewise.
5439 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5441 (pltexit): Likewise.
5442 (La_regs): Likewise.
5443 (La_retval): Likewise.
5444 (int_retval): Likewise.
5445 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5447 (pltexit): Likewise.
5448 (La_regs): Likewise.
5449 (La_retval): Likewise.
5450 (int_retval): Likewise.
5451 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5453 (pltexit): Likewise.
5454 (La_regs): Likewise.
5455 (La_retval): Likewise.
5456 (int_retval): Likewise.
5457 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5459 (pltexit): Likewise.
5460 (La_regs): Likewise.
5461 (La_retval): Likewise.
5462 (int_retval): Likewise.
5463 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5465 (pltexit): Likewise.
5466 (La_regs): Likewise.
5467 (La_retval): Likewise.
5468 (int_retval): Likewise.
5469 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5470 macro definitions in tst-audit.h.
5471 * sysdeps/i386/tst-audit.h: New file.
5472 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5473 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5474 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5475 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5476 * sysdeps/sh/tst-audit.h: Likewise.
5477 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5478 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5479 * sysdeps/x86_64/tst-audit.h: Likewise.
5481 2012-07-26 Andreas Jaeger <aj@suse.de>
5483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5486 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5487 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5488 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5490 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5491 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5492 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5494 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5497 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5499 (si_call_addr, si_syscall, si_arch): Define new macro.
5500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5502 (si_call_addr, si_syscall, si_arch): Define new marcro.
5503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5505 (si_call_addr, si_syscall, si_arch): Define new macro.
5506 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5508 (si_call_addr, si_syscall, si_arch): Define new macro.
5510 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5514 Change to 2.4.21 where previously 2.4.1.
5515 * sysdeps/unix/sysv/linux/configure: Regenerated.
5516 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5517 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5518 Linux kernel version.
5519 (__ASSUME_STD_AUXV): Remove.
5520 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5522 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5523 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5524 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5525 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5526 (__ASSUME_NETLINK_SUPPORT): Likewise.
5527 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5528 (__no_netlink_support): Remove conditional definition.
5529 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5531 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5532 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5533 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5534 (if_nameindex_ioctl): Remove.
5535 (if_nameindex_netlink): Do not handle __no_netlink_support.
5536 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5538 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5539 Remove conditional code.
5540 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5542 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5544 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5545 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5546 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5548 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5549 [!__ASSUME_STD_AUXV]: Remove conditional code.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5551 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5552 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5554 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5555 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5557 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5559 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5560 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5562 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5564 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5567 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5570 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5572 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5574 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5576 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5579 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5581 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5584 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5586 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5588 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5590 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5593 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5595 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5597 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5599 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5602 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5604 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5605 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5606 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5607 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5608 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5609 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5610 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5611 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5612 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5613 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5614 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5615 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5616 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5617 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5621 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5622 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5624 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5625 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5626 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5628 2012-07-25 Florian Weimer <fweimer@redhat.com>
5630 * Versions.def: Add GLIBC_2.17.
5631 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5632 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5633 Introduce __libc_secure_getenv.
5634 * stdlib/Versions (2.17): Add secure_getenv
5635 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5636 * stdlib/secure-getenv.c: Rename __secure_getenv to
5637 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5638 symbol __secure_getenv for GLIBC_2.0.
5639 * stdlib/tst-secure-getenv.c: New.
5640 * stdlib/Makefile (tests): Add testcase.
5641 * manual/startup.texi (Environment Access): Document
5643 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5644 __libc_secure_getenv.
5645 * inet/ruserpass.c (ruserpass): Likewise.
5646 * malloc/mtrace.c (mtrace): Likewise.
5647 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5648 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5649 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5650 * sysdeps/posix/tempname.c: Likewise. Evaluate
5652 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5653 __secure_getenv to __libc_secure_getenv.
5654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5667 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5669 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5670 (struct La_i86_retval): Likewise.
5671 (struct La_x86_64_regs): Likewise.
5672 (struct La_x86_64_retval): Likewise.
5673 (struct La_x32_regs): Likewise.
5674 (struct La_x32_retval): Likewise.
5675 (struct La_ppc32_regs): Likewise.
5676 (struct La_ppc32_retval): Likewise.
5677 (struct La_ppc64_regs): Likewise.
5678 (struct La_ppc64_retval): Likewise.
5679 (struct La_sh_regs): Likewise.
5680 (struct La_sh_retval): Likewise.
5681 (struct La_s390_32_regs): Likewise.
5682 (struct La_s390_32_retval): Likewise.
5683 (struct La_s390_64_regs): Likewise.
5684 (struct La_s390_64_retval): Likewise.
5685 (struct La_sparc32_regs): Likewise.
5686 (struct La_sparc32_retval): Likewise.
5687 (struct La_sparc64_regs): Likewise.
5688 (struct La_sparc64_retval): Likewise.
5689 (struct audit_ifaces): Remove architecture-specific pltenter and
5691 * sysdeps/i386/ldsodefs.h: New file.
5692 * sysdeps/powerpc/ldsodefs.h: Likewise.
5693 * sysdeps/s390/ldsodefs.h: Likewise.
5694 * sysdeps/sh/ldsodefs.h: Likewise.
5695 * sysdeps/sparc/ldsodefs.h: Likewise.
5696 * sysdeps/x86_64/ldsodefs.h: Likewise.
5698 2012-07-25 Marek Polacek <polacek@redhat.com>
5701 * math/libm-test.inc (yn_test): Add another test.
5702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5703 to ERANGE when the result is +-Inf.
5704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5705 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5706 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5707 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5709 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5711 * conform/data/time.h-data (NULL): Use macro-constant. Require
5713 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5715 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5717 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5719 * configure.in <sysdeps resolving>: Correct printing
5721 * configure: Regenerate.
5723 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5725 * math/w_ilogb.c: Include <limits.h>.
5726 * math/w_ilogbl.c: Likewise.
5728 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5730 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5731 va_copy. Document allowing for unavailable va_copy only as
5732 pre-C99 compatibility.
5733 * manual/string.texi (Copying and Concatenation): Use va_copy
5734 instead of __va_copy in concat example.
5736 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5738 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5739 (__sendto): Use create_address_port. Initialize APORT and deallocate
5742 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5743 with O_NOLINK passed to __file_name_lookup.
5745 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5746 with O_NOLINK passed to __file_name_lookup.
5748 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5749 negative N or less than NGIDS.
5751 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5752 type to string_t. Set ERANGE as errno and return it if NAME is not big
5753 enough. Use memcpy instead of strncpy.
5755 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5757 * elf/Makefile (check-data): Remove.
5758 (localplt.data): New vpath directive.
5759 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5760 instead of $(check-data).
5761 * scripts/data/localplt-generic.data: Move to ...
5762 * sysdeps/generic/localplt.data: ... here.
5763 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5764 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5765 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5768 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5771 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5774 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5777 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5780 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5784 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5786 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5787 PPC32 and PPC64 files.
5788 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5789 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5791 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5793 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5794 __makecontext_ret to ...
5795 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5796 ... here and call exit if uc_link is NULL. New file.
5797 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5798 __makecontext_ret.S.
5799 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5800 __makecontext_ret to ...
5801 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5802 ... here and call exit if uc_link is NULL. New file.
5803 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5804 __makecontext_ret.S.
5806 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5808 * elf/elf.h (R_390_IRELATIVE): New definition.
5809 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5810 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5811 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5813 (elf_machine_lazy_rel): Likewise.
5814 * sysdeps/s390/dl-irel.h: New file.
5815 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5816 * sysdeps/s390/s390-64/memset.S: New asm code.
5817 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5818 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5819 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5820 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5821 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5822 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5823 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5824 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5825 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5826 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5827 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5828 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5829 * sysdeps/s390/s390-32/memset.S: New asm code.
5830 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5832 2012-07-17 Marek Polacek <polacek@redhat.com>
5835 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5836 * sysdeps/s390/s390-64/configure.in: Likewise.
5837 * sysdeps/sparc/configure.in: Likewise.
5838 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5839 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5840 * sysdeps/i386/configure.in: Likewise.
5841 * sysdeps/x86_64/configure.in: Likewise.
5842 * sysdeps/sh/configure.in: Likewise.
5843 * sysdeps/s390/s390-32/configure: Regenerated.
5844 * sysdeps/s390/s390-64/configure: Likewise.
5845 * sysdeps/x86_64/configure: Likewise.
5846 * sysdeps/sh/configure: Likewise.
5847 * sysdeps/powerpc/powerpc64/configure: Likewise.
5848 * sysdeps/powerpc/powerpc32/configure: Likewise.
5849 * sysdeps/sparc/configure: Likwise.
5850 * sysdeps/i386/configure: Likewise.
5852 * elf/dl-open.c: Comment fixes.
5854 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5856 * Makefile [CXX] (check-data): Remove.
5857 [CXX] (c++-types.data): New vpath directive.
5858 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5859 vpath. Do not allow for C++ type data being missing.
5860 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5861 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5862 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5863 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5864 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5865 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5866 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5869 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5872 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5875 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5878 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5881 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5884 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5887 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5890 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5891 definitions to architecture-specific files.
5895 * sysdeps/i386/tls-macros.h: New file.
5896 * sysdeps/powerpc/tls-macros.h: Likewise.
5897 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5898 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5899 * sysdeps/sh/tls-macros.h: Likewise.
5900 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5901 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5902 * sysdeps/x86_64/tls-macros.h: Likewise.
5904 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5906 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5907 zero value for regular exit case.
5909 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5910 (__start_context): Preserve zero value for regular exit case.
5912 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5913 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5915 * manual/setjmp.texi (setcontext): Clarify normal process
5916 termination when uc_link is the null pointer.
5917 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5920 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5922 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5923 preprocessor. Test for each exception mask separately.
5925 2012-07-16 Andreas Jaeger <aj@suse.de>
5927 * po/ru.po: Update from translation team.
5929 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5931 * conform/data/string.h-data (NULL): Use macro-constant. Require
5933 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5934 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5935 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5936 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5939 2012-07-13 Andreas Jaeger <aj@suse.de>
5941 * po/fr.po: Update from translation team.
5943 2012-07-12 Marek Polacek <polacek@redhat.com>
5946 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5947 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5950 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5954 Change to 2.4.1 where previously 2.4.0.
5955 * sysdeps/unix/sysv/linux/configure: Regenerated.
5956 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5957 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5959 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5960 (__ASSUME_AT_CLKTCK): Remove.
5961 (__ASSUME_AT_PAGESIZE): Likewise.
5962 (__ASSUME_AT_XID): Likewise.
5963 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5964 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5965 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5967 (HAVE_AUX_PAGESIZE): Likewise.
5968 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5969 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5970 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5972 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5976 the temporary buffer used to invoke __gethostbyname2_r,
5977 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5978 host_data / struct gaih_addrtuple.
5979 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5980 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5981 header file nss/nsswitch.h.
5982 * nss/nsswitch.h (global scope): Add definition of implementation
5983 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5984 resolv/nss_dns/dns-host.c).
5986 2012-07-11 Andreas Jaeger <aj@suse.de>
5988 * po/fr.po: Update from translation team.
5990 * po/sv.po: Update from translation team
5991 * po/fr.po: Another update from translation team.
5993 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5995 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5996 for subnormals or multiply small sinh result by itself.
5997 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6000 2012-07-11 David S. Miller <davem@davemloft.net>
6002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6004 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6007 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6008 (INTERNAL_MARK): Shift it here.
6010 2012-07-10 Marek Polacek <polacek@redhat.com>
6013 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6014 libc_cv_asm_global_directive with .globl.
6015 * configure: Regenerated.
6016 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6018 * sysdeps/i386/configure: Regenerated.
6019 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6021 * sysdeps/x86_64/configure: Regenerated.
6022 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6023 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6024 * elf/tst-unique2mod2.c: Likewise.
6025 * elf/tst-unique2mod1.c: Likewise.
6026 * elf/tst-unique1mod2.c: Likewise.
6027 * elf/tst-unique1mod1.c: Likewise.
6028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6029 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6031 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6032 * sysdeps/mach/sysdep.h: Likewise.
6033 * sysdeps/i386/sysdep.h: Likewise.
6034 * sysdeps/i386/i386-mcount.S: Likewise.
6035 * sysdeps/x86_64/_mcount.S: Likewise.
6036 * sysdeps/x86_64/sysdep.h: Likewise.
6037 * sysdeps/sh/_mcount.S: Likewise.
6038 * sysdeps/sh/sysdep.h: Likewise.
6039 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6040 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6041 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6043 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6044 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6045 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6046 * locale/localeinfo.h: Likewise.
6047 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6048 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6050 2012-07-09 Roland McGrath <roland@hack.frob.com>
6053 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6055 * manual/message.texi (The Uniforum approach): Likewise.
6056 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6057 (glibc iconv Implementation): Likewise.
6059 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6062 * math/s_clog.c (__clog): Avoid scaling a value down where that
6063 could result in underflow.
6064 * math/s_clog10.c (__clog10): Likewise.
6065 * math/s_clog10f.c (__clog10f): Likewise.
6066 * math/s_clog10l.c (__clog10l): Likewise.
6067 * math/s_clogf.c (__clogf): Likewise.
6068 * math/s_clogl.c (__clogl): Likewise.
6069 * math/libm-test.inc (clog_test): Add more tests.
6070 (clog10_test): Likewise.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6077 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6078 by 7 not 8 to examine high bit of fractional part.
6081 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6082 for call to __mcount_internal.
6083 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6084 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6085 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6087 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6090 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6091 approximation for values within 0x1p-13f of an odd multiple of
6093 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6094 exception. Add more tests.
6095 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6099 inputs and return -1 for them. Do not check for +Inf in case not
6101 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6102 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6103 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6104 and return -1 for them. Do not check for +Inf in case not
6106 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6108 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6109 and return -1 for them. Do not check for +Inf in case not
6111 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6116 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6118 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6120 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6124 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6125 could result in spurious underflow. Scale down values above
6126 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6127 * math/s_csqrtf.c (__csqrtf): Likewise.
6128 * math/s_csqrtl.c (__csqrtl): Likewise.
6129 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6134 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6136 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6138 * catgets/xopen-msg.awk: New file.
6139 * catgets/xopen-msg.sed: Removed.
6141 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6143 * intl/po2test.awk: New file.
6144 * intl/po2test.sed: Removed.
6146 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6149 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6150 or multiply small sinh result by itself.
6151 * math/s_ctanf.c (__ctanf): Likewise.
6152 * math/s_ctanh.c (__ctanh): Likewise.
6153 * math/s_ctanhf.c (__ctanhf): Likewise.
6154 * math/s_ctanhl.c (__ctanhl): Likewise.
6155 * math/s_ctanl.c (__ctanl): Likewise.
6156 * math/libm-test.inc (ctan_test_tonearest): New function.
6157 (ctan_test_towardzero): Likewise.
6158 (ctan_test_downward): Likewise.
6159 (ctan_test_upward): Likewise.
6160 (ctanh_test_tonearest): Likewise.
6161 (ctanh_test_towardzero): Likewise.
6162 (ctanh_test_downward): Likewise.
6163 (ctanh_test_upward): Likewise.
6164 (main): Call these new functions.
6165 * sysdeps/i386/fpu/libm-test-ulps: Update.
6166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6170 * .gitignore: Delete /ports entry.
6172 2012-07-03 Andreas Jaeger <aj@suse.de>
6174 * po/bg.po: Update from translation team.
6175 * po/cs.po: Likewise.
6176 * po/de.po: Likewise.
6177 * po/hr.po: Likewise.
6178 * po/nl.pl: Likewise.
6179 * po/pl.po: Likewise.
6180 * po/vi.po: Likewise.
6182 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6184 * Makeconfig [!+link] (+link-before-libc): New variable.
6185 [!+link] (+link-after-libc): Likewise.
6186 [!+link] (+link-tests): Likewise.
6187 [!+link] (+link): Define in terms of $(+link-before-libc) and
6188 $(+link-after-libc).
6189 [!+link-static] (+link-static-before-libc): New variable.
6190 [!+link-static] (+link-static-after-libc): Likewise.
6191 [!+link-static] (+link-static-tests): Likewise.
6192 [!+link-static] (+link-static): Define in terms of
6193 $(+link-static-before-libc) and $(+link-static-after-libc).
6194 [build-shared] (link-libc-before-gnulib): New variable.
6195 [build-shared] (link-libc-tests): Likewise.
6196 [build-shared] (link-libc): Define in terms of
6197 $(link-libc-before-gnulib).
6198 [!build-shared] (link-libc-tests): New variable.
6199 (link-libc-static-tests): New variable.
6200 [!gnulib] (gnulib-arch): New variable.
6201 [!gnulib] (gnulib-tests): Likewise.
6202 [!gnulib] (static-gnulib-arch): Likewise.
6203 [!gnulib] (static-gnulib-tests): Likewise.
6204 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6205 Define with "=" instead of ":=".
6206 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6207 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6208 * Rules (binaries-all-notests): New variable.
6209 (binaries-all-tests): Likewise.
6210 (binaries-static-notests): Likewise.
6211 (binaries-static-tests): Likewise.
6212 (binaries-all): Define using $(binaries-all-notests) and
6213 $(binaries-all-tests).
6214 (binaries-static): Define using $(binaries-static-notests) and
6215 $(binaries-static-tests).
6216 (binaries-shared-tests): New variable.
6217 (binaries-shared-notests): Likewise.
6218 (binaries-shared): Remove variable.
6219 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6220 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6221 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6222 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6223 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6224 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6225 * elf/Makefile (sln-modules): New variable.
6226 (extra-objs): Add $(sln-modules:=.o).
6227 (ldconfig-modules): Add static-stubs.
6228 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6229 * elf/static-stubs.c: New file.
6232 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6233 by 7 not 8 to examine high bit of fractional part. Use volatile
6234 variables when splitting into final array of floats if
6235 __FLT_EVAL_METHOD__ != 0.
6236 * math/libm-test.inc (cos_test): Add another test.
6237 (sin_test): Likewise.
6238 * sysdeps/i386/fpu/libm-test-ulps: Update.
6241 * math/libm-test.inc (cosh_test): Add more tests.
6243 * version.h (RELEASE): Set to "development".
6244 (VERSION): Set to "2.16.90".
6246 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6248 * NEWS: Update copyright. Remove last-updated date.
6249 Mention math library bug fixes and timezone data changes.
6250 * README: Mention GNU/Hurd, x32, and HPPA support status.
6252 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6254 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6256 2012-06-27 Andreas Jaeger <aj@suse.de>
6258 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6260 2012-06-25 Andreas Jaeger <aj@suse.de>
6262 * sysdeps/s390/fpu/libm-test-ulps: Update.
6264 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6265 Thomas Schwinge <thomas@codesourcery.com>
6267 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6268 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6269 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6272 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6274 * sysdeps/mach/start.c: Remove file.
6275 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6276 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6277 * sysdeps/sh/init-first.c: Likewise.
6279 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6280 registers for frame unwinding purposes, add CFI directives.
6281 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6283 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6286 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6287 __fortify_fail returning.
6288 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6290 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6291 sysdeps/sh/____longjmp_chk.S.
6292 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6293 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6294 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6295 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6297 * sysdeps/sh/abort-instr.h: New file.
6298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6299 process in case exit returns.
6301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6302 initialize the GOT register before use.
6304 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6305 calculation of ARGC > 4.
6307 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6308 meaningful names to some local labels.
6310 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6311 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6313 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6314 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6315 (__arch_compare_and_exchange_val_16_acq): Likewise.
6316 (__arch_compare_and_exchange_val_32_acq): Likewise.
6317 (atomic_exchange_and_add): Fix gUSA sequence.
6318 (atomic_add): Likewise.
6319 (atomic_add_negative): Likewise.
6320 (atomic_add_zero): Likewise.
6321 (atomic_bit_test_set): Likewise.
6323 2012-06-22 Andreas Schwab <schwab@redhat.com>
6326 * include/link.h (struct link_map): Add l_free_initfini.
6327 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6329 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6330 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6331 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6334 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6336 * configure.in: Use AC_LANG_SOURCE.
6337 * configure: Regenerate.
6339 2012-06-22 Roland McGrath <roland@hack.frob.com>
6341 * configure.in (libc_cv_localstatedir): New substituted variable.
6342 * configure: Regenerated.
6343 * config.make.in (localstatedir): New variable, substituted from
6344 libc_cv_localstatedir.
6345 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6346 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6347 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6348 * sysdeps/gnu/configure: Regenerated.
6350 2012-06-21 Jeff Law <law@redhat.com>
6353 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6354 free. Simplify list management for _LIBC case.
6356 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6359 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6360 Clear sign bit of 64-bit integer value before comparing against
6363 * sysdeps/mach/configure: Regenerated.
6365 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6368 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6370 2012-06-21 Jeff Law <law@redhat.com>
6373 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6374 uint16_t for elements in the "seen" array to avoid char overflows.
6375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6376 * elf/dl-open.c (dl_open_worker): Likewise.
6378 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6380 * scripts/list-sources.sh: Scan PORTS for translations.
6381 * po/libc.pot: Regenerated.
6383 2012-06-21 Andreas Jaeger <aj@suse.de>
6386 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6388 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6389 * bits/byteswap-16.h (__bswap_16): Likewise.
6390 * bits/byteswap.h (__bswap_constant_16): Likewise.
6392 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6395 * sysdeps/i386/fpu_control.h: Removed.
6396 * sysdeps/x86_64/fpu_control.h: Moved to ...
6397 * sysdeps/x86/fpu_control.h: Here.
6399 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6400 (_FPU_SETCW): Likewise.
6402 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6405 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6406 * sysdeps/x86/fpu/bits/mathinline.h: This.
6407 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6411 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6412 functions if __x86_64__ is defined.
6414 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6416 * string/endian.h: Add !__ASSEMBLER__ condition for including
6417 conversion interfaces.
6419 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6423 of ABS(x) in calculating zero to negative powers other than odd
6425 * math/libm-test.inc (pow_test): Add more tests.
6427 2012-06-15 Andreas Jaeger <aj@suse.de>
6429 * manual/contrib.texi (Contributors): Update entry of Liubov
6430 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6433 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6435 * string/string.h: Add __wur to GNU version of strerror_r.
6437 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6440 * string/Makefile (tests): Add tst-strtok_r.
6441 * string/tst-strtok_r.c: New file.
6442 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6443 RAX_LP/RDX_LP on SAVE_PTR.
6445 2012-06-14 Roland McGrath <roland@hack.frob.com>
6447 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6449 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6451 * libm_test.inc (csqrt_test): Allow more spurious underflow
6453 (j0_test): Likewise.
6454 (j1_test): Likewise.
6455 (y0_test): Likewise.
6456 (y1_test): Likewise.
6458 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6460 * po/Makefile (libc.pot): Use UTF-8 charset.
6462 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6465 Suppress sign-conversion warning from FD_SET.
6466 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6467 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6468 not unsigned long int.
6469 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6471 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6475 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6476 __extern_always_inline instead of __extern_inline.
6477 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6478 (__signbit): Likewise.
6479 (__signbitl): Support C++ namespace.
6480 (lrintf): New inline function.
6482 (llrintf): Likewise.
6494 (nearbyint): Likewise.
6495 (nearbyintf): Likewise.
6497 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6500 non-default versions.
6502 2012-06-11 Roland McGrath <roland@hack.frob.com>
6505 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6507 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6509 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6510 (FE_UPWARD, FE_DOWNWARD): Don't define.
6511 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6512 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6514 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6516 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6517 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6519 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6521 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6524 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6526 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6529 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6530 * sysdeps/i386/fpu/Implies: New file.
6531 * sysdeps/x86_64/fpu/Implies: Likewise.
6532 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6533 * sysdeps/x86/fpu/bits/fenv.h: This.
6535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6538 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6542 character 0xffff that matches the last element of the
6545 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6550 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6553 values higher than 25.6283.
6555 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6558 subnormal exponent extraction and add some __builtin_expect.
6559 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6560 Fix for subnormal mantissa calculation.
6562 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6564 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6565 cpu2 is -1 and errno is not ENOSYS.
6567 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6570 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6571 * sysdeps/x86/bits/string.h: This.
6572 * sysdeps/x86_64/bits/string.h: Removed.
6574 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6575 if not compiling for x86-64, but compiling for >= i486.
6577 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6578 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6580 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6581 New macro from Linux kernel 3.4.0.
6582 (FP_XSTATE_MAGIC2): Likewise.
6583 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6584 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6585 (struct _fpx_sw_bytes): New struct.
6586 (struct _xsave_hdr): Likewise.
6587 (struct _ymmh_state): Likewise.
6588 (struct _xstate): Likewise.
6590 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6591 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6592 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6593 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6594 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6595 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6597 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6598 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6599 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6600 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6601 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6602 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6604 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6607 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6608 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6609 (sysdep_headers): Include sys/platform/ppc.h.
6610 * sysdeps/powerpc/test-gettimebase.c: Test for
6611 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6612 * manual/Makefile (appendices): Include platform.texi.
6613 * manual/contrib.texi (Contributors): Update @node pointers.
6614 * manual/maint.texi (Maintenance): Likewise.
6615 (Platform): New node.
6616 * manual/platform.texi: New file. Document the new features.
6618 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6619 Jakub Jelinek <jakub@redhat.com>
6622 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6623 where __builtin_expect is unavailable.
6625 2012-06-03 David S. Miller <davem@davemloft.net>
6627 * stdlib/longlong.h: Updated from GCC.
6629 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6632 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6633 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6636 (GLIBC_2.16): Likewise.
6638 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6642 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6645 (default-abi): New variable.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6647 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6649 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6651 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6656 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6657 definition. Document in comment.
6659 2012-06-01 David S. Miller <davem@davemloft.net>
6661 * stdlib/longlong.h: Updated from GCC.
6663 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6666 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6667 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6668 sys/debugreg.h sys/io.h here.
6669 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6670 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6672 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6673 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6674 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6675 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6676 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6677 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6679 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6680 Define only if __x86_64__ is defined.
6682 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6685 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6686 Use int64_t for variable i.
6687 * math/libm-test.inc (fmod_test): Add more tests.
6689 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6690 z computation is not scheduled after fetestexcept.
6691 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6692 Use math_force_eval instead of asm to ensure calculation scheduled
6693 before exception test.
6694 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6695 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6697 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6700 computation is not scheduled after fetestexcept.
6702 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6705 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6706 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6708 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6711 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6713 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6716 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6718 (__WCHAR_MIN): Support __WORDSIZE == 64.
6719 (__WCHAR_MAX): Likewise.
6721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6722 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6726 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6729 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6730 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6732 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6733 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6735 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6736 Defined to 1 if __x86_64__ isn't defined.
6737 (_STAT_VER_LINUX_OLD): New.
6738 (st_atime): Remove duplicate.
6739 (st_mtime): Likewise.
6740 (st_ctime): Likewise.
6742 2012-05-31 David S. Miller <davem@davemloft.net>
6744 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6747 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6749 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6753 * elf/dl-reloc.c: Include <_itoa.h>.
6754 (_dl_reloc_bad_type): Remove use of INTUSE.
6755 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6756 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6757 * stdio-common/psiginfo.c (psiginfo): Likewise.
6758 * stdio-common/psignal.c (psignal): Likewise.
6759 * string/strsignal.c (strsignal): Likewise.
6760 * include/signal.h (_sys_siglist): Declare hidden proto.
6761 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6762 INTVARDEF with libc_hidden_data_def.
6763 * stdio-common/itoa-udigits.c: Likewise.
6764 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6765 (_itoa_lower_digits_internal): Remove declaration.
6766 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6767 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6768 (_sys_sigabbrev_internal): Remove aliases.
6769 (_sys_siglist): Define hidden alias.
6771 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6776 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6779 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6780 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6782 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6783 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6784 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6785 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6787 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6789 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6791 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6793 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6801 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6802 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6803 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6806 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6808 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6810 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6812 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6813 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6815 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6816 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6820 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6822 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6823 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6825 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6827 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6828 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6829 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6831 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6833 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6835 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6837 * math/math.h (M_El): Use two more decimal places.
6838 (M_LOG2El): Likewise.
6839 (M_LOG10El): Likewise.
6841 (M_LN10l): Likewise.
6843 (M_PI_2l): Likewise.
6844 (M_PI_4l): Likewise.
6845 (M_1_PIl): Likewise.
6846 (M_2_PIl): Likewise.
6847 (M_2_SQRTPIl): Likewise.
6848 (M_SQRT2l): Likewise.
6849 (M_SQRT1_2l): Likewise.
6851 2012-05-31 David S. Miller <davem@davemloft.net>
6853 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6854 values between float registers.
6855 * sysdeps/sparc/sparc64/memset.S: Likewise.
6856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6858 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6860 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6861 -D_FORTIFY_SOURCE=1.
6862 (CPPFLAGS-tst-longjmp_chk.c): Define.
6863 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6864 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6865 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6866 CFLAGS-tst-wchar-h.c.
6868 2012-05-31 Marek Polacek <polacek@redhat.com>
6871 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6872 __endmntent_internal): Remove declaration.
6873 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6874 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6875 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6877 2012-05-30 David S. Miller <davem@davemloft.net>
6879 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6880 (___Q_simulate_exceptions): Use real FP ops rather than writing
6882 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6885 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6888 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6889 * sysdeps/x86/bits/xtitypes.h: This.
6891 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6892 * sysdeps/x86/bits/wordsize.h: This.
6894 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6895 * sysdeps/x86/bits/huge_vall.h: This.
6897 * sysdeps/i386/bits/select.h: Removed.
6898 * sysdeps/x86_64/bits/select.h: Renamed to ...
6899 * sysdeps/x86/bits/select.h: This.
6901 * sysdeps/i386/bits/setjmp.h: Removed.
6902 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6903 * sysdeps/x86/bits/setjmp.h: This.
6905 * sysdeps/i386/bits/mathdef.h: Removed.
6906 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6907 * sysdeps/x86/bits/mathdef.h: This.
6909 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6912 * include/sys/socket.h (__connect_internal)
6913 (__libc_sa_len_internal): Remove declaration.
6914 (__connect, __libc_sa_len): Declare hidden_proto.
6915 (SA_LEN): Remove use of INTUSE.
6916 * socket/connect.c: Add libc_hidden_def.
6917 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6918 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6919 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6921 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6922 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6923 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6924 of adding _internal alias.
6926 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6929 * sysdeps/i386/bits/link.h: Removed.
6930 * sysdeps/i386/bits/linkmap.h: Likewise.
6931 * sysdeps/x86_64/bits/link.h: Renamed to ...
6932 * sysdeps/x86/bits/link.h: This.
6933 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6934 * sysdeps/x86/bits/linkmap.h: This.
6936 * sysdeps/i386/bits/endian.h: Removed.
6937 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6938 * sysdeps/x86/bits/endian.h: This.
6940 * sysdeps/i386/bits/byteswap.h: Removed.
6941 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6942 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6943 * sysdeps/x86/bits/byteswap.h: This.
6944 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6945 * sysdeps/x86/bits/byteswap-16.h: This.
6946 * sysdeps/i386/Implies: Add x86.
6947 * sysdeps/x86_64/Implies: Likewise.
6949 2012-05-30 David S. Miller <davem@davemloft.net>
6951 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6952 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6954 (FP_TRAPPING_EXCEPTIONS): Define.
6955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6956 (FP_TRAPPING_EXCEPTIONS): Define.
6957 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6958 subnormals only when inexact has been signalled or underflow
6959 exceptions are enabled.
6960 (_FP_PACK_CANONICAL): Likewise.
6962 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6966 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6968 2012-05-30 Richard Henderson <rth@twiddle.net>
6970 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6971 with #ifndef NOT_IN_libc.
6973 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6974 marked to avoid plt entry.
6976 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6979 * Makeconfig (default-abi): New macro.
6980 (abi-includes): Likewise.
6981 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6982 $(abi-$(default-abi)-lib-soname) for soname if defined.
6983 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6985 * Makefile (installed-stubs): Likewise.
6986 * include/stubs-biarch.h: Removed.
6987 * scripts/lib-names.awk: Only handle one library at a time.
6988 * scripts/soversions.awk: Remove WORDSIZE support.
6989 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6993 (syscall-list-default-condition): Likewise.
6994 (syscall-list-default-condition): Likewise.
6995 (syscall-list-includes): Likewise.
6996 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6997 syscall-list-* with abi-*. Handle undefined abi-variants.
6998 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6999 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7000 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7001 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7003 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7005 (syscall-list-32-options): Likewise.
7006 (syscall-list-32-condition): Likewise.
7007 (syscall-list-64-options): Likewise.
7008 (syscall-list-64-condition): Likewise.
7009 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7011 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7014 (abi-64-ld-soname): New macro.
7015 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7019 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7020 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7022 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7024 * sysdeps/unix/sysv/linux/kernel-features.h
7025 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7026 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7027 include <kernel-features.h>.
7028 [!__NR_ftruncate64]: Remove conditional code.
7029 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7030 [__NR_ftruncate64]: Make code unconditional.
7031 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7032 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7033 include <kernel-features.h>.
7034 [!__NR_ftruncate64]: Remove conditional code.
7035 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7036 [__NR_ftruncate64]: Make code unconditional.
7037 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7039 include <kernel-features.h>.
7040 [!__NR_ftruncate64]: Remove conditional code.
7041 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7042 [__NR_ftruncate64]: Make code unconditional.
7043 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7045 include <kernel-features.h>.
7046 [!__NR_ftruncate64]: Remove conditional code.
7047 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7048 [__NR_ftruncate64]: Make code unconditional.
7049 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7051 * configure.in (libc_cv_fpie): Weaken to a compile test using
7053 * configure: Regenerated.
7055 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7070 2012-05-27 David S. Miller <davem@davemloft.net>
7072 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7074 (__Q_simulate_exceptions): Return void. Change to simulate
7075 exceptions by writing into the %fsr.
7076 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7077 (__Qp_handle_exceptions): Likewise.
7079 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7080 __Qp_handle_exceptions.
7081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7082 __Qp_handle_exceptions.
7083 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7084 as unused and give dummy FP_RND_NEAREST initializer.
7085 (FP_INHIBIT_RESULTS): Define.
7086 (___Q_simulate_exceptions): Update declaration.
7087 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7089 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7090 as unused and give dummy FP_RND_NEAREST initializer.
7091 (__Qp_handle_exceptions): Update declaration.
7092 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7095 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7097 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7098 the temporary FPU control word.
7099 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7100 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7101 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7102 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7104 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7105 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7107 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7108 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7109 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7111 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7113 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7116 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7118 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7119 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7120 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7121 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7123 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7124 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7127 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7129 * po/h.po: Update from translation team.
7131 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7133 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7135 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7136 handling of denormals.
7137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7138 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7139 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7140 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7146 2012-05-26 Marek Polacek <polacek@redhat.com>
7149 * math/libm-test.inc (fma_test): Don't always expect underflow
7152 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * elf/tst-execstack.c: Include stackinfo.h.
7156 (do_test): Adjust test case to ensure that pthread_getattr_np
7157 behaviour remains the same after marking stack executable.
7159 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/unix/sysv/linux/kernel-features.h
7162 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7163 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7165 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7166 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7167 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7169 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7170 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7172 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7174 * configure.in: Define the default includes to being none.
7175 * configure: Regenerated.
7177 2012-05-25 Roland McGrath <roland@hack.frob.com>
7179 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7180 * sysdeps/x86_64/setjmp.S: Likewise.
7181 * sysdeps/i386/bsd-setjmp.S: Likewise.
7182 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7183 * sysdeps/i386/setjmp.S: Likewise.
7184 * sysdeps/i386/__longjmp.S: Likewise.
7185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7186 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7188 * include/stap-probe.h: New file.
7189 * configure.in: Handle --enable-systemtap.
7190 * configure: Regenerated.
7191 * config.h.in (USE_STAP_PROBE): New #undef.
7192 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7193 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7194 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7196 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7200 to 2.4.0 where earlier.
7201 * sysdeps/unix/sysv/linux/configure: Regenerated.
7202 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7203 <kernel-features.h>.
7204 [__ASSUME_32BITUIDS]: Make code unconditional.
7205 [!__ASSUME_32BITUIDS]: Remove conditional code.
7206 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7207 <kernel-features.h>.
7208 [__ASSUME_32BITUIDS]: Make code unconditional.
7209 [!__ASSUME_32BITUIDS]: Remove conditional code.
7210 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7211 [__ASSUME_32BITUIDS]: Make code unconditional.
7212 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7213 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7214 <kernel-features.h>.
7215 [__ASSUME_32BITUIDS]: Make code unconditional.
7216 [!__ASSUME_32BITUIDS]: Remove conditional code.
7217 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7218 <kernel-features.h>.
7219 [__ASSUME_32BITUIDS]: Make code unconditional.
7220 [!__ASSUME_32BITUIDS]: Remove conditional code.
7221 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7222 <kernel-features.h>.
7223 [__ASSUME_32BITUIDS]: Make code unconditional.
7224 [!__ASSUME_32BITUIDS]: Remove conditional code.
7225 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7226 <kernel-features.h>.
7227 [__ASSUME_32BITUIDS]: Make code unconditional.
7228 [!__ASSUME_32BITUIDS]: Remove conditional code.
7229 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7230 <kernel-features.h>.
7231 [__ASSUME_32BITUIDS]: Make code unconditional.
7232 [!__ASSUME_32BITUIDS]: Remove conditional code.
7233 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7234 <kernel-features.h>.
7235 [__ASSUME_32BITUIDS]: Make code unconditional.
7236 [!__ASSUME_32BITUIDS]: Remove conditional code.
7237 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7238 <kernel-features.h>.
7239 [__ASSUME_32BITUIDS]: Make code unconditional.
7240 [!__ASSUME_32BITUIDS]: Remove conditional code.
7241 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7242 <kernel-features.h>.
7243 [__ASSUME_32BITUIDS]: Make code unconditional.
7244 [!__ASSUME_32BITUIDS]: Remove conditional code.
7245 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7246 <kernel-features.h>.
7247 [__ASSUME_32BITUIDS]: Make code unconditional.
7248 [!__ASSUME_32BITUIDS]: Remove conditional code.
7249 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7250 <kernel-features.h>.
7251 [__ASSUME_32BITUIDS]: Make code unconditional.
7252 [!__ASSUME_32BITUIDS]: Remove conditional code.
7253 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7254 <kernel-features.h>.
7255 [__NR_setresgid] (__setresgid): Do not declare.
7256 [__ASSUME_32BITUIDS]: Make code unconditional.
7257 [!__ASSUME_32BITUIDS]: Remove conditional code.
7258 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7259 <kernel-features.h>.
7260 [__NR_setresuid] (__setresuid): Do not declare.
7261 [__ASSUME_32BITUIDS]: Make code unconditional.
7262 [!__ASSUME_32BITUIDS]: Remove conditional code.
7263 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7264 <kernel-features.h>.
7265 [__ASSUME_32BITUIDS]: Make code unconditional.
7266 [!__ASSUME_32BITUIDS]: Remove conditional code.
7267 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7268 <kernel-features.h>.
7269 [__ASSUME_32BITUIDS]: Make code unconditional.
7270 [!__ASSUME_32BITUIDS]: Remove conditional code.
7271 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7272 <kernel-features.h>.
7273 [__ASSUME_32BITUIDS]: Make code unconditional.
7274 [!__ASSUME_32BITUIDS]: Remove conditional code.
7275 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7276 <kernel-features.h>.
7277 [__ASSUME_32BITUIDS]: Make code unconditional.
7278 [!__ASSUME_32BITUIDS]: Remove conditional code.
7279 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7280 <kernel-features.h>.
7281 [__ASSUME_32BITUIDS]: Make code unconditional.
7282 [!__ASSUME_32BITUIDS]: Remove conditional code.
7283 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7284 <kernel-features.h>.
7285 [__ASSUME_32BITUIDS]: Make code unconditional.
7286 [!__ASSUME_32BITUIDS]: Remove conditional code.
7287 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7288 <kernel-features.h>.
7289 [__ASSUME_32BITUIDS]: Make code unconditional.
7290 [!__ASSUME_32BITUIDS]: Remove conditional code.
7291 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7292 <kernel-features.h>.
7293 [__ASSUME_32BITUIDS]: Make code unconditional.
7294 [!__ASSUME_32BITUIDS]: Remove conditional code.
7295 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7296 <kernel-features.h>.
7297 [__ASSUME_32BITUIDS]: Make code unconditional.
7298 [!__ASSUME_32BITUIDS]: Remove conditional code.
7299 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7300 <kernel-features.h>.
7301 [__ASSUME_32BITUIDS]: Make code unconditional.
7302 [!__ASSUME_32BITUIDS]: Remove conditional code.
7303 * sysdeps/unix/sysv/linux/kernel-features.h
7304 (__ASSUME_SETRESUID_SYSCALL): Remove.
7305 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7306 (__ASSUME_32BITUIDS): Likewise.
7307 (__ASSUME_LDT_WORKS): Likewise.
7308 (__ASSUME_O_DIRECTORY): Likewise.
7309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7310 architecture but not kernel version.
7311 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7312 (__ASSUME_MMAP2_SYSCALL): Likewise.
7313 (__ASSUME_STAT64_SYSCALL): Likewise.
7314 (__ASSUME_IPC64): Likewise.
7315 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7316 <kernel-features.h>.
7317 [__ASSUME_32BITUIDS]: Make code unconditional.
7318 [!__ASSUME_32BITUIDS]: Remove conditional code.
7319 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7320 <kernel-features.h>.
7321 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7322 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7323 132096]: Remove conditional code.
7324 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7325 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7326 <kernel-features.h>.
7327 [__ASSUME_32BITUIDS]: Make code unconditional.
7328 [!__ASSUME_32BITUIDS]: Remove conditional code.
7329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7330 <kernel-features.h>.
7331 [__ASSUME_32BITUIDS]: Make code unconditional.
7332 [!__ASSUME_32BITUIDS]: Remove conditional code.
7333 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7334 <kernel-features.h>.
7335 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7337 (__setresgid): Do not declare.
7338 [__ASSUME_32BITUIDS]: Make code unconditional.
7339 [!__ASSUME_32BITUIDS]: Remove conditional code.
7340 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7341 <kernel-features.h>.
7342 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7344 (__setresuid): Do not declare.
7345 [__ASSUME_32BITUIDS]: Make code unconditional.
7346 [!__ASSUME_32BITUIDS]: Remove conditional code.
7347 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
7352 <kernel-features.h>.
7353 [__ASSUME_32BITUIDS]: Make code unconditional.
7354 [!__ASSUME_32BITUIDS]: Remove conditional code.
7356 2012-05-25 Richard Henderson <rth@twiddle.net>
7358 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7359 dl_hwcap to ifunc resolver.
7360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7362 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7363 dl_hwcap to ifunc resolver.
7364 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7366 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7369 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7370 for |x| <= 2**-26, not 2**-57.
7371 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7374 2012-05-24 Jeff Law <law@redhat.com>
7376 * stdio-common/Makefile (tests): Add bug25.
7377 * stdio-common/bug25.c: New test.
7379 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7382 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7383 multiple of MALLOC_ALIGNMENT in size.
7384 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7386 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7388 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7390 (FILENAME_MAX): Use macro-int-constant.
7391 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7392 (_IOFBF): Use macro-int-constant.
7395 (SEEK_CUR): Likewise.
7396 (SEEK_END): Likewise.
7397 (SEEK_SET): Likewise.
7398 (TMP_MAX): Likewise.
7399 (EOF): Use macro-int-constant. Require < 0.
7400 (NULL): Use macro-constant. Require == 0.
7401 (stdin): Require type to be FILE *.
7404 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7406 (EXIT_SUCCESS): Likewise.
7407 (NULL): Use macro-constant. Require == 0.
7408 (RAND_MAX): Use macro-int-constant.
7409 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7410 [C99-based standards] (strtof): Require function.
7411 [C99-based standards] (strtold): Likewise.
7412 [C99-based standards] (strtoll): Likewise.
7413 [C99-based standards] (strtoull): Likewise.
7414 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7415 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7416 [ISO || ISO99 || ISO11] (math.h): Likewise.
7417 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7418 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7421 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7424 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7425 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7426 * intl/dgettext.c (DCGETTEXT): Likewise.
7427 * intl/gettext.c (DCGETTEXT): Likewise.
7428 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7429 * posix/regex_internal.h (gettext): Likewise.
7430 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7432 * include/argz.h (__argz_count_internal)
7433 (__argz_stringify_internal): Remove declaration.
7434 (__argz_count, __argz_stringify): Declare hidden proto.
7435 * intl/dcgettext.c: Remove use of INTDEF.
7436 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7437 * string/argz-stringify.c: Likewise.
7438 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7439 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7440 Declare hidden proto.
7441 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7442 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7443 Declare hidden proto.
7444 * include/stdio.h (__asprintf_internal): Don't declare.
7445 (__asprintf): Don't define as macro. Declare hidden proto.
7446 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7447 (__fsetlocking): Declare hidden proto.
7448 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7449 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7451 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7452 (_IO_setlinebuf): Remove use of INTUSE.
7453 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7454 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7455 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7457 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7458 (_IO_do_flush): Remove use of INTUSE.
7459 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7460 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7461 (_IO_adjust_column, _IO_least_wmarker)
7462 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7463 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7464 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7465 (_IO_default_doallocate, _IO_wdefault_doallocate)
7466 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7467 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7468 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7469 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7470 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7471 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7472 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7473 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7474 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7475 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7476 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7477 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7478 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7480 (_IO_flush_all_internal, _IO_adjust_column_internal)
7481 (_IO_default_uflow_internal, _IO_default_finish_internal)
7482 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7483 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7484 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7485 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7486 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7487 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7488 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7489 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7490 (_IO_file_close_internal, _IO_file_close_it_internal)
7491 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7492 (_IO_file_init_internal, _IO_file_attach_internal)
7493 (_IO_file_fopen_internal, _IO_file_read_internal)
7494 (_IO_file_sync_internal, _IO_file_seek_internal)
7495 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7496 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7497 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7498 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7499 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7500 (_IO_list_all_internal, _IO_link_in_internal)
7501 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7502 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7503 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7504 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7505 (_IO_do_write_internal, _IO_padn_internal)
7506 (_IO_getline_info_internal, _IO_getline_internal)
7507 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7508 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7509 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7510 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7511 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7512 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7513 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7514 with libc_hidden_ver, remove use of INTUSE.
7515 * libio/genops.c: Likewise.
7516 * libio/freopen.c: Likewise.
7517 * libio/freopen64.c: Likewise.
7518 * libio/iofclose.c: Likewise.
7519 * libio/iofdopen.c: Likewise.
7520 * libio/iofflush.c: Likewise.
7521 * libio/iofflush_u.c: Likewise.
7522 * libio/iofgets.c: Likewise.
7523 * libio/iofgets_u.c: Likewise.
7524 * libio/iofopen.c: Likewise.
7525 * libio/iofopncook.c: Likewise.
7526 * libio/iofread.c: Likewise.
7527 * libio/iofread_u.c: Likewise.
7528 * libio/ioftell.c: Likewise.
7529 * libio/iofwrite.c: Likewise.
7530 * libio/iogetline.c: Likewise.
7531 * libio/iogets.c: Likewise.
7532 * libio/iogetwline.c: Likewise.
7533 * libio/iopadn.c: Likewise.
7534 * libio/iopopen.c: Likewise.
7535 * libio/ioseekoff.c: Likewise.
7536 * libio/ioseekpos.c: Likewise.
7537 * libio/iosetbuffer.c: Likewise.
7538 * libio/iosetvbuf.c: Likewise.
7539 * libio/ioungetc.c: Likewise.
7540 * libio/ioungetwc.c: Likewise.
7541 * libio/iovdprintf.c: Likewise.
7542 * libio/iovsprintf.c: Likewise.
7543 * libio/iovsscanf.c: Likewise.
7544 * libio/memstream.c: Likewise.
7545 * libio/obprintf.c: Likewise.
7546 * libio/oldfileops.c: Likewise.
7547 * libio/oldiofclose.c: Likewise.
7548 * libio/oldiofdopen.c: Likewise.
7549 * libio/oldiofopen.c: Likewise.
7550 * libio/oldiopopen.c: Likewise.
7551 * libio/oldstdfiles.c: Likewise.
7552 * libio/putc.c: Likewise.
7553 * libio/setbuf.c: Likewise.
7554 * libio/setlinebuf.c: Likewise.
7555 * libio/stdfiles.c: Likewise.
7556 * libio/strops.c: Likewise.
7557 * libio/vasprintf.c: Likewise.
7558 * libio/vscanf.c: Likewise.
7559 * libio/vsnprintf.c: Likewise.
7560 * libio/vswprintf.c: Likewise.
7561 * libio/wfiledoalloc.c: Likewise.
7562 * libio/wfileops.c: Likewise.
7563 * libio/wgenops.c: Likewise.
7564 * libio/wmemstream.c: Likewise.
7565 * libio/wstrops.c: Likewise.
7566 * libio/__fpurge.c: Likewise.
7567 * libio/__fsetlocking.c: Likewise.
7568 * assert/assert.c: Likewise.
7569 * debug/fgets_chk.c: Likewise.
7570 * debug/fgets_u_chk.c: Likewise.
7571 * debug/fread_chk.c: Likewise.
7572 * debug/fread_u_chk.c: Likewise.
7573 * debug/gets_chk.c: Likewise.
7574 * debug/obprintf_chk.c: Likewise.
7575 * debug/vasprintf_chk.c: Likewise.
7576 * debug/vdprintf_chk.c: Likewise.
7577 * debug/vsnprintf_chk.c: Likewise.
7578 * debug/vsprintf_chk.c: Likewise.
7579 * malloc/mtrace.c: Likewise.
7580 * misc/error.c: Likewise.
7581 * misc/syslog.c: Likewise.
7582 * stdio-common/asprintf.c: Likewise.
7583 * stdio-common/fxprintf.c: Likewise.
7584 * stdio-common/getw.c: Likewise.
7585 * stdio-common/isoc99_fscanf.c: Likewise.
7586 * stdio-common/isoc99_scanf.c: Likewise.
7587 * stdio-common/isoc99_vfscanf.c: Likewise.
7588 * stdio-common/isoc99_vscanf.c: Likewise.
7589 * stdio-common/isoc99_vsscanf.c: Likewise.
7590 * stdio-common/printf-prs.c: Likewise.
7591 * stdio-common/printf_fp.c: Likewise.
7592 * stdio-common/printf_fphex.c: Likewise.
7593 * stdio-common/printf_size.c: Likewise.
7594 * stdio-common/putw.c: Likewise.
7595 * stdio-common/scanf.c: Likewise.
7596 * stdio-common/sprintf.c: Likewise.
7597 * stdio-common/tmpfile.c: Likewise.
7598 * stdio-common/vfprintf.c: Likewise.
7599 * stdio-common/vfscanf.c: Likewise.
7600 * stdlib/strfmon_l.c: Likewise.
7601 * sunrpc/openchild.c: Likewise.
7602 * sunrpc/xdr_stdio.c: Likewise.
7603 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7604 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7606 2012-05-24 Roland McGrath <roland@hack.frob.com>
7608 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7610 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7611 in the third column, to generate for the shared library an IFUNC
7612 that uses _dl_vdso_vsym.
7613 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7614 * Makeconfig (object-suffixes-noshared): New variable.
7616 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7617 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7618 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7619 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7622 * include/sys/time.h (__gettimeofday): Remove macro.
7623 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7624 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7626 (__gettimeofday): Add libc_hidden_def.
7627 (gettimeofday): Add libc_hidden_weak.
7628 * sysdeps/mach/gettimeofday.c: Likewise.
7629 * sysdeps/posix/gettimeofday.c: Likewise.
7630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7631 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7633 (__gettimeofday_internal): Remove strong_alias.
7634 (__gettimeofday): Add libc_hidden_def.
7635 (gettimeofday): Add libc_hidden_weak.
7636 * sysdeps/unix/syscalls.list (gettimeofday):
7637 Remove __gettimeofday_internal alias.
7639 2012-05-24 Daniel Jacobowitz <drow@false.org>
7640 H.J. Lu <hongjiu.lu@intel.com>
7643 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7644 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7645 (largebin_index_32_big): New.
7646 (largebin_index): Use it for 16-byte alignment.
7647 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7648 correction with front_misalign.
7650 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7678 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7679 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7681 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7685 * math/libm-test.inc (exp_test): Add test from bug 14036.
7686 (pow_test): Add test from bug 10846.
7688 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7690 (special_function): Do not include flags in test name.
7691 (parse_args): Likewise.
7692 * sysdeps/i386/fpu/libm-test-ulps: Update.
7693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7694 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7695 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7698 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7700 * math/libm-test.inc ("Philosophy"): Update comment about
7702 (UNDERFLOW_EXCEPTION): New macro.
7703 (UNDERFLOW_EXCEPTION_OK): Likewise.
7704 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7705 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7706 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7707 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7708 (INVALID_EXCEPTION_OK): Update value.
7709 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7710 (OVERFLOW_EXCEPTION_OK): Likewise.
7711 (IGNORE_ZERO_INF_SIGN): Likewise.
7712 (test_exceptions): Handle underflow exceptions.
7713 (acos_test): Update for underflow exception expectations.
7714 (cexp_test): Likewise.
7715 (clog_test): Likewise.
7716 (clog10_test): Likewise.
7717 (csqrt_test): Likewise.
7718 (ctan_test): Likewise.
7719 (ctanh_test): Likewise.
7720 (exp_test): Likewise.
7721 (exp10_test): Likewise.
7722 (exp2_test): Likewise.
7723 (expm1_test): Likewise.
7724 (fma_test): Likewise.
7725 (j0_test): Likewise.
7726 (jn_test): Likewise.
7727 (nexttoward_test): Likewise.
7728 (pow_test): Likewise.
7729 (scalbn_test): Likewise.
7730 (scalbln_test): Likewise.
7731 (tan_test): Likewise.
7732 (y1_test): Likewise.
7733 * sysdeps/i386/fpu/libm-test-ulps: Update.
7734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7736 2012-05-23 David S. Miller <davem@davemloft.net>
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7739 (__libc_sigaction): Remove unused local variables.
7741 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7743 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7745 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7747 mktime: avoid signed integer overflow
7748 * time/mktime.c (__mktime_internal): Do not mishandle the case
7749 where diff == INT_MIN.
7751 mktime: simplify computation of average
7752 * time/mktime.c (ranged_convert): Use new time_t_avg function
7753 instead of rolling our own (probably-slower) code.
7755 mktime: do not assume signed right shift propagates sign bit
7756 * time/mktime.c (isdst_differ): New static function.
7757 (__mktime_internal): No need to normalize tm_isdst now.
7758 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7761 mktime: merge another wrapv change from gnulib
7762 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7763 from some compilers.
7765 mktime: remove incorrect attempt at unusual arithmetics
7766 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7767 The code didn't really work on such machines anyway.
7768 (TYPE_MINIMUM): Assume two's complement.
7769 (twos_complement_arithmetic): Verify that long_int and time_t
7770 are two's complement (or unsigned, in the latter case).
7772 mktime: check signed shifts on long_int and time_t, too
7773 * time/mktime.c (SHR): Check that shifts work as desired
7774 on the types long_int and time_t too, as SHR is used on
7777 mktime: do not assume 'long' is wide enough
7778 * time/mktime.c (verify): Move decl up.
7779 (long_int): New type.
7780 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7781 to remove assumption in the code that 'long' is wide enough to
7782 store year values. This assumption is not true on x32 and on
7783 some non-glibc platforms.
7785 mktime: merge wrapv change from gnulib
7786 * time/mktime.c (WRAPV): New macro.
7787 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7788 (guess_time_tm, __mktime_internal): Do not assume that signed
7789 integer overflow wraps around; modern compilers generate code
7790 where this assumption is no longer valid.
7792 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7794 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7795 Replace "jmp L(pseudo_end)" with "ret".
7796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7799 2012-05-23 Andreas Jaeger <aj@suse.de>
7801 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7802 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7804 2012-05-23 Andreas Jaeger <aj@suse.de>
7805 Maximilian Attems <max@stro.at>
7807 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7810 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7812 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7813 code so that pseudo_end is just ret and the stack pointer is
7814 correct also for static library in error case.
7816 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7818 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7819 move to syscalls.list.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7825 * manual/install.texi (Running make install): Do not mention Linux
7826 kernel version for which pt_chown is not needed.
7827 (Linux): Do not mention problems with nscd with 2.0 kernels.
7828 * INSTALL: Regenerated.
7830 2012-05-23 Andreas Jaeger <aj@suse.de>
7832 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7833 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7835 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7837 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7838 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7839 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7840 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7842 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7843 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7844 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7845 * sysdeps/unix/sysv/linux/bits/in.h
7846 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7848 2012-05-22 Roland McGrath <roland@hack.frob.com>
7850 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7851 (PREPARE_VERSION): Just use assert instead, it will be elided
7852 under [NDEBUG] anyway.
7854 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7856 * sysdeps/unix/sysv/linux/Makefile: Include
7857 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7858 (sysdep_routines): Remove sysctl.
7859 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7860 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7861 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7862 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7863 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7865 2012-05-22 Andreas Jaeger <aj@suse.de>
7867 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7868 that pseudo_end is just ret and the stack pointer is correct also
7869 for static library in error case.
7871 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7874 * nss/nsswitch.c (defconfig_entries): New variable.
7875 (__nss_database_lookup): Don't leak defconfig entries.
7876 (nss_parse_service_list): Don't leak on error paths.
7877 (free_database_entries): New function.
7878 (free_defconfig): New function.
7879 (free_mem): Move common code to free_database_entries.
7881 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7883 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7885 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7887 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7888 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7891 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7892 (INTERNAL_SYSCALL_TYPES): Likewise.
7893 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7894 (LOAD_REGS_TYPES_[1-6]): Likewise.
7895 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7896 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7898 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7901 copysignl for GLIBC_2_0.
7902 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7903 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7905 logbl for GLIBC_2_0.
7906 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7907 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7909 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7914 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7917 * time/mktime.c: Update copyright years.
7919 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7921 mktime: merge comment-quoting-style change from gnulib
7922 * time/mktime.c: Quote 'like this' in comments.
7923 The GNU coding standards suggest that we no longer quote `like this',
7924 as "`" and "'" are typically rendered asymmetrically nowadays.
7925 The typical gnulib style is to quote 'like this' when quoting
7926 code, and "like this" when quoting English.
7928 * time/mktime.c (compile-command): Add "-I.".
7930 mktime: merge mktime-internal.h change from gnulib
7931 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7933 mktime: merge time_r change from gnulib
7934 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7936 mktime: merge DEBUG change from gnulib
7937 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7938 case system <time.h> has a #define.
7940 mktime: merge <sys/types.h> change from gnulib
7941 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7942 since <time.t> is now guaranteed to define time_t.
7944 mktime: merge HAVE_CONFIG_H change from gnulib
7945 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7947 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7952 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7954 (struct rusage): Use anonymous union to pad each field to
7957 2012-05-21 David S. Miller <davem@davemloft.net>
7959 * Makefules (o-iterator): Remove .s cases.
7960 (compile-command.s): Delete.
7961 (COMPILE.s): Delete.
7962 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7964 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7966 * configure.in (libc_cv_predef_stack_protector): Only consider
7967 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7968 * configure: Regenerated.
7970 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7973 New macro. Use R*LP on int and pointer.
7974 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7975 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7976 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7977 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7979 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7980 [__WORDSIZE_TIME64_COMPAT32] instead of
7981 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7982 (struct utmp): Likewise.
7983 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7984 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7986 (__WORDSIZE_TIME64_COMPAT32): This.
7987 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7988 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7989 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7991 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7992 (__WORDSIZE_TIME64_COMPAT32): New macro.
7994 2012-05-21 Andreas Jaeger <aj@suse.de>
7996 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7997 only if [SHARED]. Add prototype for __wcschr_ia32.
7999 2012-05-21 Roland McGrath <roland@hack.frob.com>
8001 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8002 of %rbp unmolested in the jmp_buf while mangling the low bits.
8003 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8004 unmolested high bits of %rbp while demangling the low bits.
8005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8007 2012-05-21 Andreas Jaeger <aj@suse.de>
8009 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8010 * sunrpc/svc_simple.c: Use it for registerrpc.
8011 * sunrpc/xcrypt.c: Use it for passwd2des.
8013 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8015 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8017 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8018 Don't define if [__SYSCALL_WORDSIZE != 32].
8019 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8022 2012-05-21 Bruno Haible <bruno@clisp.org>
8023 Andreas Jaeger <aj@suse.de>
8025 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8026 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8027 inptr and inend for must_buffer_ch.
8028 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8029 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8030 * stdio-common/Makefile (tests): Remove bug15.
8031 (bug15-ENV): Remove macro.
8032 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8035 2012-05-19 Andreas Jaeger <aj@suse.de>
8036 Roland McGrath <roland@hack.frob.com>
8038 * manual/contrib.texi: Completely rewritten. It contains now an
8039 alphabetical list of contributors and their contributions.
8041 2012-05-21 Richard Henderson <rth@twiddle.net>
8043 * misc/getauxval.c (__getauxval): Use unsigned long int.
8044 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8045 (getauxval): Use unsigned long int.
8047 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8049 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8051 2012-05-21 Roland McGrath <roland@hack.frob.com>
8053 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8054 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8055 __alignof__ (long double).
8057 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8061 2012-05-20 Richard Henderson <rth@twiddle.net>
8063 * misc/getauxval.c: New file.
8064 * misc/sys/auxv.h: New file.
8065 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8066 (routines): Add getauxval.
8067 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8068 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8069 * elf/dl-sysdep.c (_dl_auxv): Remove.
8070 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8071 * elf/dl-support.c (_dl_auxv): New variable.
8072 (_dl_aux_init): Initialize it.
8073 * manual/startup.texi (Auxiliary Vector): New node.
8074 * sysdeps/generic/bits/hwcap.h: New file.
8075 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8076 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8077 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8078 * sysdeps/sparc/sysdep.h: ... here. Include it.
8079 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8092 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8096 2012-05-19 David S. Miller <davem@davemloft.net>
8098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8100 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8103 * math/s_ccosh.c: Include <float.h>
8104 (__ccosh): Avoid internal overflow calculating sinh and cosh
8105 values before multiplying by sin and cos values.
8106 * math/s_ccoshf.c: Likewise.
8107 * math/s_ccoshl.c: Likewise.
8108 * math/s_csin.c: Likewise.
8109 * math/s_csinf.c: Likewise.
8110 * math/s_csinl.c: Likewise.
8111 * math/s_csinh.c: Likewise.
8112 * math/s_csinhf.c: Likewise.
8113 * math/s_csinhl.c: Likewise.
8114 * math/libm-test.inc (ccos_test): Add more tests.
8115 (ccosh_test): Likewise.
8116 (csin_test): Likewise.
8117 (csinh_test): Likewise.
8118 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8121 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8123 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8124 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8126 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8128 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8130 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8131 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8132 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8133 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8134 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8135 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8136 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8137 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8138 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8139 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8140 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8141 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8142 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8143 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8144 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8145 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8146 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8147 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8148 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8149 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8150 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8151 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8152 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8153 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8154 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8155 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8156 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8157 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8158 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8159 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8160 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8162 2012-05-18 Andreas Jaeger <aj@suse.de>
8164 * csu/.gitignore: Delete.
8166 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8168 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8169 (timex): Use __syscall_slong_t.
8171 2012-05-18 Andreas Jaeger <aj@suse.de>
8172 Carlos O'Donell <carlos_odonell@mentor.com>
8174 * manual/install.texi (Configuring and compiling): Update
8175 description about files modified in the source directory.
8176 * INSTALL: Regenerated.
8178 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8180 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8181 value. Use "or" to set return value to -1.
8182 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8183 negate return value.
8185 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8187 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8188 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8189 failure if the compiler has Graphite support disabled.
8190 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8192 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8193 CFLAGS-memmove.c): Likewise.
8194 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8197 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8199 * sysdeps/x86_64/x32/_itoa.h: New file.
8201 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8202 getdents system call only if kernel and user dirents have the
8203 same d_ino and d_off.
8205 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8206 LLONG_MAX != LONG_MAX.
8207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8208 (_fitoa_word): Likewise.
8210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8213 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8214 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8216 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8217 include <bits/wordsize.h>. Check __x86_64__ instead of
8219 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8220 if __x86_64__ is defined. Use anonymous union on fpstate.
8222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8225 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8227 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8228 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8229 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8230 Refer to _rtld_local_ro instead of _rtld_global_ro.
8231 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8233 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8235 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8237 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8238 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8239 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8241 * sysdeps/powerpc/powerpc32/dl-machine.c
8242 (__elf_machine_runtime_setup) [PROF]: Don't reference
8245 2012-05-18 Andreas Jaeger <aj@suse.de>
8247 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8248 function only available for GCCs before 3.4 since GCC 3.4
8249 introduced a builtin.
8251 (llrintf): Likewise.
8259 (nearbyint): Likewise.
8260 (nearbyintf): Likewise.
8266 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8268 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8269 on both fields and cast pointer to __syscall_ulong_t.
8271 * bits/types.h (__fsword_t): New type.
8272 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8273 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8275 (__FSWORD_T_TYPE): Likewise.
8276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8277 (__FSWORD_T_TYPE): Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8279 (__FSWORD_T_TYPE): Likewise.
8280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8281 (__FSWORD_T_TYPE): Likewise.
8282 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8283 __SWORD_TYPE with __fsword_t.
8284 (statfs64): Likewise.
8286 2012-05-17 David S. Miller <davem@davemloft.net>
8288 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8290 2012-05-17 Andreas Jaeger <aj@suse.de>
8292 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8295 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8297 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8299 2012-05-17 Andreas Jaeger <aj@suse.de>
8301 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8304 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8306 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8308 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8310 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8311 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8313 2012-05-17 Andreas Jaeger <aj@suse.de>
8314 Carlos O'Donell <carlos_odonell@mentor.com>
8317 * sysdeps/x86_64/multiarch/init-arch.h
8318 (bit_YMM_Usable): Rename to...
8319 (bit_AVX_Usable): ... this.
8320 (bit_FMA4_Usable): New macro.
8321 (bit_XMM_state): New macro.
8322 (bit_YMM_state): New macro.
8323 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8324 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8325 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8326 (CPUID_OSXSAVE): New macro.
8327 (CPUID_AVX): New macro.
8328 (CPUID_FMA4): New macro.
8329 (index_YMM_Usable): Rename to...
8330 (index_AVX_Usable): ... this.
8331 (HAS_AVX): Use HAS_ARCH_FEATURE.
8332 (HAS_FMA4): Likewise.
8333 (HAS_YMM_USABLE): Remove.
8334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8335 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8337 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8338 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8339 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8340 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8341 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8343 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8345 * math/libm-test.c: Support platforms without multiple rounding modes.
8346 * math/bug-nextafter.c: Support platforms without FP exceptions.
8347 * math/bug-nexttoward.c: Likewise.
8348 * math/test-fenv.c: Likewise.
8349 * math/test-misc.c: Likewise.
8350 * stdlib/bug-getcontext.c: Likewise.
8352 2012-05-17 Andreas Jaeger <aj@suse.de>
8354 * manual/examples/search.c (critter_cmp): Change signature to
8356 * manual/string.texi (Collation Functions): Likewise.
8358 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8360 * bits/types.h: Fold copyright years.
8361 * bits/typesizes.h: Likewise.
8362 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8366 * time/time.h: Likewise.
8368 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8371 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8372 in instead of returning them. Return void.
8373 (__libc_mallinfo): Accumulate over all arenas.
8374 (__malloc_stats): Adjust for change in int_mallinfo interface.
8376 2012-05-16 Roland McGrath <roland@hack.frob.com>
8379 * configure.in (NM): Add AC_CHECK_TOOL for it.
8380 (libc_extra_cflags): New substituted variable.
8381 Check for -fstack-protector being used implicitly.
8382 * configure: Regenerated.
8383 * config.make.in (config-extra-cflags): New variable,
8384 gets @libc_extra_cflags@.
8385 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8388 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8389 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8390 * configure: Regenerated.
8391 * config.make.in (CPPUNDEFS): New substituted variable.
8392 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8393 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8394 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8396 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8398 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8399 (mq_attr): Use __syscall_slong_t.
8401 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8403 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8404 Check __x86_64__ instead of __WORDSIZE.
8405 (_STAT_VER_LINUX): Likewise.
8406 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8407 __syscall_ulong_t and __syscall_slong_t.
8410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8412 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8414 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8416 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8418 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8420 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8423 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8424 include <bits/wordsize.h>. Check __x86_64__ instead of
8426 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8428 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8431 include <bits/wordsize.h>. Check __x86_64__ instead of
8433 (user_regs_struct): Use "__extension__ unsigned long long"
8434 instead of "unsigned long" if __x86_64__ is defined.
8435 (user): Likewise. Pad after pointer field if __ILP32__ is
8438 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8440 * configure.in (makeinfo): Require version 4.5 or later. Allow
8442 * configure: Regenerated.
8443 * manual/install.texi (texinfo): Increase version requirement to
8445 * INSTALL: Regenerated.
8447 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8451 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8453 * sysdeps/x86_64/x32/ffs.c: New file.
8455 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8457 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8458 defined. Use __syscall_ulong_t.
8459 (shminfo): Use __syscall_ulong_t.
8460 (shm_info): Likewise.
8462 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8465 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8467 (msgqnum_t): Use __syscall_ulong_t.
8468 (msglen_t): Likewise.
8469 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8472 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8473 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8475 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8477 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8478 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8480 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8483 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8484 include <bits/wordsize.h>. Check __x86_64__ instead of
8487 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8488 "unsigned long long int" if __x86_64__ is defined.
8489 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8493 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8495 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8497 (GET_PC): Cast to uintptr_t first.
8498 (GET_FRAME): Likewise.
8499 (GET_STACK): Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8503 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8505 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8506 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8507 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8516 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8517 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8523 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8524 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8525 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8526 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8527 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8528 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8531 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8533 * Makerules (+depfiles): Also collect depfiles from .oS in
8535 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8536 .oS, $(libnldbl-routines)).
8538 * Makerules (native-compile-mkdep-flags): Define.
8539 * sunrpc/Makefile (extra-objs): Add $(addprefix
8540 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8541 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8542 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8543 calling $(make-target-directory).
8545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8547 * bits/types.h (__snseconds_t): Removed.
8548 * time/time.h (struct timespec): Replace __snseconds_t with
8550 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8551 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8554 (__SNSECONDS_T_TYPE): Likewise.
8555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8556 (__SNSECONDS_T_TYPE): Likewise.
8557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8558 (__SNSECONDS_T_TYPE): Likewise.
8560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8562 * sysdeps/mach/hurd/bits/typesizes.h
8563 (__SYSCALL_SLONG_TYPE): New macro.
8564 (__SYSCALL_ULONG_TYPE): Likewise.
8566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8568 * bits/types.h (__syscall_slong_t): New type.
8569 (__syscall_ulong_t): Likewise.
8571 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8572 (__SYSCALL_ULONG_TYPE): Likewise.
8573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8574 (__SYSCALL_SLONG_TYPE): Likewise.
8575 (__SYSCALL_ULONG_TYPE): Likewise.
8576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8577 (__SYSCALL_SLONG_TYPE): Likewise.
8578 (__SYSCALL_ULONG_TYPE): Likewise.
8579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8580 (__SYSCALL_SLONG_TYPE): Likewise.
8581 (__SYSCALL_ULONG_TYPE): Likewise.
8583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8585 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8586 Add sigaltstack-offsets.sym.
8587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8588 <sigaltstack-offsets.h>.
8589 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8590 longjmp_msg pointer.
8591 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8592 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8594 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8596 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8598 * elf/stackguard-macros.h: Remove file.
8599 * sysdeps/generic/stackguard-macros.h: New file.
8600 * sysdeps/i386/stackguard-macros.h: Likewise.
8601 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8602 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8603 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8604 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8605 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8606 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8607 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8608 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8609 <elf/stackguard-macros.h>.
8612 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8613 __aligned__ in attribute.
8614 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8615 (gregset_t): Likewise.
8617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8619 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8620 * sysdeps/x86_64/64/Implies-after: Here. New file.
8621 * sysdeps/x86_64/x32/Implies-after: New file.
8623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8625 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8626 and access return value for _dl_profile_fixup. Use R10_LP to
8629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8631 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8635 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8636 * sysdeps/x86_64/x32/sysdep.h: New file.
8638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8640 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8641 * sysdeps/x86_64/setjmp.S: Likewise.
8643 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8645 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8647 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8648 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8649 remove unused global constant.
8651 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8653 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8654 include of <not-cancel.h>.
8656 2012-05-15 Roland McGrath <roland@hack.frob.com>
8658 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8660 2012-05-15 Jeff Law <law@redhat.com>
8661 Andreas Jaeger <aj@suse.de>
8664 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8666 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8667 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8669 code changing __hst_map_handle.map.
8671 2012-05-15 Roland McGrath <roland@hack.frob.com>
8673 * configure.in (sysnames): Look for Implies-before and Implies-after
8675 * configure: Regenerated.
8677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8679 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8680 8-byte data alignment with LP_SIZE alignment.
8682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8684 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8689 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8693 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8694 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8695 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8701 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8702 (stackinfo_sub_sp): Likewise.
8704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8721 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8725 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8726 into R11_LP and load __x86_64_shared_cache_size_half into
8729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8734 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8740 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8742 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8743 powerpc32/power7/fpu/s_logb.c via #include.
8744 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8745 powerpc32/power7/fpu/s_logbf.c via #include.
8746 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8747 powerpc32/power7/fpu/s_logbl.c via #include.
8749 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8751 * README.libm: Remove file.
8753 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8755 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8756 count for x32. Use R*_LP and omit operand-size suffix.
8758 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8760 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8761 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8762 * sysdeps/x86_64/x32/shlib-versions: New file.
8764 2012-05-14 Roland McGrath <roland@hack.frob.com>
8766 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8767 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8768 Use _dl_fatal_printf instead.
8770 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8772 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8773 set if not set by the user. Do not allow for being unset.
8774 * sysdeps/unix/sysv/linux/configure: Regenerated.
8776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8778 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8779 the `q' suffix from lea and replace .quad with ASM_ADDR.
8781 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8783 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8784 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8786 (PTR_DEMANGLE): Likewise.
8788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8790 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8792 (ASM_ADDR): Likewise.
8810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8812 * sysdeps/x86_64/x32/dl-machine.h: New file.
8814 2012-05-14 Andreas Jaeger <aj@suse.de>
8816 * manual/Makefile (subdir): Remove export of subdir.
8817 (all): Remove target.
8818 (.PHONY): Remove all from list.
8819 (mkinstalldirs): Remove.
8820 (.PHONY): Remove installdirs from list.
8821 ($(inst_infodir)/libc.info): Use make-target-directory.
8822 (installdirs): Remove.
8824 (glibc-targets): Remove.
8827 ($(objpfx)stubs ../po/manual.pot): Remove.
8828 ($(objpfx)stamp%): Remove.
8829 (make-target-directory): Remove.
8830 (subdir_install): Remove.
8838 * manual/.gitignore: Remove, it's not needed anymore.
8839 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8841 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8843 (texis): Renamed to $(objpfx)texis.
8844 (texis-path): New, contains path to generated files.
8845 (chapters.%): Use texis-path for complete path, add extra argument
8847 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8848 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8849 (summary,texi, stamp-summary): Use complete path of
8850 files. Generate files in build dir.
8851 (dir-add.texi): Build in build dir.
8852 (libm-err.texi,stamp-libm-err): Likewise.
8853 (version.texi, stamp-version): Likewise.
8854 (.%c.texi): Likewise.
8855 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8856 (mostlyclean): Remove target.
8857 (realclean): Remove target.
8858 (generated): Add new variable with contents from mostlyclean and
8859 realclean, remove entries duplicated in common-mostlyclean, add
8860 stamp-libm-err and stamp-version.
8861 (generated-dirs): Add libc directory.
8862 ($(inst_infodir)/libc.info): Install files from build dir.
8864 * manual/install.texi (Configuring and compiling): Adjust since
8865 the info files are not part of the tar ball anymore.
8867 2012-05-14 Andreas Jaeger <aj@suse.de>
8869 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8872 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8876 to 2.2.0 where earlier.
8877 * sysdeps/unix/sysv/linux/configure: Regenerated.
8878 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8879 Remove conditional code.
8880 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8881 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8882 Remove conditional code.
8883 [!__NR_lchown]: Likewise.
8884 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8885 [__NR_lchown]: Likewise.
8886 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8887 comment referencing __ASSUME_LCHOWN_SYSCALL.
8888 * sysdeps/unix/sysv/linux/i386/sigaction.c
8889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8891 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8892 Remove conditional code.
8893 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8894 (__protocol_available): Remove #if 0 code.
8895 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8897 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8898 * sysdeps/unix/sysv/linux/kernel-features.h
8899 (__ASSUME_GETCWD_SYSCALL): Don't define.
8900 (__ASSUME_REALTIME_SIGNALS): Likewise.
8901 (__ASSUME_PREAD_SYSCALL): Likewise.
8902 (__ASSUME_PWRITE_SYSCALL): Likewise.
8903 (__ASSUME_POLL_SYSCALL): Likewise.
8904 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8905 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8907 (__ASSUME_SIOCGIFNAME): Don't define.
8908 (__ASSUME_MSG_NOSIGNAL): Likewise.
8909 (__ASSUME_SENDFILE): Define unconditionally.
8910 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8911 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8913 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8914 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8915 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8916 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8917 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8918 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8919 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8924 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8930 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8933 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8936 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8944 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8945 Remove conditional code.
8946 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8947 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8948 Remove conditional code.
8949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8950 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8951 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8952 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8953 Remove conditional code.
8954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8955 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8956 Remove conditional code.
8957 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8958 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8959 Remove conditional code.
8960 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8961 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8962 Remove conditional code.
8963 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8964 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8965 Remove conditional code.
8966 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8967 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8968 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8970 * sysdeps/unix/sysv/linux/sigaction.c
8971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8973 * sysdeps/unix/sysv/linux/sigpending.c
8974 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8975 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8976 * sysdeps/unix/sysv/linux/sigprocmask.c
8977 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8978 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8979 * sysdeps/unix/sysv/linux/sigsuspend.c
8980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8983 (__libc_missing_rt_sigs): Remove.
8984 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8985 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8986 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8987 Remove conditional code.
8988 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8989 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8992 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8994 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8996 2012-05-14 Andreas Jaeger <aj@suse.de>
8998 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8999 it's not used in glibc.
9000 (__coshm1): Likewise.
9001 (__acosh1p): Likewise.
9004 * manual/string.texi (Copying and Concatenation): Add missing
9005 variable in concat example.
9006 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9008 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9012 __builtin_clzl with __builtin_clzll.
9014 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9017 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9020 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9022 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9023 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9024 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9025 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9027 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9029 * NEWS: Update ia64 info.
9031 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9033 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9036 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9038 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9039 * sysdeps/unix/syscalls.list (dup3): Likewise.
9040 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9041 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9043 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9045 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9046 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9048 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9050 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9052 (TLS_IE): Use mov/add instead of movq/addq to load thread
9054 (TLS_GD_PREFIX): New.
9057 2012-05-11 David S. Miller <davem@davemloft.net>
9059 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9060 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9061 (_FPU_SETCW): Likewise.
9063 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9065 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9068 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9071 * iconvdata/gb18030.c: Update tables.
9072 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9073 characters specially.
9074 (BODY for TO_LOOP): Add encoding of missing ranges.
9076 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9079 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9080 * sysdeps/mach/hurd/dup3.c: Likewise.
9081 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9082 * sysdeps/powerpc/memmove.c:: Likewise.
9084 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9087 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9089 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9091 * elf/elf.h (R_X86_64_RELATIVE64): New.
9092 (R_X86_64_NUM): Updated.
9093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9094 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9095 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9096 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9097 tst-quad1pie tst-quad2pie
9098 (modules-names): Add tst-quadmod1 tst-quadmod2.
9099 ($(objpfx)tst-quad1): New dependency.
9100 ($(objpfx)tst-quad2): Likewise.
9101 ($(objpfx)tst-quad1pie): Likewise.
9102 ($(objpfx)tst-quad2pie): Likewise.
9103 * sysdeps/x86_64/tst-quad1.c: New file.
9104 * sysdeps/x86_64/tst-quad1pie.c: New file.
9105 * sysdeps/x86_64/tst-quad2.c: Likewise.
9106 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9107 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9108 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9109 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9110 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9114 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9115 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9116 * streams/stropts.h (t_scalar_t): Define type.
9118 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9119 (_PATH_PRESERVE): Set to "/var/lib".
9120 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9122 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9125 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9126 if __dir_mkfile succeeded.
9128 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9129 checking for _hurd_dtablesize. Unlock it right after having
9130 finished _hurd_dtable allocation.
9132 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9134 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9135 * sysdeps/mach/hurd/configure: Regenerated.
9136 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9137 special-casing to...
9138 * sysdeps/gnu/configure.in: ... this new file.
9139 * sysdeps/unix/sysv/linux/configure: Regenerated.
9140 * sysdeps/gnu/configure: New generated file.
9142 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9143 for Linux: use nsec instead of usec, as well as:
9144 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9145 members of type struct timespec.
9146 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9148 (struct stat64): Likewise.
9149 (_STATBUF_ST_NSEC): New macro.
9150 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9152 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9153 __strtoul_internal rather than strtoul.
9155 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9157 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9162 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9163 which preserves existing values.
9164 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9166 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9168 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9169 TIMEOUT values. Return EINVAL for NFDS values either negative or
9170 greater than FD_SETSIZE.
9172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9174 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9175 allocated, call __vm_protect to finish enabling the existing space, and
9176 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9177 allocate the remainder.
9179 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9181 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9182 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9186 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9187 sysdeps/mach/hurd/readlink.c.
9189 * posix/tst-sysconf.c (posix_options): Only use
9190 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9191 _POSIX_SYNCHRONIZED_IO when they are defined
9192 * sysdeps/mach/hurd/bits/posix_opt.h:
9193 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9194 (_XOPEN_REALTIME): Undefine macro.
9195 (_XOPEN_REALTIME_THREADS): Undefine macro.
9196 (_XOPEN_SHM): Undefine macro.
9197 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9199 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9201 (_POSIX_ASYNC_IO): Undefine macro.
9202 (_POSIX_PRIORITIZED_IO): Undefine macro.
9203 (_POSIX_SPIN_LOCKS): Define macro to -1.
9205 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9206 SA_NODEFER, SA_RESETHAND.
9207 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9208 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9213 * elf/Makefile (pldd-modules): Define unconditionally.
9215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9217 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9221 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9222 Return ENOENT when name is empty.
9223 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9227 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9229 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9233 Fix mlock in all cases except non-readable pages.
9234 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9235 instead of VM_PROT_ALL as parameter to __vm_wire function.
9237 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9238 (__mkdir): When path is `/', just fail with EEXIST.
9239 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9241 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9243 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9244 <sys/uio.h> (for writev).
9245 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9246 and <sys/param.h> (for MIN).
9248 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9250 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9251 REQUESTED_TIME. Properly set the remaining time and return EINTR
9254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9256 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9257 Depend on against $(link-rpcuserlibs).
9259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9261 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9262 (__libc_stack_end): Do not use attribute_relro.
9263 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9264 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9265 to libthread-provided value.
9266 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9272 * bits/libc-lock.h (__libc_once_get): New macro.
9273 * sysdeps/mach/bits/libc-lock.h: Likewise.
9274 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9276 instead of using implementation details.
9278 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9279 * libio/freopen.c: Likewise.
9280 * libio/freopen64.c: Likewise.
9281 * misc/syslog.c: Likewise.
9282 * nscd/connections.c: Likewise.
9283 * nscd/netgroupcache.c: Likewise.
9284 * sysdeps/posix/getcwd.c: Likewise.
9286 2012-05-10 Roland McGrath <roland@hack.frob.com>
9288 * math/w_ilogbf.c: Add #include <limits.h>.
9290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9292 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9293 path instead of returning without unlocking.
9295 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9296 immediate-write ioctls.
9297 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9301 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9302 __builtin_frame_address instead of making assumptions about the
9303 location of the return address relative to DATA. Force early load of
9305 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9306 __builtin_frame_address.
9309 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9310 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9311 implement dup3 and do some further code clean-ups.
9312 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9315 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9317 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9319 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9320 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9321 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9322 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9323 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9326 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9327 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9328 when handler == SIG_ERR, not when handler != SIG_ERR.
9330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9332 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9333 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9336 accept4 for GNU Hurd.
9337 * include/sys/socket.h (__libc_accept4): New prototype.
9338 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9339 to implement __libc_accept4.
9340 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9342 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9344 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9345 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9346 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9351 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9353 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9355 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9356 assertion on O_CLOEXEC flag.
9357 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9358 * hurd/intern-fd.c: Likewise.
9359 * hurd/port2fd.c: Likewise.
9361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9364 * bits/in.h (IPV6_PKTINFO): Define new macro.
9365 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9367 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9372 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9373 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9374 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9375 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9377 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9378 * math/libm-test.inc (logb_test) : Additional logb tests.
9380 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9381 Andreas Jaeger <aj@suse.de>
9383 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9384 * configure: Regenerated.
9385 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9386 * config.make.in (link-obsolete-rpc): New substituted variable.
9387 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9388 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9389 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9390 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9391 so that libc.a contains the symbols.
9392 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9393 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9394 * sunrpc/auth_none.c: Likewise.
9395 * sunrpc/auth_unix.c: Likewise.
9396 * sunrpc/authdes_prot.c: Likewise.
9397 * sunrpc/authuxprot.c: Likewise.
9398 * sunrpc/clnt_gen.c: Likewise.
9399 * sunrpc/clnt_perr.c: Likewise.
9400 * sunrpc/clnt_raw.c: Likewise.
9401 * sunrpc/clnt_simp.c: Likewise.
9402 * sunrpc/clnt_tcp.c: Likewise.
9403 * sunrpc/clnt_udp.c: Likewise.
9404 * sunrpc/clnt_unix.c: Likewise.
9405 * sunrpc/des_crypt.c: Likewise.
9406 * sunrpc/des_soft.c: Likewise.
9407 * sunrpc/get_myaddr.c: Likewise.
9408 * sunrpc/key_call.c: Likewise.
9409 * sunrpc/key_prot.c: Likewise.
9410 * sunrpc/netname.c: Likewise.
9411 * sunrpc/pm_getmaps.c: Likewise.
9412 * sunrpc/pm_getport.c: Likewise.
9413 * sunrpc/pmap_clnt.c: Likewise.
9414 * sunrpc/pmap_prot.c: Likewise.
9415 * sunrpc/pmap_prot2.c: Likewise.
9416 * sunrpc/pmap_rmt.c: Likewise.
9417 * sunrpc/publickey.c: Likewise.
9418 * sunrpc/rpc_cmsg.c: Likewise.
9419 * sunrpc/rpc_common.c: Likewise.
9420 * sunrpc/rpc_dtable.c: Likewise.
9421 * sunrpc/rpc_prot.c: Likewise.
9422 * sunrpc/rpc_thread.c: Likewise.
9423 * sunrpc/rtime.c: Likewise.
9424 * sunrpc/svc.c: Likewise.
9425 * sunrpc/svc_auth.c: Likewise.
9426 * sunrpc/svc_raw.c: Likewise.
9427 * sunrpc/svc_run.c: Likewise.
9428 * sunrpc/svc_tcp.c: Likewise.
9429 * sunrpc/svc_udp.c: Likewise.
9430 * sunrpc/svc_unix.c: Likewise.
9431 * sunrpc/svcauth_des.c: Likewise.
9432 * sunrpc/xcrypt.c: Likewise.
9433 * sunrpc/xdr.c: Likewise.
9434 * sunrpc/xdr_array.c: Likewise.
9435 * sunrpc/xdr_float.c: Likewise.
9436 * sunrpc/xdr_intXX_t.c: Likewise.
9437 * sunrpc/xdr_mem.c: Likewise.
9438 * sunrpc/xdr_rec.c: Likewise.
9439 * sunrpc/xdr_ref.c: Likewise.
9440 * sunrpc/xdr_sizeof.c: Likewise.
9441 * sunrpc/xdr_stdio.c: Likewise.
9443 2012-05-10 Roland McGrath <roland@hack.frob.com>
9445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9446 change. Update copyright years.
9448 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9450 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9452 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9453 Joseph Myers <joseph@codesourcery.com>
9454 Paul Pluzhnikov <ppluzhnikov@google.com>
9457 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9459 [cross-compiling] (extra-libs): Likewise.
9460 [cross-compiling] (extra-libs-others): Likewise.
9461 [cross-compiling] (librpcsvc-routines): Likewise.
9462 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9463 [cross-compiling] (omit-deps): Likewise.
9464 (sunrpc-CPPFLAGS): New variable.
9465 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9466 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9467 (cross-rpcgen-objs): New variable.
9468 (extra-objs): Append $(cross-rpcgen-objs).
9469 ($(cross-rpcgen-objs)): New rule.
9470 ($(objpfx)cross-rpcgen): Likewise.
9471 (rpcgen-cmd): Define to use $(built-program-file). Expand
9473 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9474 ($(objpfx)x%.stmp): Likewise.
9475 * sunrpc/proto.h [IS_IN_build] (_): Define.
9476 [IS_IN_build] (_libc_intl_domainname): Likewise.
9478 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9481 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9482 and R_X86_64_TPOFF64.
9484 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9486 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9487 sysdeps/unix/sysv/syscalls.list.
9490 * sysdeps/unix/sysv/syscalls.list: Remove file.
9492 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9495 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9496 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9497 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9498 (__LC_IDENTIFICATION): Make these macros useful in #if
9499 expressions, as required by C99.
9501 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9503 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9504 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9507 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9509 * stdlib/longlong.h: Updated from GCC.
9511 2012-05-09 Andreas Jaeger <aj@suse.de>
9513 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9514 default is first entry.
9515 (run_mode): Set type.
9516 (main): Remove informal message about syslog.
9517 (options): Fix typo.
9520 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9523 (llrintf): Likewise.
9527 (nearbyint): Likewise.
9528 (nearbyintf): Likewise.
9530 2012-05-09 Andreas Jaeger <aj@suse.de>
9531 Pedro Alves <palves@redhat.com>
9533 * nscd/nscd.c (run_mode): Use enum.
9534 (main): Cleanup coding style issue.
9536 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9537 Andreas Jaeger <aj@suse.de>
9539 * nscd/nscd.c (go_background): Replaced with...
9540 (run_mode): ... this.
9541 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9542 (options): Add -F --foreground.
9543 (main): Implement it.
9544 (parse_opt): Parse it.
9546 2012-05-09 Andreas Jaeger <aj@suse.de>
9549 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9550 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9551 -Wconversion warning.
9552 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9555 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9557 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9559 (LC_ALL): Use macro-int-constant.
9560 (LC_COLLATE): Likewise.
9561 (LC_CTYPE): Likewise.
9562 (LC_MESSAGES): Likewise.
9563 (LC_MONETARY): Likewise.
9564 (LC_NUMERIC): Likewise.
9565 (LC_TIME): Likewise.
9566 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9567 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9569 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9571 [C99-based standards] (float_t): Expect type.
9572 [C99-based standards] (double_t): Expect type.
9573 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9575 [C99-based standards] (HUGE_VALL): Likewise.
9576 [C99-based standards] (INFINITY): Likewise.
9577 [C99-based standards] (NAN): Likewise.
9578 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9579 [C99-based standards] (FP_NAN): Likewise.
9580 [C99-based standards] (FP_NORMAL): Likewise.
9581 [C99-based standards] (FP_SUBNORMAL): Likewise.
9582 [C99-based standards] (FP_ZERO): Likewise.
9583 [C99-based standards] (FP_FAST_FMA): Use
9584 optional-macro-int-constant. Specify type. Require == 1.
9585 [C99-based standards] (FP_FAST_FMAF): Likewise.
9586 [C99-based standards] (FP_FAST_FMAL): Likewise.
9587 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9588 [C99-based standards] (FP_ILOGBNAN): Likewise.
9589 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9591 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9592 [C99-based standards] (math_errhandling): Specify type.
9593 [ISO99 || ISO11] (signgam): Do not allow.
9594 [non-C99-based standards] (copysignf): Do not allow.
9595 [non-C99-based standards] (exp2f): Likewise.
9596 [non-C99-based standards] (log2f): Likewise.
9597 [non-C99-based standards] (modff): Allow.
9598 [non-C99-based standards] (erff): Do not allow.
9599 [non-C99-based standards] (erfcf): Likewise.
9600 [non-C99-based standards] (gammaf): Likewise.
9601 [non-C99-based standards] (hypotf): Likewise.
9602 [non-C99-based standards] (j0f): Likewise.
9603 [non-C99-based standards] (j1f): Likewise.
9604 [non-C99-based standards] (jnf): Likewise.
9605 [non-C99-based standards] (lgammaf): Likewise.
9606 [non-C99-based standards] (tgammaf): Likewise.
9607 [non-C99-based standards] (y0f): Likewise.
9608 [non-C99-based standards] (y1f): Likewise.
9609 [non-C99-based standards] (ynf): Likewise.
9610 [non-C99-based standards] (isnanf): Likewise.
9611 [non-C99-based standards] (acoshf): Likewise.
9612 [non-C99-based standards] (asinhf): Likewise.
9613 [non-C99-based standards] (atanhf): Likewise.
9614 [non-C99-based standards] (cbrtf): Likewise.
9615 [non-C99-based standards] (expm1f): Likewise.
9616 [non-C99-based standards] (ilogbf): Likewise.
9617 [non-C99-based standards] (log1pf): Likewise.
9618 [non-C99-based standards] (logbf): Likewise.
9619 [non-C99-based standards] (nextafterf): Likewise.
9620 [non-C99-based standards] (remainderf): Likewise.
9621 [non-C99-based standards] (rintf): Likewise.
9622 [non-C99-based standards] (scalbf): Likewise.
9623 [non-C99-based standards] (copysignl): Likewise.
9624 [non-C99-based standards] (exp2l): Likewise.
9625 [non-C99-based standards] (log2l): Likewise.
9626 [non-C99-based standards] (modfl): Allow.
9627 [non-C99-based standards] (erfl): Do not allow.
9628 [non-C99-based standards] (erfcl): Likewise.
9629 [non-C99-based standards] (gammal): Likewise.
9630 [non-C99-based standards] (hypotl): Likewise.
9631 [non-C99-based standards] (j0l): Likewise.
9632 [non-C99-based standards] (j1l): Likewise.
9633 [non-C99-based standards] (jnl): Likewise.
9634 [non-C99-based standards] (lgammal): Likewise.
9635 [non-C99-based standards] (tgammal): Likewise.
9636 [non-C99-based standards] (y0l): Likewise.
9637 [non-C99-based standards] (y1l): Likewise.
9638 [non-C99-based standards] (ynl): Likewise.
9639 [non-C99-based standards] (isnanl): Likewise.
9640 [non-C99-based standards] (acoshl): Likewise.
9641 [non-C99-based standards] (asinhl): Likewise.
9642 [non-C99-based standards] (atanhl): Likewise.
9643 [non-C99-based standards] (cbrtl): Likewise.
9644 [non-C99-based standards] (expm1l): Likewise.
9645 [non-C99-based standards] (ilogbl): Likewise.
9646 [non-C99-based standards] (log1pl): Likewise.
9647 [non-C99-based standards] (logbl): Likewise.
9648 [non-C99-based standards] (nextafterl): Likewise.
9649 [non-C99-based standards] (remainderl): Likewise.
9650 [non-C99-based standards] (rintl): Likewise.
9651 [non-C99-based standards] (scalbl): Likewise.
9652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9653 [non-C99-based standards] (FP_*): Do not allow.
9654 [C99-based standards] (FP_*): Change to
9655 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9656 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9658 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9659 (SIG_ERR): Likewise.
9660 [X/Open-based standards] (SIG_HOLD): Likewise.
9661 (SIG_IGN): Likewise.
9662 (SIGABRT): Use macro-int-constant. Specify type. Require
9667 (SIGSEGV): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9672 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9677 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9685 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9687 [X/Open-based standards] (SIGTRAP): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9692 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9695 2012-05-08 Ian Wienand <ianw@vmware.com>
9698 * time/tzset.c (__tzset_parse_tz): Update default rules for
9699 daylight time changes in the Energy Policy Act of 2005.
9701 2012-05-09 Andreas Jaeger <aj@suse.de>
9704 * elf/ldconfig.c (parse_conf): Change string to make clear that
9705 ldconfig only issued a warning if ld.so.conf does not exist.
9707 2012-05-08 David S. Miller <davem@davemloft.net>
9709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9710 movxtod instead of popping the value on the stack.
9712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9714 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9716 * config.h.in: Add HAVE_ARM_PCS_VFP.
9718 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9721 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9722 checking but the checks are disabled for any reason.
9724 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9726 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9727 and ELF64_R_TYPE with ELFW(R_TYPE).
9729 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9731 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9734 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9735 (settimeofday): Likewise.
9737 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9739 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9740 a struct th_u2 inside the union, and move tu_block/tu_code into
9741 a new th_u3 union of tu_block/tu_code inside of that. Move
9742 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9743 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9744 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9745 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9746 (th_stuff): Change to th_u1.tu_stuff.
9748 (th_msg): Change to th_u1.th_u2.tu_data.
9750 2012-05-07 David S. Miller <davem@davemloft.net>
9752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9755 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9756 (SETUP_PIC_REG): Use it.
9757 (SETUP_PIC_REG_LEAF): Use it.
9759 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9765 (EXPL_FINITE): Likewise.
9767 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9768 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9770 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9772 (EXPL_FINITE): Likewise.
9774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9775 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9777 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9778 test of -max_value argument for long double.
9779 * sysdeps/i386/fpu/libm-test-ulps: Update.
9780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9782 2012-05-06 David S. Miller <davem@davemloft.net>
9784 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9785 quad soft-float symbols whose references which are compiler
9787 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9789 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9793 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9795 (EXPL_FINITE): Likewise.
9799 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9800 Adjust comments for base varying.
9801 (__expl_finite): Change alias to EXPL_FINITE.
9802 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9804 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9805 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9807 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9808 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9810 (EXPL_FINITE): Likewise.
9814 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9815 Adjust comments for base varying.
9816 (__expl_finite): Change alias to EXPL_FINITE.
9817 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9822 * math/libm-test.inc (check_float_internal): Correct ulp
9823 calculation for subnormal expected results.
9825 2012-05-06 Andreas Jaeger <aj@suse.de>
9827 * Makeconfig (+math-flags): New, set to -frounding-math.
9828 (+cflags): Add +math-flags so that all of glibc gets compiled with
9831 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9833 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9835 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9841 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9842 (__ieee754_expl): Allow for and saturate large arguments.
9843 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9844 (u_threshold): Likewise.
9845 (__exp): Call __ieee754_exp before checking for overflow and
9847 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9848 (u_threshold): Likewise.
9849 (__expf): Call __ieee754_expf before checking for overflow and
9851 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9852 (u_threshold): Likewise.
9853 (__expl): Call __ieee754_expl before checking for overflow and
9855 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9856 (__ieee754_expl): Allow for and saturate large arguments.
9857 * math/libm-test.inc (exp_test): Add another test. Do not allow
9858 missing overflow exception on overflow.
9859 (expm1_test): Do not allow missing overflow exception on overflow.
9861 * sysdeps/i386/fpu/e_expl.c: Move to ...
9862 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9863 rather than using inline asm.
9864 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9865 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9866 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9868 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9875 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9877 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9878 sysdeps/unix/common/syscalls.list.
9881 (ftruncate): Likewise.
9882 (getrusage): Likewise.
9883 (gettimeofday): Likewise.
9884 (setpgid): Likewise.
9885 (setregid): Likewise.
9886 (setreuid): Likewise.
9887 (sigaction): Likewise.
9888 (truncate): Likewise.
9889 (vhangup): Likewise.
9890 * sysdeps/unix/common/syscalls.list: Remove file.
9891 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9892 * sysdeps/unix/sysv/linux/Implies: Likewise.
9894 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9896 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9898 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9908 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9911 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9914 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9917 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9920 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9924 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9928 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9931 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9935 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9939 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9941 * sysdeps/unix/common/bits/dirent.h: Remove file.
9942 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9944 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9945 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9946 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9947 * sysdeps/unix/bsd/isatty.c: Likewise.
9948 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9949 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9950 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9952 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9956 long double comparison inaccuracies.
9957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9960 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9962 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9965 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9969 nonzero digits before rounding a hex value.
9970 * stdlib/tst-strtod.c (tests): Add another test.
9972 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9974 * sysdeps/s390/fpu/libm-test-ulps: Update.
9976 2012-05-03 Andreas Jaeger <aj@suse.de>
9978 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9979 does not get optimized out.
9980 (malloc_opt_barrier): New.
9982 2012-05-03 Andreas Jaeger <aj@suse.de>
9983 Roland McGrath <roland@hack.frob.com>
9985 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9986 intermediate file deletion.
9987 (generated): Add .symlist files.
9989 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9992 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9993 Redirect under this condition.
9994 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9995 [__USE_GNU] (__dprintf_chk): Not under this condition.
9996 [__USE_GNU] (__vdprintf_chk): Likewise.
9997 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9998 under this condition.
9999 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10000 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10001 [__USE_XOPEN2K8] (vdprintf): Likewise.
10002 [__USE_GNU] (__dprintf_chk): Not under this condition.
10003 [__USE_GNU] (__vdprintf_chk): Likewise.
10004 [__USE_GNU] (dprintf): Likewise.
10005 [__USE_GNU] (vdprintf): Likewise.
10007 2012-05-03 Roland McGrath <roland@hack.frob.com>
10009 * elf/Makefile (common-generated): Set this instead of generated for
10010 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10011 $(all-built-dso)-derived lists.
10013 2012-05-03 Andreas Jaeger <aj@suse.de>
10015 * sysdeps/i386/fpu/libm-test-ulps: Update.
10018 * FAQ.in: Likewise.
10019 * scripts/gen-FAQ.pl: Likewise.
10020 * manual/install.texi (Installation): Point to online location of
10022 * Makefile (files-for-dist): Remove FAQ.
10025 2012-05-02 Allan McRae <allan@archlinux.org>
10027 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10028 (LDFLAGS-reldepmod5.so): Likewise.
10029 (LDFLAGS-reldep6mod1.so): Likewise.
10030 (LDFLAGS-reldep6mod4.so): Likewise.
10031 (LDFLAGS-reldep8mod3.so): Likewise.
10032 (LDFLAGS-unload4mod1.so): Likewise.
10033 (LDFLAGS-unload4mod2.so): Likewise.
10034 (LDFLAGS-tst-initorder): Likewise.
10035 (LDFLAGS-tst-initordera2.so): Likewise.
10036 (LDFLAGS-tst-initordera3.so): Likewise.
10037 (LDFLAGS-tst-initordera4.so): Likewise.
10038 (LDFLAGS-tst-initorderb2.so): Likewise.
10039 (LDFLAGS-noload): Likewise.
10040 (LDFLAGS-next): Likewise.
10041 (LDFLAGS-order2mod1.so): Likewise.
10042 (LDFLAGS-order2mod2.so): Likewise.
10043 (LDFLAGS-tst-initorder2): Likewise.
10044 (LDFLAGS-tst-initorder2a.so): Likewise.
10045 (LDFLAGS-tst-initorder2b.so): Likewise.
10046 (LDFLAGS-tst-initorder2c.so): Likewise.
10047 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10049 2012-05-02 David S. Miller <davem@davemloft.net>
10051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10053 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10056 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10058 2012-05-02 Andreas Jaeger <aj@suse.de>
10060 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10061 since we manipulate rounding mode.
10062 (CPPFLAGS-test-idouble.c): Likewise.
10063 (CPPFLAGS-test-ifloat.c): Likewise.
10064 (CFLAGS-test-ldouble.c): Likewise.
10065 (CFLAGS-test-double.c): Likewise.
10066 (CFLAGS-test-float.c): Likewise.
10067 (CFLAGS-test-misc.c): Likewise.
10068 (CFLAGS-test-test-fenv.c): Likewise.
10070 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10075 comparisons to determine direction to adjust input.
10077 2012-05-01 Roland McGrath <roland@hack.frob.com>
10079 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10080 output to the target.
10082 * scripts/localplt.awk: New file.
10083 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10084 (check-localplt-CFLAGS): Variable removed.
10085 ($(all-built-dso:=.jmprel)): New static pattern rule.
10086 (generated): Add those targets.
10087 (localplt-built-dso): New variable.
10088 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10090 * elf/check-localplt.c: File removed.
10092 * scripts/check-execstack.awk: New file.
10093 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10094 (check-execstack-CFLAGS): Variable removed.
10095 ($(objpfx)check-execstack.h): Target removed.
10096 ($(objpfx)execstack-default): New target.
10097 (generated): Add that instead of check-execstack.h.
10098 ($(all-built-dso:=.phdr)): New static pattern rule.
10099 (generated): Add those targets.
10100 * elf/check-execstack.c: File removed.
10102 * scripts/check-textrel.awk: New file.
10103 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10104 (check-textrel-CFLAGS): Variable removed.
10105 (all-built-dso): Use := to define.o
10106 ($(all-built-dso:=.dyn)): New static pattern rule.
10107 (generated): Add those targets.
10108 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10109 * config.make.in (READELF): New substituted variable.
10110 * elf/check-textrel.c: File removed.
10112 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10114 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10116 * conform/data/ctype.h-data [C99-based standards] (isblank):
10118 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10119 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10121 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10122 Specify type. Require positive value.
10123 (EILSEQ): Likewise.
10124 (ERANGE): Likewise.
10125 [ISO || POSIX] (EILSEQ): Do not expect.
10126 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10127 Specify type. Require positive value.
10128 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10129 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10130 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10131 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10132 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10133 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10152 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10157 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10158 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10159 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10160 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10161 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10162 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10164 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10165 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10195 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10202 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10203 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10204 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10206 (FLT_ROUNDS): Expect as macro, not constant.
10207 (FLT_MANT_DIG): Use macro-int-constant.
10208 (DBL_MANT_DIG): Likewise.
10209 (LDBL_MANT_DIG): Likewise.
10210 (FLT_DIG): Likewise.
10211 (DBL_DIG): Likewise.
10212 (LDBL_DIG): Likewise.
10213 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10214 (DBL_MIN_EXP): Likewise.
10215 (LDBL_MIN_EXP): Likewise.
10216 (FLT_MAX_EXP): Use macro-int-constant.
10217 (DBL_MAX_EXP): Likewise.
10218 (LDBL_MAX_EXP): Likewise.
10219 (FLT_MAX_10_EXP): Likewise.
10220 (DBL_MAX_10_EXP): Likewise.
10221 (LDBL_MAX_10_EXP): Likewise.
10222 (FLT_MAX): Use macro-constant.
10223 (DBL_MAX): Likewise.
10224 (LDBL_MAX): Likewise.
10225 (FLT_EPSILON): Use macro-constant. Give upper bound.
10226 (DBL_EPSILON): Likewise.
10227 (LDBL_EPSILON): Likewise.
10228 (FLT_MIN): Likewise.
10229 (DBL_MIN): Likewise.
10230 (LDBL_MIN): Likewise.
10231 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10232 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10233 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10234 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10235 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10236 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10237 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10238 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10239 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10240 [ISO11] (FLT_TRUE_MIN): Likewise.
10241 [ISO11] (LDBL_TRUE_MIN): Likewise.
10242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10243 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10244 (SCHAR_MIN): Use macro-int-constant. Specify type.
10245 (SCHAR_MAX): Likewise.
10246 (UCHAR_MAX): Likewise.
10247 (CHAR_MIN): Likewise.
10248 (CHAR_MAX): Likewise.
10249 (MB_LEN_MAX): Use macro-int-constant.
10250 (SHRT_MIN): Use macro-int-constant. Specify type.
10251 (SHRT_MAX): Likewise.
10252 (USHRT_MAX): Likewise.
10253 (INT_MAX): Likewise.
10254 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10256 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10258 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10260 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10261 bound negative. Suffix upper bound with "L".
10262 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10264 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10266 [C99-based standards] (LLONG_MAX): Likewise.
10267 [C99-based standards] (ULLONG_MAX): Likewise.
10268 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10270 [ISO11] (max_align_t): Require type.
10271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10273 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10274 from $CFLAGS, without defining away __attribute__ calls.
10275 (checknamespace): Use $CFLAGS_namespace.
10277 * conform/conformtest.pl (@keywords): Only include C99 keywords
10278 for standards based on C99 or C11.
10280 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10282 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10285 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10286 usability of symbols in #if.
10288 * conform/conformtest.pl: If macro or constant types start
10289 "promoted:", expect the symbol to be of the following type
10290 promoted by the integer promotions.
10292 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10293 in one place. Also handle "macro-constant".
10295 * conform/conformtest.pl: Only accept expected macro values with
10296 "==". Parse all "macro" lines in one place.
10297 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10299 * conform/conformtest.pl: Handle braced types on "constant" lines
10300 instead of handling "typed-constant".
10301 * conform/data/signal.h-data: Use "constant" instead of
10304 * conform/conformtest.pl: Handle "optional-" at start of lines in
10305 one place rather than duplicating several cases. Handle each
10306 format of "macro" line with initial "optional-".
10308 * conform/conformtest.pl: Only accept expected constant or
10309 optional-constant values with "==". Parse all "constant" lines in
10310 one place. Parse all "optional-constant" lines in one place.
10311 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10312 * conform/data/fmtmsg.h-data: Likewise.
10313 * conform/data/netinet/in.h-data: Likewise.
10314 * conform/data/tar.h-data: Likewise.
10315 * conform/data/limits.h-data: Use "==" form on "constant" and
10316 "optional-constant" lines.
10318 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10319 Use -std=c99 for XOPEN2K.
10320 (@knownproblems): Remove.
10321 (newtoken): Don't check %isknown.
10323 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10324 Do not expect macro.
10325 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10337 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10338 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10355 [XPG3] (acosh): Likewise.
10356 [XPG3] (asinh): Likewise.
10357 [XPG3] (atanh): Likewise.
10358 [XPG3] (cbrt): Likewise.
10359 [XPG3] (expm1): Likewise.
10360 [XPG3] (ilogb): Likewise.
10361 [XPG3] (log1p): Likewise.
10362 [XPG3] (logb): Likewise.
10363 [XPG3] (nextafter): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10366 [XPG3] (remainder): Likewise.
10367 [XPG3] (rint): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10375 [UNIX98 || XOPEN2K] (scalb): Expect.
10376 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10377 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10514 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10515 _XOPEN_SOURCE_EXTENDED for XPG4.
10517 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10519 * Makeconfig (localtime): Remove variable.
10520 (inst_localtime-file): Likewise.
10522 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10543 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10547 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10548 comparisons to determine direction to adjust input.
10549 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10550 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10557 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10558 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10560 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10562 * math/libm-test.inc (nexttoward_test): Add more tests.
10564 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10568 in version GLIBC_2.1, not GLIBC_2.0.
10569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10572 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10575 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10577 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10578 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10579 * math/libm-test.inc (acos_test): Add more tests.
10580 (asin_test): Likewise.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10585 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10587 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10588 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10589 * math/libm-test.inc (acos_test_tonearest): New function.
10590 (acos_test_towardzero): Likewise.
10591 (acos_test_downward): Likewise.
10592 (acos_test_upward): Likewise.
10593 (asin_test_tonearest): Likewise.
10594 (asin_test_towardzero): Likewise.
10595 (asin_test_downward): Likewise.
10596 (asin_test_upward): Likewise.
10597 (main): Call the new functions.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10603 * math/e_exp10.c: Include <float.h>.
10604 (__ieee754_exp10): Handle underflow here rather than multiplying
10605 large negative argument by M_LN10.
10606 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10608 * math/e_exp10l.c: Include <float.h>.
10609 (__ieee754_exp10l): Handle underflow here rather than multiplying
10610 large negative argument by M_LN10l.
10611 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10612 spurious overflow exception on underflow.
10614 2012-04-29 Marek Polacek <polacek@redhat.com>
10616 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10617 (__fortify_function): New macro.
10618 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10619 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10620 __extern_always_inline.
10621 * libio/bits/stdio2.h: Likewise.
10622 * libio/bits/stdio.h: Likewise.
10623 * string/string.h: Likewise.
10624 * string/bits/string3.h: Likewise.
10625 * include/stdio.h: Likewise.
10626 * stdlib/bits/stdlib.h: Likewise.
10627 * stdlib/stdlib.h: Likewise.
10628 * rt/bits/mqueue2.h: Likewise.
10629 * rt/mqueue.h: Likewise.
10630 * posix/bits/unistd.h: Likewise.
10631 * posix/unistd.h: Likewise.
10632 * io/bits/poll2.h: Likewise.
10633 * io/bits/fcntl2.h: Likewise.
10634 * io/fcntl.h: Likewise.
10635 * io/sys/poll.h: Likewise.
10636 * misc/bits/syslog.h: Likewise.
10637 * misc/bits/syslog-ldbl.h: Likewise.
10638 * misc/sys/syslog.h: Likewise.
10639 * socket/bits/socket2.h: Likewise.
10640 * socket/sys/socket.h: Likewise.
10641 * debug/tst-chk1.c: Likewise.
10642 * wcsmbs/bits/wchar2.h: Likewise.
10643 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10644 * wcsmbs/wchar.h: Likewise.
10646 2012-04-29 Andreas Jaeger <aj@suse.de>
10648 * Makerules (tests): Remove enable-check-abi protection.
10649 (check-abi-warn): Remove.
10650 (check-abi-%): Remove check-abi-warn usage.
10652 * configure.in: Remove check-abi configure option.
10653 * configure: Regenerated.
10654 * config.make.in (enable-check-abi): Remove.
10656 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10659 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10660 double functions to double *_finite functions.
10663 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10664 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10666 * stdio-common/Makefile (tests): Add tst-sprintf3.
10667 * stdio-common/tst-sprintf3.c: New file.
10669 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10670 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10672 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10674 * conform/conformtest.pl: Remove duplicate typed-constant
10677 2012-04-28 David S. Miller <davem@davemloft.net>
10679 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10680 (check-abi-%): Remove AWK script prerequisite and explicit
10682 (check-abi): Rewrite to just diff the symlist with the abilist.
10683 (config-tls, config-abi-config): Delete, no longer used.
10684 (update-abi-%): Remove AWK script and explicit abilist directory.
10685 (update-abi): Rewrite to simply compare and conditionally copy the
10686 symlist and the sysdep abilist file. Remove update-abi-config
10688 * abilist/ld.abilist: Remove.
10689 * abilist/libBrokenLocale.abilist: Remove.
10690 * abilist/libanl.abilist: Remove.
10691 * abilist/libcrypt.abilist: Remove.
10692 * abilist/libdl.abilist: Remove.
10693 * abilist/librt.abilist: Remove.
10694 * abilist/libthread_db.abilist: Remove.
10695 * abilist/libutil.abilist: Remove.
10696 * scripts/extract-abilist.awk: Remove.
10697 * scripts/merge-abilist.awk: Remove.
10698 * sysdeps/generic/libcidn.abilist: New file.
10699 * sysdeps/generic/libnss_compat.abilist: New file.
10700 * sysdeps/generic/libnss_db.abilist: New file.
10701 * sysdeps/generic/libnss_dns.abilist: New file.
10702 * sysdeps/generic/libnss_files.abilist: New file.
10703 * sysdeps/generic/libnss_hesiod.abilist: New file.
10704 * sysdeps/generic/libnss_nis.abilist: New file.
10705 * sysdeps/generic/libnss_nisplus.abilist: New file.
10706 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10707 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10708 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10711 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10712 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10713 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10714 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10715 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10716 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10717 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10718 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10720 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10721 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10722 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10723 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10725 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10726 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10727 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10728 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10729 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10730 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10732 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10733 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10734 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10736 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10839 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10840 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10841 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10844 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10845 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10847 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10849 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10850 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10851 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10852 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10904 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10906 * conform/conformtest.pl: Fix typo in handling typed-constant from
10909 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10911 * README: Cut down references to pre-2.6 Linux kernels and
10912 Linuxthreads. Update lists of configurations in libc and ports
10913 and sort alphabetically. Say "or newer" with Linux kernel version
10916 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10918 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10921 * math/libm-test.inc (logb_test_downward): New test to expose
10922 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10925 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10928 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10930 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10931 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10933 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10935 * sysdeps/unix/i386/brk.S: Remove file.
10936 * sysdeps/unix/i386/dl-brk.S: Likewise.
10937 * sysdeps/unix/i386/pipe.S: Likewise.
10938 * sysdeps/unix/i386/sigreturn.S: Likewise.
10939 * sysdeps/unix/i386/syscall.S: Likewise.
10940 * sysdeps/unix/i386/vfork.S: Likewise.
10941 * sysdeps/unix/i386/wait.S: Likewise.
10943 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10944 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10946 * configure.in (arm*-none*): Do not allow without
10947 --enable-hacker-mode.
10948 (netbsd*): Remove case setting base_os.
10949 (386bsd*): Likewise.
10950 (freebsd*): Likewise.
10953 (sunos*): Likewise.
10954 (ultrix*): Likewise.
10955 (newsos*): Likewise.
10956 (dynix*): Likewise.
10962 (minix*): Likewise.
10963 (irix4*): Likewise.
10964 (irix6*): Likewise.
10965 (solaris[2-9]*): Likewise.
10967 * configure: Regenerated.
10969 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10972 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10973 overflow or cancellation in calculating denominator.
10974 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10975 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10976 down expression to avoid unexpected rounding in newer GCCs.
10977 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10979 2012-04-26 David S. Miller <davem@davemloft.net>
10981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10982 long-double compat symbols.
10983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10997 2012-04-25 David S. Miller <davem@davemloft.net>
10999 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11000 HWCAP_* values only after the memory barriers have been defined.
11001 (atomic_full_barrier): Define.
11002 (atomic_read_barrier): Define.
11003 (atomic_write_barrier): Define.
11005 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11007 * shlib-versions: Add libgcc_s version information.
11008 * sysdeps/generic/libgcc_s.h: Remove.
11009 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11011 * sysdeps/gnu/unwind-resume.c: Likewise.
11012 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11014 2012-04-25 David S. Miller <davem@davemloft.net>
11016 * sysdeps/unix/sparc/brk.S: Delete.
11017 * sysdeps/unix/sparc/dl-brk.S: Delete.
11018 * sysdeps/unix/sparc/pipe.S: Delete.
11019 * sysdeps/unix/sparc/sysdep.S: Delete.
11020 * sysdeps/unix/sparc/sysdep.h: Delete.
11021 * sysdeps/unix/sparc/vfork.S: Delete.
11022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11023 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11025 ret_ERRVAL, r0, r1, MOVE): Define.
11026 (JUMPTARGET): Remove.
11027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11028 sysdeps/unix/sparc/sysdep.h
11029 (ENTRY, END): Remove.
11030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11032 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11034 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11035 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11038 * timezone/README: Update upstream location and email address for
11040 * timezone/zdump.c: Update from tzcode 2012b.
11041 * timezone/zic.c: Likewise.
11043 * configure.in (libc_cv_as_needed): Remove test.
11044 * configure: Regenerated.
11045 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11046 conditional definition.
11047 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11048 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11049 * config.make.in (have-as-needed): Remove variable.
11051 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11052 Paul Pluzhnikov <ppluzhnikov@google.com>
11054 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11057 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11059 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11060 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11061 * sysdeps/sh/strlen.S: Likewise.
11063 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11065 * sysdeps/unix/fork.S: Remove file.
11066 * sysdeps/unix/i386/fork.S: Likewise.
11067 * sysdeps/unix/sparc/fork.S: Likewise.
11069 * sysdeps/unix/system.c: Remove file.
11070 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11072 * sysdeps/unix/getegid.S: Remove file.
11073 * sysdeps/unix/geteuid.S: Likewise.
11075 2012-04-24 Roland McGrath <roland@hack.frob.com>
11077 * scripts/check-localplt.awk: New file.
11078 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11080 * scripts/data/localplt-generic.data: Add a comment.
11082 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11083 NODE when __dir_mkfile failed.
11084 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11085 Reported by Ludovic Courtès <ludo@gnu.org>.
11087 2012-04-24 Andreas Jaeger <aj@suse.de>
11089 * Makerules (common-clean): Also remove gen-as-const-headers
11092 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11094 * Makerules (native-compile): Do not change working directory for
11095 build. Use $(OUTPUT_OPTION) in command.
11096 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11098 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11101 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11102 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11103 * math/libm-test.inc (floor_test): Add more tests.
11104 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11106 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11108 * sysdeps/unix/getdents.c: Remove file.
11109 * sysdeps/unix/sysv/getdents.c: Likewise.
11110 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11112 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11113 sysdeps/unix/mman/syscalls.list.
11115 (mprotect): Likewise.
11117 (munmap): Likewise.
11118 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11119 * sysdeps/unix/mman/syscalls.list: Remove.
11120 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11122 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11123 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11124 * configure: Regenerated.
11125 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11126 $(libgcc_s_suffix).
11127 * config.make.in (libgcc_s_suffix): Remove variable.
11129 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11131 * sysdeps/unix/sysv/gethostname.c: Move to ...
11132 * sysdeps/posix/gethostname.c: ... here.
11134 * sysdeps/unix/execve.S: Remove file.
11136 * sysdeps/unix/_exit.S: Remove file.
11138 2012-04-23 Andreas Jaeger <aj@suse.de>
11141 * manual/Makefile: Remove make dist support, there's no
11142 need for a stand-alone documentation tar ball.
11143 (TEXI2DVI): Define always, it's not in Makeconfig.
11146 (edition): Removed.
11147 (glibc-doc-$(edition).tar): Removed
11151 (ETAGS): Remove, it's in Makeconfig.
11152 (move-if-change): Remove, it's in Makeconfig.
11154 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11157 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11158 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11159 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11160 (strtod_l, strtof_l, strtold_l): Remove __wur.
11161 It is not necessarily an error to ignore strtol's return value.
11162 One can reliably look at the stored endptr to decide whether
11163 the number had valid syntax.
11165 2012-04-21 Andreas Jaeger <aj@suse.de>
11168 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11170 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11172 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11173 * sysdeps/unix/sysv/Versions: Remove file.
11175 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11180 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11184 version from __vm86.
11186 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11188 * sysdeps/unix/common/lxstat.c: Remove file.
11189 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11191 * sysdeps/unix/sysv/Makefile: Remove file.
11193 * sysdeps/unix/sysv/direct.h: Remove file.
11195 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11196 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11197 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11198 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11199 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11200 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11201 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11203 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11205 * sysdeps/unix/xmknod.c: Remove file.
11206 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11208 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11210 * sysdeps/unix/sysv/i386/time.S: Remove file.
11212 * sysdeps/unix/fxstat.c: Remove file.
11213 * sysdeps/unix/xstat.c: Likewise.
11214 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11216 * sysdeps/unix/sysv/sigaction.c: Remove file.
11218 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11219 (sysdep_headers): Remove variable.
11220 [termio.h not in sysdep_headers] (generated): Likewise.
11221 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11222 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11223 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11224 * sysdeps/unix/sysv/tcflow.c: Likewise.
11225 * sysdeps/unix/sysv/tcflush.c: Likewise.
11226 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11227 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11228 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11229 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11230 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11232 * sysdeps/unix/siglist.c: Remove file.
11234 * sysdeps/unix/getppid.S: Remove file.
11236 * sysdeps/unix/mkdir.c: Remove file.
11237 * sysdeps/unix/rmdir.c: Likewise.
11239 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11241 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11243 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11244 errlist-compat value.
11246 2012-04-18 David S. Miller <davem@davemloft.net>
11248 * sysdeps/generic/memcopy.h (reg_char): Delete.
11249 * debug/strcat_chk.c: Use char, not reg_char.
11250 * debug/strcpy_chk.c: Likewise.
11251 * debug/strncat_chk.c: Likewise.
11252 * debug/strncpy_chk.c: Likewise.
11253 * string/memchr.c: Likewise.
11254 * string/memrchr.c: Likewise.
11255 * string/rawmemchr.c: Likewise.
11256 * string/strcat.c: Likewise.
11257 * string/strchr.c: Likewise.
11258 * string/strchrnul.c: Likewise.
11259 * string/strcmp.c: Likewise.
11260 * string/strcpy.c: Likewise.
11261 * string/strncat.c: Likewise.
11262 * string/strncmp.c: Likewise.
11263 * string/strncpy.c: Likewise.
11265 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11267 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11268 __builtin_memcopy is called when src and dest ranges are known to not
11271 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11273 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11274 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11275 fwd_align_merge macro call.
11276 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11277 bwd_align_merge macro call.
11278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11280 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11283 bwd_align_merge macros.
11284 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11285 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11286 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11288 2012-04-18 David S. Miller <davem@davemloft.net>
11290 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11292 2012-04-18 Andreas Jaeger <aj@suse.de>
11295 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11296 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11297 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11299 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11300 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11303 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11304 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11305 Adjust for changed ldbl-128 files.
11307 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11308 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11309 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11311 2012-04-17 David S. Miller <davem@davemloft.net>
11313 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11315 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11317 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11318 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11319 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11320 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11322 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11324 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11327 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11328 * math/libm-test.inc: Add ilogb errno and exception tests.
11329 * math/w_ilogb.c: New file: ilogb wrapper.
11330 * math/w_ilogbf.c: New file: ilogbf wrapper.
11331 * math/w_ilogbl.c: New file: ilogbl wrapper.
11332 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11333 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11334 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11335 exception being thrown with 0.0 as argument.
11336 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11337 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11338 exception being thrown with 0.0 as argument.
11339 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11340 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11341 exception being thrown with 0.0 as argument.
11342 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11343 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11344 exception being thrown with 0.0 as argument.
11345 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11346 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11347 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11348 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11350 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11351 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11352 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11353 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11355 2012-04-17 Petr Baudis <pasky@ucw.cz>
11357 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11360 2012-04-16 Marek Polacek <polacek@redhat.com>
11362 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11364 2012-04-16 Marek Polacek <polacek@redhat.com>
11366 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11367 operands of fdivp instruction.
11369 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11371 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11372 * elf/tst-auditmod3b.c: Likewise.
11373 * elf/tst-auditmod4b.c: Likewise.
11374 * elf/tst-auditmod5b.c: Likewise.
11375 * elf/tst-auditmod6b.c: Likewise.
11376 * elf/tst-auditmod6c.c: Likewise.
11377 * elf/tst-auditmod7b.c: Likewise.
11378 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11379 * sysdeps/x86_64/preconfigure.in: Likewise.
11380 * sysdeps/x86_64/preconfigure: Regenerated.
11382 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11384 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11387 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11390 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11392 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11395 * locale/iso-639.def: Fix gl language name. Spotted by
11398 2012-04-12 Roland McGrath <roland@hack.frob.com>
11401 * libio/libio.h (__io_write_fn): Update comment.
11403 2012-04-12 Petr Baudis <pasky@ucw.cz>
11406 * stdio.texi (Hook Functions): The user provided writer function
11407 is not allowed to return -1.
11409 2012-04-11 David S. Miller <davem@davemloft.net>
11411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11413 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11415 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11416 Add a leading slash to rtkaio.
11418 2012-04-11 Jim Meyering <meyering@redhat.com>
11421 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11422 It is not necessarily an error to ignore fwrite's return
11423 value. One can reliably use ferror to test for errors after
11426 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11428 * bits/types.h (__snseconds_t): New type.
11429 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11431 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11433 (__SNSECONDS_T_TYPE): Likewise.
11434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11435 (__SNSECONDS_T_TYPE): Likewise.
11436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11437 (__SNSECONDS_T_TYPE): Likewise.
11439 2012-04-10 Andreas Jaeger <aj@suse.de>
11442 * manual/time.texi (Processor Time): Return type of times is
11443 elapsed real time since an arbitrary point in the past.
11444 (CPU Time): Move CLK_TCK from here...
11445 (Processor Time): ...to here. Correct description.
11446 * manual/conf.texi (Constants for Sysconf): Correct description of
11449 2012-04-10 David S. Miller <davem@davemloft.net>
11452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11453 where the is a gap between DT_REL(A) and DT_JMPREL.
11455 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11457 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11458 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11459 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11461 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11463 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11464 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11465 (dl_main): Handle --inhibit-cache.
11466 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11468 * elf/dl-load.c (_dl_map_object): Use it.
11469 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11471 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11475 (__ieee754_powl): Saturate large exponents rather than testing for
11476 overflow of y*log2(x).
11477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11478 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11482 * math/s_ctan.c: Include <float.h>.
11483 (__ctan): Avoid internal overflow or cancellation in calculating
11485 * math/s_ctanf.c: Likewise.
11486 * math/s_ctanl.c: Likewise.
11487 * math/s_ctanh.c: Likewise.
11488 * math/s_ctanhf.c: Likewise.
11489 * math/s_ctanhl.c: Likewise.
11490 * math/libm-test.inc (ctan_test): Add more tests.
11491 (ctanh_test): Likewise.
11492 * sysdeps/i386/fpu/libm-test-ulps: Update.
11493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11495 2012-04-09 Andreas Jaeger <aj@suse.de>
11498 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11499 is an optional BSD extension.
11502 * manual/stdio.texi (Opening Streams): Document additional fopen
11505 2012-04-09 Roland McGrath <roland@hack.frob.com>
11507 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11508 %eax without telling the compiler.
11510 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11513 * manual/install.texi: Use sourceware.org.
11515 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11518 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11519 (__ieee754_pow): Generate overflow and underflow using huge*huge
11520 and tiny*tiny rather than just returning constant infinity or zero
11521 for large exponents.
11522 * math/libm-test.inc (pow_test): Require overflow exceptions for
11523 applicable cases of large exponents.
11526 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11527 (__ieee754_pow): Use iterative multiplication algorithm only for
11528 integer exponents with absolute value below 1024. Check for odd
11529 integer exponents when using algorithm for real exponents.
11530 * math/libm-test.inc (pow_test): Add more tests.
11531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11533 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11536 * math/libm-test.inc (exp_test): Do not allow overflow exception
11539 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11542 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11543 instead of __kernel_standard_f.
11545 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11547 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11548 * sysdeps/x86_64/memset_chk.S: Likewise.
11550 2012-04-08 Andreas Jaeger <aj@suse.de>
11553 * manual/startup.texi (Environment Access): Describe return value
11554 for putenv and setenv.
11557 * manual/filesys.texi (Directory Entries): Add description for
11561 * manual/filesys.texi (Directory Entries): Clarify that it's file
11562 system not operating system in the description of DT_UNKNOWN.
11565 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11567 2012-04-08 Stephen Compall <s11@member.fsf.org>
11570 * manual/llio.texi (Opening and Closing Files): Add cross
11571 reference to explain mode argument.
11573 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11575 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11576 * sysdeps/x86_64/memset_chk.S: Likewise.
11578 2012-04-07 David S. Miller <davem@davemloft.net>
11580 * elf/elf.h (R_SPARC_WDISP10): Define.
11581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11584 R_SPARC_SIZE64 and R_SPARC_H34.
11586 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11588 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11589 conditions and remove no longer applicable assertion.
11591 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11593 * bits/byteswap.h: Include <features.h>.
11594 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11595 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11597 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11599 * bits/byteswap.h (__bswap_16): Removed.
11600 Include <bits/byteswap-16.h> to get __bswap_16.
11601 * sysdeps/i386/bits/byteswap.h: Likewise.
11602 * sysdeps/s390/bits/byteswap.h: Likewise.
11603 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11604 * bits/byteswap-16.h: New file.
11605 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11606 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11607 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11608 * string/Makefile (headers): Add bits/byteswap-16.h.
11610 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11613 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11615 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11616 * nss/tst-nss-static.c: New.
11618 2012-04-06 Robert Millan <rmh@gnu.org>
11621 * manual/llio.texi (File Position Primitive): lseek
11622 refers to WHENCE when it really means OFFSET.
11624 2012-04-06 Andreas Jaeger <aj@suse.de>
11626 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11627 strncmp declarations.
11629 * abilist/libc.abilist: Add __poll and __ppoll.
11631 2012-04-05 David S. Miller <davem@davemloft.net>
11633 * scripts/check-local-headers.sh: Accept a host triplet in the
11634 path matched by the exclude regexp.
11636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11638 * sysdeps/powerpc/powerpc32/dl-machine.h
11639 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11640 * sysdeps/s390/s390-32/dl-machine.h
11641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11642 * sysdeps/sparc/sparc32/dl-machine.h
11643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11644 * sysdeps/sparc/sparc64/dl-machine.h
11645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11647 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11649 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11650 undefined symbol errors.
11652 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11655 2012-04-05 Michael Matz <matz@suse.de>
11658 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11660 2012-04-05 Andreas Jaeger <aj@suse.de>
11663 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11666 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11668 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11669 which ROUND is no valid rounding mode.
11671 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11673 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11675 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11677 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11679 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11680 an exception using FPU order intentionally.
11682 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11684 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11685 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11686 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11687 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11689 2012-04-05 Simon Josefsson <simon@josefsson.org>
11692 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11693 EINVAL when BUFLEN is too smal.
11695 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11698 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11699 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11701 2012-04-03 Andreas Jaeger <aj@suse.de>
11704 * manual/setjmp.texi (System V contexts): Fix sentence.
11707 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11708 New macro for this case.
11709 [!__GNUC__] (__bswap_64): New inline function for this case.
11710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11711 * bits/byteswap.h: Likewise.
11712 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11713 ull, guard with __GLIBC_HAVE_LONG_LONG.
11715 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11716 __GLIBC_HAVE_LONG_LONG.
11718 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11719 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11721 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11724 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11725 inptr and inend, rather than using last_ch.
11727 2012-04-02 David S. Miller <davem@davemloft.net>
11729 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11730 * stdio-common/printf-parse.h (read_int): Change return type to
11731 'int', return -1 on INT_MAX overflow.
11732 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11733 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11734 overflows INT_MAX. Check for overflow of in-format-string precision
11735 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11736 SIZE_MAX not INT_MAX for integer overflow test.
11737 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11738 skip the construct in the format string but do not record anything.
11739 * stdio-common/bug22.c: Adjust to test both width/prevision
11740 INT_MAX overflow as well as total length INT_MAX overflow. Check
11741 explicitly for proper errno values.
11743 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11745 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11747 * string/test-strcmp.c [! WIDE]: Likewise.
11748 * time/tst-mktime2.c: Likewise for INT_MAX.
11749 * string/test-string.h: #include <sys/param.h> for MIN.
11751 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11752 * sysdeps/i386/init-first.c (init): Likewise.
11753 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11754 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11755 * sysdeps/sh/init-first.c (init): Likewise.
11757 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11759 * po/ru.po: Update from translation team.
11760 * po/vi.po: Likewise.
11762 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11764 * resolv/nss_dns/dns-host.c: Merge copyright years.
11766 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11769 Optimize memcpy with prefetch if
11770 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11771 src, dst pointers have unequal 16 byte alignments.
11773 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11776 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11777 from a CNAME entry and return the minimum ttl for the query.
11778 (gaih_getanswer_slice): Likewise.
11780 2012-03-30 Jeff Law <law@redhat.com>
11782 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11784 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11785 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11787 * resolv/nss_dns/dns-host.c: Update copyright year.
11789 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11791 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11792 requests to save a system call. Fix check that all bytes are sent.
11794 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11795 comments for sendmmsg.
11797 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11801 with only 1 character between 0x0041 and 0x01b0.
11802 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11803 * wcsmbs/tst-mbsnrtowcs.c: New file.
11805 2012-03-29 David S. Miller <davem@davemloft.net>
11807 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11808 small copies by hand.
11810 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11813 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11814 _nss_compat_initgroups_dyn): Fall back to malloc/free
11815 for large group memberships.
11817 2012-03-28 David S. Miller <davem@davemloft.net>
11819 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11820 that branches into memcpy.
11821 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11824 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11827 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11828 implementation too.
11829 * sysdeps/sparc/mempcpy.S: New file.
11831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11832 the IFUNC routine in the libc case.
11833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11835 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11836 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11837 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11838 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11839 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11840 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11841 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11842 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11844 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11845 loop to 256 bytes instead of 64 bytes and fix test signedness.
11847 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11848 * sysdeps/sparc/sparc32/Makefile: rather than here...
11849 * sysdeps/sparc/sparc64/Makefile: and here.
11851 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11853 * malloc/mallocbug.c: Avoid warnings about unused variables.
11855 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11858 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11859 in the right place. Discard and retry query if response is
11860 larger than input buffer size.
11862 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11867 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11868 x for large integer exponent.
11869 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11870 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11871 sign of result as needed afterwards.
11872 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11873 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11874 result for underflowing pow the same as for overflow.
11875 (__kernel_standard_l): Handle powl overflow and underflow here
11876 rather than calling __kernel_standard.
11877 * math/libm-test.inc (pow_test): Add more tests.
11892 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11893 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11894 (__kernel_standard_l): New function.
11895 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11897 * math/w_acosl.c (__acosl): Likewise.
11898 * math/w_asinl.c (__asinl): Likewise.
11899 * math/w_atan2l.c (__atan2l): Likewise.
11900 * math/w_atanhl.c (__atanhl): Likewise.
11901 * math/w_coshl.c (__coshl): Likewise.
11902 * math/w_exp10l.c (__exp10l): Likewise.
11903 * math/w_exp2l.c (__exp2l): Likewise.
11904 * math/w_fmodl.c (__fmodl): Likewise.
11905 * math/w_hypotl.c (__hypotl): Likewise.
11906 * math/w_j0l.c (__j0l, __y0l): Likewise.
11907 * math/w_j1l.c (__j1l, __y1l): Likewise.
11908 * math/w_jnl.c (__jnl, __ynl): Likewise.
11909 * math/w_lgammal.c (__lgammal): Likewise.
11910 * math/w_log10l.c (__log10l): Likewise.
11911 * math/w_log2l.c (__log2l): Likewise.
11912 * math/w_logl.c (__logl): Likewise.
11913 * math/w_powl.c (__powl): Likewise.
11914 * math/w_remainderl.c (__remainderl): Likewise.
11915 * math/w_scalbl.c (sysv_scalbl): Likewise.
11916 * math/w_sinhl.c (__sinhl): Likewise.
11917 * math/w_sqrtl.c (__sqrtl): Likewise.
11918 * math/w_tgammal.c (__tgammal): Likewise.
11919 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11920 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11921 * math/libm-test.inc (acos_test): Add more tests.
11922 (acosh_test): Likewise.
11923 (asin_test): Likewise.
11924 (atanh_test): Likewise.
11925 (exp_test): Likewise.
11926 (exp10_test): Likewise.
11927 (exp2_test): Likewise.
11928 (expm1_test): Likewise.
11929 (lgamma_test): Likewise.
11930 (log_test): Likewise.
11931 (log10_test): Likewise.
11932 (log1p_test): Likewise.
11933 (log2_test): Likewise.
11934 (pow_test): Do not allow some spurious overflow exceptions.
11935 (sqrt_test): Add more tests.
11936 (tgamma_test): Likewise.
11937 (y0_test): Likewise.
11938 (y1_test): Likewise.
11939 (yn_test): Likewise.
11941 2012-03-27 Anton Blanchard <anton@samba.org>
11943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11945 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11946 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11949 2012-03-27 David S. Miller <davem@davemloft.net>
11951 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11953 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11954 have-as-vis3 check.
11956 2012-03-27 Andreas Jaeger <aj@suse.de>
11958 * sysdeps/x86_64/elf/configure.in: Moved to ...
11959 * sysdeps/x86_64/configure.in: ... here.
11960 * sysdeps/x86_64/elf/start.S: Moved to ...
11961 * sysdeps/x86_64/start.S: ... here.
11962 * sysdeps/x86_64/elf/configure: Delete.
11964 * sysdeps/x86_64/configure.in: Merge contents from
11965 sysdeps/i386/configure.in (without i686 check).
11967 * sysdeps/i386/elf/Versions: Merge into ...
11968 * sysdeps/i386/Versions: ... this.
11969 * sysdeps/i386/elf/Versions: Delete file.
11970 * sysdeps/i386/elf/start.S: Moved to ...
11971 * sysdeps/i386/start.S: ...here.
11972 * sysdeps/i386/elf/configure.in: Merge into...
11973 * sysdeps/i386/configure.in: ...here.
11974 * sysdeps/i386/elf/configure.in: Delete file.
11975 * sysdeps/i386/elf/configure: Delete file.
11977 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11978 * debug/backtracesyms.c: ... here.
11979 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11980 * debug/backtracesymsfd.c: ... here.
11981 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11982 * sysdeps/generic/ifunc-sel.h: ... here.
11984 * sysdeps/unix/i386/start.c: Delete file.
11985 * sysdeps/unix/sparc/start.c: Delete file.
11986 * sysdeps/unix/start.c: Delete file.
11988 * sysdeps/sh/elf/configure.in: Moved to ...
11989 * sysdeps/sh/configure.in: ... here.
11990 * sysdeps/sh/elf/start.S: Moved to ...
11991 * sysdeps/sh/start.S: ... here.
11992 * sysdeps/sh/elf/configure: Delete file.
11994 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11995 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11996 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11997 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11998 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11999 * sysdeps/powerpc/powerpc64/start.S: here.
12000 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12001 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12002 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12003 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12004 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12006 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12007 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12008 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12009 * sysdeps/powerpc/powerpc32/start.S: ... here.
12010 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12011 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12012 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12014 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12015 * sysdeps/powerpc/ifunc-sel.h: ... here.
12016 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12017 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12019 * sysdeps/sparc/elf/configure.in: Moved to ...
12020 * sysdeps/sparc/configure.in: ... here.
12021 * sysdeps/sparc/elf/configure: Delete file.
12022 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12023 * sysdeps/sparc/sparc32/start.S: ... here.
12024 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12025 * sysdeps/sparc/sparc64/start.S: ... here.
12026 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12027 * sysdeps/sparc/sparc32/Makefile: ... this.
12028 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12029 * sysdeps/sparc/sparc64/Makefile: ... this.
12031 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12032 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12033 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12034 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12035 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12036 * sysdeps/s390/s390-32/setjmp.S: ... here.
12037 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12038 * sysdeps/s390/s390-32/configure.in: ... here.
12039 * sysdeps/s390/s390-32/elf/configure: Delete file.
12040 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12041 * sysdeps/s390/s390-32/start.S: ... here.
12043 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12044 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12045 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12046 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12047 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12048 * sysdeps/s390/s390-64/setjmp.S: ... here.
12049 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12050 * sysdeps/s390/s390-64/configure.in: ... here
12051 * sysdeps/s390/s390-64/elf/configure: Delete file.
12052 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12053 * sysdeps/s390/s390-64/start.S: ... here.
12054 * sysdeps/s390/s390-64/elf/configure: Delete.
12056 * configure.in: Remove support for elf directories in sysdeps.
12058 * configure: Regenerated.
12059 * sysdeps/i386/configure: Regenerated.
12060 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12061 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12062 * sysdeps/s390/s390-32/configure: Regenerated.
12063 * sysdeps/s390/s390-64/configure: Regenerated.
12064 * sysdeps/sh/configure: Regenerated.
12065 * sysdeps/sparc/configure: Regenerated.
12066 * sysdeps/x86_64/configure: Regenerated.
12068 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12073 denormal result into account.
12075 2012-03-25 Roland McGrath <roland@hack.frob.com>
12077 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12078 Reported by Allan McRae <allan@archlinux.org>.
12080 2012-03-23 Jeff Law <law@redhat.com>
12082 * nss/getnssent.c (__nss_getent): Fix typo.
12084 2012-03-23 David S. Miller <davem@davemloft.net>
12086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12088 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12090 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12091 to pad to uint64_t for each field.
12092 (dl_tls_index): Replace unsigned long with uint64_t.
12094 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12095 Paul Pluzhnikov <ppluzhnikov@google.com>
12098 * grp/Makefile (otherlibs): Don't set it.
12099 * inet/Makefile (otherlibs): Likewise.
12100 * login/Makefile (otherlibs): Likewise.
12101 * nscd/Makefile (otherlibs): Likewise.
12102 * posix/Makefile (otherlibs): Likewise.
12103 * pwd/Makefile (otherlibs): Likewise.
12104 * rt/Makefile (otherlibs): Likewise.
12105 * sunrpc/Makefile (otherlibs): Likewise.
12106 * nss/Makefile (otherlibs): Likewise.
12107 Add libnss_files to routines and static-only-routines.
12108 ($(objpfx)getent): Remove rule.
12109 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12110 static-only-routines.
12112 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12115 * math/s_cexp.c: Include <float.h>.
12116 (__cexp): Handle exp result overflowing not necessarily
12117 overflowing both real and imaginary parts of result.
12118 * math/s_cexpf.c: Likewise.
12119 * math/s_cexpl.c: Likewise.
12120 * math/libm-test.inc (cexp_test): Add more tests.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12126 * include/link.h (ELFW): New macro.
12127 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12128 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12130 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12132 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12135 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12137 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12139 (struct La_x32_retval): Likewise.
12141 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12143 * sysdeps/x86_64/preconfigure.in: New file.
12144 * sysdeps/x86_64/preconfigure: New generated file.
12146 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12149 * math/e_exp2l.c: Include <float.h>.
12150 (__ieee754_exp2l): Handle overflow and underflow cases
12151 separately. Only pass fractional part of argument to
12153 * math/libm-test.inc (exp2_test): Add more tests.
12155 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12156 negating x to take absolute value.
12157 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12159 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12160 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12162 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12163 computing low part if x was negated.
12164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12166 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12168 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12169 la_x32_gnu_pltexit.
12170 (pltexit): Cast int_retval to ptrdiff_t.
12171 * elf/tst-auditmod3b.c: Likewise.
12172 * elf/tst-auditmod4b.c: Likewise.
12173 * elf/tst-auditmod5b.c: Likewise.
12174 * elf/tst-auditmod6b.c: Likewise.
12175 * elf/tst-auditmod6c.c: Likewise.
12176 * elf/tst-auditmod7b.c: Likewise.
12178 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12179 and x32_gnu_pltexit.
12181 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12182 __ELF_NATIVE_CLASS.
12183 (La_x32_regs): New macro.
12184 (La_x32_retval): Likewise.
12185 (la_x32_gnu_pltenter): New function prototype.
12186 (la_x32_gnu_pltexit): Likewise.
12188 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12195 * configure.in (libc_cv_cc_nofma): Check for option to disable
12196 generation of FMA instructions.
12197 * configure: Regenerate.
12198 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12199 * sysdeps/ieee754/dbl-64/Makefile: New file.
12200 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12201 Remove brandred-fma4.
12202 (CFLAGS-brandred-fma4.c): Remove.
12203 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12204 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12209 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12211 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12212 LLONG_MAX != LONG_MAX.
12213 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12214 (_fitoa_word): Likewise.
12215 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12216 LLONG_MAX != LONG_MAX.
12217 * stdio-common/_itowa.h: Include <_itoa.h>.
12218 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12219 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12220 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12221 only if not defined.
12222 (_ITOA_WORD_TYPE): Likewise.
12223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12224 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12226 2012-03-21 David S. Miller <davem@davemloft.net>
12228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12230 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12232 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12233 of x86_64 when setting libc_cv_slibdir, libdir and
12235 * sysdeps/unix/sysv/linux/configure: Regenerated.
12237 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12239 * manual/lang.texi (Old Varargs): Remove section.
12240 (How Variadic): Update menu.
12241 (va_start): Do not mention varargs.h.
12243 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12244 Joseph Myers <joseph@codesourcery.com>
12246 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12248 * configure: Regenerated.
12250 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12252 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12253 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12256 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12259 * Makefile (files-for-dist): Remove NOTES.
12260 (NOTES): Remove rule.
12261 * README: Don't refer to NOTES.
12262 * manual/creature.texi: Don't include macros.texi.
12263 * manual/intro.texi (creature.texi): Remove comment referring to
12266 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12267 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12268 * configure: Regenerated.
12269 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12270 LIBC_TRY_CC_OPTION.
12271 (libc_cv_as_i686): Likewise.
12272 (libc_cv_cc_avx): Likewise.
12273 (libc_cv_cc_sse2avx): Likewise.
12274 (libc_cv_cc_fma4): Likewise.
12275 (libc_cv_cc_novzeroupper): Likewise.
12276 * sysdeps/i386/configure: Regenerated.
12279 * sysdeps/i386/fpu/s_cexp.S: Remove.
12280 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12281 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12282 * math/libm-test.inc (cexp_test): Add more tests.
12283 * sysdeps/i386/fpu/libm-test-ulps: Update.
12284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286 2012-03-21 Allan McRae <allan@archlinux.org>
12288 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12290 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12293 * math/w_exp2.c: Do not include <float.h>.
12294 (o_threshold, u_threshold): Remove.
12295 (__exp2): Calculate result before checking finiteness and calling
12297 * math/w_exp2f.c: Likewise.
12298 * math/w_exp2l.c: Likewise.
12299 * math/libm-test.inc (exp2_test): Require overflow exception for
12303 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12304 range of signed 64-bit integers before using fistpll. Remove
12305 checks for whether integers fit in mantissa bits.
12306 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12307 the range of signed 32-bit integers before using fistpl. Remove
12308 checks for whether integers fit in mantissa bits.
12309 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12310 (__ieee754_powl): Test for y outside the range of signed 64-bit
12311 integers before using fistpll. Reduce 64-bit values to 63-bit
12313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12314 divide-by-zero is raised for zero to large negative powers.
12315 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12316 (__ieee754_powl): Test for y outside the range of signed 64-bit
12317 integers before using fistpll. Reduce 64-bit values to 63-bit
12319 * math/libm-test.inc (pow_test): Add more tests.
12321 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12323 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12324 <stdio-common/_itoa.h>.
12325 * debug/segfault.c: Likewise.
12326 * elf/dl-cache.c: Likewise.
12327 * elf/dl-minimal.c: Likewise.
12328 * elf/dl-misc.c: Likewise.
12329 * elf/dl-sysdep.c: Likewise.
12330 * elf/dl-version.c: Likewise.
12331 * elf/rtld.c: Likewise.
12332 * hurd/hurdsock.c: Likewise.
12333 * hurd/lookup-retry.c: Likewise.
12334 * malloc/malloc.c: Likewise.
12335 * malloc/mtrace.c: Likewise.
12336 * nscd/nscd_getgr_r.c: Likewise.
12337 * nscd/nscd_getpw_r.c: Likewise.
12338 * nscd/nscd_getserv_r.c: Likewise.
12339 * posix/getopt_init.c: Likewise.
12340 * posix/wordexp.c: Likewise.
12341 * stdio-common/_itoa.c: Likewise.
12342 * stdio-common/printf_fphex.c: Likewise.
12343 * stdio-common/vfprintf.c: Likewise.
12344 * string/_strerror.c: Likewise.
12345 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12346 * sysdeps/i386/i686/hp-timing.h: Likewise.
12347 * sysdeps/mach/_strerror.c: Likewise.
12348 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12349 * sysdeps/mach/hurd/sethostid.c: Likewise.
12350 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12351 * sysdeps/mach/xpg-strerror.c: Likewise.
12352 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12353 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12354 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12355 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12357 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12358 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12359 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12360 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12361 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12362 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12363 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12365 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12366 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12367 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12368 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12369 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12370 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12371 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12374 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12376 * stdio-common/_itoa.h: Moved to ...
12377 * sysdeps/generic/_itoa.h: Here.
12379 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12381 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12382 instead of "_itoa.h" and "_itowa.h".
12383 * stdio-common/vfprintf.: Likewise.
12385 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12387 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12389 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12390 (__signbit): Likwise.
12391 (llrintf): Likwise.
12394 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12396 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12399 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12401 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12402 OVERFLOW_EXCEPTION_OK.
12403 * math/libm-test.inc ("Philosophy"): Update comment about
12405 (OVERFLOW_EXCEPTION): Define.
12406 (OVERFLOW_EXCEPTION_OK): Likewise.
12407 (INVALID_EXCEPTION_OK): Renumber.
12408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12409 (IGNORE_ZERO_INF_SIGN): Likewise.
12410 (test_exceptions): Handle FE_OVERFLOW.
12411 (exp10_test): Expect overflow exceptions.
12412 (exp2_test): Likewise.
12413 (expm1_test): Likewise.
12414 (nextafter_test): Likewise.
12415 (pow_test): Likewise.
12416 (scalbn_test): Likewise.
12417 (scalbln_test): Likewise.
12419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12421 * sysdeps/x86_64/bits/atomic.h
12422 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12424 (atomic_exchange_acq): Likewise.
12425 (__arch_exchange_and_add_body): Likewise.
12426 (__arch_add_body): Likewise.
12427 (atomic_add_negative): Likewise.
12428 (atomic_add_zero): Likewise.
12430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12432 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12433 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12435 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12437 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12438 Check __x86_64__ instead of __WORDSIZE.
12440 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12442 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12444 2012-03-19 David S. Miller <davem@davemloft.net>
12446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12448 * sysdeps/sparc/fpu/fenv_private.h: New file.
12449 * sysdeps/sparc/fpu/math_private.h: Use it.
12450 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12452 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12453 (libc_feholdexcept_setroundl): Remove.
12454 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12456 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12457 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12459 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12461 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12462 int64_t instead of long int.
12463 (INSERT_WORDS64): Likwise.
12465 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12467 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12468 _Unwind_GetCFA return to _Unwind_Ptr first.
12470 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12473 * math/s_clog.c: Include <float.h>.
12474 (__clog): Scale large or subnormal inputs.
12475 * math/s_clogf.c: Likewise.
12476 * math/s_clogl.c: Likewise.
12477 * math/s_clog10.c: Include <float.h>.
12478 (M_LOG10_2): Define.
12479 (__clog10): Scale large or subnormal inputs.
12480 * math/s_clog10f.c: Likewise.
12481 * math/s_clog10l.c: Likewise.
12482 * math/libm-test.inc (clog_test): Add more tests.
12483 (clog10_test): Likewise.
12484 * sysdeps/i386/fpu/libm-test-ulps: Update.
12485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12488 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12490 * math/libm-test.inc (atan2_test): Add another test.
12492 * Makerules (common-objdir-compile): Remove.
12493 * sysdeps/unix/Makefile (config-generated): Do not add
12494 $(unix-generated) to variable.
12495 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12496 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12498 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12500 [generic bits/local_lim.h] (before-compile): Do not append to
12502 [generic bits/local_lim.h] (common-generated): Likewise.
12503 [generic sys/param.h] (before-compile): Do not append to variable.
12504 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12505 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12506 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12507 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12509 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12510 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12511 [generic sys/param.h] ($(addprefix
12512 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12513 [generic sys/param.h] (common-generated): Do not append to
12515 [generic sys/param.h] (sysdep_headers): Likewise.
12516 [generic bits/errno.h] (before-compile): Do not append to
12518 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12520 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12521 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12522 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12523 [generic bits/errno.h] (common-generated): Do not append to
12525 [generic bits/ioctls.h] (before-compile): Do not append to
12527 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12529 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12530 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12531 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12533 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12534 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12535 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12536 [generic bits/ioctls.h] (common-generated): Do not append to
12538 [generic sys/syscall.h] (syscall.h): Remove variable.
12539 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12541 [generic sys/syscall.h] (before-compile): Do not append to
12543 [generic sys/syscall.h] (common-generated): Likewise.
12544 * sysdeps/unix/errnos-tmpl.c: Remove file.
12545 * sysdeps/unix/errnos.awk: Likewise.
12546 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12547 * sysdeps/unix/ioctls.awk: Likewise.
12548 * sysdeps/unix/mk-local_lim.c: Likewise.
12549 * sysdeps/unix/snarf-ioctls: Likewise.
12551 2012-03-19 Richard Henderson <rth@twiddle.net>
12553 * sysdeps/i386/fpu/fenv_private.h: New file.
12554 * sysdeps/i386/fpu/math_private.h: Use it.
12555 (math_opt_barrier, math_force_eval): Remove.
12556 (libc_feholdexcept_setround_53bit): Remove.
12557 (libc_feupdateenv_53bit): Remove.
12558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12559 (math_opt_barrier, math_force_eval): Remove.
12560 (libc_feholdexcept): Remove.
12561 (libc_feholdexcept_setround): Remove.
12562 (libc_fetestexcept, libc_fesetenv): Remove.
12563 (libc_feupdateenv_test): Remove.
12564 (libc_feupdateenv, libc_feholdsetround): Remove.
12565 (libc_feresetround): Remove.
12567 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12568 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12570 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12571 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12572 (libc_feupdateenv_testl): New.
12573 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12574 (libc_feupdateenv_testf): New.
12575 (libc_feupdateenv): Use libc_feupdateenv_test.
12576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12577 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12579 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12580 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12581 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12582 (libc_feresetround_noex): New.
12583 (libc_feresetround_noexf): New.
12584 (libc_feresetround_noexl): New.
12585 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12586 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12587 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12588 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12591 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12593 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12595 SET_RESTORE_ROUND_NOEX.
12596 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12597 SET_RESTORE_ROUND_NOEXF.
12598 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12599 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12600 (libc_feholdsetroundf): New.
12601 (libc_feresetround, libc_feresetroundf): New.
12603 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12604 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12605 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12607 * sysdeps/generic/math_private.h: Include <fenv.h>.
12608 (default_libc_feholdexcept): New.
12609 (default_libc_feholdexcept_setround): New.
12610 (default_libc_fesetenv, default_libc_feupdateenv): New.
12611 (libc_feholdexcept): Only define if undefined.
12612 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12613 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12614 (libc_feholdexcept_setroundl): Likewise.
12615 (libc_feholdexcept_setround_53bit): Likewise.
12616 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12617 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12618 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12619 (libc_feupdateenv_53bit): Likewise.
12620 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12621 (libc_feholdexcept): Convert from macro to inline function.
12622 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12623 (libc_fesetenv, libc_feupdateenv): Likewise.
12625 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12626 not previously defined.
12627 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12628 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12629 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12630 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12631 * sysdeps/ieee754/flt-32/math_private.h: New file.
12632 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12633 math_private.h below SET_FLOAT_WORD.
12634 (__isnan, __isinf_ns, __finite): Remove.
12635 (__isnanf, __isinf_nsf, __finitef): Remove.
12637 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12641 2012-03-17 David S. Miller <davem@davemloft.net>
12644 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12647 2012-03-16 David S. Miller <davem@davemloft.net>
12649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12655 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12656 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12657 sysdep_routines when subdir is sysvipc.
12658 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12659 __getshmlba helper.
12661 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12663 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12665 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12668 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12671 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12672 (__lround): Renamed to ...
12673 (__llround): This. Replace long int with long long int.
12674 Define lround functions as aliases of llround functions.
12675 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12677 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12679 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12680 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12681 adresses to uintptr_t. Replace "long int" and "unsigned long
12682 int" with "greg_t" on va_arg.
12684 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12686 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12687 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12689 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12690 Move e_machine check before EI_CLASS check. Handle x32
12691 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12692 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12693 SKIP_EM_IA_64 and include
12694 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12696 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12697 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12698 (add_system_dir): New macro.
12700 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12701 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12703 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12714 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12716 * math/w_j0f.c (j0f): Likewise.
12718 * math/w_j0l.c (__j0l): Likewise.
12720 * math/w_j1.c (j1): Likewise.
12722 * math/w_j1f.c (j1f): Likewise.
12724 * math/w_j1l.c (__j1l): Likewise.
12726 * math/w_jn.c (jn): Likewise.
12728 * math/w_jnf.c (jnf): Likewise.
12730 * math/w_jnl.c (__jnl): Likewise.
12732 * math/libm-test.inc (j0_test): Add more tests.
12733 (j1_test): Likewise.
12734 (jn_test): Likewise. Add trailing semicolon to existing test.
12735 (y0_test): Likewise.
12736 (y1_test): Likewise.
12737 * sysdeps/i386/fpu/libm-test-ulps: Update.
12738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12743 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12744 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12745 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12746 (__tanl): Set errno for infinite argument.
12747 * sysdeps/i386/fpu/mptan.c: Remove.
12748 * sysdeps/i386/fpu/s_tan.S: Likewise.
12749 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12750 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12751 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12752 * math/libm-test.inc (tan_test): Add more tests and enable more
12753 tests for double and long double.
12754 * sysdeps/i386/fpu/libm-test-ulps: Update.
12755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12757 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12759 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12760 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12762 2012-03-16 Roland McGrath <roland@hack.frob.com>
12764 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12765 * configure.in: Use it for both main tree and add-ons.
12766 * configure: Regenerated.
12768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12770 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12772 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12774 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12778 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12779 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12784 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12786 != 0 for prec == 2.
12787 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12788 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12789 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12790 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12791 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12792 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12793 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12794 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12795 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12796 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12797 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12798 * math/libm-test.inc (cos_test): Add more tests and enable more
12799 tests for long double.
12800 (sin_test): Likewise.
12801 (sincos_test): Likewise.
12802 * sysdeps/i386/fpu/libm-test-ulps: Update.
12803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12805 2012-03-16 David S. Miller <davem@davemloft.net>
12807 * sysdeps/sparc/fpu/math_private.h: New file.
12809 2012-03-15 David S. Miller <davem@davemloft.net>
12811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12825 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12826 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12828 * sysdeps/sparc/sparc-ifunc.h: New file.
12829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12861 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12862 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12874 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12876 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12880 2012-03-15 Andreas Jaeger <aj@suse.de>
12883 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12884 ieee754/flt-32 implementation for sin, cos and sincos.
12885 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12886 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12887 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12888 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12889 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12890 ieee754/flt-32 implementation for tan.
12892 * math/libm-test.inc (cos_test): Enable some large input tests for
12894 (sin_test): Likewise.
12895 (sincos_test): Likewise.
12896 (tan_test): Add tests for large input.
12898 * sysdeps/i386/fpu/libm-test-ulps: Update.
12900 2012-03-15 Andreas Jaeger <aj@suse.de>
12903 * math/libm-test.inc (cos_test): Add more test cases.
12904 (sin_test): Likewise.
12905 (sincos_test): Likewise.
12907 2012-03-15 Andreas Jaeger <aj@suse.de>
12910 * math/libm-test.inc (cos_test): Add a test case for large input
12912 (sin_test): Likewise.
12913 (sincos_test): Likewise.
12915 2012-03-15 Andreas Jaeger <aj@suse.de>,
12916 Joseph Myers <joseph@codesourcery.com>
12919 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12920 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12921 * sysdeps/i386/fpu/branred.c: Likewise.
12922 * sysdeps/i386/fpu/dosincos.c: Likewise.
12923 * sysdeps/i386/fpu/mpa.c: Likewise.
12924 * sysdeps/i386/fpu/s_cos.S: Likewise.
12925 * sysdeps/i386/fpu/s_sin.S: Likewise.
12926 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12927 * sysdeps/i386/fpu/sincos32.c: Likewise.
12929 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12931 (libc_feupdateenv_53bit): Define.
12932 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12934 (libc_feupdateenv_53bit): Define.
12936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12937 53 bit (without extend i386 double precision).
12939 * math/libm-test.inc (sincos_test): Add tests for large input.
12943 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12945 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12949 2012-03-15 David S. Miller <davem@davemloft.net>
12951 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12952 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12953 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12954 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12979 fmin/fmax sysdep routines.
12980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12982 2012-03-14 David S. Miller <davem@davemloft.net>
12984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12991 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13010 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13011 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13061 * sysdeps/sparc/configure.in: New file.
13062 * sysdeps/sparc/configure: Generate.
13063 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13064 * configure: Regenerate.
13065 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13066 * config.make.in (have-as-vis3): New.
13067 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13068 available use -Av9d instead of -Av9a.
13069 * sysdeps/sparc/sparc64/Makefile: Likewise.
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13085 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13086 fzeros/fnegs to load 0x80000000 into a float register instead of
13088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13090 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13094 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13095 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13096 ($(inst_includedir)/bits/syscall.h): Remove rule.
13097 ($(objpfx)bits/syscall.d): Include instead of
13098 $(objpfx)syscall-list.d.
13099 (generated): Change syscall-list.h and syscall-list.d to
13100 bits/syscall.h and bits/syscall.d.
13102 2012-03-14 Roland McGrath <roland@hack.frob.com>
13105 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13107 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13110 * math/s_csqrt.c: Include <float.h>.
13111 (__csqrt): Scale large or subnormal inputs.
13112 * math/s_csqrtf.c: Likewise.
13113 * math/s_csqrtl.c: Likewise.
13114 * math/libm-test.inc (csqrt_test): Add more tests.
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13119 * math/libm-test.inc (hypot_test): Add more tests.
13121 2012-03-13 David S. Miller <davem@davemloft.net>
13124 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13125 double-precision for the calculation instead of scaling.
13127 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13129 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13130 manipulate bits before adding and subtracting TWO52[sx].
13131 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13134 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13136 2012-03-13 David S. Miller <davem@davemloft.net>
13138 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13139 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13141 rtld-global-offsets.h
13142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13144 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13147 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13149 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13150 'err' in the ifdef scope in which it is actually used.
13152 * nss/nss_db/db-init.c: Include string.h
13154 2012-03-12 David S. Miller <davem@davemloft.net>
13156 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13157 masking out of the most significant byte of random value used.
13158 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13159 Fix coding style in previous change.
13161 * sysdeps/unix/sysv/linux/kernel-features.h
13162 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13163 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13165 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13168 2012-03-11 David S. Miller <davem@davemloft.net>
13170 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13171 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13173 for 'resultvar' otherwise things get truncated on 64-bit.
13175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13176 Fix masking out of the most significant byte of random value used.
13178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13180 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13184 2012-03-09 David S. Miller <davem@davemloft.net>
13186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13187 variables with appropriate CPP guards.
13188 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13189 frame pointer, not the stack pointer. Correct layout comments. Fix test
13190 on resulting framesize and the management of the outregs buffer for pltexit.
13191 Preserve floating point return values across _dl_call_pltexit call.
13192 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13193 framesize and the management of the outregs buffer for pltexit.
13194 Preserve floating point return values across _dl_call_pltexit
13196 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13197 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13198 (print_exit): Fix format string for return register value.
13200 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13202 * sunrpc/Makefile (others): Add rpcgen.
13203 ($(objpfx)rpcgen): Remove special build rule and dependency on
13205 * sunrpc/rpcgen.c: New file.
13207 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13210 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13211 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13212 * sysdeps/i386/crti.S: Likewise.
13213 * sysdeps/i386/crtn.S: Likewise.
13214 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13215 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13216 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13217 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13218 * sysdeps/sh/crti.S: Likewise.
13219 * sysdeps/sh/crtn.S: Likewise.
13220 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13223 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13225 * locale/programs/locfile-kw.gperf: Likewise.
13226 * locale/programs/charmap-kw.h: Regenerated.
13227 * locale/programs/locfile-kw.h: Likewise.
13230 * intl/plural.y: Replace FSF snail mail address with URL.
13231 * intl/plural.c: Regenerated.
13233 2012-03-09 Richard Henderson <rth@twiddle.net>
13235 * include/math_private.h: Remove file.
13236 * math/math_private.h: Move file ...
13237 * sysdeps/generic/math_private.h: ... here.
13239 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13240 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13241 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13243 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13244 and <math_private.h>.
13245 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13246 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13247 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13248 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13249 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13266 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13333 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13334 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13335 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13336 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13338 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13339 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13340 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13341 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13342 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13343 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13345 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13346 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13347 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13348 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13350 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13351 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13352 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13357 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13358 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13359 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13360 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13362 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13363 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13364 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13365 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13366 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13367 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13368 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13369 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13372 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13373 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13374 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13376 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13377 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13378 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13379 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13380 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13382 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13383 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13387 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13388 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13389 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13390 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13391 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13392 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13393 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13394 * sysdeps/ieee754/k_standard.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13544 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13545 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13555 * sysdeps/ieee754/s_lib_version.c: Likewise.
13556 * sysdeps/ieee754/s_matherr.c: Likewise.
13557 * sysdeps/ieee754/s_signgam.c: Likewise.
13558 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13559 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13560 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13561 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13562 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13563 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13564 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13565 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13566 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13567 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13568 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13569 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13570 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13571 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13572 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13573 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13575 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13576 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13578 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13580 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13582 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13583 * sunrpc/rpc_main.c: Likewise.
13584 * sunrpc/rpc_svcout.c: Likewise.
13586 2012-03-09 David S. Miller <davem@davemloft.net>
13588 * include/math_private.h: New file.
13590 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13592 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13593 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13594 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13595 from <bits/socket_type.h>.
13596 (enum __socket_type): Don't define here.
13597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13599 bits/socket_type.h.
13602 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13603 checking __USE_GNU.
13605 * Makerules ($(inst_includedir)/%.h): New rule.
13606 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13607 (install-others): Remove variable setting.
13608 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13610 2012-03-08 Richard Henderson <rth@twiddle.net>
13612 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13613 from macro to inline function; merge with the
13614 !__LIBC_INTERNAL_MATH_INLINES version.
13615 (__ieee754_sqrtf): Likewise.
13617 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13618 to inline function.
13619 (__rintf, __floor, __floorf): Likewise.
13621 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13622 macro to inline function.
13623 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13625 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13626 not <math/math_private.h>.
13628 2012-03-08 David S. Miller <davem@davemloft.net>
13630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13632 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13634 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13636 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13638 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13639 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13641 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13643 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13644 be defined individually, they must be defined as a block. Define
13645 S for printing a string instead of hidint the different by using a
13646 macro for adding the 'l'.
13647 * stdio-common/tst-fphex-wide.c: Adjust.
13649 2012-03-07 Marek Polacek <polacek@redhat.com>
13651 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13653 2012-03-08 Marek Polacek <polacek@redhat.com>
13656 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13657 * stdio-common/tst-fphex.c: Define a few macros to make the
13658 test reusable. Use them.
13659 * stdio-common/tst-fphex-wide.c: New file.
13661 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13664 * manual/macros.texi (gnusystems): New macro.
13665 (nongnusystems): Likewise.
13666 (gnulinuxhurdsystems): Likewise.
13667 (gnuhurdsystems): Likewise..
13668 (gnulinuxsystems): Likewise.
13669 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13670 variants of the GNU system, not "GNU system".
13671 * manual/conf.texi: Likewise.
13672 * manual/errno.texi: Likewise. Update example of errno macro
13674 * manual/filesys.texi: Likewise.
13675 (getumask): Document as specific to GNU/Hurd.
13676 * manual/install.texi: Likewise. Reword some references to
13678 * manual/intro.texi: Likewise.
13679 * manual/io.texi: Likewise.
13680 (File Name Portability): Detail which constraints are inapplicable
13681 to all GNU systems and which are only inapplicable to GNU/Hurd.
13682 * manual/job.texi: Likewise.
13683 * manual/llio.texi: Likewise.
13684 (O_NOCTTY): Document as present on GNU/Linux.
13685 * manual/maint.texi: Likewise.
13686 * manual/memory.texi: Likewise.
13687 * manual/pattern.texi: Likewise.
13688 * manual/pipe.texi: Likewise.
13689 * manual/process.texi: Likewise.
13690 * manual/resource.texi: Likewise.
13691 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13693 * manual/setjmp.texi: Likewise.
13694 * manual/signal.texi: Likewise.
13695 * manual/startup.texi: Likewise.
13696 * manual/stdio.texi: Likewise.
13697 * manual/terminal.texi: Likewise.
13698 (ONLCR): Document as POSIX.
13699 (OXTABS): Document availability on GNU/Linux as XTABS.
13700 (ONOEOT): Document availability separately from other bits.
13701 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13702 * manual/time.texi: Likewise.
13703 * manual/users.texi: Likewise.
13704 * INSTALL: Regenerated.
13705 * sysdeps/gnu/errlist.c: Regenerated.
13707 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13708 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13709 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13711 * configure: Regenerated.
13713 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13715 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13716 default includes instead of AC_HEADER_CHECK.
13717 * sysdeps/i386/configure: Regenerated.
13720 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13721 * math/s_cacoshf.c (__cacoshf): Likewise.
13722 * math/s_cacoshl.c (__cacoshl): Likewise.
13723 * math/s_casinh.c (__casinh): Set signs of result from argument.
13724 * math/s_casinhf.c (__casinhf): Likewise.
13725 * math/s_casinhl.c (__casinhl): Likewise.
13726 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13727 (casinh_test): Add more tests.
13728 * sysdeps/i386/fpu/libm-test-ulps: Update.
13729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13731 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13733 * po/zh_TW.po: Update from translation team.
13735 * login/Makefile (distribute): Remove variable.
13736 * catgets/Makefile: Likewise.
13737 * mach/Makefile: Likewise.
13738 * malloc/Makefile: Likewise.
13739 * misc/Makefile: Likewise.
13740 * iconv/Makefile: Likewise.
13741 * nscd/Makefile: Likewise.
13742 * hurd/Makefile: Likewise.
13743 * manual/Makefile: Likewise.
13744 * locale/Makefile: Likewise.
13745 * intl/Makefile: Likewise.
13746 * conform/Makefile: Likewise.
13747 * nss/Makefile: Likewise.
13748 * time/Makefile: Likewise.
13749 * soft-fp/Makefile: Likewise.
13750 * dirent/Makefile: Likewise.
13751 * gmon/Makefile: Likewise.
13752 * po/Makefile: Likewise.
13753 * rt/Makefile: Likewise.
13754 * socket/Makefile: Likewise.
13755 * math/Makefile: Likewise.
13756 * signal/Makefile: Likewise.
13757 * debug/Makefile: Likewise.
13758 * elf/Makefile: Likewise.
13759 * timezone/Makefile: Likewise.
13760 * stdlib/Makefile: Likewise.
13761 * iconvdata/Makefile: Likewise.
13762 * sunrpc/Makefile: Likewise.
13763 * io/Makefile: Likewise.
13764 * argp/Makefile: Likewise.
13765 * inet/Makefile: Likewise.
13766 * hesiod/Makefile: Likewise.
13767 * grp/Makefile: Likewise.
13768 * csu/Makefile: Likewise.
13769 * wctype/Makefile: Likewise.
13770 * crypt/Makefile: Likewise.
13771 * libio/Makefile: Likewise.
13772 * string/Makefile: Likewise.
13773 * nis/Makefile: Likewise.
13774 * resolv/Makefile: Likewise.
13775 * stdio-common/Makefile: Likewise.
13776 * wcsmbs/Makefile: Likewise.
13777 * dlfcn/Makefile: Likewise.
13778 * posix/Makefile: Likewise.
13781 * timezone/Makefile: Don't install timezone files, just the programs
13784 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13786 * nss/databases.def: Add missing gshadow entry.
13788 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13790 2012-03-06 Marek Polacek <polacek@redhat.com>
13793 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13794 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13795 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13796 * stdio-common/tst-long-dbl-fphex.c: New file.
13798 2012-03-06 David S. Miller <davem@davemloft.net>
13800 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13801 (set_obp_int): New function.
13802 (get_obp_int): New function.
13803 (__get_clockfreq_via_dev_openprom): Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13805 Avoid unused variable warnings on 'val' and use builtin_expect.
13806 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13808 (INLINE_CLONE_SYSCALL): Likewise.
13810 2012-03-05 David S. Miller <davem@davemloft.net>
13812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13814 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13819 only for |x| >= 40.
13820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13822 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13825 Replace gettimeofday with __vdso_gettimeofday.
13827 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13828 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13829 __vdso_clock_gettime and __vdso_getcpu.
13831 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13832 time with __vdso_time.
13834 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13836 * manual/lang.texi (size_t): Note types to which size_t may be
13837 equivalent with the GNU C Library, but do not describe when
13838 differences between them are significant.
13840 2012-03-05 Andreas Jaeger <aj@suse.de>
13842 * sysdeps/i386/fpu/libm-test-ulps: Update.
13844 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13847 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13848 (__ieee754_pow): Save and restore rounding mode and use
13849 round-to-nearest for main computations.
13850 * math/libm-test.inc (pow_test_tonearest): New function.
13851 (pow_test_towardzero): Likewise.
13852 (pow_test_downward): Likewise.
13853 (pow_test_upward): Likewise.
13854 (main): Call the new functions.
13855 * sysdeps/i386/fpu/libm-test-ulps: Update.
13856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13859 * math/libm-test.inc (cosh_test_tonearest): New function.
13860 (cosh_test_towardzero): Likewise.
13861 (cosh_test_downward): Likewise.
13862 (cosh_test_upward): Likewise.
13863 (sinh_test_tonearest): Likewise.
13864 (sinh_test_towardzero): Likewise.
13865 (sinh_test_downward): Likewise.
13866 (sinh_test_upward): Likewise.
13867 (main): Call the new functions.
13868 * sysdeps/i386/fpu/libm-test-ulps: Update.
13869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13871 2012-03-05 Tom de Vries <tom@codesourcery.com>
13873 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13874 default stack guard is set in last bytes.
13875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13877 2012-03-05 Kees Cook <keescook@chromium.org>
13879 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13882 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13883 possibly allocate from heap instead of stack.
13884 * stdio-common/bug-vfprintf-nargs.c: New file.
13885 * stdio-common/Makefile (tests): Add nargs overflow test.
13887 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13891 2012-03-03 Marek Polacek <polacek@redhat.com>
13893 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13894 * math/math_private.h: Likewise.
13895 * stdlib/tst-strtod.c: Likewise.
13896 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13897 * sysdeps/x86_64/bits/atomic.h: Likewise.
13899 2012-03-02 David S. Miller <davem@davemloft.net>
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13905 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13906 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13907 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13908 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13910 2012-03-02 Roland McGrath <roland@hack.frob.com>
13913 * manual/examples/README: New file, says the example source files
13914 can be used under GPL>=2.
13915 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13916 line containing just "*/".
13917 * manual/examples/add.c: Add copyright header (GPL>=2).
13918 * manual/examples/argp-ex1.c: Likewise.
13919 * manual/examples/argp-ex2.c: Likewise.
13920 * manual/examples/argp-ex3.c: Likewise.
13921 * manual/examples/argp-ex4.c: Likewise.
13922 * manual/examples/atexit.c: Likewise.
13923 * manual/examples/db.c: Likewise.
13924 * manual/examples/dir.c: Likewise.
13925 * manual/examples/dir2.c: Likewise.
13926 * manual/examples/execinfo.c: Likewise.
13927 * manual/examples/filecli.c: Likewise.
13928 * manual/examples/filesrv.c: Likewise.
13929 * manual/examples/fmtmsgexpl.c: Likewise.
13930 * manual/examples/genpass.c: Likewise.
13931 * manual/examples/inetcli.c: Likewise.
13932 * manual/examples/inetsrv.c: Likewise.
13933 * manual/examples/isockad.c: Likewise.
13934 * manual/examples/longopt.c: Likewise.
13935 * manual/examples/memopen.c: Likewise.
13936 * manual/examples/memstrm.c: Likewise.
13937 * manual/examples/mkfsock.c: Likewise.
13938 * manual/examples/mkisock.c: Likewise.
13939 * manual/examples/mygetpass.c: Likewise.
13940 * manual/examples/pipe.c: Likewise.
13941 * manual/examples/popen.c: Likewise.
13942 * manual/examples/rprintf.c: Likewise.
13943 * manual/examples/search.c: Likewise.
13944 * manual/examples/select.c: Likewise.
13945 * manual/examples/setjmp.c: Likewise.
13946 * manual/examples/sigh1.c: Likewise.
13947 * manual/examples/sigusr.c: Likewise.
13948 * manual/examples/stpcpy.c: Likewise.
13949 * manual/examples/strdupa.c: Likewise.
13950 * manual/examples/strftim.c: Likewise.
13951 * manual/examples/strncat.c: Likewise.
13952 * manual/examples/subopt.c: Likewise.
13953 * manual/examples/swapcontext.c: Likewise.
13954 * manual/examples/termios.c: Likewise.
13955 * manual/examples/testopt.c: Likewise.
13956 * manual/examples/testpass.c: Likewise.
13957 * manual/examples/timeval_subtract.c: Likewise.
13960 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13962 * manual/timeval_subtract.c.texi: ... here, new file.
13964 2012-03-02 David S. Miller <davem@davemloft.net>
13966 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13968 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13971 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13972 (__sin): Save and restore rounding mode and use round-to-nearest
13973 for all computations.
13974 (__cos): Save and restore rounding mode and use round-to-nearest
13975 for all computations.
13976 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13978 (tan): Save and restore rounding mode and use round-to-nearest for
13980 * math/libm-test.inc (cos_test_tonearest): New function.
13981 (cos_test_towardzero): Likewise.
13982 (cos_test_downward): Likewise.
13983 (cos_test_upward): Likewise.
13984 (sin_test_tonearest): Likewise.
13985 (sin_test_towardzero): Likewise.
13986 (sin_test_downward): Likewise.
13987 (sin_test_upward): Likewise.
13988 (tan_test_tonearest): Likewise.
13989 (tan_test_towardzero): Likewise.
13990 (tan_test_downward): Likewise.
13991 (tan_test_upward): Likewise.
13992 (main): Call the new functions.
13993 * sysdeps/i386/fpu/libm-test-ulps: Update.
13994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13998 small n, then large n, before computing and testing k+n.
13999 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14004 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14005 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14006 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14007 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14012 * math/libm-test.inc (scalbn_test): Add more tests.
14013 (scalbln_test): Likewise.
14015 * manual/filesys.texi (mode_t): Describe constraints on size and
14016 signedness, not exact equivalence to a particular type.
14018 (ino64_t): Likewise.
14020 (nlink_t): Likewise.
14021 (blkcnt_t): Likewise.
14022 (blkcnt64_t): Likewise.
14023 * manual/llio.texi (off_t): Likewise.
14026 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14027 (__ieee754_exp): Save and restore rounding mode and use
14028 round-to-nearest for all computations.
14029 * math/libm-test.inc (exp_test_tonearest): New function.
14030 (exp_test_towardzero): Likewise.
14031 (exp_test_downward): Likewise.
14032 (exp_test_upward): Likewise.
14033 (main): Call the new functions.
14034 * sysdeps/i386/fpu/libm-test-ulps: Update.
14035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037 2012-03-01 Chris Demetriou <cgd@google.com>
14039 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14040 have predictable order.
14042 2012-03-01 David S. Miller <davem@davemloft.net>
14044 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14046 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14047 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14048 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14049 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14051 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14052 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14053 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14055 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14056 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14057 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14058 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14059 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14064 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14065 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14067 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14068 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14069 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14070 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14071 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14074 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14075 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14076 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14077 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14078 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14080 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14081 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14083 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14084 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14085 * sysdeps/sparc/elf/configure: Regenerated.
14087 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14089 * configure.in (AS, LD): Require binutils 2.20 or later.
14090 * configure: Regenerated.
14091 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14092 as required minimum version.
14093 * INSTALL: Regenerated.
14097 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14098 before squaring exponent.
14099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14100 bottom long double and 27 bits of top long double before squaring
14102 * math/libm-test.inc (erfc_test): Add more tests.
14103 * sysdeps/i386/fpu/libm-test-ulps: Update.
14104 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107 2012-03-01 Kai Tietz <ktietz@redhat.com>
14109 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14110 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14111 containing bit-fields.
14112 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14113 * soft-fp/single.h (_FP_UNION_S): Likewise.
14114 * soft-fp/double.h (_FP_UNION_D): Likewise.
14116 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14119 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14120 not include ../strcmp.S.
14121 [USE_AS_STRNCASECMP_L]: Likewise.
14122 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14123 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14124 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14125 (__strncasecmp_l_ia32): Define as alias to
14126 __strncasecmp_l_nonascii.
14129 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14133 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136 2012-02-29 Jeff Law <law@redhat.com>
14138 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14139 out of bounds read.
14141 2012-02-29 Marek Polacek <polacek@redhat.com>
14144 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14145 * elf/Makefile: Add rules to run tst-unused-dep.out.
14147 2012-02-28 David S. Miller <davem@davemloft.net>
14149 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14150 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14152 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14153 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14154 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14156 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14158 * math/libm-test.inc (llround_test): Move one test from
14159 lround_test. Use TEST_f_L in moved test.
14160 (lround_test): Move misplaced test to llround_test. Add testcase
14163 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14165 * sysdeps/x86_64/fpu/e_expf.S: New file.
14166 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14168 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14171 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14172 of remain_len that may cause incomplete multi-byte character and
14174 * posix/bug-regex33.c: New file.
14175 * posix/Makefile (tests): Add bug-regex33.
14177 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14179 * manual/macros.texi: New file.
14180 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14181 * manual/libc.texinfo: Include macros.texi.
14182 * manual/creatute.texi: Likewise.
14183 * manual/install.texi: Likewise.
14184 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14185 @glibcadj{} in references to the GNU C Library.
14186 * manual/charset.texi: Likewise.
14187 * manual/conf.texi: Likewise.
14188 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14189 when not using those macros.
14190 * manual/creature.texi: Likewise.
14191 * manual/crypt.texi: Likewise.
14192 * manual/errno.texi: Likewise.
14193 * manual/filesys.texi: Likewise.
14194 * manual/header.texi: Likewise.
14195 * manual/install.texi: Likewise.
14196 * manual/intro.texi: Likewise.
14197 * manual/io.texi: Likewise.
14198 * manual/job.texi: Likewise.
14199 * manual/lang.texi: Likewise.
14200 * manual/libc.texiinfo: Likewise.
14201 * manual/llio.texi: Likewise.
14202 * manual/locale.texi: Likewise.
14203 * manual/maint.texi: Likewise.
14204 * manual/math.texi: Likewise.
14205 * manual/memory.texi: Likewise.
14206 * manual/message.texi: Likewise.
14207 * manual/nss.texi: Likewise.
14208 * manual/pattern.texi: Likewise.
14209 * manual/process.texi: Likewise.
14210 * manual/resource.texi: Likewise.
14211 * manual/search.texi: Likewise.
14212 * manual/setjmp.texi: Likewise.
14213 * manual/signal.texi: Likewise.
14214 * manual/socket.texi: Likewise.
14215 * manual/startup.texi: Likewise.
14216 * manual/stdio.texi: Likewise.
14217 * manual/string.texi: Likewise.
14218 * manual/sysinfo.texi: Likewise.
14219 * manual/syslog.texi: Likewise.
14220 * manual/terminal.texi: Likewise.
14221 * manual/time.texi: Likewise.
14222 * manual/users.texi: Likewise.
14223 * INSTALL: Regenerated.
14224 * NOTES: Regenerated.
14225 * sysdeps/gnu/errlist.c: Regenerated.
14227 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14229 * include/dirent.h: Include <dirstream.h> before
14232 2012-02-28 David S. Miller <davem@davemloft.net>
14234 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14235 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14237 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14239 2012-02-27 David S. Miller <davem@davemloft.net>
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14243 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14244 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14247 frame pointer instead of stack pointer relative arg slot.
14248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14252 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14255 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14257 2012-02-27 David S. Miller <davem@davemloft.net>
14259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14263 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14264 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14265 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14266 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14268 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14270 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14271 later. Allow versions 5-9.
14272 * configure: Regenerated.
14273 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14274 required minimum version and 4.6 as recommended version. Do not
14275 mention bugs in GCC 2.7 and 2.8.
14276 * INSTALL: Regenerated.
14278 2012-02-27 David S. Miller <davem@davemloft.net>
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14284 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14285 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14286 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14287 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14290 manipulate bits before adding and subtracting TWO112[sx].
14291 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14293 2012-02-27 Roland McGrath <roland@hack.frob.com>
14296 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14297 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14298 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14299 being in POSIX, because they are in 1003.1-2008.
14301 * rt/tst-aio.c: Include <fcntl.h>.
14302 * rt/tst-aio7.c: Likewise.
14303 * rt/tst-aio64.c: Likewise.
14305 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14307 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14309 * manual/install.texi (--with-headers): Describe headers as
14310 interface headers, not private headers.
14311 (Specific advice for GNU/Linux systems): Describe use of headers
14312 from "make headers_install", not private headers from older
14314 * INSTALL: Regenerated.
14315 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14317 * sysdeps/unix/sysv/linux/configure: Regenerated.
14319 * manual/llio.texi (fclean): Remove documentation.
14321 * manual/Makefile (libc-texi-generated): New variable. Include
14323 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14324 $(libc-texi-generated), not duplicated list of files.
14325 (version.texi, stamp-version): New rules.
14326 (realclean): Remove $(libc-texi-generated), not individual files
14327 from that list. Do not remove dir-add.texinfo.
14328 * manual/libc.texinfo: Comment out uses of edition numbers and
14329 references to printed manual. Remove last-updated dates.
14330 (EDITION): Comment out.
14332 (VERSION, UPDATED): Remove.
14333 (version.texi): Include.
14335 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14337 * sysdeps/posix/spawni.c: Include <signal.h>.
14338 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14339 * sysdeps/pthread/aio_fsync.c: Likewise.
14341 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14343 * conform/Makefile (tests): Run only when not cross-compiling and
14344 when fast-check is not defined.
14346 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14347 * conform/data/limits.h-data: Fixes for POSIX2008.
14348 * conform/run-conformtest.sh: Run all tests.
14349 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14351 * include/bits/dlfcn.h: Likewise.
14352 * include/langinfo.h: Likewise.
14353 * include/monetary.h: Likewise.
14354 * include/sys/poll.h: Likewise.
14356 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14358 * posix/spawn.h: Define __need_sigset_t.
14359 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14360 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14361 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14362 to get sigevent_t only.
14363 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14364 only for __USE_GNU.
14365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14367 process_vm_writev only for __USE_GNU.
14368 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14370 * conform/Makefile: For now ignore errors from run-conformtest.
14371 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14372 POSIX to avoid namespace pollution. Don't prepend headers.
14373 * conform/data/aio.h-data: Fixes for POSIX testing.
14374 * conform/data/fcntl.h-data: Likewise.
14375 * conform/data/glob.h-data: Likewise.
14376 * conform/data/grp.h-data: Likewise.
14377 * conform/data/pthread.h-data: Likewise.
14378 * conform/data/pwd.h-data: Likewise.
14379 * conform/data/signal.h-data: Likewise.
14380 * conform/data/spawn.h-data: Likewise.
14381 * conform/data/stdio.h-data: Likewise.
14382 * conform/data/stdlib.h-data: Likewise.
14383 * conform/data/stropts.h-data: Likewise.
14384 * conform/data/sys/mman.h-data: Likewise.
14385 * conform/data/sys/stat.h-data: Likewise.
14386 * conform/data/sys/types.h-data: Likewise.
14387 * conform/data/sys/wait.h-data: Likewise.
14388 * conform/data/time.h-data: Likewise.
14389 * conform/data/unistd.h-data: Likewise.
14390 * conform/data/utime.h-data: Likewise.
14392 * io/sys/stat.h: fchmod was always in POSIX.
14393 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14394 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14395 * rt/aio.h: Define __need_timespec before including <time.h>.
14396 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14397 struct. Add forward declaration of pthread_attr_t and use it in
14399 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14401 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14402 always remove CLK_TCK definition.
14404 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14406 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14408 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14410 * conform/run-conformtest.sh: New file.
14411 * conform/Makefile: Run run-conformtest for tests.
14412 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14415 * conform/data/uchar.h-data: New file.
14416 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14417 * conform/data/arpa/inet.h-data: Likewise.
14418 * conform/data/assert.h-data: Likewise.
14419 * conform/data/complex.h-data: Likewise.
14420 * conform/data/cpio.h-data: Likewise.
14421 * conform/data/ctype.h-data: Likewise.
14422 * conform/data/dirent.h-data: Likewise.
14423 * conform/data/dlfcn.h-data: Likewise.
14424 * conform/data/errno.h-data: Likewise.
14425 * conform/data/fcntl.h-data: Likewise.
14426 * conform/data/float.h-data: Likewise.
14427 * conform/data/fmtmsg.h-data: Likewise.
14428 * conform/data/fnmatch.h-data: Likewise.
14429 * conform/data/ftw.h-data: Likewise.
14430 * conform/data/glob.h-data: Likewise.
14431 * conform/data/grp.h-data: Likewise.
14432 * conform/data/iconv.h-data: Likewise.
14433 * conform/data/inttypes.h-data: Likewise.
14434 * conform/data/langinfo.h-data: Likewise.
14435 * conform/data/libgen.h-data: Likewise.
14436 * conform/data/limits.h-data: Likewise.
14437 * conform/data/locale.h-data: Likewise.
14438 * conform/data/math.h-data: Likewise.
14439 * conform/data/monetary.h-data: Likewise.
14440 * conform/data/mqueue.h-data: Likewise.
14441 * conform/data/ndbm.h-data: Likewise.
14442 * conform/data/net/if.h-data: Likewise.
14443 * conform/data/netdb.h-data: Likewise.
14444 * conform/data/netinet/in.h-data: Likewise.
14445 * conform/data/nl_types.h-data: Likewise.
14446 * conform/data/poll.h-data: Likewise.
14447 * conform/data/pthread.h-data: Likewise.
14448 * conform/data/pwd.h-data: Likewise.
14449 * conform/data/regex.h-data: Likewise.
14450 * conform/data/sched.h-data: Likewise.
14451 * conform/data/search.h-data: Likewise.
14452 * conform/data/semaphore.h-data: Likewise.
14453 * conform/data/setjmp.h-data: Likewise.
14454 * conform/data/signal.h-data: Likewise.
14455 * conform/data/spawn.h-data: Likewise.
14456 * conform/data/stdarg.h-data: Likewise.
14457 * conform/data/stdio.h-data: Likewise.
14458 * conform/data/stdlib.h-data: Likewise.
14459 * conform/data/string.h-data: Likewise.
14460 * conform/data/strings.h-data: Likewise.
14461 * conform/data/stropts.h-data: Likewise.
14462 * conform/data/sys/ipc.h-data: Likewise.
14463 * conform/data/sys/mman.h-data: Likewise.
14464 * conform/data/sys/msg.h-data: Likewise.
14465 * conform/data/sys/resource.h-data: Likewise.
14466 * conform/data/sys/select.h-data: Likewise.
14467 * conform/data/sys/sem.h-data: Likewise.
14468 * conform/data/sys/shm.h-data: Likewise.
14469 * conform/data/sys/socket.h-data: Likewise.
14470 * conform/data/sys/stat.h-data: Likewise.
14471 * conform/data/sys/statvfs.h-data: Likewise.
14472 * conform/data/sys/time.h-data: Likewise.
14473 * conform/data/sys/timeb.h-data: Likewise.
14474 * conform/data/sys/times.h-data: Likewise.
14475 * conform/data/sys/types.h-data: Likewise.
14476 * conform/data/sys/uio.h-data: Likewise.
14477 * conform/data/sys/un.h-data: Likewise.
14478 * conform/data/sys/utsname.h-data: Likewise.
14479 * conform/data/sys/wait.h-data: Likewise.
14480 * conform/data/syslog.h-data: Likewise.
14481 * conform/data/tar.h-data: Likewise.
14482 * conform/data/termios.h-data: Likewise.
14483 * conform/data/utime.h-data: Likewise.
14484 * conform/data/utmpx.h-data: Likewise.
14485 * conform/data/varargs.h-data: Likewise.
14486 * conform/data/wchar.h-data: Likewise.
14487 * conform/data/wctype.h-data: Likewise.
14488 * conform/data/wordexp.h-data: Likewise.
14490 * include/stropts.h: New file.
14491 * include/uchar.h: New file.
14492 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14493 * include/assert.h: Likewise.
14494 * include/ctype.h: Likewise.
14495 * include/dirent.h: Likewise.
14496 * include/dlfcn.h: Likewise.
14497 * include/fcntl.h: Likewise.
14498 * include/fnmatch.h: Likewise.
14499 * include/glob.h: Likewise.
14500 * include/grp.h: Likewise.
14501 * include/libio.h: Likewise.
14502 * include/locale.h: Likewise.
14503 * include/math.h: Likewise.
14504 * include/net/if.h: Likewise.
14505 * include/netdb.h: Likewise.
14506 * include/netinet/in.h: Likewise.
14507 * include/pthread.h: Likewise.
14508 * include/pwd.h: Likewise.
14509 * include/regex.h: Likewise.
14510 * include/sched.h: Likewise.
14511 * include/search.h: Likewise.
14512 * include/setjmp.h: Likewise.
14513 * include/signal.h: Likewise.
14514 * include/stdio.h: Likewise.
14515 * include/stdlib.h: Likewise.
14516 * include/string.h: Likewise.
14517 * include/sys/cdefs.h: Likewise.
14518 * include/sys/mman.h: Likewise.
14519 * include/sys/msg.h: Likewise.
14520 * include/sys/resource.h: Likewise.
14521 * include/sys/select.h: Likewise.
14522 * include/sys/socket.h: Likewise.
14523 * include/sys/stat.h: Likewise.
14524 * include/sys/statvfs.h: Likewise.
14525 * include/sys/time.h: Likewise.
14526 * include/sys/times.h: Likewise.
14527 * include/sys/uio.h: Likewise.
14528 * include/sys/utsname.h: Likewise.
14529 * include/sys/wait.h: Likewise.
14530 * include/termios.h: Likewise.
14531 * include/time.h: Likewise.
14532 * include/ulimit.h: Likewise.
14533 * include/unistd.h: Likewise.
14534 * include/utime.h: Likewise.
14535 * include/wchar.h: Likewise.
14536 * include/wctype.h: Likewise.
14537 * include/wordexp.h: Likewise.
14539 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14541 * time/time.h: TIME_UTC must be a macro.
14542 Make timespec_get available for ISO C11 only as well.
14544 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14546 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14547 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14549 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14551 * configure.in: Use -o not -a in test for unsupported multi-arch.
14553 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14555 * manual/texinfo.tex: Update to version 2012-01-19.16.
14557 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14559 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14561 2012-02-24 Roland McGrath <roland@hack.frob.com>
14564 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14565 * manual/fdl-1.3.texi: New file.
14566 * manual/fdl-1.1.texi: File removed.
14569 * manual/libc.texinfo (FDL_VERSION): New @set.
14570 Use it for mention of FDL in cover text.
14571 (Documentation License): Use it in @include file name.
14573 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14574 Roland McGrath <roland@hack.frob.com>
14577 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14578 not LONG_LONG_MAX and LONG_LONG_MIN.
14579 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14580 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14582 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14584 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14588 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14589 manipulate bits before adding and subtracting TWO23[sx].
14590 * math/libm-test.inc (nearbyint_test): Add more tests.
14592 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14595 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14596 bits before adding and subtracting TWO23[sx].
14597 * math/libm-test.inc (rint_test): Add more tests.
14598 (rint_test_tonearest): Likewise.
14599 (rint_test_towardzero): Likewise.
14600 (rint_test_downward): Likewise.
14601 (rint_test_upward: Likewise.
14603 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14606 * include/stdc-predef.h: New file. Extracted from features.h.
14607 * include/features.h: Include stdc-predef.h.
14608 * Makefile (headers): Add stdc-predef.h.
14609 * CONFORMANCE (Compiler limitations): Update.
14611 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14613 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14615 2012-02-21 David S. Miller <davem@davemloft.net>
14617 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14618 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14620 2012-02-20 David S. Miller <davem@davemloft.net>
14622 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14623 using a normal save/restore sequence, rather than allocating a
14624 dummy stack frame just to store a frame pointer and restore.
14625 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14627 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14629 * manual/install.texi: Fix stray word in line-wrapped comment.
14631 2012-02-20 David S. Miller <davem@davemloft.net>
14633 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14634 both binutils and gcc support GOTDATA.
14636 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14637 "rd %pc" in the PIC register setup sequences.
14639 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14640 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14641 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14642 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14643 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14645 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14648 (SYSCALL_ERROR_HANDLER): Likewise.
14649 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14650 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14652 (SYSCALL_ERROR_HANDLER): Likewise.
14654 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14655 (HAVE_GCC_GOTDATA): New.
14656 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14657 relocation support in both binutils and gcc.
14658 * sysdeps/sparc/elf/configure: Regenerate.
14660 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14661 * sysdeps/sparc/sparc32/elf/configure: Delete.
14662 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14663 * sysdeps/sparc/sparc64/elf/configure: Delete.
14664 * sysdeps/sparc/elf/configure.in: New file.
14665 * sysdeps/sparc/elf/configure: Generate.
14667 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14668 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14669 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14670 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14671 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14673 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14675 * manual/install.texi: Do not mention specific glibc version
14677 * manual/libc.texinfo (VERSION, UPDATED): Update.
14678 (@copying): Use @copyright{} and range of years.
14680 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14683 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14684 [crti.S not in sysdirs] (generated): Do not append.
14685 [crti.S not in sysdirs] (omit-deps): Likewise.
14686 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14687 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14688 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14689 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14690 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14692 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14693 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14694 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14695 * csu/defs.awk: Remove file.
14696 * sysdeps/generic/initfini.c: Likewise.
14697 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14699 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14702 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14704 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14705 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14706 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14709 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14711 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14712 (__EPOLL_PACKED): Define to empty if not defined by
14714 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14718 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14720 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14721 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14722 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14723 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14725 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14729 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14731 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14734 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14735 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14738 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14743 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14745 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14746 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14748 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14750 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14753 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14755 * math/w_acos.c: Use non-signaling floating-point comparisons.
14756 * math/w_acosf.c: Likewise.
14757 * math/w_acosh.c: Likewise.
14758 * math/w_acoshf.c: Likewise.
14759 * math/w_acoshl.c: Likewise.
14760 * math/w_acosl.c: Likewise.
14761 * math/w_asin.c: Likewise.
14762 * math/w_asinf.c: Likewise.
14763 * math/w_asinl.c: Likewise.
14764 * math/w_atanh.c: Likewise.
14765 * math/w_atanhf.c: Likewise.
14766 * math/w_atanhl.c: Likewise.
14767 * math/w_exp2.c: Likewise.
14768 * math/w_exp2f.c: Likewise.
14769 * math/w_exp2l.c: Likewise.
14770 * math/w_j0.c: Likewise.
14771 * math/w_j0f.c: Likewise.
14772 * math/w_j0l.c: Likewise.
14773 * math/w_j1.c: Likewise.
14774 * math/w_j1f.c: Likewise.
14775 * math/w_j1l.c: Likewise.
14776 * math/w_jn.c: Likewise.
14777 * math/w_jnf.c: Likewise.
14778 * math/w_log.c: Likewise.
14779 * math/w_log10.c: Likewise.
14780 * math/w_log10f.c: Likewise.
14781 * math/w_log10l.c: Likewise.
14782 * math/w_log2.c: Likewise.
14783 * math/w_log2f.c: Likewise.
14784 * math/w_log2l.c: Likewise.
14785 * math/w_logf.c: Likewise.
14786 * math/w_logl.c: Likewise.
14787 * math/w_sqrt.c: Likewise.
14788 * math/w_sqrtf.c: Likewise.
14789 * math/w_sqrtl.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14794 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14796 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14799 * manual/string.texi (strnlen): Use correct parameter name in
14800 equivalent expression.
14802 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14805 * manual/users.texi (seteuid): Consistently use neweuid for
14808 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14811 * manual/nss.texi (Services in the NSS configuration): Correct
14812 list of services in example configuration file.
14814 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14817 * manual/arith.texi: Remove statements about negative zero
14818 behaving identically to zero.
14820 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14823 * manual/install.texi: Do not document upgrading from libc5.
14825 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14828 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14830 2012-02-18 David S. Miller <davem@davemloft.net>
14832 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14833 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14834 %o7 across the call.
14835 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14838 SETUP_PIC_REG_LEAF.
14839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14840 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14841 * sysdeps/sparc/crtn.S: Likewise.
14843 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14845 * aout/Makefile: Remove.
14847 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14850 * manual/examples/argp-ex1.c (main): Format definition in GNU
14852 * manual/examples/argp-ex2.c (main): Likewise.
14853 * manual/examples/argp-ex3.c (main): Likewise.
14854 * manual/examples/argp-ex4.c (main): Likewise.
14855 * manual/examples/longopt.c (main): Use new-style prototype
14857 * manual/examples/strncat.c (main): Specify return type and use
14858 (void) for arguments.
14859 * manual/examples/subopt.c (main): Use char **argv argument.
14861 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14864 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14867 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14870 * manual/string.texi (strchr): Change when strchrnul is
14873 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14876 * manual/locale.texi (setlocale): Document LOCPATH.
14878 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14881 * manual/process.texi (execle): Move @dots{} before last argument.
14883 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14886 * manual/charset.texi (Generic Charset Conversion): Fix typo
14887 (LC_TYPE -> LC_CTYPE).
14889 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14892 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14893 (scalbnf): Likewise.
14894 (scalbnl): Likewise.
14895 (scalbln): Likewise.
14896 (scalblnf): Likewise.
14897 (scalblnl): Likewise.
14898 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14899 (vwarnx): Likewise.
14902 * manual/filesys.texi (telldir): Use braces around return type.
14903 * manual/llio.texi (mmap): Add space after comma.
14904 (mmap64): Likewise.
14905 * manual/math.texi (jn): Use @var{} on parameter names.
14911 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14913 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14915 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14916 (sched_get_priority_max): Likewise.
14917 * manual/signal.texi (sigvec): Add space after comma.
14918 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14920 (if_indextoname): Likewise.
14921 (if_freenameindex): Likewise.
14922 (sendto): Use ',' instead of '.' in prototype.
14923 * manual/startup.texi (syscall): Use @dots{} instead of literal
14925 * manual/stdio.texi (__fpending): Separate initial words of
14926 paragraph from @deftypefun line.
14927 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14929 (vsyslog): Use @var{} on parameter names.
14930 * manual/terminal.texi (stty): Use @var{} on parameter names.
14931 * manual/users.texi (getutmp): Use @var{} on parameter names.
14932 (getutmpx): Likewise.
14934 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14937 * manual/stdio.texi (fopen): Fix typos in description of
14940 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14943 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14944 get clock_id definition.
14946 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14949 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14950 (madvise): Cast every argument to void on its own.
14952 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14955 * manual/startup.texi (Exit Status): Fix typo.
14957 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14960 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14961 * manual/examples/argp-ex2.c: Likewise.
14962 * manual/examples/argp-ex3.c: Likewise.
14964 2012-02-16 Richard Henderson <rth@redhat.com>
14966 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14967 * sysdeps/s390/s390-32/initfini.c: Remove.
14968 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14969 * sysdeps/s390/s390-64/initfini.c: Remove.
14971 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14973 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14974 compiler output for sysdeps/generic/initfini.c.
14975 * sysdeps/sh/elf/initfini.c: Remove file.
14977 2012-02-16 David S. Miller <davem@davemloft.net>
14980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14982 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14983 * sysdeps/sparc/crti.S: New file.
14984 * sysdeps/sparc/crtn.S: New file.
14985 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14986 * sysdeps/sparc/sparc64/Makefile: Likewise.
14988 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14991 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14993 2012-02-15 Roland McGrath <roland@hack.frob.com>
14996 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14998 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14999 (write, read, close): Likewise.
15000 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15002 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15004 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15005 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15006 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15007 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15009 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15013 2012-02-14 Marek Polacek <polacek@redhat.com>
15015 * sysdeps/x86_64/crti.S: New file.
15016 * sysdeps/x86_64/crtn.S: New file.
15017 * sysdeps/x86_64/elf/initfini.c: Remove file.
15019 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15021 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15022 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15023 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15024 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15026 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15030 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15032 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15033 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15035 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15037 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15041 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15043 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15044 __feraiseexcept instead of feraiseexcept.
15046 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15047 nanosleep invocations.
15048 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15049 strings, and add error checking for a nanosleep invocations.
15051 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15053 Replace FSF snail mail address with URLs, as per GNU coding standards.
15054 Most of the snail mail addresses were wrong anyway, and omitting
15055 them makes the source code easier to maintain. Almost all of the
15056 changes are to license notices and to locale LC_IDENTIFICATION
15057 addresses, except for this one:
15058 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15059 not its snail mail address.
15061 2012-02-09 Richard Henderson <rth@twiddle.net>
15063 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15064 of kernel-features.h.
15066 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15068 2012-02-08 Marek Polacek <polacek@redhat.com>
15070 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15071 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15072 * sysdeps/gnu/_G_config.h: Likewise.
15073 * sysdeps/generic/_G_config.h: Likewise.
15075 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15077 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081 * sysdeps/powerpc/powerpc32/crti.S: New file.
15082 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15083 * sysdeps/powerpc/powerpc64/crti.S: New file.
15084 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15086 * Makeconfig (have-initfini): Don't set.
15087 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15088 * configure.in (nopic_initfini): Don't substitute.
15089 * config.h.in (HAVE_INITFINI): Don't #undef.
15090 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15091 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15093 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15095 Support crti.S and crtn.S provided directly by architectures.
15096 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15097 [crti.S in sysdirs] (omit-deps): Likewise.
15098 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15099 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15100 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15101 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15102 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15103 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15104 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15105 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15106 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15107 compiler output for sysdeps/generic/initfini.c.
15108 * sysdeps/i386/elf/Makefile: Remove file.
15109 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15111 2012-02-07 Marek Polacek <polacek@redhat.com>
15113 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15114 * sysdeps/gnu/_G_config.h: Likewise.
15115 * sysdeps/mach/hurd/_G_config.h: Likewise.
15117 2012-02-07 Marek Polacek <polacek@redhat.com>
15119 * math/Makefile (tests): Add tst-CMPLX2.
15120 * math/tst-CMPLX2.c: New file.
15122 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15124 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15126 * math/libm-test.inc (jn_test): Add missing L suffix.
15128 2012-02-06 Marek Polacek <polacek@redhat.com>
15130 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15131 * sysdeps/i386/fpu/e_powf.S: Likewise.
15132 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15133 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15135 * sysdeps/i386/fpu/e_pow.S: Likewise.
15136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15140 * sysdeps/i386/fpu/e_log2.S: Likewise.
15141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15143 * sysdeps/i386/fpu/e_powl.S: Likewise.
15144 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15145 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15146 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15147 * sysdeps/i386/fpu/e_logl.S: Likewise.
15148 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15149 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15150 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15151 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15153 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15154 * sysdeps/i386/fpu/e_log.S: Likewise.
15155 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15156 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15157 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15158 * sysdeps/i386/fpu/e_logf.S: Likewise.
15159 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15160 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15161 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15162 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15163 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15164 * sysdeps/i386/fpu/e_log10.S: Likewise.
15165 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15166 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15167 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15168 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15169 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15170 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15171 * sysdeps/i386/asm-syntax.h: Likewise.
15172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15173 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15175 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15176 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15177 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15178 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15179 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15180 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15181 * sysdeps/powerpc/sysdep.h: Likewise.
15182 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15183 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15185 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15188 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15190 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15192 * sysdeps/i386/sysdep.h: Include <features.h>.
15193 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15196 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15198 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15200 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15203 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15205 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15206 (SETUP_PIC_REG): Use GET_PC_THUNK.
15207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15210 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15212 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15213 for non-PIC compilation.
15214 (SETUP_PIC_REG): Add .p2align directive.
15215 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15216 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15217 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15218 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15220 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15221 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15223 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15224 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15225 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15226 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15227 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15228 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15229 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15230 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15231 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15232 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15233 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15234 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15235 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15236 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15237 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15238 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15242 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15243 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15244 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15245 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15246 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15247 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15248 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15249 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15250 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15251 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15252 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15253 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15254 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15255 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15257 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15259 * math/tst-CMPLX.c: Include <stdio.h>.
15261 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15263 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15265 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15266 * sysdeps/sparc/bits/mathdef.h: Likewise.
15268 2012-01-31 Marek Polacek <polacek@redhat.com>
15270 * libio/libio.h: Don't define _PARAMS.
15271 * locale/programs/config.h: Don't define PARAMS.
15272 * stdlib/strtol_l.c: Likewise.
15273 (__strtol_l): Remove PARAMS from the prototype.
15275 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15277 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15278 names. Just use the correct names. Remove unnecessary wrapper
15280 * malloc/arena.c: Likewise.
15281 * malloc/hooks.c: Likewise.
15283 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15284 ARENA_TEST says not to. Simplify test for creation of a new arena.
15285 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15287 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15289 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15291 (update_get_addr): New function.
15292 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15293 GET_ADDR_MODULE parameter.
15295 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15297 * crypt/cert.c: Remove __STDC__ conditionals.
15298 * crypt/crypt-entry.c: Likewise.
15299 * crypt/crypt_util.c: Likewise.
15300 * libio/filedoalloc.c: Likewise.
15301 * libio/fileops.c: Likewise.
15302 * libio/genops.c: Likewise.
15303 * libio/iofclose.c: Likewise.
15304 * libio/iofdopen.c: Likewise.
15305 * libio/iofopen.c: Likewise.
15306 * libio/iofopen64.c: Likewise.
15307 * libio/iogetdelim.c: Likewise.
15308 * libio/iopopen.c: Likewise.
15309 * libio/obprintf.c: Likewise.
15310 * libio/oldfileops.c: Likewise.
15311 * libio/oldiofclose.c: Likewise.
15312 * libio/oldiofdopen.c: Likewise.
15313 * libio/oldiofopen.c: Likewise.
15314 * libio/oldiopopen.c: Likewise.
15315 * libio/wfiledoalloc.c: Likewise.
15316 * libio/wgenops.c: Likewise.
15317 * locale/programs/xmalloc.c: Likewise.
15318 * misc/syslog.c: Likewise.
15319 * stdio-common/xbug.c: Likewise.
15320 * string/memchr.c: Likewise.
15321 * string/memcmp.c: Likewise.
15322 * string/memrchr.c: Likewise.
15323 * string/rawmemchr.c: Likewise.
15324 * sysdeps/posix/getcwd.c: Likewise.
15325 * time/strftime_l.c: Likewise.
15327 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15329 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15330 * config.make.in (config-cflags-sse2avx): Define.
15331 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15334 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15336 * scripts/config.guess: Update from upstream config git repository.
15337 * scripts/config.sub: Likewise.
15339 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15341 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15343 (R_TILEPRO_*, R_TILEGX_*): New macros.
15345 * scripts/firstversions.awk: Fix bug in version range handling.
15347 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15349 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15351 * include/sys/epoll.h: New file.
15352 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15355 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15357 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15358 Avoid unnecessary __WORDSIZE == 64 test.
15359 (fmaxf): Use VEX format if possible.
15364 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15365 * math/math_private.h: Remove libc_fegetround* and
15367 * sysdeps/i386/configure.in: Check for -msse2avx.
15368 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15369 also if SSE2AVX is defined.
15370 Remove libc_fegetround* and libc_fesetround*.
15371 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15372 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15381 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15383 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15385 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15387 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15389 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15392 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15394 * Makeconfig (libm): Define.
15395 * elf/Makefile: Add rules to build and run tst-relsort1.
15396 * elf/tst-relsort1.c: New file.
15397 * elf/tst-relsort1mod1.c: New file.
15398 * elf/tst-relsort1mod2.c: New file.
15400 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15402 * math/s_ldexp.c: Remove __STDC__ conditionals.
15403 * math/s_ldexpf.c: Likewise.
15404 * math/s_ldexpl.c: Likewise.
15405 * math/s_nextafter.c: Likewise.
15406 * math/s_nexttowardf.c: Likewise.
15407 * math/s_significand.c: Likewise.
15408 * math/s_significandf.c: Likewise.
15409 * math/s_significandl.c: Likewise.
15410 * math/w_jnl.c: Likewise.
15411 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15412 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15413 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15414 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15415 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15421 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15426 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15430 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15431 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15432 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15433 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15434 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15435 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15436 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15437 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15438 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15439 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15440 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15441 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15442 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15446 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15447 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15448 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15449 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15450 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15451 * sysdeps/ieee754/k_standard.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15518 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15527 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15531 * sysdeps/ieee754/s_matherr.c: Likewise.
15532 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15533 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15537 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15539 * crypt/md5.h: Remove __STDC__ conditionals.
15540 * libio/libioP.h: Likewise.
15541 * locale/programs/config.h: Likewise.
15542 * sysdeps/generic/sysdep.h: Likewise.
15543 * sysdeps/i386/asm-syntax.h: Likewise.
15544 * sysdeps/s390/asm-syntax.h: Likewise.
15545 * sysdeps/unix/sysdep.h: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15549 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15551 * libio/libio.h: Remove __STDC__ conditionals.
15552 * malloc/obstack.h: Likewise.
15553 * math/complex.h: Likewise.
15554 * math/math.h: Likewise.
15555 * sysdeps/generic/_G_config.h: Likewise.
15556 * sysdeps/gnu/_G_config.h: Likewise.
15557 * sysdeps/mach/hurd/_G_config.h: Likewise.
15558 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15559 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15560 * sysdeps/sparc/bits/mathdef.h: Likewise.
15562 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15565 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15566 Clean up HAS_* macros.
15567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15568 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15573 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15574 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15575 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15576 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15578 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15580 * elf/tst-unique3.cc (gets): Remove declaration.
15581 * elf/tst-unique3lib.cc (gets): Likewise.
15582 * elf/tst-unique3lib2.cc (gets): Likewise.
15583 * elf/tst-unique4.cc (gets): Likewise.
15585 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15587 * include/stdio.h: Add C++ protection. Add gets declarations and
15589 * debug/tst-chk1.c: Don't declare gets here.
15590 * stdio-common/tst-gets.c: Likewise.
15592 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15594 * posix/glob: Remove directory.
15596 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15598 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15600 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15602 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15603 of the non-standard EPFNOSUPPORT.
15605 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15607 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15608 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15609 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15611 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15613 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15615 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15617 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15619 * nscd/grpcache.c (cache_addgr): Likewise.
15620 * nscd/hstcache.c (cache_addhst): Likewise.
15621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15622 * nscd/pwdcache.c (cache_addpw): Likewise.
15623 * nscd/servicescache.c (cache_addserv): Likewise.
15625 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15627 * malloc/malloc.c: Various cleanups.
15628 * malloc/hooks.c: Likewise.
15630 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15631 * stdlib/bug-fmtmsg1.c: New file.
15633 * stdlib/fmtmsg.c (init): Add missing unlock.
15634 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15636 2012-01-12 Marek Polacek <polacek@redhat.com>
15638 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15641 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15643 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15644 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15645 macro to ensure uniqueness of label name.
15646 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15647 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15649 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15651 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15653 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15654 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15658 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15662 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15663 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15664 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15666 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15668 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15669 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15670 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15673 * math/bits/math-finite.h: Add ldexp support.
15675 2012-01-10 Marek Polacek <polacek@redhat.com>
15677 * locale/programs/localedef.h (show_archive_content): Add noreturn
15680 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15682 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15684 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15686 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15688 * io/Makefile (headers): Add bits/poll2.h.
15690 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15693 typo #include statement.
15695 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15697 * include/sys/cdefs.h: Define __attribute_alloc_size.
15698 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15699 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15700 * elf/pldd.c: Likewise.
15701 * iconv/iconv_charmap.c: Likewise.
15702 * iconv/iconvconfig.c: Likewise.
15703 * iconv/strtab.c: Likewise.
15704 * locale/programs/locale.c: Likewise.
15705 * locale/programs/localedef.h: Likewise.
15706 * locale/programs/simple-hash.c: Likewise.
15707 * nscd/nscd.h: Likewise.
15708 * nss/makedb.c: Likewise.
15709 * sysdeps/generic/ldconfig.h: Likewise.
15710 * locale/programs/localedef.c: Remove xmalloc prototype.
15711 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15713 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15718 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15720 * math/Makefile (tests): Add tst-CMPLX.
15721 * math/tst-CMPLX.c: New file.
15723 * math/complex.h (CMPLXL): Fix typo.
15725 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15726 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15728 * debug/tst-chk1.c: Add poll and ppoll tests.
15729 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15730 * include/sys/poll.h: Add hidden proto for ppoll.
15731 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15732 * sysdeps/mach/hurd/ppoll.c: Likewise.
15733 * io/ppoll.c: Likewise.
15734 * debug/poll_chk.c: New file.
15735 * debug/ppoll_chk.c: New file.
15736 * include/bits/poll2.h: New file.
15737 * io/bits/poll2.h: New file.
15740 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15742 * configure.in: static is always set to yes. Remove.
15743 * config.make.in: Don't set build-static.
15744 * Makeconfig: Remove use of build-static.
15745 * dlfcn/Makefile: Likewise.
15746 * elf/Makefile: Likewise.
15747 * math/Makefile: Likewise.
15748 * misc/Makefile: Likewise.
15749 * nptl/Makefile: Likewise.
15750 * sysdeps/mach/hurd/Makefile: Likewise.
15752 * configure.in: PWD_P is not used anymore.
15753 * config.make.in: Remove PWD_P entry.
15755 * configure.in: Remove last remnants of RANLIB.
15756 No need to check for signed size_t anymore.
15757 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15759 Remove __builtin_expect test because we require at least gcc 3.4.
15760 * aclocal.m4: Likewise.
15762 * wcsmbs/mbrtoc16.c: Implement using towc function.
15763 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15764 * wcsmbs/wcsmbsload.c: Likewise.
15765 * iconv/gconv_simple.c: Likewise.
15766 * iconv/gconv_int.h: Likewise.
15767 * iconv/gconv_builtin.h: Likewise.
15768 * iconv/iconv_prog.c: Remove CHAR16 handling.
15770 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15772 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15774 * configure.in: Remove --with-elf and --enable-bounded options.
15775 Dont set base_machine for ia64. More non-ELF conditions removed.
15776 Remove testing and setting of leading underscore information.
15777 * config.make.in (build-bounded): Set to no.
15778 * config.h.in: Remove NO_UNDERSCORES entry.
15779 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15781 * csu/start.c: Remove !NO_UNDERSCORE code.
15782 * locale/localeinfo.h: Likewise.
15783 * sysdeps/generic/machine-gmon.h: Likewise.
15784 * sysdeps/generic/sysdep.h: Likewise.
15785 * sysdeps/i386/sysdep.h: Likewise.
15786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15787 * sysdeps/mach/sysdep.h: Likewise.
15788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15790 * sysdeps/sh/sysdep.h: Likewise.
15791 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15792 * sysdeps/unix/i386/sysdep.S: Likewise.
15793 * sysdeps/unix/sparc/start.c: Likewise.
15794 * sysdeps/unix/sparc/sysdep.S: Likewise.
15795 * sysdeps/unix/sparc/sysdep.h: Likewise.
15796 * sysdeps/unix/start.c: Likewise.
15797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15798 * sysdeps/x86_64/sysdep.h: Likewise.
15800 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15803 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15805 * argp/argp-fmtstream.h: Use const instead __const.
15806 * argp/argp.h: Likewise.
15807 * assert/assert.h: Likewise.
15808 * bits/fenv.h: Likewise.
15809 * bits/sched.h: Likewise.
15810 * bits/sigset.h: Likewise.
15811 * bits/sigthread.h: Likewise.
15812 * catgets/nl_types.h: Likewise.
15813 * conform/data/pthread.h-data: Likewise.
15814 * crypt/crypt-private.h: Likewise.
15815 * crypt/crypt.h: Likewise.
15816 * crypt/crypt_util.c: Likewise.
15817 * ctype/ctype.h: Likewise.
15818 * debug/execinfo.h: Likewise.
15819 * debug/mbsnrtowcs_chk.c: Likewise.
15820 * debug/mbsrtowcs_chk.c: Likewise.
15821 * debug/wcsnrtombs_chk.c: Likewise.
15822 * debug/wcsrtombs_chk.c: Likewise.
15823 * debug/wcstombs_chk.c: Likewise.
15824 * dirent/dirent.h: Likewise.
15825 * dlfcn/dlfcn.h: Likewise.
15826 * elf/neededtest4.c: Likewise.
15827 * grp/grp.h: Likewise.
15828 * gshadow/gshadow.h: Likewise.
15829 * iconv/gconv.h: Likewise.
15830 * iconv/gconv_int.h: Likewise.
15831 * iconv/gconv_simple.c: Likewise.
15832 * iconv/iconv.h: Likewise.
15833 * iconv/loop.c: Likewise.
15834 * iconv/skeleton.c: Likewise.
15835 * include/aio.h: Likewise.
15836 * include/aliases.h: Likewise.
15837 * include/argz.h: Likewise.
15838 * include/arpa/inet.h: Likewise.
15839 * include/assert.h: Likewise.
15840 * include/dirent.h: Likewise.
15841 * include/dlfcn.h: Likewise.
15842 * include/execinfo.h: Likewise.
15843 * include/fcntl.h: Likewise.
15844 * include/fenv.h: Likewise.
15845 * include/glob.h: Likewise.
15846 * include/grp.h: Likewise.
15847 * include/libintl.h: Likewise.
15848 * include/mntent.h: Likewise.
15849 * include/netdb.h: Likewise.
15850 * include/pwd.h: Likewise.
15851 * include/rpc/netdb.h: Likewise.
15852 * include/sched.h: Likewise.
15853 * include/search.h: Likewise.
15854 * include/shadow.h: Likewise.
15855 * include/signal.h: Likewise.
15856 * include/stdio.h: Likewise.
15857 * include/stdlib.h: Likewise.
15858 * include/string.h: Likewise.
15859 * include/sys/socket.h: Likewise.
15860 * include/sys/stat.h: Likewise.
15861 * include/sys/statfs.h: Likewise.
15862 * include/sys/statvfs.h: Likewise.
15863 * include/sys/syslog.h: Likewise.
15864 * include/sys/time.h: Likewise.
15865 * include/sys/uio.h: Likewise.
15866 * include/time.h: Likewise.
15867 * include/unistd.h: Likewise.
15868 * include/utmp.h: Likewise.
15869 * include/wchar.h: Likewise.
15870 * include/wctype.h: Likewise.
15871 * inet/aliases.h: Likewise.
15872 * inet/arpa/inet.h: Likewise.
15873 * inet/netinet/ether.h: Likewise.
15874 * inet/netinet/in.h: Likewise.
15875 * intl/libintl.h: Likewise.
15876 * io/bits/fcntl2.h: Likewise.
15877 * io/fcntl.h: Likewise.
15878 * io/ftw.h: Likewise.
15879 * io/sys/poll.h: Likewise.
15880 * io/sys/stat.h: Likewise.
15881 * io/sys/statfs.h: Likewise.
15882 * io/sys/statvfs.h: Likewise.
15883 * io/utime.h: Likewise.
15884 * libio/bits/stdio.h: Likewise.
15885 * libio/bits/stdio2.h: Likewise.
15886 * libio/libio.h: Likewise.
15887 * libio/libioP.h: Likewise.
15888 * libio/stdio.h: Likewise.
15889 * locale/lc-ctype.c: Likewise.
15890 * locale/locale.h: Likewise.
15891 * login/utmp.h: Likewise.
15892 * malloc/arena.c: Likewise.
15893 * malloc/malloc.c: Likewise.
15894 * malloc/malloc.h: Likewise.
15895 * malloc/mcheck.c: Likewise.
15896 * malloc/mtrace.c: Likewise.
15897 * math/bits/mathcalls.h: Likewise.
15898 * math/fenv.h: Likewise.
15899 * math/math_private.h: Likewise.
15900 * misc/bits/error.h: Likewise.
15901 * misc/bits/syslog.h: Likewise.
15902 * misc/err.h: Likewise.
15903 * misc/error.h: Likewise.
15904 * misc/fstab.h: Likewise.
15905 * misc/mntent.h: Likewise.
15906 * misc/regexp.h: Likewise.
15907 * misc/search.h: Likewise.
15908 * misc/sgtty.h: Likewise.
15909 * misc/sys/mman.h: Likewise.
15910 * misc/sys/syslog.h: Likewise.
15911 * misc/sys/uio.h: Likewise.
15912 * misc/sys/xattr.h: Likewise.
15913 * misc/ttyent.h: Likewise.
15914 * nis/rpcsvc/ypclnt.h: Likewise.
15915 * nss/nss.h: Likewise.
15916 * posix/bits/unistd.h: Likewise.
15917 * posix/fnmatch.h: Likewise.
15918 * posix/glob.h: Likewise.
15919 * posix/sched.h: Likewise.
15920 * posix/spawn.h: Likewise.
15921 * posix/sys/wait.h: Likewise.
15922 * posix/unistd.h: Likewise.
15923 * posix/wordexp.h: Likewise.
15924 * pwd/pwd.h: Likewise.
15925 * resolv/netdb.h: Likewise.
15926 * resource/sys/resource.h: Likewise.
15927 * rt/aio.h: Likewise.
15928 * rt/bits/mqueue2.h: Likewise.
15929 * rt/mqueue.h: Likewise.
15930 * shadow/shadow.h: Likewise.
15931 * signal/signal.h: Likewise.
15932 * socket/send.c: Likewise.
15933 * socket/sendto.c: Likewise.
15934 * socket/sys/socket.h: Likewise.
15935 * stdio-common/printf.h: Likewise.
15936 * stdlib/bits/stdlib.h: Likewise.
15937 * stdlib/fmtmsg.h: Likewise.
15938 * stdlib/monetary.h: Likewise.
15939 * stdlib/stdlib.h: Likewise.
15940 * stdlib/ucontext.h: Likewise.
15941 * streams/stropts.h: Likewise.
15942 * string/argz.h: Likewise.
15943 * string/bits/string2.h: Likewise.
15944 * string/string.h: Likewise.
15945 * string/strings.h: Likewise.
15946 * sunrpc/rpc/auth.h: Likewise.
15947 * sunrpc/rpc/auth_des.h: Likewise.
15948 * sunrpc/rpc/clnt.h: Likewise.
15949 * sunrpc/rpc/netdb.h: Likewise.
15950 * sunrpc/rpc/pmap_clnt.h: Likewise.
15951 * sunrpc/rpc/xdr.h: Likewise.
15952 * sysdeps/generic/inttypes.h: Likewise.
15953 * sysdeps/generic/net/if.h: Likewise.
15954 * sysdeps/generic/sys/swap.h: Likewise.
15955 * sysdeps/gnu/net/if.h: Likewise.
15956 * sysdeps/gnu/utmpx.h: Likewise.
15957 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15958 * sysdeps/i386/i486/bits/string.h: Likewise.
15959 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15960 * sysdeps/s390/bits/string.h: Likewise.
15961 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15962 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15963 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15964 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15965 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15966 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15967 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15968 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15969 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15970 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15972 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15973 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15974 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15975 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15976 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15977 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15981 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15982 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15983 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15984 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15985 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15986 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15987 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15988 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15989 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15990 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15991 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15992 * sysvipc/sys/ipc.h: Likewise.
15993 * sysvipc/sys/msg.h: Likewise.
15994 * sysvipc/sys/sem.h: Likewise.
15995 * sysvipc/sys/shm.h: Likewise.
15996 * termios/termios.h: Likewise.
15997 * time/sys/time.h: Likewise.
15998 * time/time.h: Likewise.
15999 * wcsmbs/bits/wchar2.h: Likewise.
16000 * wcsmbs/uchar.h: Likewise.
16001 * wcsmbs/wchar.h: Likewise.
16002 * wctype/wctype.h: Likewise.
16005 * Makeconfig: Remove all but ELF support including AIX support.
16006 * Makerules: Likewise.
16007 * config.h.in: Likewise.
16008 * config.make.in: Likewise.
16009 * configure: Likewise.
16010 * configure.in: Likewise.
16011 * csu/Makefile: Likewise.
16012 * csu/version.c: Likewise.
16013 * debug/Makefile: Likewise.
16014 * dlfcn/Makefile: Likewise.
16015 * elf/Makefile: Likewise.
16016 * extra-lib.mk: Likewise.
16017 * iconv/Makefile: Likewise.
16018 * include/libc-symbols.h: Likewise.
16019 * include/shlib-compat.h: Likewise.
16020 * resolv/Makefile: Likewise.
16021 * resolv/res_libc.c: Likewise.
16022 * rt/Makefile: Likewise.
16023 * sysdeps/i386/asm-syntax.h: Likewise.
16024 * sysdeps/i386/sysdep.h: Likewise.
16025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16026 * sysdeps/mach/sysdep.h: Likewise.
16027 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16028 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16029 * sysdeps/s390/asm-syntax.h: Likewise.
16030 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16031 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16032 * sysdeps/sh/sysdep.h: Likewise.
16033 * sysdeps/unix/sparc/sysdep.h: Likewise.
16034 * sysdeps/wordsize-32/divdi3.c: Likewise.
16035 * sysdeps/x86_64/sysdep.h: Likewise.
16037 * argp/Versions: Remove _argp_unlock_xxx.
16040 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16041 * abilist/libBrokenLocale.abilist: Likewise.
16042 * abilist/libanl.abilist: Likewise.
16043 * abilist/libc.abilist: Likewise.
16044 * abilist/libcrypt.abilist: Likewise.
16045 * abilist/libdl.abilist: Likewise.
16046 * abilist/libm.abilist: Likewise.
16047 * abilist/libnsl.abilist: Likewise.
16048 * abilist/libpthread.abilist: Likewise.
16049 * abilist/libresolv.abilist: Likewise.
16050 * abilist/librt.abilist: Likewise.
16051 * abilist/libthread_db.abilist: Likewise.
16052 * abilist/libutil.abilist: Likewise.
16053 * abilist/libnss_db.abilist: New file.
16055 * scripts/abilist.awk: Add support for indirect functions.
16057 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16059 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16061 * shlib-versions: Remove entries for ports architectures.
16063 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16065 * elf/stackguard-macros.h: Remove support for IA-64.
16066 * elf/tst-auditmod1.c: Likewise.
16067 * sysdeps/generic/ldsodefs.h: Likewise.
16069 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16070 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16074 * configure.in: Remove --enable-omitfp support.
16076 * config.make.in: Likewise.
16077 * Makeconfig: Likewise.
16078 * manual/install.texi: Likewise.
16080 In case anyone cares, the IA-64 architecture could move to ports.
16081 * sysdeps/ia64/*: Removed.
16082 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16083 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16086 * configure.in: Remove entries for unsupported architectures.
16089 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16090 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16092 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16093 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16094 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16095 fall back to using wcrtomb.
16096 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16097 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16099 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16100 * wcsmbs/tst-c16c32-1.c: New file.
16102 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16105 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16107 * elf/tst-unique3.cc: Add explicit declaration of gets.
16108 * elf/tst-unique3lib.cc: Likewise.
16109 * elf/tst-unique3lib2.cc: Likewise.
16110 * elf/tst-unique4.cc: Likewise.
16112 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16114 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16117 * assert/assert.h (static_assert): Don't define for C++.
16118 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16119 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16121 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16123 * iconv/loop.c (single loop): Fix assertion in storing of
16126 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16128 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16130 * posix/getconf.c: Update copyright year.
16131 * nss/getent.c: Likewise.
16132 * nss/makedb.c: Likewise.
16133 * iconv/iconvconfig.c: Likewise.
16134 * iconv/iconv_prog.c: Likewise.
16135 * elf/ldconfig.c: Likewise.
16136 * elf/pldd.c: Likewise.
16137 * elf/sotruss.ksh: Likewise.
16138 * catgets/gencat.c: Likewise.
16139 * csu/version.c: Likewise.
16140 * elf/ldd.bash.in: Likewise.
16141 * elf/sprof.c (print_version): Likewise.
16142 * locale/programs/locale.c: Likewise.
16143 * locale/programs/localedef.c: Likewise.
16144 * login/programs/pt_chown.c: Likewise.
16145 * nscd/nscd.c (print_version): Likewise.
16146 * debug/xtrace.sh: Likewise.
16147 * malloc/memusage.sh: Likewise.
16148 * malloc/mtrace.pl: Likewise.
16149 * debug/catchsegv.sh: Likewise.
16151 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16153 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16156 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16159 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16160 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16162 * iconv/gconv_int.h: Likewise.
16163 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16164 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16165 from libc for GLIBC_2.16.
16166 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16167 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16168 * wcsmbs/uchar.h: Really define mbstate_t.
16169 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16170 * wcsmbs/c16rtomb.c: New file.
16171 * wcsmbs/mbrtoc16.c: New file.
16172 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16173 for C/POSIX locale.
16174 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16175 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16177 * wcsmbs/wchar.h: Add missing __restrict.
16179 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16182 * time/Makefile (routines): Add timespec_get.
16183 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16184 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16185 timespec for ISO C11.
16186 * time/timespec_get.c: New file.
16187 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16188 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16191 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16192 * stdlib/stdlib.h: Declare aligned_alloc.
16193 * Versions.def: Add GLIBC_2.16 for libc.
16194 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16197 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16200 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16204 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16207 * assert/assert.h (static_assert): Define.
16209 * version.h: Update for 2.16 development version.
16212 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16215 * version.h (RELEASE): Bump for 2.15 release.
16216 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16218 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16219 Patch by Marek Polacek <mpolacek@redhat.com>.
16221 * bits/byteswap.h: Protect long long constants with __extension__.
16222 * sysdeps/i386/bits/byteswap.h: Likewise.
16223 * sysdeps/ia64/bits/byteswap.h: Likewise.
16224 * sysdeps/s390/bits/byteswap.h: Likewise.
16225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16227 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16230 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16231 destination buffer.
16232 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16234 2011-12-23 Marek Polacek <polacek@redhat.com>
16236 * elf/dl-addr.c (determine_info): Add inline keyword.
16237 * elf/tst-auditmod4b.c (check_avx): Likewise.
16238 * elf/tst-auditmod6b.c (check_avx): Likewise.
16239 * elf/tst-auditmod6c.c (check_avx): Likewise.
16240 * elf/tst-auditmod7b.c (check_avx): Likewise.
16242 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16244 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16247 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16251 processing for last bytes.
16253 2011-08-06 Bruno Haible <bruno@clisp.org>
16256 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16257 U+0385, not to U+1FEE.
16260 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16261 entry for U+00A5 U+0301.
16263 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16266 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16267 buffer for the output is too small.
16269 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16273 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16274 SSE flags if possible.
16276 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16280 processing for last bytes.
16282 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16284 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16285 (syscall-list-default-options, syscall-list-default-condition)
16286 (syscall-list-includes): Define.
16287 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16288 list of ABIs and options and #if conditions for each ABI. Do not
16289 handle common syscalls between ABIs specially.
16290 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16292 (syscall-list-variants, syscall-list-32bit-options)
16293 (syscall-list-32bit-condition, syscall-list-64bit-options)
16294 (syscall-list-64bit-condition): Define.
16295 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16296 (syscall-list-variants, syscall-list-32bit-options)
16297 (syscall-list-32bit-condition, syscall-list-64bit-options)
16298 (syscall-list-64bit-condition): Define.
16299 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16301 (syscall-list-variants, syscall-list-32bit-options)
16302 (syscall-list-32bit-condition, syscall-list-64bit-options)
16303 (syscall-list-64bit-condition): Define.
16304 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16306 (syscall-list-variants, syscall-list-32bit-options)
16307 (syscall-list-32bit-condition, syscall-list-64bit-options)
16308 (syscall-list-64bit-condition): Define.
16310 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16312 * locale/iso-639.def: Add brx entry.
16315 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16316 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16318 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16319 __feraiseexcept_renamed.
16321 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16324 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16325 EPOLLET with unsigned values.
16326 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16329 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16330 to large cancellation.
16331 * math/s_cacoshf.c: Likewise.
16332 * math/s_cacoshl.c: Likewise.
16334 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16338 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16339 * math/s_cacoshf.c: Likewise.
16340 * math/s_cacoshl.c: Likewise.
16342 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16345 * iconv/gconv.h: Define __GCONV_SWAP.
16346 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16347 * iconvdata/utf-16.c: Likewise.
16348 * iconvdata/utf-32.c: Likewise.
16350 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16353 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16354 numerator after shifting it by one limb.
16356 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16358 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16359 under [__USE_EXTERN_INLINES].
16361 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16364 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16366 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16368 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16369 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16371 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16372 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16373 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16374 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16375 for strncasecmp/strncasecmp_l compilation.
16376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16377 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16379 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16382 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16385 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16388 * time/tzfile.c (__tzfile_read): Check values from file header.
16390 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16392 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16393 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16394 * powerpc/powerpc32/dl-start.S: Likewise.
16395 * powerpc/powerpc32/elf/start.S: Likewise.
16396 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16397 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16398 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16399 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16400 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16401 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16402 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16403 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16404 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16405 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16406 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16407 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16408 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16409 * powerpc/powerpc32/memset.S: Likewise.
16410 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16411 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16412 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16413 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16414 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16415 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16416 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16417 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16418 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16419 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16420 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16421 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16422 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16424 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16426 * math/libm-test.inc: Added more nearbyint tests.
16427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16428 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16429 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16432 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16434 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16437 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16439 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16440 Add wcscpy-ssse3 wcscpy-c.
16441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16442 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16443 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16444 * sysdeps/x86_64/wcschr.S: New file.
16445 * sysdeps/x86_64/wcsrchr.S: New file.
16446 * string/test-strcmp.c: Remove checking of wcscmp function for
16448 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16449 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16450 wcsrchr-sse2 wcsrchr-c.
16451 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16452 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16453 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16454 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16455 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16456 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16457 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16458 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16460 * wcsmbc/wcschr.c (WCSCHR): New macro.
16462 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16464 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16465 * wcsmbs/test-wcsrchr.c: New file.
16466 * string/test-strrchr.c: Add wcsrchr support.
16468 * wcsmbs/test-wcscpy.c: New file.
16469 * string/test-strcpy.c: Add wcscpy support.
16472 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16474 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16477 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16480 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16482 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16484 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16485 Minor optimizations.
16487 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16488 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16489 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16491 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16493 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16494 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16495 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16496 for gcc to avoid warnings.
16497 * inet/Makefile (tests): Add tst-checks.
16498 * inet/tst-checks.c: New file.
16500 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16503 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16506 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16507 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16509 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16511 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16513 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16516 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16518 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16520 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16521 conditional on GCC version.
16522 (__arch_compare_and_exchange_val_8_acq)
16523 (__arch_compare_and_exchange_val_16_acq)
16524 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16525 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16526 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16528 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16530 * sysdeps/sh/backtrace.c: New file.
16532 2011-12-02 Andreas Schwab <schwab@redhat.com>
16534 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16537 2011-12-01 Andreas Schwab <schwab@redhat.com>
16539 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16540 falling back to utime.
16542 2011-11-30 Andreas Schwab <schwab@redhat.com>
16544 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16545 expectations for float.
16547 2011-11-29 Andreas Schwab <schwab@redhat.com>
16549 * locale/weight.h (findidx): Add parameter len.
16550 * locale/weightwc.h (findidx): Likewise.
16551 * posix/fnmatch_loop.c (FCT): Adjust caller.
16552 * posix/regcomp.c (build_equiv_class): Likewise.
16553 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16554 * posix/regexec.c (check_node_accept_bytes): Likewise.
16555 * string/strcoll_l.c (STRCOLL): Likewise.
16556 * string/strxfrm_l.c (STRXFRM): Likewise.
16558 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16560 * Makefile.in: Remove CVSOPT handling.
16561 * configure.in: Remove use of AC_REVISION.
16562 * iconvdata/Makefile (distribute): No need to filter out CVS.
16563 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16566 2011-11-16 Andreas Schwab <schwab@redhat.com>
16568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16569 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16570 [USE_AS_STRNCASECMP_L]: Likewise.
16571 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16572 NO_TLS_DIRECT_SEG_REFS.
16573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16574 Fix argument offsets for non-PIC.
16575 [USE_AS_STRNCASECMP_L]: Likewise.
16576 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16577 NO_TLS_DIRECT_SEG_REFS.
16579 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16581 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16583 * locale/loadlocale.c (_nl_load_locale): Likewise.
16585 2011-11-15 Andreas Schwab <schwab@redhat.com>
16587 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16588 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16589 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16590 (SYSCALL_GETTIME): Set errno on error.
16592 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16593 count references to noai6ai_cached.
16595 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16597 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16599 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16600 FD_CLOEXEC for /proc/self/maps.
16602 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16603 FD_CLOEXEC for /proc/meminfo.
16605 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16608 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16609 FD_CLOEXEC for given file.
16611 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16613 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16614 FD_CLOEXEC for /etc/hosts.
16615 (_gethtent): Likewise.
16617 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16619 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16620 cancellation and set FD_CLOEXEC for /etc/netgroup.
16622 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16623 reading /etc/publickey.
16625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16626 allow cancellation when reading /etc/group.
16628 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16630 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16632 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16633 when using data file.
16635 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16637 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16638 (write_nis_obj): Use "c" and "e" in fopen.
16640 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16642 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16644 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16646 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16648 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16651 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16653 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16655 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16657 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16658 file parsing and set FD_CLOEXEC.
16660 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16662 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16664 2011-11-14 Andreas Schwab <schwab@redhat.com>
16666 * malloc/arena.c (arena_get2): Don't call reused_arena when
16667 _int_new_arena failed.
16669 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16671 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16672 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16673 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16675 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16676 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16677 to compile strcasecmp and strncasecmp.
16678 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16679 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16683 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16685 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16686 locale-defines.sym to gen-as-const-headers.
16687 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16688 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16690 to compile strcasecmp and strncasecmp.
16691 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16692 strcasecmp_l and strncasecmp_l.
16693 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16694 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16695 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16697 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16699 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16700 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16701 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16702 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16703 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16705 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16707 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16708 result of SYSDEP_GETTIME_CPU to retval.
16709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16710 parameter list to macro. Remove trailing semicolon. Adjust users.
16712 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16715 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16717 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16719 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16720 from unused variable.
16722 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16724 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16727 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16730 * sunrpc/rpc_prot.c (rejected): Fix case value.
16732 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16733 unsigned long long int to avoid warnings in shift.
16735 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16737 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16740 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16741 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16742 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16744 * nis/nis_table.c (nis_list): Use variable of correct type for
16745 result of __follow_path call.
16747 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16749 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16750 of math functions ceil, trunc, floor, round, and sqrt, when
16751 avaliable on the platform.
16752 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16754 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16755 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16756 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16758 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16760 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16761 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16763 2011-11-11 Roland McGrath <roland@hack.frob.com>
16765 * include/unistd.h: Fix __readlink return type.
16766 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16768 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16770 * stdlib/ucontext.h: Undo last change for makecontext.
16772 2011-11-11 Andreas Schwab <schwab@redhat.com>
16774 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16776 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16777 * setjmp/setjmp.h: Mark functions as non-leaf.
16778 * setjmp/bits/setjmp2.h: Likewise.
16779 * stdlib/ucontext.h: Likewise.
16781 2011-11-10 Andreas Schwab <schwab@redhat.com>
16783 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16784 (reused_arena): Don't check arena limit.
16785 (arena_get2): Atomically check arena limit.
16787 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16789 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16790 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16795 2011-11-07 Andreas Schwab <schwab@redhat.com>
16797 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16798 handler when locking.
16800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16801 Fix size of allocated buffer.
16803 2011-11-04 Andreas Schwab <schwab@redhat.com>
16806 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16807 declarations for long double functions.
16808 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16810 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16812 2011-11-03 Andreas Schwab <schwab@redhat.com>
16814 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16817 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16820 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16822 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16824 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16826 * include/alloca.h (stackinfo_alloca_round): Define.
16827 (extend_alloca): Use it.
16828 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16829 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16832 * scripts/check-local-headers.sh: Ignore libaudit.h.
16834 * nscd/Makefile (extra-objs): Make recursively expanded.
16836 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16838 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16841 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16842 * posix/tst-rfc3484-2.c: Likewise.
16843 * posix/tst-rfc3484-3.c: Likewise.
16845 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16847 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16849 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16850 process_vm_writev from libc using GLIBC_2.15 version.
16852 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16854 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16856 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16859 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16862 * nss/getent.c (initgroups_keys): Show error message in case no group
16865 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16866 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16867 __bump_nl_timestamp.
16868 * nscd/connections (nscd_init): When host database is served open
16869 netlink socket and request notification about configuration changes.
16870 (main_loop_poll): Track netlink file descriptor and bump timestamp
16871 in case data becomes available.
16872 (main_loop_epoll): Likewise.
16873 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16874 (database_pers_head): Add extra_data fileds.
16875 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16877 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16880 in6ai data, call __free_in6ai.
16881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16882 Add -DHAVE_NETLINK.
16883 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16884 interface information. Reuse previous data if netlink timestamp
16886 (__bump_nl_timestamp): New function.
16887 (__free_in6ai): New function.
16889 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16891 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16892 close_not_cancel_no_status here.
16893 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16895 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16898 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16901 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16902 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16903 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16905 2011-07-03 Andreas Jaeger <aj@suse.de>
16908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16909 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16910 * math/libm-test.inc (sin_test): Add test case.
16912 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16915 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16916 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16918 * elf/chroot_canon.c (chroot_canon): Cleanups.
16920 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16923 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16924 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16926 * string/test-strchr.c: Make usable for strchrnul testing.
16927 * string/test-strchrnul.c: New file.
16928 * string/Makefile (strop-tests): Add strchrnul.
16930 * po/it.po: Update from translation team.
16931 * po/es.po: Likewise.
16933 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16936 the three constants needed as parameters. Drop the others.
16937 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16938 __m128i_strloadu_tolower.
16939 Create and initialize variable zero and use it in all the places
16940 where _mm_setzero_si128 was used.
16942 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16943 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16944 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16945 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16947 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16948 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16949 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16950 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16951 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16952 __mpranred, __mptan.
16953 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16954 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16955 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16956 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16957 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16958 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16960 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16961 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16963 2011-10-28 Andreas Schwab <schwab@redhat.com>
16965 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16966 redefine if SHARED.
16967 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16970 wide char related routines to wcsmbs subdir.
16972 2011-10-27 Andreas Schwab <schwab@redhat.com>
16975 * misc/sys/cdefs.h (__THROWNL): Define.
16976 * posix/unistd.h: Use __THREADNL instead of __THREAD
16977 for memory synchronization functions.
16979 2011-10-26 Roland McGrath <roland@hack.frob.com>
16982 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16984 * manual/stdio.texi (Obstack Streams): Node removed.
16986 2011-10-26 Andreas Schwab <schwab@redhat.com>
16988 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16989 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16992 * math/math_private.h (math_force_eval): Allow non-addressable
16994 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16996 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16999 file is not needed.
17001 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17004 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17006 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17007 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17008 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17010 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17011 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17012 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17013 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17014 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17015 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17016 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17017 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17018 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17019 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17020 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17021 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17023 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17024 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17025 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17026 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17027 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17028 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17030 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17031 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17034 place. Use VEX encoding when compiling for AVX.
17036 2011-10-25 Andreas Schwab <schwab@redhat.com>
17038 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17039 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17041 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17043 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17045 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17046 useless if() expression.
17047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17057 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17058 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17060 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17061 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17067 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17069 2011-10-25 Andreas Schwab <schwab@redhat.com>
17071 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17073 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17075 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17077 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17078 .text section. Avoid duplicate constants.
17079 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17089 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17091 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17094 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17096 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17102 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17103 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17104 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17105 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17106 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17107 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17108 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17109 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17110 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17111 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17112 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17113 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17114 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17115 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17116 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17117 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17118 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17120 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17125 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17127 * sysdeps/x86_64/dla.h: Move to ...
17128 * sysdeps/x86_64/fpu/dla.h: ...here.
17129 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17130 situations. Use __builtin_fma only for gcc 4.6 and up.
17132 * config.make.in: Add have-mfma4 entry.
17133 * configure.in: Substitute libc_cv_cc_fma4.
17134 * math/Makefile (dbl-only-routines): Add sincostab.
17135 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17136 Use __sincostab not sincos.
17137 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17144 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17145 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17146 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17147 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17149 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17150 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17152 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17153 define aliases when function name is a macro.
17154 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17155 sysdeps/ieee754/dbl-64/sincos.tbl.
17156 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17157 fma4-enabled routines.
17158 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17159 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17160 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17161 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17162 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17163 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17167 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17168 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17169 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17170 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17171 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17172 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17173 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17174 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17175 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17176 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17177 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17178 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17179 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17180 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17181 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17182 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17183 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17185 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17186 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17187 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17189 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17192 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17200 2011-10-24 Andreas Schwab <schwab@redhat.com>
17202 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17204 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17208 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17212 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17213 Remove unused variable magic_bits.
17214 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17216 * string/strnlen.c: Define and use STRNLEN macro.
17217 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17218 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17220 * wcsmbs/wcslen.c: Define and use WCSLEN.
17221 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17222 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17223 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17224 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17225 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17226 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17227 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17229 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17232 strnlen-sse2-no-bsf.
17233 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17235 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17236 Add strnlen support.
17237 (USE_AS_STRNLEN): New macro.
17238 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17239 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17240 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17241 * sysdeps/x86_64/wcslen.S: New file.
17243 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17245 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17246 XMM-moves are used for copying on small sizes.
17248 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17250 * wcsmbs/Makefile (strop-tests): Add wcschr.
17251 * wcsmbs/test-wcschr.c: New file.
17252 * string/test-strchr.c: Update.
17253 Add wcschr support.
17256 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17258 * wcsmbs/Makefile (strop-tests): Add wcslen.
17259 * wcsmbs/test-wcslen.c: New file.
17260 * string/test-strlen.c: Update.
17261 Add wcslen support.
17264 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17266 * po/it.po: Update from translation team.
17268 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17270 * sysdeps/x86_64/wcscmp.S: Update.
17271 Fix wrong comparison semantics.
17272 wcscmp shall use signed comparison not unsigned.
17273 Don't use substraction to avoid overflow bug.
17274 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17275 * wcsmbc/wcscmp.c: Likewise.
17276 * string/test-strcmp.c: Likewise.
17277 Add new tests to check cases with negative values.
17279 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17281 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17282 * sysdeps/x86_64/dla.h: ...here. New file.
17283 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17293 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17296 __ynl_finite aliases.
17298 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17302 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17304 [DLA_FMA] (EMULV): Use DLA_FMA.
17305 [DLA_FMA] (MUL12): Use EMULV.
17306 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17307 that are not needed.
17308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17316 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17318 * math/s_nan.c: Undef __nan.
17319 * math/s_nanf.c: Undef __nanf.
17320 * math/s_nanl.c: Undef __nanl.
17321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17324 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17326 * math/s_catan.c: Add branch predictions.
17327 * math/s_catanf.c: Likewise.
17328 * math/s_catanh.c: Likewise.
17329 * math/s_catanhf.c: Likewise.
17330 * math/s_catanhl.c: Likewise.
17331 * math/s_catanl.c: Likewise.
17332 * math/s_cexp.c: Likewise.
17333 * math/s_cexpf.c: Likewise.
17334 * math/s_cexpl.c: Likewise.
17335 * math/s_clog.c: Likewise.
17336 * math/s_clog10.c: Likewise.
17337 * math/s_clog10f.c: Likewise.
17338 * math/s_clog10l.c: Likewise.
17339 * math/s_clogf.c: Likewise.
17340 * math/s_clogl.c: Likewise.
17341 * math/s_csqrt.c: Likewise.
17342 * math/s_csqrtf.c: Likewise.
17343 * math/s_csqrtl.c: Likewise.
17344 * math/s_ctanf.c: Likewise.
17345 * math/s_ctanh.c: Likewise.
17346 * math/s_ctanhf.c: Likewise.
17347 * math/s_ctanhl.c: Likewise.
17348 * math/s_ctanl.c: Likewise.
17350 * math/math_private.h: Define __nan, __nanf, __nanl.
17351 * math/s_cacosh.c: Include <math_private.h>.
17352 * math/s_cacoshl.c: Likewise.
17353 * math/s_casinh.c: Likewise.
17354 * math/s_casinhf.c: Likewise.
17355 * math/s_casinhl.c: Likewise.
17356 * math/s_ccos.c: Rely entire on ccosh.
17357 * math/s_ccosf.c: Rely entire on ccoshf.
17358 * math/s_ccosl.c: Rely entirely on ccoshl.
17359 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17360 Remove tests for FE_INVALID.
17361 * math/s_ccoshf.c: Likewise.
17362 * math/s_ccoshl.c: Likewise.
17363 * math/s_csin.c: Likewise.
17364 * math/s_csinf.c: Likewise.
17365 * math/s_csinh.c Likewise.
17366 * math/s_csinhf.c: Likewise.
17367 * math/s_csinhl.c: Likewise.
17368 * math/s_csinl.c: Likewise.
17369 * math/s_ctan.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17371 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17374 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17377 compilation problems.
17379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17382 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17384 * sysdeps/i386/configure.in: Test for -mfma4 option.
17385 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17386 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17387 COMMON_CPUID_INDEX_80000001.
17388 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17389 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17390 use it if FMA3 is not supported.
17391 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17393 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17394 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17396 2011-10-20 Andreas Schwab <schwab@redhat.com>
17399 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17400 it would create a cycle with a link time dependency.
17402 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17404 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17406 * string/Makefile (strop-tests): Add rawmemchr.
17407 * string/test-rawmemchr.c: New file.
17409 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17410 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17411 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17412 when compiling str{,n}casecmp and when AVX is available. Hook up
17413 new optimized code in initializers.
17415 2011-10-19 Andreas Schwab <schwab@redhat.com>
17417 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17418 __feraiseexcept instead of feraiseexcept.
17420 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17422 * math/math_private.h: Define defaults for libc_fetestexcept and
17424 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17425 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17428 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17429 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17430 libc_fetestexcept and libc_feupdateenv.
17432 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17433 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17434 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17435 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17436 libc_feholdexcept_setround.
17438 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17439 Add s_nearbyint-c and s_nearbyintf-c.
17440 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17441 nearbyintf inlines.
17442 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17443 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17444 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17445 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17447 * math/math_private.h: Define defaults for libc_fegetround,
17448 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17449 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17450 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17452 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17453 standard functions.
17454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17455 Remove comments and hacks for old compiler versions.
17456 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17457 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17458 libc_feholdexceptl.
17460 2011-10-18 Andreas Schwab <schwab@redhat.com>
17462 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17463 (__feraiseexcept_renamed): Add __NTH.
17464 (feraiseexcept): Add __NTH. Rename local variables to fix
17465 namespace violations.
17467 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17471 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17473 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17474 recently added interfaces.
17475 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17477 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17478 about macro parameter expansion.
17480 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17481 __NO_MATH_INLINES is defined. Cleanups.
17483 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17484 and __floorf is target has SSE4.1.
17485 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17486 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17487 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17488 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17490 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17492 (floorf): Likewise.
17494 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17496 2011-10-17 Andreas Schwab <schwab@redhat.com>
17498 * misc/sys/cdefs.h: Fix last change.
17500 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17503 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17505 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17507 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17515 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17516 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17517 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17518 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17519 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17520 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17521 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17522 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17523 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17524 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17525 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17526 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17527 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17528 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17530 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17531 ceil, ceilf, floor, floorf.
17533 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17534 Perform IRELATIVE relocations last.
17536 * elf/do-rel.h: Add another parameter nrelative, replacing the
17537 local variable with the same name. Change name of the function
17538 to end in Rel or Rela (uppercase).
17539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17540 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17541 elf_dynamic_do_##reloc function.
17543 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17545 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17546 is sufficient, at least on modern CPUs.
17548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17550 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17551 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17553 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17555 * math/bits/math-finite.h: Add entries for exp.
17556 * math/e_expl.c: Add __*_finite alias.
17557 * sysdeps/i386/fpu/e_exp.S: Likewise.
17558 * sysdeps/i386/fpu/e_expf.S: Likewise.
17559 * sysdeps/i386/fpu/e_expl.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17561 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17562 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17565 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17566 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17568 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17569 is sufficient, at least on modern CPUs.
17571 * ctype/ctype-info.c (__ctype_init): Define.
17572 * include/ctype.h (__ctype_init): Declare.
17573 (__ctype_b_loc): The variable is always initialized.
17574 (__ctype_toupper_loc): Likewise.
17575 (__ctype_tolower_loc): Likewise.
17576 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17577 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17579 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17581 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17583 * configure.in: Also look in $cxxmachine/include for C++ system
17586 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17588 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17589 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17590 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17591 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17592 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17593 (USE_AS_WMEMCMP): New macro.
17595 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17596 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17597 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17598 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17600 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17601 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17602 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17603 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17604 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17606 (USE_AS_WMEMCMP): New macro.
17607 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17608 * sysdeps/string/test-memcmp.c: Update.
17609 Fix simple_wmemcmp.
17611 * wcsmbs/wmemcmp.c: Update.
17612 (WMEMCMP): New macro.
17615 2011-10-12 Andreas Jaeger <aj@suse.de>
17618 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17620 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17622 * libio/iofwide.c (do_length): Avoid warning.
17624 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17626 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17628 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17630 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17631 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17632 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17633 * sysdeps/i386/i686/fpu/e_log.S: New file.
17634 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17635 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17637 * ctype/ctype.h: Add support for inlined isXXX functions when
17638 compiling C++ code.
17640 2011-10-14 Andreas Schwab <schwab@redhat.com>
17642 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17644 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17646 2011-10-13 Roland McGrath <roland@hack.frob.com>
17649 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17651 2011-10-13 Andreas Schwab <schwab@redhat.com>
17653 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17654 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17657 * sysdeps/x86_64/memrchr.S: Check for zero size.
17659 * string/stratcliff.c: Add memrchr tests.
17661 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17664 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17665 rawmemchr-sse2 rawmemchr-sse2-bsf.
17666 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17667 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17668 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17669 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17670 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17671 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17672 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17673 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17674 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17675 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17676 * string/memrchr.c (MEMRCHR): New macro.
17678 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17680 Add integration with gcc's -ffinite-math-only and optimize wrapper
17682 * Versions.def: Define GLIBC_2.15 version for libm.
17683 * math/Makefile (headers): Add bits/math-finite.h.
17684 * math/bits/math-finite.h: New file.
17685 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17686 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17687 * math/e_acoshl.c: Add __*_finite alias.
17688 * math/e_acosl.c: Likewise.
17689 * math/e_asinl.c: Likewise.
17690 * math/e_atan2l.c: Likewise.
17691 * math/e_atanhl.c: Likewise.
17692 * math/e_coshl.c: Likewise.
17693 * math/e_exp10.c: Likewise.
17694 * math/e_exp10f.c: Likewise.
17695 * math/e_exp10l.c: Likewise.
17696 * math/e_exp2l.c: Likewise.
17697 * math/e_fmodl.c: Likewise.
17698 * math/e_gammal_r.c: Likewise.
17699 * math/e_hypotl.c: Likewise.
17700 * math/e_j0l.c: Likewise.
17701 * math/e_j1l.c: Likewise.
17702 * math/e_jnl.c: Likewise.
17703 * math/e_lgammal_r.c: Likewise.
17704 * math/e_log10l.c: Likewise.
17705 * math/e_log2l.c: Likewise.
17706 * math/e_logl.c: Likewise.
17707 * math/e_powl.c: Likewise.
17708 * math/e_sinhl.c: Likewise.
17709 * math/e_sqrtl.c: Likewise.
17710 * math/e_scalb.c: Completely rewritten and optimized.
17711 * math/e_scalbf.c: Likewise.
17712 * math/e_scalbl.c: Likewise.
17713 * math/w_acos.c: Likewise.
17714 * math/w_acosf.c: Likewise.
17715 * math/w_acosl.c: Likewise.
17716 * math/w_acosh.c: Likewise.
17717 * math/w_acoshf.c: Likewise.
17718 * math/w_acoshl.c: Likewise.
17719 * math/w_asin.c: Likewise.
17720 * math/w_asinf.c: Likewise.
17721 * math/w_asinl.c: Likewise.
17722 * math/w_atan2.c: Likewise.
17723 * math/w_atan2f.c: Likewise.
17724 * math/w_atan2l.c: Likewise.
17725 * math/w_atanh.c: Likewise.
17726 * math/w_atanhf.c: Likewise.
17727 * math/w_atanhl.c: Likewise.
17728 * math/w_exp10.c: Likewise.
17729 * math/w_exp10f.c: Likewise.
17730 * math/w_exp10l.c: Likewise.
17731 * math/w_fmod.c: Likewise.
17732 * math/w_fmodf.c: Likewise.
17733 * math/w_fmodl.c: Likewise.
17734 * math/w_j0.c: Likewise.
17735 * math/w_j0f.c: Likewise.
17736 * math/w_j0l.c: Likewise.
17737 * math/w_j1.c: Likewise.
17738 * math/w_j1f.c: Likewise.
17739 * math/w_j1l.c: Likewise.
17740 * math/w_jn.c: Likewise.
17741 * math/w_jnf.c: Likewise.
17742 * math/w_log.c: Likewise.
17743 * math/w_logf.c: Likewise.
17744 * math/w_logl.c: Likewise.
17745 * math/w_log10.c: Likewise.
17746 * math/w_log10f.c: Likewise.
17747 * math/w_log10l.c: Likewise.
17748 * math/w_log2.c: Likewise.
17749 * math/w_log2f.c: Likewise.
17750 * math/w_log2l.c: Likewise.
17751 * math/w_pow.c: Likewise.
17752 * math/w_powf.c: Likewise.
17753 * math/w_powl.c: Likewise.
17754 * math/w_remainder.c: Likewise.
17755 * math/w_remainderf.c: Likewise.
17756 * math/w_remainderl.c: Likewise.
17757 * math/w_scalb.c: Likewise.
17758 * math/w_scalbf.c: Likewise.
17759 * math/w_scalbl.c: Likewise.
17760 * math/w_sqrt.c: Likewise.
17761 * math/w_sqrtf.c: Likewise.
17762 * math/w_sqrtl.c: Likewise.
17763 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17764 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17766 * math/math_private.h: Declare __kernel_standard_f.
17767 * math/w_cosh.c: Remove cruft and optimize a bit.
17768 * math/w_coshf.c: Likewise.
17769 * math/w_coshl.c: Likewise.
17770 * math/w_exp2.c: Likewise.
17771 * math/w_exp2f.c: Likewise.
17772 * math/w_exp2l.c: Likewise.
17773 * math/w_hypot.c: Likewise.
17774 * math/w_hypotf.c: Likewise.
17775 * math/w_hypotl.c: Likewise.
17776 * math/w_lgamma.c: Likewise.
17777 * math/w_lgamma_r.c: Likewise.
17778 * math/w_lgammaf.c: Likewise.
17779 * math/w_lgammaf_r.c: Likewise.
17780 * math/w_lgammal.c: Likewise.
17781 * math/w_lgammal_r.c: Likewise.
17782 * math/w_sinh.c: Likewise.
17783 * math/w_sinhf.c: Likewise.
17784 * math/w_sinhl.c: Likewise.
17785 * math/w_tgamma.c: Likewise.
17786 * math/w_tgammaf.c: Likewise.
17787 * math/w_tgammal.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17789 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17790 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17791 Minor optimizations. Pretty printing. Remove cruft.
17792 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17793 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17794 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17795 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17796 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17797 * sysdeps/i386/fpu/e_asin.S: Likewise.
17798 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17799 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17800 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17801 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17803 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17804 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17805 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17806 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17807 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17808 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17809 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17810 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17811 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17812 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17813 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17814 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17815 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17816 * sysdeps/i386/fpu/e_log.S: Likewise.
17817 * sysdeps/i386/fpu/e_log10.S: Likewise.
17818 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17820 * sysdeps/i386/fpu/e_log2.S: Likewise.
17821 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17822 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17823 * sysdeps/i386/fpu/e_logf.S: Likewise.
17824 * sysdeps/i386/fpu/e_logl.S: Likewise.
17825 * sysdeps/i386/fpu/e_pow.S: Likewise.
17826 * sysdeps/i386/fpu/e_powf.S: Likewise.
17827 * sysdeps/i386/fpu/e_powl.S: Likewise.
17828 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17829 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17830 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17831 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17833 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17834 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17835 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17836 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17862 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17864 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17866 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17867 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17868 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17870 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17871 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17872 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17873 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17874 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17875 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17876 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17877 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17887 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17890 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17891 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17892 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17893 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17894 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17905 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17906 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17908 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17909 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17914 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17916 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17919 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17920 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17921 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17922 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17923 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17924 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17925 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17928 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17929 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17930 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17931 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17932 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17933 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17934 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17935 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17936 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17937 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17938 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17939 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17940 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17941 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17943 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17944 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17945 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17946 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17947 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17948 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17949 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17950 (__isnanf): Likewise.
17951 (__isinf_ns): Likewise.
17952 (__isinf_nsf): Likewise.
17953 (__finite): Likewise.
17954 (__finitef): Likewise.
17955 (__ieee754_sqrt): Define as macro.
17956 (__ieee754_sqrtf): Define as macro.
17957 (__ieee754_sqrtl): Define as macro.
17958 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17960 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17961 __FINITE_MATH_ONLY__ consistent.
17962 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17964 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17966 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17969 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17971 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17973 * po/ja.po: Update from translation team.
17975 2011-10-08 Roland McGrath <roland@hack.frob.com>
17977 * locale/programs/locarchive.c (prepare_address_space): New function.
17978 (create_archive, enlarge_archive, open_archive): Use it.
17980 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17981 inside [SHARED], where it is used.
17983 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17985 * nss/getent.c (netgroup_keys): Remove unused variable.
17986 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17988 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17990 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17993 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17994 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17995 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17996 * math/Makefile (libm-calls): Add s_isinf_ns.
17997 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17998 * math/multc3.c: Likewise.
17999 * math/s_casin.c: Likewise.
18000 * math/s_casinf.c: Likewise.
18001 * math/s_casinl.c: Likewise.
18002 * math/s_ccos.c: Likewise.
18003 * math/s_ccosf.c: Likewise.
18004 * math/s_ccosl.c: Likewise.
18005 * math/s_ctan.c: Likewise.
18006 * math/s_ctanf.c: Likewise.
18007 * math/s_ctanh.c: Likewise.
18008 * math/s_ctanhf.c: Likewise.
18009 * math/s_ctanhl.c: Likewise.
18010 * math/s_ctanl.c: Likewise.
18011 * math/w_fmod.c: Likewise.
18012 * math/w_fmodf.c: Likewise.
18013 * math/w_fmodl.c: Likewise.
18014 * math/w_remainder.c: Likewise.
18015 * math/w_remainderf.c: Likewise.
18016 * math/w_remainderl.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18018 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18021 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18022 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18023 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18024 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18026 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18028 * stdio-common/printf_fphex.c: Likewise.
18029 * stdio-common/printf_size.c: Likewise.
18031 * math/e_exp10.c: Include math_private.h using <...> not "...".
18032 * math/e_exp10f.c: Likewise.
18033 * math/e_exp10l.c: Likewise.
18034 * math/e_exp2l.c: Likewise.
18035 * math/e_j0l.c: Likewise.
18036 * math/e_j1l.c: Likewise.
18037 * math/e_jnl.c: Likewise.
18038 * math/e_lgammal_r.c: Likewise.
18039 * math/e_rem_pio2l.c: Likewise.
18040 * math/e_scalb.c: Likewise.
18041 * math/e_scalbf.c: Likewise.
18042 * math/e_scalbl.c: Likewise.
18043 * math/k_cosl.c: Likewise.
18044 * math/k_sinl.c: Likewise.
18045 * math/k_tanl.c: Likewise.
18046 * math/s_cacoshf.c: Likewise.
18047 * math/s_catan.c: Likewise.
18048 * math/s_catanf.c: Likewise.
18049 * math/s_catanh.c: Likewise.
18050 * math/s_catanhf.c: Likewise.
18051 * math/s_catanhl.c: Likewise.
18052 * math/s_catanl.c: Likewise.
18053 * math/s_ccosh.c: Likewise.
18054 * math/s_ccoshf.c: Likewise.
18055 * math/s_ccoshl.c: Likewise.
18056 * math/s_cexp.c: Likewise.
18057 * math/s_cexpf.c: Likewise.
18058 * math/s_cexpl.c: Likewise.
18059 * math/s_clog.c: Likewise.
18060 * math/s_clog10.c: Likewise.
18061 * math/s_clog10f.c: Likewise.
18062 * math/s_clog10l.c: Likewise.
18063 * math/s_clogf.c: Likewise.
18064 * math/s_clogl.c: Likewise.
18065 * math/s_csin.c: Likewise.
18066 * math/s_csinf.c: Likewise.
18067 * math/s_csinh.c: Likewise.
18068 * math/s_csinhf.c: Likewise.
18069 * math/s_csinhl.c: Likewise.
18070 * math/s_csinl.c: Likewise.
18071 * math/s_csqrt.c: Likewise.
18072 * math/s_csqrtf.c: Likewise.
18073 * math/s_csqrtl.c: Likewise.
18074 * math/s_ctan.c: Likewise.
18075 * math/s_ctanf.c: Likewise.
18076 * math/s_ctanh.c: Likewise.
18077 * math/s_ctanhf.c: Likewise.
18078 * math/s_ctanhl.c: Likewise.
18079 * math/s_ctanl.c: Likewise.
18080 * math/s_ldexp.c: Likewise.
18081 * math/s_ldexpf.c: Likewise.
18082 * math/s_ldexpl.c: Likewise.
18083 * math/s_significand.c: Likewise.
18084 * math/s_significandf.c: Likewise.
18085 * math/s_significandl.c: Likewise.
18086 * math/w_acos.c: Likewise.
18087 * math/w_acosf.c: Likewise.
18088 * math/w_acosh.c: Likewise.
18089 * math/w_acoshf.c: Likewise.
18090 * math/w_acoshl.c: Likewise.
18091 * math/w_acosl.c: Likewise.
18092 * math/w_asin.c: Likewise.
18093 * math/w_asinf.c: Likewise.
18094 * math/w_asinl.c: Likewise.
18095 * math/w_atan2.c: Likewise.
18096 * math/w_atan2f.c: Likewise.
18097 * math/w_atan2l.c: Likewise.
18098 * math/w_atanh.c: Likewise.
18099 * math/w_atanhf.c: Likewise.
18100 * math/w_atanhl.c: Likewise.
18101 * math/w_cosh.c: Likewise.
18102 * math/w_coshf.c: Likewise.
18103 * math/w_coshl.c: Likewise.
18104 * math/w_dremf.c: Likewise.
18105 * math/w_exp10.c: Likewise.
18106 * math/w_exp10f.c: Likewise.
18107 * math/w_exp10l.c: Likewise.
18108 * math/w_exp2.c: Likewise.
18109 * math/w_exp2f.c: Likewise.
18110 * math/w_fmod.c: Likewise.
18111 * math/w_fmodf.c: Likewise.
18112 * math/w_fmodl.c: Likewise.
18113 * math/w_hypot.c: Likewise.
18114 * math/w_hypotf.c: Likewise.
18115 * math/w_hypotl.c: Likewise.
18116 * math/w_j0.c: Likewise.
18117 * math/w_j0f.c: Likewise.
18118 * math/w_j0l.c: Likewise.
18119 * math/w_j1.c: Likewise.
18120 * math/w_j1f.c: Likewise.
18121 * math/w_j1l.c: Likewise.
18122 * math/w_jn.c: Likewise.
18123 * math/w_jnf.c: Likewise.
18124 * math/w_jnl.c: Likewise.
18125 * math/w_lgamma.c: Likewise.
18126 * math/w_lgamma_r.c: Likewise.
18127 * math/w_lgammaf.c: Likewise.
18128 * math/w_lgammaf_r.c: Likewise.
18129 * math/w_lgammal.c: Likewise.
18130 * math/w_lgammal_r.c: Likewise.
18131 * math/w_log.c: Likewise.
18132 * math/w_log10.c: Likewise.
18133 * math/w_log10f.c: Likewise.
18134 * math/w_log10l.c: Likewise.
18135 * math/w_log2.c: Likewise.
18136 * math/w_log2f.c: Likewise.
18137 * math/w_log2l.c: Likewise.
18138 * math/w_logf.c: Likewise.
18139 * math/w_logl.c: Likewise.
18140 * math/w_pow.c: Likewise.
18141 * math/w_powf.c: Likewise.
18142 * math/w_powl.c: Likewise.
18143 * math/w_remainder.c: Likewise.
18144 * math/w_remainderf.c: Likewise.
18145 * math/w_remainderl.c: Likewise.
18146 * math/w_scalb.c: Likewise.
18147 * math/w_scalbf.c: Likewise.
18148 * math/w_scalbl.c: Likewise.
18149 * math/w_sinh.c: Likewise.
18150 * math/w_sinhf.c: Likewise.
18151 * math/w_sinhl.c: Likewise.
18152 * math/w_sqrt.c: Likewise.
18153 * math/w_sqrtf.c: Likewise.
18154 * math/w_sqrtl.c: Likewise.
18155 * math/w_tgamma.c: Likewise.
18156 * math/w_tgammaf.c: Likewise.
18157 * math/w_tgammal.c: Likewise.
18159 * po/ja.po: Update from translation team.
18161 2011-09-29 Andreas Jaeger <aj@suse.de>
18164 * sunrpc/netname.c (netname2host): Fix logic.
18168 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18170 * math/w_remainder.c (__remainder): Likewise.
18171 * math/w_remainderf.c (__remainderf): Likewise.
18172 * math/libm-test.inc (remainder_test): Add test cases.
18174 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18176 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18179 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18181 * string/test-memcmp.c: Avoid unncessary #defines.
18182 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18184 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18186 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18187 Use new sse2 version for core i3 - i7 as it's faster
18188 than sse42 version.
18189 (bit_Prefer_PMINUB_for_stringop): New.
18190 * sysdeps/x86_64/rawmemchr.S: Update.
18191 Replace with faster SSE2 version.
18192 * sysdeps/x86_64/memrchr.S: New file.
18193 * sysdeps/x86_64/memchr.S: Update.
18194 Replace with faster SSE2 version.
18196 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18198 * elf/dl-load.c (lose): Add cast to avoid warning.
18200 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18202 * po/ca.po: Update from translation team.
18204 * inet/getnetgrent_r.c: Hook up nscd.
18205 * nscd/Makefile (routines): Add nscd_netgroup.
18206 (nscd-modules): Add netgroupcache.
18207 (CFLAGS-netgroupcache.c): Define.
18208 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18209 (cache_search): Add const to second parameter.
18210 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18212 (dbs): Add netgrdb entry.
18213 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18214 (verify_persistent_db): Handle netgrdb.
18215 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18216 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18218 (netgroup_response_header): Define.
18219 (innetgroup_response_header): Define.
18220 (datahead): Add netgroup_response_header and innetgroup_response_header
18222 * nscd/nscd.conf: Add entries for netgroup cache.
18223 * nscd/nscd.h (dbtype): Add netgrdb.
18224 (_PATH_NSCD_NETGROUP_DB): Define.
18225 (netgroup_iov_disabled): Declare.
18226 (xmalloc, xcalloc, xrealloc): Move declarations here.
18227 (cache_search): Adjust prototype.
18228 Add netgroup-related prototypes.
18229 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18230 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18231 (__nscd_innetgr): Declare.
18232 * nscd/selinux.c (perms): Use access_vector_t as element type and
18233 add netgroup-related initializers.
18234 * nscd/netgroupcache.c: New file.
18235 * nscd/nscd_netgroup.c: New file.
18236 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18237 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18238 For four parameters use innetgr.
18239 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18240 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18241 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18242 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18244 * nscd/connections.c (register_traced_file): Don't register file
18245 for disabled databases.
18247 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18249 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18251 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18252 from tree and freeing node.
18254 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18256 * nss/nsswitch.c (__nss_database_lookup): Handle
18257 nss_parse_service_list out of memory case.
18259 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18261 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18262 out of memory case.
18264 2011-10-04 Andreas Schwab <schwab@redhat.com>
18266 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18267 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18269 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18270 elf_machine_rela, elf_machine_lazy_rel.
18271 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18272 (ELF_DYNAMIC_DO_REL): Likewise.
18273 (ELF_DYNAMIC_DO_RELA): Likewise.
18274 (ELF_DYNAMIC_RELOCATE): Likewise.
18275 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18276 to ELF_DYNAMIC_DO_REL.
18277 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18278 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18279 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18282 skip_ifunc, don't call ifunc function if non-zero.
18283 (elf_machine_rela): Likewise.
18284 (elf_machine_lazy_rel): Likewise.
18285 (elf_machine_lazy_rela): Likewise.
18286 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18287 (elf_machine_lazy_rel): Likewise.
18288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18290 (elf_machine_lazy_rel): Likewise.
18291 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18293 (elf_machine_lazy_rel): Likewise.
18294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18295 (elf_machine_lazy_rel): Likewise.
18296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18297 (elf_machine_lazy_rel): Likewise.
18298 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18299 (elf_machine_lazy_rel): Likewise.
18300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18301 (elf_machine_lazy_rel): Likewise.
18302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18303 (elf_machine_lazy_rel): Likewise.
18304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18305 (elf_machine_lazy_rel): Likewise.
18307 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18309 * nss/nss_files/files-init.c (_nss_files_init): Use static
18310 initialization for all the *_traced_file variables.
18312 2011-09-28 Andreas Schwab <schwab@redhat.com>
18314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18316 2011-09-27 Roland McGrath <roland@hack.frob.com>
18319 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18321 2011-09-27 Andreas Schwab <schwab@redhat.com>
18323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18324 Reread the line before reparsing it.
18326 2011-09-26 Andreas Schwab <schwab@redhat.com>
18328 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18330 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18331 Maxim Kuvyrkov <maxim@codesourcery.com>
18332 Joseph Myers <joseph@codesourcery.com>
18334 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18335 if needed for __stack_chk_guard.
18337 2011-09-19 Roland McGrath <roland@hack.frob.com>
18339 * sysdeps/posix/spawni.c (script_execute): Always define it.
18340 It will be optimized away if unused.
18341 (maybe_script_execute): New function.
18342 (__spawni): Call it.
18344 * Makerules: Don't include tls.make.
18345 (config-tls): Always set to thread.
18346 * tls.make.c: File removed.
18348 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18350 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18351 * config.make.in (CPPFLAGS-config): New substituted variable.
18353 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18355 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18358 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18359 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18361 2011-09-15 Roland McGrath <roland@hack.frob.com>
18363 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18364 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18366 (CALL_FAIL): Likewise.
18367 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18368 (CALL_FAIL): Macro removed.
18369 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18371 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18373 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18374 for __FINITE_MATH_ONLY__ == 1.
18376 2011-09-15 Andreas Schwab <schwab@redhat.com>
18378 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18379 __ieee754_sqrt instead of sqrt.
18380 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18381 __ieee754_sqrtf instead of sqrtf.
18382 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18383 __floorf instead of floorf.
18384 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18385 __floorf, __truncf instead of floorf, truncf.
18387 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18389 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18391 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18392 __extern_always_inline.
18393 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18396 2011-09-14 Andreas Schwab <schwab@redhat.com>
18398 * elf/rtld.c (dl_main): Also relocate in dependency order when
18399 doing symbol dependency testing.
18401 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18404 Always define `refsym'.
18406 2011-09-13 Andreas Schwab <schwab@redhat.com>
18408 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18409 (__FD_ELT): Renamed from __FDELT.
18410 * misc/bits/select2.h (__FD_ELT): Likewise.
18411 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18412 __FD_MASK instead of __FDELT, __FDMASK.
18413 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18415 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18418 * elf/Makefile (gen-ldd): Fix pattern.
18420 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18421 (init_tls): Likewise.
18423 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18427 2011-09-12 Andreas Schwab <schwab@redhat.com>
18429 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18430 `struct cmsghdr *' instead of `void *'.
18431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18434 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18436 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18438 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18439 ldd_rewrite_script.
18441 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18443 * configure.in: Remove --with-tls option.
18444 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18445 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18446 out in case it is missing.
18447 * sysdeps/ia64/elf/configure.in: Likewise.
18448 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18449 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18450 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18451 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18452 * sysdeps/sh/elf/configure.in: Likewise.
18453 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18454 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18455 * sysdeps/x86_64/elf/configure.in: Likewise.
18456 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18457 * sysdeps/mach/hurd/tls.h: Likewise.
18460 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18463 * configure.in: Fix use of AC_INIT.
18465 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18467 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18469 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18471 * malloc/hooks.c: Likewise.
18474 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18475 variables statically.
18476 (narenas): Initialize.
18477 (list_lock): Initialize.
18478 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18479 initializtion of main_arena and list_lock. Small cleanups.
18480 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18481 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18482 Add initializers to main_arena and mp_.
18483 (malloc_state): Remove pagesize member. Change all users to use
18486 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18487 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18488 is always initialized.
18490 * malloc/malloc.c: Removed unused configurations and dead code.
18491 * malloc/arena.c: Likewise.
18492 * malloc/hooks.c: Likewise.
18493 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18495 * include/tls.h: Removed. USE___THREAD must always be defined.
18496 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18497 * elf/dl-libc.c: Likewise.
18498 * elf/dl-tsd.c: Likewise.
18499 * include/errno.h: Likewise.
18500 * include/netdb.h: Likewise.
18501 * include/resolv.h: Likewise.
18502 * inet/herrno-loc.c: Likewise.
18503 * inet/herrno.c: Likewise.
18504 * malloc/arena.c: Likewise.
18505 * malloc/hooks.c: Likewise.
18506 * malloc/malloc.c: Likewise.
18507 * resolv/res-state.c: Likewise.
18508 * resolv/res_libc.c: Likewise.
18509 * sysdeps/i386/dl-machine.h: Likewise.
18510 * sysdeps/ia64/dl-machine.h: Likewise.
18511 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18512 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18513 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18514 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18515 * sysdeps/sh/dl-machine.h: Likewise.
18516 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18517 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18518 * sysdeps/unix/i386/sysdep.S: Likewise.
18519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18520 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18525 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18529 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18530 * sysdeps/x86_64/dl-machine.h: Likewise.
18531 * tls.make.c: Likewise.
18533 * configure.in: Remove --with-__thread option. Make tests for
18534 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18535 tls_model attribute fail if no support is available. Remove
18537 * Makeconfig: Adjust for dropped configure option. All features are
18539 * Makerules: Likewise.
18540 * Versions.def: Likewise.
18541 * argp/argp-fmtstream.c: Likewise.
18542 * argp/argp-fmtstream.h: Likewise.
18543 * argp/argp-help.c: Likewise.
18544 * assert/assert.c: Likewise.
18545 * config.h.in: Likewise.
18546 * config.make.in: Likewise.
18547 * configure: Likewise.
18548 * configure.in: Likewise.
18549 * csu/Versions: Likewise.
18550 * csu/init.c: Likewise.
18551 * elf/tst-audit2.c: Likewise.
18552 * elf/tst-tls10.c: Likewise.
18553 * elf/tst-tls10.h: Likewise.
18554 * elf/tst-tls11.c: Likewise.
18555 * elf/tst-tls12.c: Likewise.
18556 * elf/tst-tls14.c: Likewise.
18557 * elf/tst-tlsmod11.c: Likewise.
18558 * elf/tst-tlsmod12.c: Likewise.
18559 * elf/tst-tlsmod13.c: Likewise.
18560 * elf/tst-tlsmod13a.c: Likewise.
18561 * elf/tst-tlsmod14a.c: Likewise.
18562 * elf/tst-tlsmod15b.c: Likewise.
18563 * elf/tst-tlsmod16a.c: Likewise.
18564 * elf/tst-tlsmod16b.c: Likewise.
18565 * elf/tst-tlsmod7.c: Likewise.
18566 * elf/tst-tlsmod8.c: Likewise.
18567 * elf/tst-tlsmod9.c: Likewise.
18568 * gmon/gmon.c: Likewise.
18569 * grp/fgetgrent_r.c: Likewise.
18570 * grp/putgrent.c: Likewise.
18571 * hurd/fopenport.c: Likewise.
18572 * include/libc-symbols.h: Likewise.
18573 * include/tls.h: Likewise.
18574 * intl/gettextP.h: Likewise.
18575 * intl/loadinfo.h: Likewise.
18576 * locale/global-locale.c: Likewise.
18577 * locale/localeinfo.h: Likewise.
18578 * mach/devstream.c: Likewise.
18579 * malloc/arena.c: Likewise.
18580 * malloc/set-freeres.c: Likewise.
18581 * misc/err.c: Likewise.
18582 * misc/getttyent.c: Likewise.
18583 * misc/mntent_r.c: Likewise.
18584 * posix/getopt.c: Likewise.
18585 * posix/wordexp.c: Likewise.
18586 * pwd/fgetpwent_r.c: Likewise.
18587 * resolv/Versions: Likewise.
18588 * resolv/res_hconf.c: Likewise.
18589 * shadow/fgetspent_r.c: Likewise.
18590 * shadow/putspent.c: Likewise.
18591 * stdio-common/printf_fphex.c: Likewise.
18592 * stdio-common/tmpfile.c: Likewise.
18593 * stdlib/abort.c: Likewise.
18594 * stdlib/fmtmsg.c: Likewise.
18595 * sunrpc/auth_unix.c: Likewise.
18596 * sunrpc/clnt_perr.c: Likewise.
18597 * sunrpc/clnt_tcp.c: Likewise.
18598 * sunrpc/clnt_udp.c: Likewise.
18599 * sunrpc/clnt_unix.c: Likewise.
18600 * sunrpc/openchild.c: Likewise.
18601 * sunrpc/svc_simple.c: Likewise.
18602 * sunrpc/svc_tcp.c: Likewise.
18603 * sunrpc/svc_udp.c: Likewise.
18604 * sunrpc/svc_unix.c: Likewise.
18605 * sunrpc/xdr.c: Likewise.
18606 * sunrpc/xdr_array.c: Likewise.
18607 * sunrpc/xdr_rec.c: Likewise.
18608 * sunrpc/xdr_ref.c: Likewise.
18609 * sunrpc/xdr_stdio.c: Likewise.
18611 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18613 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18615 2011-07-03 Andreas Jaeger <aj@suse.de>
18617 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18619 regenerate with gen-libm-tests.pl.
18621 2010-05-12 Petr Baudis <pasky@suse.cz>
18624 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18625 around j0() zero points by switching to j1().
18626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18627 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18629 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18631 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18633 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18635 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18638 Patch in part by Pavel Roskin <proski@gnu.org>.
18641 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18643 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18644 Free memory block if necessary.
18647 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18648 be NULL. Don't lock in this case.
18650 2011-09-09 Roland McGrath <roland@hack.frob.com>
18652 * elf/elf.h (ELFOSABI_GNU): New macro.
18653 (ELFOSABI_LINUX): Define to that.
18655 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18657 * string/strncat.c (strncat): Undef the symbol in case it has been
18658 defined in bits/string.h.
18660 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18662 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18664 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18667 2011-08-17 Andreas Jaeger <aj@suse.de>
18669 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18671 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18672 Ian Lance Taylor <iant@google.com>
18674 * math/libm-test.inc (lround_test): New testcase.
18675 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18677 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18679 * Makefile: Remove support for automatic cvs check-ins.
18680 * Makerules: Likewise.
18681 * config.make.in: Likewise.
18682 * configure.in: Likewise.
18683 * intl/Makefile: Likewise.
18684 * locale/Makefile: Likewise.
18685 * po/Makefile: Likewise.
18686 * posix/Makefile: Likewise.
18687 * sysdeps/gnu/Makefile: Likewise.
18688 * sysdeps/mach/hurd/Makefile: Likewise.
18689 * sysdeps/sparc/sparc32/Makefile: Likewise.
18692 * posix/Makefile (bug-regex32-ENV): Define.
18693 Patch by John Stanley <jpsinthemix@verizon.net>.
18695 * misc/Makefile (headers): Add bits/select2.h.
18696 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18697 * misc/bits/select2.h: New file.
18698 * include/bits/select2.h: New file.
18699 * debug/Makefile (routines): Add fdelt_chk.
18700 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18701 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18703 * debug/fdelt_chk.c: New file.
18705 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18706 * wcsmbs/test-wmemcmp.c: Likewise.
18707 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18708 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18710 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18712 * string/Makefile (strop-tests): Add memcmp.
18713 * string/test-wmemcmp.c: New file.
18714 * string/test-memcmp.c: Add wmemcmp support.
18716 2011-09-08 Roland McGrath <roland@hack.frob.com>
18719 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18722 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18723 garbage value in a __mach_port_mod_refs call in the cases of the
18724 task-self and thread-self ports.
18726 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18728 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18730 2011-09-08 Andreas Schwab <schwab@redhat.com>
18732 * elf/dl-load.c (lose): Check for non-null L.
18734 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18736 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18738 * elf/dl-libc.c (dlerror_run): Pass back error code from
18742 * elf/dl-load.c (lose): Free l_origin if it is valid.
18744 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18746 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18747 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18749 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18750 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18751 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18753 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18755 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18756 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18757 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18758 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18759 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18760 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18761 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18762 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18763 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18764 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18766 2011-08-15 Alan Modra <amodra@gmail.com>
18769 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18770 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18771 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18772 ppc_mcount to static-only-routines.
18773 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18775 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18776 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18778 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18781 for finite and infinity parameters.
18783 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18785 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18786 and add nop instructions for throughput optimization.
18787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18789 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18792 aligned copy for power7 with vector-scalar instructions.
18793 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18795 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18800 2011-09-07 Andreas Schwab <schwab@redhat.com>
18803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18806 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18808 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18809 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18810 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18811 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18814 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18816 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18817 Forgot to demangle the pointer.
18819 * sysdeps/i386/sysdep.h: Define atom_text_section.
18820 * sysdeps/x86_64/sysdep.h: Likewise.
18821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18822 section with atom_text_section.
18823 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18824 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18825 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18827 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18829 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18831 already be defined. Change to take two parameters and don't assign
18832 result to variable. Adjust all users.
18833 Define INTERNAL_GETTIME if not already defined.
18834 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18837 HAVE_CLOCK_GETTIME_VSYSCALL.
18838 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18840 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18841 gettimeofday vsyscall, just use time.
18843 2011-09-06 Andreas Schwab <schwab@redhat.com>
18845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18848 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18850 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18854 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18855 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18856 syscall if possible.
18858 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18860 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18861 e_ident. Don't pass to find_mapsXX.
18862 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18864 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18867 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18868 * sysdeps/x86_64/multiarch/strchr.S: Update.
18869 Check bit_slow_BSF bit.
18870 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18871 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18872 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18874 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18877 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18879 (tryshell): Define.
18880 (__spawni): Change last parameter to be flag. Test
18881 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18882 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18883 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18884 * posix/spawni.c: Likewise.
18885 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18886 * posix/spawnp.c: Likewise. Change normal version to use
18887 SPAWN_XFLAGS_USE_PATH.
18888 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18889 SPAWN_XFLAGS_TRY_SHELL.
18892 * posix/glob.h: Remove gcc 1.x support.
18895 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18897 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18900 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18902 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18903 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18904 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18905 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18906 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18907 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18909 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18911 * sysdeps/x86_64/wcscmp.S: New file.
18913 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18914 wcscmp-c wcscmp-sse2
18915 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18916 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18917 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18918 * wcsmbs/wcscmp.c: Allow renaming.
18920 2011-09-05 David S. Miller <davem@davemloft.net>
18922 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18923 stack slot, rather than the struct return pointer slot.
18924 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18925 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18927 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18929 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18931 * po/ja.po: Update from translation team.
18934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18935 kernel in 64-bit binaries.
18937 2011-09-01 David S. Miller <davem@davemloft.net>
18939 * elf/elf.h (HWCAP_SPARC_*): Move to..
18940 * sysdeps/sparc/sysdep.h: this new file and add new values.
18941 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18942 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18943 _DL_HWCAP_COUNT to 24.
18944 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18946 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18947 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18948 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18950 instead of magic constants.
18951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18953 2011-08-31 David S. Miller <davem@davemloft.net>
18955 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18957 Reimplement to do errno handling inline.
18958 (SYSCALL_ERROR_HANDLER): New macro.
18959 (__SYSCALL_STRING): Do not do errno handling in asm.
18960 (__CLONE_SYSCALL_STRING): Delete.
18961 (__INTERNAL_SYSCALL_STRING): Delete.
18962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18963 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18964 (PSEUDO): Reimplement to do errno handling inline.
18965 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18966 (SYSCALL_ERROR_HANDLER): New macro.
18967 (__SYSCALL_STRING): Do not do errno handling in asm.
18968 (__CLONE_SYSCALL_STRING): Delete.
18969 (__INTERNAL_SYSCALL_STRING): Delete.
18970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18971 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18973 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18974 (inline_syscall*): Add 'err' argument.
18975 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18976 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18977 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18978 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18980 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18981 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18983 2011-08-30 Andreas Schwab <schwab@redhat.com>
18985 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18987 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18989 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18992 2011-08-24 David S. Miller <davem@davemloft.net>
18994 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18996 2011-08-24 Andreas Schwab <schwab@redhat.com>
18998 * elf/Makefile: Add rules to build and run unload8 test.
18999 * elf/unload8.c: New file.
19000 * elf/unload8mod1.c: New file.
19001 * elf/unload8mod1x.c: New file.
19002 * elf/unload8mod2.c: New file.
19003 * elf/unload8mod3.c: New file.
19005 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19008 2011-08-23 David S. Miller <davem@davemloft.net>
19010 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19011 subtract stack bias.
19012 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19013 %sp not %fp in calculations.
19014 (_JMPBUF_UNWINDS_ADJ): Likewise.
19016 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19017 (aio_suspend): Call it to force an exception region around the
19018 AIO_MISC_WAIT() invocation.
19020 2011-08-23 Andreas Schwab <schwab@redhat.com>
19022 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19025 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19027 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19029 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19030 and <dl-machine.h>.
19031 (Elf64_FuncDesc): Remove.
19033 2011-08-22 David S. Miller <davem@davemloft.net>
19035 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19036 sigaltstack check, add missing cfi directives.
19037 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19038 missing cfi directives, and sigaltstack handling.
19040 2011-08-16 Andreas Schwab <schwab@redhat.com>
19043 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19044 object is seen twice.
19045 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19047 * elf/Makefile (distribute): Add tst-initorder2.c.
19048 (tests): Add tst-initorder2.
19049 (modules-names): Add tst-initorder2a tst-initorder2b
19050 tst-initorder2c tst-initorder2d. Add rules to build them.
19051 ($(objpfx)tst-initorder2.out): New rule.
19052 * elf/tst-initorder2.c: New file.
19053 * elf/tst-initorder2.exp: New file.
19055 2011-08-22 Andreas Schwab <schwab@redhat.com>
19057 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19059 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19060 dependencies back to end of function.
19062 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19063 $(elfobjdir)/ld.so.
19065 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19068 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19070 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19071 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19072 of __vdso_gettimeofday.
19073 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19074 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19076 (_libc_vdso_platform_setup): Remove initialization of
19077 __vdso_gettimeofday and __vdso_time.
19079 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19081 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19082 and fgetc_unlocked.
19083 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19086 * elf/dl-open.c (add_to_global): Report additions to the global scope
19087 for LD_DEBUG=scopes.
19088 (dl_open_worker): Also print scope of newly loaded dependencies.
19089 (_dl_show_scope): Indicate if there is no scope.
19092 * stdio-common/Makefile (tests): Add bug24.
19093 * stdio-common/bug24.c: New file.
19095 2011-08-19 Andreas Jaeger <aj@suse.de>
19098 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19099 non-existant file when using close-on-exec mode.
19101 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19104 the very first instruction.
19106 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19107 the CFI state in the end.
19108 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19109 inclusion of dl-trampoline.h.
19110 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19112 2011-08-19 Andreas Schwab <schwab@redhat.com>
19114 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19115 expectations for long double.
19117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19118 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19120 2011-08-14 David S. Miller <davem@davemloft.net>
19122 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19123 artificual limit depends upon the system page size.
19125 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19127 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19128 * resolv/Makefile: Define CFLAGS-libresolv.
19130 2011-08-17 Andreas Schwab <schwab@redhat.com>
19132 * nss/makedb.c (compute_tables): Make variables used in nested
19135 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19137 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19138 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19139 if buffer was too small.
19141 * elf/pldd.c (main): Attach to all threads in the process.
19142 Rewrite /proc handling to use *at functions.
19144 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19146 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19147 specifies first scope to show.
19148 (dl_open_worker): Update callers. Move printing scope of new
19149 object to before the relocation.
19150 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19151 * sysdeps/generic/ldsodefs.h: Update declaration.
19153 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19154 string for the scope number.
19156 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19158 * nscd/servicescache.c (cache_addserv): Make sure written is always
19161 2011-08-14 Roland McGrath <roland@hack.frob.com>
19163 * sysdeps/i386/i486/bits/atomic.h
19164 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19165 statement expression, so as to suppress "set but not used" warning.
19166 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19168 * string/strncat.c (STRNCAT): Use prototype definition.
19170 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19171 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19173 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19174 (localedef-modules): Add localedef.
19175 (locale-modules): Add locale.
19177 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19178 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19179 to avoid a warning.
19181 2011-08-14 David S. Miller <davem@davemloft.net>
19183 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19184 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19186 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19188 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19189 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19190 * elf/rtld.c (dl_main): Set l_name of vDSO.
19191 Call _dl_show_scope when DL_DEBUG_SCOPES.
19192 (process_dl_debug): Recognize scopes flag and also set it for all.
19193 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19194 Declare _dl_show_scope.
19196 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19197 (do_dlopen): Pass caller_dlopen to dl_open.
19198 (__libc_dlopen_mode): Initialize caller_dlopen.
19200 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19201 of libc. Make tolower call locale-independent. Optimize a bit by
19202 using isdigit instead of isalnum.
19203 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19205 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19207 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19208 was a dependency or dynamically loaded.
19210 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19212 * intl/l10nflist.c: Allow architecture-specific pop function.
19213 * sysdeps/x86_64/l10nflist.c: New file.
19215 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19218 2011-08-10 Andreas Schwab <schwab@redhat.com>
19220 * include/dirent.h: Add libc_hidden_proto for scandirat and
19221 scandirat64. Don't declare __scandirat64.
19222 * dirent/scandirat.c: Add libc_hidden_def.
19223 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19224 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19226 2011-08-10 David S. Miller <davem@davemloft.net>
19228 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19234 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19236 * Versions.def [libc]: Add GLIBC_2.15.
19237 * dirent/Makefile (routines): Add scandirat and scandirat64.
19238 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19240 * dirent/dirent.h: Declare scandirat and scandirat64.
19241 * dirent/scandirat.c: New file.
19242 * dirent/scandirat64.c: New file.
19243 * sysdeps/wordsize-64/scandirat.c: New file.
19244 * sysdeps/wordsize-64/scandirat64.c: New file.
19245 * dirent/opendir.c: Define opendirat.
19246 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19248 * dirent/scandir64.c: Adjust for scandir.c change.
19249 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19250 __scandirat64, and __scandir_cancel_handler.
19251 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19252 additional parameter and use openat instead of open (outside of ld.so).
19253 Add new __opendir as wrapper around __opendirat.
19254 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19255 here without requiring old scandirat implementation.
19257 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19259 * dirent/scandir.c (cancel_handler): Renamed to
19260 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19261 defined. Adjust users.
19262 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19265 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19267 * string/test-string.h (IMPL): Use __STRING to expand name and then
19270 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19273 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19275 * string/Makefile: Update.
19276 (strop-tests): Append strncat.
19277 * string/test-wcscmp.c: New file.
19278 New comprehensive test for wcscmp.
19279 * string/test-strcmp.c: Update.
19280 (WIDE): New define.
19282 2011-07-22 Andreas Schwab <schwab@redhat.com>
19284 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19287 2011-07-26 Andreas Schwab <schwab@redhat.com>
19289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19290 encoding to ACE if AI_IDN.
19292 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19295 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19297 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19299 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19300 Fix overflow bug in strncat.
19301 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19303 * string/test-strncat.c: Update.
19304 Add new tests for checking overflow bugs.
19306 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19309 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19310 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19311 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19312 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19313 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19314 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19315 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19316 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19319 (USE_AS_STRCAT): Define.
19320 Add strcat and strncat support.
19321 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19323 2011-07-25 Andreas Schwab <schwab@redhat.com>
19325 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19326 __n bigger than INT_MAX+1.
19327 (__strncmp_g): Likewise.
19329 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19331 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19332 * libio/stido.h: Likewise.
19334 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19339 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19340 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19341 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19342 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19346 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19351 (_dl_x86_64_save_sse): Likewise.
19353 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19357 (_dl_x86_64_save_sse): Likewise.
19359 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19361 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19363 2011-07-21 Andreas Schwab <schwab@redhat.com>
19365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19367 (_dl_x86_64_save_sse): Use correct AVX check.
19369 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19371 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19372 bug in strncpy/strncat.
19373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19375 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19377 * string/tester.c (test_strcat): Add tests for different alignments
19378 of source and destination.
19379 (test_strncat): Likewise.
19381 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19384 * posix/glob.c (glob): Check passed in values before using them in
19385 expressions to avoid some overflows.
19386 (glob_in_dir): Likewise.
19389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19390 check for AVX enablement so that we don't crash with old kernels and
19392 * elf/tst-audit4.c: Add same checks here.
19393 * elf/tst-audit6.c: Likewise.
19395 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19397 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19399 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19401 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19403 * po/cs.po: Update from translation team.
19404 * po/bg.po: Likewise.
19406 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19408 * misc/sys/cdefs.h: Add support for const attribute.
19409 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19410 to gnu_dev_{major,minor,makedev} functions.
19412 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19414 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19416 2011-07-20 Andreas Schwab <schwab@redhat.com>
19418 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19421 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19423 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19424 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19425 register in order to avoid conflicts with the soft frame pointer
19426 being held in r11 when necessary.
19427 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19428 (INTERNAL_VSYSCALL_NCS): Likewise.
19430 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19432 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19433 * elf/dl-fini.c (_dl_fini): Adjust caller.
19434 * elf/dl-close.c (_dl_close_worker): Likewise.
19435 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19437 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19439 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19440 "aux_cache->nlibs < 0".
19442 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19443 in the reload-count case.
19445 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19448 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19449 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19450 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19451 * sysdeps/x86_64/multiarch/strcat.S: New file.
19452 * sysdeps/x86_64/multiarch/strncat.S: New file.
19453 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19454 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19455 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19456 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19457 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19458 (USE_AS_STRCAT): Define.
19459 Add strcat and strncat support.
19460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19462 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19463 * string/strncat.c: Update.
19464 (USE_AS_STRNCAT): Define.
19465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19466 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19468 * sysdeps/x86_64/multiarch/init-arch.h
19469 (bit_Prefer_PMINUB_for_stringop): New.
19470 (index_Prefer_PMINUB_for_stringop): Likewise.
19471 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19472 bit_Prefer_PMINUB_for_stringop.
19474 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19476 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19478 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19479 of casting of buffer.
19480 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19481 buffer32 and buffer64.
19482 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19483 writes instead of casting of buffer.
19484 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19486 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19489 2011-07-19 Andreas Schwab <schwab@redhat.com>
19491 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19493 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19495 * nscd/nscd.c (termination_handler): Don't do anything for a database
19496 if it has not yet been initialized.
19498 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19502 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19504 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19506 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19508 * po/nl.po: Update from translation team.
19509 * po/sv.po: Likewise.
19511 2011-07-16 Roland McGrath <roland@hack.frob.com>
19513 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19514 now disallowed by GCC.
19516 * configure.in (use-default-link): Default to yes if a test -shared
19517 link meets our qualifications.
19518 * configure: Regenerated.
19520 * config.make.in (output-format): New variable.
19521 * configure.in: Check for ld --print-output-format support.
19522 * configure: Regenerated.
19523 * Makerules ($(common-objpfx)format.lds)
19524 [$(output-format) != unknown]: Just use $(output-format),
19525 instead of the linker-script munging.
19527 2011-07-14 Roland McGrath <roland@hack.frob.com>
19529 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19530 of $(common-objpfx)shlib.lds.
19531 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19533 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19534 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19536 * configure.in (-z relro check): Adjust test code to add a large
19537 writable data section after it.
19538 * configure: Regenerated.
19540 2011-07-11 Roland McGrath <roland@hack.frob.com>
19542 * configure.in (-z relro check): Fix test code to make the variable
19544 * configure: Regenerated.
19546 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19548 * nscd/nscd.h (struct traced_file): Define.
19549 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19550 elements. Add traced_files.
19551 (inotify_fd): Declare.
19552 (register_traced_file): Declare.
19553 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19554 (inotify_fd): Export.
19555 (resolv_conf_descr): Remove.
19556 (nscd_init): Move inotify descriptor creation to main.
19557 Don't register files for notification here.
19558 (register_traced_file): New function.
19559 (invalidate_cache): Don't use reset_res to determine whether to call
19560 res_init, go through the list of registered files.
19561 (main_loop_poll): The inotify descriptors are now stored in the
19562 structures for the traced files.
19563 (main_loop_epoll): Likewise
19564 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19565 to __nss_disable_nscd.
19566 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19567 for a database anymore. Check the records for all the registered
19569 * nss/Makefile (libnss_files-routines): Add files-init.
19570 (libnss_db-routines): Add db-init.
19571 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19572 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19573 * nss/nss_db/db-init.c: New file.
19574 * nss/nss_files/files-init.c: New file.
19575 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19576 __nss_lookup_function.
19577 (__nss_lookup_function): Call nss_load_library.
19578 (nss_load_all_libraries): New function.
19579 (__nss_disable_nscd): Take parameter with callback function for files
19580 to register. Set is_nscd. Load all the DSOs for the NSS modules
19581 used for the cached services.
19582 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19584 options for features to all the files in nscd.
19586 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19588 2011-07-10 Roland McGrath <roland@hack.frob.com>
19590 * csu/elf-init.c (__libc_csu_init): Comment typo.
19592 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19594 * po/pl.po: Update from translation team.
19595 * po/ja.po: Likewise.
19596 * po/ru.po: Likewise.
19597 * po/ko.po: Likewise.
19598 * po/fr.po: Likewise.
19600 2011-07-09 Roland McGrath <roland@hack.frob.com>
19602 * configure.in (.ctors/.dtors header and trailer check):
19603 Use an empirical test on a built program.
19604 * configure: Regenerated.
19606 * configure.in (-z relro check): Use an empirical test on a built DSO.
19607 Detect, but do not require, on ia64.
19608 * configure: Regenerated.
19610 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19611 Update tests that use readelf to use $READELF instead.
19612 * configure: Regenerated.
19614 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19616 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19617 if the result is not used.
19619 2011-07-05 Andreas Jaeger <aj@suse.de>
19622 * stdlib/tst-strtod.c: Add testcase.
19624 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19626 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19627 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19628 The latter has a higher limit. Take additional parameter to pass to
19630 (__pathconf): Pass file to __statfs_link_max.
19631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19633 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19637 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19638 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19640 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19641 (__statfs_filesize_max): Likewise.
19642 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19644 2011-07-05 Andreas Jaeger <aj@suse.de>
19646 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19648 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19650 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19652 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19655 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19657 * Makefile (strop-tests): Add strncat.
19658 * string/test-strncat.c: New file.
19660 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19662 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19664 2011-06-21 Andreas Jaeger <aj@suse.de>
19666 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19667 Copy rule from iconvdata/Makefile.
19669 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19672 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19673 but no long options are defined, just return 'W'.
19675 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19678 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19680 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19682 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19684 (innetgr): Likewise.
19686 2011-07-05 Roland McGrath <roland@hack.frob.com>
19688 * config.make.in (install_root): Default to $(DESTDIR).
19690 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19692 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19694 2011-07-02 Roland McGrath <roland@hack.frob.com>
19696 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19698 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19699 containing directory rather than embedding absolute directory names.
19701 * scripts/check-local-headers.sh: Rewritten using awk.
19702 Match by word, not by line. Print error messages for matches.
19703 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19705 * Makerules [shlib-lds-flags empty]:
19706 ($(common-objpfx)libc_pic.opts): New target.
19707 ($(common-objpfx)libc_pic.os.clean): New target.
19708 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19710 * config.make.in (OBJCOPY): New variable.
19711 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19712 * configure: Regenerated.
19714 * config.make.in (use-default-link): New variable.
19715 * configure.in (use_default_link): Grok --with-default-link to set it.
19716 * configure: Regenerated.
19717 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19718 (shlib-lds, shlib-lds-flags): Define to empty.
19720 * Makerules (shlib-lds): New variable.
19721 (shlib-lds-flags): New variable.
19722 (build-shlib, build-moduile, build-module-asneeded): Use it.
19723 ($(common-objpfx)libc.so): Use $(shlib-lds).
19724 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19725 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19727 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19728 DT_FLAGS/DT_FLAGS_1 with zero flags.
19730 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19731 linker script munging.
19733 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19735 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19737 * crypt/sha512.c (sha512_process_block): Perform total addition using
19738 128-bit if possible.
19739 (__sha512_finish_ctx): Likewise.
19740 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19742 * crypt/sha256.c (SWAP64): Define.
19743 (sha256_process_block): Perform total addition using 64-bit if
19745 (__sha256_finish_ctx): Likewise.
19747 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19749 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19751 * nscd/hstcache.c (cache_addhst): Likewise.
19752 * nscd/grpcache.c (cache_addgr): Likewise.
19753 * nscd/aicache.c (addhstaiX): Likewise
19754 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19756 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19758 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19760 * nscd/hstcache.c (cache_addhst): Likewise.
19761 * nscd/grpcache.c (cache_addgr): Likewise.
19762 * nscd/aicache.c (addhstaiX): Likewise
19764 2011-07-01 Andreas Schwab <schwab@redhat.com>
19766 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19767 domain only when needed.
19769 2011-06-30 Andreas Schwab <schwab@redhat.com>
19771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19772 is always restored.
19774 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19776 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19777 are re-adding the entry.
19778 * nscd/servicescache.c (cache_addserv): Likewise.
19780 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19782 * sysdeps/generic/dl-irel.h: fix protection against multiple
19784 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19786 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19789 * malloc/memusage.sh: Fix quoting in message.
19790 * debug/xtrace.sh: Likewise.
19792 * configure.in: Remove support for --experimental-malloc option, make
19794 * config.make.in: Likewise.
19795 * malloc/Makefile: Likewise.
19797 2011-06-27 Andreas Schwab <schwab@redhat.com>
19799 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19800 two-byte characters.
19802 2011-06-27 Roland McGrath <roland@hack.frob.com>
19804 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19805 AC_CACHE_CHECK invocation.
19806 * configure: Regenerated.
19808 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19810 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19813 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19814 bit from old_res_options.
19816 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19818 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19819 value type for setfct.
19821 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19824 __gettimeofday instead of gettimeofday.
19826 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19828 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19830 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19832 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19834 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19837 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19840 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19841 strcpy-sse2-unaligned strncpy-sse2-unaligned
19842 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19843 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19844 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19845 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19846 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19848 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19849 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19850 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19851 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19852 (STRCPY): Support SSE2 and SSSE3 versions.
19854 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19857 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19858 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19859 kernels which artificially limit size of requests.
19861 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19864 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19865 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19866 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19867 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19868 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19869 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19870 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19873 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19874 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19875 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19876 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19877 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19879 Enable unaligned load optimization for Intel Core i3, i5 and i7
19881 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19883 (index_Fast_Unaligned_Load): Define.
19884 (HAS_FAST_UNALIGNED_LOAD): Define.
19886 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19888 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19890 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19894 until it is clear that the information is realy needed.
19895 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19897 2011-06-22 Andreas Schwab <schwab@redhat.com>
19899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19901 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19903 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19904 /sys/devices/system/cpu/online if it is usable.
19906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19907 reading the information from the /proc filesystem to once a second.
19909 2011-06-21 Andreas Jaeger <aj@suse.de>
19911 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19912 NULL after inclusion of kernel headers.
19914 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19916 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19917 calls to internal_setent.
19920 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19921 addresses using gethostbyname4_r ignore IPv4 addresses.
19923 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19924 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19926 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19928 2011-06-20 David S. Miller <davem@davemloft.net>
19930 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19932 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19934 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19935 (elf_irel): Use it.
19936 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19937 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19938 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19939 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19940 * sysdeps/x86_64/dl-irel.h: Likewise.
19942 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19943 * elf/dl-sym.c: Likewise.
19945 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19947 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19948 need to dereference resplen2.
19950 2011-06-14 Andreas Schwab <schwab@redhat.com>
19952 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19954 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19956 * Makeconfig: Define vardbdir and inst_vardbdir.
19957 * nss/Makefile: Add rules to install db-Makefile.
19959 * nss/nss_db/db-XXX.c: Cleanup.
19961 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19962 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19964 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19965 * nss/makedb.c: Implement -g option to specify that value strings
19966 are generated and should not be added to table iterated over for
19968 * nss/nss_db/db-initgroups.c: New file.
19970 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19973 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19974 (internal_getgrouplist): Adjust to name change.
19975 Update use_initgroups_entry if this is not the first call.
19976 * nss/databases.def: Add initgroups entry.
19978 * nss/makedb.c (compute_tables): Check result of multiple hash table
19979 sizes to minimize maximum chain length.
19981 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19983 * Versions.def: Add entry for libnss_db.
19984 * shlib-versions: Likewise.
19985 * nss/Makefile: Add rules to build libnss_db.
19986 * nss/Versions: Add libnss_db information. Organize libnss_files
19988 * nss/db-Makefile: Add gshadow support. Change rules for the new
19989 makedb progra. Some minor improvements to generate smaller files.
19990 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19992 * nss/makedb.c: ...here.
19993 Improve database format to be smaller and require less memory at
19995 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19997 * nss/nss_db/db-netgrp.c: Likewise.
19998 * nss/nss_db/db-open.c: Likewise.
19999 * nss/nss_files/flies-XXX.x: Adjust comments.
20000 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20001 * nss/nss_files/files-grp.c: Likewise.
20002 * nss/nss_files/files-hosts.c: Likewise.
20003 * nss/nss_files/files-network.c: Likewise.
20004 * nss/nss_files/files-proto.c: Likewise.
20005 * nss/nss_files/files-pwd.c: Likewise.
20006 * nss/nss_files/files-rpc.c: Likewise.
20007 * nss/nss_files/files-service.c: Likewise.
20008 * nss/nss_files/files-sgrp.c: Likewise.
20009 * nss/nss_files/files-spwd.c: Likewise.
20010 * nss/nss_db/db-alias.c: Removed.
20011 * nss/nss_db/dummy-db.h: Removed.
20013 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20015 * nss/makedb.c: Rewritten to not use database library.
20016 * nss/Makefile: Update to build new makedb program.
20018 2011-06-14 Andreas Jaeger <aj@suse.de>
20020 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20021 memset declaration.
20023 2011-06-10 Andreas Schwab <schwab@redhat.com>
20025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20028 2011-06-10 Roland McGrath <roland@hack.frob.com>
20030 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20031 * elf/Makefile ($(objpfx)ld.so): Likewise.
20033 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20034 Don't list ld.so twice in dependencies.
20036 * posix/bug-regex31.c: Include <stdlib.h>.
20038 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20040 * nis/nss_compat/compat-spwd.c
20041 (getspent_next_nss_netgr): Remove unused variable.
20042 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20044 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20045 nonmembers" output to use the right array.
20047 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20049 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20051 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20052 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20053 * catgets/gencat.c (read_input_file): Likewise.
20054 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20056 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20057 variable definition inside #if's controlling its use.
20059 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20061 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20063 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20065 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20068 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20070 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20071 * configure: Regenerated.
20073 * Makerules: Revert last change.
20074 * elf/Makefile: Likewise.
20076 2011-06-09 Roland McGrath <roland@hack.frob.com>
20078 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20079 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20080 (reloc-link): Likewise.
20082 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20084 * elf/Makefile: Add rules to build pldd.
20085 * elf/pldd.c: New file.
20086 * elf/pldd-xx.c: New file.
20088 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20090 * version.h: Update for 2.15 development version.
20092 2011-06-07 David S. Miller <davem@davemloft.net>
20094 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20096 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20097 elf_machine_lazy_rel): Likewise.
20098 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20099 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20100 elf_machine_lazy_rel): Likewise.
20101 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20102 dl_hwcap via passed in argument.
20103 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20106 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20108 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20110 2011-06-06 Roland McGrath <roland@hack.frob.com>
20113 * manual/fdl-1.1.texi: New file, verbatim from:
20114 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20115 * manual/lgpl-2.1.texi: New file, verbatim from:
20116 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20117 * manual/Makefile (licenses): New variable, list those new file names.
20119 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20121 * manual/fdl.texi: File removed.
20122 * manual/lesser.texi: File removed.
20123 * manual/libc.texinfo (Copying, Documentation License):
20124 Use new @include file names, put @appendix directive before @include.
20126 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20129 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20130 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20131 (mq_open): Add __NTH.
20133 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20136 Assume Intel Core i3/i5/i7 processor if AVX is available.
20138 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20143 2011-05-31 Andreas Schwab <schwab@redhat.com>
20145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20146 memory. Use alloca_account. Fix memory leak when retrying.
20148 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20150 * version.h (RELEASE): Bump for 2.14 release.
20151 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20153 * config.make.in (RANLIB): Remove entry.
20155 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20157 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20158 (libc.pot): Work around missing support for .ksh extension in xgettext.
20161 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20162 if both request failed.
20163 (send_dg): In case of server errors clear resplen or *resplen2.
20166 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20167 when there are multiple maps.
20168 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20169 (_dl_fini): Remove test here.
20171 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20173 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20176 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20177 bit from old_res_options.
20178 (gaih_inet): Likewise.
20181 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20184 * resolv/res_init.c (res_setoptions): Make the code more compact.
20187 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20191 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20193 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20196 * malloc/malloc.h: Declare malloc hook variables as volatile.
20198 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20202 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20203 raise in the comment.
20204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20205 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20206 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20208 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20211 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20212 grow the buffers more if it already has to be sufficient.
20213 (build_wcs_upper_buffer): Likewise.
20214 * posix/regexec.c (check_matching): Likewise.
20215 (clean_state_log_if_needed): Likewise.
20216 (extend_buffers): Don't enlarge buffers beyond size of the input
20218 Patches mostly by Emil Wojak <emil@wojak.eu>.
20219 * posix/bug-regex32.c: New file.
20220 * posix/Makefile (tests): Add bug-regex32.
20222 * locale/findlocale.c (_nl_find_locale): Return right away if
20223 _nl_explode_name failed.
20224 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20226 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20228 * debug/xtrace.sh: Unify messages.
20229 * malloc/memusage.sh: Likewise.
20232 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20233 time symbol from vDSO. Substitute with vsyscall if not available.
20234 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20237 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20238 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20239 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20240 Add sendmmsg and internal_sendmmsg.
20241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20242 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20243 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20245 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20246 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20247 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20249 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20252 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20253 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20255 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20259 * iconvdata/Makefile (tests): Add bug-iconv9.
20260 * iconvdata/bug-iconv9.c: New file.
20262 2011-05-27 Andreas Schwab <schwab@redhat.com>
20265 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20267 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20270 (struct user_regs_struct): Change intcs field back to cs.
20272 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20274 * po/ja.po: Update from translation team.
20276 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20279 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20280 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20282 2011-05-20 Andreas Schwab <schwab@redhat.com>
20284 * stdlib/longlong.h: Update from GCC.
20286 2011-05-23 Andreas Schwab <schwab@redhat.com>
20288 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20290 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20291 Add parameter name.
20292 (__sysconf): Pass it down.
20294 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20297 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20299 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20300 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20301 add in in __libc_use_alloca calls. Adjust callers.
20302 (glob): Use malloc in some situations.
20304 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20305 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20308 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20310 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20311 and CLOCK_BOOTTIME_ALARM.
20314 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20317 * string/_strerror.c (__strerror_r): Print negative errors as signed
20321 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20322 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20323 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20325 * configure.in: Fix typo in redirection and correct removal of test
20326 files in two cases.
20329 * locale/setlocale.c (new_composite_name): Fix test to check for
20330 identical name of all categories.
20333 * libio/filedoalloc.c (local_isatty): New function.
20334 (_IO_file_doallocate): Use local_isatty.
20335 * stdio-common/perror.c (perror): In case a new stream is used
20336 forward the stream error.
20337 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20340 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20345 * include/alloca.h (extend_alloca_account): Define.
20348 * posix/regex.h: Fix comments with documentation of user-accessible
20349 fields after compilation and describe correct free'ing of pattern
20350 after re_compile_pattern.
20351 Patch by Reuben Thomas <rrt@sc3d.org>.
20353 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20355 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20356 and -mno-altivec to prevent the compiler from using Altivec and/or
20357 VSX instructions when the corresponding registers are not available.
20359 2011-05-19 Andreas Schwab <schwab@redhat.com>
20361 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20363 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20365 * libio/freopen.c (freopen): Use __dup2, not dup2.
20366 * libio/freopen64.c (freopen64): Likewise.
20368 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20371 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20372 * math/Makefile (tests): Add test-powl.
20373 (CFLAGS-test-powl.c): Define.
20374 * math/test-powl.c: New file.
20376 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20378 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20380 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20383 * iconvdata/gb18030.c: Update to GB18020-2005.
20385 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20387 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20388 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20389 Patch by Aharon Robbins <arnold@skeeve.com>.
20392 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20396 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20397 through underflows.
20400 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20401 point to strings before performing equality test for error_one_per_line
20405 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20408 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20409 (struct user_fpregs_struct): Avoid __uint*_t types.
20412 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20413 symbol info. Use it instead of calling _dl_addr locally.
20414 (lock_and_info): New function.
20415 (tr_freehook): Call lock_and_info and pass symbol info as additional
20416 parameter to tr_where.
20417 (tr_mallochook): Likewise.
20418 (tr_reallochook): Likewise.
20419 (tr_memalignhook): Likewise.
20421 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20422 used and couldn't be at all thread-safe.
20424 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20426 * libio/freopen.c (freopen): Don't close old file descriptor
20427 before the new one is opened. Instead dup the new file descriptor
20428 to the old one after the new stream is created.
20429 * libio/freopen64.c (freopen64): Likewise.
20430 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20431 * libio/fileops.c (_IO_new_file_close_it): Handle new
20432 _IO_FLAGS2_NOCLOSE flag.
20433 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20434 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20435 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20436 _IO_FLAGS2_NOCLOSE flag.
20437 * include/unistd.h: Add hidden_proto for dup3.
20438 Define __have_dup3.
20439 * io/dup3.c: Define hidden symbol.
20440 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20443 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20444 when an incomplete long option is used.
20445 * posix/tst-getopt_long1.c: New file.
20446 * posix/Makefile (tests): Add tst-getopt_long1.
20449 * scripts/config.guess: Update from autoconf-2.68.
20450 * scripts/config.sub: Likewise.
20453 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20455 (has_cpuclock): ...this. New function.
20456 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20457 macro here based on has_cpuclock code.
20460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20461 First byte (not low byte) is now always NUL.
20462 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20465 Use non-cancelable interfaces.
20468 * locale/iso-639.def: Add entry for Sorani.
20471 * include/stdlib.h: Move include protection to the right place.
20472 Define abort_msg_s. Declare __abort_msg with it.
20473 * stdlib/abort.c (__abort_msg): Adjust type.
20474 * assert/assert.c (__assert_fail_base): New function. Majority
20475 of code from __assert_fail. Allocate memory for __abort_msg with
20477 (__assert_fail): Now call __assert_fail_base.
20478 * assert/assert-perr.c: Remove bulk of implementation. Use
20479 __assert_fail_base.
20480 * include/assert.hL Declare __assert_fail_base.
20481 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20483 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20485 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20489 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20490 until all modules are registered in the DTV.
20491 * elf/Makefile: Add rules to build and run tst-tls19.
20492 * elf/tst-tls19.c: New file.
20493 * elf/tst-tls19mod1.c: New file.
20494 * elf/tst-tls19mod2.c: New file.
20495 * elf/tst-tls19mod3.c: New file.
20496 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20499 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20503 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20504 two-byte sequence errors.
20505 * iconvdata/Makefile (tests): Add bug-iconv8.
20506 * iconvdata/bug-iconv8.c: New file.
20509 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20512 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20515 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20516 (dummy_getcfa): New function.
20517 (init): Get _Unwind_GetCFA address, use dummy if not found.
20518 (backtrace_helper): In recursion check, also check whether CFA changes.
20519 (__backtrace): Completely initialize arg.
20521 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20522 storing incomplete byte sequence in state object. Avoid testing for
20523 guaranteed too small input if we know there is enough data available.
20525 2011-05-11 Andreas Schwab <schwab@redhat.com>
20527 * Makeconfig (+link-pie): Indent.
20528 * Rules (binaries-pie): Define if $(have-fpie) and
20530 (binaries-shared): Also filter out $(binaries-pie).
20531 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20532 * nscd/Makefile (others-pie): Add nscd.
20533 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20534 ($(objpfx)nscd): Remove command override.
20535 * login/Makefile (others-pie): Add pt_chown.
20536 ($(objpfx)pt_chown): Remove command override.
20537 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20538 remove command overrides.
20540 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20542 * libio/tst_putwc.c: Fix error messages.
20545 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20546 currently writing and seek to current position when not.
20547 * libio/Makefile (tests): Add bug-fclose1.
20548 * libio/bug-fclose1.c: New file.
20550 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20553 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20554 don't set DF_1_NODELETE here.
20555 (do_lookup_x): When entering new entry test for copy relocation
20556 and if necessary set DF_1_NODELETE flag.
20557 * elf/tst-unique4.cc: New file.
20558 * elf/tst-unique4.h: New file.
20559 * elf/tst-unique4lib.cc: New file.
20560 * elf/Makefile: Add rules to build and run tst-unique4.
20561 Patch by Piotr Bury <pbury@goahead.com>.
20563 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20566 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20569 * misc/mntent_r.c (addmntent): Flush the stream after the output
20572 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20573 (is_trusted_path_normalize): Skip initial colon. Append slash
20574 to empty buffer. Duplicate is_trusted_path code but allow
20575 constructed patch to be prefix.
20576 (is_dst): Allow $ORIGIN followed by /.
20577 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20578 Correct testing of result of is_trusted_path_normalize
20579 (decompose_rpath): Fix warning.
20581 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20584 * grp/initgroups.c (internal_getgrouplist): When we found the service
20585 list through the initgroups entry in nsswitch.conf do not always
20586 continue on a successful lookup. Don't always use the
20587 __nss_group_database value if it is set.
20588 * nss/nsswitch.conf (initgroups): Change action for successful db
20589 lookup to continue for compatibility.
20591 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20594 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20596 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20598 * iconvdata/tst-tables.sh: Likewise.
20599 * iconvdata/cp770.c: New file.
20600 * iconvdata/cp771.c: New file.
20601 * iconvdata/cp772.c: New file.
20602 * iconvdata/cp773.c: New file.
20603 * iconvdata/cp774.c: New file.
20604 * iconvdata/testdata/CP770: New file.
20605 * iconvdata/testdata/CP770..UTF8: New file.
20606 * iconvdata/testdata/CP771: New file.
20607 * iconvdata/testdata/CP771..UTF8: New file.
20608 * iconvdata/testdata/CP772: New file.
20609 * iconvdata/testdata/CP772..UTF8: New file.
20610 * iconvdata/testdata/CP773: New file.
20611 * iconvdata/testdata/CP773..UTF8: New file.
20612 * iconvdata/testdata/CP774: New file.
20613 * iconvdata/testdata/CP774..UTF8: New file.
20615 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20617 * iconvdata/gen-8bit-gap.sh: Likewise.
20618 * iconvdata/gen-8bit.sh: Likewise.
20620 * locale/iso-639.def: Add ary entry.
20623 * locale/C-translit.h.in: Add U20A1 transliteration.
20626 * locale/iso-639.def: Add wae entry.
20627 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20630 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20634 * locale/C-translit.h.in: Add entry for U20B9.
20635 Patch by pravin.d.s@gmail.com.
20637 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20640 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20641 ENAMETOOLONG use generic getcwd.
20642 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20643 in rtld. Use *stat64.
20644 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20645 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20646 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20647 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20648 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20649 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20650 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20651 __fstatat64 macros.
20652 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20653 * dirent/rewinddir.c: Add libc_hidden_def.
20654 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20655 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20657 * include/dirent.h (__alloc_dir): Add flags parameter.
20658 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20659 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20661 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20662 from fdopendir if O_CLOEXEC is already set.
20664 2011-03-15 Alan Modra <amodra@gmail.com>
20666 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20667 l_tls_firstbyte_offset non-zero. Save padding offset in
20668 l_tls_firstbyte_offset for later use.
20669 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20670 freeing static tls block.
20672 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20674 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20675 where #ifdef was intended. The intent is to prevent ARG_MAX from
20676 being defined by the kernel headers.
20678 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20681 * resolv/resolv.h: Define RES_NOTLDQUERY.
20682 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20683 no-tld-query and set RES_NOTLDQUERY.
20684 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20685 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20686 modern BIND to search name as TLD unless forbidden.
20688 2011-05-07 Petr Baudis <pasky@suse.cz>
20689 Ulrich Drepper <drepper@gmail.com>
20692 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20693 (is_trusted_path): ...to here.
20694 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20695 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20696 using is_trusted_path_normalize() in setuid scripts.
20698 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20700 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20701 __BEGIN/__END_DECLS.
20703 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20706 NSS_STATUS_NOTFOUND if no record was found.
20708 2011-05-05 Andreas Schwab <schwab@redhat.com>
20710 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20711 (headers-not-in-tirpc): Remove rpc/netdb.h
20712 * resolv/netdb.h: Revert last change.
20714 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20716 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20717 circular dependency between libgcc.a and libc.a.
20719 2011-05-05 Andreas Schwab <schwab@redhat.com>
20721 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20722 * nis/Makefile: Don't install rpcsvc/*.
20723 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20724 instead of <rpc/types.h>.
20725 (MAXHOSTNAMELEN): Define.
20727 2011-05-03 Andreas Schwab <schwab@redhat.com>
20729 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20731 2011-04-28 Maciej Babinski <mbabinski@google.com>
20734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20735 gethostbyname4_r when IPv6 results are possible.
20737 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20740 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20741 _PC_PIPE_BUF handling.
20743 2011-04-30 Bruno Haible <bruno@clisp.org>
20746 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20747 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20749 * inet/getnameinfo.c (getnameinfo): Likewise.
20751 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20753 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20754 to groups setting in database lookup.
20755 * nss/nsswitch.conf: Add initgroups entry.
20757 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20760 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20762 Patch by Eric Blake <eblake@redhat.com>.
20764 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20766 * sunrpc/Makefile (need-export-routines): Add svc_run.
20767 (routines): Remove svc_run.
20768 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20769 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20770 * sunrpc/svc_run.c (svc_run): Likewise.
20771 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20773 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20776 problem in reallocation in last patch.
20778 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20780 * sunrpc/Makefile: Move inclusion of Rules.
20782 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20784 * nss/nss_files/files-initgroups.c: New file.
20785 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20786 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20787 _nss_files_initgroups_dyn.
20789 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20791 * elf/elf.h (R_ARM_IRELATIVE): Define.
20793 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20795 * po/ru.po: Update from translation team.
20797 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20799 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20802 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20805 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20806 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20807 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20809 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20811 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20813 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20815 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20819 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20822 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20824 * stdlib/bug-getcontext.c: New file.
20825 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20827 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20829 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20830 instructions into .machine "z9-109".
20831 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20832 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20834 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20836 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20837 between environment variables and auxiliary vector.
20839 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20841 * Makefile: Add rules to build linkobj/libc.so.
20842 * include/libc-symbols.h: Define libc_hidden_nolink.
20843 * include/rpc/auth.h: Mark functions which are to be hidden.
20844 * include/rpc/auth_des.h: Likewise.
20845 * include/rpc/auth_unix.h: Likewise.
20846 * include/rpc/clnt.h: Likewise.
20847 * include/rpc/des_crypt.h: Likewise.
20848 * include/rpc/key_prot.h: Likewise.
20849 * include/rpc/pmap_clnt.h: Likewise.
20850 * include/rpc/pmap_prot.h: Likewise.
20851 * include/rpc/pmap_rmt.h: Likewise.
20852 * include/rpc/rpc_msg.h: Likewise.
20853 * include/rpc/svc.h: Likewise.
20854 * include/rpc/svc_auth.h: Likewise.
20855 * include/rpc/xdr.h: Likewise.
20856 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20857 * nss/Makefile: Likewise.
20858 * sunrpc/Makefile: Don't install headers. Build library with normal
20859 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20860 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20861 for the compat linking library. Remove use of INTDEF/INTUSE.
20862 * sunrpc/auth_none.c: Likewise.
20863 * sunrpc/auth_unix.c: Likewise.
20864 * sunrpc/authdes_prot.c: Likewise.
20865 * sunrpc/authuxprot.c: Likewise.
20866 * sunrpc/clnt_gen.c: Likewise.
20867 * sunrpc/clnt_perr.c: Likewise.
20868 * sunrpc/clnt_raw.c: Likewise.
20869 * sunrpc/clnt_simp.c: Likewise.
20870 * sunrpc/clnt_tcp.c: Likewise.
20871 * sunrpc/clnt_udp.c: Likewise.
20872 * sunrpc/clnt_unix.c: Likewise.
20873 * sunrpc/des_crypt.c: Likewise.
20874 * sunrpc/des_soft.c: Likewise.
20875 * sunrpc/get_myaddr.c: Likewise.
20876 * sunrpc/key_call.c: Likewise.
20877 * sunrpc/key_prot.c: Likewise.
20878 * sunrpc/netname.c: Likewise.
20879 * sunrpc/pm_getmaps.c: Likewise.
20880 * sunrpc/pm_getport.c: Likewise.
20881 * sunrpc/pmap_clnt.c: Likewise.
20882 * sunrpc/pmap_prot.c: Likewise.
20883 * sunrpc/pmap_prot2.c: Likewise.
20884 * sunrpc/pmap_rmt.c: Likewise.
20885 * sunrpc/publickey.c: Likewise.
20886 * sunrpc/rpc_cmsg.c: Likewise.
20887 * sunrpc/rpc_common.c: Likewise.
20888 * sunrpc/rpc_dtable.c: Likewise.
20889 * sunrpc/rpc_prot.c: Likewise.
20890 * sunrpc/rpc_thread.c: Likewise.
20891 * sunrpc/rtime.c: Likewise.
20892 * sunrpc/svc.c: Likewise.
20893 * sunrpc/svc_auth.c: Likewise.
20894 * sunrpc/svc_authux.c: Likewise.
20895 * sunrpc/svc_raw.c: Likewise.
20896 * sunrpc/svc_run.c: Likewise.
20897 * sunrpc/svc_simple.c: Likewise.
20898 * sunrpc/svc_tcp.c: Likewise.
20899 * sunrpc/svc_udp.c: Likewise.
20900 * sunrpc/svc_unix.c: Likewise.
20901 * sunrpc/svcauth_des.c: Likewise.
20902 * sunrpc/xcrypt.c: Likewise.
20903 * sunrpc/xdr.c: Likewise.
20904 * sunrpc/xdr_array.c: Likewise.
20905 * sunrpc/xdr_float.c: Likewise.
20906 * sunrpc/xdr_intXX_t.c: Likewise.
20907 * sunrpc/xdr_mem.c: Likewise.
20908 * sunrpc/xdr_rec.c: Likewise.
20909 * sunrpc/xdr_ref.c: Likewise.
20910 * sunrpc/xdr_sizeof.c: Likewise.
20911 * sunrpc/xdr_stdio.c: Likewise.
20913 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20916 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20917 * sysdeps/ia64/dl-tls.h: Likewise.
20918 * sysdeps/powerpc/dl-tls.h: Likewise.
20919 * sysdeps/s390/dl-tls.h: Likewise.
20920 * sysdeps/sh/dl-tls.h: Likewise.
20921 * sysdeps/sparc/dl-tls.h: Likewise.
20922 * sysdeps/x86_64/dl-tls.h: Likewise.
20923 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20925 2011-03-14 Andreas Schwab <schwab@redhat.com>
20927 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20928 rpath element also skip the following colon.
20929 (expand_dynamic_string_token): Add is_path parameter and pass
20930 down to DL_DST_REQUIRED and _dl_dst_substitute.
20931 (decompose_rpath): Call expand_dynamic_string_token with
20932 non-zero is_path. Ignore empty rpaths.
20933 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20936 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20941 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20944 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20945 Patch by Filipe David Manana <fdmanana@apache.org>.
20947 2011-04-07 Andreas Schwab <schwab@redhat.com>
20949 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20950 Maintain aligned stack.
20951 (CHECK_RSP): Remove unused macro.
20953 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20955 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20958 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20960 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20962 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20964 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20967 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20968 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20969 * sysdeps/x86_64/memmove.c: New file.
20970 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20971 (memcpy): Renamed to ...
20972 (__new_memcpy): This.
20973 (memcpy): Provide GLIBC_2_14 memcpy.
20974 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20975 (memcpy): Provide GLIBC_2_2_5 memcpy.
20977 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20980 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20982 2011-03-30 Andreas Schwab <schwab@redhat.com>
20984 * misc/syncfs.c: New file.
20985 * misc/Makefile (routines): Add syncfs.
20986 * posix/unistd.h: Declare syncfs.
20987 * sysdeps/unix/syscalls.list: Add syncfs.
20989 2011-04-01 Andreas Schwab <schwab@redhat.com>
20991 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20993 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20994 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20996 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20998 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21001 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21007 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21011 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21012 sync_file_range.c with -fexceptions.
21013 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21014 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21015 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21016 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21017 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21018 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21020 sync_file_range as cancellation point
21021 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21022 now a wrapper around __call_sync_file_range with cancellation handling.
21023 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21024 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21025 function name to __call_sync_file_range.
21026 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21027 Add call_sync_file_range.
21029 2011-04-01 Andreas Schwab <schwab@redhat.com>
21031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21034 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21036 * iconv/iconv.h: Fix typo in comment.
21037 * io/fcntl.h: Likewise.
21038 * libio/stdio.h: Likewise.
21039 * posix/spawn.h: Likewise.
21040 * posix/unistd.h: Likewise.
21041 * stdlib/stdlib.h: Likewise.
21042 * time/time.h: Likewise.
21043 * wcsmbs/wchar.h: Likewise.
21045 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21046 open_by_handle): Add.
21047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21048 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21049 Augment a few comments.
21050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21055 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21058 * io/fcntl.h (AT_EMPTY_PATH): Define.
21060 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21062 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21063 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21064 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21066 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21067 * Versions.def: Add GLIBC_2.14.
21068 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21071 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21075 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21077 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21080 * string/test-strncmp.c (do_page_test): New function.
21081 (check2): Likewise.
21082 (test_main): Call check2.
21083 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21085 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21088 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21089 Handle cache information in CPU leaf 4.
21090 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21092 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21095 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21096 character representation.
21097 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21099 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21101 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21102 END(__isnan) to END(__isnanf) to match function entry point/label
21103 EALIGN(__isnanf,...).
21105 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21107 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21109 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21112 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21113 copy from the symbol referenced in the relocation to initialize the
21115 Patch by Piotr Bury <pbury@goahead.com>.
21116 * elf/Makefile: Add rules to build and tst-unique3.
21117 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21118 * elf/tst-unique3.cc: New file.
21119 * elf/tst-unique3.h: New file.
21120 * elf/tst-unique3lib.cc: New file.
21121 * elf/tst-unique3lib2.cc: New file.
21123 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21125 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21127 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21128 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21131 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21133 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21134 to-be-loaded object along a path to loader is ld.so.
21136 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21137 Ulrich Drepper <drepper@gmail.com>
21139 * sysdeps/x86_64/memset.S: After aligning destination, code
21140 branches to different locations depending on the value of
21141 misalignment, when multiarch is enabled. Fix this.
21143 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21145 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21146 Set _x86_64_preferred_memory_instruction for AMD processsors.
21147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21148 Set bit_Prefer_SSE_for_memop for AMD processors.
21150 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21152 * libio/fmemopen.c (fmemopen): Optimize a bit.
21154 2011-03-03 Andreas Schwab <schwab@redhat.com>
21156 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21158 2011-03-03 Roland McGrath <roland@redhat.com>
21160 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21162 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21164 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21165 __bzero_ultra1 instead of __memset_ultra1.
21167 2011-02-23 Andreas Schwab <schwab@redhat.com>
21168 Ulrich Drepper <drepper@gmail.com>
21171 * include/link.h (struct link_map): Add l_orig_initfini.
21172 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21173 returning unsuccessfully.
21174 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21175 close of a file loaded at startup, restore the original l_initfini
21177 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21178 list, store the pointer.
21179 * elf/Makefile ($(objpfx)noload-mem): New rule.
21180 (noload-ENV): Define.
21181 (tests): Add $(objpfx)noload-mem.
21182 * elf/noload.c: Include <memcheck.h>.
21183 (main): Call mtrace. Close all opened handles.
21185 2011-02-17 Andreas Schwab <schwab@redhat.com>
21188 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21189 dependencies are missing.
21191 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21193 Fix __if_freereq crash: Unlike the generic version which uses free,
21195 * sysdeps/mach/hurd/ifreq.h: New file.
21197 2011-01-27 Petr Baudis <pasky@suse.cz>
21198 Ulrich Drepper <drepper@gmail.com>
21201 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21202 to extend_alloca().
21203 * stdio-common/bug23.c: New file.
21204 * stdio-common/Makefile (tests): Add bug23.
21206 2010-09-28 Andreas Schwab <schwab@redhat.com>
21207 Ulrich Drepper <drepper@gmail.com>
21210 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21211 before performing relro protection. At old place add assertion
21212 to make sure nothing changed.
21214 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21215 Glauber de Oliveira Costa <glommer@gmail.com>
21217 * elf/elf.h: Add new ARM TLS relocs.
21219 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21222 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21224 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21226 * sysdeps/wordsize-64/tst-writev.c: New file.
21228 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21230 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21231 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21232 insns in _dl_start to prevent a TOC reference before relocs are
21235 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21238 * Makeconfig: Remove RANLIB definition.
21239 * Makerules: Don't use RANLIB.
21240 * aclocal.m4: Remove ranlib test.
21241 * configure.in: No need to check for ranlib.
21242 * elf/rtld-Rules: Don't use RANLIB.
21244 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21246 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21248 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21249 inclusion protection macro.
21251 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21252 SIGRTMIN and SIGRTMAX and print information in that case only when
21253 SIGRTMIN is defined.
21255 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21257 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21258 arginfo fn returning -1.
21260 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21261 and thousands string is zero terminated.
21263 2011-02-03 Andreas Schwab <schwab@redhat.com>
21265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21266 sysdeps/unix/sysv/linux/bits/socket.h.
21268 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21270 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21271 (__CPU_COUNT): Remove old macros.
21272 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21273 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21274 (__CPU_ALLOC, __CPU_FREE): Add macros.
21275 (__sched_cpualloc, __sched_cpufree): Add declarations.
21277 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21279 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21280 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21281 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21282 (readdhstai): Return value of addhstaiX call.
21283 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21284 (addgrbyX): Return value returned by cache_addgr.
21285 (readdgrbyname): Return value returned by addgrbyX.
21286 (readdgrbygid): Likewise.
21287 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21288 (addpwbyX): Return value returned by cache_addpw.
21289 (readdpwbyname): Return value returned by addhstbyX.
21290 (readdpwbyuid): Likewise.
21291 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21292 (addservbyX): Return value returned by cache_addserv.
21293 (readdservbyname): Return value returned by addservbyX:
21294 (readdservbyport): Likewise.
21295 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21296 (addhstbyX): Return value returned by cache_addhst.
21297 (readdhstbyname): Return value returned by addhstbyX.
21298 (readdhstbyaddr): Likewise.
21299 (readdhstbynamev6): Likewise.
21300 (readdhstbyaddrv6): Likewise.
21301 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21302 (readdinitgroups): Return value returned by addinitgroupsX.
21303 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21304 (prune_cache): Keep track of timeout value of re-added entries.
21305 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21306 * nscd/nscd.h: Adjust prototypes of readd* functions.
21308 2011-02-04 Roland McGrath <roland@redhat.com>
21310 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21311 (nis_stats): Likewise.
21312 * nis/nis_modify.c (nis_modify): Likewise.
21313 * nis/nis_remove.c (nis_remove): Likewise.
21314 * nis/nis_add.c (nis_add): Likewise.
21316 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21318 * posix/fnmatch_loop.c: Add some consts.
21320 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21322 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21325 * config.make.in (config-cflags-novzeroupper): Define.
21326 * configure.in: Substitute libc_cv_cc_novzeroupper.
21327 * elf/Makefile (AVX-CFLAGS): Define.
21328 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21329 (CFLAGS-tst-auditmod4a.c): Likewise.
21330 (CFLAGS-tst-auditmod4b.c): Likewise.
21331 (CFLAGS-tst-auditmod6b.c): Likewise.
21332 (CFLAGS-tst-auditmod6c.c): Likewise.
21333 (CFLAGS-tst-auditmod7b.c): Likewise.
21334 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21336 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21338 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21339 function to the callback.
21340 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21342 2011-02-02 Andreas Schwab <schwab@redhat.com>
21344 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21347 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21350 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21352 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21354 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21357 * elf/Makefile: Add rules to build and run new test.
21358 * elf/tst-initorder.c: New file.
21359 * elf/tst-initorder.exp: New file.
21360 * elf/tst-initordera1.c: New file.
21361 * elf/tst-initordera2.c: New file.
21362 * elf/tst-initordera3.c: New file.
21363 * elf/tst-initordera4.c: New file.
21364 * elf/tst-initorderb1.c: New file.
21365 * elf/tst-initorderb2.c: New file.
21366 * elf/tst-order-a1.c: New file.
21367 * elf/tst-order-a2.c: New file.
21368 * elf/tst-order-a3.c: New file.
21369 * elf/tst-order-a4.c: New file.
21370 * elf/tst-order-b1.c: New file.
21371 * elf/tst-order-b2.c: New file.
21372 * elf/tst-order-main.c: New file.
21373 New test case by George Gensure <werkt0@gmail.com>.
21375 2010-10-01 Andreas Schwab <schwab@redhat.com>
21377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21378 decoding ACE if AI_CANONIDN.
21380 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21382 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21384 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21386 * version.h (RELEASE): Bump for 2.13 release.
21387 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21389 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21391 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21393 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21394 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21398 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21400 * posix/getconf.c: Update copyright year.
21401 * catgets/gencat.c: Likewise.
21402 * csu/version.c: Likewise.
21403 * debug/catchsegv.sh: Likewise.
21404 * debug/xtrace.sh: Likewise.
21405 * elf/ldconfig.c: Likewise.
21406 * elf/ldd.bash.in: Likewise.
21407 * elf/sprof.c (print_version): Likewise.
21408 * iconv/iconv_prog.c: Likewise.
21409 * iconv/iconvconfig.c: Likewise.
21410 * locale/programs/locale.c: Likewise.
21411 * locale/programs/localedef.c: Likewise.
21412 * malloc/memusage.sh: Likewise.
21413 * malloc/mtrace.pl: Likewise.
21414 * nscd/nscd.c (print_version): Likewise.
21415 * nss/getent.c: Likewise.
21417 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21418 PF_CAIF, and PF_ALG.
21419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21421 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21423 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21424 (modules-names): Use them.
21425 (ifunc-test-modules, ifunc-pie-tests): Define.
21426 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21427 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21428 (test-extras): Likewise.
21429 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21430 $(compile-command.c).
21431 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21432 (all-built-dso): Define.
21433 (check-textrel.out, check-execstack.out): Depend on it.
21435 * configure.in: Don't override --enable-multi-arch.
21437 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21440 * nscd/hstcache.c (tryagain): Define.
21441 (cache_addhst): Return tryagain not notfound for temporary errors.
21442 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21445 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21448 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21449 to make the syscall.
21450 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21453 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21454 and fall back to matching as normal character if the string ends before
21455 the matching ']' is found. This is what POSIX requires.
21456 * posix/testfnm.c: Adjust test result.
21457 * posix/globtest.sh: Adjust test result. Add new test.
21458 * posix/tst-fnmatch.input: Likewise.
21459 * posix/tst-fnmatch2.c: Add new test.
21461 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21463 * elf/Makefile (check-execstack): Revert last change. Depend on
21465 (check-execstack.h): New target.
21466 (generated): Add check-execstack.h.
21467 * elf/check-execstack.c: Include "check-execstack.h".
21468 (main): Revert last change.
21469 (handle_file): Return zero if GNU_STACK is absent and
21470 DEFAULT_STACK_PERMS doesn't include PF_X.
21472 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21474 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21475 in child fails because the descriptor is already closed.
21476 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21477 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21478 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21481 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21485 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21486 temporary buffer used to handle multi lookups locally.
21487 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21489 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21491 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21494 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21496 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21497 alignment for SSE2.
21499 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21502 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21503 characters. When rounding increased number of integer digits recompute
21505 * stdio-common/tst-grouping.c: New file.
21506 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21508 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21510 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21511 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21513 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21515 * bits/select.h: Likewise.
21517 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21519 * po/ja.po: Update from translation team.
21521 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21524 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21525 implementation just like for lxstat, fxstatat, et al.
21527 2010-12-27 Jim Meyering <meyering@redhat.com>
21530 * posix/regexec.c (build_trtable): Return failure indication upon
21531 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21533 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21536 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21537 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21538 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21542 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21545 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21546 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21548 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21550 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21551 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21552 script has SORT_BY_INIT_PRIORITY.
21553 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21554 NO_CTORS_DTORS_SECTIONS is defined.
21555 * elf/soinit.c: Likewise.
21556 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21557 NO_CTORS_DTORS_SECTIONS is defined.
21558 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21559 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21560 * sysdeps/sh/init-first.c: Likewise.
21561 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21563 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21565 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21566 always use the slow path.
21568 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21570 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21571 similar rule which adds the sysdep directories to the header search in
21572 order to pick up the correct platform stackinfo.h.
21573 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21574 perform test if it is, otherwise return successfully without testing.
21575 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21576 DEFAULT_STACK_PERMS define in stackinfo.h.
21577 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21578 defined in stackinfo.h.
21579 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21580 DEFAULT_STACK_PERMS defined in stackinfo.h.
21581 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21582 * sysdeps/ia64/stackinfo.h: Likewise.
21583 * sysdeps/s390/stackinfo.h: Likewise.
21584 * sysdeps/sh/stackinfo.h: Likewise.
21585 * sysdeps/sparc/stackinfo.h: Likewise.
21586 * sysdeps/x86_64/stackinfo.h: Likewise.
21587 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21588 PF_X for powerpc64. Retain PF_X for powerpc32.
21590 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21592 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21594 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21595 GETDENTS_64BIT_ALIGNED.
21597 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21599 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21601 2010-12-10 Andreas Schwab <schwab@redhat.com>
21603 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21606 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21607 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21609 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21610 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21612 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21615 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21618 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21620 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21622 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21624 * po/it.po: Update from translation team.
21626 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21631 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21633 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21635 2010-11-24 Andreas Schwab <schwab@redhat.com>
21637 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21639 (gaih_getanswer_slice): Likewise.
21641 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21645 2010-05-31 Petr Baudis <pasky@suse.cz>
21648 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21649 silently even in the chroot mode.
21651 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21653 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21654 last patch a bit. Pretty printing
21656 2010-05-31 Petr Baudis <pasky@suse.cz>
21659 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21660 initialization of skip_initgroups_dyn.
21662 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21664 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21667 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21669 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21671 2010-11-11 Andreas Schwab <schwab@redhat.com>
21673 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21674 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21675 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21676 ($(objpfx)tst-fnmatch-mem): New rule.
21677 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21678 * posix/tst-fnmatch.c (main): Call mtrace.
21680 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21683 Support Intel processor model 6 and model 0x2c.
21685 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21690 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21693 * string/test-strncasecmp.c (check_result): New function.
21694 (do_one_test): Use it.
21695 (check1): New function.
21696 (test_main): Use it.
21697 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21698 Support strcasecmp and strncasecmp.
21700 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21703 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21704 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21706 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21708 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21712 * sysdeps/x86_64/multiarch/bzero.S: New file.
21713 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21714 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21715 * sysdeps/x86_64/multiarch/memset.S: New file.
21716 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21718 Set bit_Prefer_SSE_for_memop for Intel processors.
21719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21721 (index_Prefer_SSE_for_memop): Define.
21722 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21724 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21729 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21732 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21733 (__x86_64_raw_data_cache_size_half): Likewise.
21734 (__x86_64_raw_shared_cache_size): Likewise.
21735 (__x86_64_raw_shared_cache_size_half): Likewise.
21737 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21738 (__x86_64_raw_data_cache_size_half): Likewise.
21739 (__x86_64_raw_shared_cache_size): Likewise.
21740 (__x86_64_raw_shared_cache_size_half): Likewise.
21741 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21742 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21743 and __x86_64_raw_shared_cache_size_half. Round
21744 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21745 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21746 to multiple of 256 bytes.
21748 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21752 of inacessible symlinks. Verify result of symlink before returning it.
21753 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21754 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21756 2010-10-28 Erich Ritz <erichritz@gmail.com>
21758 * math/math.h (isinf): Fix typo in comment.
21760 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21762 * po/da.po: Update from translation team.
21764 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21766 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21767 is added to the list.
21769 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21770 Ulrich Drepper <drepper@gmail.com>
21772 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21773 the global list here. Move code to...
21774 (_dl_add_to_namespace_list): ...here. New function.
21775 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21776 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21777 * elf/dl-load.c (lose): Don't remove the element from the list.
21778 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21779 (_dl_map_object): Likewise.
21781 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21784 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21785 into all bytes of SSE register.
21786 Patch by Richard Li <richardpku@gmail.com>.
21788 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21791 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21794 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21796 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21797 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21798 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21804 2010-10-22 Andreas Schwab <schwab@redhat.com>
21806 * include/dlfcn.h (__RTLD_SECURE): Define.
21807 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21808 mode & __RTLD_SECURE instead.
21809 (open_path): Rename preloaded parameter to secure.
21810 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21811 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21812 * elf/dl-deps.c (openaux): Likewise.
21813 * elf/rtld.c (struct map_args): Remove is_preloaded.
21814 (map_doit): Don't use it.
21815 (dl_main): Likewise.
21816 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21817 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21819 2010-09-09 Andreas Schwab <schwab@redhat.com>
21821 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21822 (sysd-rules-targets): Remove duplicates.
21823 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21824 rtld-%.$o dependency.
21826 2010-10-18 Andreas Schwab <schwab@redhat.com>
21828 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21829 _dl_map_object do it.
21831 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21833 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21834 fast fma builtins, define the macros in the C99 standard.
21835 (FP_FAST_FMAF): Likewise.
21836 (FP_FAST_FMAL): Likewise.
21837 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21839 * bits/mathdef.h: Update copyright year.
21840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21842 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21844 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21845 builtins, define the macros in the C99 standard.
21846 (FP_FAST_FMAF): Likewise.
21847 (FP_FAST_FMAL): Likewise.
21848 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21850 (FP_FAST_FMAF): Likewise.
21852 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21855 * math/libm-test.inc (fma_test): Some new testcases.
21856 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21858 y and infinite z. Do multiplication by C already in long double.
21859 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21861 y and infinite z. Do bitwise or of inexact bit into u.d.
21862 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21863 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21864 * sysdeps/i386/fpu/s_fma.S: Removed.
21865 * sysdeps/i386/fpu/s_fmal.S: Removed.
21867 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21870 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21872 computation is not scheduled after fetestexcept. Fix value
21873 of minimum denormal long double.
21875 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21878 * math/libm-test.inc (fma_test): Add some more tests.
21879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21882 2010-10-15 Andreas Schwab <schwab@redhat.com>
21884 * scripts/data/localplt-s390-linux-gnu.data: New file.
21885 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21887 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21890 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21891 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21893 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21895 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21897 if one of x and y is very large and the other is subnormal.
21898 * sysdeps/s390/fpu/s_fmaf.c: New file.
21899 * sysdeps/s390/fpu/s_fma.c: New file.
21900 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21901 * sysdeps/powerpc/fpu/s_fma.S: New file.
21902 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21903 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21904 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21906 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21909 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21912 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21913 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21914 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21915 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21916 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21917 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21919 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21922 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21923 * posix/bug-regex31.input: Add test case.
21925 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21927 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21928 * posix/bug-regex31.input: New file.
21931 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21932 (parse_sub_exp): Fix last change, use postorder.
21934 * posix/bug-regex31.c: New file.
21935 * posix/Makefile: Add rules to build and run bug-regex31.
21937 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21940 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21943 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21944 to have entries in sys_siglist.
21947 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21950 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21953 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21954 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21955 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21956 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21957 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21958 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21959 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21960 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21961 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21962 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21963 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21964 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21965 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21966 * math/ftestexcept.c (fetestexcept): Likewise.
21967 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21968 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21969 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21970 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21971 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21972 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21973 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21975 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21978 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21981 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21983 * string/bug-strstr1.c: New file.
21984 * string/Makefile: Add rules to build and run bug-strstr1.
21986 2010-10-05 Eric Blake <eblake@redhat.com>
21989 * string/str-two-way.h (two_way_long_needle): Always clear memory
21990 when skipping input due to the shift table.
21992 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21995 * malloc/mcheck.c: Handle large requests.
21998 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21999 for strncmp and strncasecmp.
22000 * string/stratcliff.c: Add tests for strcmp and strncmp.
22001 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22003 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22005 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22008 2010-09-30 Andreas Jaeger <aj@suse.de>
22010 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22011 (CGROUP_SUPER_MAGIC): Define.
22012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22013 Handle btrfs and cgroup file systems.
22014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22017 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22019 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22020 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22022 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22025 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22026 trying to locate the ELF header.
22028 2010-09-27 Andreas Schwab <schwab@redhat.com>
22031 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22032 Mask out sign-bit copies when constructing f_fsid.
22034 2010-09-24 Petr Baudis <pasky@suse.cz>
22036 * debug/stack_chk_fail_local.c: Add missing licence exception.
22037 * debug/warning-nop.c: Likewise.
22039 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22041 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22042 implementing getdents64 using getdents syscall, set d_type if
22043 __ASSUME_GETDENTS32_D_TYPE.
22045 2010-09-16 Andreas Schwab <schwab@redhat.com>
22047 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22048 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22050 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22053 * posix/unistd.h: Undo change of feature selection for ftruncate from
22056 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22058 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22061 2010-09-20 Andreas Schwab <schwab@redhat.com>
22063 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22067 2010-09-14 Andreas Schwab <schwab@redhat.com>
22069 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22070 variables after CHECK_SP call.
22071 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22073 2010-09-13 Andreas Schwab <schwab@redhat.com>
22074 Ulrich Drepper <drepper@redhat.com>
22076 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22077 re-relocationg ld.so.
22078 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22079 _dl_init_paths call.
22080 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22083 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22085 * resolv/res_init.c (__res_vinit): Count the default server we added.
22087 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22088 Ulrich Drepper <drepper@redhat.com>
22091 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22092 (____longjmp_chk): Use %ebx for saving value across system call.
22095 2010-09-06 Andreas Schwab <schwab@redhat.com>
22097 * manual/Makefile: Don't mix pattern rules with normal rules.
22099 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22101 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22103 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22104 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22105 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22106 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22107 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22110 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22113 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22114 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22116 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22118 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22119 * sysdeps/x86_64/addmul_1.S: Likewise.
22120 * sysdeps/x86_64/lshift.S: Likewise.
22121 * sysdeps/x86_64/mul_1.S: Likewise.
22122 * sysdeps/x86_64/rshift.S: Likewise.
22123 * sysdeps/x86_64/sub_n.S: Likewise.
22124 * sysdeps/x86_64/submul_1.S: Likewise.
22126 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22128 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22129 Define __sched_param instead of SCHED_* and sched_param when
22130 <bits/sched.h> is included with __need_schedparam defined.
22131 * bits/sched.h [__need_schedparam]
22132 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22133 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22134 (__defined_schedparam): Define to 1.
22135 (__sched_param): New structure, identical to sched_param.
22136 (__need_schedparam): Undefine.
22138 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22141 (epoll_create1): Declare.
22143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22145 2010-08-31 Andreas Schwab <schwab@redhat.com>
22148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22149 shifting retval into place.
22151 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22153 * nis/rpcsvc/nis.h: Update copyright notice.
22154 * nis/rpcsvc/nis.x: Likewise.
22155 * nis/rpcsvc/nis_callback.h: Likewise.
22156 * nis/rpcsvc/nis_callback.x: Likewise.
22157 * nis/rpcsvc/nis_object.x: Likewise.
22158 * nis/rpcsvc/nis_tags.h: Likewise.
22159 * nis/rpcsvc/yp.h: Likewise.
22160 * nis/rpcsvc/yp.x: Likewise.
22161 * nis/rpcsvc/ypupd.h: Likewise.
22162 * nis/yp_xdr.c: Likewise.
22163 * nis/ypupdate_xdr.c: Likewise.
22165 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22166 mainly the body of pmap_getport. Add parameters to specify timeouts.
22167 (pmap_getport): Use __libc_rpc_getport.
22168 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22169 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22170 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22172 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22177 2010-08-27 Roland McGrath <roland@redhat.com>
22179 * sysdeps/i386/i686/multiarch/Makefile
22180 (CFLAGS-varshift.c): New variable.
22182 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22184 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22185 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22187 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22189 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22191 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22193 * sysdeps/x86_64/strlen.S: Unroll the loop.
22194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22195 strlen-sse2 strlen-sse2-bsf.
22196 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22197 __strlen_no_bsf if bit_Slow_BSF is set.
22198 (__strlen_sse42): Removed.
22199 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22200 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22202 2010-08-25 Roland McGrath <roland@redhat.com>
22204 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22205 * sysdeps/x86_64/multiarch/varshift.c: New file.
22206 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22207 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22208 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22209 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22211 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22214 strlen-sse2 strlen-sse2-bsf.
22215 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22216 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22217 (__strlen_sse2): Removed.
22218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22221 bit_Slow_BSF for Atom.
22222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22223 (index_Slow_BSF): Define.
22224 (HAS_SLOW_BSF): Define.
22226 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22229 * resolv/res_init.c (__res_vinit): When no server address at all
22230 is given default to loopback.
22232 2010-08-24 Roland McGrath <roland@redhat.com>
22234 * configure.in: Remove config-name.h generation.
22235 * configure: Regenerated.
22236 * config-name.in: File removed.
22237 * scripts/config-uname.sh: New file.
22238 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22239 ($(objdir)config-name.h): New target.
22241 * sunrpc/rpc_parse.h: Avoid nested comment.
22243 2010-08-24 Richard Henderson <rth@redhat.com>
22244 Ulrich Drepper <drepper@redhat.com>
22245 H.J. Lu <hongjiu.lu@intel.com>
22247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22249 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22250 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22251 _mm_alignr_epi8 with _mm_loadu_si128.
22252 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22253 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22254 (__m128i_shift_right): Removed.
22255 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22256 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22257 * sysdeps/x86_64/multiarch/varshift.h: New file.
22258 * sysdeps/x86_64/multiarch/varshift.S: New file.
22260 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22262 * configure.in: Move assembler checks to before sysdep dir checking.
22264 2010-08-20 Petr Baudis <pasky@suse.cz>
22266 * LICENSES: Sync the sunrpc license.
22268 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22270 * sunrpc/auth_des.c: Update copyright notice once again.
22271 * sunrpc/auth_none.c: Likewise.
22272 * sunrpc/auth_unix.c: Likewise.
22273 * sunrpc/authdes_prot.c: Likewise.
22274 * sunrpc/authuxprot.c: Likewise.
22275 * sunrpc/bindrsvprt.c: Likewise.
22276 * sunrpc/clnt_gen.c: Likewise.
22277 * sunrpc/clnt_perr.c: Likewise.
22278 * sunrpc/clnt_raw.c: Likewise.
22279 * sunrpc/clnt_simp.c: Likewise.
22280 * sunrpc/clnt_tcp.c: Likewise.
22281 * sunrpc/clnt_udp.c: Likewise.
22282 * sunrpc/clnt_unix.c: Likewise.
22283 * sunrpc/des_crypt.c: Likewise.
22284 * sunrpc/des_soft.c: Likewise.
22285 * sunrpc/get_myaddr.c: Likewise.
22286 * sunrpc/getrpcport.c: Likewise.
22287 * sunrpc/key_call.c: Likewise.
22288 * sunrpc/key_prot.c: Likewise.
22289 * sunrpc/openchild.c: Likewise.
22290 * sunrpc/pm_getmaps.c: Likewise.
22291 * sunrpc/pm_getport.c: Likewise.
22292 * sunrpc/pmap_clnt.c: Likewise.
22293 * sunrpc/pmap_prot.c: Likewise.
22294 * sunrpc/pmap_prot2.c: Likewise.
22295 * sunrpc/pmap_rmt.c: Likewise.
22296 * sunrpc/rpc/auth.h: Likewise.
22297 * sunrpc/rpc/auth_unix.h: Likewise.
22298 * sunrpc/rpc/clnt.h: Likewise.
22299 * sunrpc/rpc/des_crypt.h: Likewise.
22300 * sunrpc/rpc/key_prot.h: Likewise.
22301 * sunrpc/rpc/netdb.h: Likewise.
22302 * sunrpc/rpc/pmap_clnt.h: Likewise.
22303 * sunrpc/rpc/pmap_prot.h: Likewise.
22304 * sunrpc/rpc/pmap_rmt.h: Likewise.
22305 * sunrpc/rpc/rpc.h: Likewise.
22306 * sunrpc/rpc/rpc_des.h: Likewise.
22307 * sunrpc/rpc/rpc_msg.h: Likewise.
22308 * sunrpc/rpc/svc.h: Likewise.
22309 * sunrpc/rpc/svc_auth.h: Likewise.
22310 * sunrpc/rpc/types.h: Likewise.
22311 * sunrpc/rpc/xdr.h: Likewise.
22312 * sunrpc/rpc_clntout.c: Likewise.
22313 * sunrpc/rpc_cmsg.c: Likewise.
22314 * sunrpc/rpc_common.c: Likewise.
22315 * sunrpc/rpc_cout.c: Likewise.
22316 * sunrpc/rpc_dtable.c: Likewise.
22317 * sunrpc/rpc_hout.c: Likewise.
22318 * sunrpc/rpc_main.c: Likewise.
22319 * sunrpc/rpc_parse.c: Likewise.
22320 * sunrpc/rpc_parse.h: Likewise.
22321 * sunrpc/rpc_prot.c: Likewise.
22322 * sunrpc/rpc_sample.c: Likewise.
22323 * sunrpc/rpc_scan.c: Likewise.
22324 * sunrpc/rpc_scan.h: Likewise.
22325 * sunrpc/rpc_svcout.c: Likewise.
22326 * sunrpc/rpc_tblout.c: Likewise.
22327 * sunrpc/rpc_util.c: Likewise.
22328 * sunrpc/rpc_util.h: Likewise.
22329 * sunrpc/rpcinfo.c: Likewise.
22330 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22331 * sunrpc/rpcsvc/key_prot.x: Likewise.
22332 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22333 * sunrpc/rpcsvc/mount.x: Likewise.
22334 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22335 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22336 * sunrpc/rpcsvc/rex.x: Likewise.
22337 * sunrpc/rpcsvc/rstat.x: Likewise.
22338 * sunrpc/rpcsvc/rusers.x: Likewise.
22339 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22340 * sunrpc/rpcsvc/spray.x: Likewise.
22341 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22342 * sunrpc/rtime.c: Likewise.
22343 * sunrpc/svc.c: Likewise.
22344 * sunrpc/svc_auth.c: Likewise.
22345 * sunrpc/svc_authux.c: Likewise.
22346 * sunrpc/svc_raw.c: Likewise.
22347 * sunrpc/svc_run.c: Likewise.
22348 * sunrpc/svc_simple.c: Likewise.
22349 * sunrpc/svc_tcp.c: Likewise.
22350 * sunrpc/svc_udp.c: Likewise.
22351 * sunrpc/svc_unix.c: Likewise.
22352 * sunrpc/svcauth_des.c: Likewise.
22353 * sunrpc/xcrypt.c: Likewise.
22354 * sunrpc/xdr.c: Likewise.
22355 * sunrpc/xdr_array.c: Likewise.
22356 * sunrpc/xdr_float.c: Likewise.
22357 * sunrpc/xdr_mem.c: Likewise.
22358 * sunrpc/xdr_rec.c: Likewise.
22359 * sunrpc/xdr_ref.c: Likewise.
22360 * sunrpc/xdr_sizeof.c: Likewise.
22361 * sunrpc/xdr_stdio.c: Likewise.
22363 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22366 2010-08-19 Andreas Schwab <schwab@redhat.com>
22368 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22370 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22372 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22373 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22374 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22375 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22376 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22377 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22378 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22379 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22381 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22382 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22383 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22384 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22385 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22387 2010-07-26 Anton Blanchard <anton@samba.org>
22389 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22390 * malloc/arena.c (heap_trim): Likewise.
22392 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22394 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22397 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22399 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22401 * sysdeps/i386/elf/Makefile: New file.
22403 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22405 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22406 from fanotify_init.
22407 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22410 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22412 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22414 * sysdeps/multiarch/strcmp.S: Likewise.
22416 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22418 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22419 strncase_l-nonascii.
22420 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22421 Add strncase_l-ssse3.
22422 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22423 * sysdeps/x86_64/strcmp.S: Likewise.
22424 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22425 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22426 * sysdeps/x86_64/strncase.S: New file.
22427 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22428 * sysdeps/x86_64/strncase_l.S: New file.
22429 * string/Makefile (strop-tests): Add strncasecmp.
22430 * string/test-strncasecmp.c: New file.
22432 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22435 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22436 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22438 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22440 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22442 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22444 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22445 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22446 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22448 2010-05-01 Alan Modra <amodra@gmail.com>
22450 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22451 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22452 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22453 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22454 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22455 tidying. Don't tail-call __sigjmp_save for static lib.
22456 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22458 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22459 (CALL_MCOUNT): Add eh info, and nop after bl.
22460 (TAIL_CALL_SYSCALL_ERROR): New macro.
22461 (PSEUDO_RET): Use it.
22462 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22463 Correct save location of integer regs and cr.
22464 (_dl_profile_resolve): Correct cr save location. Delete nops
22465 after bl when SHARED. Reduce cfi size a little by better
22466 placement of cfi directives.
22467 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22468 make a stack frame. Instead use parm save area as a temp.
22469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22470 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22472 Don't make a stack frame for parent, use parm save area.
22473 Increase child stack frame to 112 bytes. Don't save unused reg,
22474 and adjust reg usage. Set up cfi on error recovery and
22475 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22477 (__makecontext): Add dummy nop after jump to exit.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22479 Use correct parm save area and cr save, reduce stack frame.
22480 Correct cfi for possible PSEUDO_RET frame setup.
22481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22482 Branch to local label emitted by PSEUDO_RET rather than
22485 2010-08-12 Andreas Schwab <schwab@redhat.com>
22488 * locale/programs/locale.c (print_assignment): New function.
22489 (show_locale_vars): Use it.
22491 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22493 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22495 (struct statfs64): Likewise.
22496 (_STATFS_F_FLAGS): Define.
22497 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22499 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22500 (ST_VALID): Define locally.
22501 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22502 __statvfs_getflags, use the provided value.
22503 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22504 __ASSUME_STATFS_F_FLAGS.
22506 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22508 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22509 Add sys/fanotify.h.
22510 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22511 fanotify_mask for GLIBC_2.13.
22512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22513 fanotify_init and fanotify_mark.
22514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22515 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22517 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22519 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22520 prlimit64 for GLIBC_2.13.
22521 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22526 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22527 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22531 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22534 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22535 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22537 * nss/Makefile: Add rules to build and run tst-nss-test1.
22538 * shlib-versions: Add entry for libnss_test1.
22539 * nss/nss_test1.c: New file.
22540 * nss/tst-nss-test1.c: New file.
22542 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22543 (__nss_configure_lookup): Set appropriate entry in
22544 __nss_configure_lookup to true.
22545 * nss/nsswitch.h: Define enum with indeces of databases in
22546 databases and __nss_database_custom arrays. Declare
22547 __nss_database_custom.
22548 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22549 to avoid using nscd when custom rules are installed.
22550 * nss/getXXbyYY_r.c: Likewise.
22551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22553 * nss/nss_files/files-parse.c: Whitespace fixes.
22555 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22558 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22559 * posix/fnmatch_loop.c: Likewise.
22561 2010-07-17 Andi Kleen <ak@linux.intel.com>
22563 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22564 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22565 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22566 * Versions.def [GLIBC_2.13]: Add.
22568 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22570 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22571 Also fail if tpwd after pwuid call is NULL.
22573 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22575 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22576 when converting to ms.
22578 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22580 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22581 EOPNOTSUPP errors with ENOTTY.
22582 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22583 EOPNOTSUPP errors with ENOTTY.
22585 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22587 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22588 Add strcasecmp_l-ssse3.
22589 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22591 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22592 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22593 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22595 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22597 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22599 * string/Makefile (strop-tests): Add strcasecmp.
22600 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22601 strcasecmp_l-nonascii.
22602 (gen-as-const-headers): Add locale-defines.sym.
22603 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22604 * sysdeps/x86_64/strcasecmp.S: New file.
22605 * sysdeps/x86_64/strcasecmp_l.S: New file.
22606 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22607 * sysdeps/x86_64/locale-defines.sym: New file.
22608 * string/test-strcasecmp.c: New file.
22610 * string/test-strcasestr.c: Test both ends of the range of characters.
22611 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22613 2010-07-29 Roland McGrath <roland@redhat.com>
22616 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22618 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22620 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22623 2010-07-27 Andreas Schwab <schwab@redhat.com>
22625 * manual/memory.texi (Malloc Tunable Parameters): Document
22628 2010-07-26 Roland McGrath <roland@redhat.com>
22631 * configure.in (-fgnu89-inline check): Set and substitute
22632 gnu89_inline, not libc_cv_gnu89_inline.
22633 * configure: Regenerated.
22634 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22636 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22638 * string/test-strnlen.c: New file.
22639 * string/Makefile (strop-tests): Add strnlen.
22640 * string/tester.c (test_strnlen): Add a few more test cases.
22641 * string/tst-strlen.c: Better error reporting.
22643 * sysdeps/x86_64/strnlen.S: New file.
22645 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22648 lower-latency instructions.
22650 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22652 * string/test-strcasestr.c: New file.
22653 * string/test-strstr.c: New file.
22654 * string/Makefile (strop-tests): Add strstr and strcasestr.
22655 * string/str-two-way.h: Don't undefine MAX.
22656 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22658 2010-07-21 Andreas Schwab <schwab@redhat.com>
22660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22661 strcasestr-nonascii.
22662 (CFLAGS-strcasestr-nonascii.c): Define.
22663 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22665 Remove unused attribute.
22667 2010-07-20 Roland McGrath <roland@redhat.com>
22669 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22670 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22671 ld.so.cache was broken. With it, there is no way to disable dsocaps
22672 like LD_HWCAP_MASK can disable hwcaps.
22674 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22676 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22678 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22680 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22681 call in strcasestr.
22682 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22683 __strcasestr_sse42_nonascii.
22684 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22685 strcasestr-nonascii.c.
22686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22688 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22691 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22693 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22695 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22700 2010-07-06 Andreas Schwab <schwab@redhat.com>
22703 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22706 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22708 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22709 _PC_PIPE_BUF using F_GETPIPE_SZ.
22711 2010-07-05 Roland McGrath <roland@redhat.com>
22713 * manual/arith.texi (Rounding Functions): Fix rint description
22714 implicit in round description.
22716 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22718 * elf/Makefile: Fix linking for a few tests to make recent linker
22721 2010-06-30 Andreas Schwab <schwab@redhat.com>
22723 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22724 $(common-objpfx)libc_nonshared.a.
22726 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22728 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22729 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22730 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22731 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22732 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22733 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22734 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22735 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22750 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22751 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22752 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22753 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22754 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22755 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22756 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22757 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22758 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22759 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22760 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22761 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22777 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22779 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22780 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22781 * string/memmove.c (memmove): Renamed to ...
22782 (MEMMOVE): ...this. Default to memmove.
22783 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22784 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22787 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22788 mempcpy-ssse3-back memmove-ssse3-back.
22789 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22790 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22792 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22793 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22794 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22795 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22796 * sysdeps/x86_64/multiarch/memmove.c: New file.
22797 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22798 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22799 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22800 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22801 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22804 (index_Fast_Copy_Backward): Define.
22805 (HAS_ARCH_FEATURE): Define.
22806 (HAS_FAST_REP_STRING): Define.
22807 (HAS_FAST_COPY_BACKWARD): Define.
22809 2010-06-21 Andreas Schwab <schwab@redhat.com>
22811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22812 Restore proper fallback handling.
22814 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22817 * posix/group_member.c (__group_member): Correct checking loop.
22819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22820 OOM in getpwuid_r correctly. Return error number when the caller
22821 should return, otherwise -1.
22822 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22823 call returning > 0 value.
22824 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22826 2010-06-07 Andreas Schwab <schwab@redhat.com>
22828 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22829 libc_nonshared.a from targets in modules-names.
22831 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22833 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22836 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22841 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22843 2010-06-02 Andreas Schwab <schwab@redhat.com>
22845 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22847 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22849 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22851 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22852 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22858 2010-06-14 Roland McGrath <roland@redhat.com>
22860 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22862 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22864 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22865 __REDIRECT followed by __THROW.
22866 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22867 * posix/getopt.h (getopt): Likewise.
22869 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22871 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22872 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22873 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22875 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22876 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22878 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22880 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22882 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22886 Properly check family and model.
22888 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22890 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22892 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22894 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22896 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22898 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22901 2010-05-19 Andreas Schwab <schwab@redhat.com>
22903 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22906 2010-05-21 Andreas Schwab <schwab@redhat.com>
22908 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22909 and internal_recvmmsg.
22910 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22911 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22912 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22913 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22915 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22916 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22917 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22919 2010-05-20 Andreas Schwab <schwab@redhat.com>
22921 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22923 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22925 POWER7 optimizations.
22926 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22927 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22929 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22931 * version.h: Update for 2.13 development version.
22933 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22935 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22936 exceptions. Return 0.
22938 2010-05-07 Roland McGrath <roland@redhat.com>
22940 * elf/ldconfig.c (main): Add a const.
22942 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22944 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22945 (args_options): Add no-idn option.
22946 (ahosts_keys_int): Add idn_flags to ai_flags.
22947 (parse_option): Handle 'i' option to clear idn_flags.
22949 * malloc/malloc.c (_int_free): Possible race in the most recently
22950 added check. Only act on the data if no current modification
22953 See ChangeLog.17 for earlier changes.