1 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Carlos O'Donell <carlos_odonell@mentor.com>
4 * nss/makedb.c (is_prime): Assert that input is odd and greater
5 than 4. Note that fact in a comment too.
6 (next_prime): Add 4 to input.
8 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * libio/Makefile (tests): Add test case tst-fwrite-error.
12 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14 * libio/tst-fwrite-error.c: New test case.
16 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
18 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19 before casting to void *.
20 * include/libc-internal.h (__pointer_type): New macro.
21 (__integer_if_pointer_type_sub): Likewise.
22 (__integer_if_pointer_type): Likewise.
23 (cast_to_integer): Likewise.
24 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26 before casting to atomic64_t.
27 (atomic_exchange_acq): Likewise.
28 (__arch_exchange_and_add_body): Likewise.
29 (__arch_add_body): Likewise.
30 (atomic_add_negative): Likewise.
31 (atomic_add_zero): Likewise.
33 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38 (linear_search_fdes): Likewise.
39 (binary_search_unencoded_fdes): Likewise.
41 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
43 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45 2012-11-24 Adam Conrad <adconrad@0c3.net>
47 * configure.in: Autodetect C++ header directories.
48 * configure: Regenerated.
50 2012-11-23 Mike Frysinger <vapier@gentoo.org>
52 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
56 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58 2012-11-22 Joseph Myers <joseph@codesourcery.com>
60 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
61 LDBL_MANT_DIG == 106]: Disable some tests.
62 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
69 input for small inputs. Return +/- pi/2 for large inputs.
70 * math/libm-test.inc (atan_test): Add more tests.
72 * sysdeps/generic/unwind-dw2-fde-glibc.c
73 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
74 __attribute__ ((unused)).
77 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
78 x * y if x and y are nonzero and z is zero.
81 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
82 nonzero exponents with absolute value below 0x1p-117 to +/-
86 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
87 up arguments below 2**-450, not just those below 2**-500.
88 * math/libm-test.inc (hypot_test): Add another test.
91 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
92 Return a+b for ratio over 2**120, not 2**60.
93 * math/libm-test.inc (hypot_test): Add another test.
95 * math/libm-test.inc (clog_test): Use
96 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
97 (clog10_test): Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
102 2012-11-22 Andreas Schwab <schwab@suse.de>
104 * sysdeps/i386/fpu/libm-test-ulps: Update.
106 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
108 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
109 printf output with newline.
111 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
114 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
115 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
116 -z nodlopen, -z initfirst and -z execstack support.
117 * configure: Regenerated.
119 * elf/elf.h (DF_1_NODIRECT): New macro.
120 (DF_1_IGNMULDEF): Likewise.
121 (DF_1_NOKSYMS): Likewise.
122 (DF_1_NOHDR): Likewise.
123 (DF_1_EDITED): Likewise.
124 (DF_1_NORELOC): Likewise.
125 (DF_1_SYMINTPOSE): Likewise.
126 (DF_1_GLOBAUDIT): Likewise.
127 (DF_1_SINGLETON): Likewise.
128 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
129 DT_1_SUPPORTED_MASK bits.
130 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
132 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
134 * sysdeps/unix/make-syscalls.sh: Document prefixes.
136 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
138 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
141 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
142 (sendmmsg): Move declarations...
143 * socket/sys/socket.h: ... here.
144 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
145 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
147 * socket/recvmmsg.c: ... this new file.
148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
149 (sendmmsg): Rename to __sendmmsg, create weak alias and make
150 definition of __sendmmsg hidden.
151 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
152 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
153 Move ENOSYS stub into and include it from...
154 * socket/sendmmsg.c: ... this new file.
155 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
156 (sysdep_routines): Move recvmmsg and sendmmsg...
157 * socket/Makefile (routines): ... here.
158 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
159 (GLIBC_PRIVATE): Add __sendmmsg.
160 * include/sys/socket.h (__sendmmsg): Add declarations.
161 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
164 2012-11-20 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
167 variable I1 with __attribute__ ((unused)).
168 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
170 2012-11-19 Joseph Myers <joseph@codesourcery.com>
172 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
173 DUMMY variables with __attribute__ ((unused)).
175 * bits/byteswap.h: Include <bits/types.h>.
176 (__bswap_64): Use __uint64_t instead of unsigned long long int.
178 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
180 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
181 string_t. Do not manually set errno.
182 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
183 length with __strnlen. Make sure to both set errno and return it on
186 2012-11-19 David S. Miller <davem@davemloft.net>
188 With help from Joseph Myers.
189 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
190 very large arguments properly.
191 * math/libm-test.inc (atan_test): New tests.
192 (atan2_test): New tests.
193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
196 2012-11-19 Joseph Myers <joseph@codesourcery.com>
199 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
202 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
203 [POSIX] (EADDRNOTAVAIL): Likewise.
204 [POSIX] (EAFNOSUPPORT): Likewise.
205 [POSIX] (EALREADY): Likewise.
206 [POSIX] (ECONNABORTED): Likewise.
207 [POSIX] (ECONNREFUSED): Likewise.
208 [POSIX] (ECONNRESET): Likewise.
209 [POSIX] (EDESTADDRREQ): Likewise.
210 [POSIX] (EDQUOT): Likewise.
211 [POSIX] (EHOSTUNREACH): Likewise.
212 [POSIX] (EIDRM): Likewise.
213 [POSIX] (EISCONN): Likewise.
214 [POSIX] (ELOOP): Likewise.
215 [POSIX] (EMULTIHOP): Likewise.
216 [POSIX] (ENETDOWN): Likewise.
217 [POSIX] (ENETUNREACH): Likewise.
218 [POSIX] (ENOBUFS): Likewise.
219 [POSIX] (ENODATA): Likewise.
220 [POSIX] (ENOLINK): Likewise.
221 [POSIX] (ENOMSG): Likewise.
222 [POSIX] (ENOPROTOOPT): Likewise.
223 [POSIX] (ENOSR): Likewise.
224 [POSIX] (ENOSTR): Likewise.
225 [POSIX] (ENOTCONN): Likewise.
226 [POSIX] (ENOTSOCK): Likewise.
227 [POSIX] (EOPNOTSUPP): Likewise.
228 [POSIX] (EOVERFLOW): Likewise.
229 [POSIX] (EPROTO): Likewise.
230 [POSIX] (EPROTONOSUPPORT): Likewise.
231 [POSIX] (EPROTOTYPE): Likewise.
232 [POSIX] (ESTALE): Likewise.
233 [POSIX] (ETIME): Likewise.
234 [POSIX] (ETXTBSY): Likewise.
235 [POSIX] (EWOULDBLOCK): Likewise.
236 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
237 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
238 [POSIX] (SEEK_CUR): Likewise.
239 [POSIX] (SEEK_END): Likewise.
240 [POSIX || UNIX98] (mode_t): Do not require.
241 [POSIX] (off_t): Likewise.
242 [POSIX] (pid_t): Likewise.
243 [POSIX] (sys/stat.h): Do not allow header.
244 [POSIX] (unistd.h): Likewise.
245 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
246 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
247 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
248 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
250 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
251 sigevent): Specify elements.
252 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
254 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
255 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
257 * conform/data/cpio.h-data [POSIX]: Disable whole file.
258 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
259 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
260 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
261 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
262 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
263 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
264 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
265 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
266 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
267 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
268 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
269 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
270 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
272 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
274 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
276 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
278 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
279 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
280 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
281 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
282 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
283 Specify lower bound on value.
284 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
285 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
286 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
287 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
288 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
289 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
290 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
291 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
293 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
295 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
296 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
297 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
298 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
299 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
300 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
301 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
302 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
303 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
304 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
305 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
306 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
307 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
308 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
309 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
310 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
312 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
314 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
315 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
316 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
317 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
318 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
319 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
321 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
322 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
323 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
324 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
325 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
326 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
327 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
329 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
330 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
331 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
332 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
333 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
334 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
336 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
337 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
338 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
339 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
340 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
341 [XPG3] (NL_LANGMAX): Likewise.
342 [POSIX || XPG3] (NL_MSGMAX): Likewise.
343 [POSIX || XPG3] (NL_NMAX): Likewise.
344 [POSIX || XPG3] (NL_SETMAX): Likewise.
345 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
346 [XPG3] (NZERO): Likewise.
347 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
348 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
349 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
350 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
351 (REG_ERANGE): Expect.
352 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
354 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
355 Use (void) in prototype.
356 [POSIX] (*_t): Allow.
357 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
358 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
359 (WRDE_BADVAL): Expect.
361 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
363 [XPG3 || XPG4] (O_RSYNC): Likewise.
364 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
366 [XPG3 || XPG4] (pthread_sigmask): Likewise.
367 [XPG3 || XPG4] (sigqueue): Likewise.
368 [XPG3 || XPG4] (sigtimedwait): Likewise.
369 [XPG3 || XPG4] (sigwaitinfo): Likewise.
370 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
371 [XPG3 || XPG4] (vsnprintf): Likewise.
372 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
374 [XPG3 || XPG4] (blksize_t): Likewise.
375 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
377 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
378 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
379 [XPG3 || XPG4] (struct itimerspec): Likewise.
380 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
381 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
382 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
383 [XPG3 || XPG4] (clockid_t): Likewise.
384 [XPG3 || XPG4] (timer_t): Likewise.
385 [XPG3 || XPG4] (clock_getres): Likewise.
386 [XPG3 || XPG4] (clock_gettime): Likewise.
387 [XPG3 || XPG4] (clock_settime): Likewise.
388 [XPG3 || XPG4] (nanosleep): Likewise.
389 [XPG3 || XPG4] (timer_create): Likewise.
390 [XPG3 || XPG4] (timer_delete): Likewise.
391 [XPG3 || XPG4] (timer_gettime): Likewise.
392 [XPG3 || XPG4] (timer_getoverrun): Likewise.
393 [XPG3 || XPG4] (timer_settime): Likewise.
394 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
395 [XPG3 || XPG4] (getlogin_r): Likewise.
396 [XPG3 || XPG4] (pread): Likewise.
397 [XPG3 || XPG4] (pthread_atfork): Likewise.
398 [XPG3 || XPG4] (pwrite): Likewise.
401 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
404 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
406 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
407 finalizing MALLSTREAM.
409 * sysdeps/mach/hurd/syncfs.c: New file.
411 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
414 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
415 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
417 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
418 (_nss_dns_gethostbyname4_r): Likewise.
419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
420 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
422 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
425 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
427 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
429 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
430 * elf/cache.c (print_entry): Print ",AArch64" for
433 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
434 * elf/cache.c (print_entry): Print ",hard-float" for
437 2012-11-18 David S. Miller <davem@davemloft.net>
439 With help from Joseph Myers.
440 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
442 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
444 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
445 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
447 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
448 * math/libm-test.inc (y0_test): New tests.
449 (y1_test): New tests.
450 * sysdeps/i386/fpu/libm-test-ulps: Update.
451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
454 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
456 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
458 * configure: Regenerated.
460 2012-11-17 David S. Miller <davem@davemloft.net>
463 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
464 nonzero exponents with absolute value below 0x1p-128 to +/-
467 2012-11-17 Joseph Myers <joseph@codesourcery.com>
469 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
471 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
473 * posix/getconf-speclist.c: New file.
474 * posix/posix-envs.def: Likewise.
475 * posix/confstr.c (START_ENV_GROUP): New macro.
476 (END_ENV_GROUP): Likewise.
477 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
478 (KNOWN_PRESENT_ENV_STRING): Likewise.
479 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
480 (UNKNOWN_ENVIRONMENT): Likewise.
481 (confstr): Include posix-envs.def instead of handling
482 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
483 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
484 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
485 (END_ENV_GROUP): Likewise.
486 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
487 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
488 (UNKNOWN_ENVIRONMENT): Likewise.
489 (__sysconf): Include posix-envs.def instead of handling associated
491 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
492 preprocessing getconf-speclist.c rather than running getconf or
493 generating empty file.
495 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
497 * scripts/check-local-headers.sh: Ignore 'mach' headers.
499 2012-11-16 Andrej Lajovic <natrij@gmail.com>
502 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
504 2012-11-16 David S. Miller <davem@davemloft.net>
506 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
507 smaller than LDBL_EPSILON/2.0L, just return xm1.
509 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
511 * elf/tst-array1.c (init): Set constructor priority to 1000.
512 (fini): Set destructor priority to 1000.
513 * elf/tst-array2dep.c: Likewise.
515 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
518 * libio/fileops.c (_IO_new_file_write): Correctly return error.
519 (_IO_new_file_xsputn): Also return EOF if none of the input
520 data was written when overflow failed.
521 * libio/iopadn.c (_IO_padn): Likewise.
522 * libio/iowpadn.c (_IO_wpadn): Likewise.
523 * stdio-common/tst-put-error.c: Add copyright notice.
524 (do_test): Add case for printing padded string.
525 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
526 _IO_padn returned error.
527 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
528 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
531 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
533 * libio/libioP.h: Add comment note that the references to C++
534 bits are now obsolete.
536 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
538 * math/libm-test.inc (check_complex): Use asprintf.
540 2012-11-14 Joseph Myers <joseph@codesourcery.com>
542 * debug/pcprofiledump.c (print_version): Update copyright year.
543 * malloc/memusagestat.c (print_version): Likewise.
545 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
548 * elf/Makefile (tests): Add tst-audit8.
549 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
550 ($(objpfx)tst-audit8.out): New target.
551 (tst-audit8-ENV): New variable.
552 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
553 audit if l_reloc_result is NULL.
554 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
555 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
556 * elf/tst-audit8.c: New file.
558 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
560 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
561 * misc/Makefile (CFLAGS-select.c): Define.
562 * posix/Makefile (CFLAGS-pause.c): Define.
564 2012-11-13 David S. Miller <davem@davemloft.net>
566 * crypt/Makefile: Move test targets after toplevel Rules
567 inclusion. Grab any necessary sysdep routines when linking.
568 * crypt/md5.c (md5_process_block): Remove define, we will always
569 name it __md5_process_block.
570 (md5_finish_ctx): Update md5_process_block call.
571 (md5_stream): Likewise.
572 (md5_process_bytes): Likewise.
573 (md5_process_block): Rename to __md5_process_block and move to ...
574 * crypt/md5-block.c: ... here.
575 * crypt/sha256.c (sha256_process_block): Move to ...
576 * crypt/sha256-block.c: ... here.
577 * crypt/sha512.c (sha512_process_block): Move to ...
578 * crypt/sha512-block.c: ... here.
579 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
581 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
582 * sysdeps/sparc/sparc64/multiarch/Makefile
583 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
585 (localedef-aux): Add md5 crypto assembler when in locale subdir.
586 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
588 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
589 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
590 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
591 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
592 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
593 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
594 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
595 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
598 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
599 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
601 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
603 2012-11-13 Joseph Myers <joseph@codesourcery.com>
605 * timezone/tzselect.ksh: Update from tzcode git revision
606 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
607 * timezone/zdump.c: Likewise.
608 * timezone/zic.c: Likewise.
609 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
610 in TZVERSION setting, not $(PKGVERSION).
611 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
612 REPORT_BUGS_TO settings.
615 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
618 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
620 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
621 detection to immediately after _FP_ROUND().
622 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
625 2012-11-11 David S. Miller <davem@davemloft.net>
627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
629 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
630 __close rather than their public counterparts.
632 2012-11-10 Joseph Myers <joseph@codesourcery.com>
634 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
636 [UNIX98] (sem_timedwait): Do not expect.
637 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
638 [XPG4 || UNIX98] (sockatmark): Do not expect.
639 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
640 (clock_getcpuclockid): Do not expect.
641 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
642 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
644 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
645 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
646 [UNIX98] (vwscanf): Likewise.
647 [UNIX98] (vswscanf): Likewise.
649 2012-11-09 Joseph Myers <joseph@codesourcery.com>
651 * timezone/version.h: Remove file.
652 * timezone/README: Do not refer to version.h.
653 * timezone/Makefile ($(objpfx)zic.o): New dependency on
655 ($(objpfx)zdump.o): Likewise.
656 ($(objpfx)version.h): New target.
658 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
660 * timezone/README: Don't mention modification to tzselect.ksh.
661 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
662 work on unmodified tzselect.ksh. Substitute version numbers in
665 * Makefile (format-me): Remove.
666 (INSTALL): Adjust indentation. Use commands directly instead of
669 * aclocal.m4 (ACX_PKGVERSION): New macro.
670 (ACX_BUGURL): Likewise.
671 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
672 (PKGVERSION): New AC_DEFINE_UNQUOTED.
673 (REPORT_BUGS_TO): Likewise.
674 * configure: Regenerated.
675 * config.h.in (PKGVERSION): New macro.
676 (REPORT_BUGS_TO): Likewise.
677 * config.make.in (PKGVERSION): New variable.
678 (PKGVERSION_TEXI): Likewise.
679 (REPORT_BUGS_TO): Likewise.
680 (REPORT_BUGS_TEXI): Likewise.
681 * Makefile (format-me): Use -I$(common-objpfx)manual.
682 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
683 ($(common-objpfx)manual/%): New target.
684 (manual/%): Remove target.
685 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
686 (print_version): Use PKGVERSION.
687 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
688 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
690 ($(objpfx)xtrace): Likewise.
691 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
692 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
693 (print_version): Use PKGVERSION.
694 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
695 (do_version): Use PKGVERSION.
696 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
698 (common-ldd-rewrite): Likewise.
699 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
700 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
701 (print_version): Use PKGVERSION.
702 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
703 * elf/pldd.c (argp_program_bug_address): Remove variable.
704 (more_help): New function.
705 (argp): Use more_help.
706 (print_version): Use PKGVERSION.
707 * elf/sln.c (main): Use PKGVERSION.
708 (usage): Use REPORT_BUGS_TO.
709 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
710 (top level): Use PKGVERSION.
711 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
712 (print_version): Use PKGVERSION.
713 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
714 (print_version): Use PKGVERSION.
715 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
716 (print_version): Use PKGVERSION.
717 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
718 (print_version): Use PKGVERSION.
719 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
720 (print_version): Use PKGVERSION.
721 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
722 (print_version): Use PKGVERSION.
723 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
725 ($(objpfx)memusage): Likewise.
726 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
727 (do_version): Use PKGVERSION.
728 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
729 (print_version): Use PKGVERSION.
730 * malloc/mtrace.pl ($PACKAGE): Remove variable.
731 ($PKGVERSION): New variable.
732 ($REPORT_BUGS_TO): Likewise.
733 (usage): Use $REPORT_BUGS_TO.
734 (top level): Use $PKGVERSION.
735 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
736 ($(objpfx)pkgvers.texi): New rule.
737 ($(objpfx)stamp-pkgvers): Likewise.
738 * manual/install.texi: Include pkgvers.texi.
739 (--with-pkgversion): Document new configure option.
740 (--with-bugurl): Likewise.
741 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
742 than necessarily for this particular distribution. Use
743 REPORT_BUGS_TO for where to report bugs.
744 * INSTALL: Regenerated.
745 * manual/libc.texinfo: Include pkgvers.texi.
746 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
747 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
748 (print_version): Use PKGVERSION.
749 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
750 (print_version): Use PKGVERSION.
751 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
752 (print_version): Use PKGVERSION.
753 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
754 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
756 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
757 (print_version): Use PKGVERSION.
758 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
759 (print_version): Use PKGVERSION.
760 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
763 * timezone/checktab.awk: Update from tzcode 2012i.
764 * timezone/ialloc.c: Likewise.
765 * timezone/private.h: Likewise.
766 * timezone/scheck.c: Likewise.
767 * timezone/tzfile.h: Likewise.
768 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
769 (TZVERSION): Hardcode tzcode version number.
770 * timezone/zdump.c: Update from tzcode 2012i.
771 * timezone/zic.c: Likewise.
772 * timezone/version.h: New file.
773 * timezone/README: Describe version.h. Update upstream location.
776 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
777 (mktemp): Enable declaration.
778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
783 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
795 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
796 offset in buffer as u_int32_t not u_long. Consistently use memcpy
797 for copies of such integer values.
798 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
799 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
801 2012-11-09 Andreas Jaeger <aj@suse.de>
803 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
804 definitions and declarations that are provided by
805 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
807 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
809 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
810 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
811 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
814 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
816 * elf/elf.h: Update comment before AArch64 relocations.
818 2012-11-07 David S. Miller <davem@davemloft.net>
820 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
821 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
822 (__start_context): Declare.
823 (__makecontext_ret): Delete.
824 (__makecontext): Hook up __start_context instead of
826 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
827 (sysdep_routines): Add __start_context when in stdlib.
829 2012-11-07 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
832 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
833 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
835 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
836 (READELF): New variable. Use it instead of hardcoded "readelf".
838 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
840 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
841 * sysdeps/x86/Makefile: Here.
842 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
843 * sysdeps/x86/tst-xmmymm.sh: This.
845 2012-11-07 Joseph Myers <joseph@codesourcery.com>
847 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
849 [UNIX98] (pthread_barrier_t): Do not expect.
850 [UNIX98] (pthread_barrierattr_t): Likewise.
851 [UNIX98] (pthread_spinlock_t): Likewise.
852 [UNIX98] (pthread_barrier_destroy): Likewise.
853 [UNIX98] (pthread_barrier_init): Likewise.
854 [UNIX98] (pthread_barrier_wait): Likewise.
855 [UNIX98] (pthread_barrierattr_destroy): Likewise.
856 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
857 [UNIX98] (pthread_barrierattr_init): Likewise.
858 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
859 [UNIX98] (pthread_getcpuclockid): Likewise.
860 [UNIX98] (pthread_mutex_timedlock): Likewise.
861 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
862 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
863 [UNIX98] (pthread_sigmask): Likewise.
864 [UNIX98] (pthread_spin_destroy): Likewise.
865 [UNIX98] (pthread_spin_init): Likewise.
866 [UNIX98] (pthread_spin_lock): Likewise.
867 [UNIX98] (pthread_spin_trylock): Likewise.
868 [UNIX98] (pthread_spin_unlock): Likewise.
869 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
871 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
872 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
873 [XPG3 || XPG4] (pthread_cond_t): Likewise.
874 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
875 [XPG3 || XPG4] (pthread_key_t): Likewise.
876 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
877 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
878 [XPG3 || XPG4] (pthread_once_t): Likewise.
879 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
880 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
881 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
882 [XPG3 || XPG4] (pthread_t): Likewise.
884 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
886 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
888 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
889 Change function return type to int.
891 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
892 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
893 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
894 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
895 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
896 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
897 [!POSIX] (posix_madvise): Likewise.
898 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
900 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
901 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
903 (posix_mem_offset): Likewise.
904 (posix_typed_mem_get_info): Likewise.
905 (posix_typed_mem_open): Likewise.
907 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
908 Change condition to [XOPEN2K8].
910 * conform/conformtest.pl: Preprocess allow-header data with -x c
911 instead of from stdin.
912 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
913 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
914 [C99-based standards] (cerfc): Likewise.
915 [C99-based standards] (cexp2): Likewise.
916 [C99-based standards] (cexpm1): Likewise.
917 [C99-based standards] (clog10): Likewise.
918 [C99-based standards] (clog1p): Likewise.
919 [C99-based standards] (clog2): Likewise.
920 [C99-based standards] (clgamma): Likewise.
921 [C99-based standards] (ctgamma): Likewise.
922 [C99-based standards] (cerff): Likewise.
923 [C99-based standards] (cerfcf): Likewise.
924 [C99-based standards] (cexp2f): Likewise.
925 [C99-based standards] (cexpm1f): Likewise.
926 [C99-based standards] (clog10f): Likewise.
927 [C99-based standards] (clog1pf): Likewise.
928 [C99-based standards] (clog2f): Likewise.
929 [C99-based standards] (clgammaf): Likewise.
930 [C99-based standards] (ctgammaf): Likewise.
931 [C99-based standards] (cerfl): Likewise.
932 [C99-based standards] (cerfcl): Likewise.
933 [C99-based standards] (cexp2l): Likewise.
934 [C99-based standards] (cexpm1l): Likewise.
935 [C99-based standards] (clog10l): Likewise.
936 [C99-based standards] (clog1pl): Likewise.
937 [C99-based standards] (clog2l): Likewise.
938 [C99-based standards] (clgammal): Likewise.
939 [C99-based standards] (ctgammal): Likewise.
940 * conform/data/inttypes.h-data [C99-based standards]: Include
941 stdint.h-data. Remove all expectations for stdint.h contents.
942 [C99-based standards] (PRI*): Do not allow.
943 [C99-based standards] (SCN*): Likewise.
944 [C99-based standards] (*_t): Likewise.
945 [C99-based-standards] (PRId8): Expect macro.
946 [C99-based-standards] (PRIi8): Likewise.
947 [C99-based-standards] (PRIo8): Likewise.
948 [C99-based-standards] (PRIu8): Likewise.
949 [C99-based-standards] (PRIx8): Likewise.
950 [C99-based-standards] (PRIX8): Likewise.
951 [C99-based-standards] (SCNd8): Likewise.
952 [C99-based-standards] (SCNi8): Likewise.
953 [C99-based-standards] (SCNo8): Likewise.
954 [C99-based-standards] (SCNu8): Likewise.
955 [C99-based-standards] (SCNx8): Likewise.
956 [C99-based-standards] (PRIdLEAST8): Likewise.
957 [C99-based-standards] (PRIiLEAST8): Likewise.
958 [C99-based-standards] (PRIoLEAST8): Likewise.
959 [C99-based-standards] (PRIuLEAST8): Likewise.
960 [C99-based-standards] (PRIxLEAST8): Likewise.
961 [C99-based-standards] (PRIXLEAST8): Likewise.
962 [C99-based-standards] (SCNdLEAST8): Likewise.
963 [C99-based-standards] (SCNiLEAST8): Likewise.
964 [C99-based-standards] (SCNoLEAST8): Likewise.
965 [C99-based-standards] (SCNuLEAST8): Likewise.
966 [C99-based-standards] (SCNxLEAST8): Likewise.
967 [C99-based-standards] (PRIdFAST8): Likewise.
968 [C99-based-standards] (PRIiFAST8): Likewise.
969 [C99-based-standards] (PRIoFAST8): Likewise.
970 [C99-based-standards] (PRIuFAST8): Likewise.
971 [C99-based-standards] (PRIxFAST8): Likewise.
972 [C99-based-standards] (PRIXFAST8): Likewise.
973 [C99-based-standards] (SCNdFAST8): Likewise.
974 [C99-based-standards] (SCNiFAST8): Likewise.
975 [C99-based-standards] (SCNoFAST8): Likewise.
976 [C99-based-standards] (SCNuFAST8): Likewise.
977 [C99-based-standards] (SCNxFAST8): Likewise.
978 [C99-based-standards] (PRId16): Likewise.
979 [C99-based-standards] (PRIi16): Likewise.
980 [C99-based-standards] (PRIo16): Likewise.
981 [C99-based-standards] (PRIu16): Likewise.
982 [C99-based-standards] (PRIx16): Likewise.
983 [C99-based-standards] (PRIX16): Likewise.
984 [C99-based-standards] (SCNd16): Likewise.
985 [C99-based-standards] (SCNi16): Likewise.
986 [C99-based-standards] (SCNo16): Likewise.
987 [C99-based-standards] (SCNu16): Likewise.
988 [C99-based-standards] (SCNx16): Likewise.
989 [C99-based-standards] (PRIdLEAST16): Likewise.
990 [C99-based-standards] (PRIiLEAST16): Likewise.
991 [C99-based-standards] (PRIoLEAST16): Likewise.
992 [C99-based-standards] (PRIuLEAST16): Likewise.
993 [C99-based-standards] (PRIxLEAST16): Likewise.
994 [C99-based-standards] (PRIXLEAST16): Likewise.
995 [C99-based-standards] (SCNdLEAST16): Likewise.
996 [C99-based-standards] (SCNiLEAST16): Likewise.
997 [C99-based-standards] (SCNoLEAST16): Likewise.
998 [C99-based-standards] (SCNuLEAST16): Likewise.
999 [C99-based-standards] (SCNxLEAST16): Likewise.
1000 [C99-based-standards] (PRIdFAST16): Likewise.
1001 [C99-based-standards] (PRIiFAST16): Likewise.
1002 [C99-based-standards] (PRIoFAST16): Likewise.
1003 [C99-based-standards] (PRIuFAST16): Likewise.
1004 [C99-based-standards] (PRIxFAST16): Likewise.
1005 [C99-based-standards] (PRIXFAST16): Likewise.
1006 [C99-based-standards] (SCNdFAST16): Likewise.
1007 [C99-based-standards] (SCNiFAST16): Likewise.
1008 [C99-based-standards] (SCNoFAST16): Likewise.
1009 [C99-based-standards] (SCNuFAST16): Likewise.
1010 [C99-based-standards] (SCNxFAST16): Likewise.
1011 [C99-based-standards] (PRId32): Likewise.
1012 [C99-based-standards] (PRIi32): Likewise.
1013 [C99-based-standards] (PRIo32): Likewise.
1014 [C99-based-standards] (PRIu32): Likewise.
1015 [C99-based-standards] (PRIx32): Likewise.
1016 [C99-based-standards] (PRIX32): Likewise.
1017 [C99-based-standards] (SCNd32): Likewise.
1018 [C99-based-standards] (SCNi32): Likewise.
1019 [C99-based-standards] (SCNo32): Likewise.
1020 [C99-based-standards] (SCNu32): Likewise.
1021 [C99-based-standards] (SCNx32): Likewise.
1022 [C99-based-standards] (PRIdLEAST32): Likewise.
1023 [C99-based-standards] (PRIiLEAST32): Likewise.
1024 [C99-based-standards] (PRIoLEAST32): Likewise.
1025 [C99-based-standards] (PRIuLEAST32): Likewise.
1026 [C99-based-standards] (PRIxLEAST32): Likewise.
1027 [C99-based-standards] (PRIXLEAST32): Likewise.
1028 [C99-based-standards] (SCNdLEAST32): Likewise.
1029 [C99-based-standards] (SCNiLEAST32): Likewise.
1030 [C99-based-standards] (SCNoLEAST32): Likewise.
1031 [C99-based-standards] (SCNuLEAST32): Likewise.
1032 [C99-based-standards] (SCNxLEAST32): Likewise.
1033 [C99-based-standards] (PRIdFAST32): Likewise.
1034 [C99-based-standards] (PRIiFAST32): Likewise.
1035 [C99-based-standards] (PRIoFAST32): Likewise.
1036 [C99-based-standards] (PRIuFAST32): Likewise.
1037 [C99-based-standards] (PRIxFAST32): Likewise.
1038 [C99-based-standards] (PRIXFAST32): Likewise.
1039 [C99-based-standards] (SCNdFAST32): Likewise.
1040 [C99-based-standards] (SCNiFAST32): Likewise.
1041 [C99-based-standards] (SCNoFAST32): Likewise.
1042 [C99-based-standards] (SCNuFAST32): Likewise.
1043 [C99-based-standards] (SCNxFAST32): Likewise.
1044 [C99-based-standards] (PRId64): Likewise.
1045 [C99-based-standards] (PRIi64): Likewise.
1046 [C99-based-standards] (PRIo64): Likewise.
1047 [C99-based-standards] (PRIu64): Likewise.
1048 [C99-based-standards] (PRIx64): Likewise.
1049 [C99-based-standards] (PRIX64): Likewise.
1050 [C99-based-standards] (SCNd64): Likewise.
1051 [C99-based-standards] (SCNi64): Likewise.
1052 [C99-based-standards] (SCNo64): Likewise.
1053 [C99-based-standards] (SCNu64): Likewise.
1054 [C99-based-standards] (SCNx64): Likewise.
1055 [C99-based-standards] (PRIdLEAST64): Likewise.
1056 [C99-based-standards] (PRIiLEAST64): Likewise.
1057 [C99-based-standards] (PRIoLEAST64): Likewise.
1058 [C99-based-standards] (PRIuLEAST64): Likewise.
1059 [C99-based-standards] (PRIxLEAST64): Likewise.
1060 [C99-based-standards] (PRIXLEAST64): Likewise.
1061 [C99-based-standards] (SCNdLEAST64): Likewise.
1062 [C99-based-standards] (SCNiLEAST64): Likewise.
1063 [C99-based-standards] (SCNoLEAST64): Likewise.
1064 [C99-based-standards] (SCNuLEAST64): Likewise.
1065 [C99-based-standards] (SCNxLEAST64): Likewise.
1066 [C99-based-standards] (PRIdFAST64): Likewise.
1067 [C99-based-standards] (PRIiFAST64): Likewise.
1068 [C99-based-standards] (PRIoFAST64): Likewise.
1069 [C99-based-standards] (PRIuFAST64): Likewise.
1070 [C99-based-standards] (PRIxFAST64): Likewise.
1071 [C99-based-standards] (PRIXFAST64): Likewise.
1072 [C99-based-standards] (SCNdFAST64): Likewise.
1073 [C99-based-standards] (SCNiFAST64): Likewise.
1074 [C99-based-standards] (SCNoFAST64): Likewise.
1075 [C99-based-standards] (SCNuFAST64): Likewise.
1076 [C99-based-standards] (SCNxFAST64): Likewise.
1077 [C99-based-standards] (PRIdMAX): Likewise.
1078 [C99-based-standards] (PRIiMAX): Likewise.
1079 [C99-based-standards] (PRIoMAX): Likewise.
1080 [C99-based-standards] (PRIuMAX): Likewise.
1081 [C99-based-standards] (PRIxMAX): Likewise.
1082 [C99-based-standards] (PRIXMAX): Likewise.
1083 [C99-based-standards] (SCNdMAX): Likewise.
1084 [C99-based-standards] (SCNiMAX): Likewise.
1085 [C99-based-standards] (SCNoMAX): Likewise.
1086 [C99-based-standards] (SCNuMAX): Likewise.
1087 [C99-based-standards] (SCNxMAX): Likewise.
1088 [C99-based-standards] (PRIdPTR): Likewise.
1089 [C99-based-standards] (PRIiPTR): Likewise.
1090 [C99-based-standards] (PRIoPTR): Likewise.
1091 [C99-based-standards] (PRIuPTR): Likewise.
1092 [C99-based-standards] (PRIxPTR): Likewise.
1093 [C99-based-standards] (PRIXPTR): Likewise.
1094 [C99-based-standards] (SCNdPTR): Likewise.
1095 [C99-based-standards] (SCNiPTR): Likewise.
1096 [C99-based-standards] (SCNoPTR): Likewise.
1097 [C99-based-standards] (SCNuPTR): Likewise.
1098 [C99-based-standards] (SCNxPTR): Likewise.
1099 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1101 * conform/data/stdint.h-data: Update comments to clarify
1103 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1105 [C99-based standards] (INT8_MAX): Likewise.
1106 [C99-based standards] (INT16_MIN): Likewise.
1107 [C99-based standards] (INT16_MAX): Likewise.
1108 [C99-based standards] (INT32_MIN): Likewise.
1109 [C99-based standards] (INT32_MAX): Likewise.
1110 [C99-based standards] (INT64_MIN): Likewise.
1111 [C99-based standards] (INT64_MAX): Likewise.
1112 [C99-based standards] (UINT8_MAX): Likewise.
1113 [C99-based standards] (UINT16_MAX): Likewise.
1114 [C99-based standards] (UINT32_MAX): Likewise.
1115 [C99-based standards] (UINT64_MAX): Likewise.
1116 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1117 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1118 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1119 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1120 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1121 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1122 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1123 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1124 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1125 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1126 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1127 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1128 [C99-based standards] (INT_FAST8_MIN): Likewise.
1129 [C99-based standards] (INT_FAST8_MAX): Likewise.
1130 [C99-based standards] (INT_FAST16_MIN): Likewise.
1131 [C99-based standards] (INT_FAST16_MAX): Likewise.
1132 [C99-based standards] (INT_FAST32_MIN): Likewise.
1133 [C99-based standards] (INT_FAST32_MAX): Likewise.
1134 [C99-based standards] (INT_FAST64_MIN): Likewise.
1135 [C99-based standards] (INT_FAST64_MAX): Likewise.
1136 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1137 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1138 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1139 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1140 [C99-based standards] (INTPTR_MIN): Likewise.
1141 [C99-based standards] (INTPTR_MAX): Likewise.
1142 [C99-based standards] (UINTPTR_MAX): Likewise.
1143 [C99-based standards] (INTMAX_MIN): Likewise.
1144 [C99-based standards] (INTMAX_MAX): Likewise.
1145 [C99-based standards] (UINTMAX_MAX): Likewise.
1146 [C99-based standards] (PTRDIFF_MIN): Likewise.
1147 [C99-based standards] (PTRDIFF_MAX): Likewise.
1148 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1149 [C99-based standards] (SIZE_MAX): Likewise.
1150 [C99-based standards] (WCHAR_MAX): Likewise.
1151 [C99-based standards] (WINT_MAX): Likewise.
1152 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1153 constraint on value.
1154 [C99-based standards] (WCHAR_MIN): Likewise.
1155 [C99-based standards] (WINT_MIN): Likewise.
1156 [C99-based standards] (*_t): Allow.
1157 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1158 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1159 Include math.h-data and complex.h-data. Remove all expectations
1160 of math.h and complex.h contents.
1161 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1163 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1164 (struct tm): Expect tag.
1165 [C99-based-standards] (wcstof): Expect function.
1166 [C99-based-standards] (wcstold): Likewise.
1167 [C99-based-standards] (wcstoll): Likewise.
1168 [C99-based-standards] (wcstoull): Likewise.
1169 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1170 macro-int-constant. Specify type.
1171 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1172 constraint on value.
1173 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1175 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1177 [ISO C standards]: Do not allow headers.
1178 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1179 wcs[abcdefghijklmnopqrstuvwxyz]*.
1180 [ISO C standards] (*_t): Do not allow.
1181 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1183 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1184 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1186 [ISO C standards]: Do not allow headers.
1187 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1188 is[abcdefghijklmnopqrstuvwxyz]*.
1189 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1190 to[abcdefghijklmnopqrstuvwxyz]*.
1191 [ISO C standards] (*_t): Do not allow.
1192 * conform/data/stdalign.h-data: New file.
1193 * conform/data/stdbool.h-data: Likewise.
1194 * conform/data/stdnoreturn.h-data: Likewise.
1196 2012-11-07 Andreas Jaeger <aj@suse.de>
1199 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1200 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1201 guards are changed. Only define if not yet defined, #undef back
1202 after including linux/sysctl.h if defined here.
1204 2012-11-07 Roland McGrath <roland@hack.frob.com>
1207 * manual/filesys.texi (Directory Entries): Typo fix.
1208 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1210 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1212 * elf/elf.h (EM_AARCH64): New macro.
1213 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1214 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1215 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1216 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1217 (R_AARCH64_TLSDESC): Likewise.
1218 (NT_ARM_TLS): Likewise.
1219 (NT_ARM_HW_BREAK): Likewise.
1220 (NT_ARM_HW_WATCH): Likewise.
1222 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1225 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1226 (__ieee754_powl): Saturate nonzero exponents with absolute value
1227 below 0x1p-79 to +/- 0x1p-79.
1228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1229 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1230 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1231 nonzero exponents with absolute value below 0x1p-32 to +/-
1233 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1234 (__ieee754_powl): Saturate nonzero exponents with absolute value
1235 below 0x1p-79 to +/- 0x1p-79.
1236 * math/libm-test.inc (pow_test): Add more tests.
1238 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1240 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1241 _dl_s390_cap_flags with kernel. Increase string length.
1242 (_dl_s390_platforms): Add z196 and zEC12.
1244 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1246 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1247 Change XOPEN21K to XOPEN2K.
1249 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1251 * string/memmove.c: Use memcpy when possible.
1253 2012-11-06 Andreas Jaeger <aj@suse.de>
1255 * po/eo.po: Update from translation team.
1257 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1261 exponent and small x and y exponents, scale x or y up. Increase
1262 by 2 the exponent used in scaling up.
1263 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1265 * math/libm-test.inc (fma_test): Add more tests.
1266 (fma_test_towardzero): Likewise.
1267 (fma_test_downward): Likewise.
1268 (fma_test_upward): Likewise.
1270 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1273 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1277 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1278 namespace for names of struct fields.
1279 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1281 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1282 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1284 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1287 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1289 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1291 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1295 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1298 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1302 definitely overflow as x * y not x * y + z.
1303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1305 * math/libm-test.inc (fma_test): Add more tests.
1306 (fma_test_towardzero): Likewise.
1307 (fma_test_downward): Likewise.
1308 (fma_test_upward): Likewise.
1310 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1314 * include/stub-tag.h: Remove file.
1315 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1317 * manual/maint.texi (Porting): Don't reference it.
1318 * Makerules ($(objpfx)stubs): Likewise.
1319 * dirent/closedir.c: Don't include <stub-tag.h>.
1320 * dirent/dirfd.c: Likewise.
1321 * dirent/fdopendir.c: Likewise.
1322 * dirent/getdents.c: Likewise.
1323 * dirent/getdents64.c: Likewise.
1324 * dirent/opendir.c: Likewise.
1325 * dirent/readdir.c: Likewise.
1326 * dirent/readdir64.c: Likewise.
1327 * dirent/readdir64_r.c: Likewise.
1328 * dirent/readdir_r.c: Likewise.
1329 * dirent/rewinddir.c: Likewise.
1330 * dirent/seekdir.c: Likewise.
1331 * dirent/telldir.c: Likewise.
1332 * gmon/profil.c: Likewise.
1333 * grp/setgroups.c: Likewise.
1334 * inet/if_index.c: Likewise.
1335 * io/access.c: Likewise.
1336 * io/chdir.c: Likewise.
1337 * io/chmod.c: Likewise.
1338 * io/chown.c: Likewise.
1339 * io/close.c: Likewise.
1340 * io/dup.c: Likewise.
1341 * io/dup2.c: Likewise.
1342 * io/dup3.c: Likewise.
1343 * io/euidaccess.c: Likewise.
1344 * io/faccessat.c: Likewise.
1345 * io/fchdir.c: Likewise.
1346 * io/fchmod.c: Likewise.
1347 * io/fchmodat.c: Likewise.
1348 * io/fchown.c: Likewise.
1349 * io/fchownat.c: Likewise.
1350 * io/fcntl.c: Likewise.
1351 * io/flock.c: Likewise.
1352 * io/fstatfs.c: Likewise.
1353 * io/fstatfs64.c: Likewise.
1354 * io/fstatvfs.c: Likewise.
1355 * io/fstatvfs64.c: Likewise.
1356 * io/futimens.c: Likewise.
1357 * io/fxstat.c: Likewise.
1358 * io/fxstat64.c: Likewise.
1359 * io/fxstatat.c: Likewise.
1360 * io/fxstatat64.c: Likewise.
1361 * io/getcwd.c: Likewise.
1362 * io/isatty.c: Likewise.
1363 * io/lchmod.c: Likewise.
1364 * io/lchown.c: Likewise.
1365 * io/link.c: Likewise.
1366 * io/linkat.c: Likewise.
1367 * io/lseek.c: Likewise.
1368 * io/lseek64.c: Likewise.
1369 * io/lxstat64.c: Likewise.
1370 * io/mkdir.c: Likewise.
1371 * io/mkdirat.c: Likewise.
1372 * io/mkfifo.c: Likewise.
1373 * io/mkfifoat.c: Likewise.
1374 * io/open.c: Likewise.
1375 * io/open64.c: Likewise.
1376 * io/openat.c: Likewise.
1377 * io/openat64.c: Likewise.
1378 * io/pipe.c: Likewise.
1379 * io/pipe2.c: Likewise.
1380 * io/poll.c: Likewise.
1381 * io/posix_fadvise.c: Likewise.
1382 * io/posix_fadvise64.c: Likewise.
1383 * io/posix_fallocate.c: Likewise.
1384 * io/posix_fallocate64.c: Likewise.
1385 * io/read.c: Likewise.
1386 * io/readlink.c: Likewise.
1387 * io/readlinkat.c: Likewise.
1388 * io/rmdir.c: Likewise.
1389 * io/sendfile.c: Likewise.
1390 * io/sendfile64.c: Likewise.
1391 * io/statfs.c: Likewise.
1392 * io/statfs64.c: Likewise.
1393 * io/statvfs.c: Likewise.
1394 * io/statvfs64.c: Likewise.
1395 * io/symlink.c: Likewise.
1396 * io/symlinkat.c: Likewise.
1397 * io/ttyname.c: Likewise.
1398 * io/ttyname_r.c: Likewise.
1399 * io/umask.c: Likewise.
1400 * io/unlink.c: Likewise.
1401 * io/unlinkat.c: Likewise.
1402 * io/utime.c: Likewise.
1403 * io/utimensat.c: Likewise.
1404 * io/write.c: Likewise.
1405 * io/xmknod.c: Likewise.
1406 * io/xmknodat.c: Likewise.
1407 * io/xstat.c: Likewise.
1408 * io/xstat64.c: Likewise.
1409 * login/getpt.c: Likewise.
1410 * login/grantpt.c: Likewise.
1411 * login/unlockpt.c: Likewise.
1412 * math/e_acoshl.c: Likewise.
1413 * math/e_acosl.c: Likewise.
1414 * math/e_asinl.c: Likewise.
1415 * math/e_atan2l.c: Likewise.
1416 * math/e_atanhl.c: Likewise.
1417 * math/e_coshl.c: Likewise.
1418 * math/e_expl.c: Likewise.
1419 * math/e_fmodl.c: Likewise.
1420 * math/e_gammal_r.c: Likewise.
1421 * math/e_hypotl.c: Likewise.
1422 * math/e_j0l.c: Likewise.
1423 * math/e_j1l.c: Likewise.
1424 * math/e_jnl.c: Likewise.
1425 * math/e_lgammal_r.c: Likewise.
1426 * math/e_log10l.c: Likewise.
1427 * math/e_log2l.c: Likewise.
1428 * math/e_logl.c: Likewise.
1429 * math/e_powl.c: Likewise.
1430 * math/e_rem_pio2l.c: Likewise.
1431 * math/e_sinhl.c: Likewise.
1432 * math/e_sqrtl.c: Likewise.
1433 * math/fclrexcpt.c: Likewise.
1434 * math/fedisblxcpt.c: Likewise.
1435 * math/feenablxcpt.c: Likewise.
1436 * math/fegetenv.c: Likewise.
1437 * math/fegetexcept.c: Likewise.
1438 * math/fegetround.c: Likewise.
1439 * math/feholdexcpt.c: Likewise.
1440 * math/fesetenv.c: Likewise.
1441 * math/fesetround.c: Likewise.
1442 * math/feupdateenv.c: Likewise.
1443 * math/fgetexcptflg.c: Likewise.
1444 * math/fraiseexcpt.c: Likewise.
1445 * math/fsetexcptflg.c: Likewise.
1446 * math/ftestexcept.c: Likewise.
1447 * math/k_cosl.c: Likewise.
1448 * math/k_rem_pio2l.c: Likewise.
1449 * math/k_sinl.c: Likewise.
1450 * math/k_tanl.c: Likewise.
1451 * math/s_asinhl.c: Likewise.
1452 * math/s_atanl.c: Likewise.
1453 * math/s_cbrtl.c: Likewise.
1454 * math/s_erfl.c: Likewise.
1455 * math/s_expm1l.c: Likewise.
1456 * math/s_log1pl.c: Likewise.
1457 * math/s_tanhl.c: Likewise.
1458 * misc/acct.c: Likewise.
1459 * misc/brk.c: Likewise.
1460 * misc/chflags.c: Likewise.
1461 * misc/chroot.c: Likewise.
1462 * misc/fchflags.c: Likewise.
1463 * misc/fgetxattr.c: Likewise.
1464 * misc/flistxattr.c: Likewise.
1465 * misc/fremovexattr.c: Likewise.
1466 * misc/fsetxattr.c: Likewise.
1467 * misc/fsync.c: Likewise.
1468 * misc/ftruncate.c: Likewise.
1469 * misc/futimes.c: Likewise.
1470 * misc/futimesat.c: Likewise.
1471 * misc/getdomain.c: Likewise.
1472 * misc/getdtsz.c: Likewise.
1473 * misc/gethostid.c: Likewise.
1474 * misc/gethostname.c: Likewise.
1475 * misc/getloadavg.c: Likewise.
1476 * misc/getpagesize.c: Likewise.
1477 * misc/getsysstats.c: Likewise.
1478 * misc/getxattr.c: Likewise.
1479 * misc/gtty.c: Likewise.
1480 * misc/ioctl.c: Likewise.
1481 * misc/lgetxattr.c: Likewise.
1482 * misc/listxattr.c: Likewise.
1483 * misc/llistxattr.c: Likewise.
1484 * misc/lremovexattr.c: Likewise.
1485 * misc/lsetxattr.c: Likewise.
1486 * misc/lutimes.c: Likewise.
1487 * misc/madvise.c: Likewise.
1488 * misc/mincore.c: Likewise.
1489 * misc/mlock.c: Likewise.
1490 * misc/mlockall.c: Likewise.
1491 * misc/mmap.c: Likewise.
1492 * misc/mprotect.c: Likewise.
1493 * misc/msync.c: Likewise.
1494 * misc/munlock.c: Likewise.
1495 * misc/munlockall.c: Likewise.
1496 * misc/munmap.c: Likewise.
1497 * misc/preadv.c: Likewise.
1498 * misc/preadv64.c: Likewise.
1499 * misc/ptrace.c: Likewise.
1500 * misc/pwritev.c: Likewise.
1501 * misc/pwritev64.c: Likewise.
1502 * misc/readv.c: Likewise.
1503 * misc/reboot.c: Likewise.
1504 * misc/remap_file_pages.c: Likewise.
1505 * misc/removexattr.c: Likewise.
1506 * misc/revoke.c: Likewise.
1507 * misc/select.c: Likewise.
1508 * misc/setdomain.c: Likewise.
1509 * misc/setegid.c: Likewise.
1510 * misc/seteuid.c: Likewise.
1511 * misc/sethostid.c: Likewise.
1512 * misc/sethostname.c: Likewise.
1513 * misc/setregid.c: Likewise.
1514 * misc/setreuid.c: Likewise.
1515 * misc/setxattr.c: Likewise.
1516 * misc/sstk.c: Likewise.
1517 * misc/stty.c: Likewise.
1518 * misc/swapoff.c: Likewise.
1519 * misc/swapon.c: Likewise.
1520 * misc/sync.c: Likewise.
1521 * misc/syncfs.c: Likewise.
1522 * misc/syscall.c: Likewise.
1523 * misc/truncate.c: Likewise.
1524 * misc/ualarm.c: Likewise.
1525 * misc/usleep.c: Likewise.
1526 * misc/ustat.c: Likewise.
1527 * misc/utimes.c: Likewise.
1528 * misc/vhangup.c: Likewise.
1529 * misc/writev.c: Likewise.
1530 * posix/_exit.c: Likewise.
1531 * posix/alarm.c: Likewise.
1532 * posix/execve.c: Likewise.
1533 * posix/fexecve.c: Likewise.
1534 * posix/fork.c: Likewise.
1535 * posix/fpathconf.c: Likewise.
1536 * posix/getaddrinfo.c: Likewise.
1537 * posix/getegid.c: Likewise.
1538 * posix/geteuid.c: Likewise.
1539 * posix/getgid.c: Likewise.
1540 * posix/getgroups.c: Likewise.
1541 * posix/getlogin.c: Likewise.
1542 * posix/getlogin_r.c: Likewise.
1543 * posix/getpgid.c: Likewise.
1544 * posix/getpid.c: Likewise.
1545 * posix/getppid.c: Likewise.
1546 * posix/getresgid.c: Likewise.
1547 * posix/getresuid.c: Likewise.
1548 * posix/getsid.c: Likewise.
1549 * posix/getuid.c: Likewise.
1550 * posix/glob64.c: Likewise.
1551 * posix/nanosleep.c: Likewise.
1552 * posix/pathconf.c: Likewise.
1553 * posix/pause.c: Likewise.
1554 * posix/posix_madvise.c: Likewise.
1555 * posix/pread.c: Likewise.
1556 * posix/pread64.c: Likewise.
1557 * posix/pwrite.c: Likewise.
1558 * posix/pwrite64.c: Likewise.
1559 * posix/sched_getaffinity.c: Likewise.
1560 * posix/sched_getp.c: Likewise.
1561 * posix/sched_gets.c: Likewise.
1562 * posix/sched_primax.c: Likewise.
1563 * posix/sched_primin.c: Likewise.
1564 * posix/sched_rr_gi.c: Likewise.
1565 * posix/sched_setaffinity.c: Likewise.
1566 * posix/sched_setp.c: Likewise.
1567 * posix/sched_sets.c: Likewise.
1568 * posix/sched_yield.c: Likewise.
1569 * posix/setgid.c: Likewise.
1570 * posix/setlogin.c: Likewise.
1571 * posix/setpgid.c: Likewise.
1572 * posix/setresgid.c: Likewise.
1573 * posix/setresuid.c: Likewise.
1574 * posix/setsid.c: Likewise.
1575 * posix/setuid.c: Likewise.
1576 * posix/sleep.c: Likewise.
1577 * posix/spawni.c: Likewise.
1578 * posix/sysconf.c: Likewise.
1579 * posix/times.c: Likewise.
1580 * posix/wait.c: Likewise.
1581 * posix/wait3.c: Likewise.
1582 * posix/wait4.c: Likewise.
1583 * posix/waitpid.c: Likewise.
1584 * resolv/gai_sigqueue.c: Likewise.
1585 * resource/getpriority.c: Likewise.
1586 * resource/getrlimit.c: Likewise.
1587 * resource/getrusage.c: Likewise.
1588 * resource/nice.c: Likewise.
1589 * resource/setpriority.c: Likewise.
1590 * resource/setrlimit.c: Likewise.
1591 * resource/ulimit.c: Likewise.
1592 * rt/aio_cancel.c: Likewise.
1593 * rt/aio_fsync.c: Likewise.
1594 * rt/aio_read.c: Likewise.
1595 * rt/aio_sigqueue.c: Likewise.
1596 * rt/aio_suspend.c: Likewise.
1597 * rt/aio_write.c: Likewise.
1598 * rt/clock_getres.c: Likewise.
1599 * rt/clock_gettime.c: Likewise.
1600 * rt/clock_nanosleep.c: Likewise.
1601 * rt/clock_settime.c: Likewise.
1602 * rt/lio_listio.c: Likewise.
1603 * rt/mq_close.c: Likewise.
1604 * rt/mq_getattr.c: Likewise.
1605 * rt/mq_notify.c: Likewise.
1606 * rt/mq_open.c: Likewise.
1607 * rt/mq_receive.c: Likewise.
1608 * rt/mq_send.c: Likewise.
1609 * rt/mq_setattr.c: Likewise.
1610 * rt/mq_timedreceive.c: Likewise.
1611 * rt/mq_timedsend.c: Likewise.
1612 * rt/mq_unlink.c: Likewise.
1613 * rt/shm_open.c: Likewise.
1614 * rt/shm_unlink.c: Likewise.
1615 * rt/timer_create.c: Likewise.
1616 * rt/timer_delete.c: Likewise.
1617 * rt/timer_getoverr.c: Likewise.
1618 * rt/timer_gettime.c: Likewise.
1619 * rt/timer_settime.c: Likewise.
1620 * setjmp/__longjmp.c: Likewise.
1621 * setjmp/setjmp.c: Likewise.
1622 * signal/kill.c: Likewise.
1623 * signal/killpg.c: Likewise.
1624 * signal/raise.c: Likewise.
1625 * signal/sigaction.c: Likewise.
1626 * signal/sigaltstack.c: Likewise.
1627 * signal/sigblock.c: Likewise.
1628 * signal/sigignore.c: Likewise.
1629 * signal/sigintr.c: Likewise.
1630 * signal/signal.c: Likewise.
1631 * signal/sigpause.c: Likewise.
1632 * signal/sigpending.c: Likewise.
1633 * signal/sigqueue.c: Likewise.
1634 * signal/sigreturn.c: Likewise.
1635 * signal/sigset.c: Likewise.
1636 * signal/sigsetmask.c: Likewise.
1637 * signal/sigstack.c: Likewise.
1638 * signal/sigsuspend.c: Likewise.
1639 * signal/sigtimedwait.c: Likewise.
1640 * signal/sigvec.c: Likewise.
1641 * signal/sigwait.c: Likewise.
1642 * signal/sigwaitinfo.c: Likewise.
1643 * signal/sysv_signal.c: Likewise.
1644 * socket/accept.c: Likewise.
1645 * socket/accept4.c: Likewise.
1646 * socket/bind.c: Likewise.
1647 * socket/connect.c: Likewise.
1648 * socket/getpeername.c: Likewise.
1649 * socket/getsockname.c: Likewise.
1650 * socket/getsockopt.c: Likewise.
1651 * socket/isfdtype.c: Likewise.
1652 * socket/listen.c: Likewise.
1653 * socket/recv.c: Likewise.
1654 * socket/recvfrom.c: Likewise.
1655 * socket/recvmsg.c: Likewise.
1656 * socket/send.c: Likewise.
1657 * socket/sendmsg.c: Likewise.
1658 * socket/sendto.c: Likewise.
1659 * socket/setsockopt.c: Likewise.
1660 * socket/shutdown.c: Likewise.
1661 * socket/sockatmark.c: Likewise.
1662 * socket/socket.c: Likewise.
1663 * socket/socketpair.c: Likewise.
1664 * stdio-common/ctermid.c: Likewise.
1665 * stdio-common/cuserid.c: Likewise.
1666 * stdio-common/remove.c: Likewise.
1667 * stdio-common/rename.c: Likewise.
1668 * stdio-common/renameat.c: Likewise.
1669 * stdio-common/tempname.c: Likewise.
1670 * stdlib/getcontext.c: Likewise.
1671 * stdlib/makecontext.c: Likewise.
1672 * stdlib/setcontext.c: Likewise.
1673 * stdlib/swapcontext.c: Likewise.
1674 * stdlib/system.c: Likewise.
1675 * streams/fattach.c: Likewise.
1676 * streams/fdetach.c: Likewise.
1677 * streams/getmsg.c: Likewise.
1678 * streams/getpmsg.c: Likewise.
1679 * streams/putmsg.c: Likewise.
1680 * streams/putpmsg.c: Likewise.
1681 * sysdeps/unix/bsd/getpt.c: Likewise.
1682 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1683 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1684 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1687 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1688 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1689 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1690 * sysvipc/msgctl.c: Likewise.
1691 * sysvipc/msgget.c: Likewise.
1692 * sysvipc/msgrcv.c: Likewise.
1693 * sysvipc/msgsnd.c: Likewise.
1694 * sysvipc/semctl.c: Likewise.
1695 * sysvipc/semget.c: Likewise.
1696 * sysvipc/semop.c: Likewise.
1697 * sysvipc/semtimedop.c: Likewise.
1698 * sysvipc/shmat.c: Likewise.
1699 * sysvipc/shmctl.c: Likewise.
1700 * sysvipc/shmdt.c: Likewise.
1701 * sysvipc/shmget.c: Likewise.
1702 * termios/tcdrain.c: Likewise.
1703 * termios/tcflow.c: Likewise.
1704 * termios/tcflush.c: Likewise.
1705 * termios/tcgetattr.c: Likewise.
1706 * termios/tcgetpgrp.c: Likewise.
1707 * termios/tcsendbrk.c: Likewise.
1708 * termios/tcsetattr.c: Likewise.
1709 * termios/tcsetpgrp.c: Likewise.
1710 * time/adjtime.c: Likewise.
1711 * time/clock.c: Likewise.
1712 * time/getitimer.c: Likewise.
1713 * time/gettimeofday.c: Likewise.
1714 * time/setitimer.c: Likewise.
1715 * time/settimeofday.c: Likewise.
1716 * time/stime.c: Likewise.
1717 * time/time.c: Likewise.
1719 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1721 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1724 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1726 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1728 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1732 FE_TONEAREST before applying Dekker multiplication and Knuth
1733 addition. Clear inexact exceptions and check for exact zero
1735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1738 * math/libm-test.inc (fma_test): Add more tests.
1739 (fma_test_towardzero): Likewise.
1740 (fma_test_downward): Likewise.
1741 (fma_test_upward): Likewise.
1742 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1744 (libc_fesetround): New macro.
1745 (libc_fesetroundf): Likewise.
1746 (libc_fesetroundl): Likewise.
1747 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1749 (libc_fesetround_387): Likewise.
1750 (libc_fesetroundf): New macro.
1751 (libc_fesetround): Likewise.
1752 (libc_fesetroundl): Likewise.
1753 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1755 (libc_fesetroundf): New macro.
1756 (libc_fesetround): Likewise.
1757 (libc_fesetroundl): Likewise.
1758 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1759 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1760 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1762 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1763 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1765 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1766 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1768 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1772 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1773 integer constant usable in #if and use that to give value to enum
1775 (FE_DIVBYZERO): Likewise.
1776 (FE_UNDERFLOW): Likewise.
1777 (FE_OVERFLOW): Likewise.
1778 (FE_INVALID): Likewise.
1779 (FE_INVALID_SNAN): Likewise.
1780 (FE_INVALID_ISI): Likewise.
1781 (FE_INVALID_IDI): Likewise.
1782 (FE_INVALID_ZDZ): Likewise.
1783 (FE_INVALID_IMZ): Likewise.
1784 (FE_INVALID_COMPARE): Likewise.
1785 (FE_INVALID_SOFTWARE): Likewise.
1786 (FE_INVALID_SQRT): Likewise.
1787 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1788 (FE_TONEAREST): Likewise.
1789 (FE_TOWARDZERO): Likewise.
1790 (FE_UPWARD): Likewise.
1791 (FE_DOWNWARD): Likewise.
1792 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1793 (FE_DIVBYZERO): Likewise.
1794 (FE_OVERFLOW): Likewise.
1795 (FE_UNDERFLOW): Likewise.
1796 (FE_INEXACT): Likewise.
1797 (FE_TONEAREST): Likewise.
1798 (FE_DOWNWARD): Likewise.
1799 (FE_UPWARD): Likewise.
1800 (FE_TOWARDZERO): Likewise.
1801 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1802 (FE_UNDERFLOW): Likewise.
1803 (FE_OVERFLOW): Likewise.
1804 (FE_DIVBYZERO): Likewise.
1805 (FE_INVALID): Likewise.
1806 (FE_TONEAREST): Likewise.
1807 (FE_TOWARDZERO): Likewise.
1808 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1809 (FE_OVERFLOW): Likewise.
1810 (FE_UNDERFLOW): Likewise.
1811 (FE_DIVBYZERO): Likewise.
1812 (FE_INEXACT): Likewise.
1813 (FE_TONEAREST): Likewise.
1814 (FE_TOWARDZERO): Likewise.
1815 (FE_UPWARD): Likewise.
1816 (FE_DOWNWARD): Likewise.
1817 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1818 (FE_DIVBYZERO): Likewise.
1819 (FE_OVERFLOW): Likewise.
1820 (FE_UNDERFLOW): Likewise.
1821 (FE_INEXACT): Likewise.
1822 (FE_TONEAREST): Likewise.
1823 (FE_DOWNWARD): Likewise.
1824 (FE_UPWARD): Likewise.
1825 (FE_TOWARDZERO): Likewise.
1827 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1829 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1831 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1833 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1834 commands. Quote $PWD.
1835 (blacklist_exports): Don't use remove_newlines. Replace "declare
1837 (remove_newlines): Remove.
1839 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1841 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1842 * stdlib/stdlib.h (atof): Moved to ...
1843 * include/bits/stdlib-float.h: Here. New file.
1844 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1845 * stdlib/bits/stdlib-float.h: New file.
1846 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1851 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1853 * conform/conformtest.pl (@headers): Add fenv.h.
1854 * conform/data/fenv.h-data: New file.
1855 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1856 include of <math/fenv.h>.
1858 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1859 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1860 && !UNIX98]. Enables tests for XOPEN2K8.
1861 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1862 POSIX2008]: Likewise.
1864 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1865 (struct rusage): Do not expect type or its members.
1868 * math/math.h (FP_NAN): Define macro to integer constant usable in
1869 #if and use that to give value to enum constant.
1870 (FP_INFINITE): Likewise.
1871 (FP_ZERO): Likewise.
1872 (FP_SUBNORMAL): Likewise.
1873 (FP_NORMAL): Likewise.
1875 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1877 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1878 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1881 2012-11-02 Roland McGrath <roland@hack.frob.com>
1883 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1884 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1885 autoconf-time if not.
1886 * configure.in: Remove AC_PREREQ.
1888 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1891 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1892 of the internal implementation.
1894 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1896 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1897 except include of <misc/sys/syslog.h>.
1899 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1902 function returns with a NULL context exit with zero.
1904 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1906 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1908 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1910 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1911 (run_program_cmd): This.
1912 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1913 (tst_langinfo): New variable. Use it.
1915 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1917 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1918 floating point opcodes.
1920 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1922 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1925 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1927 * sysdeps/mach/hurd/powerpc: Remove directory.
1928 * sysdeps/mach/powerpc: Likewise.
1930 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1932 * scripts/check-local-headers.sh: Ignore c++ headers.
1934 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1936 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1937 __libc_cleanup_region_start argument.
1939 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1944 x * y using scaling, not as x * y + z.
1945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1947 * math/libm-test.inc (fma_test): Add more tests.
1948 (fma_test_towardzero): Likewise.
1949 (fma_test_downward): Likewise.
1950 (fma_test_upward): Likewise.
1952 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1954 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1956 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1958 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1961 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1963 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1965 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1972 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1975 Fix the order of the list for glibc 2.17.
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1979 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1983 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1986 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1987 for low part of x being zero before using __atanl (y).
1988 * math/libm-test.inc (atan2_test): Add another test.
1990 * manual/install.texi (Configuring and compiling): Document
1991 general use of test-wrapper and test-wrapper-env.
1992 * INSTALL: Regenerated.
1994 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1995 (__fma): Do not extract and scale down low bits on after-rounding
1996 systems when result rounded to normal precision would have normal
1998 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1999 (__fmal): Do not extract and scale down low bits on after-rounding
2000 systems when result rounded to normal precision would have normal
2002 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2003 (__fmal): Do not extract and scale down low bits on after-rounding
2004 systems when result rounded to normal precision would have normal
2006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2008 (fma_test): Add more tests.
2009 (fma_test_towardzero): Likewise.
2010 (fma_test_downward): Likewise.
2011 (fma_test_upward): Likewise.
2013 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2015 * sysdeps/i386/tininess.h: Renamed to ...
2016 * sysdeps/x86/tininess.h: This.
2017 * sysdeps/x86_64/tininess.h: Removed.
2019 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2021 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2022 input. Use $(build-program-cmd).
2023 ($(objpfx)tst-array1-static.out): Likewise.
2024 ($(objpfx)tst-array2.out): Likewise.
2025 ($(objpfx)tst-array3.out): Likewise.
2026 ($(objpfx)tst-array4.out): Likewise.
2027 ($(objpfx)tst-array5.out): Likewise.
2028 ($(objpfx)tst-array5-static.out): Likewise.
2030 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2032 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2035 * nss/nsswitch.h (nss_interface_function): Provide new
2036 macro for use with NSS functions.
2037 * grp/initgroups.c: Use new macro.
2038 * nss/getXXbyYY.c: Likewise.
2039 * nss/getXXbyYY_r.c: Likewise.
2040 * nss/getXXent.c: Likewise.
2041 * nss/getXXent_r.c: Likewise.
2042 * sysdeps/posix/getaddrinfo.c: Likewise.
2044 2012-10-30 Andreas Jaeger <aj@suse.de>
2046 * po/ru.po: Update Russion translation from translation project.
2048 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2053 result and shift together with sticky bit instead of replicating
2054 round-to-nearest rounding.
2055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2056 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2057 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2058 missing underflow exceptions.
2059 (fma_test_towardzero): Add more tests.
2060 (fma_test_downward): Likewise.
2061 (fma_test_upward): Likewise.
2064 * sysdeps/generic/tininess.h: New file.
2065 * sysdeps/i386/tininess.h: Likewise.
2066 * sysdeps/sh/tininess.h: Likewise.
2067 * sysdeps/x86_64/tininess.h: Likewise.
2068 * stdlib/tst-strtod-underflow.c: Likewise.
2069 * stdlib/tst-tininess.c: Likewise.
2070 * stdlib/strtod_l.c: Include <tininess.h>.
2071 (round_and_return): Do not set errno for exact underflow cases.
2072 Force an underflow exception when setting errno for underflow.
2073 Determine underflow based on rounding to normal precision if
2074 TININESS_AFTER_ROUNDING.
2075 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2076 ERANGE for exact underflow cases.
2077 * stdlib/Makefile (tests): Add tst-tininess and
2078 tst-strtod-underflow.
2079 ($(objpfx)tst-tininess): Use $(link-libm).
2080 ($(objpfx)tst-strtod-underflow): Likewise.
2082 2012-10-30 Andreas Jaeger <aj@suse.de>
2085 * elf/Makefile (tests): Remove conditional for have-initfini-array
2086 since this is now always required and the variable does not exist
2088 (tests-static): Likewise.
2089 (modules-names): Likewise.
2091 * po/eo.po: Add Esperanto translation from translation project.
2093 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2094 merged with constructor/destructor.
2095 (init_array): Likewise.
2096 * elf/tst-array2dep.c (fini_array): Likewise.
2097 (init_array): Likewise.
2099 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2101 * manual/message.texi: Delete @cartouche tags.
2103 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2105 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2107 * sysdeps/mach/hurd/fsync.c: Likewise.
2109 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2110 [_POSIX_REALTIME_SIGNALS]: Change condition to
2111 [_POSIX_REALTIME_SIGNALS > 0].
2113 2012-10-27 Andreas Jaeger <aj@suse.de>
2115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2116 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2118 [__WORDSIZE != 64]: Likewise.
2120 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2122 * iconvdata/tst-table.sh: Remove ${SHELL}.
2123 * iconvdata/tst-tables.sh: Likewise.
2125 2012-10-25 David S. Miller <davem@davemloft.net>
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2128 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2134 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2135 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2138 2012-10-25 Roland McGrath <roland@hack.frob.com>
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2141 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2144 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2145 Jim Blandy <jimb@codesourcery.com>
2147 * scripts/cross-test-ssh.sh: New file.
2148 * manual/install.texi (Configuring and compiling): Document use of
2150 * INSTALL: Regenerated.
2152 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2154 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2157 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2159 * Makeconfig (run-program-prefix): Fix comment.
2161 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2162 Jim Blandy <jimb@codesourcery.com>
2164 * Makeconfig (test-wrapper): New variable,
2165 (test-wrapper-env): Likewise.
2166 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2167 (run-built-tests): Define to yes.
2168 (run-program-prefix): Use $(test-wrapper).
2169 (built-program-cmd): Likewise.
2170 * Rules (make-test-out): Use $(test-wrapper-env) and
2171 $(host-built-program-cmd).
2172 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2173 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2175 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2176 $(test-wrapper-env) to tst-rtld-load-self.sh.
2177 ($(objpfx)order2.out): Use $(test-wrapper).
2178 ($(objpfx)tst-initorder.out): Likewise.
2179 ($(objpfx)tst-initorder2.out): Likewise.
2180 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2181 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2182 (test_wrapper_env): New variable. Use it to run ld.so.
2183 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2184 Use it to run ld.so.
2185 (test_wrapper_env): Likewise.
2186 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2187 $(test-wrapper) to run-iconv-test.sh.
2188 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2189 (ICONV): Use $test_wrapper.
2190 * posix/Makefile ($(objpfx)globtest.out): Pass
2191 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2192 globtest.sh, not $(run-program-prefix).
2193 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2194 (test_wrapper): Likewise.
2195 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2196 set together with run_via_rtld_prefix.
2197 (run_program_prefix): Define in terms of test_wrapper and
2198 run_via_rtld_prefix.
2200 2012-10-24 Roland McGrath <roland@hack.frob.com>
2202 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2203 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2207 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2208 Declare __clock_getres, __clock_gettime, __clock_settime,
2209 __clock_nanosleep, and __clock_getcpuclockid.
2210 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2211 Remove librt_hidden_def (clock_gettime).
2212 * sysdeps/unix/clock_gettime.c: Likewise.
2213 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2214 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2215 * rt/clock_getres.c: Define __clock_getres as an alias.
2216 * sysdeps/posix/clock_getres.c: Likewise.
2217 * rt/clock_settime.c: Define __clock_settime as an alias.
2218 * sysdeps/unix/clock_settime.c: Likewise.
2219 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2220 * sysdeps/unix/clock_nanosleep.c: Likewise.
2221 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2222 * rt/clock-compat.c: New file.
2223 * rt/Makefile (librt-routines): Add clock-compat and move
2224 $(clock-routines) to ...
2225 (routines): ... here, new variable.
2226 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2227 Don't add get_clockfreq here.
2228 * rt/Versions (libc: GLIBC_2.17): New version set.
2229 Add clock_* symbols here.
2230 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2232 (GLIBC_2.17): Add clock_* symbols.
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2244 * NEWS: Mention the move.
2246 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2247 Use __open, __read, __close rather than their public counterparts.
2248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2249 (__get_clockfreq_via_cpuinfo): Likewise.
2250 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2251 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2253 * config.h.in (HAVE_IFUNC): New #undef.
2254 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2256 * configure: Regenerated.
2258 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2260 * configure.in: Move READELF check to start of file.
2261 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2262 libc_cv_asm_gnu_indirect_function in the process.
2263 * configure: Regenerated.
2265 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2267 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2268 send the output to /dev/null.
2269 (libc_cv_cc_with_libunwind): Likewise.
2270 (libc_cv_as_noexecstack): Likewise.
2271 * configure: Regenerate.
2273 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2275 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2277 * posix/globtest.sh (TMPDIR): Do not set.
2278 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2279 (testout): Likewise.
2281 2012-10-24 Andreas Jaeger <aj@suse.de>
2283 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2284 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2285 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2286 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2287 posix_fadvise64, posix_fallocate64.
2289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2290 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2291 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2293 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2295 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2298 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2299 <bits/fcntl-linux.h>.
2300 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2303 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2304 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2305 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2306 [__WORDSIZE != 64]: Likewise.
2308 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2310 * Makeconfig (run-built-tests): New variable.
2311 * Rules [$(cross-compiling) = yes]: Change condition to
2312 [$(run-built-tests) = no].
2313 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2314 to [$(run-built-tests) = yes].
2315 * elf/Makefile [$(cross-compiling) = no]: Likewise
2316 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2317 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2318 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2319 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2320 * io/Makefile [$(cross-compiling) = no]: Likewise.
2321 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2322 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2323 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2324 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2325 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2326 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2327 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2328 * string/Makefile [$(cross-compiling) = no]: Likewise.
2330 * posix/Makefile ($(objpfx)globtest.out): Pass
2331 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2332 $(rtld-installed-name).
2333 * posix/globtest.sh (elf_objpfx): Remove variable.
2334 (rtld_installed_name): Likewise.
2335 (library_path): Likewise.
2336 (run_program_prefix): New variable. Use for running globtest
2339 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2340 Joseph Myers <joseph@codesourcery.com>
2342 * Makeconfig (host-built-program-cmd): New variable.
2343 * elf/Makefile (tst-stackguard1-ARGS): Use
2344 $(host-built-program-cmd).
2345 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2346 (tst-spawn-ARGS): Likewise.
2347 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2349 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2350 Jim Blandy <jimb@codesourcery.com>
2352 * Makeconfig (run-via-rtld-prefix): New variable.
2353 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2354 (built-program-cmd): Likewise.
2356 2012-10-22 Andreas Jaeger <aj@suse.de>
2358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2359 __O_RSYNC if it exists, otherwise to O_SYNC.
2361 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2362 Joseph Myers <joseph@codesourcery.com>
2364 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2366 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2368 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2371 2012-10-22 Andreas Jaeger <aj@suse.de>
2373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2381 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2388 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2389 Joseph Myers <joseph@codesourcery.com>
2391 * config.make.in (NM): New variable.
2393 2012-10-21 Andreas Jaeger <aj@suse.de>
2395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2396 definitions and declarations that are provided by
2397 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2399 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2402 * elf/Makefile (tests-static): Add tst-leaks1-static.
2403 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2404 ($(objpfx)tst-leaks1-static): New rule.
2405 ($(objpfx)tst-leaks1-static-mem): Likewise.
2406 (tst-leaks1-static-ENV): New macro.
2407 * elf/dl-open.c (dl_open_worker): Check the main application
2408 only if SHARED is defined.
2409 * elf/tst-leaks1-static.c: New file.
2411 2012-10-20 Andreas Jaeger <aj@suse.de>
2413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2414 generic values for Linux.
2415 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2416 and declarations that are provided by <bits/fcntl-linux.h> and
2417 include <bits/fcntl-linux.h>.
2418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2421 2012-10-20 Roland McGrath <roland@hack.frob.com>
2423 * io/fcntl.h: Move include of <bits/types.h> to the top and
2424 include it unconditionally.
2426 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2428 * wcsmbs/Makefile (tests-ifunc): New variable.
2429 (tests): Add $(tests-ifunc).
2430 * wcsmbs/test-wcschr-ifunc.c: New file.
2431 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2432 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2433 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2434 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2435 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2437 * string/Makefile (tests-ifunc): New variable.
2438 (tests): Add $(tests-ifunc).
2439 * string/test-memccpy.c (TEST_NAME): New macro.
2440 * string/test-memchr.c (TEST_NAME): Likewise.
2441 * string/test-memcmp.c (TEST_NAME): Likewise.
2442 * string/test-memcpy.c (TEST_NAME): Likewise.
2443 * string/test-memmem.c (TEST_NAME): Likewise.
2444 * string/test-memmove.c (TEST_NAME): Likewise.
2445 * string/test-memset.c (TEST_NAME): Likewise.
2446 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2447 * string/test-stpcpy.c (TEST_NAME): Likewise.
2448 * string/test-stpncpy.c (TEST_NAME): Likewise.
2449 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2450 * string/test-strcasestr.c (TEST_NAME): Likewise.
2451 * string/test-strcat.c (TEST_NAME): Likewise.
2452 * string/test-strchr.c (TEST_NAME): Likewise.
2453 * string/test-strcmp.c(TEST_NAME): Likewise.
2454 * string/test-strcpy.c (TEST_NAME): Likewise.
2455 * string/test-strcspn.c (TEST_NAME): Likewise.
2456 * string/test-strlen.c (TEST_NAME): Likewise.
2457 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2458 * string/test-strncmp.c (TEST_NAME): Likewise.
2459 * string/test-strncpy.c (TEST_NAME): Likewise.
2460 * string/test-strnlen.c (TEST_NAME): Likewise.
2461 * string/test-strpbrk.c (TEST_NAME): Likewise.
2462 * string/test-strrchr.c (TEST_NAME): Likewise.
2463 * string/test-strspn.c (TEST_NAME): Likewise.
2464 * string/test-strstr.c (TEST_NAME): Likewise.
2465 * string/test-bcopy-ifunc.c: New file.
2466 * string/test-bzero-ifunc.c: Likewise.
2467 * string/test-memccpy-ifunc.c: Likewise.
2468 * string/test-memchr-ifunc.c: Likewise.
2469 * string/test-memcmp-ifunc.c: Likewise.
2470 * string/test-memcpy-ifunc.c: Likewise.
2471 * string/test-memmem-ifunc.c: Likewise.
2472 * string/test-memmove-ifunc.c: Likewise.
2473 * string/test-mempcpy-ifunc.c: Likewise.
2474 * string/test-memset-ifunc.c: Likewise.
2475 * string/test-rawmemchr-ifunc.c: Likewise.
2476 * string/test-stpcpy-ifunc.c: Likewise.
2477 * string/test-stpncpy-ifunc.c: Likewise.
2478 * string/test-strcasecmp-ifunc.c: Likewise.
2479 * string/test-strcasestr-ifunc.c: Likewise.
2480 * string/test-strcat-ifunc.c: Likewise.
2481 * string/test-strchr-ifunc.c: Likewise.
2482 * string/test-strchrnul-ifunc.c: Likewise.
2483 * string/test-strcmp-ifunc.c: Likewise.
2484 * string/test-strcpy-ifunc.c: Likewise.
2485 * string/test-strcspn-ifunc.c: Likewise.
2486 * string/test-strlen-ifunc.c: Likewise.
2487 * string/test-strncasecmp-ifunc.c: Likewise.
2488 * string/test-strncat-ifunc.c: Likewise.
2489 * string/test-strncmp-ifunc.c: Likewise.
2490 * string/test-strncpy-ifunc.c: Likewise.
2491 * string/test-strnlen-ifunc.c: Likewise.
2492 * string/test-strpbrk-ifunc.c: Likewise.
2493 * string/test-strrchr-ifunc.c: Likewise.
2494 * string/test-strspn-ifunc.c: Likewise.
2495 * string/test-strstr-ifunc.c: Likewise.
2497 * debug/Makefile (tests-ifunc): New variable.
2498 (tests): Add $(tests-ifunc).
2499 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2500 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2501 * debug/test-stpcpy_chk-ifunc.c: New file.
2502 * debug/test-strcpy_chk-ifunc.c: Likewise.
2504 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2507 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2508 header is not read in.
2510 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2512 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2513 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2514 directly. Pass built executable to script as
2515 $(built-program-cmd).
2516 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2517 $testprogram without using LD_LIBRARY_PATH and $ldso.
2519 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2520 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2521 $(rtld-installed-name).
2522 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2523 (rtld_installed_name): Likewise.
2524 (library_path): Likewise.
2525 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2526 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2527 $(run-program-prefix) to tst-tables.sh.
2528 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2529 it to run tst-table-from and tst-table-to.
2530 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2531 Pass it to tst-table.sh.
2532 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2533 $(run-program-prefix) to tst-gettext.sh.
2534 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2536 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2538 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2540 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2541 to run tst-gettext2.
2542 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2543 to run tst-translit.
2544 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2545 $(run-program-prefix) to tst-mtrace.sh.
2546 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2548 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2549 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2550 $(rtld-installed-name).
2551 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2552 (rtld_installed_name): Likewise.
2553 (run_program_prefix): New variable. Use it to run wordexp-test.
2555 * Makeconfig (ARCH): Remove all definitions.
2556 (machine): Likewise.
2557 [ARCH]: Remove conditional code.
2558 [!objdir]: Give error.
2559 [!objdir] (objpfx): Remove.
2560 [!objdir] (common-objpfx): Likewise.
2561 [!objdir] (common-objdir): Likewise.
2562 * configure.in (config_makefile): Remove. Hardcode Makefile in
2563 AC_CONFIG_FILES call.
2564 * configure: Regenerated.
2567 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2569 (testout): Likewise.
2571 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2572 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2573 $(rtld-installed-name).
2574 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2575 (rtld_installed_name): Likwise.
2576 (runit): Remove function.
2577 (run_getconf): New variable, Use it for running getconf binary.
2579 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2582 * string/test-memmem.c (check_result): New function.
2583 (do_one_test): Use it.
2584 (check1): New function.
2585 (test_main): Use it.
2587 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2589 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2591 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2593 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2594 (_G_LSEEK64): Likewise.
2595 (_G_MMAP64): Likewise.
2596 (_G_FSTAT64): Likewise.
2597 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2598 (_G_LSEEK64): Likewise.
2599 (_G_MMAP64): Likewise.
2600 (_G_FSTAT64): Likewise.
2601 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2602 unconditional. Call __mmap64 directly.
2603 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2604 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2606 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2607 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2609 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2610 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2612 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2613 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2615 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2616 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2618 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2619 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2620 __fxstat64 directly.
2621 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2622 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2624 (freopen64) [!_G_OPEN64]: Remove conditional code.
2625 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2627 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2628 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2630 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2631 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2633 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2634 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2636 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2637 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2639 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2640 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2642 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2643 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2645 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2647 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2650 * manual/memory.texi (Malloc Tunable Parameters): Add note
2651 about free list pointers overwriting some perturb bytes.
2652 Wording suggested by Roland McGrath.
2654 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2656 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2657 (lgamma_test): Likewise.
2658 (tgamma_test): Likewise.
2660 2012-10-16 Florian Weimer <fweimer@redhat.com>
2663 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2664 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2666 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2668 * NEWS: Mention BZ #14716.
2669 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2670 when removing AVAILABLE1_USES_J macro.
2672 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2674 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2675 (__bswap_64): __uint64_t for unsigned 64-bit int.
2677 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2679 * include/string.h (memmem): Declare libc hidden alias.
2680 * string/memmem.c (memmem): Define libc hidden alias.
2681 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2682 __read, __close instead of open, read, close.
2684 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2687 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2689 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2690 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2691 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2693 (__rawmemchr_sse2): Likewise.
2694 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2695 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2696 (__strchr_sse2): Likewise.
2697 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2698 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2699 (__strcasecmp_sse2): Likewise.
2700 (__strncasecmp_sse2): Likewise.
2701 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2702 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2703 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2704 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2705 (__strrchr_sse2): Likewise.
2706 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2708 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2710 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2711 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2712 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2713 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2716 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2717 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2718 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2719 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2720 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2721 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2722 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2723 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2724 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2725 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2726 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2727 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2728 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2729 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2730 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2731 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2732 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2733 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2734 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2735 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2736 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2737 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2739 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2741 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2742 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2743 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2744 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2746 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2748 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2749 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2750 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2751 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2753 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2754 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2755 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2756 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2757 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2758 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2759 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2760 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2761 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2762 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2763 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2764 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2768 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2771 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2772 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2775 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2776 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2787 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2788 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2790 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2792 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2793 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2795 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2796 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2797 * include/ifunc-impl-list.h: New file.
2798 * misc/ifunc-impl-list.c: Likewise.
2799 * misc/Makefile (routines): Add ifunc-impl-list.
2800 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2801 * string/test-string.h: Include <ifunc-impl-list.h>.
2802 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2803 impl_array): New variables.
2804 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2806 (test_init): Call __libc_ifunc_impl_list to initialize
2807 func_list if TEST_IFUNC and TEST_NAME are defined.
2809 * string/Makefile (strop-tests): Add bcopy and bzero.
2810 * string/test-bcopy.c: New file.
2811 * string/test-bzero.c: Likewise.
2812 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2814 * string/test-memset.c: Support bzero test if TEST_BZERO is
2816 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2818 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2820 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2823 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2825 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2826 * configure: Regenerated.
2828 * Makeconfig (+link-static-before-libc): Don't include
2829 $(link-static-libc).
2831 * libio/libio.h (_IO_pos_t): Remove.
2833 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2835 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2838 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2840 * crypt/crypt-entry.c: Include fips-private.h.
2841 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2842 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2843 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2844 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2846 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2848 * crypt/crypt-private.h: Include stdbool.h.
2849 (_ufc_setup_salt_r): Return bool.
2850 * crypt/crypt-entry.c: Include errno.h.
2851 (__crypt_r): Return NULL with EINVAL for bad salt.
2852 * crypt/crypt_util.c (bad_for_salt): New.
2853 (_ufc_setup_salt_r): Check that salt is long enough and within
2854 the specified alphabet.
2855 * crypt/badsalttest.c: New file.
2856 * crypt/Makefile (tests): Add it.
2857 ($(objpfx)badsalttest): New.
2859 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2861 * NEWS: Add entry for BZ #14602.
2863 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2865 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2867 * math/libm-test.inc: Update comment listing what functions and
2869 (isgreater_test): New function.
2870 (isgreaterequal_test): Likewise.
2871 (isless_test): Likewise.
2872 (islessequal_test): Likewise.
2873 (islessgreater_test): Likewise.
2874 (isunordered_test): Likewise.
2875 (main): Call the new functions.
2877 2012-10-09 Roland McGrath <roland@hack.frob.com>
2879 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2880 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2881 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2882 * sysdeps/i386/configure: Regenerated.
2883 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2884 * sysdeps/mach/configure: Regenerated.
2885 * sysdeps/mach/hurd/configure: Regenerated.
2886 * sysdeps/powerpc/configure: Regenerated.
2887 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2888 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2889 * sysdeps/s390/s390-32/configure: Regenerated.
2890 * sysdeps/s390/s390-64/configure: Regenerated.
2891 * sysdeps/sh/configure: Regenerated.
2892 * sysdeps/sparc/configure: Regenerated.
2893 * sysdeps/unix/sysv/linux/configure: Regenerated.
2894 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2895 * sysdeps/x86_64/configure: Regenerated.
2897 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2898 defined. Don't check if MAP is NULL.
2900 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2903 (_G_stat64): Likewise.
2904 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2905 (_G_stat64): Likewise.
2906 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2907 instead of struct _G_stat64.
2908 * libio/fileops.c (mmap_remap_check): Likewise.
2909 (decide_maybe_mmap): Likewise.
2910 (_IO_new_file_seekoff): Likewise.
2911 (_IO_file_stat): Likewise.
2912 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2914 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2915 instead of struct _G_stat64.
2916 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2918 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2921 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2923 (CHECK_EOL): New macro.
2924 (two_way_short_needle): Check beginning of haystack for EOL. Use
2926 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2927 Replace with CHECK_EOL.
2928 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2929 Replace with CHECK_EOL.
2931 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2933 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2935 * math/libm-test.inc: Update comment listing what functions and
2937 (finite_test): New function.
2938 (isinf_test): Likewise.
2939 (isnan_test): Likewise.
2940 (fpclassify_test): Test subnormal input.
2941 (isfinite_test): Likewise.
2942 (isnormal_test): Likewise.
2943 (main): Call the new functions.
2945 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2948 * Makerules (%.dynsym): Force C locale when running
2949 $(OBJDUMP) --dynamic-syms.
2951 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2953 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2956 2012-10-06 David S. Miller <davem@davemloft.net>
2958 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2959 upper 32-bits of the length value in %o2 since we use branch-on-register
2960 tests which consider the entire 64-bit register.
2962 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2964 * string/test-strstr.c (check2): Add a test for page boundary.
2966 2012-10-05 David S. Miller <davem@davemloft.net>
2968 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2969 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2971 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2973 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2974 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2975 and bzero when HWCAP_SPARC_CRYPTO is present.
2977 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2980 * string/test-strstr.c (check2): New function.
2981 (test_main): Call check2.
2983 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2985 * string/bug-strcasestr1.c (do_test): Moved to ...
2986 * string/test-strcasestr.c (check1): Here. New function.
2987 (do_one_test): Break out result checking code into ...
2988 (check_result): This. New function.
2989 (do_one_test): Call check_result.
2990 (test_main): Call check1.
2991 * string/bug-strchr1.c (do_test): Moved to ...
2992 * string/test-strchr.c (check1): Here. New function.
2993 (do_one_test): Break out result checking code into ...
2994 (check_result): This. New function.
2995 (do_one_test): Call check_result.
2996 (test_main): Call check1.
2997 * string/bug-strstr1.c (main): Moved to ...
2998 * string/test-strchr.c (check1): Here. New function.
2999 (do_one_test): Break out result checking code into ...
3000 (check_result): This. New function.
3001 (do_one_test): Call check_result.
3002 (test_main): Call check1.
3003 * string/bug-strcasestr1.c: Removed.
3004 * string/bug-strchr1.c: Likewise.
3005 * string/bug-strstr1.c: Likewise.
3007 * elf/Makefile (dl-routines): Add hwcaps.
3008 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3009 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3010 (_dl_important_hwcaps): Moved to ...
3011 * elf/dl-hwcaps.c: Here. New file.
3012 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3015 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3016 if IS_IN_rtld isn't defined.
3018 * elf/dl-support.c (_dl_sysinfo_map): New.
3019 Include "get-dynamic-info.h" and "setup-vdso.h".
3020 (_dl_non_dynamic_init): Call setup_vdso.
3021 * elf/dynamic-link.h: Don't include <assert.h>.
3022 (elf_get_dynamic_info): Moved to ...
3023 * elf/get-dynamic-info.h: Here. New file.
3024 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3025 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3026 * elf/setup-vdso.h: Here. New file.
3027 * elf/rtld.c: Include "setup-vdso.h".
3028 (dl_main): Call setup_vdso.
3030 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3032 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3033 creal in comment listing functions tested. List finite, isinf,
3034 isnan, isless, islessequal, isgreater, isgreaterequal,
3035 islessgreater, isunordered, lgamma_r and pow10 as functions and
3036 macros not tested. Mention which functions not tested are aliases
3037 for other functions. Fix typo. Note that signs of NaNs are not
3040 * scripts/config.guess: Update from config.git.
3041 * scripts/config.sub: Likewise.
3043 2012-10-04 Roland McGrath <roland@hack.frob.com>
3045 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3046 * misc/madvise.c (madvise): Renamed to __madvise.
3047 Make madvise a weak alias.
3048 * include/sys/mman.h: Declare __madvise.
3049 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3050 * sysdeps/unix/syscalls.list
3051 (madvise): Make __madvise the strong name, and madvise a weak alias.
3052 * sysdeps/unix/sysv/linux/syscalls.list
3053 (madvise, mmap): Remove redundant entries.
3054 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3055 * malloc/malloc.c (mtrim): Likewise.
3056 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3058 2012-10-03 Roland McGrath <roland@hack.frob.com>
3060 * sysdeps/mach/hurd/dl-cache.c: File removed.
3061 * config.h.in (USE_LDCONFIG): New #undef.
3062 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3063 * configure: Regenerated.
3064 * elf/Makefile (dl-routines): Add dl-cache only under
3065 [$(use-ldconfig) = yes].
3066 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3067 cache on [USE_LDCONFIG].
3068 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3070 * elf/rtld.c (dl_main): Likewise.
3072 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3074 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3075 _SC_LEVEL4_CACHE_LINESIZE.
3077 2012-10-03 Roland McGrath <roland@hack.frob.com>
3079 * sysdeps/unix/bsd/confstr.h: File removed.
3081 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3083 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3086 2012-10-02 Roland McGrath <roland@hack.frob.com>
3088 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3089 Make 'mapoff' field ElfW(Off) rather than off_t.
3091 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3093 * nscd/Makefile: Remove nscd-cflags and all its users.
3094 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3095 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3098 * malloc.c (malloc_printerr): Clarify error message.
3100 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3104 Set bit_FMA_Usable if FMA is supported.
3105 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3107 (bit_FMA4_Usable): Updated.
3108 (index_FMA_Usable): New macro.
3109 (CPUID_FMA): Likewise
3110 (HAS_FMA): Defined with bit_FMA_Usable.
3112 2012-10-01 Roland McGrath <roland@hack.frob.com>
3114 * bits/types.h (__swblk_t): Type removed.
3115 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3116 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3118 (__SWBLK_T_TYPE): Likewise.
3119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3120 (__SWBLK_T_TYPE): Likewise.
3121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3122 (__SWBLK_T_TYPE): Likewise.
3123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3124 (__SWBLK_T_TYPE): Likewise.
3126 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3127 Honza Horak <hhorak@redhat.com>
3129 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3130 (xdr_mapname): Use YPMAXMAP as maxsize.
3131 (xdr_peername): Use YPMAXPEER as maxsize.
3132 (xdr_keydat): Use YPAXRECORD as maxsize.
3133 (xdr_valdat): Use YPMAXRECORD as maxsize.
3135 2012-10-01 Roland McGrath <roland@hack.frob.com>
3137 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3139 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3140 * csu/init-first.c: ... here.
3141 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3142 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3144 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3145 * sysdeps/i386/init-first.c: File removed.
3146 * sysdeps/sh/init-first.c: File removed.
3148 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3152 if x * y might underflow to zero and z is zero.
3153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3155 * math/libm-test.inc (min_subnorm_value): New variable.
3156 (fma_test): Add more tests.
3157 (fma_test_towardzero): Likewise.
3158 (fma_test_downward): Likewise
3159 (fma_test_upward): Likewise.
3160 (initialize): Set min_subnorm_value.
3162 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3168 mode for addition resulting in exact zero.
3169 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3172 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3174 * math/libm-test.inc (fma_test): Add more tests.
3175 (fma_test_towardzero): New function.
3176 (fma_test_downward): Likewise.
3177 (fma_test_upward): Likewise.
3178 (main): Call the new functions.
3180 2012-09-28 David S. Miller <davem@davemloft.net>
3182 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3184 2012-09-28 Roland McGrath <roland@hack.frob.com>
3186 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3189 * sysdeps/gnu/_G_config.h: Moved to ...
3190 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3191 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3192 * sysdeps/generic/_G_config.h: ... here.
3194 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3196 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3198 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3199 Conditionalize target on [libnss_test1.so-version].
3201 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3203 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3204 (elfobjdir): Move out of conditionals.
3206 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3207 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3208 (__nss_lookup_function): Conditionalize label remove_from_tree on
3209 [!DO_STATIC_NSS || SHARED], matching its only use.
3211 2012-09-28 David S. Miller <davem@davemloft.net>
3213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3214 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3216 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3220 when HWCAP_SPARC_CRYPTO is present.
3222 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3224 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3226 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3229 * stdio-common/vfprintf.c (process_string_arg): Revert
3232 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3234 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3236 * stdio-common/tst-sprintf.c: Include <locale.h>
3237 (main): Test sprintf's handling of incomplete multibyte
3240 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3242 * elf/dl-runtime.c (VERSYMIDX): Removed.
3243 * elf/dl-version.c (VERSYMIDX): Likewise.
3244 * elf/do-rel.h (VERSYMIDX): Likewise.
3246 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3247 * elf/rtld.c (VALIDX): Likewise.
3248 (ADDRIDX): Likewise.
3249 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3250 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3251 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3252 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3254 (ADDRIDX): Likewise.
3256 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3258 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3260 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3263 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3265 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3266 addresses are in the same scope as 192.0.2/24.
3267 * posix/gai.conf: Document new scope table defaults.
3269 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3272 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3273 for ftell. Compute offsets from write pointers instead.
3274 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3276 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3279 * libio/Makefile (tests): New test case tst-fseek.
3280 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3281 combination works in wide mode.
3282 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3283 state when the external buffer state changes.
3285 2012-09-27 David S. Miller <davem@davemloft.net>
3288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3289 pass reloc->r_addend in as the 'high' argument to
3290 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3294 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3296 * rt/tst-aio2.c: Include <pthread.h>.
3297 * rt/tst-aio3.c: Likewise.
3299 2012-09-27 Steve Ellcey <sellcey@mips.com>
3301 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3303 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3305 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3306 contents on [SHARED].
3308 2012-09-26 Marek Polacek <polacek@redhat.com>
3312 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3313 for C++ and GCC <4.3 as well as for non GCC compilers.
3315 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3319 2012-09-25 Roland McGrath <roland@hack.frob.com>
3321 * Makefile.in (all, install): Declare with .PHONY.
3322 Reported by Michael Hope <michael.hope@linaro.org>.
3324 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3326 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3327 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3329 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3331 (sydep_routines): Add the new and the internal functions.
3332 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3333 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3335 (GLIBC_2.17): Add the new function.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3337 (GLIBC_2.17): Likewise.
3338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3339 (GLIBC_2.17): Likewise.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3341 (GLIBC_2.17): Likewise.
3342 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3344 2012-09-25 Alan Modra <amodra@gmail.com>
3346 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3347 Add release barrier before setting once_control to say
3348 initialisation is done. Add hints on lwarx. Use macro in
3350 (clear_once_control): Add release barrier.
3352 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3355 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3357 * math/s_clog10.c (__clog10): Likewise.
3358 * math/s_clog10f.c (__clog10f): Likewise.
3359 * math/s_clog10l.c (__clog10l): Likewise.
3360 * math/s_clogf.c (__clogf): Likewise.
3361 * math/s_clogl.c (__clogl): Likewise.
3362 * math/Makefile (libm-calls): Add x2y2m1.
3363 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3364 (__x2y2m1): Likewise.
3365 (__x2y2m1l): Likewise.
3366 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3367 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3370 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3371 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3372 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3378 int as type of variable DEPTH.
3379 (glob): Use size_t instead of int as type of variables NEWCOUNT
3382 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3384 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3386 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3387 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3388 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3389 macros for using routine as __sincosf_ia32.
3390 Use macro for function declaration and weak_alias.
3391 * sysdeps/i386/fpu/libm-test-ulps: Update.
3393 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3396 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3398 * math/s_cexpf.c (__cexpf): Likewise.
3399 * math/s_csinf.c (__csinf): Likewise.
3400 * math/s_csinhf.c (__csinhf): Likewise.
3401 * math/s_ctanf.c (__ctanf): Likewise.
3402 * math/s_ctanhf.c (__ctanhf): Likewise.
3403 * math/s_ccosh.c (__ccoshf): Likewise.
3404 * math/s_cexp.c (__cexpl): Likewise.
3405 * math/s_csin.c (__csin): Likewise.
3406 * math/s_csinh.c (__csinh): Likewise.
3407 * math/s_ctan.c (__ctan): Likewise.
3408 * math/s_ctanh.c (ctanh): Likewise.
3409 * math/s_ccoshl.c (__ccoshl): Likewise.
3410 * math/s_cexpl.c (__cexpl): Likewise.
3411 * math/s_csinl.c (__csinl): Likewise.
3412 * math/s_csinhl.c (__csinhl): Likewise.
3413 * math/s_ctanl.c (__ctanl): Likewise.
3414 * math/s_ctanhl.c (__ctanhl): Likewise.
3416 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3418 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3419 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3420 (_IO_off_t): Define to __off_t, not _G_off_t.
3421 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3422 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3423 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3424 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3425 type of __dummy and __dummy2 fields.
3426 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3427 (_G_ssize_t): Likewise.
3428 (_G_off_t): Likewise.
3429 (_G_pid_t): Likewise.
3430 (_G_uid_t): Likewise.
3431 (_G_wchar_t): Likewise.
3432 (_G_wint_t): Likewise.
3433 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3434 (_G_ssize_t): Likewise.
3435 (_G_off_t): Likewise.
3436 (_G_pid_t): Likewise.
3437 (_G_uid_t): Likewise.
3438 (_G_wchar_t): Likewise.
3439 (_G_wint_t): Likewise.
3440 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3441 (_G_ssize_t): Likewise.
3442 (_G_off_t): Likewise.
3443 (_G_pid_t): Likewise.
3444 (_G_uid_t): Likewise.
3445 (_G_wchar_t): Likewise.
3446 (_G_wint_t): Likewise.
3448 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3450 * malloc/arena.c: Include malloc-sysdep.h.
3451 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3452 is sufficient to shrink the heap or an unmap is needed.
3453 * sysdeps/generic/malloc-sysdep.h: New file. Define
3454 new function check_may_shrink_heap.
3455 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3456 new function check_may_shrink_heap.
3458 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3460 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3463 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3465 * catgets/test-gencat.sh: Add "set -e".
3466 * elf/tst-pathopt.sh: Likewise.
3467 * grp/tst_fgetgrent.sh: Likewise.
3468 * iconvdata/run-iconv-test.sh: Likewise.
3469 * intl/tst-gettext.sh: Likewise.
3470 * intl/tst-gettext2.sh: Likewise.
3471 * intl/tst-gettext4.sh: Likewise.
3472 * intl/tst-gettext6.sh: Likewise.
3473 * intl/tst-translit.sh: Likewise.
3474 * io/ftwtest-sh: Likewise.
3475 * libio/test-freopen.sh: Likewise.
3476 * malloc/tst-mtrace.sh: Likewise.
3477 * posix/globtest.sh: Likewise.
3478 * posix/tst-getconf.sh: Likewise.
3479 * posix/wordexp-tst.sh: Likewise.
3480 * stdio-common/tst-printf.sh: Likewise.
3481 * stdio-common/tst-unbputc.sh: Likewise.
3482 * stdlib/tst-fmtmsg.sh: Likewise.
3483 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3484 * catgets/Makefile: Do not specify -e option when running
3485 testsuite shell scripts.
3486 * elf/Makefile: Likewise.
3487 * grp/Makefile: Likewise.
3488 * iconvdata/Makefile: Likewise.
3489 * intl/Makefile: Likewise.
3490 * io/Makefile: Likewise.
3491 * libio/Makefile: Likewise.
3492 * malloc/Makefile: Likewise.
3493 * posix/Makefile: Likewise.
3494 * stdio-common/Makefile: Likewise.
3495 * stdlib/Makefile: Likewise.
3496 * sysdeps/x86_64/Makefile: Likewise.
3498 * io/ftwtest-sh: Add copyright header.
3499 * posix/globtest.sh: Likewise.
3500 * posix/tst-getconf.sh: Likewise.
3501 * posix/wordexp-tst.sh: Likewise.
3502 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3504 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3507 * Makeconfig (+link): Defined as $(+link-static) if
3508 $(build-shared) isn't yes.
3509 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3511 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3513 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3516 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3517 new chunk size with MALLOC_ALIGN_MASK.
3519 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3522 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3524 (__printf_fphex): Determine rounding using get_rounding_mode and
3526 * stdio-common/tst-printf-round.c (struct hex_test): New
3528 (hex_tests): New variable.
3529 (test_hex_in_one_mode): New function.
3530 (do_test): Also run tests for hex float output.
3532 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3534 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3535 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3536 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3537 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3538 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3539 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3540 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3541 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3543 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3545 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3546 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3547 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3548 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3550 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3553 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3555 * elf/tst-rtld-load-self.sh: New test.
3556 * elf/Makefile: Run it.
3558 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3561 (tst-writev-ENV): Remove.
3562 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3564 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3566 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3568 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3570 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3572 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3574 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3575 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3576 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3579 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3582 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3583 * config.make.in (have-cpp-asm-debuginfo): Removed.
3584 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3585 * configure: Regenerated.
3587 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3590 * stdio-common/printf_fp.c: Include <stdbool.h> and
3592 (___printf_fp): Determine rounding using get_rounding_mode and
3594 * stdio-common/tst-printf-round.c: New file.
3595 * stdio-common/Makefile (tests): Add tst-printf-round.
3596 (link-libm): New variable.
3597 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3599 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3602 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3603 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3605 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3608 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3610 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3611 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3612 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3613 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3615 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3618 * include/rounding-mode.h: New file.
3619 * sysdeps/generic/get-rounding-mode.h: Likewise.
3620 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3621 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3622 (MAX_VALUE): New macro.
3623 (MIN_VALUE): Likewise.
3624 (overflow_value): New function.
3625 (underflow_value): Likewise.
3626 (round_and_return): Use overflow_value and underflow_value to
3627 determine return values in overflow and underflow cases. Use
3628 round_away to determine rounding depending on rounding mode.
3629 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3630 determine return values in overflow and underflow cases.
3631 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3632 (struct test_results): New structure.
3633 (struct test): Use struct test_results to store expected results
3634 for all rounding modes.
3635 (TEST): Include expected results for all rounding modes.
3636 (test_in_one_mode): New function.
3637 (do_test): Use test_in_one_mode to compute and check results.
3638 Check results for all rounding modes.
3639 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3642 2012-12-09 Allan McRae <allan@archlinux.org>
3644 * sysdeps/i386/fpu/libm-test-ulps: Update
3646 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3648 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3649 (_G_int32_t): Likewise.
3650 (_G_uint16_t): Likewise.
3651 (_G_uint32_t): Likewise.
3652 (_G_HAVE_BOOL): Likewise.
3653 (_G_HAVE_ATEXIT): Likewise.
3654 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3655 (_G_HAVE_IO_FILE_OPEN): Likewise.
3656 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3657 (_G_int32_t): Likewise.
3658 (_G_uint16_t): Likewise.
3659 (_G_uint32_t): Likewise.
3660 (_G_HAVE_BOOL): Likewise.
3661 (_G_HAVE_ATEXIT): Likewise.
3662 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3663 (_G_HAVE_IO_FILE_OPEN): Likewise.
3664 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3665 (_G_int32_t): Likewise.
3666 (_G_uint16_t): Likewise.
3667 (_G_uint32_t): Likewise.
3668 (_G_HAVE_BOOL): Likewise.
3669 (_G_HAVE_ATEXIT): Likewise.
3670 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3671 (_G_HAVE_IO_FILE_OPEN): Likewise.
3673 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3675 * csu/libc-tls.c: Update copyright years.
3677 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3679 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3680 [!_G_USING_THUNKS]: Remove conditional code.
3681 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3682 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3684 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3685 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3686 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3687 (_G_VTABLE_LABEL_PREFIX): Likewise.
3688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3689 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3690 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3691 (_G_VTABLE_LABEL_PREFIX): Likewise.
3692 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3693 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3694 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3695 (_G_VTABLE_LABEL_PREFIX): Likewise.
3696 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3698 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3700 * libio/Makefile: Include ../Makeconfig before tests.
3701 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3702 only if $(build-shared) is yes.
3704 * iconv/gconv_db.c: Update copyright years.
3706 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3708 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3709 unwind info if defined PIC. Fix special cases description.
3710 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3712 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3714 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3716 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3718 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3720 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3723 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3724 (LDLIBS-tst-chk4): This.
3725 (LDFLAGS-tst-chk5): Renamed to ...
3726 (LDLIBS-tst-chk5): This.
3727 (LDFLAGS-tst-chk6): Renamed to ...
3728 (LDLIBS-tst-chk6): This.
3729 (LDFLAGS-tst-lfschk4): Renamed to ...
3730 (LDLIBS-tst-lfschk4): This.
3731 (LDFLAGS-tst-lfschk5): Renamed to ...
3732 (LDLIBS-tst-lfschk5): This.
3733 (LDFLAGS-tst-lfschk6): Renamed to ...
3734 (LDLIBS-tst-lfschk6): This.
3736 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3737 on $(common-objpfx)soversions.mk.
3739 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3742 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3745 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3747 * malloc/arena.c (arena_get_retry): New function that gets
3748 another arena for the caller to try its request on.
3749 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3750 current arena cannot fulfill the request.
3751 (__libc_memalign): Likewise.
3752 (__libc_memalign): Likewise.
3753 (__libc_pvalloc): Likewise.
3754 (__libc_calloc): Likewise.
3756 2012-09-05 John Tobey <john.tobey@gmail.com>
3759 * manual/arith.texi (Operations on Complex): Fix description
3762 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3765 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3769 * manual/memory.texi (Memory): Make order of menu items match
3772 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3774 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3775 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3776 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3778 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3780 * csu/libc-tls.c (static_dtv): Renamed to ...
3781 (_dl_static_dtv): This. Make it global.
3782 (_dl_initial_dtv): Removed.
3783 (__libc_setup_tls): Updated.
3784 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3785 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3788 2012-09-06 Petr Machata <pmachata@redhat.com>
3790 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3791 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3792 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3793 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3795 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3798 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3799 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3802 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3805 * Makeconfig (link-static-before-libc): Replace $(+prector)
3807 (link-static-after-libc): Replace $(+postctor) with
3809 (link-bounded): Replace $(+prector)/$(+postctor) with
3810 $(+prectorT)/$(+postctorT).
3811 (+prectorT): New macro.
3812 (+postctorT): Likewise.
3814 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3816 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3817 (round_str): Handle values above the maximum for IBM long double
3819 * stdlib/tst-strtod-round.c (tests): Regenerated.
3821 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3823 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3825 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3826 zarch_nohighgprs around the zarch optimized routines.
3827 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3828 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3829 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3832 2012-09-05 David S. Miller <davem@davemloft.net>
3834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3836 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3837 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3838 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3839 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3842 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3844 * malloc/arena.c: Fold copyright years.
3845 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3847 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3849 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3851 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3853 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3855 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3857 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3858 change internal state upon failure.
3860 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3862 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3863 * malloc/memusage.c (mmap): Likewise.
3864 (mmap64, mremap): Likewise. Adjust name in comment.
3866 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3868 * libio/fileops.c: Fix typos in comments.
3869 * libio/oldfileops.c: Likewise.
3870 * libio/wfileops.c: Likewise.
3872 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3875 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3876 (tst-malloc-usable-ENV): Set environment for test case.
3877 * malloc/hooks.c (malloc_check_get_size): New function to get
3879 * malloc/malloc.c (musable): Use malloc_check_get_size.
3880 * malloc/tst-malloc-usable.c: New test case.
3882 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3884 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3886 2012-09-05 Allan McRae <allan@archlinux.org>
3889 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3890 determine header location.
3891 * configure: Regenerated.
3893 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3895 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3897 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3898 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3902 2012-09-04 David S. Miller <davem@davemloft.net>
3904 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3905 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3906 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3908 2012-09-04 Florian Weimer <fweimer@redhat.com>
3910 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3913 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3915 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3918 * libio/iogetdelim.c: Include <limits.h>.
3919 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3920 + len + 1 would overflow.
3922 2012-09-03 Andreas Jaeger <aj@suse.de>
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3929 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3930 Add s_sinf-sse2, s_conf-sse2.
3932 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3933 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3934 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3935 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3937 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3938 for using routine as __sinf_ia32.
3939 Use macro for function declaration and weak_alias.
3940 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3941 for using routine as __cosf_ia32.
3942 Use macro for function declaration and weak_alias.
3944 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3945 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3947 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3948 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3951 * math/libm-test.inc (cos_test): Add more test cases.
3952 (sin_test): Likewise.
3953 (sincos_test): Likewise.
3955 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3957 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3958 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3960 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3962 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3965 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3966 first element of the GOT.
3967 (elf_machine_load_address): Return the difference between
3968 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3970 2012-09-01 Allan McRae <allan@archlinux.org>
3973 * configure.in (AWK): Require gawk version 3.0 or later.
3974 * configure: Regenerated.
3976 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/unix/sysv/linux/kernel-features.h
3979 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3981 [__NR_clock_getres]: Make code unconditional.
3982 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3983 (clock_getcpuclockid): Remove code left unreachable by removal of
3985 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3987 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3988 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3989 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3990 Make code unconditional.
3991 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3992 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3993 * sysdeps/unix/sysv/linux/clock_settime.c
3994 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3996 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3997 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3999 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4002 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4003 scripts/test-installation.pl.
4005 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4006 and $ld_so_version if it is set.
4008 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4011 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4012 failure if reading from procfs failed.
4013 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4015 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4017 * sysdeps/unix/sysv/linux/kernel-features.h
4018 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4019 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4020 Remove conditional code.
4021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4022 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4023 Remove conditional code.
4024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4025 * sysdeps/unix/sysv/linux/i386/fxstat.c
4026 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4028 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4029 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4031 * sysdeps/unix/sysv/linux/i386/lxstat.c
4032 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4034 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4035 Remove conditional code.
4036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4037 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4038 Remove conditional code.
4039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4040 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4041 <kernel-features.h>.
4042 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4044 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4045 Remove conditional code.
4046 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4047 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4050 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4053 * NEWS: Add fixed bug number.
4055 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4058 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4059 underflowing exponent in case of negative sign.
4060 * stdlib/tst-strtod-round-data: Add more tests.
4061 * stdlib/tst-strtod-round.c (tests): Regenerated.
4064 * stdlib/strtod_l.c (NDIG): Remove.
4065 (HEXNDIG): Likewise.
4066 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4067 smallest representable value.
4068 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4069 lie within an exact representation of 1/2 ulp of the result.
4070 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4072 (TENS_P9_IDX): Define unconditionally.
4073 (TENS_P9_SIZE): Likewise.
4074 (TENS_P10_IDX): Likewise.
4075 (TENS_P10_SIZE): Likewise.
4076 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4077 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4078 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4079 entries for 10^2^13 and 10^2^14.
4080 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4081 (TENS_P13_IDX): Define.
4082 (TENS_P13_SIZE): Likewise.
4083 (TENS_P14_IDX): Likewise.
4084 (TENS_P14_SIZE): Likewise.
4085 (_fpioconst_pow10): Change array size to
4086 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4088 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4089 1024]: Add entries for 10^2^13 and 10^2^14.
4090 [LAST_POW10 > _LAST_POW10]: Remove #error.
4091 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4092 (_fpioconst_pow10): Change array size to
4093 FPIOCONST_POW10_ARRAY_SIZE.
4094 * stdlib/gen-fpioconst.c: New file.
4095 * stdlib/gen-tst-strtod-round.c: Likewise.
4096 * stdlib/tst-strtod-round-data: Likewise.
4097 * stdlib/tst-strtod-round.c: Likewise.
4098 * stdlib/Makefile (tests): Add tst-strtod-round.
4101 * stdlib/strtod_l.c: Include <stdint.h>.
4102 (NDEBUG): Do not define.
4103 (round_and_return): Change EXPONENT parameter to type intmax_t.
4104 Rearrange calculations to avoid internal overflow possibilities.
4105 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4106 Rearrange calculations to avoid internal overflow possibilities.
4107 Assert that number fits inside MPNSIZE limbs.
4108 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4109 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4110 calculations and add assertions to avoid internal overflow
4111 possibilities. Add casts to avoid signed/unsigned operations.
4112 * stdlib/tst-strtod-overflow.c: New file.
4113 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4115 2012-08-25 Marek Polacek <polacek@redhat.com>
4117 * time/time.h: Fix some typos in comments.
4119 2012-08-23 Roland McGrath <roland@hack.frob.com>
4121 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4122 * posix/tst-rfc3484-2.c: Likewise.
4123 * posix/tst-rfc3484-3.c: Likewise.
4125 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4127 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4128 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4130 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4132 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4133 #include of fxstatat64.c.
4135 2012-08-22 Roland McGrath <roland@hack.frob.com>
4137 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4138 * shadow/getspent_r.c: Likewise.
4139 * shadow/getspnam.c: Likewise.
4140 * shadow/getspnam_r.c: Likewise.
4141 * gshadow/getsgent.c: Likewise.
4142 * gshadow/getsgent_r.c: Likewise.
4143 * gshadow/getsgnam.c: Likewise.
4144 * gshadow/getsgnam_r.c: Likewise.
4145 * inet/getnetbyad.c: Likewise.
4146 * inet/getnetbyad_r.c: Likewise.
4147 * inet/getnetbynm.c: Likewise.
4148 * inet/getnetbynm_r.c: Likewise.
4149 * inet/getnetent.c: Likewise.
4150 * inet/getnetent_r.c: Likewise.
4151 * inet/getproto.c: Likewise.
4152 * inet/getproto_r.c: Likewise.
4153 * inet/getprtent.c: Likewise.
4154 * inet/getprtent_r.c: Likewise.
4155 * inet/getprtname.c: Likewise.
4156 * inet/getprtname_r.c: Likewise.
4157 * inet/getrpcbyname.c: Likewise.
4158 * inet/getrpcbyname_r.c: Likewise.
4159 * inet/getrpcbynumber.c: Likewise.
4160 * inet/getrpcbynumber_r.c: Likewise.
4161 * inet/getrpcent.c: Likewise.
4162 * inet/getrpcent_r.c: Likewise.
4163 * inet/getaliasent.c: Likewise.
4164 * inet/getaliasent_r.c: Likewise.
4165 * inet/getaliasname.c: Likewise.
4166 * inet/getaliasname_r.c: Likewise.
4167 * nscd/getgrgid_r.c: Likewise.
4168 * nscd/getgrnam_r.c: Likewise.
4169 * nscd/gethstbyad_r.c: Likewise.
4170 * nscd/gethstbynm3_r.c: Likewise.
4171 * nscd/getpwnam_r.c: Likewise.
4172 * nscd/getpwuid_r.c: Likewise.
4173 * nscd/getsrvbynm_r.c: Likewise.
4174 * nscd/getsrvbypt_r.c: Likewise.
4175 * nscd/gai.c: Likewise.
4177 * configure.in (build_nscd): New substituted variable, set
4178 by --disable-build-nscd and defaults to $use_nscd.
4179 * configure: Regenerated.
4180 * config.make.in (build-nscd): New substituted variable.
4181 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4182 Change conditional to require [$(build-nscd) = yes] as well.
4183 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4186 * configure.in (use_nscd): New substituted variable, set by
4187 --disable-nscd. If enabled, define USE_NSCD.
4188 * configure: Regenerated.
4189 * config.h.in: Add USE_NSCD.
4190 * config.make.in (use-nscd): New substituted variable.
4191 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4192 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4193 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4194 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4195 (CFLAGS-getgrnam_r.c): Likewise.
4196 (CFLAGS-initgroups.c): Likewise.
4197 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4198 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4200 * inet/getnetgrent_r.c
4201 (nscd_setnetgrent): New function, broken out of ...
4202 (setnetgrent): ... here. Call it.
4203 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4204 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4205 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4206 * nscd/Makefile (routines, aux): Move definitions after include of
4207 Makeconfig. Conditionalize on [$(use-nscd) != no].
4208 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4209 Conditionalize on [USE_NSCD].
4210 (is_nscd, nscd_init_cb): Likewise.
4211 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4212 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4213 * nss/nss_db/db-init.c: Likewise.
4214 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4216 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4217 (make_request): Use it.
4218 (cache_valid_p): New function.
4219 (__check_pf): Use it.
4220 * NEWS: Add item for --disable-nscd.
4222 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4224 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4225 to support sed >= 4.2.1-20-ga9bf076.
4226 * configure: Regenerated.
4228 2012-08-22 Roland McGrath <roland@hack.frob.com>
4230 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4231 Conditionalize whole body on [IREL].
4233 2012-08-22 Jeff Law <law@redhat.com>
4236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4237 if the family is PF_UNSPEC.
4239 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4241 * Makerules (lib-version): Rename from V.
4242 (install-lib-nosubdir): Change V to lib-version.
4244 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4247 * powerpc32/power6/wcschr.c: New file.
4248 * powerpc32/power6/wcscpy.c: New file.
4249 * powerpc32/power6/wcsrchr.c: New file.
4250 * powerpc64/power6/wcschr.c: New file.
4251 * powerpc64/power6/wcscpy.c: New file.
4252 * powerpc64/power6/wcsrchr.c: New file.
4254 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4256 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4257 (two_way_short_needle): Use it.
4258 * string/strstr.c (AVAILABLE1_USES_J): Define.
4259 * string/strcasestr.c: Likewise.
4261 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4263 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4266 * NEWS: Add an entry.
4267 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4268 define their defaults.
4269 (two_way_short_needle): Detect end-of-string on-the-fly.
4270 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4271 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4272 * string/bug-strcasestr1.c: New test.
4273 * string/Makefile: Run it.
4275 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4278 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4279 the first character.
4281 2012-08-21 Roland McGrath <roland@hack.frob.com>
4283 * csu/elf-init.c (__libc_csu_irel): Function removed.
4284 * csu/libc-start.c (apply_irel): New function.
4285 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4287 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4289 * sysdeps/unix/sysv/linux/kernel-features.h
4290 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4291 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4292 <kernel-features.h>.
4293 [__NR_fadvise64_64]: Make code unconditional.
4294 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4295 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4296 !__NR_fadvise64_64)]: Likewise.
4297 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4298 !__NR_fadvise64_64))]: Likewise.
4299 [__NR_fadvise64]: Make code unconditional.
4300 [!__NR_fadvise64]: Remove conditional code.
4301 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4302 <kernel-features.h>.
4303 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4305 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4308 not include <kernel-features.h>.
4309 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4311 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4313 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4314 include <kernel-features.h>.
4315 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4317 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4320 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4323 slight instruction rearrangements per scrollpipe analysis.
4324 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4326 2012-08-20 Roland McGrath <roland@hack.frob.com>
4328 * manual/syslog.texi (syslog; vsyslog, closelog):
4329 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4330 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4332 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4333 DSOCAPS to match condition on defining it.
4335 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4337 * sysdeps/unix/sysv/linux/kernel-features.h
4338 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4340 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4341 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4343 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4344 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4346 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4347 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4349 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4350 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4352 * sysdeps/unix/sysv/linux/kernel-features.h
4353 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4354 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4356 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4357 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4358 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4359 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4360 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4361 Make code unconditional.
4362 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4363 (__mmap64) [!__NR_mmap2]: Likewise.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4365 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4366 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4367 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4368 [__NR_mmap2]: Make code unconditional.
4369 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4370 (__mmap64) [!__NR_mmap2]: Likewise.
4372 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4374 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4376 2012-08-18 Andreas Jaeger <aj@suse.de>
4378 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4380 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4382 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4383 * include/unistd.h (__have_sock_cloexec): Likewise.
4384 (__have_pipe2): Likewise.
4385 (__have_dup3): Likewise.
4387 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4390 * include/unistd.h (__have_pipe2): Change define into an extern int.
4391 (__have_dup3): Likewise.
4392 * socket/have_sock_cloexec.c: Include fcntl.h.
4393 (__have_pipe2): New variable.
4394 (__have_dup3): Likewise.
4396 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4398 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4400 2012-08-17 Marek Polacek <polacek@redhat.com>
4402 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4403 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4405 2012-08-17 Roland McGrath <roland@hack.frob.com>
4407 * configure.in: Add AC_SUBST for sysheaders.
4408 * configure: Regenerated.
4409 * config.make.in (sysheaders): New substituted variable.
4411 * sysdeps/unix/mkfifo.c: Moved ...
4412 * sysdeps/posix/mkfifo.c: ... here.
4413 * sysdeps/unix/mkfifoat.c: Moved ...
4414 * sysdeps/posix/mkfifoat.c: ... here.
4416 * sysdeps/unix/utime.c: Moved ...
4417 * sysdeps/posix/utime.c: ... here.
4419 * sysdeps/unix/time.c: Moved ...
4420 * sysdeps/posix/time.c: ... here.
4421 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4422 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4424 * sysdeps/unix/nice.c: Moved ...
4425 * sysdeps/posix/nice.c: ... here.
4427 * sysdeps/unix/alarm.c: Moved ...
4428 * sysdeps/posix/alarm.c: ... here.
4430 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4432 2012-08-17 Jeff Law <law@redhat.com>
4434 * intl/Makefile (codeset_mo): New variable.
4435 ($(codeset_mo)): New target.
4436 (tst-codeset.out): Depend on that. Remove explicit rule.
4437 (tst-gettext3.out, tst-gettext5.out): Likewise.
4438 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4439 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4440 * intl/tst-codeset.sh: Remove.
4441 * intl/tst-gettext3.sh: Likewise.
4442 * intl/tst-gettext5.sh: Likewise.
4444 2012-08-17 Roland McGrath <roland@hack.frob.com>
4446 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4447 * sysdeps/unix/syscalls.list: ... here.
4449 * sysdeps/posix/getaddrinfo.c
4450 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4451 (gaiconf_init, gaiconf_reload): Use them.
4453 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4454 Define using time_t rather than struct timespec.
4456 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4457 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4459 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4461 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4462 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4465 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4466 __libc_cleanup_push argument.
4468 * bits/param.h: New file.
4469 * misc/sys/param.h: New file.
4470 * include/sys/param.h: New file.
4471 * misc/Makefile (headers): Add bits/param.h.
4472 * sysdeps/generic/sys/param.h: File removed.
4473 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4474 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4475 * sysdeps/mach/hurd/bits/param.h: New file.
4476 * sysdeps/mach/hurd/sys/param.h: File removed.
4478 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4481 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4483 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4484 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4487 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4488 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4489 rather than -D_IO_MTSAFE_IO conditionally.
4490 * stdio-common/Makefile (CPPFLAGS): Likewise.
4491 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4492 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4493 Use $(libio-mtsafe).
4494 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4496 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4497 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4498 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4499 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4500 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4501 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4502 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4503 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4504 (CFLAGS-fread_u_chk.c): Likewise.
4505 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4506 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4507 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4508 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4509 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4510 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4511 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4512 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4513 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4515 * libio/Makefile: Test [$(libc-reentrant) = yes]
4516 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4519 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4520 * sysdeps/pthread/configure: File removed.
4521 * sysdeps/pthread/Makeconfig: New file.
4522 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4523 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4525 2012-08-16 Gary Benson <gbenson@redhat.com>
4527 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4528 unmapping the first object in a namespace.
4530 2012-08-16 Roland McGrath <roland@hack.frob.com>
4532 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4533 (__internal_setnetgrent): ... this. Add internal_function to
4534 definition. Add libc_hidden_def.
4535 (setnetgrent): Update caller.
4536 (internal_endnetgrent): Renamed to ...
4537 (__internal_endnetgrent): ... this. Add internal_function to
4538 definition. Add libc_hidden_def.
4539 (endnetgrent): Update caller.
4540 (internal_getnetgrent_r): Renamed to ...
4541 (__internal_getnetgrent_r): ... this. Add internal_function to
4542 definition. Add libc_hidden_def.
4543 (__getnetgrent_r): Update caller.
4544 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4546 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4548 * stdlib/longlong.h: Update from GCC.
4550 2012-08-16 Roland McGrath <roland@hack.frob.com>
4552 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4553 on _QL, which is set by umul_ppmm but never used.
4554 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4555 variables, which are set by GMP macros but never used.
4556 * stdio-common/_itowa.c (_itowa): Likewise.
4557 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4558 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4560 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4562 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4563 struct La_sh_regs is not constant.
4564 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4565 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4566 and struct La_sparc64_regs are not constant.
4568 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4570 * sysdeps/unix/sysv/linux/kernel-features.h
4571 (__ASSUME_POSIX_TIMERS): Remove.
4572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4573 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4574 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4575 Make code unconditional.
4576 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4577 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4578 Make code unconditional.
4579 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4580 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4581 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4583 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4584 Make code unconditional.
4585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4587 (__libc_missing_posix_timers): Remove.
4589 2012-08-15 Roland McGrath <roland@hack.frob.com>
4591 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4592 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4594 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4596 * elf/dl-sym.c: Include <stdlib.h>.
4598 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4599 constants, which avoids warnings in 32-bit builds.
4601 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4602 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4604 * misc/lseek.c: File moved to ...
4605 * io/lseek.c: ... here.
4607 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4609 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4610 shifting LEN more than 31 bits at once.
4612 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4615 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4616 segmentation fault for a case of two empty input strings.
4617 * string/test-strncasecmp.c (check1): Renamed to...
4619 (bz14195): Add new testcase for two empty input strings and N > 0.
4620 (test_main): Call new testcase, adapt for renamed function.
4622 2012-08-15 Andreas Jaeger <aj@suse.de>
4625 * crypt/md5test2.c: New test, based on test supplied by Serge
4626 Belyshev <belyshev@depni.sinp.msu.ru>.
4627 * crypt/Makefile (xtests): Add md5test-giant..
4628 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4630 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4633 * crypt/md5.c (md5_process_block): Don't assume the buffer
4634 length is less than 2**32.
4635 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4636 length is less than 2**64.
4638 2012-08-15 Roland McGrath <roland@hack.frob.com>
4640 * string/str-two-way.h: Include <sys/param.h>.
4641 (MAX): Macro removed.
4643 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4644 Move #define and #undef of memmove to just before and after
4645 including <string.h>.
4647 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4648 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4649 and after including <string.h>. Move declarations of
4650 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4651 to before #include "string/memmove.c".
4653 * include/dirent.h: Declare __getdirentries.
4655 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4656 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4658 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4660 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4661 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4662 * sysdeps/i386/configure: Regenerated.
4663 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4664 STABS_CURRENT_FILE, and STABS_FUN.
4665 (END): Remove call to STABS_FUN_END.
4666 (STABS_CURRENT_FILE1): Delete.
4667 (STABS_CURRENT_FILE): Likewise.
4668 (STABS_FUN): Likewise.
4669 (STABS_FUN_END): Likewise.
4670 (STABS_FUN2): Likewise.
4671 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4672 * sysdeps/x86_64/configure: Regenerated.
4674 2012-08-14 Roland McGrath <roland@hack.frob.com>
4676 * elf/dl-open.c: Include <atomic.h>.
4677 * elf/dl-lookup.c: Likewise.
4679 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4681 * sysdeps/unix/sysv/linux/kernel-features.h
4682 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4683 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4685 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4687 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4688 condition on __ASSUME_CLONE_THREAD_FLAGS.
4690 2012-08-14 Andreas Jaeger <aj@suse.de>
4692 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4696 * include/atomic.h (atomic_exchange_and_add): Split into ...
4697 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4700 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4704 2012-08-13 Jeff Law <law@redhat.com>
4706 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4707 null byte in the output string.
4709 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4711 * sysdeps/unix/sysv/linux/kernel-features.h
4712 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4713 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4714 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4715 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4716 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4717 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4718 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4720 2012-08-09 Jeff Law <law@redhat.com>
4723 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4724 When avoid_arena is set, don't retry in the that arena. Pick the
4725 next one, whatever it might be.
4726 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4727 (arena_lock): Pass in new parameter to arena_get2.
4728 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4730 (__libc_malloc): Unify retrying after main arena failure with
4731 __libc_memalign version.
4732 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4734 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4737 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4738 to __redirect_strstr.
4739 (__strstr_sse42): Use typeof __redirect_strstr.
4740 (__strstr_ia32): Likewise.
4741 (__libc_strstr): New prototype.
4742 (strstr): Renamed to ...
4743 (__libc_strstr): This.
4744 (strstr): New strong alias of __libc_strstr.
4745 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4746 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4749 (__libc_time): New prototype.
4750 (time_ifunc): Replace time with __libc_time.
4751 (time): New strong alias and hidden definition of __libc_time.
4752 (__GI_time): Remove strong alias.
4753 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4755 (memmove): Redefined to __redirect_memmove.
4756 (__memmove_sse2): Use typeof __redirect_memmove.
4757 (__memmove_ssse3): Likewise.
4758 (__memmove_ssse3_back): Likewise.
4759 (__libc_memmove): New prototype.
4760 (memmove): Renamed to ...
4761 (__libc_memmove): This.
4762 (memmove): New strong alias of __libc_memmove.
4764 2012-08-08 Mark Salter <msalter@redhat.com>
4767 (R_MN10300_TLS_GD): Define.
4768 (R_MN10300_TLS_LD): Likewise.
4769 (R_MN10300_TLS_LDO): Likewise.
4770 (R_MN10300_TLS_GOTIE): Likewise.
4771 (R_MN10300_TLS_IE): Likewise.
4772 (R_MN10300_TLS_LE): Likewise.
4773 (R_MN10300_TLS_DTPMOD): Likewise.
4774 (R_MN10300_TLS_DTPOFF): Likewise.
4775 (R_MN10300_TLS_TPOFF): Likewise.
4776 (R_MN10300_SYM_DIFF): Likewise.
4777 (R_MN10300_ALIGN): Likewise.
4778 (R_MN10300_NUM): Update.
4780 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4785 2012-08-08 Roland McGrath <roland@hack.frob.com>
4787 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4789 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4790 sysdeps/unix -> sysdeps/posix move.
4791 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4793 2012-08-07 Allan McRae <allan@archlinux.org>
4796 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4797 (SUNOS_CPP): Likewise.
4798 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4800 (open_input): Call CPP using execvp.
4802 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4804 * sysdeps/unix/sysv/linux/kernel-features.h
4805 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4806 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4807 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4808 (__ASSUME_WAITID_SYSCALL): Likewise.
4809 * sysdeps/unix/sysv/linux/dl-execstack.c
4810 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4812 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4814 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4815 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4816 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4818 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4820 [__ASSUME_WAITID_SYSCALL]: Likewise.
4821 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4823 2012-08-07 Roland McGrath <roland@hack.frob.com>
4825 * sysdeps/unix/closedir.c: Renamed to ...
4826 * sysdeps/posix/closedir.c: ... here.
4827 * sysdeps/unix/dirfd.c: Renamed to ...
4828 * sysdeps/posix/dirfd.c: ... here.
4829 * sysdeps/unix/dirstream.h: Renamed to ...
4830 * sysdeps/posix/dirstream.h: ... here.
4831 * sysdeps/unix/fdopendir.c: Renamed to ...
4832 * sysdeps/posix/fdopendir.c: ... here.
4833 * sysdeps/unix/opendir.c: Renamed to ...
4834 * sysdeps/posix/opendir.c: ... here.
4835 * sysdeps/unix/readdir.c: Renamed to ...
4836 * sysdeps/posix/readdir.c: ... here.
4837 * sysdeps/unix/readdir_r.c: Renamed to ...
4838 * sysdeps/posix/readdir_r.c: ... here.
4839 * sysdeps/unix/rewinddir.c: Renamed to ...
4840 * sysdeps/posix/rewinddir.c: ... here.
4841 * sysdeps/unix/seekdir.c: Renamed to ...
4842 * sysdeps/posix/seekdir.c: ... here.
4843 * sysdeps/unix/telldir.c: Renamed to ...
4844 * sysdeps/posix/telldir.c: ... here.
4845 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4846 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4847 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4848 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4850 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4851 * bits/fcntl.h: ... here.
4853 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4855 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4856 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4857 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4858 (struct flock): Move l_start, l_len to the beginning.
4859 Use __pid_t for l_pid.
4860 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4861 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4862 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4863 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4864 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4865 [__USE_LARGEFILE64] (struct flock64): New type.
4866 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4868 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4869 * bits/dirent.h: ... here.
4871 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4872 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4874 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4877 Change from 2.6.0 to 2.6.16.
4878 * sysdeps/unix/sysv/linux/configure: Regenerated.
4879 * sysdeps/unix/sysv/linux/kernel-features.h
4880 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4881 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4883 (__ASSUME_UTIMES): Likewise.
4884 (__ASSUME_CLONE_STOPPED): Remove.
4885 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4886 architectures, not kernel version.
4887 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4888 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4889 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4890 (__ASSUME_WAITID_SYSCALL): Likewise.
4891 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4892 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4893 * README: State 2.6.16 as minimum Linux kernel version. Do not
4894 refer to older versions.
4896 2012-08-06 Roland McGrath <roland@hack.frob.com>
4898 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4899 Define alphasort64 as an alias.
4900 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4901 Define versionsort64 as an alias.
4902 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4903 Define scandir64 as an alias.
4904 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4905 Define scandirat64 as an alias.
4906 * dirent/alphasort64.c (alphasort64):
4907 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4908 * dirent/versionsort64.c: Likewise.
4909 * dirent/scandir64.c: Likewise.
4910 * dirent/scandirat64.c: Likewise.
4911 * sysdeps/wordsize-64/alphasort.c: File removed.
4912 * sysdeps/wordsize-64/alphasort64.c: File removed.
4913 * sysdeps/wordsize-64/scandir.c: File removed.
4914 * sysdeps/wordsize-64/scandir64.c: File removed.
4915 * sysdeps/wordsize-64/scandirat.c: File removed.
4916 * sysdeps/wordsize-64/scandirat64.c: File removed.
4917 * sysdeps/wordsize-64/versionsort.c: File removed.
4918 * sysdeps/wordsize-64/versionsort64.c: File removed.
4919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4928 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4929 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4930 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4931 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4932 [defined __arch64__ || defined __sparcv9]
4933 (__INO_T_MATCHES_INO64_T): New macro.
4934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4935 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4936 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4937 * sysdeps/unix/sysv/linux/bits/dirent.h
4938 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4939 (_DIRENT_MATCHES_DIRENT64): New macro.
4941 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4942 Define lockf64 as an alias.
4943 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4944 Define fseeko64 as an alias.
4945 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4946 Define ftello64 as an alias.
4947 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4948 Define _IO_fgetpos64 and fgetpos64 as aliases.
4949 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4950 Define _IO_fsetpos64 and fsetpos64 as aliases.
4951 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4952 Conditionalize body on this.
4953 * libio/fseeko64.c: Likewise.
4954 * libio/ftello64.c: Likewise.
4955 * libio/iofgetpos64.c: Likewise.
4956 * libio/iofsetpos64.c: Likewise.
4957 * sysdeps/wordsize-64/lockf.c: File removed.
4958 * sysdeps/wordsize-64/lockf64.c: File removed.
4959 * sysdeps/wordsize-64/fseeko.c: File removed.
4960 * sysdeps/wordsize-64/fseeko64.c: File removed.
4961 * sysdeps/wordsize-64/ftello.c: File removed.
4962 * sysdeps/wordsize-64/ftello64.c: File removed.
4963 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4964 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4965 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4966 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4967 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4968 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4970 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4972 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4974 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4976 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4978 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4979 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4980 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4981 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4982 [defined __arch64__ || defined __sparcv9]
4983 (__OFF_T_MATCHES_OFF64_T): New macro.
4984 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4985 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4987 (__OFF_T_MATCHES_OFF64_T): New macro.
4989 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4991 * stdlib/secure-getenv.c (__secure_getenv): Replace
4992 GLIBC_2_16 with GLIBC_2_17.
4994 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4996 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4999 2012-08-03 David S. Miller <davem@davemloft.net>
5001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5003 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5007 (__ASSUME_CORRECT_SI_PID): Likewise.
5008 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5009 (__ASSUME_TMPFS_NAME): Likewise.
5010 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5011 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5012 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5013 (HAVE_AUX_SECURE): Make definition unconditional.
5014 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5015 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5017 2012-08-03 Roland McGrath <roland@hack.frob.com>
5019 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5020 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5021 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5022 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5023 __eloop_threshold instead of SYMLOOP_MAX.
5025 * sysdeps/generic/eloop-threshold.h: New file.
5026 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5028 * elf/chroot_canon.c (chroot_canon): Likewise.
5030 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5034 Change to 2.6.0 everywhere.
5035 * sysdeps/unix/sysv/linux/configure: Regenerated.
5036 * sysdeps/unix/sysv/linux/kernel-features.h
5037 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5038 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5040 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5041 (__ASSUME_FUTEX_REQUEUE): Remove.
5042 (__ASSUME_STATFS64): Define unconditionally.
5043 (__ASSUME_AT_SECURE): Likewise.
5044 (__ASSUME_CORRECT_SI_PID): Likewise.
5045 (__ASSUME_TGKILL): Define without depending on kernel version for
5047 (__ASSUME_UTIMES): Likewise.
5048 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5050 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5051 (__ASSUME_TMPFS_NAME): Likewise.
5052 * README: Update reference to Linux kernel versions.
5054 2012-08-02 Marek Polacek <polacek@redhat.com>
5057 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5058 libc_cv_asm_type_prefix with %.
5059 * configure: Regenerated.
5060 * include/libc-symbols.h: Remove comment about
5061 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5062 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5063 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5064 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5065 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5066 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5067 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5068 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5069 * elf/tst-unique2mod1.c: Likewise.
5070 * elf/tst-unique1mod2.c: Likewise.
5071 * elf/tst-unique1mod1.c: Likewise.
5072 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5073 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5074 Replace ASM_TYPE_DIRECTIVE with .type.
5075 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5076 * sysdeps/i386/sysdep.h: Likewise.
5077 * sysdeps/x86_64/sysdep.h: Likewise.
5078 * sysdeps/sh/sysdep.h: Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5080 Do not define ASM_TYPE_DIRECTIVE.
5081 * sysdeps/powerpc/sysdep.h: Likewise.
5082 * sysdeps/powerpc/powerpc32/sysdep.h:
5083 Replace ASM_TYPE_DIRECTIVE with .type.
5084 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5085 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5086 * sysdeps/i386/fpu/e_powf.S: Likewise.
5087 * sysdeps/i386/fpu/e_expl.S: Likewise.
5088 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5090 * sysdeps/i386/fpu/e_pow.S: Likewise.
5091 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5092 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5093 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5094 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5095 * sysdeps/i386/fpu/e_log2.S: Likewise.
5096 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5097 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5098 * sysdeps/i386/fpu/e_powl.S: Likewise.
5099 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5100 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5101 * sysdeps/i386/fpu/e_logl.S: Likewise.
5102 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5103 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5104 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5105 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5106 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5107 * sysdeps/i386/fpu/e_log.S: Likewise.
5108 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5109 * sysdeps/i386/fpu/e_logf.S: Likewise.
5110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5112 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5113 * sysdeps/i386/fpu/e_log10.S: Likewise.
5114 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5115 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5116 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5117 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5118 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5119 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5120 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5121 * sysdeps/i386/i686/strtok.S: Likewise.
5122 * sysdeps/i386/i386-mcount.S: Likewise.
5123 * sysdeps/i386/strtok.S: Likewise.
5124 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5125 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5126 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5128 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5129 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5130 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5131 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5133 * sysdeps/x86_64/_mcount.S: Likewise.
5134 * sysdeps/x86_64/strtok.S: Likewise.
5135 * sysdeps/sh/_mcount.S: Likewise.
5137 2012-08-01 Roland McGrath <roland@hack.frob.com>
5139 * libio/iofopen.c: Include <fcntl.h>.
5140 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5141 (_IO_fopen64, fopen64): Define as aliases.
5142 * libio/iofopen64.c: Include <fcntl.h>.
5143 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5144 Conditionalize body on this.
5145 * sysdeps/wordsize-64/iofopen.c: File removed.
5146 * sysdeps/wordsize-64/iofopen64.c: File removed.
5148 2012-08-01 Marek Polacek <polacek@redhat.com>
5150 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5151 Use dlfcn directly instead of a variable.
5152 (binfmt-subdir): Do not define.
5155 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5158 Remove all definitions.
5159 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5160 <kernel-features.h>.
5161 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5162 (miss_F_GETOWN_EX): Remove all definitions.
5163 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5165 [!__ASSUME_FCNTL64]: Remove conditional code.
5166 [__ASSUME_FCNTL64]: Make code unconditional.
5167 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5168 <kernel-features.h>.
5169 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5170 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5171 (lockf64) [__NR_fcntl64]: Make code unconditional.
5172 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5174 * sysdeps/unix/sysv/linux/kernel-features.h
5175 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5176 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5177 Make code unconditional.
5178 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5179 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5181 [__NR_vfork]: Make code unconditional.
5182 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5183 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5185 [__NR_vfork]: Make code unconditional.
5186 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5187 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5189 2012-08-01 Roland McGrath <roland@hack.frob.com>
5191 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5192 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5194 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5195 Define mkstemp64 as an alias.
5196 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5197 Define mkstemps64 as an alias.
5198 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5199 Define mkostemp64 as an alias.
5200 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5201 Define mkostemps64 as an alias.
5202 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5203 Conditionalize body on this.
5204 * misc/mkostemp64.c: Likewise.
5205 * misc/mkostemps64.c: Likewise.
5206 * misc/mkstemps64.c: Likewise.
5207 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5208 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5209 * sysdeps/wordsize-64/mkostemp.c: File removed.
5210 * sysdeps/wordsize-64/mkstemp.c: File removed.
5211 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5212 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5213 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5214 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5217 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5218 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5219 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5220 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5222 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5223 compat_symbol macros from <shlib-compat.h> rather than the underlying
5224 default_symbol_version and symbol_version macros, so that DEFAULT
5225 lines in shlib-versions are respected.
5226 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5228 2012-08-01 Florian Weimer <fweimer@redhat.com>
5230 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5231 Declare with warn_unused_result.
5232 (setgid, setregid, setegid, setresgid): Likewise.
5233 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5235 * WUR-REPORT: Remove set*id functions.
5237 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5239 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5241 2012-07-31 Roland McGrath <roland@hack.frob.com>
5243 * include/sys/socket.h (__libc_accept, __libc_accept4):
5244 Add attribute_hidden.
5245 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5247 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5249 * inet/getnetgrent_r.c (setup): Likewise.
5251 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5253 2012-07-31 David S. Miller <davem@davemloft.net>
5255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5257 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5260 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5261 value between 1.0 and 2.0 and smaller part has absolute value less
5263 * math/s_clog10.c (__clog10): Likewise.
5264 * math/s_clog10f.c (__clog10f): Likewise.
5265 * math/s_clog10l.c (__clog10l): Likewise.
5266 * math/s_clogf.c (__clogf): Likewise.
5267 * math/s_clogl.c (__clogl): Likewise.
5268 * math/libm-test.inc (clog_test): Add more tests.
5269 (clog10_test): Likewise.
5270 * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5273 2012-07-31 Florian Weimer <fweimer@redhat.com>
5275 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5276 Exit with zero in case no suitable GID is found, and write a
5277 message to standard error.
5279 2012-07-30 Roland McGrath <roland@hack.frob.com>
5281 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5283 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5284 (MAXPATHLEN): Removed.
5285 (NOGROUP, NODEV): New macros.
5286 (setbit, clrbit, isset, isclr): New macros.
5287 (howmany, roundup, powerof2): New macros.
5288 (DEV_BSIZE): New macro.
5290 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5291 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5293 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5294 definition on [!__NO_LONG_DOUBLE_MATH].
5296 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5297 PTR_MANGLE and PTR_DEMANGLE.
5299 * socket/accept4.c (accept4): Rename to __libc_accept4.
5300 Define accept4 as a weak alias.
5302 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5303 on [_DIRENT_HAVE_D_TYPE].
5304 * io/ftw.c (ftw_dir): Likewise.
5306 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5308 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5310 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5311 Use the BSD numbers rather than the arbitrary ones we had.
5312 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5313 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5314 (SIGXCPU, SIGXFSZ): New macros.
5317 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5318 initializer on [_LIBC_REENTRANT].
5320 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5321 definitions inside [_POSIX_MAPPED_FILES].
5323 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5325 * dirent/opendir.c: Include <fcntl.h>.
5327 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5328 (__libc_getspecific): Likewise.
5329 (__libc_key_create): Likewise.
5331 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5332 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5333 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5334 (tmpfile64): Define as alias.
5335 * sysdeps/wordsize-64/tmpfile.c: File removed.
5336 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5340 * stdio-common/vfscanf.c: Include <stdbool.h>.
5341 * nss/makedb.c: Likewise.
5342 * stdio-common/_i18n_number.h: Likewise.
5343 * argp/argp-help.c: Likewise.
5344 * posix/wordexp.c: Likewise.
5345 * sysdeps/posix/spawni.c: Likewise.
5346 * nss/nss_files/files-initgroups.c: Likewise.
5347 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5348 * nss/nss_files/files-initgroups.c: Likewise.
5349 * nss/nss_db/db-netgrp.c: Likewise.
5350 * nss/nss_db/db-initgroups.c: Likewise.
5351 * io/fchmodat.c: Include <sys/stat.h>.
5353 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5354 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5356 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5359 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5360 Add multiple inclusion protection.
5362 2012-07-27 David S. Miller <davem@davemloft.net>
5364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5366 2012-07-27 Gary Benson <gbenson@redhat.com>
5369 * elf/rtld.c: Include <stap-probe.h>.
5370 (dl_main): Added static probes "init_start" and "init_complete".
5371 * elf/dl-load.c: Include <stap-probe.h>.
5372 (lose): Take new parameter "nsid".
5373 Added static probe "map_failed".
5374 (_dl_map_object_from_fd): Pass namespace id to lose.
5375 Added static probe "map_start".
5376 (open_verify): Pass namespace id to lose.
5377 * elf/dl-open.c: Include <stap-probe.h>.
5378 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5379 and "reloc_complete".
5380 * elf/dl-close.c: Include <stap-probe.h>.
5381 (_dl_close_worker): Added static probes "unmap_start" and
5383 * elf/rtld-debugger-interface.txt: New file documenting the above.
5385 2012-07-26 Roland McGrath <roland@hack.frob.com>
5387 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5388 rather than a string variable.
5389 * sunrpc/rpc_main.c (h_output): Likewise.
5390 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5392 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5394 * inet/check_native.c: New file.
5396 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5399 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5400 if larger part has absolute value 1.0.
5401 * math/s_clog10.c (__clog10): Likewise.
5402 * math/s_clog10f.c (__clog10f): Likewise.
5403 * math/s_clog10l.c (__clog10l): Likewise.
5404 * math/s_clogf.c (__clogf): Likewise.
5405 * math/s_clogl.c (__clogl): Likewise.
5406 * math/libm-test.inc (clog_test): Add more tests.
5407 (clog10_test): Likewise.
5408 * sysdeps/i386/fpu/libm-test-ulps: Update.
5409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5411 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5412 (pltexit): Likewise.
5413 (La_regs): Likewise.
5414 (La_retval): Likewise.
5415 (int_retval): Likewise.
5416 Update #error for removed macros to refer only to definitions in
5418 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5420 (pltexit): Likewise.
5421 (La_regs): Likewise.
5422 (La_retval): Likewise.
5423 (int_retval): Likewise.
5424 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5426 (pltexit): Likewise.
5427 (La_regs): Likewise.
5428 (La_retval): Likewise.
5429 (int_retval): Likewise.
5430 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5432 (pltexit): Likewise.
5433 (La_regs): Likewise.
5434 (La_retval): Likewise.
5435 (int_retval): Likewise.
5436 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5438 (pltexit): Likewise.
5439 (La_regs): Likewise.
5440 (La_retval): Likewise.
5441 (int_retval): Likewise.
5442 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5444 (pltexit): Likewise.
5445 (La_regs): Likewise.
5446 (La_retval): Likewise.
5447 (int_retval): Likewise.
5448 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5450 (pltexit): Likewise.
5451 (La_regs): Likewise.
5452 (La_retval): Likewise.
5453 (int_retval): Likewise.
5454 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5455 macro definitions in tst-audit.h.
5456 * sysdeps/i386/tst-audit.h: New file.
5457 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5458 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5459 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5460 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5461 * sysdeps/sh/tst-audit.h: Likewise.
5462 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5463 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5464 * sysdeps/x86_64/tst-audit.h: Likewise.
5466 2012-07-26 Andreas Jaeger <aj@suse.de>
5468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5471 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5472 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5473 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5475 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5476 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5477 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5479 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5482 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5484 (si_call_addr, si_syscall, si_arch): Define new macro.
5485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5487 (si_call_addr, si_syscall, si_arch): Define new marcro.
5488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5490 (si_call_addr, si_syscall, si_arch): Define new macro.
5491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5493 (si_call_addr, si_syscall, si_arch): Define new macro.
5495 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5499 Change to 2.4.21 where previously 2.4.1.
5500 * sysdeps/unix/sysv/linux/configure: Regenerated.
5501 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5502 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5503 Linux kernel version.
5504 (__ASSUME_STD_AUXV): Remove.
5505 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5507 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5508 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5509 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5510 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5511 (__ASSUME_NETLINK_SUPPORT): Likewise.
5512 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5513 (__no_netlink_support): Remove conditional definition.
5514 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5516 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5517 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5518 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5519 (if_nameindex_ioctl): Remove.
5520 (if_nameindex_netlink): Do not handle __no_netlink_support.
5521 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5523 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5524 Remove conditional code.
5525 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5527 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5529 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5530 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5531 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5533 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5534 [!__ASSUME_STD_AUXV]: Remove conditional code.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5536 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5537 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5539 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5540 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5542 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5544 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5545 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5547 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5549 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5552 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5555 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5557 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5559 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5561 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5564 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5566 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5569 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5571 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5573 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5575 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5578 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5580 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5582 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5584 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5587 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5589 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5590 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5591 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5592 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5593 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5594 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5595 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5596 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5597 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5598 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5599 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5600 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5601 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5602 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5603 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5604 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5605 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5609 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5613 2012-07-25 Florian Weimer <fweimer@redhat.com>
5615 * Versions.def: Add GLIBC_2.17.
5616 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5617 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5618 Introduce __libc_secure_getenv.
5619 * stdlib/Versions (2.17): Add secure_getenv
5620 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5621 * stdlib/secure-getenv.c: Rename __secure_getenv to
5622 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5623 symbol __secure_getenv for GLIBC_2.0.
5624 * stdlib/tst-secure-getenv.c: New.
5625 * stdlib/Makefile (tests): Add testcase.
5626 * manual/startup.texi (Environment Access): Document
5628 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5629 __libc_secure_getenv.
5630 * inet/ruserpass.c (ruserpass): Likewise.
5631 * malloc/mtrace.c (mtrace): Likewise.
5632 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5633 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5634 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5635 * sysdeps/posix/tempname.c: Likewise. Evaluate
5637 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5638 __secure_getenv to __libc_secure_getenv.
5639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5652 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5654 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5655 (struct La_i86_retval): Likewise.
5656 (struct La_x86_64_regs): Likewise.
5657 (struct La_x86_64_retval): Likewise.
5658 (struct La_x32_regs): Likewise.
5659 (struct La_x32_retval): Likewise.
5660 (struct La_ppc32_regs): Likewise.
5661 (struct La_ppc32_retval): Likewise.
5662 (struct La_ppc64_regs): Likewise.
5663 (struct La_ppc64_retval): Likewise.
5664 (struct La_sh_regs): Likewise.
5665 (struct La_sh_retval): Likewise.
5666 (struct La_s390_32_regs): Likewise.
5667 (struct La_s390_32_retval): Likewise.
5668 (struct La_s390_64_regs): Likewise.
5669 (struct La_s390_64_retval): Likewise.
5670 (struct La_sparc32_regs): Likewise.
5671 (struct La_sparc32_retval): Likewise.
5672 (struct La_sparc64_regs): Likewise.
5673 (struct La_sparc64_retval): Likewise.
5674 (struct audit_ifaces): Remove architecture-specific pltenter and
5676 * sysdeps/i386/ldsodefs.h: New file.
5677 * sysdeps/powerpc/ldsodefs.h: Likewise.
5678 * sysdeps/s390/ldsodefs.h: Likewise.
5679 * sysdeps/sh/ldsodefs.h: Likewise.
5680 * sysdeps/sparc/ldsodefs.h: Likewise.
5681 * sysdeps/x86_64/ldsodefs.h: Likewise.
5683 2012-07-25 Marek Polacek <polacek@redhat.com>
5686 * math/libm-test.inc (yn_test): Add another test.
5687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5688 to ERANGE when the result is +-Inf.
5689 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5690 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5691 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5692 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5694 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5696 * conform/data/time.h-data (NULL): Use macro-constant. Require
5698 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5700 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5702 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5704 * configure.in <sysdeps resolving>: Correct printing
5706 * configure: Regenerate.
5708 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5710 * math/w_ilogb.c: Include <limits.h>.
5711 * math/w_ilogbl.c: Likewise.
5713 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5715 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5716 va_copy. Document allowing for unavailable va_copy only as
5717 pre-C99 compatibility.
5718 * manual/string.texi (Copying and Concatenation): Use va_copy
5719 instead of __va_copy in concat example.
5721 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5723 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5724 (__sendto): Use create_address_port. Initialize APORT and deallocate
5727 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5728 with O_NOLINK passed to __file_name_lookup.
5730 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5731 with O_NOLINK passed to __file_name_lookup.
5733 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5734 negative N or less than NGIDS.
5736 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5737 type to string_t. Set ERANGE as errno and return it if NAME is not big
5738 enough. Use memcpy instead of strncpy.
5740 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5742 * elf/Makefile (check-data): Remove.
5743 (localplt.data): New vpath directive.
5744 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5745 instead of $(check-data).
5746 * scripts/data/localplt-generic.data: Move to ...
5747 * sysdeps/generic/localplt.data: ... here.
5748 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5749 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5750 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5753 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5756 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5759 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5762 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5765 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5769 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5772 PPC32 and PPC64 files.
5773 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5774 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5776 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5778 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5779 __makecontext_ret to ...
5780 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5781 ... here and call exit if uc_link is NULL. New file.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5783 __makecontext_ret.S.
5784 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5785 __makecontext_ret to ...
5786 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5787 ... here and call exit if uc_link is NULL. New file.
5788 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5789 __makecontext_ret.S.
5791 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5793 * elf/elf.h (R_390_IRELATIVE): New definition.
5794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5795 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5796 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5798 (elf_machine_lazy_rel): Likewise.
5799 * sysdeps/s390/dl-irel.h: New file.
5800 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5801 * sysdeps/s390/s390-64/memset.S: New asm code.
5802 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5803 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5804 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5805 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5806 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5807 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5809 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5810 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5811 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5812 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5813 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5814 * sysdeps/s390/s390-32/memset.S: New asm code.
5815 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5817 2012-07-17 Marek Polacek <polacek@redhat.com>
5820 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5821 * sysdeps/s390/s390-64/configure.in: Likewise.
5822 * sysdeps/sparc/configure.in: Likewise.
5823 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5824 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5825 * sysdeps/i386/configure.in: Likewise.
5826 * sysdeps/x86_64/configure.in: Likewise.
5827 * sysdeps/sh/configure.in: Likewise.
5828 * sysdeps/s390/s390-32/configure: Regenerated.
5829 * sysdeps/s390/s390-64/configure: Likewise.
5830 * sysdeps/x86_64/configure: Likewise.
5831 * sysdeps/sh/configure: Likewise.
5832 * sysdeps/powerpc/powerpc64/configure: Likewise.
5833 * sysdeps/powerpc/powerpc32/configure: Likewise.
5834 * sysdeps/sparc/configure: Likwise.
5835 * sysdeps/i386/configure: Likewise.
5837 * elf/dl-open.c: Comment fixes.
5839 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5841 * Makefile [CXX] (check-data): Remove.
5842 [CXX] (c++-types.data): New vpath directive.
5843 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5844 vpath. Do not allow for C++ type data being missing.
5845 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5846 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5847 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5848 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5849 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5850 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5851 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5854 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5857 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5860 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5863 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5866 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5869 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5872 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5875 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5876 definitions to architecture-specific files.
5880 * sysdeps/i386/tls-macros.h: New file.
5881 * sysdeps/powerpc/tls-macros.h: Likewise.
5882 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5883 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5884 * sysdeps/sh/tls-macros.h: Likewise.
5885 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5886 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5887 * sysdeps/x86_64/tls-macros.h: Likewise.
5889 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5892 zero value for regular exit case.
5894 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5895 (__start_context): Preserve zero value for regular exit case.
5897 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5898 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5900 * manual/setjmp.texi (setcontext): Clarify normal process
5901 termination when uc_link is the null pointer.
5902 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5905 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5907 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5908 preprocessor. Test for each exception mask separately.
5910 2012-07-16 Andreas Jaeger <aj@suse.de>
5912 * po/ru.po: Update from translation team.
5914 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5916 * conform/data/string.h-data (NULL): Use macro-constant. Require
5918 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5919 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5920 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5921 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5924 2012-07-13 Andreas Jaeger <aj@suse.de>
5926 * po/fr.po: Update from translation team.
5928 2012-07-12 Marek Polacek <polacek@redhat.com>
5931 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5932 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5935 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5939 Change to 2.4.1 where previously 2.4.0.
5940 * sysdeps/unix/sysv/linux/configure: Regenerated.
5941 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5942 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5944 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5945 (__ASSUME_AT_CLKTCK): Remove.
5946 (__ASSUME_AT_PAGESIZE): Likewise.
5947 (__ASSUME_AT_XID): Likewise.
5948 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5949 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5950 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5952 (HAVE_AUX_PAGESIZE): Likewise.
5953 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5954 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5955 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5957 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5961 the temporary buffer used to invoke __gethostbyname2_r,
5962 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5963 host_data / struct gaih_addrtuple.
5964 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5965 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5966 header file nss/nsswitch.h.
5967 * nss/nsswitch.h (global scope): Add definition of implementation
5968 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5969 resolv/nss_dns/dns-host.c).
5971 2012-07-11 Andreas Jaeger <aj@suse.de>
5973 * po/fr.po: Update from translation team.
5975 * po/sv.po: Update from translation team
5976 * po/fr.po: Another update from translation team.
5978 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5981 for subnormals or multiply small sinh result by itself.
5982 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5985 2012-07-11 David S. Miller <davem@davemloft.net>
5987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5989 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5992 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5993 (INTERNAL_MARK): Shift it here.
5995 2012-07-10 Marek Polacek <polacek@redhat.com>
5998 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5999 libc_cv_asm_global_directive with .globl.
6000 * configure: Regenerated.
6001 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6003 * sysdeps/i386/configure: Regenerated.
6004 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6006 * sysdeps/x86_64/configure: Regenerated.
6007 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6008 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6009 * elf/tst-unique2mod2.c: Likewise.
6010 * elf/tst-unique2mod1.c: Likewise.
6011 * elf/tst-unique1mod2.c: Likewise.
6012 * elf/tst-unique1mod1.c: Likewise.
6013 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6014 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6015 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6016 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6017 * sysdeps/mach/sysdep.h: Likewise.
6018 * sysdeps/i386/sysdep.h: Likewise.
6019 * sysdeps/i386/i386-mcount.S: Likewise.
6020 * sysdeps/x86_64/_mcount.S: Likewise.
6021 * sysdeps/x86_64/sysdep.h: Likewise.
6022 * sysdeps/sh/_mcount.S: Likewise.
6023 * sysdeps/sh/sysdep.h: Likewise.
6024 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6025 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6026 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6028 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6029 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6030 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6031 * locale/localeinfo.h: Likewise.
6032 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6033 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6035 2012-07-09 Roland McGrath <roland@hack.frob.com>
6038 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6040 * manual/message.texi (The Uniforum approach): Likewise.
6041 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6042 (glibc iconv Implementation): Likewise.
6044 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6047 * math/s_clog.c (__clog): Avoid scaling a value down where that
6048 could result in underflow.
6049 * math/s_clog10.c (__clog10): Likewise.
6050 * math/s_clog10f.c (__clog10f): Likewise.
6051 * math/s_clog10l.c (__clog10l): Likewise.
6052 * math/s_clogf.c (__clogf): Likewise.
6053 * math/s_clogl.c (__clogl): Likewise.
6054 * math/libm-test.inc (clog_test): Add more tests.
6055 (clog10_test): Likewise.
6056 * sysdeps/i386/fpu/libm-test-ulps: Update.
6057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6062 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6063 by 7 not 8 to examine high bit of fractional part.
6066 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6067 for call to __mcount_internal.
6068 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6069 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6070 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6072 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6075 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6076 approximation for values within 0x1p-13f of an odd multiple of
6078 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6079 exception. Add more tests.
6080 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6084 inputs and return -1 for them. Do not check for +Inf in case not
6086 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6087 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6089 and return -1 for them. Do not check for +Inf in case not
6091 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6094 and return -1 for them. Do not check for +Inf in case not
6096 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6098 * sysdeps/i386/fpu/libm-test-ulps: Update.
6099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6101 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6103 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6105 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6109 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6110 could result in spurious underflow. Scale down values above
6111 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6112 * math/s_csqrtf.c (__csqrtf): Likewise.
6113 * math/s_csqrtl.c (__csqrtl): Likewise.
6114 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6116 * sysdeps/i386/fpu/libm-test-ulps: Update.
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6121 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6123 * catgets/xopen-msg.awk: New file.
6124 * catgets/xopen-msg.sed: Removed.
6126 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6128 * intl/po2test.awk: New file.
6129 * intl/po2test.sed: Removed.
6131 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6134 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6135 or multiply small sinh result by itself.
6136 * math/s_ctanf.c (__ctanf): Likewise.
6137 * math/s_ctanh.c (__ctanh): Likewise.
6138 * math/s_ctanhf.c (__ctanhf): Likewise.
6139 * math/s_ctanhl.c (__ctanhl): Likewise.
6140 * math/s_ctanl.c (__ctanl): Likewise.
6141 * math/libm-test.inc (ctan_test_tonearest): New function.
6142 (ctan_test_towardzero): Likewise.
6143 (ctan_test_downward): Likewise.
6144 (ctan_test_upward): Likewise.
6145 (ctanh_test_tonearest): Likewise.
6146 (ctanh_test_towardzero): Likewise.
6147 (ctanh_test_downward): Likewise.
6148 (ctanh_test_upward): Likewise.
6149 (main): Call these new functions.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6153 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6155 * .gitignore: Delete /ports entry.
6157 2012-07-03 Andreas Jaeger <aj@suse.de>
6159 * po/bg.po: Update from translation team.
6160 * po/cs.po: Likewise.
6161 * po/de.po: Likewise.
6162 * po/hr.po: Likewise.
6163 * po/nl.pl: Likewise.
6164 * po/pl.po: Likewise.
6165 * po/vi.po: Likewise.
6167 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6169 * Makeconfig [!+link] (+link-before-libc): New variable.
6170 [!+link] (+link-after-libc): Likewise.
6171 [!+link] (+link-tests): Likewise.
6172 [!+link] (+link): Define in terms of $(+link-before-libc) and
6173 $(+link-after-libc).
6174 [!+link-static] (+link-static-before-libc): New variable.
6175 [!+link-static] (+link-static-after-libc): Likewise.
6176 [!+link-static] (+link-static-tests): Likewise.
6177 [!+link-static] (+link-static): Define in terms of
6178 $(+link-static-before-libc) and $(+link-static-after-libc).
6179 [build-shared] (link-libc-before-gnulib): New variable.
6180 [build-shared] (link-libc-tests): Likewise.
6181 [build-shared] (link-libc): Define in terms of
6182 $(link-libc-before-gnulib).
6183 [!build-shared] (link-libc-tests): New variable.
6184 (link-libc-static-tests): New variable.
6185 [!gnulib] (gnulib-arch): New variable.
6186 [!gnulib] (gnulib-tests): Likewise.
6187 [!gnulib] (static-gnulib-arch): Likewise.
6188 [!gnulib] (static-gnulib-tests): Likewise.
6189 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6190 Define with "=" instead of ":=".
6191 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6192 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6193 * Rules (binaries-all-notests): New variable.
6194 (binaries-all-tests): Likewise.
6195 (binaries-static-notests): Likewise.
6196 (binaries-static-tests): Likewise.
6197 (binaries-all): Define using $(binaries-all-notests) and
6198 $(binaries-all-tests).
6199 (binaries-static): Define using $(binaries-static-notests) and
6200 $(binaries-static-tests).
6201 (binaries-shared-tests): New variable.
6202 (binaries-shared-notests): Likewise.
6203 (binaries-shared): Remove variable.
6204 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6205 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6206 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6207 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6208 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6209 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6210 * elf/Makefile (sln-modules): New variable.
6211 (extra-objs): Add $(sln-modules:=.o).
6212 (ldconfig-modules): Add static-stubs.
6213 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6214 * elf/static-stubs.c: New file.
6217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6218 by 7 not 8 to examine high bit of fractional part. Use volatile
6219 variables when splitting into final array of floats if
6220 __FLT_EVAL_METHOD__ != 0.
6221 * math/libm-test.inc (cos_test): Add another test.
6222 (sin_test): Likewise.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6226 * math/libm-test.inc (cosh_test): Add more tests.
6228 * version.h (RELEASE): Set to "development".
6229 (VERSION): Set to "2.16.90".
6231 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6233 * NEWS: Update copyright. Remove last-updated date.
6234 Mention math library bug fixes and timezone data changes.
6235 * README: Mention GNU/Hurd, x32, and HPPA support status.
6237 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6239 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6241 2012-06-27 Andreas Jaeger <aj@suse.de>
6243 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6245 2012-06-25 Andreas Jaeger <aj@suse.de>
6247 * sysdeps/s390/fpu/libm-test-ulps: Update.
6249 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6250 Thomas Schwinge <thomas@codesourcery.com>
6252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6253 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6257 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6259 * sysdeps/mach/start.c: Remove file.
6260 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6261 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6262 * sysdeps/sh/init-first.c: Likewise.
6264 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6265 registers for frame unwinding purposes, add CFI directives.
6266 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6268 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6271 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6272 __fortify_fail returning.
6273 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6275 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6276 sysdeps/sh/____longjmp_chk.S.
6277 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6278 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6279 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6280 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6282 * sysdeps/sh/abort-instr.h: New file.
6283 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6284 process in case exit returns.
6286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6287 initialize the GOT register before use.
6289 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6290 calculation of ARGC > 4.
6292 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6293 meaningful names to some local labels.
6295 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6296 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6298 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6299 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6300 (__arch_compare_and_exchange_val_16_acq): Likewise.
6301 (__arch_compare_and_exchange_val_32_acq): Likewise.
6302 (atomic_exchange_and_add): Fix gUSA sequence.
6303 (atomic_add): Likewise.
6304 (atomic_add_negative): Likewise.
6305 (atomic_add_zero): Likewise.
6306 (atomic_bit_test_set): Likewise.
6308 2012-06-22 Andreas Schwab <schwab@redhat.com>
6311 * include/link.h (struct link_map): Add l_free_initfini.
6312 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6314 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6315 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6316 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6319 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6321 * configure.in: Use AC_LANG_SOURCE.
6322 * configure: Regenerate.
6324 2012-06-22 Roland McGrath <roland@hack.frob.com>
6326 * configure.in (libc_cv_localstatedir): New substituted variable.
6327 * configure: Regenerated.
6328 * config.make.in (localstatedir): New variable, substituted from
6329 libc_cv_localstatedir.
6330 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6331 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6332 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6333 * sysdeps/gnu/configure: Regenerated.
6335 2012-06-21 Jeff Law <law@redhat.com>
6338 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6339 free. Simplify list management for _LIBC case.
6341 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6345 Clear sign bit of 64-bit integer value before comparing against
6348 * sysdeps/mach/configure: Regenerated.
6350 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6353 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6355 2012-06-21 Jeff Law <law@redhat.com>
6358 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6359 uint16_t for elements in the "seen" array to avoid char overflows.
6360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6361 * elf/dl-open.c (dl_open_worker): Likewise.
6363 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6365 * scripts/list-sources.sh: Scan PORTS for translations.
6366 * po/libc.pot: Regenerated.
6368 2012-06-21 Andreas Jaeger <aj@suse.de>
6371 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6373 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6374 * bits/byteswap-16.h (__bswap_16): Likewise.
6375 * bits/byteswap.h (__bswap_constant_16): Likewise.
6377 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6380 * sysdeps/i386/fpu_control.h: Removed.
6381 * sysdeps/x86_64/fpu_control.h: Moved to ...
6382 * sysdeps/x86/fpu_control.h: Here.
6384 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6385 (_FPU_SETCW): Likewise.
6387 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6390 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6391 * sysdeps/x86/fpu/bits/mathinline.h: This.
6392 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6396 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6397 functions if __x86_64__ is defined.
6399 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6401 * string/endian.h: Add !__ASSEMBLER__ condition for including
6402 conversion interfaces.
6404 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6408 of ABS(x) in calculating zero to negative powers other than odd
6410 * math/libm-test.inc (pow_test): Add more tests.
6412 2012-06-15 Andreas Jaeger <aj@suse.de>
6414 * manual/contrib.texi (Contributors): Update entry of Liubov
6415 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6418 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6420 * string/string.h: Add __wur to GNU version of strerror_r.
6422 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6425 * string/Makefile (tests): Add tst-strtok_r.
6426 * string/tst-strtok_r.c: New file.
6427 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6428 RAX_LP/RDX_LP on SAVE_PTR.
6430 2012-06-14 Roland McGrath <roland@hack.frob.com>
6432 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6434 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6436 * libm_test.inc (csqrt_test): Allow more spurious underflow
6438 (j0_test): Likewise.
6439 (j1_test): Likewise.
6440 (y0_test): Likewise.
6441 (y1_test): Likewise.
6443 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6445 * po/Makefile (libc.pot): Use UTF-8 charset.
6447 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6450 Suppress sign-conversion warning from FD_SET.
6451 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6452 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6453 not unsigned long int.
6454 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6456 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6460 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6461 __extern_always_inline instead of __extern_inline.
6462 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6463 (__signbit): Likewise.
6464 (__signbitl): Support C++ namespace.
6465 (lrintf): New inline function.
6467 (llrintf): Likewise.
6479 (nearbyint): Likewise.
6480 (nearbyintf): Likewise.
6482 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6484 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6485 non-default versions.
6487 2012-06-11 Roland McGrath <roland@hack.frob.com>
6490 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6492 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6494 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6495 (FE_UPWARD, FE_DOWNWARD): Don't define.
6496 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6501 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6502 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6504 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6506 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6508 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6509 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6511 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6514 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6515 * sysdeps/i386/fpu/Implies: New file.
6516 * sysdeps/x86_64/fpu/Implies: Likewise.
6517 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6518 * sysdeps/x86/fpu/bits/fenv.h: This.
6520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6523 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6526 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6527 character 0xffff that matches the last element of the
6530 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6535 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6538 values higher than 25.6283.
6540 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6543 subnormal exponent extraction and add some __builtin_expect.
6544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6545 Fix for subnormal mantissa calculation.
6547 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6549 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6550 cpu2 is -1 and errno is not ENOSYS.
6552 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6555 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6556 * sysdeps/x86/bits/string.h: This.
6557 * sysdeps/x86_64/bits/string.h: Removed.
6559 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6560 if not compiling for x86-64, but compiling for >= i486.
6562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6563 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6566 New macro from Linux kernel 3.4.0.
6567 (FP_XSTATE_MAGIC2): Likewise.
6568 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6569 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6570 (struct _fpx_sw_bytes): New struct.
6571 (struct _xsave_hdr): Likewise.
6572 (struct _ymmh_state): Likewise.
6573 (struct _xstate): Likewise.
6575 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6576 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6578 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6579 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6580 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6582 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6584 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6585 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6586 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6587 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6589 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6592 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6593 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6594 (sysdep_headers): Include sys/platform/ppc.h.
6595 * sysdeps/powerpc/test-gettimebase.c: Test for
6596 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6597 * manual/Makefile (appendices): Include platform.texi.
6598 * manual/contrib.texi (Contributors): Update @node pointers.
6599 * manual/maint.texi (Maintenance): Likewise.
6600 (Platform): New node.
6601 * manual/platform.texi: New file. Document the new features.
6603 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6604 Jakub Jelinek <jakub@redhat.com>
6607 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6608 where __builtin_expect is unavailable.
6610 2012-06-03 David S. Miller <davem@davemloft.net>
6612 * stdlib/longlong.h: Updated from GCC.
6614 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6617 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6618 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6621 (GLIBC_2.16): Likewise.
6623 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6625 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6627 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6630 (default-abi): New variable.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6632 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6634 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6636 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6638 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6641 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6642 definition. Document in comment.
6644 2012-06-01 David S. Miller <davem@davemloft.net>
6646 * stdlib/longlong.h: Updated from GCC.
6648 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6651 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6652 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6653 sys/debugreg.h sys/io.h here.
6654 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6655 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6657 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6658 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6659 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6660 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6661 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6662 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6665 Define only if __x86_64__ is defined.
6667 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6670 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6671 Use int64_t for variable i.
6672 * math/libm-test.inc (fmod_test): Add more tests.
6674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6675 z computation is not scheduled after fetestexcept.
6676 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6677 Use math_force_eval instead of asm to ensure calculation scheduled
6678 before exception test.
6679 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6680 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6682 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6685 computation is not scheduled after fetestexcept.
6687 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6690 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6691 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6693 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6695 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6696 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6698 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6701 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6703 (__WCHAR_MIN): Support __WORDSIZE == 64.
6704 (__WCHAR_MAX): Likewise.
6706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6711 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6714 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6717 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6718 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6721 Defined to 1 if __x86_64__ isn't defined.
6722 (_STAT_VER_LINUX_OLD): New.
6723 (st_atime): Remove duplicate.
6724 (st_mtime): Likewise.
6725 (st_ctime): Likewise.
6727 2012-05-31 David S. Miller <davem@davemloft.net>
6729 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6732 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6734 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6738 * elf/dl-reloc.c: Include <_itoa.h>.
6739 (_dl_reloc_bad_type): Remove use of INTUSE.
6740 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6741 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6742 * stdio-common/psiginfo.c (psiginfo): Likewise.
6743 * stdio-common/psignal.c (psignal): Likewise.
6744 * string/strsignal.c (strsignal): Likewise.
6745 * include/signal.h (_sys_siglist): Declare hidden proto.
6746 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6747 INTVARDEF with libc_hidden_data_def.
6748 * stdio-common/itoa-udigits.c: Likewise.
6749 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6750 (_itoa_lower_digits_internal): Remove declaration.
6751 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6752 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6753 (_sys_sigabbrev_internal): Remove aliases.
6754 (_sys_siglist): Define hidden alias.
6756 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6761 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6764 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6765 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6767 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6768 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6769 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6770 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6772 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6774 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6776 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6788 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6790 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6791 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6793 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6794 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6795 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6797 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6798 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6800 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6801 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6807 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6808 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6810 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6812 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6813 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6814 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6816 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6818 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6820 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6822 * math/math.h (M_El): Use two more decimal places.
6823 (M_LOG2El): Likewise.
6824 (M_LOG10El): Likewise.
6826 (M_LN10l): Likewise.
6828 (M_PI_2l): Likewise.
6829 (M_PI_4l): Likewise.
6830 (M_1_PIl): Likewise.
6831 (M_2_PIl): Likewise.
6832 (M_2_SQRTPIl): Likewise.
6833 (M_SQRT2l): Likewise.
6834 (M_SQRT1_2l): Likewise.
6836 2012-05-31 David S. Miller <davem@davemloft.net>
6838 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6839 values between float registers.
6840 * sysdeps/sparc/sparc64/memset.S: Likewise.
6841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6843 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6845 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6846 -D_FORTIFY_SOURCE=1.
6847 (CPPFLAGS-tst-longjmp_chk.c): Define.
6848 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6849 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6850 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6851 CFLAGS-tst-wchar-h.c.
6853 2012-05-31 Marek Polacek <polacek@redhat.com>
6856 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6857 __endmntent_internal): Remove declaration.
6858 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6859 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6860 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6862 2012-05-30 David S. Miller <davem@davemloft.net>
6864 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6865 (___Q_simulate_exceptions): Use real FP ops rather than writing
6867 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6870 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6873 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6874 * sysdeps/x86/bits/xtitypes.h: This.
6876 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6877 * sysdeps/x86/bits/wordsize.h: This.
6879 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6880 * sysdeps/x86/bits/huge_vall.h: This.
6882 * sysdeps/i386/bits/select.h: Removed.
6883 * sysdeps/x86_64/bits/select.h: Renamed to ...
6884 * sysdeps/x86/bits/select.h: This.
6886 * sysdeps/i386/bits/setjmp.h: Removed.
6887 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6888 * sysdeps/x86/bits/setjmp.h: This.
6890 * sysdeps/i386/bits/mathdef.h: Removed.
6891 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6892 * sysdeps/x86/bits/mathdef.h: This.
6894 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6897 * include/sys/socket.h (__connect_internal)
6898 (__libc_sa_len_internal): Remove declaration.
6899 (__connect, __libc_sa_len): Declare hidden_proto.
6900 (SA_LEN): Remove use of INTUSE.
6901 * socket/connect.c: Add libc_hidden_def.
6902 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6903 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6904 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6906 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6908 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6909 of adding _internal alias.
6911 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6914 * sysdeps/i386/bits/link.h: Removed.
6915 * sysdeps/i386/bits/linkmap.h: Likewise.
6916 * sysdeps/x86_64/bits/link.h: Renamed to ...
6917 * sysdeps/x86/bits/link.h: This.
6918 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6919 * sysdeps/x86/bits/linkmap.h: This.
6921 * sysdeps/i386/bits/endian.h: Removed.
6922 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6923 * sysdeps/x86/bits/endian.h: This.
6925 * sysdeps/i386/bits/byteswap.h: Removed.
6926 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6927 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6928 * sysdeps/x86/bits/byteswap.h: This.
6929 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6930 * sysdeps/x86/bits/byteswap-16.h: This.
6931 * sysdeps/i386/Implies: Add x86.
6932 * sysdeps/x86_64/Implies: Likewise.
6934 2012-05-30 David S. Miller <davem@davemloft.net>
6936 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6937 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6939 (FP_TRAPPING_EXCEPTIONS): Define.
6940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6941 (FP_TRAPPING_EXCEPTIONS): Define.
6942 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6943 subnormals only when inexact has been signalled or underflow
6944 exceptions are enabled.
6945 (_FP_PACK_CANONICAL): Likewise.
6947 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6951 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6953 2012-05-30 Richard Henderson <rth@twiddle.net>
6955 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6956 with #ifndef NOT_IN_libc.
6958 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6959 marked to avoid plt entry.
6961 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6964 * Makeconfig (default-abi): New macro.
6965 (abi-includes): Likewise.
6966 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6967 $(abi-$(default-abi)-lib-soname) for soname if defined.
6968 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6970 * Makefile (installed-stubs): Likewise.
6971 * include/stubs-biarch.h: Removed.
6972 * scripts/lib-names.awk: Only handle one library at a time.
6973 * scripts/soversions.awk: Remove WORDSIZE support.
6974 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6976 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6978 (syscall-list-default-condition): Likewise.
6979 (syscall-list-default-condition): Likewise.
6980 (syscall-list-includes): Likewise.
6981 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6982 syscall-list-* with abi-*. Handle undefined abi-variants.
6983 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6984 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6985 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6987 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6988 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6990 (syscall-list-32-options): Likewise.
6991 (syscall-list-32-condition): Likewise.
6992 (syscall-list-64-options): Likewise.
6993 (syscall-list-64-condition): Likewise.
6994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6996 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6999 (abi-64-ld-soname): New macro.
7000 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7001 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7004 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7005 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7007 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7009 * sysdeps/unix/sysv/linux/kernel-features.h
7010 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7011 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7012 include <kernel-features.h>.
7013 [!__NR_ftruncate64]: Remove conditional code.
7014 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7015 [__NR_ftruncate64]: Make code unconditional.
7016 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7017 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7018 include <kernel-features.h>.
7019 [!__NR_ftruncate64]: Remove conditional code.
7020 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7021 [__NR_ftruncate64]: Make code unconditional.
7022 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7024 include <kernel-features.h>.
7025 [!__NR_ftruncate64]: Remove conditional code.
7026 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7027 [__NR_ftruncate64]: Make code unconditional.
7028 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7030 include <kernel-features.h>.
7031 [!__NR_ftruncate64]: Remove conditional code.
7032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7033 [__NR_ftruncate64]: Make code unconditional.
7034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7036 * configure.in (libc_cv_fpie): Weaken to a compile test using
7038 * configure: Regenerated.
7040 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7055 2012-05-27 David S. Miller <davem@davemloft.net>
7057 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7059 (__Q_simulate_exceptions): Return void. Change to simulate
7060 exceptions by writing into the %fsr.
7061 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7062 (__Qp_handle_exceptions): Likewise.
7064 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7065 __Qp_handle_exceptions.
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7067 __Qp_handle_exceptions.
7068 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7069 as unused and give dummy FP_RND_NEAREST initializer.
7070 (FP_INHIBIT_RESULTS): Define.
7071 (___Q_simulate_exceptions): Update declaration.
7072 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7074 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7075 as unused and give dummy FP_RND_NEAREST initializer.
7076 (__Qp_handle_exceptions): Update declaration.
7077 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7080 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7082 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7083 the temporary FPU control word.
7084 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7085 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7086 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7087 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7089 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7090 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7091 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7092 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7093 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7096 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7098 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7101 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7103 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7104 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7105 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7106 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7108 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7109 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7112 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7114 * po/h.po: Update from translation team.
7116 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7118 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7120 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7121 handling of denormals.
7122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7123 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7124 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7125 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7131 2012-05-26 Marek Polacek <polacek@redhat.com>
7134 * math/libm-test.inc (fma_test): Don't always expect underflow
7137 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 * elf/tst-execstack.c: Include stackinfo.h.
7141 (do_test): Adjust test case to ensure that pthread_getattr_np
7142 behaviour remains the same after marking stack executable.
7144 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7146 * sysdeps/unix/sysv/linux/kernel-features.h
7147 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7148 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7150 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7151 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7152 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7154 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7155 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7157 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7159 * configure.in: Define the default includes to being none.
7160 * configure: Regenerated.
7162 2012-05-25 Roland McGrath <roland@hack.frob.com>
7164 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7165 * sysdeps/x86_64/setjmp.S: Likewise.
7166 * sysdeps/i386/bsd-setjmp.S: Likewise.
7167 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7168 * sysdeps/i386/setjmp.S: Likewise.
7169 * sysdeps/i386/__longjmp.S: Likewise.
7170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7173 * include/stap-probe.h: New file.
7174 * configure.in: Handle --enable-systemtap.
7175 * configure: Regenerated.
7176 * config.h.in (USE_STAP_PROBE): New #undef.
7177 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7178 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7179 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7181 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7185 to 2.4.0 where earlier.
7186 * sysdeps/unix/sysv/linux/configure: Regenerated.
7187 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7188 <kernel-features.h>.
7189 [__ASSUME_32BITUIDS]: Make code unconditional.
7190 [!__ASSUME_32BITUIDS]: Remove conditional code.
7191 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7192 <kernel-features.h>.
7193 [__ASSUME_32BITUIDS]: Make code unconditional.
7194 [!__ASSUME_32BITUIDS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7196 [__ASSUME_32BITUIDS]: Make code unconditional.
7197 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7198 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7199 <kernel-features.h>.
7200 [__ASSUME_32BITUIDS]: Make code unconditional.
7201 [!__ASSUME_32BITUIDS]: Remove conditional code.
7202 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
7211 <kernel-features.h>.
7212 [__ASSUME_32BITUIDS]: Make code unconditional.
7213 [!__ASSUME_32BITUIDS]: Remove conditional code.
7214 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7215 <kernel-features.h>.
7216 [__ASSUME_32BITUIDS]: Make code unconditional.
7217 [!__ASSUME_32BITUIDS]: Remove conditional code.
7218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7219 <kernel-features.h>.
7220 [__ASSUME_32BITUIDS]: Make code unconditional.
7221 [!__ASSUME_32BITUIDS]: Remove conditional code.
7222 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7223 <kernel-features.h>.
7224 [__ASSUME_32BITUIDS]: Make code unconditional.
7225 [!__ASSUME_32BITUIDS]: Remove conditional code.
7226 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7227 <kernel-features.h>.
7228 [__ASSUME_32BITUIDS]: Make code unconditional.
7229 [!__ASSUME_32BITUIDS]: Remove conditional code.
7230 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7231 <kernel-features.h>.
7232 [__ASSUME_32BITUIDS]: Make code unconditional.
7233 [!__ASSUME_32BITUIDS]: Remove conditional code.
7234 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7235 <kernel-features.h>.
7236 [__ASSUME_32BITUIDS]: Make code unconditional.
7237 [!__ASSUME_32BITUIDS]: Remove conditional code.
7238 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7239 <kernel-features.h>.
7240 [__NR_setresgid] (__setresgid): Do not declare.
7241 [__ASSUME_32BITUIDS]: Make code unconditional.
7242 [!__ASSUME_32BITUIDS]: Remove conditional code.
7243 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7244 <kernel-features.h>.
7245 [__NR_setresuid] (__setresuid): Do not declare.
7246 [__ASSUME_32BITUIDS]: Make code unconditional.
7247 [!__ASSUME_32BITUIDS]: Remove conditional code.
7248 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7249 <kernel-features.h>.
7250 [__ASSUME_32BITUIDS]: Make code unconditional.
7251 [!__ASSUME_32BITUIDS]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7253 <kernel-features.h>.
7254 [__ASSUME_32BITUIDS]: Make code unconditional.
7255 [!__ASSUME_32BITUIDS]: Remove conditional code.
7256 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7257 <kernel-features.h>.
7258 [__ASSUME_32BITUIDS]: Make code unconditional.
7259 [!__ASSUME_32BITUIDS]: Remove conditional code.
7260 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7261 <kernel-features.h>.
7262 [__ASSUME_32BITUIDS]: Make code unconditional.
7263 [!__ASSUME_32BITUIDS]: Remove conditional code.
7264 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7265 <kernel-features.h>.
7266 [__ASSUME_32BITUIDS]: Make code unconditional.
7267 [!__ASSUME_32BITUIDS]: Remove conditional code.
7268 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7269 <kernel-features.h>.
7270 [__ASSUME_32BITUIDS]: Make code unconditional.
7271 [!__ASSUME_32BITUIDS]: Remove conditional code.
7272 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7273 <kernel-features.h>.
7274 [__ASSUME_32BITUIDS]: Make code unconditional.
7275 [!__ASSUME_32BITUIDS]: Remove conditional code.
7276 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7277 <kernel-features.h>.
7278 [__ASSUME_32BITUIDS]: Make code unconditional.
7279 [!__ASSUME_32BITUIDS]: Remove conditional code.
7280 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7281 <kernel-features.h>.
7282 [__ASSUME_32BITUIDS]: Make code unconditional.
7283 [!__ASSUME_32BITUIDS]: Remove conditional code.
7284 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7285 <kernel-features.h>.
7286 [__ASSUME_32BITUIDS]: Make code unconditional.
7287 [!__ASSUME_32BITUIDS]: Remove conditional code.
7288 * sysdeps/unix/sysv/linux/kernel-features.h
7289 (__ASSUME_SETRESUID_SYSCALL): Remove.
7290 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7291 (__ASSUME_32BITUIDS): Likewise.
7292 (__ASSUME_LDT_WORKS): Likewise.
7293 (__ASSUME_O_DIRECTORY): Likewise.
7294 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7295 architecture but not kernel version.
7296 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7297 (__ASSUME_MMAP2_SYSCALL): Likewise.
7298 (__ASSUME_STAT64_SYSCALL): Likewise.
7299 (__ASSUME_IPC64): Likewise.
7300 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7301 <kernel-features.h>.
7302 [__ASSUME_32BITUIDS]: Make code unconditional.
7303 [!__ASSUME_32BITUIDS]: Remove conditional code.
7304 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7305 <kernel-features.h>.
7306 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7307 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7308 132096]: Remove conditional code.
7309 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7310 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7311 <kernel-features.h>.
7312 [__ASSUME_32BITUIDS]: Make code unconditional.
7313 [!__ASSUME_32BITUIDS]: Remove conditional code.
7314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7315 <kernel-features.h>.
7316 [__ASSUME_32BITUIDS]: Make code unconditional.
7317 [!__ASSUME_32BITUIDS]: Remove conditional code.
7318 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7319 <kernel-features.h>.
7320 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7322 (__setresgid): Do not declare.
7323 [__ASSUME_32BITUIDS]: Make code unconditional.
7324 [!__ASSUME_32BITUIDS]: Remove conditional code.
7325 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7326 <kernel-features.h>.
7327 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7329 (__setresuid): Do not declare.
7330 [__ASSUME_32BITUIDS]: Make code unconditional.
7331 [!__ASSUME_32BITUIDS]: Remove conditional code.
7332 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7333 <kernel-features.h>.
7334 [__ASSUME_32BITUIDS]: Make code unconditional.
7335 [!__ASSUME_32BITUIDS]: Remove conditional code.
7336 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7337 <kernel-features.h>.
7338 [__ASSUME_32BITUIDS]: Make code unconditional.
7339 [!__ASSUME_32BITUIDS]: Remove conditional code.
7341 2012-05-25 Richard Henderson <rth@twiddle.net>
7343 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7344 dl_hwcap to ifunc resolver.
7345 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7347 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7348 dl_hwcap to ifunc resolver.
7349 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7351 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7354 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7355 for |x| <= 2**-26, not 2**-57.
7356 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7359 2012-05-24 Jeff Law <law@redhat.com>
7361 * stdio-common/Makefile (tests): Add bug25.
7362 * stdio-common/bug25.c: New test.
7364 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7367 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7368 multiple of MALLOC_ALIGNMENT in size.
7369 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7371 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7373 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7375 (FILENAME_MAX): Use macro-int-constant.
7376 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7377 (_IOFBF): Use macro-int-constant.
7380 (SEEK_CUR): Likewise.
7381 (SEEK_END): Likewise.
7382 (SEEK_SET): Likewise.
7383 (TMP_MAX): Likewise.
7384 (EOF): Use macro-int-constant. Require < 0.
7385 (NULL): Use macro-constant. Require == 0.
7386 (stdin): Require type to be FILE *.
7389 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7391 (EXIT_SUCCESS): Likewise.
7392 (NULL): Use macro-constant. Require == 0.
7393 (RAND_MAX): Use macro-int-constant.
7394 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7395 [C99-based standards] (strtof): Require function.
7396 [C99-based standards] (strtold): Likewise.
7397 [C99-based standards] (strtoll): Likewise.
7398 [C99-based standards] (strtoull): Likewise.
7399 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7400 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7401 [ISO || ISO99 || ISO11] (math.h): Likewise.
7402 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7403 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7406 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7409 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7410 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7411 * intl/dgettext.c (DCGETTEXT): Likewise.
7412 * intl/gettext.c (DCGETTEXT): Likewise.
7413 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7414 * posix/regex_internal.h (gettext): Likewise.
7415 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7417 * include/argz.h (__argz_count_internal)
7418 (__argz_stringify_internal): Remove declaration.
7419 (__argz_count, __argz_stringify): Declare hidden proto.
7420 * intl/dcgettext.c: Remove use of INTDEF.
7421 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7422 * string/argz-stringify.c: Likewise.
7423 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7424 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7425 Declare hidden proto.
7426 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7427 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7428 Declare hidden proto.
7429 * include/stdio.h (__asprintf_internal): Don't declare.
7430 (__asprintf): Don't define as macro. Declare hidden proto.
7431 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7432 (__fsetlocking): Declare hidden proto.
7433 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7434 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7436 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7437 (_IO_setlinebuf): Remove use of INTUSE.
7438 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7439 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7440 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7442 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7443 (_IO_do_flush): Remove use of INTUSE.
7444 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7445 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7446 (_IO_adjust_column, _IO_least_wmarker)
7447 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7448 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7449 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7450 (_IO_default_doallocate, _IO_wdefault_doallocate)
7451 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7452 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7453 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7454 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7455 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7456 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7457 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7458 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7459 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7460 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7461 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7462 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7463 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7465 (_IO_flush_all_internal, _IO_adjust_column_internal)
7466 (_IO_default_uflow_internal, _IO_default_finish_internal)
7467 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7468 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7469 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7470 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7471 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7472 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7473 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7474 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7475 (_IO_file_close_internal, _IO_file_close_it_internal)
7476 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7477 (_IO_file_init_internal, _IO_file_attach_internal)
7478 (_IO_file_fopen_internal, _IO_file_read_internal)
7479 (_IO_file_sync_internal, _IO_file_seek_internal)
7480 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7481 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7482 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7483 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7484 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7485 (_IO_list_all_internal, _IO_link_in_internal)
7486 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7487 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7488 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7489 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7490 (_IO_do_write_internal, _IO_padn_internal)
7491 (_IO_getline_info_internal, _IO_getline_internal)
7492 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7493 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7494 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7495 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7496 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7497 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7498 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7499 with libc_hidden_ver, remove use of INTUSE.
7500 * libio/genops.c: Likewise.
7501 * libio/freopen.c: Likewise.
7502 * libio/freopen64.c: Likewise.
7503 * libio/iofclose.c: Likewise.
7504 * libio/iofdopen.c: Likewise.
7505 * libio/iofflush.c: Likewise.
7506 * libio/iofflush_u.c: Likewise.
7507 * libio/iofgets.c: Likewise.
7508 * libio/iofgets_u.c: Likewise.
7509 * libio/iofopen.c: Likewise.
7510 * libio/iofopncook.c: Likewise.
7511 * libio/iofread.c: Likewise.
7512 * libio/iofread_u.c: Likewise.
7513 * libio/ioftell.c: Likewise.
7514 * libio/iofwrite.c: Likewise.
7515 * libio/iogetline.c: Likewise.
7516 * libio/iogets.c: Likewise.
7517 * libio/iogetwline.c: Likewise.
7518 * libio/iopadn.c: Likewise.
7519 * libio/iopopen.c: Likewise.
7520 * libio/ioseekoff.c: Likewise.
7521 * libio/ioseekpos.c: Likewise.
7522 * libio/iosetbuffer.c: Likewise.
7523 * libio/iosetvbuf.c: Likewise.
7524 * libio/ioungetc.c: Likewise.
7525 * libio/ioungetwc.c: Likewise.
7526 * libio/iovdprintf.c: Likewise.
7527 * libio/iovsprintf.c: Likewise.
7528 * libio/iovsscanf.c: Likewise.
7529 * libio/memstream.c: Likewise.
7530 * libio/obprintf.c: Likewise.
7531 * libio/oldfileops.c: Likewise.
7532 * libio/oldiofclose.c: Likewise.
7533 * libio/oldiofdopen.c: Likewise.
7534 * libio/oldiofopen.c: Likewise.
7535 * libio/oldiopopen.c: Likewise.
7536 * libio/oldstdfiles.c: Likewise.
7537 * libio/putc.c: Likewise.
7538 * libio/setbuf.c: Likewise.
7539 * libio/setlinebuf.c: Likewise.
7540 * libio/stdfiles.c: Likewise.
7541 * libio/strops.c: Likewise.
7542 * libio/vasprintf.c: Likewise.
7543 * libio/vscanf.c: Likewise.
7544 * libio/vsnprintf.c: Likewise.
7545 * libio/vswprintf.c: Likewise.
7546 * libio/wfiledoalloc.c: Likewise.
7547 * libio/wfileops.c: Likewise.
7548 * libio/wgenops.c: Likewise.
7549 * libio/wmemstream.c: Likewise.
7550 * libio/wstrops.c: Likewise.
7551 * libio/__fpurge.c: Likewise.
7552 * libio/__fsetlocking.c: Likewise.
7553 * assert/assert.c: Likewise.
7554 * debug/fgets_chk.c: Likewise.
7555 * debug/fgets_u_chk.c: Likewise.
7556 * debug/fread_chk.c: Likewise.
7557 * debug/fread_u_chk.c: Likewise.
7558 * debug/gets_chk.c: Likewise.
7559 * debug/obprintf_chk.c: Likewise.
7560 * debug/vasprintf_chk.c: Likewise.
7561 * debug/vdprintf_chk.c: Likewise.
7562 * debug/vsnprintf_chk.c: Likewise.
7563 * debug/vsprintf_chk.c: Likewise.
7564 * malloc/mtrace.c: Likewise.
7565 * misc/error.c: Likewise.
7566 * misc/syslog.c: Likewise.
7567 * stdio-common/asprintf.c: Likewise.
7568 * stdio-common/fxprintf.c: Likewise.
7569 * stdio-common/getw.c: Likewise.
7570 * stdio-common/isoc99_fscanf.c: Likewise.
7571 * stdio-common/isoc99_scanf.c: Likewise.
7572 * stdio-common/isoc99_vfscanf.c: Likewise.
7573 * stdio-common/isoc99_vscanf.c: Likewise.
7574 * stdio-common/isoc99_vsscanf.c: Likewise.
7575 * stdio-common/printf-prs.c: Likewise.
7576 * stdio-common/printf_fp.c: Likewise.
7577 * stdio-common/printf_fphex.c: Likewise.
7578 * stdio-common/printf_size.c: Likewise.
7579 * stdio-common/putw.c: Likewise.
7580 * stdio-common/scanf.c: Likewise.
7581 * stdio-common/sprintf.c: Likewise.
7582 * stdio-common/tmpfile.c: Likewise.
7583 * stdio-common/vfprintf.c: Likewise.
7584 * stdio-common/vfscanf.c: Likewise.
7585 * stdlib/strfmon_l.c: Likewise.
7586 * sunrpc/openchild.c: Likewise.
7587 * sunrpc/xdr_stdio.c: Likewise.
7588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7589 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7591 2012-05-24 Roland McGrath <roland@hack.frob.com>
7593 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7595 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7596 in the third column, to generate for the shared library an IFUNC
7597 that uses _dl_vdso_vsym.
7598 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7599 * Makeconfig (object-suffixes-noshared): New variable.
7601 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7602 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7603 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7604 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7607 * include/sys/time.h (__gettimeofday): Remove macro.
7608 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7609 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7611 (__gettimeofday): Add libc_hidden_def.
7612 (gettimeofday): Add libc_hidden_weak.
7613 * sysdeps/mach/gettimeofday.c: Likewise.
7614 * sysdeps/posix/gettimeofday.c: Likewise.
7615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7616 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7618 (__gettimeofday_internal): Remove strong_alias.
7619 (__gettimeofday): Add libc_hidden_def.
7620 (gettimeofday): Add libc_hidden_weak.
7621 * sysdeps/unix/syscalls.list (gettimeofday):
7622 Remove __gettimeofday_internal alias.
7624 2012-05-24 Daniel Jacobowitz <drow@false.org>
7625 H.J. Lu <hongjiu.lu@intel.com>
7628 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7629 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7630 (largebin_index_32_big): New.
7631 (largebin_index): Use it for 16-byte alignment.
7632 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7633 correction with front_misalign.
7635 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7663 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7664 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7666 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7670 * math/libm-test.inc (exp_test): Add test from bug 14036.
7671 (pow_test): Add test from bug 10846.
7673 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7675 (special_function): Do not include flags in test name.
7676 (parse_args): Likewise.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7680 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7683 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7685 * math/libm-test.inc ("Philosophy"): Update comment about
7687 (UNDERFLOW_EXCEPTION): New macro.
7688 (UNDERFLOW_EXCEPTION_OK): Likewise.
7689 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7690 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7691 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7692 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7693 (INVALID_EXCEPTION_OK): Update value.
7694 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7695 (OVERFLOW_EXCEPTION_OK): Likewise.
7696 (IGNORE_ZERO_INF_SIGN): Likewise.
7697 (test_exceptions): Handle underflow exceptions.
7698 (acos_test): Update for underflow exception expectations.
7699 (cexp_test): Likewise.
7700 (clog_test): Likewise.
7701 (clog10_test): Likewise.
7702 (csqrt_test): Likewise.
7703 (ctan_test): Likewise.
7704 (ctanh_test): Likewise.
7705 (exp_test): Likewise.
7706 (exp10_test): Likewise.
7707 (exp2_test): Likewise.
7708 (expm1_test): Likewise.
7709 (fma_test): Likewise.
7710 (j0_test): Likewise.
7711 (jn_test): Likewise.
7712 (nexttoward_test): Likewise.
7713 (pow_test): Likewise.
7714 (scalbn_test): Likewise.
7715 (scalbln_test): Likewise.
7716 (tan_test): Likewise.
7717 (y1_test): Likewise.
7718 * sysdeps/i386/fpu/libm-test-ulps: Update.
7719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7721 2012-05-23 David S. Miller <davem@davemloft.net>
7723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7724 (__libc_sigaction): Remove unused local variables.
7726 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7728 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7730 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7732 mktime: avoid signed integer overflow
7733 * time/mktime.c (__mktime_internal): Do not mishandle the case
7734 where diff == INT_MIN.
7736 mktime: simplify computation of average
7737 * time/mktime.c (ranged_convert): Use new time_t_avg function
7738 instead of rolling our own (probably-slower) code.
7740 mktime: do not assume signed right shift propagates sign bit
7741 * time/mktime.c (isdst_differ): New static function.
7742 (__mktime_internal): No need to normalize tm_isdst now.
7743 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7746 mktime: merge another wrapv change from gnulib
7747 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7748 from some compilers.
7750 mktime: remove incorrect attempt at unusual arithmetics
7751 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7752 The code didn't really work on such machines anyway.
7753 (TYPE_MINIMUM): Assume two's complement.
7754 (twos_complement_arithmetic): Verify that long_int and time_t
7755 are two's complement (or unsigned, in the latter case).
7757 mktime: check signed shifts on long_int and time_t, too
7758 * time/mktime.c (SHR): Check that shifts work as desired
7759 on the types long_int and time_t too, as SHR is used on
7762 mktime: do not assume 'long' is wide enough
7763 * time/mktime.c (verify): Move decl up.
7764 (long_int): New type.
7765 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7766 to remove assumption in the code that 'long' is wide enough to
7767 store year values. This assumption is not true on x32 and on
7768 some non-glibc platforms.
7770 mktime: merge wrapv change from gnulib
7771 * time/mktime.c (WRAPV): New macro.
7772 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7773 (guess_time_tm, __mktime_internal): Do not assume that signed
7774 integer overflow wraps around; modern compilers generate code
7775 where this assumption is no longer valid.
7777 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7779 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7780 Replace "jmp L(pseudo_end)" with "ret".
7781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7784 2012-05-23 Andreas Jaeger <aj@suse.de>
7786 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7787 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7789 2012-05-23 Andreas Jaeger <aj@suse.de>
7790 Maximilian Attems <max@stro.at>
7792 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7795 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7798 code so that pseudo_end is just ret and the stack pointer is
7799 correct also for static library in error case.
7801 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7803 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7804 move to syscalls.list.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7810 * manual/install.texi (Running make install): Do not mention Linux
7811 kernel version for which pt_chown is not needed.
7812 (Linux): Do not mention problems with nscd with 2.0 kernels.
7813 * INSTALL: Regenerated.
7815 2012-05-23 Andreas Jaeger <aj@suse.de>
7817 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7818 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7820 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7821 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7822 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7823 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7824 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7825 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7827 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7829 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7830 * sysdeps/unix/sysv/linux/bits/in.h
7831 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7833 2012-05-22 Roland McGrath <roland@hack.frob.com>
7835 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7836 (PREPARE_VERSION): Just use assert instead, it will be elided
7837 under [NDEBUG] anyway.
7839 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7841 * sysdeps/unix/sysv/linux/Makefile: Include
7842 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7843 (sysdep_routines): Remove sysctl.
7844 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7845 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7847 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7848 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7850 2012-05-22 Andreas Jaeger <aj@suse.de>
7852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7853 that pseudo_end is just ret and the stack pointer is correct also
7854 for static library in error case.
7856 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7859 * nss/nsswitch.c (defconfig_entries): New variable.
7860 (__nss_database_lookup): Don't leak defconfig entries.
7861 (nss_parse_service_list): Don't leak on error paths.
7862 (free_database_entries): New function.
7863 (free_defconfig): New function.
7864 (free_mem): Move common code to free_database_entries.
7866 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7870 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7872 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7873 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7876 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7877 (INTERNAL_SYSCALL_TYPES): Likewise.
7878 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7879 (LOAD_REGS_TYPES_[1-6]): Likewise.
7880 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7881 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7883 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7886 copysignl for GLIBC_2_0.
7887 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7888 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7890 logbl for GLIBC_2_0.
7891 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7892 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7894 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7897 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7899 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7902 * time/mktime.c: Update copyright years.
7904 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7906 mktime: merge comment-quoting-style change from gnulib
7907 * time/mktime.c: Quote 'like this' in comments.
7908 The GNU coding standards suggest that we no longer quote `like this',
7909 as "`" and "'" are typically rendered asymmetrically nowadays.
7910 The typical gnulib style is to quote 'like this' when quoting
7911 code, and "like this" when quoting English.
7913 * time/mktime.c (compile-command): Add "-I.".
7915 mktime: merge mktime-internal.h change from gnulib
7916 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7918 mktime: merge time_r change from gnulib
7919 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7921 mktime: merge DEBUG change from gnulib
7922 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7923 case system <time.h> has a #define.
7925 mktime: merge <sys/types.h> change from gnulib
7926 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7927 since <time.t> is now guaranteed to define time_t.
7929 mktime: merge HAVE_CONFIG_H change from gnulib
7930 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7932 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7937 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7939 (struct rusage): Use anonymous union to pad each field to
7942 2012-05-21 David S. Miller <davem@davemloft.net>
7944 * Makefules (o-iterator): Remove .s cases.
7945 (compile-command.s): Delete.
7946 (COMPILE.s): Delete.
7947 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7949 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7951 * configure.in (libc_cv_predef_stack_protector): Only consider
7952 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7953 * configure: Regenerated.
7955 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7958 New macro. Use R*LP on int and pointer.
7959 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7960 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7961 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7964 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7965 [__WORDSIZE_TIME64_COMPAT32] instead of
7966 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7967 (struct utmp): Likewise.
7968 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7969 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7971 (__WORDSIZE_TIME64_COMPAT32): This.
7972 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7973 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7974 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7975 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7976 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7977 (__WORDSIZE_TIME64_COMPAT32): New macro.
7979 2012-05-21 Andreas Jaeger <aj@suse.de>
7981 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7982 only if [SHARED]. Add prototype for __wcschr_ia32.
7984 2012-05-21 Roland McGrath <roland@hack.frob.com>
7986 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7987 of %rbp unmolested in the jmp_buf while mangling the low bits.
7988 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7989 unmolested high bits of %rbp while demangling the low bits.
7990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7992 2012-05-21 Andreas Jaeger <aj@suse.de>
7994 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7995 * sunrpc/svc_simple.c: Use it for registerrpc.
7996 * sunrpc/xcrypt.c: Use it for passwd2des.
7998 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8000 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8002 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8003 Don't define if [__SYSCALL_WORDSIZE != 32].
8004 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8007 2012-05-21 Bruno Haible <bruno@clisp.org>
8008 Andreas Jaeger <aj@suse.de>
8010 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8011 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8012 inptr and inend for must_buffer_ch.
8013 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8014 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8015 * stdio-common/Makefile (tests): Remove bug15.
8016 (bug15-ENV): Remove macro.
8017 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8020 2012-05-19 Andreas Jaeger <aj@suse.de>
8021 Roland McGrath <roland@hack.frob.com>
8023 * manual/contrib.texi: Completely rewritten. It contains now an
8024 alphabetical list of contributors and their contributions.
8026 2012-05-21 Richard Henderson <rth@twiddle.net>
8028 * misc/getauxval.c (__getauxval): Use unsigned long int.
8029 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8030 (getauxval): Use unsigned long int.
8032 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8034 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8036 2012-05-21 Roland McGrath <roland@hack.frob.com>
8038 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8039 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8040 __alignof__ (long double).
8042 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8046 2012-05-20 Richard Henderson <rth@twiddle.net>
8048 * misc/getauxval.c: New file.
8049 * misc/sys/auxv.h: New file.
8050 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8051 (routines): Add getauxval.
8052 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8053 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8054 * elf/dl-sysdep.c (_dl_auxv): Remove.
8055 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8056 * elf/dl-support.c (_dl_auxv): New variable.
8057 (_dl_aux_init): Initialize it.
8058 * manual/startup.texi (Auxiliary Vector): New node.
8059 * sysdeps/generic/bits/hwcap.h: New file.
8060 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8061 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8062 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8063 * sysdeps/sparc/sysdep.h: ... here. Include it.
8064 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8065 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8077 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8081 2012-05-19 David S. Miller <davem@davemloft.net>
8083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8085 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8088 * math/s_ccosh.c: Include <float.h>
8089 (__ccosh): Avoid internal overflow calculating sinh and cosh
8090 values before multiplying by sin and cos values.
8091 * math/s_ccoshf.c: Likewise.
8092 * math/s_ccoshl.c: Likewise.
8093 * math/s_csin.c: Likewise.
8094 * math/s_csinf.c: Likewise.
8095 * math/s_csinl.c: Likewise.
8096 * math/s_csinh.c: Likewise.
8097 * math/s_csinhf.c: Likewise.
8098 * math/s_csinhl.c: Likewise.
8099 * math/libm-test.inc (ccos_test): Add more tests.
8100 (ccosh_test): Likewise.
8101 (csin_test): Likewise.
8102 (csinh_test): Likewise.
8103 * sysdeps/i386/fpu/libm-test-ulps: Update.
8104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8106 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8108 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8109 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8111 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8113 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8115 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8116 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8117 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8118 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8119 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8120 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8121 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8122 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8123 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8124 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8125 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8126 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8127 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8128 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8129 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8130 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8131 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8132 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8133 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8134 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8135 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8136 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8137 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8138 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8139 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8140 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8141 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8142 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8143 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8144 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8145 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8147 2012-05-18 Andreas Jaeger <aj@suse.de>
8149 * csu/.gitignore: Delete.
8151 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8153 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8154 (timex): Use __syscall_slong_t.
8156 2012-05-18 Andreas Jaeger <aj@suse.de>
8157 Carlos O'Donell <carlos_odonell@mentor.com>
8159 * manual/install.texi (Configuring and compiling): Update
8160 description about files modified in the source directory.
8161 * INSTALL: Regenerated.
8163 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8165 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8166 value. Use "or" to set return value to -1.
8167 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8168 negate return value.
8170 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8172 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8173 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8174 failure if the compiler has Graphite support disabled.
8175 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8177 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8178 CFLAGS-memmove.c): Likewise.
8179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8182 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8184 * sysdeps/x86_64/x32/_itoa.h: New file.
8186 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8187 getdents system call only if kernel and user dirents have the
8188 same d_ino and d_off.
8190 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8191 LLONG_MAX != LONG_MAX.
8192 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8193 (_fitoa_word): Likewise.
8195 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8198 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8199 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8201 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8202 include <bits/wordsize.h>. Check __x86_64__ instead of
8204 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8205 if __x86_64__ is defined. Use anonymous union on fpstate.
8207 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8210 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8212 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8213 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8214 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8215 Refer to _rtld_local_ro instead of _rtld_global_ro.
8216 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8218 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8220 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8222 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8223 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8224 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8226 * sysdeps/powerpc/powerpc32/dl-machine.c
8227 (__elf_machine_runtime_setup) [PROF]: Don't reference
8230 2012-05-18 Andreas Jaeger <aj@suse.de>
8232 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8233 function only available for GCCs before 3.4 since GCC 3.4
8234 introduced a builtin.
8236 (llrintf): Likewise.
8244 (nearbyint): Likewise.
8245 (nearbyintf): Likewise.
8251 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8253 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8254 on both fields and cast pointer to __syscall_ulong_t.
8256 * bits/types.h (__fsword_t): New type.
8257 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8258 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8260 (__FSWORD_T_TYPE): Likewise.
8261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8262 (__FSWORD_T_TYPE): Likewise.
8263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8264 (__FSWORD_T_TYPE): Likewise.
8265 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8266 (__FSWORD_T_TYPE): Likewise.
8267 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8268 __SWORD_TYPE with __fsword_t.
8269 (statfs64): Likewise.
8271 2012-05-17 David S. Miller <davem@davemloft.net>
8273 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8275 2012-05-17 Andreas Jaeger <aj@suse.de>
8277 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8280 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8282 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8284 2012-05-17 Andreas Jaeger <aj@suse.de>
8286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8289 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8291 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8293 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8295 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8296 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8298 2012-05-17 Andreas Jaeger <aj@suse.de>
8299 Carlos O'Donell <carlos_odonell@mentor.com>
8302 * sysdeps/x86_64/multiarch/init-arch.h
8303 (bit_YMM_Usable): Rename to...
8304 (bit_AVX_Usable): ... this.
8305 (bit_FMA4_Usable): New macro.
8306 (bit_XMM_state): New macro.
8307 (bit_YMM_state): New macro.
8308 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8309 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8310 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8311 (CPUID_OSXSAVE): New macro.
8312 (CPUID_AVX): New macro.
8313 (CPUID_FMA4): New macro.
8314 (index_YMM_Usable): Rename to...
8315 (index_AVX_Usable): ... this.
8316 (HAS_AVX): Use HAS_ARCH_FEATURE.
8317 (HAS_FMA4): Likewise.
8318 (HAS_YMM_USABLE): Remove.
8319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8320 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8322 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8323 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8324 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8325 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8326 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8328 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8330 * math/libm-test.c: Support platforms without multiple rounding modes.
8331 * math/bug-nextafter.c: Support platforms without FP exceptions.
8332 * math/bug-nexttoward.c: Likewise.
8333 * math/test-fenv.c: Likewise.
8334 * math/test-misc.c: Likewise.
8335 * stdlib/bug-getcontext.c: Likewise.
8337 2012-05-17 Andreas Jaeger <aj@suse.de>
8339 * manual/examples/search.c (critter_cmp): Change signature to
8341 * manual/string.texi (Collation Functions): Likewise.
8343 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8345 * bits/types.h: Fold copyright years.
8346 * bits/typesizes.h: Likewise.
8347 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8351 * time/time.h: Likewise.
8353 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8356 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8357 in instead of returning them. Return void.
8358 (__libc_mallinfo): Accumulate over all arenas.
8359 (__malloc_stats): Adjust for change in int_mallinfo interface.
8361 2012-05-16 Roland McGrath <roland@hack.frob.com>
8364 * configure.in (NM): Add AC_CHECK_TOOL for it.
8365 (libc_extra_cflags): New substituted variable.
8366 Check for -fstack-protector being used implicitly.
8367 * configure: Regenerated.
8368 * config.make.in (config-extra-cflags): New variable,
8369 gets @libc_extra_cflags@.
8370 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8373 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8374 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8375 * configure: Regenerated.
8376 * config.make.in (CPPUNDEFS): New substituted variable.
8377 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8378 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8379 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8381 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8383 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8384 (mq_attr): Use __syscall_slong_t.
8386 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8388 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8389 Check __x86_64__ instead of __WORDSIZE.
8390 (_STAT_VER_LINUX): Likewise.
8391 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8392 __syscall_ulong_t and __syscall_slong_t.
8395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8399 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8401 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8403 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8405 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8408 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8409 include <bits/wordsize.h>. Check __x86_64__ instead of
8411 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8413 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8416 include <bits/wordsize.h>. Check __x86_64__ instead of
8418 (user_regs_struct): Use "__extension__ unsigned long long"
8419 instead of "unsigned long" if __x86_64__ is defined.
8420 (user): Likewise. Pad after pointer field if __ILP32__ is
8423 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8425 * configure.in (makeinfo): Require version 4.5 or later. Allow
8427 * configure: Regenerated.
8428 * manual/install.texi (texinfo): Increase version requirement to
8430 * INSTALL: Regenerated.
8432 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8434 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8436 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8438 * sysdeps/x86_64/x32/ffs.c: New file.
8440 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8442 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8443 defined. Use __syscall_ulong_t.
8444 (shminfo): Use __syscall_ulong_t.
8445 (shm_info): Likewise.
8447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8450 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8452 (msgqnum_t): Use __syscall_ulong_t.
8453 (msglen_t): Likewise.
8454 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8457 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8458 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8460 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8462 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8463 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8465 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8468 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8469 include <bits/wordsize.h>. Check __x86_64__ instead of
8472 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8473 "unsigned long long int" if __x86_64__ is defined.
8474 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8476 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8477 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8478 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8480 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8482 (GET_PC): Cast to uintptr_t first.
8483 (GET_FRAME): Likewise.
8484 (GET_STACK): Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8489 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8491 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8492 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8493 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8510 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8516 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8518 * Makerules (+depfiles): Also collect depfiles from .oS in
8520 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8521 .oS, $(libnldbl-routines)).
8523 * Makerules (native-compile-mkdep-flags): Define.
8524 * sunrpc/Makefile (extra-objs): Add $(addprefix
8525 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8526 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8527 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8528 calling $(make-target-directory).
8530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8532 * bits/types.h (__snseconds_t): Removed.
8533 * time/time.h (struct timespec): Replace __snseconds_t with
8535 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8536 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8539 (__SNSECONDS_T_TYPE): Likewise.
8540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8541 (__SNSECONDS_T_TYPE): Likewise.
8542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8543 (__SNSECONDS_T_TYPE): Likewise.
8545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8547 * sysdeps/mach/hurd/bits/typesizes.h
8548 (__SYSCALL_SLONG_TYPE): New macro.
8549 (__SYSCALL_ULONG_TYPE): Likewise.
8551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8553 * bits/types.h (__syscall_slong_t): New type.
8554 (__syscall_ulong_t): Likewise.
8556 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8557 (__SYSCALL_ULONG_TYPE): Likewise.
8558 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8559 (__SYSCALL_SLONG_TYPE): Likewise.
8560 (__SYSCALL_ULONG_TYPE): Likewise.
8561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8562 (__SYSCALL_SLONG_TYPE): Likewise.
8563 (__SYSCALL_ULONG_TYPE): Likewise.
8564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8565 (__SYSCALL_SLONG_TYPE): Likewise.
8566 (__SYSCALL_ULONG_TYPE): Likewise.
8568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8570 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8571 Add sigaltstack-offsets.sym.
8572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8573 <sigaltstack-offsets.h>.
8574 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8575 longjmp_msg pointer.
8576 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8577 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8579 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8581 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8583 * elf/stackguard-macros.h: Remove file.
8584 * sysdeps/generic/stackguard-macros.h: New file.
8585 * sysdeps/i386/stackguard-macros.h: Likewise.
8586 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8587 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8588 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8589 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8590 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8591 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8592 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8593 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8594 <elf/stackguard-macros.h>.
8597 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8598 __aligned__ in attribute.
8599 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8600 (gregset_t): Likewise.
8602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8604 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8605 * sysdeps/x86_64/64/Implies-after: Here. New file.
8606 * sysdeps/x86_64/x32/Implies-after: New file.
8608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8610 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8611 and access return value for _dl_profile_fixup. Use R10_LP to
8614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8616 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8620 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8621 * sysdeps/x86_64/x32/sysdep.h: New file.
8623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8625 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8626 * sysdeps/x86_64/setjmp.S: Likewise.
8628 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8632 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8634 remove unused global constant.
8636 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8638 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8639 include of <not-cancel.h>.
8641 2012-05-15 Roland McGrath <roland@hack.frob.com>
8643 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8645 2012-05-15 Jeff Law <law@redhat.com>
8646 Andreas Jaeger <aj@suse.de>
8649 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8651 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8652 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8653 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8654 code changing __hst_map_handle.map.
8656 2012-05-15 Roland McGrath <roland@hack.frob.com>
8658 * configure.in (sysnames): Look for Implies-before and Implies-after
8660 * configure: Regenerated.
8662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8665 8-byte data alignment with LP_SIZE alignment.
8667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8669 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8674 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8679 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8680 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8682 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8686 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8687 (stackinfo_sub_sp): Likewise.
8689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8710 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8711 into R11_LP and load __x86_64_shared_cache_size_half into
8714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8719 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8728 powerpc32/power7/fpu/s_logb.c via #include.
8729 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8730 powerpc32/power7/fpu/s_logbf.c via #include.
8731 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8732 powerpc32/power7/fpu/s_logbl.c via #include.
8734 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8736 * README.libm: Remove file.
8738 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8740 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8741 count for x32. Use R*_LP and omit operand-size suffix.
8743 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8745 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8746 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8747 * sysdeps/x86_64/x32/shlib-versions: New file.
8749 2012-05-14 Roland McGrath <roland@hack.frob.com>
8751 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8752 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8753 Use _dl_fatal_printf instead.
8755 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8757 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8758 set if not set by the user. Do not allow for being unset.
8759 * sysdeps/unix/sysv/linux/configure: Regenerated.
8761 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8763 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8764 the `q' suffix from lea and replace .quad with ASM_ADDR.
8766 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8769 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8771 (PTR_DEMANGLE): Likewise.
8773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8775 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8777 (ASM_ADDR): Likewise.
8795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8797 * sysdeps/x86_64/x32/dl-machine.h: New file.
8799 2012-05-14 Andreas Jaeger <aj@suse.de>
8801 * manual/Makefile (subdir): Remove export of subdir.
8802 (all): Remove target.
8803 (.PHONY): Remove all from list.
8804 (mkinstalldirs): Remove.
8805 (.PHONY): Remove installdirs from list.
8806 ($(inst_infodir)/libc.info): Use make-target-directory.
8807 (installdirs): Remove.
8809 (glibc-targets): Remove.
8812 ($(objpfx)stubs ../po/manual.pot): Remove.
8813 ($(objpfx)stamp%): Remove.
8814 (make-target-directory): Remove.
8815 (subdir_install): Remove.
8823 * manual/.gitignore: Remove, it's not needed anymore.
8824 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8826 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8828 (texis): Renamed to $(objpfx)texis.
8829 (texis-path): New, contains path to generated files.
8830 (chapters.%): Use texis-path for complete path, add extra argument
8832 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8833 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8834 (summary,texi, stamp-summary): Use complete path of
8835 files. Generate files in build dir.
8836 (dir-add.texi): Build in build dir.
8837 (libm-err.texi,stamp-libm-err): Likewise.
8838 (version.texi, stamp-version): Likewise.
8839 (.%c.texi): Likewise.
8840 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8841 (mostlyclean): Remove target.
8842 (realclean): Remove target.
8843 (generated): Add new variable with contents from mostlyclean and
8844 realclean, remove entries duplicated in common-mostlyclean, add
8845 stamp-libm-err and stamp-version.
8846 (generated-dirs): Add libc directory.
8847 ($(inst_infodir)/libc.info): Install files from build dir.
8849 * manual/install.texi (Configuring and compiling): Adjust since
8850 the info files are not part of the tar ball anymore.
8852 2012-05-14 Andreas Jaeger <aj@suse.de>
8854 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8857 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8860 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8861 to 2.2.0 where earlier.
8862 * sysdeps/unix/sysv/linux/configure: Regenerated.
8863 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8864 Remove conditional code.
8865 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8866 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8867 Remove conditional code.
8868 [!__NR_lchown]: Likewise.
8869 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8870 [__NR_lchown]: Likewise.
8871 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8872 comment referencing __ASSUME_LCHOWN_SYSCALL.
8873 * sysdeps/unix/sysv/linux/i386/sigaction.c
8874 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8875 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8877 Remove conditional code.
8878 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8879 (__protocol_available): Remove #if 0 code.
8880 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8882 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8883 * sysdeps/unix/sysv/linux/kernel-features.h
8884 (__ASSUME_GETCWD_SYSCALL): Don't define.
8885 (__ASSUME_REALTIME_SIGNALS): Likewise.
8886 (__ASSUME_PREAD_SYSCALL): Likewise.
8887 (__ASSUME_PWRITE_SYSCALL): Likewise.
8888 (__ASSUME_POLL_SYSCALL): Likewise.
8889 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8890 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8892 (__ASSUME_SIOCGIFNAME): Don't define.
8893 (__ASSUME_MSG_NOSIGNAL): Likewise.
8894 (__ASSUME_SENDFILE): Define unconditionally.
8895 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8896 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8898 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8899 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8900 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8901 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8902 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8903 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8904 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8918 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8929 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8930 Remove conditional code.
8931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8932 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8933 Remove conditional code.
8934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8935 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8936 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8937 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8938 Remove conditional code.
8939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8940 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8941 Remove conditional code.
8942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8943 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8944 Remove conditional code.
8945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8946 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8947 Remove conditional code.
8948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8949 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8950 Remove conditional code.
8951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8952 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8953 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8955 * sysdeps/unix/sysv/linux/sigaction.c
8956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8958 * sysdeps/unix/sysv/linux/sigpending.c
8959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8961 * sysdeps/unix/sysv/linux/sigprocmask.c
8962 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8963 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8964 * sysdeps/unix/sysv/linux/sigsuspend.c
8965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8967 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8968 (__libc_missing_rt_sigs): Remove.
8969 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8970 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8971 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8972 Remove conditional code.
8973 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8974 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8977 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8978 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8979 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8981 2012-05-14 Andreas Jaeger <aj@suse.de>
8983 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8984 it's not used in glibc.
8985 (__coshm1): Likewise.
8986 (__acosh1p): Likewise.
8989 * manual/string.texi (Copying and Concatenation): Add missing
8990 variable in concat example.
8991 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8997 __builtin_clzl with __builtin_clzll.
8999 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9002 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9005 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9007 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9008 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9009 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9012 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9014 * NEWS: Update ia64 info.
9016 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9018 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9021 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9023 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9024 * sysdeps/unix/syscalls.list (dup3): Likewise.
9025 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9026 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9028 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9030 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9031 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9033 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9035 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9037 (TLS_IE): Use mov/add instead of movq/addq to load thread
9039 (TLS_GD_PREFIX): New.
9042 2012-05-11 David S. Miller <davem@davemloft.net>
9044 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9045 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9046 (_FPU_SETCW): Likewise.
9048 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9050 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9053 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9056 * iconvdata/gb18030.c: Update tables.
9057 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9058 characters specially.
9059 (BODY for TO_LOOP): Add encoding of missing ranges.
9061 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9064 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9065 * sysdeps/mach/hurd/dup3.c: Likewise.
9066 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9067 * sysdeps/powerpc/memmove.c:: Likewise.
9069 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9072 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9074 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9076 * elf/elf.h (R_X86_64_RELATIVE64): New.
9077 (R_X86_64_NUM): Updated.
9078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9079 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9080 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9081 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9082 tst-quad1pie tst-quad2pie
9083 (modules-names): Add tst-quadmod1 tst-quadmod2.
9084 ($(objpfx)tst-quad1): New dependency.
9085 ($(objpfx)tst-quad2): Likewise.
9086 ($(objpfx)tst-quad1pie): Likewise.
9087 ($(objpfx)tst-quad2pie): Likewise.
9088 * sysdeps/x86_64/tst-quad1.c: New file.
9089 * sysdeps/x86_64/tst-quad1pie.c: New file.
9090 * sysdeps/x86_64/tst-quad2.c: Likewise.
9091 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9092 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9093 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9094 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9095 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9099 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9100 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9101 * streams/stropts.h (t_scalar_t): Define type.
9103 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9104 (_PATH_PRESERVE): Set to "/var/lib".
9105 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9107 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9110 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9111 if __dir_mkfile succeeded.
9113 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9114 checking for _hurd_dtablesize. Unlock it right after having
9115 finished _hurd_dtable allocation.
9117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9119 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9120 * sysdeps/mach/hurd/configure: Regenerated.
9121 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9122 special-casing to...
9123 * sysdeps/gnu/configure.in: ... this new file.
9124 * sysdeps/unix/sysv/linux/configure: Regenerated.
9125 * sysdeps/gnu/configure: New generated file.
9127 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9128 for Linux: use nsec instead of usec, as well as:
9129 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9130 members of type struct timespec.
9131 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9133 (struct stat64): Likewise.
9134 (_STATBUF_ST_NSEC): New macro.
9135 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9137 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9138 __strtoul_internal rather than strtoul.
9140 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9142 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9145 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9147 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9148 which preserves existing values.
9149 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9151 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9153 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9154 TIMEOUT values. Return EINVAL for NFDS values either negative or
9155 greater than FD_SETSIZE.
9157 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9159 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9160 allocated, call __vm_protect to finish enabling the existing space, and
9161 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9162 allocate the remainder.
9164 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9166 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9167 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9171 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9172 sysdeps/mach/hurd/readlink.c.
9174 * posix/tst-sysconf.c (posix_options): Only use
9175 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9176 _POSIX_SYNCHRONIZED_IO when they are defined
9177 * sysdeps/mach/hurd/bits/posix_opt.h:
9178 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9179 (_XOPEN_REALTIME): Undefine macro.
9180 (_XOPEN_REALTIME_THREADS): Undefine macro.
9181 (_XOPEN_SHM): Undefine macro.
9182 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9184 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9186 (_POSIX_ASYNC_IO): Undefine macro.
9187 (_POSIX_PRIORITIZED_IO): Undefine macro.
9188 (_POSIX_SPIN_LOCKS): Define macro to -1.
9190 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9191 SA_NODEFER, SA_RESETHAND.
9192 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9193 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9196 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9198 * elf/Makefile (pldd-modules): Define unconditionally.
9200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9202 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9206 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9207 Return ENOENT when name is empty.
9208 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9212 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9214 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9218 Fix mlock in all cases except non-readable pages.
9219 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9220 instead of VM_PROT_ALL as parameter to __vm_wire function.
9222 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9223 (__mkdir): When path is `/', just fail with EEXIST.
9224 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9228 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9229 <sys/uio.h> (for writev).
9230 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9231 and <sys/param.h> (for MIN).
9233 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9235 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9236 REQUESTED_TIME. Properly set the remaining time and return EINTR
9239 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9241 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9242 Depend on against $(link-rpcuserlibs).
9244 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9246 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9247 (__libc_stack_end): Do not use attribute_relro.
9248 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9249 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9250 to libthread-provided value.
9251 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9257 * bits/libc-lock.h (__libc_once_get): New macro.
9258 * sysdeps/mach/bits/libc-lock.h: Likewise.
9259 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9261 instead of using implementation details.
9263 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9264 * libio/freopen.c: Likewise.
9265 * libio/freopen64.c: Likewise.
9266 * misc/syslog.c: Likewise.
9267 * nscd/connections.c: Likewise.
9268 * nscd/netgroupcache.c: Likewise.
9269 * sysdeps/posix/getcwd.c: Likewise.
9271 2012-05-10 Roland McGrath <roland@hack.frob.com>
9273 * math/w_ilogbf.c: Add #include <limits.h>.
9275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9277 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9278 path instead of returning without unlocking.
9280 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9281 immediate-write ioctls.
9282 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9284 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9286 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9287 __builtin_frame_address instead of making assumptions about the
9288 location of the return address relative to DATA. Force early load of
9290 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9291 __builtin_frame_address.
9294 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9295 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9296 implement dup3 and do some further code clean-ups.
9297 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9298 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9300 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9302 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9304 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9305 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9306 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9307 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9308 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9311 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9312 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9313 when handler == SIG_ERR, not when handler != SIG_ERR.
9315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9317 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9318 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9321 accept4 for GNU Hurd.
9322 * include/sys/socket.h (__libc_accept4): New prototype.
9323 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9324 to implement __libc_accept4.
9325 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9327 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9329 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9330 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9331 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9336 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9338 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9340 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9341 assertion on O_CLOEXEC flag.
9342 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9343 * hurd/intern-fd.c: Likewise.
9344 * hurd/port2fd.c: Likewise.
9346 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9349 * bits/in.h (IPV6_PKTINFO): Define new macro.
9350 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9352 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9357 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9359 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9360 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9362 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9363 * math/libm-test.inc (logb_test) : Additional logb tests.
9365 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9366 Andreas Jaeger <aj@suse.de>
9368 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9369 * configure: Regenerated.
9370 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9371 * config.make.in (link-obsolete-rpc): New substituted variable.
9372 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9373 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9374 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9375 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9376 so that libc.a contains the symbols.
9377 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9378 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9379 * sunrpc/auth_none.c: Likewise.
9380 * sunrpc/auth_unix.c: Likewise.
9381 * sunrpc/authdes_prot.c: Likewise.
9382 * sunrpc/authuxprot.c: Likewise.
9383 * sunrpc/clnt_gen.c: Likewise.
9384 * sunrpc/clnt_perr.c: Likewise.
9385 * sunrpc/clnt_raw.c: Likewise.
9386 * sunrpc/clnt_simp.c: Likewise.
9387 * sunrpc/clnt_tcp.c: Likewise.
9388 * sunrpc/clnt_udp.c: Likewise.
9389 * sunrpc/clnt_unix.c: Likewise.
9390 * sunrpc/des_crypt.c: Likewise.
9391 * sunrpc/des_soft.c: Likewise.
9392 * sunrpc/get_myaddr.c: Likewise.
9393 * sunrpc/key_call.c: Likewise.
9394 * sunrpc/key_prot.c: Likewise.
9395 * sunrpc/netname.c: Likewise.
9396 * sunrpc/pm_getmaps.c: Likewise.
9397 * sunrpc/pm_getport.c: Likewise.
9398 * sunrpc/pmap_clnt.c: Likewise.
9399 * sunrpc/pmap_prot.c: Likewise.
9400 * sunrpc/pmap_prot2.c: Likewise.
9401 * sunrpc/pmap_rmt.c: Likewise.
9402 * sunrpc/publickey.c: Likewise.
9403 * sunrpc/rpc_cmsg.c: Likewise.
9404 * sunrpc/rpc_common.c: Likewise.
9405 * sunrpc/rpc_dtable.c: Likewise.
9406 * sunrpc/rpc_prot.c: Likewise.
9407 * sunrpc/rpc_thread.c: Likewise.
9408 * sunrpc/rtime.c: Likewise.
9409 * sunrpc/svc.c: Likewise.
9410 * sunrpc/svc_auth.c: Likewise.
9411 * sunrpc/svc_raw.c: Likewise.
9412 * sunrpc/svc_run.c: Likewise.
9413 * sunrpc/svc_tcp.c: Likewise.
9414 * sunrpc/svc_udp.c: Likewise.
9415 * sunrpc/svc_unix.c: Likewise.
9416 * sunrpc/svcauth_des.c: Likewise.
9417 * sunrpc/xcrypt.c: Likewise.
9418 * sunrpc/xdr.c: Likewise.
9419 * sunrpc/xdr_array.c: Likewise.
9420 * sunrpc/xdr_float.c: Likewise.
9421 * sunrpc/xdr_intXX_t.c: Likewise.
9422 * sunrpc/xdr_mem.c: Likewise.
9423 * sunrpc/xdr_rec.c: Likewise.
9424 * sunrpc/xdr_ref.c: Likewise.
9425 * sunrpc/xdr_sizeof.c: Likewise.
9426 * sunrpc/xdr_stdio.c: Likewise.
9428 2012-05-10 Roland McGrath <roland@hack.frob.com>
9430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9431 change. Update copyright years.
9433 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9435 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9437 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9438 Joseph Myers <joseph@codesourcery.com>
9439 Paul Pluzhnikov <ppluzhnikov@google.com>
9442 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9444 [cross-compiling] (extra-libs): Likewise.
9445 [cross-compiling] (extra-libs-others): Likewise.
9446 [cross-compiling] (librpcsvc-routines): Likewise.
9447 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9448 [cross-compiling] (omit-deps): Likewise.
9449 (sunrpc-CPPFLAGS): New variable.
9450 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9451 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9452 (cross-rpcgen-objs): New variable.
9453 (extra-objs): Append $(cross-rpcgen-objs).
9454 ($(cross-rpcgen-objs)): New rule.
9455 ($(objpfx)cross-rpcgen): Likewise.
9456 (rpcgen-cmd): Define to use $(built-program-file). Expand
9458 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9459 ($(objpfx)x%.stmp): Likewise.
9460 * sunrpc/proto.h [IS_IN_build] (_): Define.
9461 [IS_IN_build] (_libc_intl_domainname): Likewise.
9463 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9466 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9467 and R_X86_64_TPOFF64.
9469 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9471 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9472 sysdeps/unix/sysv/syscalls.list.
9475 * sysdeps/unix/sysv/syscalls.list: Remove file.
9477 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9480 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9481 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9482 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9483 (__LC_IDENTIFICATION): Make these macros useful in #if
9484 expressions, as required by C99.
9486 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9488 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9489 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9492 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9494 * stdlib/longlong.h: Updated from GCC.
9496 2012-05-09 Andreas Jaeger <aj@suse.de>
9498 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9499 default is first entry.
9500 (run_mode): Set type.
9501 (main): Remove informal message about syslog.
9502 (options): Fix typo.
9505 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9508 (llrintf): Likewise.
9512 (nearbyint): Likewise.
9513 (nearbyintf): Likewise.
9515 2012-05-09 Andreas Jaeger <aj@suse.de>
9516 Pedro Alves <palves@redhat.com>
9518 * nscd/nscd.c (run_mode): Use enum.
9519 (main): Cleanup coding style issue.
9521 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9522 Andreas Jaeger <aj@suse.de>
9524 * nscd/nscd.c (go_background): Replaced with...
9525 (run_mode): ... this.
9526 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9527 (options): Add -F --foreground.
9528 (main): Implement it.
9529 (parse_opt): Parse it.
9531 2012-05-09 Andreas Jaeger <aj@suse.de>
9534 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9535 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9536 -Wconversion warning.
9537 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9540 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9542 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9544 (LC_ALL): Use macro-int-constant.
9545 (LC_COLLATE): Likewise.
9546 (LC_CTYPE): Likewise.
9547 (LC_MESSAGES): Likewise.
9548 (LC_MONETARY): Likewise.
9549 (LC_NUMERIC): Likewise.
9550 (LC_TIME): Likewise.
9551 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9552 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9554 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9556 [C99-based standards] (float_t): Expect type.
9557 [C99-based standards] (double_t): Expect type.
9558 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9560 [C99-based standards] (HUGE_VALL): Likewise.
9561 [C99-based standards] (INFINITY): Likewise.
9562 [C99-based standards] (NAN): Likewise.
9563 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9564 [C99-based standards] (FP_NAN): Likewise.
9565 [C99-based standards] (FP_NORMAL): Likewise.
9566 [C99-based standards] (FP_SUBNORMAL): Likewise.
9567 [C99-based standards] (FP_ZERO): Likewise.
9568 [C99-based standards] (FP_FAST_FMA): Use
9569 optional-macro-int-constant. Specify type. Require == 1.
9570 [C99-based standards] (FP_FAST_FMAF): Likewise.
9571 [C99-based standards] (FP_FAST_FMAL): Likewise.
9572 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9573 [C99-based standards] (FP_ILOGBNAN): Likewise.
9574 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9576 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9577 [C99-based standards] (math_errhandling): Specify type.
9578 [ISO99 || ISO11] (signgam): Do not allow.
9579 [non-C99-based standards] (copysignf): Do not allow.
9580 [non-C99-based standards] (exp2f): Likewise.
9581 [non-C99-based standards] (log2f): Likewise.
9582 [non-C99-based standards] (modff): Allow.
9583 [non-C99-based standards] (erff): Do not allow.
9584 [non-C99-based standards] (erfcf): Likewise.
9585 [non-C99-based standards] (gammaf): Likewise.
9586 [non-C99-based standards] (hypotf): Likewise.
9587 [non-C99-based standards] (j0f): Likewise.
9588 [non-C99-based standards] (j1f): Likewise.
9589 [non-C99-based standards] (jnf): Likewise.
9590 [non-C99-based standards] (lgammaf): Likewise.
9591 [non-C99-based standards] (tgammaf): Likewise.
9592 [non-C99-based standards] (y0f): Likewise.
9593 [non-C99-based standards] (y1f): Likewise.
9594 [non-C99-based standards] (ynf): Likewise.
9595 [non-C99-based standards] (isnanf): Likewise.
9596 [non-C99-based standards] (acoshf): Likewise.
9597 [non-C99-based standards] (asinhf): Likewise.
9598 [non-C99-based standards] (atanhf): Likewise.
9599 [non-C99-based standards] (cbrtf): Likewise.
9600 [non-C99-based standards] (expm1f): Likewise.
9601 [non-C99-based standards] (ilogbf): Likewise.
9602 [non-C99-based standards] (log1pf): Likewise.
9603 [non-C99-based standards] (logbf): Likewise.
9604 [non-C99-based standards] (nextafterf): Likewise.
9605 [non-C99-based standards] (remainderf): Likewise.
9606 [non-C99-based standards] (rintf): Likewise.
9607 [non-C99-based standards] (scalbf): Likewise.
9608 [non-C99-based standards] (copysignl): Likewise.
9609 [non-C99-based standards] (exp2l): Likewise.
9610 [non-C99-based standards] (log2l): Likewise.
9611 [non-C99-based standards] (modfl): Allow.
9612 [non-C99-based standards] (erfl): Do not allow.
9613 [non-C99-based standards] (erfcl): Likewise.
9614 [non-C99-based standards] (gammal): Likewise.
9615 [non-C99-based standards] (hypotl): Likewise.
9616 [non-C99-based standards] (j0l): Likewise.
9617 [non-C99-based standards] (j1l): Likewise.
9618 [non-C99-based standards] (jnl): Likewise.
9619 [non-C99-based standards] (lgammal): Likewise.
9620 [non-C99-based standards] (tgammal): Likewise.
9621 [non-C99-based standards] (y0l): Likewise.
9622 [non-C99-based standards] (y1l): Likewise.
9623 [non-C99-based standards] (ynl): Likewise.
9624 [non-C99-based standards] (isnanl): Likewise.
9625 [non-C99-based standards] (acoshl): Likewise.
9626 [non-C99-based standards] (asinhl): Likewise.
9627 [non-C99-based standards] (atanhl): Likewise.
9628 [non-C99-based standards] (cbrtl): Likewise.
9629 [non-C99-based standards] (expm1l): Likewise.
9630 [non-C99-based standards] (ilogbl): Likewise.
9631 [non-C99-based standards] (log1pl): Likewise.
9632 [non-C99-based standards] (logbl): Likewise.
9633 [non-C99-based standards] (nextafterl): Likewise.
9634 [non-C99-based standards] (remainderl): Likewise.
9635 [non-C99-based standards] (rintl): Likewise.
9636 [non-C99-based standards] (scalbl): Likewise.
9637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9638 [non-C99-based standards] (FP_*): Do not allow.
9639 [C99-based standards] (FP_*): Change to
9640 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9641 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9643 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9644 (SIG_ERR): Likewise.
9645 [X/Open-based standards] (SIG_HOLD): Likewise.
9646 (SIG_IGN): Likewise.
9647 (SIGABRT): Use macro-int-constant. Specify type. Require
9652 (SIGSEGV): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9657 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9662 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9663 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9664 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9665 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9666 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9667 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9668 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9669 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9670 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9671 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9672 [X/Open-based standards] (SIGTRAP): Likewise.
9673 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9674 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9675 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9676 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9677 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9680 2012-05-08 Ian Wienand <ianw@vmware.com>
9683 * time/tzset.c (__tzset_parse_tz): Update default rules for
9684 daylight time changes in the Energy Policy Act of 2005.
9686 2012-05-09 Andreas Jaeger <aj@suse.de>
9689 * elf/ldconfig.c (parse_conf): Change string to make clear that
9690 ldconfig only issued a warning if ld.so.conf does not exist.
9692 2012-05-08 David S. Miller <davem@davemloft.net>
9694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9695 movxtod instead of popping the value on the stack.
9697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9699 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9701 * config.h.in: Add HAVE_ARM_PCS_VFP.
9703 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9706 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9707 checking but the checks are disabled for any reason.
9709 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9711 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9712 and ELF64_R_TYPE with ELFW(R_TYPE).
9714 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9716 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9719 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9720 (settimeofday): Likewise.
9722 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9724 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9725 a struct th_u2 inside the union, and move tu_block/tu_code into
9726 a new th_u3 union of tu_block/tu_code inside of that. Move
9727 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9728 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9729 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9730 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9731 (th_stuff): Change to th_u1.tu_stuff.
9733 (th_msg): Change to th_u1.th_u2.tu_data.
9735 2012-05-07 David S. Miller <davem@davemloft.net>
9737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9740 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9741 (SETUP_PIC_REG): Use it.
9742 (SETUP_PIC_REG_LEAF): Use it.
9744 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9748 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9750 (EXPL_FINITE): Likewise.
9752 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9753 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9755 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9757 (EXPL_FINITE): Likewise.
9759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9760 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9762 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9763 test of -max_value argument for long double.
9764 * sysdeps/i386/fpu/libm-test-ulps: Update.
9765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9767 2012-05-06 David S. Miller <davem@davemloft.net>
9769 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9770 quad soft-float symbols whose references which are compiler
9772 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9774 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9780 (EXPL_FINITE): Likewise.
9784 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9785 Adjust comments for base varying.
9786 (__expl_finite): Change alias to EXPL_FINITE.
9787 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9789 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9790 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9792 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9793 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9807 * math/libm-test.inc (check_float_internal): Correct ulp
9808 calculation for subnormal expected results.
9810 2012-05-06 Andreas Jaeger <aj@suse.de>
9812 * Makeconfig (+math-flags): New, set to -frounding-math.
9813 (+cflags): Add +math-flags so that all of glibc gets compiled with
9816 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9818 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9820 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9826 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9827 (__ieee754_expl): Allow for and saturate large arguments.
9828 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9829 (u_threshold): Likewise.
9830 (__exp): Call __ieee754_exp before checking for overflow and
9832 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9833 (u_threshold): Likewise.
9834 (__expf): Call __ieee754_expf before checking for overflow and
9836 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9837 (u_threshold): Likewise.
9838 (__expl): Call __ieee754_expl before checking for overflow and
9840 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9841 (__ieee754_expl): Allow for and saturate large arguments.
9842 * math/libm-test.inc (exp_test): Add another test. Do not allow
9843 missing overflow exception on overflow.
9844 (expm1_test): Do not allow missing overflow exception on overflow.
9846 * sysdeps/i386/fpu/e_expl.c: Move to ...
9847 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9848 rather than using inline asm.
9849 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9850 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9851 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9853 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9860 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9862 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9863 sysdeps/unix/common/syscalls.list.
9866 (ftruncate): Likewise.
9867 (getrusage): Likewise.
9868 (gettimeofday): Likewise.
9869 (setpgid): Likewise.
9870 (setregid): Likewise.
9871 (setreuid): Likewise.
9872 (sigaction): Likewise.
9873 (truncate): Likewise.
9874 (vhangup): Likewise.
9875 * sysdeps/unix/common/syscalls.list: Remove file.
9876 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9877 * sysdeps/unix/sysv/linux/Implies: Likewise.
9879 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9881 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9883 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9887 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9890 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9893 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9896 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9899 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9902 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9905 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9909 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9916 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9920 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9924 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9926 * sysdeps/unix/common/bits/dirent.h: Remove file.
9927 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9929 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9930 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9931 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9932 * sysdeps/unix/bsd/isatty.c: Likewise.
9933 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9934 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9935 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9937 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9941 long double comparison inaccuracies.
9942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9945 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9947 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9950 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9954 nonzero digits before rounding a hex value.
9955 * stdlib/tst-strtod.c (tests): Add another test.
9957 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9959 * sysdeps/s390/fpu/libm-test-ulps: Update.
9961 2012-05-03 Andreas Jaeger <aj@suse.de>
9963 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9964 does not get optimized out.
9965 (malloc_opt_barrier): New.
9967 2012-05-03 Andreas Jaeger <aj@suse.de>
9968 Roland McGrath <roland@hack.frob.com>
9970 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9971 intermediate file deletion.
9972 (generated): Add .symlist files.
9974 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9977 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9978 Redirect under this condition.
9979 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9980 [__USE_GNU] (__dprintf_chk): Not under this condition.
9981 [__USE_GNU] (__vdprintf_chk): Likewise.
9982 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9983 under this condition.
9984 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9985 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9986 [__USE_XOPEN2K8] (vdprintf): Likewise.
9987 [__USE_GNU] (__dprintf_chk): Not under this condition.
9988 [__USE_GNU] (__vdprintf_chk): Likewise.
9989 [__USE_GNU] (dprintf): Likewise.
9990 [__USE_GNU] (vdprintf): Likewise.
9992 2012-05-03 Roland McGrath <roland@hack.frob.com>
9994 * elf/Makefile (common-generated): Set this instead of generated for
9995 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9996 $(all-built-dso)-derived lists.
9998 2012-05-03 Andreas Jaeger <aj@suse.de>
10000 * sysdeps/i386/fpu/libm-test-ulps: Update.
10003 * FAQ.in: Likewise.
10004 * scripts/gen-FAQ.pl: Likewise.
10005 * manual/install.texi (Installation): Point to online location of
10007 * Makefile (files-for-dist): Remove FAQ.
10010 2012-05-02 Allan McRae <allan@archlinux.org>
10012 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10013 (LDFLAGS-reldepmod5.so): Likewise.
10014 (LDFLAGS-reldep6mod1.so): Likewise.
10015 (LDFLAGS-reldep6mod4.so): Likewise.
10016 (LDFLAGS-reldep8mod3.so): Likewise.
10017 (LDFLAGS-unload4mod1.so): Likewise.
10018 (LDFLAGS-unload4mod2.so): Likewise.
10019 (LDFLAGS-tst-initorder): Likewise.
10020 (LDFLAGS-tst-initordera2.so): Likewise.
10021 (LDFLAGS-tst-initordera3.so): Likewise.
10022 (LDFLAGS-tst-initordera4.so): Likewise.
10023 (LDFLAGS-tst-initorderb2.so): Likewise.
10024 (LDFLAGS-noload): Likewise.
10025 (LDFLAGS-next): Likewise.
10026 (LDFLAGS-order2mod1.so): Likewise.
10027 (LDFLAGS-order2mod2.so): Likewise.
10028 (LDFLAGS-tst-initorder2): Likewise.
10029 (LDFLAGS-tst-initorder2a.so): Likewise.
10030 (LDFLAGS-tst-initorder2b.so): Likewise.
10031 (LDFLAGS-tst-initorder2c.so): Likewise.
10032 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10034 2012-05-02 David S. Miller <davem@davemloft.net>
10036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10038 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10041 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10043 2012-05-02 Andreas Jaeger <aj@suse.de>
10045 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10046 since we manipulate rounding mode.
10047 (CPPFLAGS-test-idouble.c): Likewise.
10048 (CPPFLAGS-test-ifloat.c): Likewise.
10049 (CFLAGS-test-ldouble.c): Likewise.
10050 (CFLAGS-test-double.c): Likewise.
10051 (CFLAGS-test-float.c): Likewise.
10052 (CFLAGS-test-misc.c): Likewise.
10053 (CFLAGS-test-test-fenv.c): Likewise.
10055 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10059 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10060 comparisons to determine direction to adjust input.
10062 2012-05-01 Roland McGrath <roland@hack.frob.com>
10064 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10065 output to the target.
10067 * scripts/localplt.awk: New file.
10068 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10069 (check-localplt-CFLAGS): Variable removed.
10070 ($(all-built-dso:=.jmprel)): New static pattern rule.
10071 (generated): Add those targets.
10072 (localplt-built-dso): New variable.
10073 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10075 * elf/check-localplt.c: File removed.
10077 * scripts/check-execstack.awk: New file.
10078 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10079 (check-execstack-CFLAGS): Variable removed.
10080 ($(objpfx)check-execstack.h): Target removed.
10081 ($(objpfx)execstack-default): New target.
10082 (generated): Add that instead of check-execstack.h.
10083 ($(all-built-dso:=.phdr)): New static pattern rule.
10084 (generated): Add those targets.
10085 * elf/check-execstack.c: File removed.
10087 * scripts/check-textrel.awk: New file.
10088 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10089 (check-textrel-CFLAGS): Variable removed.
10090 (all-built-dso): Use := to define.o
10091 ($(all-built-dso:=.dyn)): New static pattern rule.
10092 (generated): Add those targets.
10093 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10094 * config.make.in (READELF): New substituted variable.
10095 * elf/check-textrel.c: File removed.
10097 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10099 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10101 * conform/data/ctype.h-data [C99-based standards] (isblank):
10103 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10104 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10106 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10107 Specify type. Require positive value.
10108 (EILSEQ): Likewise.
10109 (ERANGE): Likewise.
10110 [ISO || POSIX] (EILSEQ): Do not expect.
10111 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10112 Specify type. Require positive value.
10113 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10114 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10115 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10116 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10117 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10118 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10119 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10120 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10121 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10122 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10123 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10124 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10125 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10126 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10127 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10128 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10129 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10130 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10131 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10132 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10133 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10152 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10157 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10158 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10159 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10160 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10161 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10162 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10164 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10165 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10172 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10173 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10174 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10187 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10188 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10189 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10191 (FLT_ROUNDS): Expect as macro, not constant.
10192 (FLT_MANT_DIG): Use macro-int-constant.
10193 (DBL_MANT_DIG): Likewise.
10194 (LDBL_MANT_DIG): Likewise.
10195 (FLT_DIG): Likewise.
10196 (DBL_DIG): Likewise.
10197 (LDBL_DIG): Likewise.
10198 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10199 (DBL_MIN_EXP): Likewise.
10200 (LDBL_MIN_EXP): Likewise.
10201 (FLT_MAX_EXP): Use macro-int-constant.
10202 (DBL_MAX_EXP): Likewise.
10203 (LDBL_MAX_EXP): Likewise.
10204 (FLT_MAX_10_EXP): Likewise.
10205 (DBL_MAX_10_EXP): Likewise.
10206 (LDBL_MAX_10_EXP): Likewise.
10207 (FLT_MAX): Use macro-constant.
10208 (DBL_MAX): Likewise.
10209 (LDBL_MAX): Likewise.
10210 (FLT_EPSILON): Use macro-constant. Give upper bound.
10211 (DBL_EPSILON): Likewise.
10212 (LDBL_EPSILON): Likewise.
10213 (FLT_MIN): Likewise.
10214 (DBL_MIN): Likewise.
10215 (LDBL_MIN): Likewise.
10216 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10217 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10218 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10219 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10220 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10221 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10222 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10223 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10224 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10225 [ISO11] (FLT_TRUE_MIN): Likewise.
10226 [ISO11] (LDBL_TRUE_MIN): Likewise.
10227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10228 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10229 (SCHAR_MIN): Use macro-int-constant. Specify type.
10230 (SCHAR_MAX): Likewise.
10231 (UCHAR_MAX): Likewise.
10232 (CHAR_MIN): Likewise.
10233 (CHAR_MAX): Likewise.
10234 (MB_LEN_MAX): Use macro-int-constant.
10235 (SHRT_MIN): Use macro-int-constant. Specify type.
10236 (SHRT_MAX): Likewise.
10237 (USHRT_MAX): Likewise.
10238 (INT_MAX): Likewise.
10239 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10241 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10243 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10245 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10246 bound negative. Suffix upper bound with "L".
10247 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10249 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10251 [C99-based standards] (LLONG_MAX): Likewise.
10252 [C99-based standards] (ULLONG_MAX): Likewise.
10253 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10255 [ISO11] (max_align_t): Require type.
10256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10258 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10259 from $CFLAGS, without defining away __attribute__ calls.
10260 (checknamespace): Use $CFLAGS_namespace.
10262 * conform/conformtest.pl (@keywords): Only include C99 keywords
10263 for standards based on C99 or C11.
10265 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10267 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10270 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10271 usability of symbols in #if.
10273 * conform/conformtest.pl: If macro or constant types start
10274 "promoted:", expect the symbol to be of the following type
10275 promoted by the integer promotions.
10277 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10278 in one place. Also handle "macro-constant".
10280 * conform/conformtest.pl: Only accept expected macro values with
10281 "==". Parse all "macro" lines in one place.
10282 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10284 * conform/conformtest.pl: Handle braced types on "constant" lines
10285 instead of handling "typed-constant".
10286 * conform/data/signal.h-data: Use "constant" instead of
10289 * conform/conformtest.pl: Handle "optional-" at start of lines in
10290 one place rather than duplicating several cases. Handle each
10291 format of "macro" line with initial "optional-".
10293 * conform/conformtest.pl: Only accept expected constant or
10294 optional-constant values with "==". Parse all "constant" lines in
10295 one place. Parse all "optional-constant" lines in one place.
10296 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10297 * conform/data/fmtmsg.h-data: Likewise.
10298 * conform/data/netinet/in.h-data: Likewise.
10299 * conform/data/tar.h-data: Likewise.
10300 * conform/data/limits.h-data: Use "==" form on "constant" and
10301 "optional-constant" lines.
10303 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10304 Use -std=c99 for XOPEN2K.
10305 (@knownproblems): Remove.
10306 (newtoken): Don't check %isknown.
10308 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10309 Do not expect macro.
10310 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10322 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10323 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10340 [XPG3] (acosh): Likewise.
10341 [XPG3] (asinh): Likewise.
10342 [XPG3] (atanh): Likewise.
10343 [XPG3] (cbrt): Likewise.
10344 [XPG3] (expm1): Likewise.
10345 [XPG3] (ilogb): Likewise.
10346 [XPG3] (log1p): Likewise.
10347 [XPG3] (logb): Likewise.
10348 [XPG3] (nextafter): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10351 [XPG3] (remainder): Likewise.
10352 [XPG3] (rint): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10360 [UNIX98 || XOPEN2K] (scalb): Expect.
10361 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10362 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10499 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10500 _XOPEN_SOURCE_EXTENDED for XPG4.
10502 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10504 * Makeconfig (localtime): Remove variable.
10505 (inst_localtime-file): Likewise.
10507 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10528 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10532 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10533 comparisons to determine direction to adjust input.
10534 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10535 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10540 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10542 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10543 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10545 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10547 * math/libm-test.inc (nexttoward_test): Add more tests.
10549 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10553 in version GLIBC_2.1, not GLIBC_2.0.
10554 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10557 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10560 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10562 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10563 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10564 * math/libm-test.inc (acos_test): Add more tests.
10565 (asin_test): Likewise.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10570 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10572 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10573 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10574 * math/libm-test.inc (acos_test_tonearest): New function.
10575 (acos_test_towardzero): Likewise.
10576 (acos_test_downward): Likewise.
10577 (acos_test_upward): Likewise.
10578 (asin_test_tonearest): Likewise.
10579 (asin_test_towardzero): Likewise.
10580 (asin_test_downward): Likewise.
10581 (asin_test_upward): Likewise.
10582 (main): Call the new functions.
10583 * sysdeps/i386/fpu/libm-test-ulps: Update.
10584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10588 * math/e_exp10.c: Include <float.h>.
10589 (__ieee754_exp10): Handle underflow here rather than multiplying
10590 large negative argument by M_LN10.
10591 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10593 * math/e_exp10l.c: Include <float.h>.
10594 (__ieee754_exp10l): Handle underflow here rather than multiplying
10595 large negative argument by M_LN10l.
10596 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10597 spurious overflow exception on underflow.
10599 2012-04-29 Marek Polacek <polacek@redhat.com>
10601 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10602 (__fortify_function): New macro.
10603 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10604 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10605 __extern_always_inline.
10606 * libio/bits/stdio2.h: Likewise.
10607 * libio/bits/stdio.h: Likewise.
10608 * string/string.h: Likewise.
10609 * string/bits/string3.h: Likewise.
10610 * include/stdio.h: Likewise.
10611 * stdlib/bits/stdlib.h: Likewise.
10612 * stdlib/stdlib.h: Likewise.
10613 * rt/bits/mqueue2.h: Likewise.
10614 * rt/mqueue.h: Likewise.
10615 * posix/bits/unistd.h: Likewise.
10616 * posix/unistd.h: Likewise.
10617 * io/bits/poll2.h: Likewise.
10618 * io/bits/fcntl2.h: Likewise.
10619 * io/fcntl.h: Likewise.
10620 * io/sys/poll.h: Likewise.
10621 * misc/bits/syslog.h: Likewise.
10622 * misc/bits/syslog-ldbl.h: Likewise.
10623 * misc/sys/syslog.h: Likewise.
10624 * socket/bits/socket2.h: Likewise.
10625 * socket/sys/socket.h: Likewise.
10626 * debug/tst-chk1.c: Likewise.
10627 * wcsmbs/bits/wchar2.h: Likewise.
10628 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10629 * wcsmbs/wchar.h: Likewise.
10631 2012-04-29 Andreas Jaeger <aj@suse.de>
10633 * Makerules (tests): Remove enable-check-abi protection.
10634 (check-abi-warn): Remove.
10635 (check-abi-%): Remove check-abi-warn usage.
10637 * configure.in: Remove check-abi configure option.
10638 * configure: Regenerated.
10639 * config.make.in (enable-check-abi): Remove.
10641 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10644 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10645 double functions to double *_finite functions.
10648 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10649 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10651 * stdio-common/Makefile (tests): Add tst-sprintf3.
10652 * stdio-common/tst-sprintf3.c: New file.
10654 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10655 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10657 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10659 * conform/conformtest.pl: Remove duplicate typed-constant
10662 2012-04-28 David S. Miller <davem@davemloft.net>
10664 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10665 (check-abi-%): Remove AWK script prerequisite and explicit
10667 (check-abi): Rewrite to just diff the symlist with the abilist.
10668 (config-tls, config-abi-config): Delete, no longer used.
10669 (update-abi-%): Remove AWK script and explicit abilist directory.
10670 (update-abi): Rewrite to simply compare and conditionally copy the
10671 symlist and the sysdep abilist file. Remove update-abi-config
10673 * abilist/ld.abilist: Remove.
10674 * abilist/libBrokenLocale.abilist: Remove.
10675 * abilist/libanl.abilist: Remove.
10676 * abilist/libcrypt.abilist: Remove.
10677 * abilist/libdl.abilist: Remove.
10678 * abilist/librt.abilist: Remove.
10679 * abilist/libthread_db.abilist: Remove.
10680 * abilist/libutil.abilist: Remove.
10681 * scripts/extract-abilist.awk: Remove.
10682 * scripts/merge-abilist.awk: Remove.
10683 * sysdeps/generic/libcidn.abilist: New file.
10684 * sysdeps/generic/libnss_compat.abilist: New file.
10685 * sysdeps/generic/libnss_db.abilist: New file.
10686 * sysdeps/generic/libnss_dns.abilist: New file.
10687 * sysdeps/generic/libnss_files.abilist: New file.
10688 * sysdeps/generic/libnss_hesiod.abilist: New file.
10689 * sysdeps/generic/libnss_nis.abilist: New file.
10690 * sysdeps/generic/libnss_nisplus.abilist: New file.
10691 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10692 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10693 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10695 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10696 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10697 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10698 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10699 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10700 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10701 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10702 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10703 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10705 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10706 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10707 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10708 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10710 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10711 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10712 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10713 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10714 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10715 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10717 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10719 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10825 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10826 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10829 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10830 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10832 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10833 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10834 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10835 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10836 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10837 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10889 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10891 * conform/conformtest.pl: Fix typo in handling typed-constant from
10894 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10896 * README: Cut down references to pre-2.6 Linux kernels and
10897 Linuxthreads. Update lists of configurations in libc and ports
10898 and sort alphabetically. Say "or newer" with Linux kernel version
10901 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10903 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10906 * math/libm-test.inc (logb_test_downward): New test to expose
10907 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10910 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10913 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10915 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10916 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10918 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10920 * sysdeps/unix/i386/brk.S: Remove file.
10921 * sysdeps/unix/i386/dl-brk.S: Likewise.
10922 * sysdeps/unix/i386/pipe.S: Likewise.
10923 * sysdeps/unix/i386/sigreturn.S: Likewise.
10924 * sysdeps/unix/i386/syscall.S: Likewise.
10925 * sysdeps/unix/i386/vfork.S: Likewise.
10926 * sysdeps/unix/i386/wait.S: Likewise.
10928 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10929 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10931 * configure.in (arm*-none*): Do not allow without
10932 --enable-hacker-mode.
10933 (netbsd*): Remove case setting base_os.
10934 (386bsd*): Likewise.
10935 (freebsd*): Likewise.
10938 (sunos*): Likewise.
10939 (ultrix*): Likewise.
10940 (newsos*): Likewise.
10941 (dynix*): Likewise.
10947 (minix*): Likewise.
10948 (irix4*): Likewise.
10949 (irix6*): Likewise.
10950 (solaris[2-9]*): Likewise.
10952 * configure: Regenerated.
10954 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10957 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10958 overflow or cancellation in calculating denominator.
10959 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10961 down expression to avoid unexpected rounding in newer GCCs.
10962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10964 2012-04-26 David S. Miller <davem@davemloft.net>
10966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10967 long-double compat symbols.
10968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10982 2012-04-25 David S. Miller <davem@davemloft.net>
10984 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10985 HWCAP_* values only after the memory barriers have been defined.
10986 (atomic_full_barrier): Define.
10987 (atomic_read_barrier): Define.
10988 (atomic_write_barrier): Define.
10990 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10992 * shlib-versions: Add libgcc_s version information.
10993 * sysdeps/generic/libgcc_s.h: Remove.
10994 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10996 * sysdeps/gnu/unwind-resume.c: Likewise.
10997 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10999 2012-04-25 David S. Miller <davem@davemloft.net>
11001 * sysdeps/unix/sparc/brk.S: Delete.
11002 * sysdeps/unix/sparc/dl-brk.S: Delete.
11003 * sysdeps/unix/sparc/pipe.S: Delete.
11004 * sysdeps/unix/sparc/sysdep.S: Delete.
11005 * sysdeps/unix/sparc/sysdep.h: Delete.
11006 * sysdeps/unix/sparc/vfork.S: Delete.
11007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11008 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11010 ret_ERRVAL, r0, r1, MOVE): Define.
11011 (JUMPTARGET): Remove.
11012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11013 sysdeps/unix/sparc/sysdep.h
11014 (ENTRY, END): Remove.
11015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11017 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11019 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11020 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11023 * timezone/README: Update upstream location and email address for
11025 * timezone/zdump.c: Update from tzcode 2012b.
11026 * timezone/zic.c: Likewise.
11028 * configure.in (libc_cv_as_needed): Remove test.
11029 * configure: Regenerated.
11030 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11031 conditional definition.
11032 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11033 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11034 * config.make.in (have-as-needed): Remove variable.
11036 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11037 Paul Pluzhnikov <ppluzhnikov@google.com>
11039 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11042 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11044 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11045 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11046 * sysdeps/sh/strlen.S: Likewise.
11048 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11050 * sysdeps/unix/fork.S: Remove file.
11051 * sysdeps/unix/i386/fork.S: Likewise.
11052 * sysdeps/unix/sparc/fork.S: Likewise.
11054 * sysdeps/unix/system.c: Remove file.
11055 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11057 * sysdeps/unix/getegid.S: Remove file.
11058 * sysdeps/unix/geteuid.S: Likewise.
11060 2012-04-24 Roland McGrath <roland@hack.frob.com>
11062 * scripts/check-localplt.awk: New file.
11063 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11065 * scripts/data/localplt-generic.data: Add a comment.
11067 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11068 NODE when __dir_mkfile failed.
11069 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11070 Reported by Ludovic Courtès <ludo@gnu.org>.
11072 2012-04-24 Andreas Jaeger <aj@suse.de>
11074 * Makerules (common-clean): Also remove gen-as-const-headers
11077 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11079 * Makerules (native-compile): Do not change working directory for
11080 build. Use $(OUTPUT_OPTION) in command.
11081 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11083 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11086 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11087 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11088 * math/libm-test.inc (floor_test): Add more tests.
11089 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11091 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11093 * sysdeps/unix/getdents.c: Remove file.
11094 * sysdeps/unix/sysv/getdents.c: Likewise.
11095 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11097 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11098 sysdeps/unix/mman/syscalls.list.
11100 (mprotect): Likewise.
11102 (munmap): Likewise.
11103 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11104 * sysdeps/unix/mman/syscalls.list: Remove.
11105 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11107 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11108 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11109 * configure: Regenerated.
11110 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11111 $(libgcc_s_suffix).
11112 * config.make.in (libgcc_s_suffix): Remove variable.
11114 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11116 * sysdeps/unix/sysv/gethostname.c: Move to ...
11117 * sysdeps/posix/gethostname.c: ... here.
11119 * sysdeps/unix/execve.S: Remove file.
11121 * sysdeps/unix/_exit.S: Remove file.
11123 2012-04-23 Andreas Jaeger <aj@suse.de>
11126 * manual/Makefile: Remove make dist support, there's no
11127 need for a stand-alone documentation tar ball.
11128 (TEXI2DVI): Define always, it's not in Makeconfig.
11131 (edition): Removed.
11132 (glibc-doc-$(edition).tar): Removed
11136 (ETAGS): Remove, it's in Makeconfig.
11137 (move-if-change): Remove, it's in Makeconfig.
11139 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11142 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11143 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11144 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11145 (strtod_l, strtof_l, strtold_l): Remove __wur.
11146 It is not necessarily an error to ignore strtol's return value.
11147 One can reliably look at the stored endptr to decide whether
11148 the number had valid syntax.
11150 2012-04-21 Andreas Jaeger <aj@suse.de>
11153 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11155 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11157 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11158 * sysdeps/unix/sysv/Versions: Remove file.
11160 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11165 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11169 version from __vm86.
11171 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/unix/common/lxstat.c: Remove file.
11174 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11176 * sysdeps/unix/sysv/Makefile: Remove file.
11178 * sysdeps/unix/sysv/direct.h: Remove file.
11180 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11181 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11182 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11183 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11184 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11185 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11186 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11188 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11190 * sysdeps/unix/xmknod.c: Remove file.
11191 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11193 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11195 * sysdeps/unix/sysv/i386/time.S: Remove file.
11197 * sysdeps/unix/fxstat.c: Remove file.
11198 * sysdeps/unix/xstat.c: Likewise.
11199 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11201 * sysdeps/unix/sysv/sigaction.c: Remove file.
11203 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11204 (sysdep_headers): Remove variable.
11205 [termio.h not in sysdep_headers] (generated): Likewise.
11206 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11207 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11208 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11209 * sysdeps/unix/sysv/tcflow.c: Likewise.
11210 * sysdeps/unix/sysv/tcflush.c: Likewise.
11211 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11212 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11213 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11214 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11215 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11217 * sysdeps/unix/siglist.c: Remove file.
11219 * sysdeps/unix/getppid.S: Remove file.
11221 * sysdeps/unix/mkdir.c: Remove file.
11222 * sysdeps/unix/rmdir.c: Likewise.
11224 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11226 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11228 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11229 errlist-compat value.
11231 2012-04-18 David S. Miller <davem@davemloft.net>
11233 * sysdeps/generic/memcopy.h (reg_char): Delete.
11234 * debug/strcat_chk.c: Use char, not reg_char.
11235 * debug/strcpy_chk.c: Likewise.
11236 * debug/strncat_chk.c: Likewise.
11237 * debug/strncpy_chk.c: Likewise.
11238 * string/memchr.c: Likewise.
11239 * string/memrchr.c: Likewise.
11240 * string/rawmemchr.c: Likewise.
11241 * string/strcat.c: Likewise.
11242 * string/strchr.c: Likewise.
11243 * string/strchrnul.c: Likewise.
11244 * string/strcmp.c: Likewise.
11245 * string/strcpy.c: Likewise.
11246 * string/strncat.c: Likewise.
11247 * string/strncmp.c: Likewise.
11248 * string/strncpy.c: Likewise.
11250 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11252 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11253 __builtin_memcopy is called when src and dest ranges are known to not
11256 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11258 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11259 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11260 fwd_align_merge macro call.
11261 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11262 bwd_align_merge macro call.
11263 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11265 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11267 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11268 bwd_align_merge macros.
11269 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11270 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11271 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11273 2012-04-18 David S. Miller <davem@davemloft.net>
11275 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11277 2012-04-18 Andreas Jaeger <aj@suse.de>
11280 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11281 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11282 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11284 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11285 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11286 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11288 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11289 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11290 Adjust for changed ldbl-128 files.
11292 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11293 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11294 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11296 2012-04-17 David S. Miller <davem@davemloft.net>
11298 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11300 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11302 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11303 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11304 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11305 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11306 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11307 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11309 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11312 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11313 * math/libm-test.inc: Add ilogb errno and exception tests.
11314 * math/w_ilogb.c: New file: ilogb wrapper.
11315 * math/w_ilogbf.c: New file: ilogbf wrapper.
11316 * math/w_ilogbl.c: New file: ilogbl wrapper.
11317 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11318 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11319 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11320 exception being thrown with 0.0 as argument.
11321 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11322 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11323 exception being thrown with 0.0 as argument.
11324 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11325 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11326 exception being thrown with 0.0 as argument.
11327 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11328 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11329 exception being thrown with 0.0 as argument.
11330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11331 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11332 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11333 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11335 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11336 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11337 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11338 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11340 2012-04-17 Petr Baudis <pasky@ucw.cz>
11342 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11345 2012-04-16 Marek Polacek <polacek@redhat.com>
11347 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11349 2012-04-16 Marek Polacek <polacek@redhat.com>
11351 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11352 operands of fdivp instruction.
11354 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11356 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11357 * elf/tst-auditmod3b.c: Likewise.
11358 * elf/tst-auditmod4b.c: Likewise.
11359 * elf/tst-auditmod5b.c: Likewise.
11360 * elf/tst-auditmod6b.c: Likewise.
11361 * elf/tst-auditmod6c.c: Likewise.
11362 * elf/tst-auditmod7b.c: Likewise.
11363 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11364 * sysdeps/x86_64/preconfigure.in: Likewise.
11365 * sysdeps/x86_64/preconfigure: Regenerated.
11367 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11369 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11372 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11375 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11377 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11380 * locale/iso-639.def: Fix gl language name. Spotted by
11383 2012-04-12 Roland McGrath <roland@hack.frob.com>
11386 * libio/libio.h (__io_write_fn): Update comment.
11388 2012-04-12 Petr Baudis <pasky@ucw.cz>
11391 * stdio.texi (Hook Functions): The user provided writer function
11392 is not allowed to return -1.
11394 2012-04-11 David S. Miller <davem@davemloft.net>
11396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11398 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11400 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11401 Add a leading slash to rtkaio.
11403 2012-04-11 Jim Meyering <meyering@redhat.com>
11406 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11407 It is not necessarily an error to ignore fwrite's return
11408 value. One can reliably use ferror to test for errors after
11411 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11413 * bits/types.h (__snseconds_t): New type.
11414 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11416 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11418 (__SNSECONDS_T_TYPE): Likewise.
11419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11420 (__SNSECONDS_T_TYPE): Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11422 (__SNSECONDS_T_TYPE): Likewise.
11424 2012-04-10 Andreas Jaeger <aj@suse.de>
11427 * manual/time.texi (Processor Time): Return type of times is
11428 elapsed real time since an arbitrary point in the past.
11429 (CPU Time): Move CLK_TCK from here...
11430 (Processor Time): ...to here. Correct description.
11431 * manual/conf.texi (Constants for Sysconf): Correct description of
11434 2012-04-10 David S. Miller <davem@davemloft.net>
11437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11438 where the is a gap between DT_REL(A) and DT_JMPREL.
11440 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11442 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11446 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11448 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11449 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11450 (dl_main): Handle --inhibit-cache.
11451 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11453 * elf/dl-load.c (_dl_map_object): Use it.
11454 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11456 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11459 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11460 (__ieee754_powl): Saturate large exponents rather than testing for
11461 overflow of y*log2(x).
11462 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11463 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11467 * math/s_ctan.c: Include <float.h>.
11468 (__ctan): Avoid internal overflow or cancellation in calculating
11470 * math/s_ctanf.c: Likewise.
11471 * math/s_ctanl.c: Likewise.
11472 * math/s_ctanh.c: Likewise.
11473 * math/s_ctanhf.c: Likewise.
11474 * math/s_ctanhl.c: Likewise.
11475 * math/libm-test.inc (ctan_test): Add more tests.
11476 (ctanh_test): Likewise.
11477 * sysdeps/i386/fpu/libm-test-ulps: Update.
11478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11480 2012-04-09 Andreas Jaeger <aj@suse.de>
11483 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11484 is an optional BSD extension.
11487 * manual/stdio.texi (Opening Streams): Document additional fopen
11490 2012-04-09 Roland McGrath <roland@hack.frob.com>
11492 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11493 %eax without telling the compiler.
11495 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11498 * manual/install.texi: Use sourceware.org.
11500 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11504 (__ieee754_pow): Generate overflow and underflow using huge*huge
11505 and tiny*tiny rather than just returning constant infinity or zero
11506 for large exponents.
11507 * math/libm-test.inc (pow_test): Require overflow exceptions for
11508 applicable cases of large exponents.
11511 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11512 (__ieee754_pow): Use iterative multiplication algorithm only for
11513 integer exponents with absolute value below 1024. Check for odd
11514 integer exponents when using algorithm for real exponents.
11515 * math/libm-test.inc (pow_test): Add more tests.
11516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11518 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11521 * math/libm-test.inc (exp_test): Do not allow overflow exception
11524 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11527 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11528 instead of __kernel_standard_f.
11530 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11532 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11533 * sysdeps/x86_64/memset_chk.S: Likewise.
11535 2012-04-08 Andreas Jaeger <aj@suse.de>
11538 * manual/startup.texi (Environment Access): Describe return value
11539 for putenv and setenv.
11542 * manual/filesys.texi (Directory Entries): Add description for
11546 * manual/filesys.texi (Directory Entries): Clarify that it's file
11547 system not operating system in the description of DT_UNKNOWN.
11550 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11552 2012-04-08 Stephen Compall <s11@member.fsf.org>
11555 * manual/llio.texi (Opening and Closing Files): Add cross
11556 reference to explain mode argument.
11558 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11560 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11561 * sysdeps/x86_64/memset_chk.S: Likewise.
11563 2012-04-07 David S. Miller <davem@davemloft.net>
11565 * elf/elf.h (R_SPARC_WDISP10): Define.
11566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11569 R_SPARC_SIZE64 and R_SPARC_H34.
11571 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11573 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11574 conditions and remove no longer applicable assertion.
11576 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11578 * bits/byteswap.h: Include <features.h>.
11579 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11580 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11582 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11584 * bits/byteswap.h (__bswap_16): Removed.
11585 Include <bits/byteswap-16.h> to get __bswap_16.
11586 * sysdeps/i386/bits/byteswap.h: Likewise.
11587 * sysdeps/s390/bits/byteswap.h: Likewise.
11588 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11589 * bits/byteswap-16.h: New file.
11590 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11591 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11592 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11593 * string/Makefile (headers): Add bits/byteswap-16.h.
11595 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11598 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11600 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11601 * nss/tst-nss-static.c: New.
11603 2012-04-06 Robert Millan <rmh@gnu.org>
11606 * manual/llio.texi (File Position Primitive): lseek
11607 refers to WHENCE when it really means OFFSET.
11609 2012-04-06 Andreas Jaeger <aj@suse.de>
11611 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11612 strncmp declarations.
11614 * abilist/libc.abilist: Add __poll and __ppoll.
11616 2012-04-05 David S. Miller <davem@davemloft.net>
11618 * scripts/check-local-headers.sh: Accept a host triplet in the
11619 path matched by the exclude regexp.
11621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11623 * sysdeps/powerpc/powerpc32/dl-machine.h
11624 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11625 * sysdeps/s390/s390-32/dl-machine.h
11626 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11627 * sysdeps/sparc/sparc32/dl-machine.h
11628 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11629 * sysdeps/sparc/sparc64/dl-machine.h
11630 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11632 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11634 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11635 undefined symbol errors.
11637 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11640 2012-04-05 Michael Matz <matz@suse.de>
11643 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11645 2012-04-05 Andreas Jaeger <aj@suse.de>
11648 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11651 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11653 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11654 which ROUND is no valid rounding mode.
11656 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11660 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11662 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11664 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11665 an exception using FPU order intentionally.
11667 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11669 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11670 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11671 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11672 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11674 2012-04-05 Simon Josefsson <simon@josefsson.org>
11677 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11678 EINVAL when BUFLEN is too smal.
11680 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11683 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11684 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11686 2012-04-03 Andreas Jaeger <aj@suse.de>
11689 * manual/setjmp.texi (System V contexts): Fix sentence.
11692 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11693 New macro for this case.
11694 [!__GNUC__] (__bswap_64): New inline function for this case.
11695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11696 * bits/byteswap.h: Likewise.
11697 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11698 ull, guard with __GLIBC_HAVE_LONG_LONG.
11700 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11701 __GLIBC_HAVE_LONG_LONG.
11703 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11704 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11706 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11709 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11710 inptr and inend, rather than using last_ch.
11712 2012-04-02 David S. Miller <davem@davemloft.net>
11714 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11715 * stdio-common/printf-parse.h (read_int): Change return type to
11716 'int', return -1 on INT_MAX overflow.
11717 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11718 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11719 overflows INT_MAX. Check for overflow of in-format-string precision
11720 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11721 SIZE_MAX not INT_MAX for integer overflow test.
11722 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11723 skip the construct in the format string but do not record anything.
11724 * stdio-common/bug22.c: Adjust to test both width/prevision
11725 INT_MAX overflow as well as total length INT_MAX overflow. Check
11726 explicitly for proper errno values.
11728 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11730 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11732 * string/test-strcmp.c [! WIDE]: Likewise.
11733 * time/tst-mktime2.c: Likewise for INT_MAX.
11734 * string/test-string.h: #include <sys/param.h> for MIN.
11736 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11737 * sysdeps/i386/init-first.c (init): Likewise.
11738 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11739 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11740 * sysdeps/sh/init-first.c (init): Likewise.
11742 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11744 * po/ru.po: Update from translation team.
11745 * po/vi.po: Likewise.
11747 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11749 * resolv/nss_dns/dns-host.c: Merge copyright years.
11751 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11754 Optimize memcpy with prefetch if
11755 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11756 src, dst pointers have unequal 16 byte alignments.
11758 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11761 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11762 from a CNAME entry and return the minimum ttl for the query.
11763 (gaih_getanswer_slice): Likewise.
11765 2012-03-30 Jeff Law <law@redhat.com>
11767 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11769 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11770 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11772 * resolv/nss_dns/dns-host.c: Update copyright year.
11774 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11776 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11777 requests to save a system call. Fix check that all bytes are sent.
11779 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11780 comments for sendmmsg.
11782 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11785 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11786 with only 1 character between 0x0041 and 0x01b0.
11787 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11788 * wcsmbs/tst-mbsnrtowcs.c: New file.
11790 2012-03-29 David S. Miller <davem@davemloft.net>
11792 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11793 small copies by hand.
11795 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11798 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11799 _nss_compat_initgroups_dyn): Fall back to malloc/free
11800 for large group memberships.
11802 2012-03-28 David S. Miller <davem@davemloft.net>
11804 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11805 that branches into memcpy.
11806 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11809 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11812 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11813 implementation too.
11814 * sysdeps/sparc/mempcpy.S: New file.
11816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11817 the IFUNC routine in the libc case.
11818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11820 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11821 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11822 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11823 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11824 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11825 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11826 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11827 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11829 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11830 loop to 256 bytes instead of 64 bytes and fix test signedness.
11832 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11833 * sysdeps/sparc/sparc32/Makefile: rather than here...
11834 * sysdeps/sparc/sparc64/Makefile: and here.
11836 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11838 * malloc/mallocbug.c: Avoid warnings about unused variables.
11840 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11843 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11844 in the right place. Discard and retry query if response is
11845 larger than input buffer size.
11847 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11853 x for large integer exponent.
11854 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11855 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11856 sign of result as needed afterwards.
11857 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11858 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11859 result for underflowing pow the same as for overflow.
11860 (__kernel_standard_l): Handle powl overflow and underflow here
11861 rather than calling __kernel_standard.
11862 * math/libm-test.inc (pow_test): Add more tests.
11877 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11878 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11879 (__kernel_standard_l): New function.
11880 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11882 * math/w_acosl.c (__acosl): Likewise.
11883 * math/w_asinl.c (__asinl): Likewise.
11884 * math/w_atan2l.c (__atan2l): Likewise.
11885 * math/w_atanhl.c (__atanhl): Likewise.
11886 * math/w_coshl.c (__coshl): Likewise.
11887 * math/w_exp10l.c (__exp10l): Likewise.
11888 * math/w_exp2l.c (__exp2l): Likewise.
11889 * math/w_fmodl.c (__fmodl): Likewise.
11890 * math/w_hypotl.c (__hypotl): Likewise.
11891 * math/w_j0l.c (__j0l, __y0l): Likewise.
11892 * math/w_j1l.c (__j1l, __y1l): Likewise.
11893 * math/w_jnl.c (__jnl, __ynl): Likewise.
11894 * math/w_lgammal.c (__lgammal): Likewise.
11895 * math/w_log10l.c (__log10l): Likewise.
11896 * math/w_log2l.c (__log2l): Likewise.
11897 * math/w_logl.c (__logl): Likewise.
11898 * math/w_powl.c (__powl): Likewise.
11899 * math/w_remainderl.c (__remainderl): Likewise.
11900 * math/w_scalbl.c (sysv_scalbl): Likewise.
11901 * math/w_sinhl.c (__sinhl): Likewise.
11902 * math/w_sqrtl.c (__sqrtl): Likewise.
11903 * math/w_tgammal.c (__tgammal): Likewise.
11904 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11905 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11906 * math/libm-test.inc (acos_test): Add more tests.
11907 (acosh_test): Likewise.
11908 (asin_test): Likewise.
11909 (atanh_test): Likewise.
11910 (exp_test): Likewise.
11911 (exp10_test): Likewise.
11912 (exp2_test): Likewise.
11913 (expm1_test): Likewise.
11914 (lgamma_test): Likewise.
11915 (log_test): Likewise.
11916 (log10_test): Likewise.
11917 (log1p_test): Likewise.
11918 (log2_test): Likewise.
11919 (pow_test): Do not allow some spurious overflow exceptions.
11920 (sqrt_test): Add more tests.
11921 (tgamma_test): Likewise.
11922 (y0_test): Likewise.
11923 (y1_test): Likewise.
11924 (yn_test): Likewise.
11926 2012-03-27 Anton Blanchard <anton@samba.org>
11928 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11931 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11934 2012-03-27 David S. Miller <davem@davemloft.net>
11936 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11938 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11939 have-as-vis3 check.
11941 2012-03-27 Andreas Jaeger <aj@suse.de>
11943 * sysdeps/x86_64/elf/configure.in: Moved to ...
11944 * sysdeps/x86_64/configure.in: ... here.
11945 * sysdeps/x86_64/elf/start.S: Moved to ...
11946 * sysdeps/x86_64/start.S: ... here.
11947 * sysdeps/x86_64/elf/configure: Delete.
11949 * sysdeps/x86_64/configure.in: Merge contents from
11950 sysdeps/i386/configure.in (without i686 check).
11952 * sysdeps/i386/elf/Versions: Merge into ...
11953 * sysdeps/i386/Versions: ... this.
11954 * sysdeps/i386/elf/Versions: Delete file.
11955 * sysdeps/i386/elf/start.S: Moved to ...
11956 * sysdeps/i386/start.S: ...here.
11957 * sysdeps/i386/elf/configure.in: Merge into...
11958 * sysdeps/i386/configure.in: ...here.
11959 * sysdeps/i386/elf/configure.in: Delete file.
11960 * sysdeps/i386/elf/configure: Delete file.
11962 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11963 * debug/backtracesyms.c: ... here.
11964 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11965 * debug/backtracesymsfd.c: ... here.
11966 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11967 * sysdeps/generic/ifunc-sel.h: ... here.
11969 * sysdeps/unix/i386/start.c: Delete file.
11970 * sysdeps/unix/sparc/start.c: Delete file.
11971 * sysdeps/unix/start.c: Delete file.
11973 * sysdeps/sh/elf/configure.in: Moved to ...
11974 * sysdeps/sh/configure.in: ... here.
11975 * sysdeps/sh/elf/start.S: Moved to ...
11976 * sysdeps/sh/start.S: ... here.
11977 * sysdeps/sh/elf/configure: Delete file.
11979 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11980 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11981 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11982 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11983 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11984 * sysdeps/powerpc/powerpc64/start.S: here.
11985 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11986 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11987 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11988 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11989 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11991 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11992 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11993 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11994 * sysdeps/powerpc/powerpc32/start.S: ... here.
11995 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11996 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11997 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11999 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12000 * sysdeps/powerpc/ifunc-sel.h: ... here.
12001 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12002 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12004 * sysdeps/sparc/elf/configure.in: Moved to ...
12005 * sysdeps/sparc/configure.in: ... here.
12006 * sysdeps/sparc/elf/configure: Delete file.
12007 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12008 * sysdeps/sparc/sparc32/start.S: ... here.
12009 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12010 * sysdeps/sparc/sparc64/start.S: ... here.
12011 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12012 * sysdeps/sparc/sparc32/Makefile: ... this.
12013 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12014 * sysdeps/sparc/sparc64/Makefile: ... this.
12016 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12017 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12018 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12019 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12020 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12021 * sysdeps/s390/s390-32/setjmp.S: ... here.
12022 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12023 * sysdeps/s390/s390-32/configure.in: ... here.
12024 * sysdeps/s390/s390-32/elf/configure: Delete file.
12025 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12026 * sysdeps/s390/s390-32/start.S: ... here.
12028 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12029 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12030 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12031 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12032 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12033 * sysdeps/s390/s390-64/setjmp.S: ... here.
12034 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12035 * sysdeps/s390/s390-64/configure.in: ... here
12036 * sysdeps/s390/s390-64/elf/configure: Delete file.
12037 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12038 * sysdeps/s390/s390-64/start.S: ... here.
12039 * sysdeps/s390/s390-64/elf/configure: Delete.
12041 * configure.in: Remove support for elf directories in sysdeps.
12043 * configure: Regenerated.
12044 * sysdeps/i386/configure: Regenerated.
12045 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12046 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12047 * sysdeps/s390/s390-32/configure: Regenerated.
12048 * sysdeps/s390/s390-64/configure: Regenerated.
12049 * sysdeps/sh/configure: Regenerated.
12050 * sysdeps/sparc/configure: Regenerated.
12051 * sysdeps/x86_64/configure: Regenerated.
12053 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12057 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12058 denormal result into account.
12060 2012-03-25 Roland McGrath <roland@hack.frob.com>
12062 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12063 Reported by Allan McRae <allan@archlinux.org>.
12065 2012-03-23 Jeff Law <law@redhat.com>
12067 * nss/getnssent.c (__nss_getent): Fix typo.
12069 2012-03-23 David S. Miller <davem@davemloft.net>
12071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12073 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12075 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12076 to pad to uint64_t for each field.
12077 (dl_tls_index): Replace unsigned long with uint64_t.
12079 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12080 Paul Pluzhnikov <ppluzhnikov@google.com>
12083 * grp/Makefile (otherlibs): Don't set it.
12084 * inet/Makefile (otherlibs): Likewise.
12085 * login/Makefile (otherlibs): Likewise.
12086 * nscd/Makefile (otherlibs): Likewise.
12087 * posix/Makefile (otherlibs): Likewise.
12088 * pwd/Makefile (otherlibs): Likewise.
12089 * rt/Makefile (otherlibs): Likewise.
12090 * sunrpc/Makefile (otherlibs): Likewise.
12091 * nss/Makefile (otherlibs): Likewise.
12092 Add libnss_files to routines and static-only-routines.
12093 ($(objpfx)getent): Remove rule.
12094 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12095 static-only-routines.
12097 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12100 * math/s_cexp.c: Include <float.h>.
12101 (__cexp): Handle exp result overflowing not necessarily
12102 overflowing both real and imaginary parts of result.
12103 * math/s_cexpf.c: Likewise.
12104 * math/s_cexpl.c: Likewise.
12105 * math/libm-test.inc (cexp_test): Add more tests.
12106 * sysdeps/i386/fpu/libm-test-ulps: Update.
12107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12109 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12111 * include/link.h (ELFW): New macro.
12112 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12113 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12115 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12117 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12120 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12122 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12124 (struct La_x32_retval): Likewise.
12126 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12128 * sysdeps/x86_64/preconfigure.in: New file.
12129 * sysdeps/x86_64/preconfigure: New generated file.
12131 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12134 * math/e_exp2l.c: Include <float.h>.
12135 (__ieee754_exp2l): Handle overflow and underflow cases
12136 separately. Only pass fractional part of argument to
12138 * math/libm-test.inc (exp2_test): Add more tests.
12140 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12141 negating x to take absolute value.
12142 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12144 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12145 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12147 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12148 computing low part if x was negated.
12149 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12151 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12153 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12154 la_x32_gnu_pltexit.
12155 (pltexit): Cast int_retval to ptrdiff_t.
12156 * elf/tst-auditmod3b.c: Likewise.
12157 * elf/tst-auditmod4b.c: Likewise.
12158 * elf/tst-auditmod5b.c: Likewise.
12159 * elf/tst-auditmod6b.c: Likewise.
12160 * elf/tst-auditmod6c.c: Likewise.
12161 * elf/tst-auditmod7b.c: Likewise.
12163 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12164 and x32_gnu_pltexit.
12166 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12167 __ELF_NATIVE_CLASS.
12168 (La_x32_regs): New macro.
12169 (La_x32_retval): Likewise.
12170 (la_x32_gnu_pltenter): New function prototype.
12171 (la_x32_gnu_pltexit): Likewise.
12173 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12180 * configure.in (libc_cv_cc_nofma): Check for option to disable
12181 generation of FMA instructions.
12182 * configure: Regenerate.
12183 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12184 * sysdeps/ieee754/dbl-64/Makefile: New file.
12185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12186 Remove brandred-fma4.
12187 (CFLAGS-brandred-fma4.c): Remove.
12188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12191 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12194 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12196 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12197 LLONG_MAX != LONG_MAX.
12198 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12199 (_fitoa_word): Likewise.
12200 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12201 LLONG_MAX != LONG_MAX.
12202 * stdio-common/_itowa.h: Include <_itoa.h>.
12203 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12204 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12205 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12206 only if not defined.
12207 (_ITOA_WORD_TYPE): Likewise.
12208 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12209 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12211 2012-03-21 David S. Miller <davem@davemloft.net>
12213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12215 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12217 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12218 of x86_64 when setting libc_cv_slibdir, libdir and
12220 * sysdeps/unix/sysv/linux/configure: Regenerated.
12222 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12224 * manual/lang.texi (Old Varargs): Remove section.
12225 (How Variadic): Update menu.
12226 (va_start): Do not mention varargs.h.
12228 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12229 Joseph Myers <joseph@codesourcery.com>
12231 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12233 * configure: Regenerated.
12235 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12237 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12238 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12241 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12244 * Makefile (files-for-dist): Remove NOTES.
12245 (NOTES): Remove rule.
12246 * README: Don't refer to NOTES.
12247 * manual/creature.texi: Don't include macros.texi.
12248 * manual/intro.texi (creature.texi): Remove comment referring to
12251 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12252 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12253 * configure: Regenerated.
12254 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12255 LIBC_TRY_CC_OPTION.
12256 (libc_cv_as_i686): Likewise.
12257 (libc_cv_cc_avx): Likewise.
12258 (libc_cv_cc_sse2avx): Likewise.
12259 (libc_cv_cc_fma4): Likewise.
12260 (libc_cv_cc_novzeroupper): Likewise.
12261 * sysdeps/i386/configure: Regenerated.
12264 * sysdeps/i386/fpu/s_cexp.S: Remove.
12265 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12266 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12267 * math/libm-test.inc (cexp_test): Add more tests.
12268 * sysdeps/i386/fpu/libm-test-ulps: Update.
12269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12271 2012-03-21 Allan McRae <allan@archlinux.org>
12273 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12275 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12278 * math/w_exp2.c: Do not include <float.h>.
12279 (o_threshold, u_threshold): Remove.
12280 (__exp2): Calculate result before checking finiteness and calling
12282 * math/w_exp2f.c: Likewise.
12283 * math/w_exp2l.c: Likewise.
12284 * math/libm-test.inc (exp2_test): Require overflow exception for
12288 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12289 range of signed 64-bit integers before using fistpll. Remove
12290 checks for whether integers fit in mantissa bits.
12291 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12292 the range of signed 32-bit integers before using fistpl. Remove
12293 checks for whether integers fit in mantissa bits.
12294 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12295 (__ieee754_powl): Test for y outside the range of signed 64-bit
12296 integers before using fistpll. Reduce 64-bit values to 63-bit
12298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12299 divide-by-zero is raised for zero to large negative powers.
12300 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12301 (__ieee754_powl): Test for y outside the range of signed 64-bit
12302 integers before using fistpll. Reduce 64-bit values to 63-bit
12304 * math/libm-test.inc (pow_test): Add more tests.
12306 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12308 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12309 <stdio-common/_itoa.h>.
12310 * debug/segfault.c: Likewise.
12311 * elf/dl-cache.c: Likewise.
12312 * elf/dl-minimal.c: Likewise.
12313 * elf/dl-misc.c: Likewise.
12314 * elf/dl-sysdep.c: Likewise.
12315 * elf/dl-version.c: Likewise.
12316 * elf/rtld.c: Likewise.
12317 * hurd/hurdsock.c: Likewise.
12318 * hurd/lookup-retry.c: Likewise.
12319 * malloc/malloc.c: Likewise.
12320 * malloc/mtrace.c: Likewise.
12321 * nscd/nscd_getgr_r.c: Likewise.
12322 * nscd/nscd_getpw_r.c: Likewise.
12323 * nscd/nscd_getserv_r.c: Likewise.
12324 * posix/getopt_init.c: Likewise.
12325 * posix/wordexp.c: Likewise.
12326 * stdio-common/_itoa.c: Likewise.
12327 * stdio-common/printf_fphex.c: Likewise.
12328 * stdio-common/vfprintf.c: Likewise.
12329 * string/_strerror.c: Likewise.
12330 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12331 * sysdeps/i386/i686/hp-timing.h: Likewise.
12332 * sysdeps/mach/_strerror.c: Likewise.
12333 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12334 * sysdeps/mach/hurd/sethostid.c: Likewise.
12335 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12336 * sysdeps/mach/xpg-strerror.c: Likewise.
12337 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12339 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12340 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12342 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12343 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12344 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12345 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12346 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12347 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12348 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12349 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12351 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12355 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12356 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12357 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12359 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12361 * stdio-common/_itoa.h: Moved to ...
12362 * sysdeps/generic/_itoa.h: Here.
12364 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12366 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12367 instead of "_itoa.h" and "_itowa.h".
12368 * stdio-common/vfprintf.: Likewise.
12370 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12372 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12374 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12375 (__signbit): Likwise.
12376 (llrintf): Likwise.
12379 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12381 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12384 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12386 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12387 OVERFLOW_EXCEPTION_OK.
12388 * math/libm-test.inc ("Philosophy"): Update comment about
12390 (OVERFLOW_EXCEPTION): Define.
12391 (OVERFLOW_EXCEPTION_OK): Likewise.
12392 (INVALID_EXCEPTION_OK): Renumber.
12393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12394 (IGNORE_ZERO_INF_SIGN): Likewise.
12395 (test_exceptions): Handle FE_OVERFLOW.
12396 (exp10_test): Expect overflow exceptions.
12397 (exp2_test): Likewise.
12398 (expm1_test): Likewise.
12399 (nextafter_test): Likewise.
12400 (pow_test): Likewise.
12401 (scalbn_test): Likewise.
12402 (scalbln_test): Likewise.
12404 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12406 * sysdeps/x86_64/bits/atomic.h
12407 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12409 (atomic_exchange_acq): Likewise.
12410 (__arch_exchange_and_add_body): Likewise.
12411 (__arch_add_body): Likewise.
12412 (atomic_add_negative): Likewise.
12413 (atomic_add_zero): Likewise.
12415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12417 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12418 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12420 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12422 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12423 Check __x86_64__ instead of __WORDSIZE.
12425 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12427 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12429 2012-03-19 David S. Miller <davem@davemloft.net>
12431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12433 * sysdeps/sparc/fpu/fenv_private.h: New file.
12434 * sysdeps/sparc/fpu/math_private.h: Use it.
12435 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12438 (libc_feholdexcept_setroundl): Remove.
12439 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12444 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12446 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12447 int64_t instead of long int.
12448 (INSERT_WORDS64): Likwise.
12450 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12452 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12453 _Unwind_GetCFA return to _Unwind_Ptr first.
12455 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12458 * math/s_clog.c: Include <float.h>.
12459 (__clog): Scale large or subnormal inputs.
12460 * math/s_clogf.c: Likewise.
12461 * math/s_clogl.c: Likewise.
12462 * math/s_clog10.c: Include <float.h>.
12463 (M_LOG10_2): Define.
12464 (__clog10): Scale large or subnormal inputs.
12465 * math/s_clog10f.c: Likewise.
12466 * math/s_clog10l.c: Likewise.
12467 * math/libm-test.inc (clog_test): Add more tests.
12468 (clog10_test): Likewise.
12469 * sysdeps/i386/fpu/libm-test-ulps: Update.
12470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12475 * math/libm-test.inc (atan2_test): Add another test.
12477 * Makerules (common-objdir-compile): Remove.
12478 * sysdeps/unix/Makefile (config-generated): Do not add
12479 $(unix-generated) to variable.
12480 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12481 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12483 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12485 [generic bits/local_lim.h] (before-compile): Do not append to
12487 [generic bits/local_lim.h] (common-generated): Likewise.
12488 [generic sys/param.h] (before-compile): Do not append to variable.
12489 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12490 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12491 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12492 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12494 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12495 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12496 [generic sys/param.h] ($(addprefix
12497 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12498 [generic sys/param.h] (common-generated): Do not append to
12500 [generic sys/param.h] (sysdep_headers): Likewise.
12501 [generic bits/errno.h] (before-compile): Do not append to
12503 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12505 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12506 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12507 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12508 [generic bits/errno.h] (common-generated): Do not append to
12510 [generic bits/ioctls.h] (before-compile): Do not append to
12512 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12514 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12515 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12516 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12518 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12519 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12520 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12521 [generic bits/ioctls.h] (common-generated): Do not append to
12523 [generic sys/syscall.h] (syscall.h): Remove variable.
12524 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12526 [generic sys/syscall.h] (before-compile): Do not append to
12528 [generic sys/syscall.h] (common-generated): Likewise.
12529 * sysdeps/unix/errnos-tmpl.c: Remove file.
12530 * sysdeps/unix/errnos.awk: Likewise.
12531 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12532 * sysdeps/unix/ioctls.awk: Likewise.
12533 * sysdeps/unix/mk-local_lim.c: Likewise.
12534 * sysdeps/unix/snarf-ioctls: Likewise.
12536 2012-03-19 Richard Henderson <rth@twiddle.net>
12538 * sysdeps/i386/fpu/fenv_private.h: New file.
12539 * sysdeps/i386/fpu/math_private.h: Use it.
12540 (math_opt_barrier, math_force_eval): Remove.
12541 (libc_feholdexcept_setround_53bit): Remove.
12542 (libc_feupdateenv_53bit): Remove.
12543 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12544 (math_opt_barrier, math_force_eval): Remove.
12545 (libc_feholdexcept): Remove.
12546 (libc_feholdexcept_setround): Remove.
12547 (libc_fetestexcept, libc_fesetenv): Remove.
12548 (libc_feupdateenv_test): Remove.
12549 (libc_feupdateenv, libc_feholdsetround): Remove.
12550 (libc_feresetround): Remove.
12552 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12553 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12555 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12556 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12557 (libc_feupdateenv_testl): New.
12558 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12559 (libc_feupdateenv_testf): New.
12560 (libc_feupdateenv): Use libc_feupdateenv_test.
12561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12562 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12564 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12565 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12566 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12567 (libc_feresetround_noex): New.
12568 (libc_feresetround_noexf): New.
12569 (libc_feresetround_noexl): New.
12570 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12571 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12572 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12573 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12578 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12580 SET_RESTORE_ROUND_NOEX.
12581 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12582 SET_RESTORE_ROUND_NOEXF.
12583 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12584 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12585 (libc_feholdsetroundf): New.
12586 (libc_feresetround, libc_feresetroundf): New.
12588 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12589 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12590 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12592 * sysdeps/generic/math_private.h: Include <fenv.h>.
12593 (default_libc_feholdexcept): New.
12594 (default_libc_feholdexcept_setround): New.
12595 (default_libc_fesetenv, default_libc_feupdateenv): New.
12596 (libc_feholdexcept): Only define if undefined.
12597 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12598 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12599 (libc_feholdexcept_setroundl): Likewise.
12600 (libc_feholdexcept_setround_53bit): Likewise.
12601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12602 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12603 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12604 (libc_feupdateenv_53bit): Likewise.
12605 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12606 (libc_feholdexcept): Convert from macro to inline function.
12607 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12608 (libc_fesetenv, libc_feupdateenv): Likewise.
12610 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12611 not previously defined.
12612 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12613 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12614 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12615 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12616 * sysdeps/ieee754/flt-32/math_private.h: New file.
12617 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12618 math_private.h below SET_FLOAT_WORD.
12619 (__isnan, __isinf_ns, __finite): Remove.
12620 (__isnanf, __isinf_nsf, __finitef): Remove.
12622 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12626 2012-03-17 David S. Miller <davem@davemloft.net>
12629 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12632 2012-03-16 David S. Miller <davem@davemloft.net>
12634 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12638 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12640 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12641 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12642 sysdep_routines when subdir is sysvipc.
12643 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12644 __getshmlba helper.
12646 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12648 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12650 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12656 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12657 (__lround): Renamed to ...
12658 (__llround): This. Replace long int with long long int.
12659 Define lround functions as aliases of llround functions.
12660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12662 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12664 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12665 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12666 adresses to uintptr_t. Replace "long int" and "unsigned long
12667 int" with "greg_t" on va_arg.
12669 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12671 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12672 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12674 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12675 Move e_machine check before EI_CLASS check. Handle x32
12676 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12677 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12678 SKIP_EM_IA_64 and include
12679 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12681 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12682 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12683 (add_system_dir): New macro.
12685 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12686 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12688 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12699 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12701 * math/w_j0f.c (j0f): Likewise.
12703 * math/w_j0l.c (__j0l): Likewise.
12705 * math/w_j1.c (j1): Likewise.
12707 * math/w_j1f.c (j1f): Likewise.
12709 * math/w_j1l.c (__j1l): Likewise.
12711 * math/w_jn.c (jn): Likewise.
12713 * math/w_jnf.c (jnf): Likewise.
12715 * math/w_jnl.c (__jnl): Likewise.
12717 * math/libm-test.inc (j0_test): Add more tests.
12718 (j1_test): Likewise.
12719 (jn_test): Likewise. Add trailing semicolon to existing test.
12720 (y0_test): Likewise.
12721 (y1_test): Likewise.
12722 * sysdeps/i386/fpu/libm-test-ulps: Update.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12728 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12729 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12730 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12731 (__tanl): Set errno for infinite argument.
12732 * sysdeps/i386/fpu/mptan.c: Remove.
12733 * sysdeps/i386/fpu/s_tan.S: Likewise.
12734 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12735 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12736 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12737 * math/libm-test.inc (tan_test): Add more tests and enable more
12738 tests for double and long double.
12739 * sysdeps/i386/fpu/libm-test-ulps: Update.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12744 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12745 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12747 2012-03-16 Roland McGrath <roland@hack.frob.com>
12749 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12750 * configure.in: Use it for both main tree and add-ons.
12751 * configure: Regenerated.
12753 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12755 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12757 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12759 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12763 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12764 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12769 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12771 != 0 for prec == 2.
12772 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12773 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12774 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12775 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12776 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12777 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12778 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12779 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12780 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12781 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12782 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12783 * math/libm-test.inc (cos_test): Add more tests and enable more
12784 tests for long double.
12785 (sin_test): Likewise.
12786 (sincos_test): Likewise.
12787 * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790 2012-03-16 David S. Miller <davem@davemloft.net>
12792 * sysdeps/sparc/fpu/math_private.h: New file.
12794 2012-03-15 David S. Miller <davem@davemloft.net>
12796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12810 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12811 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12813 * sysdeps/sparc/sparc-ifunc.h: New file.
12814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12859 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12861 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12865 2012-03-15 Andreas Jaeger <aj@suse.de>
12868 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12869 ieee754/flt-32 implementation for sin, cos and sincos.
12870 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12871 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12872 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12873 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12874 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12875 ieee754/flt-32 implementation for tan.
12877 * math/libm-test.inc (cos_test): Enable some large input tests for
12879 (sin_test): Likewise.
12880 (sincos_test): Likewise.
12881 (tan_test): Add tests for large input.
12883 * sysdeps/i386/fpu/libm-test-ulps: Update.
12885 2012-03-15 Andreas Jaeger <aj@suse.de>
12888 * math/libm-test.inc (cos_test): Add more test cases.
12889 (sin_test): Likewise.
12890 (sincos_test): Likewise.
12892 2012-03-15 Andreas Jaeger <aj@suse.de>
12895 * math/libm-test.inc (cos_test): Add a test case for large input
12897 (sin_test): Likewise.
12898 (sincos_test): Likewise.
12900 2012-03-15 Andreas Jaeger <aj@suse.de>,
12901 Joseph Myers <joseph@codesourcery.com>
12904 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12905 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12906 * sysdeps/i386/fpu/branred.c: Likewise.
12907 * sysdeps/i386/fpu/dosincos.c: Likewise.
12908 * sysdeps/i386/fpu/mpa.c: Likewise.
12909 * sysdeps/i386/fpu/s_cos.S: Likewise.
12910 * sysdeps/i386/fpu/s_sin.S: Likewise.
12911 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12912 * sysdeps/i386/fpu/sincos32.c: Likewise.
12914 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12916 (libc_feupdateenv_53bit): Define.
12917 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12919 (libc_feupdateenv_53bit): Define.
12921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12922 53 bit (without extend i386 double precision).
12924 * math/libm-test.inc (sincos_test): Add tests for large input.
12928 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12930 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12934 2012-03-15 David S. Miller <davem@davemloft.net>
12936 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12937 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12938 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12939 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12964 fmin/fmax sysdep routines.
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12967 2012-03-14 David S. Miller <davem@davemloft.net>
12969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13046 * sysdeps/sparc/configure.in: New file.
13047 * sysdeps/sparc/configure: Generate.
13048 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13049 * configure: Regenerate.
13050 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13051 * config.make.in (have-as-vis3): New.
13052 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13053 available use -Av9d instead of -Av9a.
13054 * sysdeps/sparc/sparc64/Makefile: Likewise.
13055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13070 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13071 fzeros/fnegs to load 0x80000000 into a float register instead of
13073 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13075 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13079 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13080 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13081 ($(inst_includedir)/bits/syscall.h): Remove rule.
13082 ($(objpfx)bits/syscall.d): Include instead of
13083 $(objpfx)syscall-list.d.
13084 (generated): Change syscall-list.h and syscall-list.d to
13085 bits/syscall.h and bits/syscall.d.
13087 2012-03-14 Roland McGrath <roland@hack.frob.com>
13090 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13092 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13095 * math/s_csqrt.c: Include <float.h>.
13096 (__csqrt): Scale large or subnormal inputs.
13097 * math/s_csqrtf.c: Likewise.
13098 * math/s_csqrtl.c: Likewise.
13099 * math/libm-test.inc (csqrt_test): Add more tests.
13100 * sysdeps/i386/fpu/libm-test-ulps: Update.
13101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104 * math/libm-test.inc (hypot_test): Add more tests.
13106 2012-03-13 David S. Miller <davem@davemloft.net>
13109 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13110 double-precision for the calculation instead of scaling.
13112 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13114 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13115 manipulate bits before adding and subtracting TWO52[sx].
13116 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13121 2012-03-13 David S. Miller <davem@davemloft.net>
13123 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13124 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13126 rtld-global-offsets.h
13127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13134 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13135 'err' in the ifdef scope in which it is actually used.
13137 * nss/nss_db/db-init.c: Include string.h
13139 2012-03-12 David S. Miller <davem@davemloft.net>
13141 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13142 masking out of the most significant byte of random value used.
13143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13144 Fix coding style in previous change.
13146 * sysdeps/unix/sysv/linux/kernel-features.h
13147 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13148 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13150 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13153 2012-03-11 David S. Miller <davem@davemloft.net>
13155 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13156 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13158 for 'resultvar' otherwise things get truncated on 64-bit.
13160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13161 Fix masking out of the most significant byte of random value used.
13163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13165 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13169 2012-03-09 David S. Miller <davem@davemloft.net>
13171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13172 variables with appropriate CPP guards.
13173 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13174 frame pointer, not the stack pointer. Correct layout comments. Fix test
13175 on resulting framesize and the management of the outregs buffer for pltexit.
13176 Preserve floating point return values across _dl_call_pltexit call.
13177 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13178 framesize and the management of the outregs buffer for pltexit.
13179 Preserve floating point return values across _dl_call_pltexit
13181 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13182 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13183 (print_exit): Fix format string for return register value.
13185 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13187 * sunrpc/Makefile (others): Add rpcgen.
13188 ($(objpfx)rpcgen): Remove special build rule and dependency on
13190 * sunrpc/rpcgen.c: New file.
13192 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13195 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13196 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13197 * sysdeps/i386/crti.S: Likewise.
13198 * sysdeps/i386/crtn.S: Likewise.
13199 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13200 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13201 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13202 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13203 * sysdeps/sh/crti.S: Likewise.
13204 * sysdeps/sh/crtn.S: Likewise.
13205 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13208 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13210 * locale/programs/locfile-kw.gperf: Likewise.
13211 * locale/programs/charmap-kw.h: Regenerated.
13212 * locale/programs/locfile-kw.h: Likewise.
13215 * intl/plural.y: Replace FSF snail mail address with URL.
13216 * intl/plural.c: Regenerated.
13218 2012-03-09 Richard Henderson <rth@twiddle.net>
13220 * include/math_private.h: Remove file.
13221 * math/math_private.h: Move file ...
13222 * sysdeps/generic/math_private.h: ... here.
13224 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13225 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13226 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13228 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13229 and <math_private.h>.
13230 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13231 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13232 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13233 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13234 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13265 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13318 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13322 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13323 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13325 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13327 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13329 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13330 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13331 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13332 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13333 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13335 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13336 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13337 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13342 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13346 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13347 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13348 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13349 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13351 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13353 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13357 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13358 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13359 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13360 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13362 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13363 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13364 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13366 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13367 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13368 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13371 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13372 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13373 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13374 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13375 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13376 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13377 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13378 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13379 * sysdeps/ieee754/k_standard.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13529 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13530 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13540 * sysdeps/ieee754/s_lib_version.c: Likewise.
13541 * sysdeps/ieee754/s_matherr.c: Likewise.
13542 * sysdeps/ieee754/s_signgam.c: Likewise.
13543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13545 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13546 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13547 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13548 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13549 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13550 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13551 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13552 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13553 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13554 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13555 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13556 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13557 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13559 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13560 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13561 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13565 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13567 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13568 * sunrpc/rpc_main.c: Likewise.
13569 * sunrpc/rpc_svcout.c: Likewise.
13571 2012-03-09 David S. Miller <davem@davemloft.net>
13573 * include/math_private.h: New file.
13575 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13577 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13578 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13579 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13580 from <bits/socket_type.h>.
13581 (enum __socket_type): Don't define here.
13582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13584 bits/socket_type.h.
13587 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13588 checking __USE_GNU.
13590 * Makerules ($(inst_includedir)/%.h): New rule.
13591 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13592 (install-others): Remove variable setting.
13593 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13595 2012-03-08 Richard Henderson <rth@twiddle.net>
13597 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13598 from macro to inline function; merge with the
13599 !__LIBC_INTERNAL_MATH_INLINES version.
13600 (__ieee754_sqrtf): Likewise.
13602 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13603 to inline function.
13604 (__rintf, __floor, __floorf): Likewise.
13606 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13607 macro to inline function.
13608 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13611 not <math/math_private.h>.
13613 2012-03-08 David S. Miller <davem@davemloft.net>
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13617 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13619 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13621 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13623 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13624 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13626 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13628 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13629 be defined individually, they must be defined as a block. Define
13630 S for printing a string instead of hidint the different by using a
13631 macro for adding the 'l'.
13632 * stdio-common/tst-fphex-wide.c: Adjust.
13634 2012-03-07 Marek Polacek <polacek@redhat.com>
13636 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13638 2012-03-08 Marek Polacek <polacek@redhat.com>
13641 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13642 * stdio-common/tst-fphex.c: Define a few macros to make the
13643 test reusable. Use them.
13644 * stdio-common/tst-fphex-wide.c: New file.
13646 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13649 * manual/macros.texi (gnusystems): New macro.
13650 (nongnusystems): Likewise.
13651 (gnulinuxhurdsystems): Likewise.
13652 (gnuhurdsystems): Likewise..
13653 (gnulinuxsystems): Likewise.
13654 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13655 variants of the GNU system, not "GNU system".
13656 * manual/conf.texi: Likewise.
13657 * manual/errno.texi: Likewise. Update example of errno macro
13659 * manual/filesys.texi: Likewise.
13660 (getumask): Document as specific to GNU/Hurd.
13661 * manual/install.texi: Likewise. Reword some references to
13663 * manual/intro.texi: Likewise.
13664 * manual/io.texi: Likewise.
13665 (File Name Portability): Detail which constraints are inapplicable
13666 to all GNU systems and which are only inapplicable to GNU/Hurd.
13667 * manual/job.texi: Likewise.
13668 * manual/llio.texi: Likewise.
13669 (O_NOCTTY): Document as present on GNU/Linux.
13670 * manual/maint.texi: Likewise.
13671 * manual/memory.texi: Likewise.
13672 * manual/pattern.texi: Likewise.
13673 * manual/pipe.texi: Likewise.
13674 * manual/process.texi: Likewise.
13675 * manual/resource.texi: Likewise.
13676 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13678 * manual/setjmp.texi: Likewise.
13679 * manual/signal.texi: Likewise.
13680 * manual/startup.texi: Likewise.
13681 * manual/stdio.texi: Likewise.
13682 * manual/terminal.texi: Likewise.
13683 (ONLCR): Document as POSIX.
13684 (OXTABS): Document availability on GNU/Linux as XTABS.
13685 (ONOEOT): Document availability separately from other bits.
13686 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13687 * manual/time.texi: Likewise.
13688 * manual/users.texi: Likewise.
13689 * INSTALL: Regenerated.
13690 * sysdeps/gnu/errlist.c: Regenerated.
13692 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13693 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13694 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13696 * configure: Regenerated.
13698 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13700 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13701 default includes instead of AC_HEADER_CHECK.
13702 * sysdeps/i386/configure: Regenerated.
13705 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13706 * math/s_cacoshf.c (__cacoshf): Likewise.
13707 * math/s_cacoshl.c (__cacoshl): Likewise.
13708 * math/s_casinh.c (__casinh): Set signs of result from argument.
13709 * math/s_casinhf.c (__casinhf): Likewise.
13710 * math/s_casinhl.c (__casinhl): Likewise.
13711 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13712 (casinh_test): Add more tests.
13713 * sysdeps/i386/fpu/libm-test-ulps: Update.
13714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13716 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13718 * po/zh_TW.po: Update from translation team.
13720 * login/Makefile (distribute): Remove variable.
13721 * catgets/Makefile: Likewise.
13722 * mach/Makefile: Likewise.
13723 * malloc/Makefile: Likewise.
13724 * misc/Makefile: Likewise.
13725 * iconv/Makefile: Likewise.
13726 * nscd/Makefile: Likewise.
13727 * hurd/Makefile: Likewise.
13728 * manual/Makefile: Likewise.
13729 * locale/Makefile: Likewise.
13730 * intl/Makefile: Likewise.
13731 * conform/Makefile: Likewise.
13732 * nss/Makefile: Likewise.
13733 * time/Makefile: Likewise.
13734 * soft-fp/Makefile: Likewise.
13735 * dirent/Makefile: Likewise.
13736 * gmon/Makefile: Likewise.
13737 * po/Makefile: Likewise.
13738 * rt/Makefile: Likewise.
13739 * socket/Makefile: Likewise.
13740 * math/Makefile: Likewise.
13741 * signal/Makefile: Likewise.
13742 * debug/Makefile: Likewise.
13743 * elf/Makefile: Likewise.
13744 * timezone/Makefile: Likewise.
13745 * stdlib/Makefile: Likewise.
13746 * iconvdata/Makefile: Likewise.
13747 * sunrpc/Makefile: Likewise.
13748 * io/Makefile: Likewise.
13749 * argp/Makefile: Likewise.
13750 * inet/Makefile: Likewise.
13751 * hesiod/Makefile: Likewise.
13752 * grp/Makefile: Likewise.
13753 * csu/Makefile: Likewise.
13754 * wctype/Makefile: Likewise.
13755 * crypt/Makefile: Likewise.
13756 * libio/Makefile: Likewise.
13757 * string/Makefile: Likewise.
13758 * nis/Makefile: Likewise.
13759 * resolv/Makefile: Likewise.
13760 * stdio-common/Makefile: Likewise.
13761 * wcsmbs/Makefile: Likewise.
13762 * dlfcn/Makefile: Likewise.
13763 * posix/Makefile: Likewise.
13766 * timezone/Makefile: Don't install timezone files, just the programs
13769 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13771 * nss/databases.def: Add missing gshadow entry.
13773 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13775 2012-03-06 Marek Polacek <polacek@redhat.com>
13778 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13779 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13780 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13781 * stdio-common/tst-long-dbl-fphex.c: New file.
13783 2012-03-06 David S. Miller <davem@davemloft.net>
13785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13786 (set_obp_int): New function.
13787 (get_obp_int): New function.
13788 (__get_clockfreq_via_dev_openprom): Likewise.
13789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13790 Avoid unused variable warnings on 'val' and use builtin_expect.
13791 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13793 (INLINE_CLONE_SYSCALL): Likewise.
13795 2012-03-05 David S. Miller <davem@davemloft.net>
13797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13799 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13804 only for |x| >= 40.
13805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13807 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13810 Replace gettimeofday with __vdso_gettimeofday.
13812 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13813 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13814 __vdso_clock_gettime and __vdso_getcpu.
13816 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13817 time with __vdso_time.
13819 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13821 * manual/lang.texi (size_t): Note types to which size_t may be
13822 equivalent with the GNU C Library, but do not describe when
13823 differences between them are significant.
13825 2012-03-05 Andreas Jaeger <aj@suse.de>
13827 * sysdeps/i386/fpu/libm-test-ulps: Update.
13829 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13832 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13833 (__ieee754_pow): Save and restore rounding mode and use
13834 round-to-nearest for main computations.
13835 * math/libm-test.inc (pow_test_tonearest): New function.
13836 (pow_test_towardzero): Likewise.
13837 (pow_test_downward): Likewise.
13838 (pow_test_upward): Likewise.
13839 (main): Call the new functions.
13840 * sysdeps/i386/fpu/libm-test-ulps: Update.
13841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13844 * math/libm-test.inc (cosh_test_tonearest): New function.
13845 (cosh_test_towardzero): Likewise.
13846 (cosh_test_downward): Likewise.
13847 (cosh_test_upward): Likewise.
13848 (sinh_test_tonearest): Likewise.
13849 (sinh_test_towardzero): Likewise.
13850 (sinh_test_downward): Likewise.
13851 (sinh_test_upward): Likewise.
13852 (main): Call the new functions.
13853 * sysdeps/i386/fpu/libm-test-ulps: Update.
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13856 2012-03-05 Tom de Vries <tom@codesourcery.com>
13858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13859 default stack guard is set in last bytes.
13860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13862 2012-03-05 Kees Cook <keescook@chromium.org>
13864 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13867 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13868 possibly allocate from heap instead of stack.
13869 * stdio-common/bug-vfprintf-nargs.c: New file.
13870 * stdio-common/Makefile (tests): Add nargs overflow test.
13872 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13876 2012-03-03 Marek Polacek <polacek@redhat.com>
13878 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13879 * math/math_private.h: Likewise.
13880 * stdlib/tst-strtod.c: Likewise.
13881 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13882 * sysdeps/x86_64/bits/atomic.h: Likewise.
13884 2012-03-02 David S. Miller <davem@davemloft.net>
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13890 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13891 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13892 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13893 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13895 2012-03-02 Roland McGrath <roland@hack.frob.com>
13898 * manual/examples/README: New file, says the example source files
13899 can be used under GPL>=2.
13900 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13901 line containing just "*/".
13902 * manual/examples/add.c: Add copyright header (GPL>=2).
13903 * manual/examples/argp-ex1.c: Likewise.
13904 * manual/examples/argp-ex2.c: Likewise.
13905 * manual/examples/argp-ex3.c: Likewise.
13906 * manual/examples/argp-ex4.c: Likewise.
13907 * manual/examples/atexit.c: Likewise.
13908 * manual/examples/db.c: Likewise.
13909 * manual/examples/dir.c: Likewise.
13910 * manual/examples/dir2.c: Likewise.
13911 * manual/examples/execinfo.c: Likewise.
13912 * manual/examples/filecli.c: Likewise.
13913 * manual/examples/filesrv.c: Likewise.
13914 * manual/examples/fmtmsgexpl.c: Likewise.
13915 * manual/examples/genpass.c: Likewise.
13916 * manual/examples/inetcli.c: Likewise.
13917 * manual/examples/inetsrv.c: Likewise.
13918 * manual/examples/isockad.c: Likewise.
13919 * manual/examples/longopt.c: Likewise.
13920 * manual/examples/memopen.c: Likewise.
13921 * manual/examples/memstrm.c: Likewise.
13922 * manual/examples/mkfsock.c: Likewise.
13923 * manual/examples/mkisock.c: Likewise.
13924 * manual/examples/mygetpass.c: Likewise.
13925 * manual/examples/pipe.c: Likewise.
13926 * manual/examples/popen.c: Likewise.
13927 * manual/examples/rprintf.c: Likewise.
13928 * manual/examples/search.c: Likewise.
13929 * manual/examples/select.c: Likewise.
13930 * manual/examples/setjmp.c: Likewise.
13931 * manual/examples/sigh1.c: Likewise.
13932 * manual/examples/sigusr.c: Likewise.
13933 * manual/examples/stpcpy.c: Likewise.
13934 * manual/examples/strdupa.c: Likewise.
13935 * manual/examples/strftim.c: Likewise.
13936 * manual/examples/strncat.c: Likewise.
13937 * manual/examples/subopt.c: Likewise.
13938 * manual/examples/swapcontext.c: Likewise.
13939 * manual/examples/termios.c: Likewise.
13940 * manual/examples/testopt.c: Likewise.
13941 * manual/examples/testpass.c: Likewise.
13942 * manual/examples/timeval_subtract.c: Likewise.
13945 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13947 * manual/timeval_subtract.c.texi: ... here, new file.
13949 2012-03-02 David S. Miller <davem@davemloft.net>
13951 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13953 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13956 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13957 (__sin): Save and restore rounding mode and use round-to-nearest
13958 for all computations.
13959 (__cos): Save and restore rounding mode and use round-to-nearest
13960 for all computations.
13961 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13963 (tan): Save and restore rounding mode and use round-to-nearest for
13965 * math/libm-test.inc (cos_test_tonearest): New function.
13966 (cos_test_towardzero): Likewise.
13967 (cos_test_downward): Likewise.
13968 (cos_test_upward): Likewise.
13969 (sin_test_tonearest): Likewise.
13970 (sin_test_towardzero): Likewise.
13971 (sin_test_downward): Likewise.
13972 (sin_test_upward): Likewise.
13973 (tan_test_tonearest): Likewise.
13974 (tan_test_towardzero): Likewise.
13975 (tan_test_downward): Likewise.
13976 (tan_test_upward): Likewise.
13977 (main): Call the new functions.
13978 * sysdeps/i386/fpu/libm-test-ulps: Update.
13979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13982 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13983 small n, then large n, before computing and testing k+n.
13984 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13989 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13990 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13991 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13992 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13997 * math/libm-test.inc (scalbn_test): Add more tests.
13998 (scalbln_test): Likewise.
14000 * manual/filesys.texi (mode_t): Describe constraints on size and
14001 signedness, not exact equivalence to a particular type.
14003 (ino64_t): Likewise.
14005 (nlink_t): Likewise.
14006 (blkcnt_t): Likewise.
14007 (blkcnt64_t): Likewise.
14008 * manual/llio.texi (off_t): Likewise.
14011 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14012 (__ieee754_exp): Save and restore rounding mode and use
14013 round-to-nearest for all computations.
14014 * math/libm-test.inc (exp_test_tonearest): New function.
14015 (exp_test_towardzero): Likewise.
14016 (exp_test_downward): Likewise.
14017 (exp_test_upward): Likewise.
14018 (main): Call the new functions.
14019 * sysdeps/i386/fpu/libm-test-ulps: Update.
14020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14022 2012-03-01 Chris Demetriou <cgd@google.com>
14024 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14025 have predictable order.
14027 2012-03-01 David S. Miller <davem@davemloft.net>
14029 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14031 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14032 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14033 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14034 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14036 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14037 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14038 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14040 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14041 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14044 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14049 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14052 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14053 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14054 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14059 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14060 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14061 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14062 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14068 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14069 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14070 * sysdeps/sparc/elf/configure: Regenerated.
14072 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14074 * configure.in (AS, LD): Require binutils 2.20 or later.
14075 * configure: Regenerated.
14076 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14077 as required minimum version.
14078 * INSTALL: Regenerated.
14082 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14083 before squaring exponent.
14084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14085 bottom long double and 27 bits of top long double before squaring
14087 * math/libm-test.inc (erfc_test): Add more tests.
14088 * sysdeps/i386/fpu/libm-test-ulps: Update.
14089 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 2012-03-01 Kai Tietz <ktietz@redhat.com>
14094 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14095 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14096 containing bit-fields.
14097 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14098 * soft-fp/single.h (_FP_UNION_S): Likewise.
14099 * soft-fp/double.h (_FP_UNION_D): Likewise.
14101 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14104 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14105 not include ../strcmp.S.
14106 [USE_AS_STRNCASECMP_L]: Likewise.
14107 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14108 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14109 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14110 (__strncasecmp_l_ia32): Define as alias to
14111 __strncasecmp_l_nonascii.
14114 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14115 * sysdeps/i386/fpu/libm-test-ulps: Update.
14116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14118 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121 2012-02-29 Jeff Law <law@redhat.com>
14123 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14124 out of bounds read.
14126 2012-02-29 Marek Polacek <polacek@redhat.com>
14129 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14130 * elf/Makefile: Add rules to run tst-unused-dep.out.
14132 2012-02-28 David S. Miller <davem@davemloft.net>
14134 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14135 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14138 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14139 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14141 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14143 * math/libm-test.inc (llround_test): Move one test from
14144 lround_test. Use TEST_f_L in moved test.
14145 (lround_test): Move misplaced test to llround_test. Add testcase
14148 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14150 * sysdeps/x86_64/fpu/e_expf.S: New file.
14151 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14153 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14156 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14157 of remain_len that may cause incomplete multi-byte character and
14159 * posix/bug-regex33.c: New file.
14160 * posix/Makefile (tests): Add bug-regex33.
14162 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14164 * manual/macros.texi: New file.
14165 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14166 * manual/libc.texinfo: Include macros.texi.
14167 * manual/creatute.texi: Likewise.
14168 * manual/install.texi: Likewise.
14169 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14170 @glibcadj{} in references to the GNU C Library.
14171 * manual/charset.texi: Likewise.
14172 * manual/conf.texi: Likewise.
14173 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14174 when not using those macros.
14175 * manual/creature.texi: Likewise.
14176 * manual/crypt.texi: Likewise.
14177 * manual/errno.texi: Likewise.
14178 * manual/filesys.texi: Likewise.
14179 * manual/header.texi: Likewise.
14180 * manual/install.texi: Likewise.
14181 * manual/intro.texi: Likewise.
14182 * manual/io.texi: Likewise.
14183 * manual/job.texi: Likewise.
14184 * manual/lang.texi: Likewise.
14185 * manual/libc.texiinfo: Likewise.
14186 * manual/llio.texi: Likewise.
14187 * manual/locale.texi: Likewise.
14188 * manual/maint.texi: Likewise.
14189 * manual/math.texi: Likewise.
14190 * manual/memory.texi: Likewise.
14191 * manual/message.texi: Likewise.
14192 * manual/nss.texi: Likewise.
14193 * manual/pattern.texi: Likewise.
14194 * manual/process.texi: Likewise.
14195 * manual/resource.texi: Likewise.
14196 * manual/search.texi: Likewise.
14197 * manual/setjmp.texi: Likewise.
14198 * manual/signal.texi: Likewise.
14199 * manual/socket.texi: Likewise.
14200 * manual/startup.texi: Likewise.
14201 * manual/stdio.texi: Likewise.
14202 * manual/string.texi: Likewise.
14203 * manual/sysinfo.texi: Likewise.
14204 * manual/syslog.texi: Likewise.
14205 * manual/terminal.texi: Likewise.
14206 * manual/time.texi: Likewise.
14207 * manual/users.texi: Likewise.
14208 * INSTALL: Regenerated.
14209 * NOTES: Regenerated.
14210 * sysdeps/gnu/errlist.c: Regenerated.
14212 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14214 * include/dirent.h: Include <dirstream.h> before
14217 2012-02-28 David S. Miller <davem@davemloft.net>
14219 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14220 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14221 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14222 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14224 2012-02-27 David S. Miller <davem@davemloft.net>
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14228 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14229 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14232 frame pointer instead of stack pointer relative arg slot.
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14237 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14240 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14242 2012-02-27 David S. Miller <davem@davemloft.net>
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14248 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14249 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14250 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14251 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14253 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14255 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14256 later. Allow versions 5-9.
14257 * configure: Regenerated.
14258 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14259 required minimum version and 4.6 as recommended version. Do not
14260 mention bugs in GCC 2.7 and 2.8.
14261 * INSTALL: Regenerated.
14263 2012-02-27 David S. Miller <davem@davemloft.net>
14265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14269 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14270 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14271 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14272 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14275 manipulate bits before adding and subtracting TWO112[sx].
14276 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14278 2012-02-27 Roland McGrath <roland@hack.frob.com>
14281 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14282 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14283 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14284 being in POSIX, because they are in 1003.1-2008.
14286 * rt/tst-aio.c: Include <fcntl.h>.
14287 * rt/tst-aio7.c: Likewise.
14288 * rt/tst-aio64.c: Likewise.
14290 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14292 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14294 * manual/install.texi (--with-headers): Describe headers as
14295 interface headers, not private headers.
14296 (Specific advice for GNU/Linux systems): Describe use of headers
14297 from "make headers_install", not private headers from older
14299 * INSTALL: Regenerated.
14300 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14302 * sysdeps/unix/sysv/linux/configure: Regenerated.
14304 * manual/llio.texi (fclean): Remove documentation.
14306 * manual/Makefile (libc-texi-generated): New variable. Include
14308 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14309 $(libc-texi-generated), not duplicated list of files.
14310 (version.texi, stamp-version): New rules.
14311 (realclean): Remove $(libc-texi-generated), not individual files
14312 from that list. Do not remove dir-add.texinfo.
14313 * manual/libc.texinfo: Comment out uses of edition numbers and
14314 references to printed manual. Remove last-updated dates.
14315 (EDITION): Comment out.
14317 (VERSION, UPDATED): Remove.
14318 (version.texi): Include.
14320 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14322 * sysdeps/posix/spawni.c: Include <signal.h>.
14323 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14324 * sysdeps/pthread/aio_fsync.c: Likewise.
14326 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14328 * conform/Makefile (tests): Run only when not cross-compiling and
14329 when fast-check is not defined.
14331 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14332 * conform/data/limits.h-data: Fixes for POSIX2008.
14333 * conform/run-conformtest.sh: Run all tests.
14334 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14336 * include/bits/dlfcn.h: Likewise.
14337 * include/langinfo.h: Likewise.
14338 * include/monetary.h: Likewise.
14339 * include/sys/poll.h: Likewise.
14341 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14343 * posix/spawn.h: Define __need_sigset_t.
14344 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14345 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14346 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14347 to get sigevent_t only.
14348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14349 only for __USE_GNU.
14350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14351 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14352 process_vm_writev only for __USE_GNU.
14353 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14355 * conform/Makefile: For now ignore errors from run-conformtest.
14356 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14357 POSIX to avoid namespace pollution. Don't prepend headers.
14358 * conform/data/aio.h-data: Fixes for POSIX testing.
14359 * conform/data/fcntl.h-data: Likewise.
14360 * conform/data/glob.h-data: Likewise.
14361 * conform/data/grp.h-data: Likewise.
14362 * conform/data/pthread.h-data: Likewise.
14363 * conform/data/pwd.h-data: Likewise.
14364 * conform/data/signal.h-data: Likewise.
14365 * conform/data/spawn.h-data: Likewise.
14366 * conform/data/stdio.h-data: Likewise.
14367 * conform/data/stdlib.h-data: Likewise.
14368 * conform/data/stropts.h-data: Likewise.
14369 * conform/data/sys/mman.h-data: Likewise.
14370 * conform/data/sys/stat.h-data: Likewise.
14371 * conform/data/sys/types.h-data: Likewise.
14372 * conform/data/sys/wait.h-data: Likewise.
14373 * conform/data/time.h-data: Likewise.
14374 * conform/data/unistd.h-data: Likewise.
14375 * conform/data/utime.h-data: Likewise.
14377 * io/sys/stat.h: fchmod was always in POSIX.
14378 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14379 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14380 * rt/aio.h: Define __need_timespec before including <time.h>.
14381 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14382 struct. Add forward declaration of pthread_attr_t and use it in
14384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14386 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14387 always remove CLK_TCK definition.
14389 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14391 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14393 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14395 * conform/run-conformtest.sh: New file.
14396 * conform/Makefile: Run run-conformtest for tests.
14397 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14400 * conform/data/uchar.h-data: New file.
14401 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14402 * conform/data/arpa/inet.h-data: Likewise.
14403 * conform/data/assert.h-data: Likewise.
14404 * conform/data/complex.h-data: Likewise.
14405 * conform/data/cpio.h-data: Likewise.
14406 * conform/data/ctype.h-data: Likewise.
14407 * conform/data/dirent.h-data: Likewise.
14408 * conform/data/dlfcn.h-data: Likewise.
14409 * conform/data/errno.h-data: Likewise.
14410 * conform/data/fcntl.h-data: Likewise.
14411 * conform/data/float.h-data: Likewise.
14412 * conform/data/fmtmsg.h-data: Likewise.
14413 * conform/data/fnmatch.h-data: Likewise.
14414 * conform/data/ftw.h-data: Likewise.
14415 * conform/data/glob.h-data: Likewise.
14416 * conform/data/grp.h-data: Likewise.
14417 * conform/data/iconv.h-data: Likewise.
14418 * conform/data/inttypes.h-data: Likewise.
14419 * conform/data/langinfo.h-data: Likewise.
14420 * conform/data/libgen.h-data: Likewise.
14421 * conform/data/limits.h-data: Likewise.
14422 * conform/data/locale.h-data: Likewise.
14423 * conform/data/math.h-data: Likewise.
14424 * conform/data/monetary.h-data: Likewise.
14425 * conform/data/mqueue.h-data: Likewise.
14426 * conform/data/ndbm.h-data: Likewise.
14427 * conform/data/net/if.h-data: Likewise.
14428 * conform/data/netdb.h-data: Likewise.
14429 * conform/data/netinet/in.h-data: Likewise.
14430 * conform/data/nl_types.h-data: Likewise.
14431 * conform/data/poll.h-data: Likewise.
14432 * conform/data/pthread.h-data: Likewise.
14433 * conform/data/pwd.h-data: Likewise.
14434 * conform/data/regex.h-data: Likewise.
14435 * conform/data/sched.h-data: Likewise.
14436 * conform/data/search.h-data: Likewise.
14437 * conform/data/semaphore.h-data: Likewise.
14438 * conform/data/setjmp.h-data: Likewise.
14439 * conform/data/signal.h-data: Likewise.
14440 * conform/data/spawn.h-data: Likewise.
14441 * conform/data/stdarg.h-data: Likewise.
14442 * conform/data/stdio.h-data: Likewise.
14443 * conform/data/stdlib.h-data: Likewise.
14444 * conform/data/string.h-data: Likewise.
14445 * conform/data/strings.h-data: Likewise.
14446 * conform/data/stropts.h-data: Likewise.
14447 * conform/data/sys/ipc.h-data: Likewise.
14448 * conform/data/sys/mman.h-data: Likewise.
14449 * conform/data/sys/msg.h-data: Likewise.
14450 * conform/data/sys/resource.h-data: Likewise.
14451 * conform/data/sys/select.h-data: Likewise.
14452 * conform/data/sys/sem.h-data: Likewise.
14453 * conform/data/sys/shm.h-data: Likewise.
14454 * conform/data/sys/socket.h-data: Likewise.
14455 * conform/data/sys/stat.h-data: Likewise.
14456 * conform/data/sys/statvfs.h-data: Likewise.
14457 * conform/data/sys/time.h-data: Likewise.
14458 * conform/data/sys/timeb.h-data: Likewise.
14459 * conform/data/sys/times.h-data: Likewise.
14460 * conform/data/sys/types.h-data: Likewise.
14461 * conform/data/sys/uio.h-data: Likewise.
14462 * conform/data/sys/un.h-data: Likewise.
14463 * conform/data/sys/utsname.h-data: Likewise.
14464 * conform/data/sys/wait.h-data: Likewise.
14465 * conform/data/syslog.h-data: Likewise.
14466 * conform/data/tar.h-data: Likewise.
14467 * conform/data/termios.h-data: Likewise.
14468 * conform/data/utime.h-data: Likewise.
14469 * conform/data/utmpx.h-data: Likewise.
14470 * conform/data/varargs.h-data: Likewise.
14471 * conform/data/wchar.h-data: Likewise.
14472 * conform/data/wctype.h-data: Likewise.
14473 * conform/data/wordexp.h-data: Likewise.
14475 * include/stropts.h: New file.
14476 * include/uchar.h: New file.
14477 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14478 * include/assert.h: Likewise.
14479 * include/ctype.h: Likewise.
14480 * include/dirent.h: Likewise.
14481 * include/dlfcn.h: Likewise.
14482 * include/fcntl.h: Likewise.
14483 * include/fnmatch.h: Likewise.
14484 * include/glob.h: Likewise.
14485 * include/grp.h: Likewise.
14486 * include/libio.h: Likewise.
14487 * include/locale.h: Likewise.
14488 * include/math.h: Likewise.
14489 * include/net/if.h: Likewise.
14490 * include/netdb.h: Likewise.
14491 * include/netinet/in.h: Likewise.
14492 * include/pthread.h: Likewise.
14493 * include/pwd.h: Likewise.
14494 * include/regex.h: Likewise.
14495 * include/sched.h: Likewise.
14496 * include/search.h: Likewise.
14497 * include/setjmp.h: Likewise.
14498 * include/signal.h: Likewise.
14499 * include/stdio.h: Likewise.
14500 * include/stdlib.h: Likewise.
14501 * include/string.h: Likewise.
14502 * include/sys/cdefs.h: Likewise.
14503 * include/sys/mman.h: Likewise.
14504 * include/sys/msg.h: Likewise.
14505 * include/sys/resource.h: Likewise.
14506 * include/sys/select.h: Likewise.
14507 * include/sys/socket.h: Likewise.
14508 * include/sys/stat.h: Likewise.
14509 * include/sys/statvfs.h: Likewise.
14510 * include/sys/time.h: Likewise.
14511 * include/sys/times.h: Likewise.
14512 * include/sys/uio.h: Likewise.
14513 * include/sys/utsname.h: Likewise.
14514 * include/sys/wait.h: Likewise.
14515 * include/termios.h: Likewise.
14516 * include/time.h: Likewise.
14517 * include/ulimit.h: Likewise.
14518 * include/unistd.h: Likewise.
14519 * include/utime.h: Likewise.
14520 * include/wchar.h: Likewise.
14521 * include/wctype.h: Likewise.
14522 * include/wordexp.h: Likewise.
14524 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14526 * time/time.h: TIME_UTC must be a macro.
14527 Make timespec_get available for ISO C11 only as well.
14529 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14531 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14532 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14534 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14536 * configure.in: Use -o not -a in test for unsupported multi-arch.
14538 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14540 * manual/texinfo.tex: Update to version 2012-01-19.16.
14542 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14544 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14546 2012-02-24 Roland McGrath <roland@hack.frob.com>
14549 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14550 * manual/fdl-1.3.texi: New file.
14551 * manual/fdl-1.1.texi: File removed.
14554 * manual/libc.texinfo (FDL_VERSION): New @set.
14555 Use it for mention of FDL in cover text.
14556 (Documentation License): Use it in @include file name.
14558 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14559 Roland McGrath <roland@hack.frob.com>
14562 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14563 not LONG_LONG_MAX and LONG_LONG_MIN.
14564 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14565 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14567 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14569 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14574 manipulate bits before adding and subtracting TWO23[sx].
14575 * math/libm-test.inc (nearbyint_test): Add more tests.
14577 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14580 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14581 bits before adding and subtracting TWO23[sx].
14582 * math/libm-test.inc (rint_test): Add more tests.
14583 (rint_test_tonearest): Likewise.
14584 (rint_test_towardzero): Likewise.
14585 (rint_test_downward): Likewise.
14586 (rint_test_upward: Likewise.
14588 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14591 * include/stdc-predef.h: New file. Extracted from features.h.
14592 * include/features.h: Include stdc-predef.h.
14593 * Makefile (headers): Add stdc-predef.h.
14594 * CONFORMANCE (Compiler limitations): Update.
14596 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14598 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14600 2012-02-21 David S. Miller <davem@davemloft.net>
14602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14605 2012-02-20 David S. Miller <davem@davemloft.net>
14607 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14608 using a normal save/restore sequence, rather than allocating a
14609 dummy stack frame just to store a frame pointer and restore.
14610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14612 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14614 * manual/install.texi: Fix stray word in line-wrapped comment.
14616 2012-02-20 David S. Miller <davem@davemloft.net>
14618 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14619 both binutils and gcc support GOTDATA.
14621 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14622 "rd %pc" in the PIC register setup sequences.
14624 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14625 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14626 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14627 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14628 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14630 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14633 (SYSCALL_ERROR_HANDLER): Likewise.
14634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14637 (SYSCALL_ERROR_HANDLER): Likewise.
14639 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14640 (HAVE_GCC_GOTDATA): New.
14641 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14642 relocation support in both binutils and gcc.
14643 * sysdeps/sparc/elf/configure: Regenerate.
14645 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14646 * sysdeps/sparc/sparc32/elf/configure: Delete.
14647 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14648 * sysdeps/sparc/sparc64/elf/configure: Delete.
14649 * sysdeps/sparc/elf/configure.in: New file.
14650 * sysdeps/sparc/elf/configure: Generate.
14652 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14653 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14654 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14655 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14656 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14658 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14660 * manual/install.texi: Do not mention specific glibc version
14662 * manual/libc.texinfo (VERSION, UPDATED): Update.
14663 (@copying): Use @copyright{} and range of years.
14665 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14668 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14669 [crti.S not in sysdirs] (generated): Do not append.
14670 [crti.S not in sysdirs] (omit-deps): Likewise.
14671 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14672 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14673 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14674 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14675 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14677 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14678 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14679 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14680 * csu/defs.awk: Remove file.
14681 * sysdeps/generic/initfini.c: Likewise.
14682 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14684 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14687 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14689 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14690 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14691 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14693 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14694 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14696 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14697 (__EPOLL_PACKED): Define to empty if not defined by
14699 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14703 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14705 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14706 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14710 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14714 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14716 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14719 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14720 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14723 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14725 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14726 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14728 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14730 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14731 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14733 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14735 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14738 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14740 * math/w_acos.c: Use non-signaling floating-point comparisons.
14741 * math/w_acosf.c: Likewise.
14742 * math/w_acosh.c: Likewise.
14743 * math/w_acoshf.c: Likewise.
14744 * math/w_acoshl.c: Likewise.
14745 * math/w_acosl.c: Likewise.
14746 * math/w_asin.c: Likewise.
14747 * math/w_asinf.c: Likewise.
14748 * math/w_asinl.c: Likewise.
14749 * math/w_atanh.c: Likewise.
14750 * math/w_atanhf.c: Likewise.
14751 * math/w_atanhl.c: Likewise.
14752 * math/w_exp2.c: Likewise.
14753 * math/w_exp2f.c: Likewise.
14754 * math/w_exp2l.c: Likewise.
14755 * math/w_j0.c: Likewise.
14756 * math/w_j0f.c: Likewise.
14757 * math/w_j0l.c: Likewise.
14758 * math/w_j1.c: Likewise.
14759 * math/w_j1f.c: Likewise.
14760 * math/w_j1l.c: Likewise.
14761 * math/w_jn.c: Likewise.
14762 * math/w_jnf.c: Likewise.
14763 * math/w_log.c: Likewise.
14764 * math/w_log10.c: Likewise.
14765 * math/w_log10f.c: Likewise.
14766 * math/w_log10l.c: Likewise.
14767 * math/w_log2.c: Likewise.
14768 * math/w_log2f.c: Likewise.
14769 * math/w_log2l.c: Likewise.
14770 * math/w_logf.c: Likewise.
14771 * math/w_logl.c: Likewise.
14772 * math/w_sqrt.c: Likewise.
14773 * math/w_sqrtf.c: Likewise.
14774 * math/w_sqrtl.c: Likewise.
14775 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14776 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14778 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14781 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14784 * manual/string.texi (strnlen): Use correct parameter name in
14785 equivalent expression.
14787 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14790 * manual/users.texi (seteuid): Consistently use neweuid for
14793 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14796 * manual/nss.texi (Services in the NSS configuration): Correct
14797 list of services in example configuration file.
14799 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14802 * manual/arith.texi: Remove statements about negative zero
14803 behaving identically to zero.
14805 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14808 * manual/install.texi: Do not document upgrading from libc5.
14810 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14813 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14815 2012-02-18 David S. Miller <davem@davemloft.net>
14817 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14818 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14819 %o7 across the call.
14820 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14823 SETUP_PIC_REG_LEAF.
14824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14825 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14826 * sysdeps/sparc/crtn.S: Likewise.
14828 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14830 * aout/Makefile: Remove.
14832 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14835 * manual/examples/argp-ex1.c (main): Format definition in GNU
14837 * manual/examples/argp-ex2.c (main): Likewise.
14838 * manual/examples/argp-ex3.c (main): Likewise.
14839 * manual/examples/argp-ex4.c (main): Likewise.
14840 * manual/examples/longopt.c (main): Use new-style prototype
14842 * manual/examples/strncat.c (main): Specify return type and use
14843 (void) for arguments.
14844 * manual/examples/subopt.c (main): Use char **argv argument.
14846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14849 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14852 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14855 * manual/string.texi (strchr): Change when strchrnul is
14858 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14861 * manual/locale.texi (setlocale): Document LOCPATH.
14863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14866 * manual/process.texi (execle): Move @dots{} before last argument.
14868 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14871 * manual/charset.texi (Generic Charset Conversion): Fix typo
14872 (LC_TYPE -> LC_CTYPE).
14874 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14877 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14878 (scalbnf): Likewise.
14879 (scalbnl): Likewise.
14880 (scalbln): Likewise.
14881 (scalblnf): Likewise.
14882 (scalblnl): Likewise.
14883 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14884 (vwarnx): Likewise.
14887 * manual/filesys.texi (telldir): Use braces around return type.
14888 * manual/llio.texi (mmap): Add space after comma.
14889 (mmap64): Likewise.
14890 * manual/math.texi (jn): Use @var{} on parameter names.
14896 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14898 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14900 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14901 (sched_get_priority_max): Likewise.
14902 * manual/signal.texi (sigvec): Add space after comma.
14903 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14905 (if_indextoname): Likewise.
14906 (if_freenameindex): Likewise.
14907 (sendto): Use ',' instead of '.' in prototype.
14908 * manual/startup.texi (syscall): Use @dots{} instead of literal
14910 * manual/stdio.texi (__fpending): Separate initial words of
14911 paragraph from @deftypefun line.
14912 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14914 (vsyslog): Use @var{} on parameter names.
14915 * manual/terminal.texi (stty): Use @var{} on parameter names.
14916 * manual/users.texi (getutmp): Use @var{} on parameter names.
14917 (getutmpx): Likewise.
14919 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14922 * manual/stdio.texi (fopen): Fix typos in description of
14925 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14928 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14929 get clock_id definition.
14931 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14934 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14935 (madvise): Cast every argument to void on its own.
14937 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14940 * manual/startup.texi (Exit Status): Fix typo.
14942 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14945 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14946 * manual/examples/argp-ex2.c: Likewise.
14947 * manual/examples/argp-ex3.c: Likewise.
14949 2012-02-16 Richard Henderson <rth@redhat.com>
14951 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14952 * sysdeps/s390/s390-32/initfini.c: Remove.
14953 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14954 * sysdeps/s390/s390-64/initfini.c: Remove.
14956 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14958 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14959 compiler output for sysdeps/generic/initfini.c.
14960 * sysdeps/sh/elf/initfini.c: Remove file.
14962 2012-02-16 David S. Miller <davem@davemloft.net>
14965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14967 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14968 * sysdeps/sparc/crti.S: New file.
14969 * sysdeps/sparc/crtn.S: New file.
14970 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14971 * sysdeps/sparc/sparc64/Makefile: Likewise.
14973 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14976 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14978 2012-02-15 Roland McGrath <roland@hack.frob.com>
14981 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14983 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14984 (write, read, close): Likewise.
14985 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14987 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14989 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14990 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14991 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14992 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14994 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14998 2012-02-14 Marek Polacek <polacek@redhat.com>
15000 * sysdeps/x86_64/crti.S: New file.
15001 * sysdeps/x86_64/crtn.S: New file.
15002 * sysdeps/x86_64/elf/initfini.c: Remove file.
15004 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15006 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15007 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15008 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15009 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15011 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15015 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15017 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15018 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15019 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15020 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15022 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15026 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15028 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15029 __feraiseexcept instead of feraiseexcept.
15031 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15032 nanosleep invocations.
15033 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15034 strings, and add error checking for a nanosleep invocations.
15036 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15038 Replace FSF snail mail address with URLs, as per GNU coding standards.
15039 Most of the snail mail addresses were wrong anyway, and omitting
15040 them makes the source code easier to maintain. Almost all of the
15041 changes are to license notices and to locale LC_IDENTIFICATION
15042 addresses, except for this one:
15043 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15044 not its snail mail address.
15046 2012-02-09 Richard Henderson <rth@twiddle.net>
15048 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15049 of kernel-features.h.
15051 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15053 2012-02-08 Marek Polacek <polacek@redhat.com>
15055 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15056 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15057 * sysdeps/gnu/_G_config.h: Likewise.
15058 * sysdeps/generic/_G_config.h: Likewise.
15060 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15062 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066 * sysdeps/powerpc/powerpc32/crti.S: New file.
15067 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15068 * sysdeps/powerpc/powerpc64/crti.S: New file.
15069 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15071 * Makeconfig (have-initfini): Don't set.
15072 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15073 * configure.in (nopic_initfini): Don't substitute.
15074 * config.h.in (HAVE_INITFINI): Don't #undef.
15075 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15076 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15078 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15080 Support crti.S and crtn.S provided directly by architectures.
15081 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15082 [crti.S in sysdirs] (omit-deps): Likewise.
15083 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15084 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15085 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15086 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15087 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15088 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15089 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15090 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15091 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15092 compiler output for sysdeps/generic/initfini.c.
15093 * sysdeps/i386/elf/Makefile: Remove file.
15094 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15096 2012-02-07 Marek Polacek <polacek@redhat.com>
15098 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15099 * sysdeps/gnu/_G_config.h: Likewise.
15100 * sysdeps/mach/hurd/_G_config.h: Likewise.
15102 2012-02-07 Marek Polacek <polacek@redhat.com>
15104 * math/Makefile (tests): Add tst-CMPLX2.
15105 * math/tst-CMPLX2.c: New file.
15107 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15109 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15111 * math/libm-test.inc (jn_test): Add missing L suffix.
15113 2012-02-06 Marek Polacek <polacek@redhat.com>
15115 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15116 * sysdeps/i386/fpu/e_powf.S: Likewise.
15117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15118 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15119 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15120 * sysdeps/i386/fpu/e_pow.S: Likewise.
15121 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15122 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15123 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15124 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15125 * sysdeps/i386/fpu/e_log2.S: Likewise.
15126 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15128 * sysdeps/i386/fpu/e_powl.S: Likewise.
15129 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15130 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15131 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15132 * sysdeps/i386/fpu/e_logl.S: Likewise.
15133 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15134 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15135 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15136 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15137 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15138 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15139 * sysdeps/i386/fpu/e_log.S: Likewise.
15140 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15142 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15143 * sysdeps/i386/fpu/e_logf.S: Likewise.
15144 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15145 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15146 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15147 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15149 * sysdeps/i386/fpu/e_log10.S: Likewise.
15150 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15151 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15152 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15153 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15154 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15155 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15156 * sysdeps/i386/asm-syntax.h: Likewise.
15157 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15158 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15159 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15160 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15161 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15162 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15163 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15164 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15165 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15166 * sysdeps/powerpc/sysdep.h: Likewise.
15167 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15168 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15170 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15173 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15175 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15177 * sysdeps/i386/sysdep.h: Include <features.h>.
15178 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15181 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15185 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15188 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15190 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15191 (SETUP_PIC_REG): Use GET_PC_THUNK.
15192 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15195 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15197 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15198 for non-PIC compilation.
15199 (SETUP_PIC_REG): Add .p2align directive.
15200 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15201 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15202 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15203 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15205 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15206 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15208 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15209 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15210 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15211 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15212 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15213 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15214 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15215 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15216 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15217 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15218 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15219 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15220 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15222 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15223 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15226 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15228 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15229 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15230 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15231 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15232 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15233 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15234 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15235 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15236 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15237 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15238 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15239 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15240 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15242 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15244 * math/tst-CMPLX.c: Include <stdio.h>.
15246 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15248 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15250 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15251 * sysdeps/sparc/bits/mathdef.h: Likewise.
15253 2012-01-31 Marek Polacek <polacek@redhat.com>
15255 * libio/libio.h: Don't define _PARAMS.
15256 * locale/programs/config.h: Don't define PARAMS.
15257 * stdlib/strtol_l.c: Likewise.
15258 (__strtol_l): Remove PARAMS from the prototype.
15260 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15262 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15263 names. Just use the correct names. Remove unnecessary wrapper
15265 * malloc/arena.c: Likewise.
15266 * malloc/hooks.c: Likewise.
15268 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15269 ARENA_TEST says not to. Simplify test for creation of a new arena.
15270 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15272 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15274 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15276 (update_get_addr): New function.
15277 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15278 GET_ADDR_MODULE parameter.
15280 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15282 * crypt/cert.c: Remove __STDC__ conditionals.
15283 * crypt/crypt-entry.c: Likewise.
15284 * crypt/crypt_util.c: Likewise.
15285 * libio/filedoalloc.c: Likewise.
15286 * libio/fileops.c: Likewise.
15287 * libio/genops.c: Likewise.
15288 * libio/iofclose.c: Likewise.
15289 * libio/iofdopen.c: Likewise.
15290 * libio/iofopen.c: Likewise.
15291 * libio/iofopen64.c: Likewise.
15292 * libio/iogetdelim.c: Likewise.
15293 * libio/iopopen.c: Likewise.
15294 * libio/obprintf.c: Likewise.
15295 * libio/oldfileops.c: Likewise.
15296 * libio/oldiofclose.c: Likewise.
15297 * libio/oldiofdopen.c: Likewise.
15298 * libio/oldiofopen.c: Likewise.
15299 * libio/oldiopopen.c: Likewise.
15300 * libio/wfiledoalloc.c: Likewise.
15301 * libio/wgenops.c: Likewise.
15302 * locale/programs/xmalloc.c: Likewise.
15303 * misc/syslog.c: Likewise.
15304 * stdio-common/xbug.c: Likewise.
15305 * string/memchr.c: Likewise.
15306 * string/memcmp.c: Likewise.
15307 * string/memrchr.c: Likewise.
15308 * string/rawmemchr.c: Likewise.
15309 * sysdeps/posix/getcwd.c: Likewise.
15310 * time/strftime_l.c: Likewise.
15312 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15314 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15315 * config.make.in (config-cflags-sse2avx): Define.
15316 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15319 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15321 * scripts/config.guess: Update from upstream config git repository.
15322 * scripts/config.sub: Likewise.
15324 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15326 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15328 (R_TILEPRO_*, R_TILEGX_*): New macros.
15330 * scripts/firstversions.awk: Fix bug in version range handling.
15332 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15334 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15336 * include/sys/epoll.h: New file.
15337 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15340 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15342 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15343 Avoid unnecessary __WORDSIZE == 64 test.
15344 (fmaxf): Use VEX format if possible.
15349 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15350 * math/math_private.h: Remove libc_fegetround* and
15352 * sysdeps/i386/configure.in: Check for -msse2avx.
15353 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15354 also if SSE2AVX is defined.
15355 Remove libc_fegetround* and libc_fesetround*.
15356 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15357 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15361 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15366 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15368 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15370 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15372 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15374 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15377 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15379 * Makeconfig (libm): Define.
15380 * elf/Makefile: Add rules to build and run tst-relsort1.
15381 * elf/tst-relsort1.c: New file.
15382 * elf/tst-relsort1mod1.c: New file.
15383 * elf/tst-relsort1mod2.c: New file.
15385 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15387 * math/s_ldexp.c: Remove __STDC__ conditionals.
15388 * math/s_ldexpf.c: Likewise.
15389 * math/s_ldexpl.c: Likewise.
15390 * math/s_nextafter.c: Likewise.
15391 * math/s_nexttowardf.c: Likewise.
15392 * math/s_significand.c: Likewise.
15393 * math/s_significandf.c: Likewise.
15394 * math/s_significandl.c: Likewise.
15395 * math/w_jnl.c: Likewise.
15396 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15397 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15398 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15399 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15400 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15415 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15416 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15421 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15422 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15423 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15424 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15425 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15426 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15427 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15428 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15429 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15430 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15431 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15432 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15433 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15434 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15435 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15436 * sysdeps/ieee754/k_standard.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15496 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15498 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15502 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15503 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15516 * sysdeps/ieee754/s_matherr.c: Likewise.
15517 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15518 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15522 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15524 * crypt/md5.h: Remove __STDC__ conditionals.
15525 * libio/libioP.h: Likewise.
15526 * locale/programs/config.h: Likewise.
15527 * sysdeps/generic/sysdep.h: Likewise.
15528 * sysdeps/i386/asm-syntax.h: Likewise.
15529 * sysdeps/s390/asm-syntax.h: Likewise.
15530 * sysdeps/unix/sysdep.h: Likewise.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15534 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15536 * libio/libio.h: Remove __STDC__ conditionals.
15537 * malloc/obstack.h: Likewise.
15538 * math/complex.h: Likewise.
15539 * math/math.h: Likewise.
15540 * sysdeps/generic/_G_config.h: Likewise.
15541 * sysdeps/gnu/_G_config.h: Likewise.
15542 * sysdeps/mach/hurd/_G_config.h: Likewise.
15543 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15544 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15545 * sysdeps/sparc/bits/mathdef.h: Likewise.
15547 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15550 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15551 Clean up HAS_* macros.
15552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15553 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15563 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15565 * elf/tst-unique3.cc (gets): Remove declaration.
15566 * elf/tst-unique3lib.cc (gets): Likewise.
15567 * elf/tst-unique3lib2.cc (gets): Likewise.
15568 * elf/tst-unique4.cc (gets): Likewise.
15570 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15572 * include/stdio.h: Add C++ protection. Add gets declarations and
15574 * debug/tst-chk1.c: Don't declare gets here.
15575 * stdio-common/tst-gets.c: Likewise.
15577 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15579 * posix/glob: Remove directory.
15581 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15583 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15585 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15587 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15588 of the non-standard EPFNOSUPPORT.
15590 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15592 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15593 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15594 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15596 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15598 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15600 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15602 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15604 * nscd/grpcache.c (cache_addgr): Likewise.
15605 * nscd/hstcache.c (cache_addhst): Likewise.
15606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15607 * nscd/pwdcache.c (cache_addpw): Likewise.
15608 * nscd/servicescache.c (cache_addserv): Likewise.
15610 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15612 * malloc/malloc.c: Various cleanups.
15613 * malloc/hooks.c: Likewise.
15615 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15616 * stdlib/bug-fmtmsg1.c: New file.
15618 * stdlib/fmtmsg.c (init): Add missing unlock.
15619 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15621 2012-01-12 Marek Polacek <polacek@redhat.com>
15623 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15626 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15628 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15630 macro to ensure uniqueness of label name.
15631 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15632 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15634 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15636 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15638 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15639 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15643 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15647 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15648 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15649 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15651 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15655 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15658 * math/bits/math-finite.h: Add ldexp support.
15660 2012-01-10 Marek Polacek <polacek@redhat.com>
15662 * locale/programs/localedef.h (show_archive_content): Add noreturn
15665 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15667 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15669 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15671 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15673 * io/Makefile (headers): Add bits/poll2.h.
15675 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15678 typo #include statement.
15680 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15682 * include/sys/cdefs.h: Define __attribute_alloc_size.
15683 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15684 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15685 * elf/pldd.c: Likewise.
15686 * iconv/iconv_charmap.c: Likewise.
15687 * iconv/iconvconfig.c: Likewise.
15688 * iconv/strtab.c: Likewise.
15689 * locale/programs/locale.c: Likewise.
15690 * locale/programs/localedef.h: Likewise.
15691 * locale/programs/simple-hash.c: Likewise.
15692 * nscd/nscd.h: Likewise.
15693 * nss/makedb.c: Likewise.
15694 * sysdeps/generic/ldconfig.h: Likewise.
15695 * locale/programs/localedef.c: Remove xmalloc prototype.
15696 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15698 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15700 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15703 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15705 * math/Makefile (tests): Add tst-CMPLX.
15706 * math/tst-CMPLX.c: New file.
15708 * math/complex.h (CMPLXL): Fix typo.
15710 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15711 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15713 * debug/tst-chk1.c: Add poll and ppoll tests.
15714 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15715 * include/sys/poll.h: Add hidden proto for ppoll.
15716 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15717 * sysdeps/mach/hurd/ppoll.c: Likewise.
15718 * io/ppoll.c: Likewise.
15719 * debug/poll_chk.c: New file.
15720 * debug/ppoll_chk.c: New file.
15721 * include/bits/poll2.h: New file.
15722 * io/bits/poll2.h: New file.
15725 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15727 * configure.in: static is always set to yes. Remove.
15728 * config.make.in: Don't set build-static.
15729 * Makeconfig: Remove use of build-static.
15730 * dlfcn/Makefile: Likewise.
15731 * elf/Makefile: Likewise.
15732 * math/Makefile: Likewise.
15733 * misc/Makefile: Likewise.
15734 * nptl/Makefile: Likewise.
15735 * sysdeps/mach/hurd/Makefile: Likewise.
15737 * configure.in: PWD_P is not used anymore.
15738 * config.make.in: Remove PWD_P entry.
15740 * configure.in: Remove last remnants of RANLIB.
15741 No need to check for signed size_t anymore.
15742 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15744 Remove __builtin_expect test because we require at least gcc 3.4.
15745 * aclocal.m4: Likewise.
15747 * wcsmbs/mbrtoc16.c: Implement using towc function.
15748 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15749 * wcsmbs/wcsmbsload.c: Likewise.
15750 * iconv/gconv_simple.c: Likewise.
15751 * iconv/gconv_int.h: Likewise.
15752 * iconv/gconv_builtin.h: Likewise.
15753 * iconv/iconv_prog.c: Remove CHAR16 handling.
15755 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15757 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15759 * configure.in: Remove --with-elf and --enable-bounded options.
15760 Dont set base_machine for ia64. More non-ELF conditions removed.
15761 Remove testing and setting of leading underscore information.
15762 * config.make.in (build-bounded): Set to no.
15763 * config.h.in: Remove NO_UNDERSCORES entry.
15764 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15766 * csu/start.c: Remove !NO_UNDERSCORE code.
15767 * locale/localeinfo.h: Likewise.
15768 * sysdeps/generic/machine-gmon.h: Likewise.
15769 * sysdeps/generic/sysdep.h: Likewise.
15770 * sysdeps/i386/sysdep.h: Likewise.
15771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15772 * sysdeps/mach/sysdep.h: Likewise.
15773 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15775 * sysdeps/sh/sysdep.h: Likewise.
15776 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15777 * sysdeps/unix/i386/sysdep.S: Likewise.
15778 * sysdeps/unix/sparc/start.c: Likewise.
15779 * sysdeps/unix/sparc/sysdep.S: Likewise.
15780 * sysdeps/unix/sparc/sysdep.h: Likewise.
15781 * sysdeps/unix/start.c: Likewise.
15782 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15783 * sysdeps/x86_64/sysdep.h: Likewise.
15785 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15788 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15790 * argp/argp-fmtstream.h: Use const instead __const.
15791 * argp/argp.h: Likewise.
15792 * assert/assert.h: Likewise.
15793 * bits/fenv.h: Likewise.
15794 * bits/sched.h: Likewise.
15795 * bits/sigset.h: Likewise.
15796 * bits/sigthread.h: Likewise.
15797 * catgets/nl_types.h: Likewise.
15798 * conform/data/pthread.h-data: Likewise.
15799 * crypt/crypt-private.h: Likewise.
15800 * crypt/crypt.h: Likewise.
15801 * crypt/crypt_util.c: Likewise.
15802 * ctype/ctype.h: Likewise.
15803 * debug/execinfo.h: Likewise.
15804 * debug/mbsnrtowcs_chk.c: Likewise.
15805 * debug/mbsrtowcs_chk.c: Likewise.
15806 * debug/wcsnrtombs_chk.c: Likewise.
15807 * debug/wcsrtombs_chk.c: Likewise.
15808 * debug/wcstombs_chk.c: Likewise.
15809 * dirent/dirent.h: Likewise.
15810 * dlfcn/dlfcn.h: Likewise.
15811 * elf/neededtest4.c: Likewise.
15812 * grp/grp.h: Likewise.
15813 * gshadow/gshadow.h: Likewise.
15814 * iconv/gconv.h: Likewise.
15815 * iconv/gconv_int.h: Likewise.
15816 * iconv/gconv_simple.c: Likewise.
15817 * iconv/iconv.h: Likewise.
15818 * iconv/loop.c: Likewise.
15819 * iconv/skeleton.c: Likewise.
15820 * include/aio.h: Likewise.
15821 * include/aliases.h: Likewise.
15822 * include/argz.h: Likewise.
15823 * include/arpa/inet.h: Likewise.
15824 * include/assert.h: Likewise.
15825 * include/dirent.h: Likewise.
15826 * include/dlfcn.h: Likewise.
15827 * include/execinfo.h: Likewise.
15828 * include/fcntl.h: Likewise.
15829 * include/fenv.h: Likewise.
15830 * include/glob.h: Likewise.
15831 * include/grp.h: Likewise.
15832 * include/libintl.h: Likewise.
15833 * include/mntent.h: Likewise.
15834 * include/netdb.h: Likewise.
15835 * include/pwd.h: Likewise.
15836 * include/rpc/netdb.h: Likewise.
15837 * include/sched.h: Likewise.
15838 * include/search.h: Likewise.
15839 * include/shadow.h: Likewise.
15840 * include/signal.h: Likewise.
15841 * include/stdio.h: Likewise.
15842 * include/stdlib.h: Likewise.
15843 * include/string.h: Likewise.
15844 * include/sys/socket.h: Likewise.
15845 * include/sys/stat.h: Likewise.
15846 * include/sys/statfs.h: Likewise.
15847 * include/sys/statvfs.h: Likewise.
15848 * include/sys/syslog.h: Likewise.
15849 * include/sys/time.h: Likewise.
15850 * include/sys/uio.h: Likewise.
15851 * include/time.h: Likewise.
15852 * include/unistd.h: Likewise.
15853 * include/utmp.h: Likewise.
15854 * include/wchar.h: Likewise.
15855 * include/wctype.h: Likewise.
15856 * inet/aliases.h: Likewise.
15857 * inet/arpa/inet.h: Likewise.
15858 * inet/netinet/ether.h: Likewise.
15859 * inet/netinet/in.h: Likewise.
15860 * intl/libintl.h: Likewise.
15861 * io/bits/fcntl2.h: Likewise.
15862 * io/fcntl.h: Likewise.
15863 * io/ftw.h: Likewise.
15864 * io/sys/poll.h: Likewise.
15865 * io/sys/stat.h: Likewise.
15866 * io/sys/statfs.h: Likewise.
15867 * io/sys/statvfs.h: Likewise.
15868 * io/utime.h: Likewise.
15869 * libio/bits/stdio.h: Likewise.
15870 * libio/bits/stdio2.h: Likewise.
15871 * libio/libio.h: Likewise.
15872 * libio/libioP.h: Likewise.
15873 * libio/stdio.h: Likewise.
15874 * locale/lc-ctype.c: Likewise.
15875 * locale/locale.h: Likewise.
15876 * login/utmp.h: Likewise.
15877 * malloc/arena.c: Likewise.
15878 * malloc/malloc.c: Likewise.
15879 * malloc/malloc.h: Likewise.
15880 * malloc/mcheck.c: Likewise.
15881 * malloc/mtrace.c: Likewise.
15882 * math/bits/mathcalls.h: Likewise.
15883 * math/fenv.h: Likewise.
15884 * math/math_private.h: Likewise.
15885 * misc/bits/error.h: Likewise.
15886 * misc/bits/syslog.h: Likewise.
15887 * misc/err.h: Likewise.
15888 * misc/error.h: Likewise.
15889 * misc/fstab.h: Likewise.
15890 * misc/mntent.h: Likewise.
15891 * misc/regexp.h: Likewise.
15892 * misc/search.h: Likewise.
15893 * misc/sgtty.h: Likewise.
15894 * misc/sys/mman.h: Likewise.
15895 * misc/sys/syslog.h: Likewise.
15896 * misc/sys/uio.h: Likewise.
15897 * misc/sys/xattr.h: Likewise.
15898 * misc/ttyent.h: Likewise.
15899 * nis/rpcsvc/ypclnt.h: Likewise.
15900 * nss/nss.h: Likewise.
15901 * posix/bits/unistd.h: Likewise.
15902 * posix/fnmatch.h: Likewise.
15903 * posix/glob.h: Likewise.
15904 * posix/sched.h: Likewise.
15905 * posix/spawn.h: Likewise.
15906 * posix/sys/wait.h: Likewise.
15907 * posix/unistd.h: Likewise.
15908 * posix/wordexp.h: Likewise.
15909 * pwd/pwd.h: Likewise.
15910 * resolv/netdb.h: Likewise.
15911 * resource/sys/resource.h: Likewise.
15912 * rt/aio.h: Likewise.
15913 * rt/bits/mqueue2.h: Likewise.
15914 * rt/mqueue.h: Likewise.
15915 * shadow/shadow.h: Likewise.
15916 * signal/signal.h: Likewise.
15917 * socket/send.c: Likewise.
15918 * socket/sendto.c: Likewise.
15919 * socket/sys/socket.h: Likewise.
15920 * stdio-common/printf.h: Likewise.
15921 * stdlib/bits/stdlib.h: Likewise.
15922 * stdlib/fmtmsg.h: Likewise.
15923 * stdlib/monetary.h: Likewise.
15924 * stdlib/stdlib.h: Likewise.
15925 * stdlib/ucontext.h: Likewise.
15926 * streams/stropts.h: Likewise.
15927 * string/argz.h: Likewise.
15928 * string/bits/string2.h: Likewise.
15929 * string/string.h: Likewise.
15930 * string/strings.h: Likewise.
15931 * sunrpc/rpc/auth.h: Likewise.
15932 * sunrpc/rpc/auth_des.h: Likewise.
15933 * sunrpc/rpc/clnt.h: Likewise.
15934 * sunrpc/rpc/netdb.h: Likewise.
15935 * sunrpc/rpc/pmap_clnt.h: Likewise.
15936 * sunrpc/rpc/xdr.h: Likewise.
15937 * sysdeps/generic/inttypes.h: Likewise.
15938 * sysdeps/generic/net/if.h: Likewise.
15939 * sysdeps/generic/sys/swap.h: Likewise.
15940 * sysdeps/gnu/net/if.h: Likewise.
15941 * sysdeps/gnu/utmpx.h: Likewise.
15942 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15943 * sysdeps/i386/i486/bits/string.h: Likewise.
15944 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15945 * sysdeps/s390/bits/string.h: Likewise.
15946 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15947 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15948 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15949 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15950 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15951 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15952 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15953 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15954 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15955 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15956 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15957 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15958 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15959 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15960 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15961 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15962 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15965 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15967 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15968 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15969 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15970 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15971 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15974 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15976 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15977 * sysvipc/sys/ipc.h: Likewise.
15978 * sysvipc/sys/msg.h: Likewise.
15979 * sysvipc/sys/sem.h: Likewise.
15980 * sysvipc/sys/shm.h: Likewise.
15981 * termios/termios.h: Likewise.
15982 * time/sys/time.h: Likewise.
15983 * time/time.h: Likewise.
15984 * wcsmbs/bits/wchar2.h: Likewise.
15985 * wcsmbs/uchar.h: Likewise.
15986 * wcsmbs/wchar.h: Likewise.
15987 * wctype/wctype.h: Likewise.
15990 * Makeconfig: Remove all but ELF support including AIX support.
15991 * Makerules: Likewise.
15992 * config.h.in: Likewise.
15993 * config.make.in: Likewise.
15994 * configure: Likewise.
15995 * configure.in: Likewise.
15996 * csu/Makefile: Likewise.
15997 * csu/version.c: Likewise.
15998 * debug/Makefile: Likewise.
15999 * dlfcn/Makefile: Likewise.
16000 * elf/Makefile: Likewise.
16001 * extra-lib.mk: Likewise.
16002 * iconv/Makefile: Likewise.
16003 * include/libc-symbols.h: Likewise.
16004 * include/shlib-compat.h: Likewise.
16005 * resolv/Makefile: Likewise.
16006 * resolv/res_libc.c: Likewise.
16007 * rt/Makefile: Likewise.
16008 * sysdeps/i386/asm-syntax.h: Likewise.
16009 * sysdeps/i386/sysdep.h: Likewise.
16010 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16011 * sysdeps/mach/sysdep.h: Likewise.
16012 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16013 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16014 * sysdeps/s390/asm-syntax.h: Likewise.
16015 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16017 * sysdeps/sh/sysdep.h: Likewise.
16018 * sysdeps/unix/sparc/sysdep.h: Likewise.
16019 * sysdeps/wordsize-32/divdi3.c: Likewise.
16020 * sysdeps/x86_64/sysdep.h: Likewise.
16022 * argp/Versions: Remove _argp_unlock_xxx.
16025 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16026 * abilist/libBrokenLocale.abilist: Likewise.
16027 * abilist/libanl.abilist: Likewise.
16028 * abilist/libc.abilist: Likewise.
16029 * abilist/libcrypt.abilist: Likewise.
16030 * abilist/libdl.abilist: Likewise.
16031 * abilist/libm.abilist: Likewise.
16032 * abilist/libnsl.abilist: Likewise.
16033 * abilist/libpthread.abilist: Likewise.
16034 * abilist/libresolv.abilist: Likewise.
16035 * abilist/librt.abilist: Likewise.
16036 * abilist/libthread_db.abilist: Likewise.
16037 * abilist/libutil.abilist: Likewise.
16038 * abilist/libnss_db.abilist: New file.
16040 * scripts/abilist.awk: Add support for indirect functions.
16042 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16044 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16046 * shlib-versions: Remove entries for ports architectures.
16048 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16050 * elf/stackguard-macros.h: Remove support for IA-64.
16051 * elf/tst-auditmod1.c: Likewise.
16052 * sysdeps/generic/ldsodefs.h: Likewise.
16054 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16055 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16059 * configure.in: Remove --enable-omitfp support.
16061 * config.make.in: Likewise.
16062 * Makeconfig: Likewise.
16063 * manual/install.texi: Likewise.
16065 In case anyone cares, the IA-64 architecture could move to ports.
16066 * sysdeps/ia64/*: Removed.
16067 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16068 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16071 * configure.in: Remove entries for unsupported architectures.
16074 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16075 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16077 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16078 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16079 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16080 fall back to using wcrtomb.
16081 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16082 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16084 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16085 * wcsmbs/tst-c16c32-1.c: New file.
16087 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16090 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16092 * elf/tst-unique3.cc: Add explicit declaration of gets.
16093 * elf/tst-unique3lib.cc: Likewise.
16094 * elf/tst-unique3lib2.cc: Likewise.
16095 * elf/tst-unique4.cc: Likewise.
16097 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16099 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16102 * assert/assert.h (static_assert): Don't define for C++.
16103 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16104 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16106 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16108 * iconv/loop.c (single loop): Fix assertion in storing of
16111 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16113 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16115 * posix/getconf.c: Update copyright year.
16116 * nss/getent.c: Likewise.
16117 * nss/makedb.c: Likewise.
16118 * iconv/iconvconfig.c: Likewise.
16119 * iconv/iconv_prog.c: Likewise.
16120 * elf/ldconfig.c: Likewise.
16121 * elf/pldd.c: Likewise.
16122 * elf/sotruss.ksh: Likewise.
16123 * catgets/gencat.c: Likewise.
16124 * csu/version.c: Likewise.
16125 * elf/ldd.bash.in: Likewise.
16126 * elf/sprof.c (print_version): Likewise.
16127 * locale/programs/locale.c: Likewise.
16128 * locale/programs/localedef.c: Likewise.
16129 * login/programs/pt_chown.c: Likewise.
16130 * nscd/nscd.c (print_version): Likewise.
16131 * debug/xtrace.sh: Likewise.
16132 * malloc/memusage.sh: Likewise.
16133 * malloc/mtrace.pl: Likewise.
16134 * debug/catchsegv.sh: Likewise.
16136 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16138 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16141 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16144 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16145 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16147 * iconv/gconv_int.h: Likewise.
16148 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16149 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16150 from libc for GLIBC_2.16.
16151 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16152 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16153 * wcsmbs/uchar.h: Really define mbstate_t.
16154 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16155 * wcsmbs/c16rtomb.c: New file.
16156 * wcsmbs/mbrtoc16.c: New file.
16157 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16158 for C/POSIX locale.
16159 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16160 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16162 * wcsmbs/wchar.h: Add missing __restrict.
16164 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16167 * time/Makefile (routines): Add timespec_get.
16168 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16169 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16170 timespec for ISO C11.
16171 * time/timespec_get.c: New file.
16172 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16173 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16176 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16177 * stdlib/stdlib.h: Declare aligned_alloc.
16178 * Versions.def: Add GLIBC_2.16 for libc.
16179 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16182 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16185 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16189 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16192 * assert/assert.h (static_assert): Define.
16194 * version.h: Update for 2.16 development version.
16197 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16200 * version.h (RELEASE): Bump for 2.15 release.
16201 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16203 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16204 Patch by Marek Polacek <mpolacek@redhat.com>.
16206 * bits/byteswap.h: Protect long long constants with __extension__.
16207 * sysdeps/i386/bits/byteswap.h: Likewise.
16208 * sysdeps/ia64/bits/byteswap.h: Likewise.
16209 * sysdeps/s390/bits/byteswap.h: Likewise.
16210 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16212 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16216 destination buffer.
16217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16219 2011-12-23 Marek Polacek <polacek@redhat.com>
16221 * elf/dl-addr.c (determine_info): Add inline keyword.
16222 * elf/tst-auditmod4b.c (check_avx): Likewise.
16223 * elf/tst-auditmod6b.c (check_avx): Likewise.
16224 * elf/tst-auditmod6c.c (check_avx): Likewise.
16225 * elf/tst-auditmod7b.c (check_avx): Likewise.
16227 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16229 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16232 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16235 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16236 processing for last bytes.
16238 2011-08-06 Bruno Haible <bruno@clisp.org>
16241 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16242 U+0385, not to U+1FEE.
16245 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16246 entry for U+00A5 U+0301.
16248 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16251 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16252 buffer for the output is too small.
16254 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16258 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16259 SSE flags if possible.
16261 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16265 processing for last bytes.
16267 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16270 (syscall-list-default-options, syscall-list-default-condition)
16271 (syscall-list-includes): Define.
16272 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16273 list of ABIs and options and #if conditions for each ABI. Do not
16274 handle common syscalls between ABIs specially.
16275 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16277 (syscall-list-variants, syscall-list-32bit-options)
16278 (syscall-list-32bit-condition, syscall-list-64bit-options)
16279 (syscall-list-64bit-condition): Define.
16280 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16281 (syscall-list-variants, syscall-list-32bit-options)
16282 (syscall-list-32bit-condition, syscall-list-64bit-options)
16283 (syscall-list-64bit-condition): Define.
16284 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16286 (syscall-list-variants, syscall-list-32bit-options)
16287 (syscall-list-32bit-condition, syscall-list-64bit-options)
16288 (syscall-list-64bit-condition): Define.
16289 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16291 (syscall-list-variants, syscall-list-32bit-options)
16292 (syscall-list-32bit-condition, syscall-list-64bit-options)
16293 (syscall-list-64bit-condition): Define.
16295 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16297 * locale/iso-639.def: Add brx entry.
16300 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16301 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16303 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16304 __feraiseexcept_renamed.
16306 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16309 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16310 EPOLLET with unsigned values.
16311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16314 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16315 to large cancellation.
16316 * math/s_cacoshf.c: Likewise.
16317 * math/s_cacoshl.c: Likewise.
16319 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16323 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16324 * math/s_cacoshf.c: Likewise.
16325 * math/s_cacoshl.c: Likewise.
16327 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16330 * iconv/gconv.h: Define __GCONV_SWAP.
16331 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16332 * iconvdata/utf-16.c: Likewise.
16333 * iconvdata/utf-32.c: Likewise.
16335 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16339 numerator after shifting it by one limb.
16341 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16343 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16344 under [__USE_EXTERN_INLINES].
16346 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16349 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16351 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16353 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16354 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16356 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16358 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16359 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16360 for strncasecmp/strncasecmp_l compilation.
16361 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16362 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16364 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16367 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16370 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16373 * time/tzfile.c (__tzfile_read): Check values from file header.
16375 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16377 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16378 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16379 * powerpc/powerpc32/dl-start.S: Likewise.
16380 * powerpc/powerpc32/elf/start.S: Likewise.
16381 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16382 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16383 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16384 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16385 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16386 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16387 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16388 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16389 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16390 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16391 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16392 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16393 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16394 * powerpc/powerpc32/memset.S: Likewise.
16395 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16396 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16397 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16398 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16399 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16400 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16401 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16402 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16403 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16404 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16405 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16406 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16407 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16409 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * math/libm-test.inc: Added more nearbyint tests.
16412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16417 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16419 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16422 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16424 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16425 Add wcscpy-ssse3 wcscpy-c.
16426 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16427 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16428 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16429 * sysdeps/x86_64/wcschr.S: New file.
16430 * sysdeps/x86_64/wcsrchr.S: New file.
16431 * string/test-strcmp.c: Remove checking of wcscmp function for
16433 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16434 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16435 wcsrchr-sse2 wcsrchr-c.
16436 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16437 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16438 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16439 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16440 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16441 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16442 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16443 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16444 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16445 * wcsmbc/wcschr.c (WCSCHR): New macro.
16447 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16449 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16450 * wcsmbs/test-wcsrchr.c: New file.
16451 * string/test-strrchr.c: Add wcsrchr support.
16453 * wcsmbs/test-wcscpy.c: New file.
16454 * string/test-strcpy.c: Add wcscpy support.
16457 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16462 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16465 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16467 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16469 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16470 Minor optimizations.
16472 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16473 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16474 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16476 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16478 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16479 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16480 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16481 for gcc to avoid warnings.
16482 * inet/Makefile (tests): Add tst-checks.
16483 * inet/tst-checks.c: New file.
16485 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16488 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16491 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16492 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16494 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16496 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16498 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16501 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16503 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16505 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16506 conditional on GCC version.
16507 (__arch_compare_and_exchange_val_8_acq)
16508 (__arch_compare_and_exchange_val_16_acq)
16509 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16510 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16511 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16513 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16515 * sysdeps/sh/backtrace.c: New file.
16517 2011-12-02 Andreas Schwab <schwab@redhat.com>
16519 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16522 2011-12-01 Andreas Schwab <schwab@redhat.com>
16524 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16525 falling back to utime.
16527 2011-11-30 Andreas Schwab <schwab@redhat.com>
16529 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16530 expectations for float.
16532 2011-11-29 Andreas Schwab <schwab@redhat.com>
16534 * locale/weight.h (findidx): Add parameter len.
16535 * locale/weightwc.h (findidx): Likewise.
16536 * posix/fnmatch_loop.c (FCT): Adjust caller.
16537 * posix/regcomp.c (build_equiv_class): Likewise.
16538 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16539 * posix/regexec.c (check_node_accept_bytes): Likewise.
16540 * string/strcoll_l.c (STRCOLL): Likewise.
16541 * string/strxfrm_l.c (STRXFRM): Likewise.
16543 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16545 * Makefile.in: Remove CVSOPT handling.
16546 * configure.in: Remove use of AC_REVISION.
16547 * iconvdata/Makefile (distribute): No need to filter out CVS.
16548 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16551 2011-11-16 Andreas Schwab <schwab@redhat.com>
16553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16554 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16555 [USE_AS_STRNCASECMP_L]: Likewise.
16556 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16557 NO_TLS_DIRECT_SEG_REFS.
16558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16559 Fix argument offsets for non-PIC.
16560 [USE_AS_STRNCASECMP_L]: Likewise.
16561 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16562 NO_TLS_DIRECT_SEG_REFS.
16564 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16566 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16568 * locale/loadlocale.c (_nl_load_locale): Likewise.
16570 2011-11-15 Andreas Schwab <schwab@redhat.com>
16572 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16573 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16575 (SYSCALL_GETTIME): Set errno on error.
16577 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16578 count references to noai6ai_cached.
16580 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16582 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16584 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16585 FD_CLOEXEC for /proc/self/maps.
16587 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16588 FD_CLOEXEC for /proc/meminfo.
16590 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16593 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16594 FD_CLOEXEC for given file.
16596 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16598 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16599 FD_CLOEXEC for /etc/hosts.
16600 (_gethtent): Likewise.
16602 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16604 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16605 cancellation and set FD_CLOEXEC for /etc/netgroup.
16607 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16608 reading /etc/publickey.
16610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16611 allow cancellation when reading /etc/group.
16613 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16615 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16617 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16618 when using data file.
16620 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16622 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16623 (write_nis_obj): Use "c" and "e" in fopen.
16625 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16627 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16629 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16631 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16633 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16636 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16638 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16640 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16642 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16643 file parsing and set FD_CLOEXEC.
16645 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16647 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16649 2011-11-14 Andreas Schwab <schwab@redhat.com>
16651 * malloc/arena.c (arena_get2): Don't call reused_arena when
16652 _int_new_arena failed.
16654 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16657 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16660 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16662 to compile strcasecmp and strncasecmp.
16663 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16664 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16668 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16670 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16671 locale-defines.sym to gen-as-const-headers.
16672 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16673 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16675 to compile strcasecmp and strncasecmp.
16676 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16677 strcasecmp_l and strncasecmp_l.
16678 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16679 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16680 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16681 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16682 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16683 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16684 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16685 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16686 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16687 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16688 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16690 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16692 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16693 result of SYSDEP_GETTIME_CPU to retval.
16694 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16695 parameter list to macro. Remove trailing semicolon. Adjust users.
16697 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16704 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16705 from unused variable.
16707 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16709 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16712 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16715 * sunrpc/rpc_prot.c (rejected): Fix case value.
16717 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16718 unsigned long long int to avoid warnings in shift.
16720 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16722 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16725 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16726 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16727 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16729 * nis/nis_table.c (nis_list): Use variable of correct type for
16730 result of __follow_path call.
16732 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16734 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16735 of math functions ceil, trunc, floor, round, and sqrt, when
16736 avaliable on the platform.
16737 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16739 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16740 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16741 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16743 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16745 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16746 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16748 2011-11-11 Roland McGrath <roland@hack.frob.com>
16750 * include/unistd.h: Fix __readlink return type.
16751 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16753 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16755 * stdlib/ucontext.h: Undo last change for makecontext.
16757 2011-11-11 Andreas Schwab <schwab@redhat.com>
16759 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16761 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16762 * setjmp/setjmp.h: Mark functions as non-leaf.
16763 * setjmp/bits/setjmp2.h: Likewise.
16764 * stdlib/ucontext.h: Likewise.
16766 2011-11-10 Andreas Schwab <schwab@redhat.com>
16768 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16769 (reused_arena): Don't check arena limit.
16770 (arena_get2): Atomically check arena limit.
16772 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16774 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16775 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16780 2011-11-07 Andreas Schwab <schwab@redhat.com>
16782 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16783 handler when locking.
16785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16786 Fix size of allocated buffer.
16788 2011-11-04 Andreas Schwab <schwab@redhat.com>
16791 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16792 declarations for long double functions.
16793 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16795 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16797 2011-11-03 Andreas Schwab <schwab@redhat.com>
16799 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16802 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16805 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16807 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16809 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16811 * include/alloca.h (stackinfo_alloca_round): Define.
16812 (extend_alloca): Use it.
16813 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16814 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16817 * scripts/check-local-headers.sh: Ignore libaudit.h.
16819 * nscd/Makefile (extra-objs): Make recursively expanded.
16821 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16823 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16826 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16827 * posix/tst-rfc3484-2.c: Likewise.
16828 * posix/tst-rfc3484-3.c: Likewise.
16830 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16832 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16834 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16835 process_vm_writev from libc using GLIBC_2.15 version.
16837 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16839 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16841 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16844 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16847 * nss/getent.c (initgroups_keys): Show error message in case no group
16850 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16851 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16852 __bump_nl_timestamp.
16853 * nscd/connections (nscd_init): When host database is served open
16854 netlink socket and request notification about configuration changes.
16855 (main_loop_poll): Track netlink file descriptor and bump timestamp
16856 in case data becomes available.
16857 (main_loop_epoll): Likewise.
16858 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16859 (database_pers_head): Add extra_data fileds.
16860 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16861 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16862 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16865 in6ai data, call __free_in6ai.
16866 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16867 Add -DHAVE_NETLINK.
16868 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16869 interface information. Reuse previous data if netlink timestamp
16871 (__bump_nl_timestamp): New function.
16872 (__free_in6ai): New function.
16874 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16876 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16877 close_not_cancel_no_status here.
16878 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16880 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16883 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16886 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16887 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16888 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16890 2011-07-03 Andreas Jaeger <aj@suse.de>
16893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16894 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16895 * math/libm-test.inc (sin_test): Add test case.
16897 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16900 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16901 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16903 * elf/chroot_canon.c (chroot_canon): Cleanups.
16905 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16908 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16909 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16911 * string/test-strchr.c: Make usable for strchrnul testing.
16912 * string/test-strchrnul.c: New file.
16913 * string/Makefile (strop-tests): Add strchrnul.
16915 * po/it.po: Update from translation team.
16916 * po/es.po: Likewise.
16918 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16920 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16921 the three constants needed as parameters. Drop the others.
16922 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16923 __m128i_strloadu_tolower.
16924 Create and initialize variable zero and use it in all the places
16925 where _mm_setzero_si128 was used.
16927 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16928 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16929 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16930 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16932 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16933 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16934 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16935 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16936 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16937 __mpranred, __mptan.
16938 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16939 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16940 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16941 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16942 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16943 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16945 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16946 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16948 2011-10-28 Andreas Schwab <schwab@redhat.com>
16950 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16951 redefine if SHARED.
16952 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16955 wide char related routines to wcsmbs subdir.
16957 2011-10-27 Andreas Schwab <schwab@redhat.com>
16960 * misc/sys/cdefs.h (__THROWNL): Define.
16961 * posix/unistd.h: Use __THREADNL instead of __THREAD
16962 for memory synchronization functions.
16964 2011-10-26 Roland McGrath <roland@hack.frob.com>
16967 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16969 * manual/stdio.texi (Obstack Streams): Node removed.
16971 2011-10-26 Andreas Schwab <schwab@redhat.com>
16973 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16974 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16975 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16977 * math/math_private.h (math_force_eval): Allow non-addressable
16979 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16981 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16983 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16984 file is not needed.
16986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16988 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16989 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16990 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16992 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16993 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16995 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16996 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16997 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16998 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16999 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17000 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17001 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17003 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17004 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17005 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17006 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17007 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17008 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17009 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17010 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17011 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17012 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17013 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17015 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17016 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17019 place. Use VEX encoding when compiling for AVX.
17021 2011-10-25 Andreas Schwab <schwab@redhat.com>
17023 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17024 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17026 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17028 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17030 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17031 useless if() expression.
17032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17042 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17043 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17044 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17046 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17047 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17050 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17052 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17054 2011-10-25 Andreas Schwab <schwab@redhat.com>
17056 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17058 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17060 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17062 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17063 .text section. Avoid duplicate constants.
17064 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17074 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17076 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17087 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17088 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17089 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17090 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17091 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17092 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17093 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17094 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17095 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17097 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17098 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17099 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17100 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17101 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17102 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17103 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17105 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17106 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17107 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17108 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17110 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17112 * sysdeps/x86_64/dla.h: Move to ...
17113 * sysdeps/x86_64/fpu/dla.h: ...here.
17114 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17115 situations. Use __builtin_fma only for gcc 4.6 and up.
17117 * config.make.in: Add have-mfma4 entry.
17118 * configure.in: Substitute libc_cv_cc_fma4.
17119 * math/Makefile (dbl-only-routines): Add sincostab.
17120 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17121 Use __sincostab not sincos.
17122 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17129 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17130 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17131 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17132 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17134 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17135 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17137 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17138 define aliases when function name is a macro.
17139 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17140 sysdeps/ieee754/dbl-64/sincos.tbl.
17141 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17142 fma4-enabled routines.
17143 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17144 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17145 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17146 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17147 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17148 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17150 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17152 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17153 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17154 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17155 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17156 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17158 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17159 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17160 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17161 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17163 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17164 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17166 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17168 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17170 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17171 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17172 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17174 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17185 2011-10-24 Andreas Schwab <schwab@redhat.com>
17187 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17189 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17191 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17197 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17198 Remove unused variable magic_bits.
17199 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17201 * string/strnlen.c: Define and use STRNLEN macro.
17202 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17203 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17205 * wcsmbs/wcslen.c: Define and use WCSLEN.
17206 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17207 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17208 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17209 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17210 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17211 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17212 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17214 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17217 strnlen-sse2-no-bsf.
17218 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17219 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17220 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17221 Add strnlen support.
17222 (USE_AS_STRNLEN): New macro.
17223 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17225 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17226 * sysdeps/x86_64/wcslen.S: New file.
17228 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17231 XMM-moves are used for copying on small sizes.
17233 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17235 * wcsmbs/Makefile (strop-tests): Add wcschr.
17236 * wcsmbs/test-wcschr.c: New file.
17237 * string/test-strchr.c: Update.
17238 Add wcschr support.
17241 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17243 * wcsmbs/Makefile (strop-tests): Add wcslen.
17244 * wcsmbs/test-wcslen.c: New file.
17245 * string/test-strlen.c: Update.
17246 Add wcslen support.
17249 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17251 * po/it.po: Update from translation team.
17253 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17255 * sysdeps/x86_64/wcscmp.S: Update.
17256 Fix wrong comparison semantics.
17257 wcscmp shall use signed comparison not unsigned.
17258 Don't use substraction to avoid overflow bug.
17259 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17260 * wcsmbc/wcscmp.c: Likewise.
17261 * string/test-strcmp.c: Likewise.
17262 Add new tests to check cases with negative values.
17264 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17266 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17267 * sysdeps/x86_64/dla.h: ...here. New file.
17268 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17278 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17281 __ynl_finite aliases.
17283 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17287 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17289 [DLA_FMA] (EMULV): Use DLA_FMA.
17290 [DLA_FMA] (MUL12): Use EMULV.
17291 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17292 that are not needed.
17293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17301 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17303 * math/s_nan.c: Undef __nan.
17304 * math/s_nanf.c: Undef __nanf.
17305 * math/s_nanl.c: Undef __nanl.
17306 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17309 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17311 * math/s_catan.c: Add branch predictions.
17312 * math/s_catanf.c: Likewise.
17313 * math/s_catanh.c: Likewise.
17314 * math/s_catanhf.c: Likewise.
17315 * math/s_catanhl.c: Likewise.
17316 * math/s_catanl.c: Likewise.
17317 * math/s_cexp.c: Likewise.
17318 * math/s_cexpf.c: Likewise.
17319 * math/s_cexpl.c: Likewise.
17320 * math/s_clog.c: Likewise.
17321 * math/s_clog10.c: Likewise.
17322 * math/s_clog10f.c: Likewise.
17323 * math/s_clog10l.c: Likewise.
17324 * math/s_clogf.c: Likewise.
17325 * math/s_clogl.c: Likewise.
17326 * math/s_csqrt.c: Likewise.
17327 * math/s_csqrtf.c: Likewise.
17328 * math/s_csqrtl.c: Likewise.
17329 * math/s_ctanf.c: Likewise.
17330 * math/s_ctanh.c: Likewise.
17331 * math/s_ctanhf.c: Likewise.
17332 * math/s_ctanhl.c: Likewise.
17333 * math/s_ctanl.c: Likewise.
17335 * math/math_private.h: Define __nan, __nanf, __nanl.
17336 * math/s_cacosh.c: Include <math_private.h>.
17337 * math/s_cacoshl.c: Likewise.
17338 * math/s_casinh.c: Likewise.
17339 * math/s_casinhf.c: Likewise.
17340 * math/s_casinhl.c: Likewise.
17341 * math/s_ccos.c: Rely entire on ccosh.
17342 * math/s_ccosf.c: Rely entire on ccoshf.
17343 * math/s_ccosl.c: Rely entirely on ccoshl.
17344 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17345 Remove tests for FE_INVALID.
17346 * math/s_ccoshf.c: Likewise.
17347 * math/s_ccoshl.c: Likewise.
17348 * math/s_csin.c: Likewise.
17349 * math/s_csinf.c: Likewise.
17350 * math/s_csinh.c Likewise.
17351 * math/s_csinhf.c: Likewise.
17352 * math/s_csinhl.c: Likewise.
17353 * math/s_csinl.c: Likewise.
17354 * math/s_ctan.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17356 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17359 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17362 compilation problems.
17364 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17367 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17369 * sysdeps/i386/configure.in: Test for -mfma4 option.
17370 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17371 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17372 COMMON_CPUID_INDEX_80000001.
17373 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17374 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17375 use it if FMA3 is not supported.
17376 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17378 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17379 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17381 2011-10-20 Andreas Schwab <schwab@redhat.com>
17384 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17385 it would create a cycle with a link time dependency.
17387 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17389 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17391 * string/Makefile (strop-tests): Add rawmemchr.
17392 * string/test-rawmemchr.c: New file.
17394 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17396 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17397 when compiling str{,n}casecmp and when AVX is available. Hook up
17398 new optimized code in initializers.
17400 2011-10-19 Andreas Schwab <schwab@redhat.com>
17402 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17403 __feraiseexcept instead of feraiseexcept.
17405 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17407 * math/math_private.h: Define defaults for libc_fetestexcept and
17409 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17410 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17411 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17414 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17415 libc_fetestexcept and libc_feupdateenv.
17417 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17418 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17419 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17420 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17421 libc_feholdexcept_setround.
17423 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17424 Add s_nearbyint-c and s_nearbyintf-c.
17425 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17426 nearbyintf inlines.
17427 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17428 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17429 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17432 * math/math_private.h: Define defaults for libc_fegetround,
17433 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17434 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17435 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17436 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17437 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17438 standard functions.
17439 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17440 Remove comments and hacks for old compiler versions.
17441 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17442 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17443 libc_feholdexceptl.
17445 2011-10-18 Andreas Schwab <schwab@redhat.com>
17447 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17448 (__feraiseexcept_renamed): Add __NTH.
17449 (feraiseexcept): Add __NTH. Rename local variables to fix
17450 namespace violations.
17452 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17458 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17459 recently added interfaces.
17460 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17462 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17463 about macro parameter expansion.
17465 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17466 __NO_MATH_INLINES is defined. Cleanups.
17468 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17469 and __floorf is target has SSE4.1.
17470 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17471 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17475 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17477 (floorf): Likewise.
17479 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17481 2011-10-17 Andreas Schwab <schwab@redhat.com>
17483 * misc/sys/cdefs.h: Fix last change.
17485 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17488 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17490 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17492 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17499 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17500 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17501 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17502 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17503 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17504 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17505 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17506 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17507 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17508 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17509 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17510 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17511 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17512 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17513 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17515 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17516 ceil, ceilf, floor, floorf.
17518 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17519 Perform IRELATIVE relocations last.
17521 * elf/do-rel.h: Add another parameter nrelative, replacing the
17522 local variable with the same name. Change name of the function
17523 to end in Rel or Rela (uppercase).
17524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17525 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17526 elf_dynamic_do_##reloc function.
17528 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17530 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17531 is sufficient, at least on modern CPUs.
17533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17535 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17536 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17538 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17540 * math/bits/math-finite.h: Add entries for exp.
17541 * math/e_expl.c: Add __*_finite alias.
17542 * sysdeps/i386/fpu/e_exp.S: Likewise.
17543 * sysdeps/i386/fpu/e_expf.S: Likewise.
17544 * sysdeps/i386/fpu/e_expl.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17546 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17550 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17551 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17553 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17554 is sufficient, at least on modern CPUs.
17556 * ctype/ctype-info.c (__ctype_init): Define.
17557 * include/ctype.h (__ctype_init): Declare.
17558 (__ctype_b_loc): The variable is always initialized.
17559 (__ctype_toupper_loc): Likewise.
17560 (__ctype_tolower_loc): Likewise.
17561 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17562 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17564 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17566 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17568 * configure.in: Also look in $cxxmachine/include for C++ system
17571 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17573 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17574 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17575 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17576 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17577 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17578 (USE_AS_WMEMCMP): New macro.
17580 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17581 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17582 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17583 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17585 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17586 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17587 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17588 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17589 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17590 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17591 (USE_AS_WMEMCMP): New macro.
17592 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17593 * sysdeps/string/test-memcmp.c: Update.
17594 Fix simple_wmemcmp.
17596 * wcsmbs/wmemcmp.c: Update.
17597 (WMEMCMP): New macro.
17600 2011-10-12 Andreas Jaeger <aj@suse.de>
17603 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17605 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17607 * libio/iofwide.c (do_length): Avoid warning.
17609 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17611 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17613 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17615 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17616 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17617 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17618 * sysdeps/i386/i686/fpu/e_log.S: New file.
17619 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17620 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17622 * ctype/ctype.h: Add support for inlined isXXX functions when
17623 compiling C++ code.
17625 2011-10-14 Andreas Schwab <schwab@redhat.com>
17627 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17629 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17631 2011-10-13 Roland McGrath <roland@hack.frob.com>
17634 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17636 2011-10-13 Andreas Schwab <schwab@redhat.com>
17638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17639 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17642 * sysdeps/x86_64/memrchr.S: Check for zero size.
17644 * string/stratcliff.c: Add memrchr tests.
17646 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17649 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17650 rawmemchr-sse2 rawmemchr-sse2-bsf.
17651 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17652 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17653 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17654 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17655 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17656 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17657 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17658 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17659 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17660 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17661 * string/memrchr.c (MEMRCHR): New macro.
17663 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17665 Add integration with gcc's -ffinite-math-only and optimize wrapper
17667 * Versions.def: Define GLIBC_2.15 version for libm.
17668 * math/Makefile (headers): Add bits/math-finite.h.
17669 * math/bits/math-finite.h: New file.
17670 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17671 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17672 * math/e_acoshl.c: Add __*_finite alias.
17673 * math/e_acosl.c: Likewise.
17674 * math/e_asinl.c: Likewise.
17675 * math/e_atan2l.c: Likewise.
17676 * math/e_atanhl.c: Likewise.
17677 * math/e_coshl.c: Likewise.
17678 * math/e_exp10.c: Likewise.
17679 * math/e_exp10f.c: Likewise.
17680 * math/e_exp10l.c: Likewise.
17681 * math/e_exp2l.c: Likewise.
17682 * math/e_fmodl.c: Likewise.
17683 * math/e_gammal_r.c: Likewise.
17684 * math/e_hypotl.c: Likewise.
17685 * math/e_j0l.c: Likewise.
17686 * math/e_j1l.c: Likewise.
17687 * math/e_jnl.c: Likewise.
17688 * math/e_lgammal_r.c: Likewise.
17689 * math/e_log10l.c: Likewise.
17690 * math/e_log2l.c: Likewise.
17691 * math/e_logl.c: Likewise.
17692 * math/e_powl.c: Likewise.
17693 * math/e_sinhl.c: Likewise.
17694 * math/e_sqrtl.c: Likewise.
17695 * math/e_scalb.c: Completely rewritten and optimized.
17696 * math/e_scalbf.c: Likewise.
17697 * math/e_scalbl.c: Likewise.
17698 * math/w_acos.c: Likewise.
17699 * math/w_acosf.c: Likewise.
17700 * math/w_acosl.c: Likewise.
17701 * math/w_acosh.c: Likewise.
17702 * math/w_acoshf.c: Likewise.
17703 * math/w_acoshl.c: Likewise.
17704 * math/w_asin.c: Likewise.
17705 * math/w_asinf.c: Likewise.
17706 * math/w_asinl.c: Likewise.
17707 * math/w_atan2.c: Likewise.
17708 * math/w_atan2f.c: Likewise.
17709 * math/w_atan2l.c: Likewise.
17710 * math/w_atanh.c: Likewise.
17711 * math/w_atanhf.c: Likewise.
17712 * math/w_atanhl.c: Likewise.
17713 * math/w_exp10.c: Likewise.
17714 * math/w_exp10f.c: Likewise.
17715 * math/w_exp10l.c: Likewise.
17716 * math/w_fmod.c: Likewise.
17717 * math/w_fmodf.c: Likewise.
17718 * math/w_fmodl.c: Likewise.
17719 * math/w_j0.c: Likewise.
17720 * math/w_j0f.c: Likewise.
17721 * math/w_j0l.c: Likewise.
17722 * math/w_j1.c: Likewise.
17723 * math/w_j1f.c: Likewise.
17724 * math/w_j1l.c: Likewise.
17725 * math/w_jn.c: Likewise.
17726 * math/w_jnf.c: Likewise.
17727 * math/w_log.c: Likewise.
17728 * math/w_logf.c: Likewise.
17729 * math/w_logl.c: Likewise.
17730 * math/w_log10.c: Likewise.
17731 * math/w_log10f.c: Likewise.
17732 * math/w_log10l.c: Likewise.
17733 * math/w_log2.c: Likewise.
17734 * math/w_log2f.c: Likewise.
17735 * math/w_log2l.c: Likewise.
17736 * math/w_pow.c: Likewise.
17737 * math/w_powf.c: Likewise.
17738 * math/w_powl.c: Likewise.
17739 * math/w_remainder.c: Likewise.
17740 * math/w_remainderf.c: Likewise.
17741 * math/w_remainderl.c: Likewise.
17742 * math/w_scalb.c: Likewise.
17743 * math/w_scalbf.c: Likewise.
17744 * math/w_scalbl.c: Likewise.
17745 * math/w_sqrt.c: Likewise.
17746 * math/w_sqrtf.c: Likewise.
17747 * math/w_sqrtl.c: Likewise.
17748 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17749 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17751 * math/math_private.h: Declare __kernel_standard_f.
17752 * math/w_cosh.c: Remove cruft and optimize a bit.
17753 * math/w_coshf.c: Likewise.
17754 * math/w_coshl.c: Likewise.
17755 * math/w_exp2.c: Likewise.
17756 * math/w_exp2f.c: Likewise.
17757 * math/w_exp2l.c: Likewise.
17758 * math/w_hypot.c: Likewise.
17759 * math/w_hypotf.c: Likewise.
17760 * math/w_hypotl.c: Likewise.
17761 * math/w_lgamma.c: Likewise.
17762 * math/w_lgamma_r.c: Likewise.
17763 * math/w_lgammaf.c: Likewise.
17764 * math/w_lgammaf_r.c: Likewise.
17765 * math/w_lgammal.c: Likewise.
17766 * math/w_lgammal_r.c: Likewise.
17767 * math/w_sinh.c: Likewise.
17768 * math/w_sinhf.c: Likewise.
17769 * math/w_sinhl.c: Likewise.
17770 * math/w_tgamma.c: Likewise.
17771 * math/w_tgammaf.c: Likewise.
17772 * math/w_tgammal.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17775 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17776 Minor optimizations. Pretty printing. Remove cruft.
17777 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17778 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17781 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17782 * sysdeps/i386/fpu/e_asin.S: Likewise.
17783 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17784 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17785 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17786 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17787 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17789 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17790 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17791 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17792 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17793 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17794 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17795 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17796 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17797 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17798 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17799 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17800 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17801 * sysdeps/i386/fpu/e_log.S: Likewise.
17802 * sysdeps/i386/fpu/e_log10.S: Likewise.
17803 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17805 * sysdeps/i386/fpu/e_log2.S: Likewise.
17806 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17807 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17808 * sysdeps/i386/fpu/e_logf.S: Likewise.
17809 * sysdeps/i386/fpu/e_logl.S: Likewise.
17810 * sysdeps/i386/fpu/e_pow.S: Likewise.
17811 * sysdeps/i386/fpu/e_powf.S: Likewise.
17812 * sysdeps/i386/fpu/e_powl.S: Likewise.
17813 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17814 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17815 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17816 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17817 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17818 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17819 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17820 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17821 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17850 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17851 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17852 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17853 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17854 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17890 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17891 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17892 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17898 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17899 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17903 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17904 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17906 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17907 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17908 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17910 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17911 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17913 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17914 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17915 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17919 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17920 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17921 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17922 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17923 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17924 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17925 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17927 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17930 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17931 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17932 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17933 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17934 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17935 (__isnanf): Likewise.
17936 (__isinf_ns): Likewise.
17937 (__isinf_nsf): Likewise.
17938 (__finite): Likewise.
17939 (__finitef): Likewise.
17940 (__ieee754_sqrt): Define as macro.
17941 (__ieee754_sqrtf): Define as macro.
17942 (__ieee754_sqrtl): Define as macro.
17943 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17945 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17946 __FINITE_MATH_ONLY__ consistent.
17947 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17949 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17951 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17956 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17958 * po/ja.po: Update from translation team.
17960 2011-10-08 Roland McGrath <roland@hack.frob.com>
17962 * locale/programs/locarchive.c (prepare_address_space): New function.
17963 (create_archive, enlarge_archive, open_archive): Use it.
17965 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17966 inside [SHARED], where it is used.
17968 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17970 * nss/getent.c (netgroup_keys): Remove unused variable.
17971 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17973 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17975 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17976 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17979 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17980 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17981 * math/Makefile (libm-calls): Add s_isinf_ns.
17982 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17983 * math/multc3.c: Likewise.
17984 * math/s_casin.c: Likewise.
17985 * math/s_casinf.c: Likewise.
17986 * math/s_casinl.c: Likewise.
17987 * math/s_ccos.c: Likewise.
17988 * math/s_ccosf.c: Likewise.
17989 * math/s_ccosl.c: Likewise.
17990 * math/s_ctan.c: Likewise.
17991 * math/s_ctanf.c: Likewise.
17992 * math/s_ctanh.c: Likewise.
17993 * math/s_ctanhf.c: Likewise.
17994 * math/s_ctanhl.c: Likewise.
17995 * math/s_ctanl.c: Likewise.
17996 * math/w_fmod.c: Likewise.
17997 * math/w_fmodf.c: Likewise.
17998 * math/w_fmodl.c: Likewise.
17999 * math/w_remainder.c: Likewise.
18000 * math/w_remainderf.c: Likewise.
18001 * math/w_remainderl.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18003 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18006 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18007 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18008 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18009 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18011 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18013 * stdio-common/printf_fphex.c: Likewise.
18014 * stdio-common/printf_size.c: Likewise.
18016 * math/e_exp10.c: Include math_private.h using <...> not "...".
18017 * math/e_exp10f.c: Likewise.
18018 * math/e_exp10l.c: Likewise.
18019 * math/e_exp2l.c: Likewise.
18020 * math/e_j0l.c: Likewise.
18021 * math/e_j1l.c: Likewise.
18022 * math/e_jnl.c: Likewise.
18023 * math/e_lgammal_r.c: Likewise.
18024 * math/e_rem_pio2l.c: Likewise.
18025 * math/e_scalb.c: Likewise.
18026 * math/e_scalbf.c: Likewise.
18027 * math/e_scalbl.c: Likewise.
18028 * math/k_cosl.c: Likewise.
18029 * math/k_sinl.c: Likewise.
18030 * math/k_tanl.c: Likewise.
18031 * math/s_cacoshf.c: Likewise.
18032 * math/s_catan.c: Likewise.
18033 * math/s_catanf.c: Likewise.
18034 * math/s_catanh.c: Likewise.
18035 * math/s_catanhf.c: Likewise.
18036 * math/s_catanhl.c: Likewise.
18037 * math/s_catanl.c: Likewise.
18038 * math/s_ccosh.c: Likewise.
18039 * math/s_ccoshf.c: Likewise.
18040 * math/s_ccoshl.c: Likewise.
18041 * math/s_cexp.c: Likewise.
18042 * math/s_cexpf.c: Likewise.
18043 * math/s_cexpl.c: Likewise.
18044 * math/s_clog.c: Likewise.
18045 * math/s_clog10.c: Likewise.
18046 * math/s_clog10f.c: Likewise.
18047 * math/s_clog10l.c: Likewise.
18048 * math/s_clogf.c: Likewise.
18049 * math/s_clogl.c: Likewise.
18050 * math/s_csin.c: Likewise.
18051 * math/s_csinf.c: Likewise.
18052 * math/s_csinh.c: Likewise.
18053 * math/s_csinhf.c: Likewise.
18054 * math/s_csinhl.c: Likewise.
18055 * math/s_csinl.c: Likewise.
18056 * math/s_csqrt.c: Likewise.
18057 * math/s_csqrtf.c: Likewise.
18058 * math/s_csqrtl.c: Likewise.
18059 * math/s_ctan.c: Likewise.
18060 * math/s_ctanf.c: Likewise.
18061 * math/s_ctanh.c: Likewise.
18062 * math/s_ctanhf.c: Likewise.
18063 * math/s_ctanhl.c: Likewise.
18064 * math/s_ctanl.c: Likewise.
18065 * math/s_ldexp.c: Likewise.
18066 * math/s_ldexpf.c: Likewise.
18067 * math/s_ldexpl.c: Likewise.
18068 * math/s_significand.c: Likewise.
18069 * math/s_significandf.c: Likewise.
18070 * math/s_significandl.c: Likewise.
18071 * math/w_acos.c: Likewise.
18072 * math/w_acosf.c: Likewise.
18073 * math/w_acosh.c: Likewise.
18074 * math/w_acoshf.c: Likewise.
18075 * math/w_acoshl.c: Likewise.
18076 * math/w_acosl.c: Likewise.
18077 * math/w_asin.c: Likewise.
18078 * math/w_asinf.c: Likewise.
18079 * math/w_asinl.c: Likewise.
18080 * math/w_atan2.c: Likewise.
18081 * math/w_atan2f.c: Likewise.
18082 * math/w_atan2l.c: Likewise.
18083 * math/w_atanh.c: Likewise.
18084 * math/w_atanhf.c: Likewise.
18085 * math/w_atanhl.c: Likewise.
18086 * math/w_cosh.c: Likewise.
18087 * math/w_coshf.c: Likewise.
18088 * math/w_coshl.c: Likewise.
18089 * math/w_dremf.c: Likewise.
18090 * math/w_exp10.c: Likewise.
18091 * math/w_exp10f.c: Likewise.
18092 * math/w_exp10l.c: Likewise.
18093 * math/w_exp2.c: Likewise.
18094 * math/w_exp2f.c: Likewise.
18095 * math/w_fmod.c: Likewise.
18096 * math/w_fmodf.c: Likewise.
18097 * math/w_fmodl.c: Likewise.
18098 * math/w_hypot.c: Likewise.
18099 * math/w_hypotf.c: Likewise.
18100 * math/w_hypotl.c: Likewise.
18101 * math/w_j0.c: Likewise.
18102 * math/w_j0f.c: Likewise.
18103 * math/w_j0l.c: Likewise.
18104 * math/w_j1.c: Likewise.
18105 * math/w_j1f.c: Likewise.
18106 * math/w_j1l.c: Likewise.
18107 * math/w_jn.c: Likewise.
18108 * math/w_jnf.c: Likewise.
18109 * math/w_jnl.c: Likewise.
18110 * math/w_lgamma.c: Likewise.
18111 * math/w_lgamma_r.c: Likewise.
18112 * math/w_lgammaf.c: Likewise.
18113 * math/w_lgammaf_r.c: Likewise.
18114 * math/w_lgammal.c: Likewise.
18115 * math/w_lgammal_r.c: Likewise.
18116 * math/w_log.c: Likewise.
18117 * math/w_log10.c: Likewise.
18118 * math/w_log10f.c: Likewise.
18119 * math/w_log10l.c: Likewise.
18120 * math/w_log2.c: Likewise.
18121 * math/w_log2f.c: Likewise.
18122 * math/w_log2l.c: Likewise.
18123 * math/w_logf.c: Likewise.
18124 * math/w_logl.c: Likewise.
18125 * math/w_pow.c: Likewise.
18126 * math/w_powf.c: Likewise.
18127 * math/w_powl.c: Likewise.
18128 * math/w_remainder.c: Likewise.
18129 * math/w_remainderf.c: Likewise.
18130 * math/w_remainderl.c: Likewise.
18131 * math/w_scalb.c: Likewise.
18132 * math/w_scalbf.c: Likewise.
18133 * math/w_scalbl.c: Likewise.
18134 * math/w_sinh.c: Likewise.
18135 * math/w_sinhf.c: Likewise.
18136 * math/w_sinhl.c: Likewise.
18137 * math/w_sqrt.c: Likewise.
18138 * math/w_sqrtf.c: Likewise.
18139 * math/w_sqrtl.c: Likewise.
18140 * math/w_tgamma.c: Likewise.
18141 * math/w_tgammaf.c: Likewise.
18142 * math/w_tgammal.c: Likewise.
18144 * po/ja.po: Update from translation team.
18146 2011-09-29 Andreas Jaeger <aj@suse.de>
18149 * sunrpc/netname.c (netname2host): Fix logic.
18153 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18155 * math/w_remainder.c (__remainder): Likewise.
18156 * math/w_remainderf.c (__remainderf): Likewise.
18157 * math/libm-test.inc (remainder_test): Add test cases.
18159 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18161 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18164 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18166 * string/test-memcmp.c: Avoid unncessary #defines.
18167 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18169 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18171 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18172 Use new sse2 version for core i3 - i7 as it's faster
18173 than sse42 version.
18174 (bit_Prefer_PMINUB_for_stringop): New.
18175 * sysdeps/x86_64/rawmemchr.S: Update.
18176 Replace with faster SSE2 version.
18177 * sysdeps/x86_64/memrchr.S: New file.
18178 * sysdeps/x86_64/memchr.S: Update.
18179 Replace with faster SSE2 version.
18181 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18183 * elf/dl-load.c (lose): Add cast to avoid warning.
18185 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18187 * po/ca.po: Update from translation team.
18189 * inet/getnetgrent_r.c: Hook up nscd.
18190 * nscd/Makefile (routines): Add nscd_netgroup.
18191 (nscd-modules): Add netgroupcache.
18192 (CFLAGS-netgroupcache.c): Define.
18193 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18194 (cache_search): Add const to second parameter.
18195 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18197 (dbs): Add netgrdb entry.
18198 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18199 (verify_persistent_db): Handle netgrdb.
18200 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18201 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18203 (netgroup_response_header): Define.
18204 (innetgroup_response_header): Define.
18205 (datahead): Add netgroup_response_header and innetgroup_response_header
18207 * nscd/nscd.conf: Add entries for netgroup cache.
18208 * nscd/nscd.h (dbtype): Add netgrdb.
18209 (_PATH_NSCD_NETGROUP_DB): Define.
18210 (netgroup_iov_disabled): Declare.
18211 (xmalloc, xcalloc, xrealloc): Move declarations here.
18212 (cache_search): Adjust prototype.
18213 Add netgroup-related prototypes.
18214 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18215 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18216 (__nscd_innetgr): Declare.
18217 * nscd/selinux.c (perms): Use access_vector_t as element type and
18218 add netgroup-related initializers.
18219 * nscd/netgroupcache.c: New file.
18220 * nscd/nscd_netgroup.c: New file.
18221 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18222 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18223 For four parameters use innetgr.
18224 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18225 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18226 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18227 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18229 * nscd/connections.c (register_traced_file): Don't register file
18230 for disabled databases.
18232 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18234 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18236 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18237 from tree and freeing node.
18239 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18241 * nss/nsswitch.c (__nss_database_lookup): Handle
18242 nss_parse_service_list out of memory case.
18244 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18246 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18247 out of memory case.
18249 2011-10-04 Andreas Schwab <schwab@redhat.com>
18251 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18252 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18254 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18255 elf_machine_rela, elf_machine_lazy_rel.
18256 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18257 (ELF_DYNAMIC_DO_REL): Likewise.
18258 (ELF_DYNAMIC_DO_RELA): Likewise.
18259 (ELF_DYNAMIC_RELOCATE): Likewise.
18260 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18261 to ELF_DYNAMIC_DO_REL.
18262 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18263 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18264 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18267 skip_ifunc, don't call ifunc function if non-zero.
18268 (elf_machine_rela): Likewise.
18269 (elf_machine_lazy_rel): Likewise.
18270 (elf_machine_lazy_rela): Likewise.
18271 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18272 (elf_machine_lazy_rel): Likewise.
18273 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18275 (elf_machine_lazy_rel): Likewise.
18276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18278 (elf_machine_lazy_rel): Likewise.
18279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18280 (elf_machine_lazy_rel): Likewise.
18281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18282 (elf_machine_lazy_rel): Likewise.
18283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18284 (elf_machine_lazy_rel): Likewise.
18285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18286 (elf_machine_lazy_rel): Likewise.
18287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18288 (elf_machine_lazy_rel): Likewise.
18289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18290 (elf_machine_lazy_rel): Likewise.
18292 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18294 * nss/nss_files/files-init.c (_nss_files_init): Use static
18295 initialization for all the *_traced_file variables.
18297 2011-09-28 Andreas Schwab <schwab@redhat.com>
18299 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18301 2011-09-27 Roland McGrath <roland@hack.frob.com>
18304 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18306 2011-09-27 Andreas Schwab <schwab@redhat.com>
18308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18309 Reread the line before reparsing it.
18311 2011-09-26 Andreas Schwab <schwab@redhat.com>
18313 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18315 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18316 Maxim Kuvyrkov <maxim@codesourcery.com>
18317 Joseph Myers <joseph@codesourcery.com>
18319 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18320 if needed for __stack_chk_guard.
18322 2011-09-19 Roland McGrath <roland@hack.frob.com>
18324 * sysdeps/posix/spawni.c (script_execute): Always define it.
18325 It will be optimized away if unused.
18326 (maybe_script_execute): New function.
18327 (__spawni): Call it.
18329 * Makerules: Don't include tls.make.
18330 (config-tls): Always set to thread.
18331 * tls.make.c: File removed.
18333 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18335 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18336 * config.make.in (CPPFLAGS-config): New substituted variable.
18338 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18340 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18343 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18344 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18346 2011-09-15 Roland McGrath <roland@hack.frob.com>
18348 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18349 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18351 (CALL_FAIL): Likewise.
18352 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18353 (CALL_FAIL): Macro removed.
18354 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18356 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18358 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18359 for __FINITE_MATH_ONLY__ == 1.
18361 2011-09-15 Andreas Schwab <schwab@redhat.com>
18363 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18364 __ieee754_sqrt instead of sqrt.
18365 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18366 __ieee754_sqrtf instead of sqrtf.
18367 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18368 __floorf instead of floorf.
18369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18370 __floorf, __truncf instead of floorf, truncf.
18372 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18374 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18376 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18377 __extern_always_inline.
18378 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18381 2011-09-14 Andreas Schwab <schwab@redhat.com>
18383 * elf/rtld.c (dl_main): Also relocate in dependency order when
18384 doing symbol dependency testing.
18386 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18389 Always define `refsym'.
18391 2011-09-13 Andreas Schwab <schwab@redhat.com>
18393 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18394 (__FD_ELT): Renamed from __FDELT.
18395 * misc/bits/select2.h (__FD_ELT): Likewise.
18396 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18397 __FD_MASK instead of __FDELT, __FDMASK.
18398 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18400 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18403 * elf/Makefile (gen-ldd): Fix pattern.
18405 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18406 (init_tls): Likewise.
18408 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18412 2011-09-12 Andreas Schwab <schwab@redhat.com>
18414 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18415 `struct cmsghdr *' instead of `void *'.
18416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18419 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18421 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18423 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18424 ldd_rewrite_script.
18426 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18428 * configure.in: Remove --with-tls option.
18429 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18430 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18431 out in case it is missing.
18432 * sysdeps/ia64/elf/configure.in: Likewise.
18433 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18434 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18435 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18436 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18437 * sysdeps/sh/elf/configure.in: Likewise.
18438 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18440 * sysdeps/x86_64/elf/configure.in: Likewise.
18441 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18442 * sysdeps/mach/hurd/tls.h: Likewise.
18445 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18448 * configure.in: Fix use of AC_INIT.
18450 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18452 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18454 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18456 * malloc/hooks.c: Likewise.
18459 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18460 variables statically.
18461 (narenas): Initialize.
18462 (list_lock): Initialize.
18463 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18464 initializtion of main_arena and list_lock. Small cleanups.
18465 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18466 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18467 Add initializers to main_arena and mp_.
18468 (malloc_state): Remove pagesize member. Change all users to use
18471 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18472 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18473 is always initialized.
18475 * malloc/malloc.c: Removed unused configurations and dead code.
18476 * malloc/arena.c: Likewise.
18477 * malloc/hooks.c: Likewise.
18478 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18480 * include/tls.h: Removed. USE___THREAD must always be defined.
18481 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18482 * elf/dl-libc.c: Likewise.
18483 * elf/dl-tsd.c: Likewise.
18484 * include/errno.h: Likewise.
18485 * include/netdb.h: Likewise.
18486 * include/resolv.h: Likewise.
18487 * inet/herrno-loc.c: Likewise.
18488 * inet/herrno.c: Likewise.
18489 * malloc/arena.c: Likewise.
18490 * malloc/hooks.c: Likewise.
18491 * malloc/malloc.c: Likewise.
18492 * resolv/res-state.c: Likewise.
18493 * resolv/res_libc.c: Likewise.
18494 * sysdeps/i386/dl-machine.h: Likewise.
18495 * sysdeps/ia64/dl-machine.h: Likewise.
18496 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18498 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18499 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18500 * sysdeps/sh/dl-machine.h: Likewise.
18501 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18502 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18503 * sysdeps/unix/i386/sysdep.S: Likewise.
18504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18505 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18510 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18514 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18515 * sysdeps/x86_64/dl-machine.h: Likewise.
18516 * tls.make.c: Likewise.
18518 * configure.in: Remove --with-__thread option. Make tests for
18519 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18520 tls_model attribute fail if no support is available. Remove
18522 * Makeconfig: Adjust for dropped configure option. All features are
18524 * Makerules: Likewise.
18525 * Versions.def: Likewise.
18526 * argp/argp-fmtstream.c: Likewise.
18527 * argp/argp-fmtstream.h: Likewise.
18528 * argp/argp-help.c: Likewise.
18529 * assert/assert.c: Likewise.
18530 * config.h.in: Likewise.
18531 * config.make.in: Likewise.
18532 * configure: Likewise.
18533 * configure.in: Likewise.
18534 * csu/Versions: Likewise.
18535 * csu/init.c: Likewise.
18536 * elf/tst-audit2.c: Likewise.
18537 * elf/tst-tls10.c: Likewise.
18538 * elf/tst-tls10.h: Likewise.
18539 * elf/tst-tls11.c: Likewise.
18540 * elf/tst-tls12.c: Likewise.
18541 * elf/tst-tls14.c: Likewise.
18542 * elf/tst-tlsmod11.c: Likewise.
18543 * elf/tst-tlsmod12.c: Likewise.
18544 * elf/tst-tlsmod13.c: Likewise.
18545 * elf/tst-tlsmod13a.c: Likewise.
18546 * elf/tst-tlsmod14a.c: Likewise.
18547 * elf/tst-tlsmod15b.c: Likewise.
18548 * elf/tst-tlsmod16a.c: Likewise.
18549 * elf/tst-tlsmod16b.c: Likewise.
18550 * elf/tst-tlsmod7.c: Likewise.
18551 * elf/tst-tlsmod8.c: Likewise.
18552 * elf/tst-tlsmod9.c: Likewise.
18553 * gmon/gmon.c: Likewise.
18554 * grp/fgetgrent_r.c: Likewise.
18555 * grp/putgrent.c: Likewise.
18556 * hurd/fopenport.c: Likewise.
18557 * include/libc-symbols.h: Likewise.
18558 * include/tls.h: Likewise.
18559 * intl/gettextP.h: Likewise.
18560 * intl/loadinfo.h: Likewise.
18561 * locale/global-locale.c: Likewise.
18562 * locale/localeinfo.h: Likewise.
18563 * mach/devstream.c: Likewise.
18564 * malloc/arena.c: Likewise.
18565 * malloc/set-freeres.c: Likewise.
18566 * misc/err.c: Likewise.
18567 * misc/getttyent.c: Likewise.
18568 * misc/mntent_r.c: Likewise.
18569 * posix/getopt.c: Likewise.
18570 * posix/wordexp.c: Likewise.
18571 * pwd/fgetpwent_r.c: Likewise.
18572 * resolv/Versions: Likewise.
18573 * resolv/res_hconf.c: Likewise.
18574 * shadow/fgetspent_r.c: Likewise.
18575 * shadow/putspent.c: Likewise.
18576 * stdio-common/printf_fphex.c: Likewise.
18577 * stdio-common/tmpfile.c: Likewise.
18578 * stdlib/abort.c: Likewise.
18579 * stdlib/fmtmsg.c: Likewise.
18580 * sunrpc/auth_unix.c: Likewise.
18581 * sunrpc/clnt_perr.c: Likewise.
18582 * sunrpc/clnt_tcp.c: Likewise.
18583 * sunrpc/clnt_udp.c: Likewise.
18584 * sunrpc/clnt_unix.c: Likewise.
18585 * sunrpc/openchild.c: Likewise.
18586 * sunrpc/svc_simple.c: Likewise.
18587 * sunrpc/svc_tcp.c: Likewise.
18588 * sunrpc/svc_udp.c: Likewise.
18589 * sunrpc/svc_unix.c: Likewise.
18590 * sunrpc/xdr.c: Likewise.
18591 * sunrpc/xdr_array.c: Likewise.
18592 * sunrpc/xdr_rec.c: Likewise.
18593 * sunrpc/xdr_ref.c: Likewise.
18594 * sunrpc/xdr_stdio.c: Likewise.
18596 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18598 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18600 2011-07-03 Andreas Jaeger <aj@suse.de>
18602 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18603 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18604 regenerate with gen-libm-tests.pl.
18606 2010-05-12 Petr Baudis <pasky@suse.cz>
18609 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18610 around j0() zero points by switching to j1().
18611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18614 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18616 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18618 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18620 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18623 Patch in part by Pavel Roskin <proski@gnu.org>.
18626 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18628 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18629 Free memory block if necessary.
18632 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18633 be NULL. Don't lock in this case.
18635 2011-09-09 Roland McGrath <roland@hack.frob.com>
18637 * elf/elf.h (ELFOSABI_GNU): New macro.
18638 (ELFOSABI_LINUX): Define to that.
18640 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18642 * string/strncat.c (strncat): Undef the symbol in case it has been
18643 defined in bits/string.h.
18645 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18647 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18649 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18652 2011-08-17 Andreas Jaeger <aj@suse.de>
18654 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18656 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18657 Ian Lance Taylor <iant@google.com>
18659 * math/libm-test.inc (lround_test): New testcase.
18660 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18662 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18664 * Makefile: Remove support for automatic cvs check-ins.
18665 * Makerules: Likewise.
18666 * config.make.in: Likewise.
18667 * configure.in: Likewise.
18668 * intl/Makefile: Likewise.
18669 * locale/Makefile: Likewise.
18670 * po/Makefile: Likewise.
18671 * posix/Makefile: Likewise.
18672 * sysdeps/gnu/Makefile: Likewise.
18673 * sysdeps/mach/hurd/Makefile: Likewise.
18674 * sysdeps/sparc/sparc32/Makefile: Likewise.
18677 * posix/Makefile (bug-regex32-ENV): Define.
18678 Patch by John Stanley <jpsinthemix@verizon.net>.
18680 * misc/Makefile (headers): Add bits/select2.h.
18681 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18682 * misc/bits/select2.h: New file.
18683 * include/bits/select2.h: New file.
18684 * debug/Makefile (routines): Add fdelt_chk.
18685 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18686 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18688 * debug/fdelt_chk.c: New file.
18690 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18691 * wcsmbs/test-wmemcmp.c: Likewise.
18692 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18693 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18695 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18697 * string/Makefile (strop-tests): Add memcmp.
18698 * string/test-wmemcmp.c: New file.
18699 * string/test-memcmp.c: Add wmemcmp support.
18701 2011-09-08 Roland McGrath <roland@hack.frob.com>
18704 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18707 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18708 garbage value in a __mach_port_mod_refs call in the cases of the
18709 task-self and thread-self ports.
18711 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18713 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18715 2011-09-08 Andreas Schwab <schwab@redhat.com>
18717 * elf/dl-load.c (lose): Check for non-null L.
18719 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18721 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18723 * elf/dl-libc.c (dlerror_run): Pass back error code from
18727 * elf/dl-load.c (lose): Free l_origin if it is valid.
18729 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18731 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18732 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18733 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18734 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18735 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18736 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18738 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18741 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18742 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18743 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18744 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18745 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18746 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18747 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18748 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18749 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18751 2011-08-15 Alan Modra <amodra@gmail.com>
18754 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18755 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18756 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18757 ppc_mcount to static-only-routines.
18758 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18760 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18761 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18763 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18765 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18766 for finite and infinity parameters.
18768 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18771 and add nop instructions for throughput optimization.
18772 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18774 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18777 aligned copy for power7 with vector-scalar instructions.
18778 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18780 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18785 2011-09-07 Andreas Schwab <schwab@redhat.com>
18788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18791 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18793 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18794 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18795 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18796 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18799 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18801 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18802 Forgot to demangle the pointer.
18804 * sysdeps/i386/sysdep.h: Define atom_text_section.
18805 * sysdeps/x86_64/sysdep.h: Likewise.
18806 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18807 section with atom_text_section.
18808 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18810 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18812 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18816 already be defined. Change to take two parameters and don't assign
18817 result to variable. Adjust all users.
18818 Define INTERNAL_GETTIME if not already defined.
18819 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18822 HAVE_CLOCK_GETTIME_VSYSCALL.
18823 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18825 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18826 gettimeofday vsyscall, just use time.
18828 2011-09-06 Andreas Schwab <schwab@redhat.com>
18830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18833 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18835 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18839 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18840 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18841 syscall if possible.
18843 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18845 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18846 e_ident. Don't pass to find_mapsXX.
18847 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18849 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18852 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18853 * sysdeps/x86_64/multiarch/strchr.S: Update.
18854 Check bit_slow_BSF bit.
18855 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18856 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18857 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18859 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18862 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18864 (tryshell): Define.
18865 (__spawni): Change last parameter to be flag. Test
18866 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18867 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18868 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18869 * posix/spawni.c: Likewise.
18870 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18871 * posix/spawnp.c: Likewise. Change normal version to use
18872 SPAWN_XFLAGS_USE_PATH.
18873 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18874 SPAWN_XFLAGS_TRY_SHELL.
18877 * posix/glob.h: Remove gcc 1.x support.
18880 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18882 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18885 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18887 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18888 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18889 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18890 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18891 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18892 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18894 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18896 * sysdeps/x86_64/wcscmp.S: New file.
18898 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18899 wcscmp-c wcscmp-sse2
18900 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18901 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18902 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18903 * wcsmbs/wcscmp.c: Allow renaming.
18905 2011-09-05 David S. Miller <davem@davemloft.net>
18907 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18908 stack slot, rather than the struct return pointer slot.
18909 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18910 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18912 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18914 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18916 * po/ja.po: Update from translation team.
18919 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18920 kernel in 64-bit binaries.
18922 2011-09-01 David S. Miller <davem@davemloft.net>
18924 * elf/elf.h (HWCAP_SPARC_*): Move to..
18925 * sysdeps/sparc/sysdep.h: this new file and add new values.
18926 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18927 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18928 _DL_HWCAP_COUNT to 24.
18929 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18931 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18932 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18933 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18935 instead of magic constants.
18936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18938 2011-08-31 David S. Miller <davem@davemloft.net>
18940 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18942 Reimplement to do errno handling inline.
18943 (SYSCALL_ERROR_HANDLER): New macro.
18944 (__SYSCALL_STRING): Do not do errno handling in asm.
18945 (__CLONE_SYSCALL_STRING): Delete.
18946 (__INTERNAL_SYSCALL_STRING): Delete.
18947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18948 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18949 (PSEUDO): Reimplement to do errno handling inline.
18950 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18951 (SYSCALL_ERROR_HANDLER): New macro.
18952 (__SYSCALL_STRING): Do not do errno handling in asm.
18953 (__CLONE_SYSCALL_STRING): Delete.
18954 (__INTERNAL_SYSCALL_STRING): Delete.
18955 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18956 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18958 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18959 (inline_syscall*): Add 'err' argument.
18960 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18961 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18962 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18963 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18965 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18966 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18968 2011-08-30 Andreas Schwab <schwab@redhat.com>
18970 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18972 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18974 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18977 2011-08-24 David S. Miller <davem@davemloft.net>
18979 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18981 2011-08-24 Andreas Schwab <schwab@redhat.com>
18983 * elf/Makefile: Add rules to build and run unload8 test.
18984 * elf/unload8.c: New file.
18985 * elf/unload8mod1.c: New file.
18986 * elf/unload8mod1x.c: New file.
18987 * elf/unload8mod2.c: New file.
18988 * elf/unload8mod3.c: New file.
18990 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18993 2011-08-23 David S. Miller <davem@davemloft.net>
18995 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18996 subtract stack bias.
18997 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18998 %sp not %fp in calculations.
18999 (_JMPBUF_UNWINDS_ADJ): Likewise.
19001 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19002 (aio_suspend): Call it to force an exception region around the
19003 AIO_MISC_WAIT() invocation.
19005 2011-08-23 Andreas Schwab <schwab@redhat.com>
19007 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19010 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19012 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19014 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19015 and <dl-machine.h>.
19016 (Elf64_FuncDesc): Remove.
19018 2011-08-22 David S. Miller <davem@davemloft.net>
19020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19021 sigaltstack check, add missing cfi directives.
19022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19023 missing cfi directives, and sigaltstack handling.
19025 2011-08-16 Andreas Schwab <schwab@redhat.com>
19028 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19029 object is seen twice.
19030 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19032 * elf/Makefile (distribute): Add tst-initorder2.c.
19033 (tests): Add tst-initorder2.
19034 (modules-names): Add tst-initorder2a tst-initorder2b
19035 tst-initorder2c tst-initorder2d. Add rules to build them.
19036 ($(objpfx)tst-initorder2.out): New rule.
19037 * elf/tst-initorder2.c: New file.
19038 * elf/tst-initorder2.exp: New file.
19040 2011-08-22 Andreas Schwab <schwab@redhat.com>
19042 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19044 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19045 dependencies back to end of function.
19047 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19048 $(elfobjdir)/ld.so.
19050 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19053 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19055 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19056 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19057 of __vdso_gettimeofday.
19058 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19059 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19061 (_libc_vdso_platform_setup): Remove initialization of
19062 __vdso_gettimeofday and __vdso_time.
19064 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19066 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19067 and fgetc_unlocked.
19068 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19071 * elf/dl-open.c (add_to_global): Report additions to the global scope
19072 for LD_DEBUG=scopes.
19073 (dl_open_worker): Also print scope of newly loaded dependencies.
19074 (_dl_show_scope): Indicate if there is no scope.
19077 * stdio-common/Makefile (tests): Add bug24.
19078 * stdio-common/bug24.c: New file.
19080 2011-08-19 Andreas Jaeger <aj@suse.de>
19083 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19084 non-existant file when using close-on-exec mode.
19086 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19089 the very first instruction.
19091 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19092 the CFI state in the end.
19093 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19094 inclusion of dl-trampoline.h.
19095 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19097 2011-08-19 Andreas Schwab <schwab@redhat.com>
19099 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19100 expectations for long double.
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19103 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19105 2011-08-14 David S. Miller <davem@davemloft.net>
19107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19108 artificual limit depends upon the system page size.
19110 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19112 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19113 * resolv/Makefile: Define CFLAGS-libresolv.
19115 2011-08-17 Andreas Schwab <schwab@redhat.com>
19117 * nss/makedb.c (compute_tables): Make variables used in nested
19120 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19122 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19123 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19124 if buffer was too small.
19126 * elf/pldd.c (main): Attach to all threads in the process.
19127 Rewrite /proc handling to use *at functions.
19129 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19131 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19132 specifies first scope to show.
19133 (dl_open_worker): Update callers. Move printing scope of new
19134 object to before the relocation.
19135 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19136 * sysdeps/generic/ldsodefs.h: Update declaration.
19138 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19139 string for the scope number.
19141 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19143 * nscd/servicescache.c (cache_addserv): Make sure written is always
19146 2011-08-14 Roland McGrath <roland@hack.frob.com>
19148 * sysdeps/i386/i486/bits/atomic.h
19149 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19150 statement expression, so as to suppress "set but not used" warning.
19151 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19153 * string/strncat.c (STRNCAT): Use prototype definition.
19155 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19156 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19158 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19159 (localedef-modules): Add localedef.
19160 (locale-modules): Add locale.
19162 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19163 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19164 to avoid a warning.
19166 2011-08-14 David S. Miller <davem@davemloft.net>
19168 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19169 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19171 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19173 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19174 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19175 * elf/rtld.c (dl_main): Set l_name of vDSO.
19176 Call _dl_show_scope when DL_DEBUG_SCOPES.
19177 (process_dl_debug): Recognize scopes flag and also set it for all.
19178 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19179 Declare _dl_show_scope.
19181 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19182 (do_dlopen): Pass caller_dlopen to dl_open.
19183 (__libc_dlopen_mode): Initialize caller_dlopen.
19185 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19186 of libc. Make tolower call locale-independent. Optimize a bit by
19187 using isdigit instead of isalnum.
19188 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19190 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19192 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19193 was a dependency or dynamically loaded.
19195 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19197 * intl/l10nflist.c: Allow architecture-specific pop function.
19198 * sysdeps/x86_64/l10nflist.c: New file.
19200 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19203 2011-08-10 Andreas Schwab <schwab@redhat.com>
19205 * include/dirent.h: Add libc_hidden_proto for scandirat and
19206 scandirat64. Don't declare __scandirat64.
19207 * dirent/scandirat.c: Add libc_hidden_def.
19208 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19209 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19211 2011-08-10 David S. Miller <davem@davemloft.net>
19213 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19215 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19216 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19219 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19221 * Versions.def [libc]: Add GLIBC_2.15.
19222 * dirent/Makefile (routines): Add scandirat and scandirat64.
19223 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19225 * dirent/dirent.h: Declare scandirat and scandirat64.
19226 * dirent/scandirat.c: New file.
19227 * dirent/scandirat64.c: New file.
19228 * sysdeps/wordsize-64/scandirat.c: New file.
19229 * sysdeps/wordsize-64/scandirat64.c: New file.
19230 * dirent/opendir.c: Define opendirat.
19231 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19233 * dirent/scandir64.c: Adjust for scandir.c change.
19234 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19235 __scandirat64, and __scandir_cancel_handler.
19236 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19237 additional parameter and use openat instead of open (outside of ld.so).
19238 Add new __opendir as wrapper around __opendirat.
19239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19240 here without requiring old scandirat implementation.
19242 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19244 * dirent/scandir.c (cancel_handler): Renamed to
19245 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19246 defined. Adjust users.
19247 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19250 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19252 * string/test-string.h (IMPL): Use __STRING to expand name and then
19255 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19258 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19260 * string/Makefile: Update.
19261 (strop-tests): Append strncat.
19262 * string/test-wcscmp.c: New file.
19263 New comprehensive test for wcscmp.
19264 * string/test-strcmp.c: Update.
19265 (WIDE): New define.
19267 2011-07-22 Andreas Schwab <schwab@redhat.com>
19269 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19272 2011-07-26 Andreas Schwab <schwab@redhat.com>
19274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19275 encoding to ACE if AI_IDN.
19277 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19280 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19282 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19284 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19285 Fix overflow bug in strncat.
19286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19288 * string/test-strncat.c: Update.
19289 Add new tests for checking overflow bugs.
19291 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19294 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19295 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19296 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19298 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19299 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19300 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19301 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19304 (USE_AS_STRCAT): Define.
19305 Add strcat and strncat support.
19306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19308 2011-07-25 Andreas Schwab <schwab@redhat.com>
19310 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19311 __n bigger than INT_MAX+1.
19312 (__strncmp_g): Likewise.
19314 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19316 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19317 * libio/stido.h: Likewise.
19319 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19324 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19325 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19327 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19331 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19336 (_dl_x86_64_save_sse): Likewise.
19338 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19342 (_dl_x86_64_save_sse): Likewise.
19344 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19346 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19348 2011-07-21 Andreas Schwab <schwab@redhat.com>
19350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19352 (_dl_x86_64_save_sse): Use correct AVX check.
19354 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19356 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19357 bug in strncpy/strncat.
19358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19360 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19362 * string/tester.c (test_strcat): Add tests for different alignments
19363 of source and destination.
19364 (test_strncat): Likewise.
19366 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19369 * posix/glob.c (glob): Check passed in values before using them in
19370 expressions to avoid some overflows.
19371 (glob_in_dir): Likewise.
19374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19375 check for AVX enablement so that we don't crash with old kernels and
19377 * elf/tst-audit4.c: Add same checks here.
19378 * elf/tst-audit6.c: Likewise.
19380 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19382 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19384 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19386 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19388 * po/cs.po: Update from translation team.
19389 * po/bg.po: Likewise.
19391 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19393 * misc/sys/cdefs.h: Add support for const attribute.
19394 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19395 to gnu_dev_{major,minor,makedev} functions.
19397 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19399 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19401 2011-07-20 Andreas Schwab <schwab@redhat.com>
19403 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19406 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19409 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19410 register in order to avoid conflicts with the soft frame pointer
19411 being held in r11 when necessary.
19412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19413 (INTERNAL_VSYSCALL_NCS): Likewise.
19415 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19417 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19418 * elf/dl-fini.c (_dl_fini): Adjust caller.
19419 * elf/dl-close.c (_dl_close_worker): Likewise.
19420 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19422 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19424 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19425 "aux_cache->nlibs < 0".
19427 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19428 in the reload-count case.
19430 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19433 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19434 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19435 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19436 * sysdeps/x86_64/multiarch/strcat.S: New file.
19437 * sysdeps/x86_64/multiarch/strncat.S: New file.
19438 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19439 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19440 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19441 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19443 (USE_AS_STRCAT): Define.
19444 Add strcat and strncat support.
19445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19446 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19447 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19448 * string/strncat.c: Update.
19449 (USE_AS_STRNCAT): Define.
19450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19451 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19453 * sysdeps/x86_64/multiarch/init-arch.h
19454 (bit_Prefer_PMINUB_for_stringop): New.
19455 (index_Prefer_PMINUB_for_stringop): Likewise.
19456 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19457 bit_Prefer_PMINUB_for_stringop.
19459 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19461 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19463 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19464 of casting of buffer.
19465 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19466 buffer32 and buffer64.
19467 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19468 writes instead of casting of buffer.
19469 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19471 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19474 2011-07-19 Andreas Schwab <schwab@redhat.com>
19476 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19478 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19480 * nscd/nscd.c (termination_handler): Don't do anything for a database
19481 if it has not yet been initialized.
19483 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19485 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19487 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19489 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19491 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19493 * po/nl.po: Update from translation team.
19494 * po/sv.po: Likewise.
19496 2011-07-16 Roland McGrath <roland@hack.frob.com>
19498 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19499 now disallowed by GCC.
19501 * configure.in (use-default-link): Default to yes if a test -shared
19502 link meets our qualifications.
19503 * configure: Regenerated.
19505 * config.make.in (output-format): New variable.
19506 * configure.in: Check for ld --print-output-format support.
19507 * configure: Regenerated.
19508 * Makerules ($(common-objpfx)format.lds)
19509 [$(output-format) != unknown]: Just use $(output-format),
19510 instead of the linker-script munging.
19512 2011-07-14 Roland McGrath <roland@hack.frob.com>
19514 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19515 of $(common-objpfx)shlib.lds.
19516 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19518 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19519 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19521 * configure.in (-z relro check): Adjust test code to add a large
19522 writable data section after it.
19523 * configure: Regenerated.
19525 2011-07-11 Roland McGrath <roland@hack.frob.com>
19527 * configure.in (-z relro check): Fix test code to make the variable
19529 * configure: Regenerated.
19531 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19533 * nscd/nscd.h (struct traced_file): Define.
19534 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19535 elements. Add traced_files.
19536 (inotify_fd): Declare.
19537 (register_traced_file): Declare.
19538 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19539 (inotify_fd): Export.
19540 (resolv_conf_descr): Remove.
19541 (nscd_init): Move inotify descriptor creation to main.
19542 Don't register files for notification here.
19543 (register_traced_file): New function.
19544 (invalidate_cache): Don't use reset_res to determine whether to call
19545 res_init, go through the list of registered files.
19546 (main_loop_poll): The inotify descriptors are now stored in the
19547 structures for the traced files.
19548 (main_loop_epoll): Likewise
19549 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19550 to __nss_disable_nscd.
19551 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19552 for a database anymore. Check the records for all the registered
19554 * nss/Makefile (libnss_files-routines): Add files-init.
19555 (libnss_db-routines): Add db-init.
19556 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19557 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19558 * nss/nss_db/db-init.c: New file.
19559 * nss/nss_files/files-init.c: New file.
19560 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19561 __nss_lookup_function.
19562 (__nss_lookup_function): Call nss_load_library.
19563 (nss_load_all_libraries): New function.
19564 (__nss_disable_nscd): Take parameter with callback function for files
19565 to register. Set is_nscd. Load all the DSOs for the NSS modules
19566 used for the cached services.
19567 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19568 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19569 options for features to all the files in nscd.
19571 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19573 2011-07-10 Roland McGrath <roland@hack.frob.com>
19575 * csu/elf-init.c (__libc_csu_init): Comment typo.
19577 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19579 * po/pl.po: Update from translation team.
19580 * po/ja.po: Likewise.
19581 * po/ru.po: Likewise.
19582 * po/ko.po: Likewise.
19583 * po/fr.po: Likewise.
19585 2011-07-09 Roland McGrath <roland@hack.frob.com>
19587 * configure.in (.ctors/.dtors header and trailer check):
19588 Use an empirical test on a built program.
19589 * configure: Regenerated.
19591 * configure.in (-z relro check): Use an empirical test on a built DSO.
19592 Detect, but do not require, on ia64.
19593 * configure: Regenerated.
19595 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19596 Update tests that use readelf to use $READELF instead.
19597 * configure: Regenerated.
19599 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19601 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19602 if the result is not used.
19604 2011-07-05 Andreas Jaeger <aj@suse.de>
19607 * stdlib/tst-strtod.c: Add testcase.
19609 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19611 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19612 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19613 The latter has a higher limit. Take additional parameter to pass to
19615 (__pathconf): Pass file to __statfs_link_max.
19616 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19618 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19622 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19626 (__statfs_filesize_max): Likewise.
19627 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19629 2011-07-05 Andreas Jaeger <aj@suse.de>
19631 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19633 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19635 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19637 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19640 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19642 * Makefile (strop-tests): Add strncat.
19643 * string/test-strncat.c: New file.
19645 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19647 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19649 2011-06-21 Andreas Jaeger <aj@suse.de>
19651 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19652 Copy rule from iconvdata/Makefile.
19654 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19657 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19658 but no long options are defined, just return 'W'.
19660 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19663 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19665 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19667 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19669 (innetgr): Likewise.
19671 2011-07-05 Roland McGrath <roland@hack.frob.com>
19673 * config.make.in (install_root): Default to $(DESTDIR).
19675 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19679 2011-07-02 Roland McGrath <roland@hack.frob.com>
19681 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19683 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19684 containing directory rather than embedding absolute directory names.
19686 * scripts/check-local-headers.sh: Rewritten using awk.
19687 Match by word, not by line. Print error messages for matches.
19688 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19690 * Makerules [shlib-lds-flags empty]:
19691 ($(common-objpfx)libc_pic.opts): New target.
19692 ($(common-objpfx)libc_pic.os.clean): New target.
19693 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19695 * config.make.in (OBJCOPY): New variable.
19696 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19697 * configure: Regenerated.
19699 * config.make.in (use-default-link): New variable.
19700 * configure.in (use_default_link): Grok --with-default-link to set it.
19701 * configure: Regenerated.
19702 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19703 (shlib-lds, shlib-lds-flags): Define to empty.
19705 * Makerules (shlib-lds): New variable.
19706 (shlib-lds-flags): New variable.
19707 (build-shlib, build-moduile, build-module-asneeded): Use it.
19708 ($(common-objpfx)libc.so): Use $(shlib-lds).
19709 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19710 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19712 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19713 DT_FLAGS/DT_FLAGS_1 with zero flags.
19715 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19716 linker script munging.
19718 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19720 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19722 * crypt/sha512.c (sha512_process_block): Perform total addition using
19723 128-bit if possible.
19724 (__sha512_finish_ctx): Likewise.
19725 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19727 * crypt/sha256.c (SWAP64): Define.
19728 (sha256_process_block): Perform total addition using 64-bit if
19730 (__sha256_finish_ctx): Likewise.
19732 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19734 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19736 * nscd/hstcache.c (cache_addhst): Likewise.
19737 * nscd/grpcache.c (cache_addgr): Likewise.
19738 * nscd/aicache.c (addhstaiX): Likewise
19739 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19741 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19743 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19745 * nscd/hstcache.c (cache_addhst): Likewise.
19746 * nscd/grpcache.c (cache_addgr): Likewise.
19747 * nscd/aicache.c (addhstaiX): Likewise
19749 2011-07-01 Andreas Schwab <schwab@redhat.com>
19751 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19752 domain only when needed.
19754 2011-06-30 Andreas Schwab <schwab@redhat.com>
19756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19757 is always restored.
19759 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19761 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19762 are re-adding the entry.
19763 * nscd/servicescache.c (cache_addserv): Likewise.
19765 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19767 * sysdeps/generic/dl-irel.h: fix protection against multiple
19769 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19771 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19774 * malloc/memusage.sh: Fix quoting in message.
19775 * debug/xtrace.sh: Likewise.
19777 * configure.in: Remove support for --experimental-malloc option, make
19779 * config.make.in: Likewise.
19780 * malloc/Makefile: Likewise.
19782 2011-06-27 Andreas Schwab <schwab@redhat.com>
19784 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19785 two-byte characters.
19787 2011-06-27 Roland McGrath <roland@hack.frob.com>
19789 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19790 AC_CACHE_CHECK invocation.
19791 * configure: Regenerated.
19793 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19795 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19798 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19799 bit from old_res_options.
19801 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19803 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19804 value type for setfct.
19806 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19809 __gettimeofday instead of gettimeofday.
19811 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19813 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19815 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19819 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19822 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19825 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19826 strcpy-sse2-unaligned strncpy-sse2-unaligned
19827 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19828 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19829 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19830 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19831 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19834 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19835 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19836 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19837 (STRCPY): Support SSE2 and SSSE3 versions.
19839 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19843 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19844 kernels which artificially limit size of requests.
19846 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19849 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19850 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19851 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19852 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19853 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19854 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19855 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19858 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19859 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19860 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19861 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19862 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19864 Enable unaligned load optimization for Intel Core i3, i5 and i7
19866 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19868 (index_Fast_Unaligned_Load): Define.
19869 (HAS_FAST_UNALIGNED_LOAD): Define.
19871 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19873 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19875 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19879 until it is clear that the information is realy needed.
19880 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19882 2011-06-22 Andreas Schwab <schwab@redhat.com>
19884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19886 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19889 /sys/devices/system/cpu/online if it is usable.
19891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19892 reading the information from the /proc filesystem to once a second.
19894 2011-06-21 Andreas Jaeger <aj@suse.de>
19896 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19897 NULL after inclusion of kernel headers.
19899 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19901 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19902 calls to internal_setent.
19905 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19906 addresses using gethostbyname4_r ignore IPv4 addresses.
19908 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19909 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19911 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19913 2011-06-20 David S. Miller <davem@davemloft.net>
19915 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19917 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19919 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19920 (elf_irel): Use it.
19921 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19922 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19923 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19924 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19925 * sysdeps/x86_64/dl-irel.h: Likewise.
19927 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19928 * elf/dl-sym.c: Likewise.
19930 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19932 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19933 need to dereference resplen2.
19935 2011-06-14 Andreas Schwab <schwab@redhat.com>
19937 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19939 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19941 * Makeconfig: Define vardbdir and inst_vardbdir.
19942 * nss/Makefile: Add rules to install db-Makefile.
19944 * nss/nss_db/db-XXX.c: Cleanup.
19946 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19947 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19949 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19950 * nss/makedb.c: Implement -g option to specify that value strings
19951 are generated and should not be added to table iterated over for
19953 * nss/nss_db/db-initgroups.c: New file.
19955 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19958 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19959 (internal_getgrouplist): Adjust to name change.
19960 Update use_initgroups_entry if this is not the first call.
19961 * nss/databases.def: Add initgroups entry.
19963 * nss/makedb.c (compute_tables): Check result of multiple hash table
19964 sizes to minimize maximum chain length.
19966 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19968 * Versions.def: Add entry for libnss_db.
19969 * shlib-versions: Likewise.
19970 * nss/Makefile: Add rules to build libnss_db.
19971 * nss/Versions: Add libnss_db information. Organize libnss_files
19973 * nss/db-Makefile: Add gshadow support. Change rules for the new
19974 makedb progra. Some minor improvements to generate smaller files.
19975 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19977 * nss/makedb.c: ...here.
19978 Improve database format to be smaller and require less memory at
19980 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19982 * nss/nss_db/db-netgrp.c: Likewise.
19983 * nss/nss_db/db-open.c: Likewise.
19984 * nss/nss_files/flies-XXX.x: Adjust comments.
19985 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19986 * nss/nss_files/files-grp.c: Likewise.
19987 * nss/nss_files/files-hosts.c: Likewise.
19988 * nss/nss_files/files-network.c: Likewise.
19989 * nss/nss_files/files-proto.c: Likewise.
19990 * nss/nss_files/files-pwd.c: Likewise.
19991 * nss/nss_files/files-rpc.c: Likewise.
19992 * nss/nss_files/files-service.c: Likewise.
19993 * nss/nss_files/files-sgrp.c: Likewise.
19994 * nss/nss_files/files-spwd.c: Likewise.
19995 * nss/nss_db/db-alias.c: Removed.
19996 * nss/nss_db/dummy-db.h: Removed.
19998 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20000 * nss/makedb.c: Rewritten to not use database library.
20001 * nss/Makefile: Update to build new makedb program.
20003 2011-06-14 Andreas Jaeger <aj@suse.de>
20005 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20006 memset declaration.
20008 2011-06-10 Andreas Schwab <schwab@redhat.com>
20010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20013 2011-06-10 Roland McGrath <roland@hack.frob.com>
20015 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20016 * elf/Makefile ($(objpfx)ld.so): Likewise.
20018 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20019 Don't list ld.so twice in dependencies.
20021 * posix/bug-regex31.c: Include <stdlib.h>.
20023 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20025 * nis/nss_compat/compat-spwd.c
20026 (getspent_next_nss_netgr): Remove unused variable.
20027 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20029 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20030 nonmembers" output to use the right array.
20032 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20034 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20036 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20037 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20038 * catgets/gencat.c (read_input_file): Likewise.
20039 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20041 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20042 variable definition inside #if's controlling its use.
20044 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20046 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20048 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20050 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20053 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20055 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20056 * configure: Regenerated.
20058 * Makerules: Revert last change.
20059 * elf/Makefile: Likewise.
20061 2011-06-09 Roland McGrath <roland@hack.frob.com>
20063 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20064 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20065 (reloc-link): Likewise.
20067 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20069 * elf/Makefile: Add rules to build pldd.
20070 * elf/pldd.c: New file.
20071 * elf/pldd-xx.c: New file.
20073 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20075 * version.h: Update for 2.15 development version.
20077 2011-06-07 David S. Miller <davem@davemloft.net>
20079 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20082 elf_machine_lazy_rel): Likewise.
20083 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20085 elf_machine_lazy_rel): Likewise.
20086 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20087 dl_hwcap via passed in argument.
20088 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20091 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20093 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20095 2011-06-06 Roland McGrath <roland@hack.frob.com>
20098 * manual/fdl-1.1.texi: New file, verbatim from:
20099 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20100 * manual/lgpl-2.1.texi: New file, verbatim from:
20101 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20102 * manual/Makefile (licenses): New variable, list those new file names.
20104 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20106 * manual/fdl.texi: File removed.
20107 * manual/lesser.texi: File removed.
20108 * manual/libc.texinfo (Copying, Documentation License):
20109 Use new @include file names, put @appendix directive before @include.
20111 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20114 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20115 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20116 (mq_open): Add __NTH.
20118 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20121 Assume Intel Core i3/i5/i7 processor if AVX is available.
20123 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20128 2011-05-31 Andreas Schwab <schwab@redhat.com>
20130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20131 memory. Use alloca_account. Fix memory leak when retrying.
20133 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20135 * version.h (RELEASE): Bump for 2.14 release.
20136 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20138 * config.make.in (RANLIB): Remove entry.
20140 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20142 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20143 (libc.pot): Work around missing support for .ksh extension in xgettext.
20146 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20147 if both request failed.
20148 (send_dg): In case of server errors clear resplen or *resplen2.
20151 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20152 when there are multiple maps.
20153 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20154 (_dl_fini): Remove test here.
20156 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20158 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20161 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20162 bit from old_res_options.
20163 (gaih_inet): Likewise.
20166 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20169 * resolv/res_init.c (res_setoptions): Make the code more compact.
20172 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20176 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20178 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20181 * malloc/malloc.h: Declare malloc hook variables as volatile.
20183 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20187 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20188 raise in the comment.
20189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20191 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20193 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20196 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20197 grow the buffers more if it already has to be sufficient.
20198 (build_wcs_upper_buffer): Likewise.
20199 * posix/regexec.c (check_matching): Likewise.
20200 (clean_state_log_if_needed): Likewise.
20201 (extend_buffers): Don't enlarge buffers beyond size of the input
20203 Patches mostly by Emil Wojak <emil@wojak.eu>.
20204 * posix/bug-regex32.c: New file.
20205 * posix/Makefile (tests): Add bug-regex32.
20207 * locale/findlocale.c (_nl_find_locale): Return right away if
20208 _nl_explode_name failed.
20209 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20211 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20213 * debug/xtrace.sh: Unify messages.
20214 * malloc/memusage.sh: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20218 time symbol from vDSO. Substitute with vsyscall if not available.
20219 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20223 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20224 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20225 Add sendmmsg and internal_sendmmsg.
20226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20227 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20228 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20230 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20231 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20232 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20234 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20237 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20238 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20244 * iconvdata/Makefile (tests): Add bug-iconv9.
20245 * iconvdata/bug-iconv9.c: New file.
20247 2011-05-27 Andreas Schwab <schwab@redhat.com>
20250 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20252 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20255 (struct user_regs_struct): Change intcs field back to cs.
20257 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20259 * po/ja.po: Update from translation team.
20261 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20264 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20265 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20267 2011-05-20 Andreas Schwab <schwab@redhat.com>
20269 * stdlib/longlong.h: Update from GCC.
20271 2011-05-23 Andreas Schwab <schwab@redhat.com>
20273 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20275 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20276 Add parameter name.
20277 (__sysconf): Pass it down.
20279 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20282 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20284 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20285 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20286 add in in __libc_use_alloca calls. Adjust callers.
20287 (glob): Use malloc in some situations.
20289 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20290 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20293 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20295 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20296 and CLOCK_BOOTTIME_ALARM.
20299 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20302 * string/_strerror.c (__strerror_r): Print negative errors as signed
20306 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20307 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20308 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20310 * configure.in: Fix typo in redirection and correct removal of test
20311 files in two cases.
20314 * locale/setlocale.c (new_composite_name): Fix test to check for
20315 identical name of all categories.
20318 * libio/filedoalloc.c (local_isatty): New function.
20319 (_IO_file_doallocate): Use local_isatty.
20320 * stdio-common/perror.c (perror): In case a new stream is used
20321 forward the stream error.
20322 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20325 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20330 * include/alloca.h (extend_alloca_account): Define.
20333 * posix/regex.h: Fix comments with documentation of user-accessible
20334 fields after compilation and describe correct free'ing of pattern
20335 after re_compile_pattern.
20336 Patch by Reuben Thomas <rrt@sc3d.org>.
20338 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20340 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20341 and -mno-altivec to prevent the compiler from using Altivec and/or
20342 VSX instructions when the corresponding registers are not available.
20344 2011-05-19 Andreas Schwab <schwab@redhat.com>
20346 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20348 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20350 * libio/freopen.c (freopen): Use __dup2, not dup2.
20351 * libio/freopen64.c (freopen64): Likewise.
20353 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20356 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20357 * math/Makefile (tests): Add test-powl.
20358 (CFLAGS-test-powl.c): Define.
20359 * math/test-powl.c: New file.
20361 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20363 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20365 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20368 * iconvdata/gb18030.c: Update to GB18020-2005.
20370 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20372 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20373 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20374 Patch by Aharon Robbins <arnold@skeeve.com>.
20377 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20381 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20382 through underflows.
20385 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20386 point to strings before performing equality test for error_one_per_line
20390 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20394 (struct user_fpregs_struct): Avoid __uint*_t types.
20397 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20398 symbol info. Use it instead of calling _dl_addr locally.
20399 (lock_and_info): New function.
20400 (tr_freehook): Call lock_and_info and pass symbol info as additional
20401 parameter to tr_where.
20402 (tr_mallochook): Likewise.
20403 (tr_reallochook): Likewise.
20404 (tr_memalignhook): Likewise.
20406 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20407 used and couldn't be at all thread-safe.
20409 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20411 * libio/freopen.c (freopen): Don't close old file descriptor
20412 before the new one is opened. Instead dup the new file descriptor
20413 to the old one after the new stream is created.
20414 * libio/freopen64.c (freopen64): Likewise.
20415 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20416 * libio/fileops.c (_IO_new_file_close_it): Handle new
20417 _IO_FLAGS2_NOCLOSE flag.
20418 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20419 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20420 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20421 _IO_FLAGS2_NOCLOSE flag.
20422 * include/unistd.h: Add hidden_proto for dup3.
20423 Define __have_dup3.
20424 * io/dup3.c: Define hidden symbol.
20425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20428 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20429 when an incomplete long option is used.
20430 * posix/tst-getopt_long1.c: New file.
20431 * posix/Makefile (tests): Add tst-getopt_long1.
20434 * scripts/config.guess: Update from autoconf-2.68.
20435 * scripts/config.sub: Likewise.
20438 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20440 (has_cpuclock): ...this. New function.
20441 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20442 macro here based on has_cpuclock code.
20445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20446 First byte (not low byte) is now always NUL.
20447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20450 Use non-cancelable interfaces.
20453 * locale/iso-639.def: Add entry for Sorani.
20456 * include/stdlib.h: Move include protection to the right place.
20457 Define abort_msg_s. Declare __abort_msg with it.
20458 * stdlib/abort.c (__abort_msg): Adjust type.
20459 * assert/assert.c (__assert_fail_base): New function. Majority
20460 of code from __assert_fail. Allocate memory for __abort_msg with
20462 (__assert_fail): Now call __assert_fail_base.
20463 * assert/assert-perr.c: Remove bulk of implementation. Use
20464 __assert_fail_base.
20465 * include/assert.hL Declare __assert_fail_base.
20466 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20468 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20470 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20474 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20475 until all modules are registered in the DTV.
20476 * elf/Makefile: Add rules to build and run tst-tls19.
20477 * elf/tst-tls19.c: New file.
20478 * elf/tst-tls19mod1.c: New file.
20479 * elf/tst-tls19mod2.c: New file.
20480 * elf/tst-tls19mod3.c: New file.
20481 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20484 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20488 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20489 two-byte sequence errors.
20490 * iconvdata/Makefile (tests): Add bug-iconv8.
20491 * iconvdata/bug-iconv8.c: New file.
20494 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20497 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20500 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20501 (dummy_getcfa): New function.
20502 (init): Get _Unwind_GetCFA address, use dummy if not found.
20503 (backtrace_helper): In recursion check, also check whether CFA changes.
20504 (__backtrace): Completely initialize arg.
20506 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20507 storing incomplete byte sequence in state object. Avoid testing for
20508 guaranteed too small input if we know there is enough data available.
20510 2011-05-11 Andreas Schwab <schwab@redhat.com>
20512 * Makeconfig (+link-pie): Indent.
20513 * Rules (binaries-pie): Define if $(have-fpie) and
20515 (binaries-shared): Also filter out $(binaries-pie).
20516 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20517 * nscd/Makefile (others-pie): Add nscd.
20518 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20519 ($(objpfx)nscd): Remove command override.
20520 * login/Makefile (others-pie): Add pt_chown.
20521 ($(objpfx)pt_chown): Remove command override.
20522 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20523 remove command overrides.
20525 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20527 * libio/tst_putwc.c: Fix error messages.
20530 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20531 currently writing and seek to current position when not.
20532 * libio/Makefile (tests): Add bug-fclose1.
20533 * libio/bug-fclose1.c: New file.
20535 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20538 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20539 don't set DF_1_NODELETE here.
20540 (do_lookup_x): When entering new entry test for copy relocation
20541 and if necessary set DF_1_NODELETE flag.
20542 * elf/tst-unique4.cc: New file.
20543 * elf/tst-unique4.h: New file.
20544 * elf/tst-unique4lib.cc: New file.
20545 * elf/Makefile: Add rules to build and run tst-unique4.
20546 Patch by Piotr Bury <pbury@goahead.com>.
20548 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20551 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20554 * misc/mntent_r.c (addmntent): Flush the stream after the output
20557 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20558 (is_trusted_path_normalize): Skip initial colon. Append slash
20559 to empty buffer. Duplicate is_trusted_path code but allow
20560 constructed patch to be prefix.
20561 (is_dst): Allow $ORIGIN followed by /.
20562 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20563 Correct testing of result of is_trusted_path_normalize
20564 (decompose_rpath): Fix warning.
20566 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20569 * grp/initgroups.c (internal_getgrouplist): When we found the service
20570 list through the initgroups entry in nsswitch.conf do not always
20571 continue on a successful lookup. Don't always use the
20572 __nss_group_database value if it is set.
20573 * nss/nsswitch.conf (initgroups): Change action for successful db
20574 lookup to continue for compatibility.
20576 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20579 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20581 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20583 * iconvdata/tst-tables.sh: Likewise.
20584 * iconvdata/cp770.c: New file.
20585 * iconvdata/cp771.c: New file.
20586 * iconvdata/cp772.c: New file.
20587 * iconvdata/cp773.c: New file.
20588 * iconvdata/cp774.c: New file.
20589 * iconvdata/testdata/CP770: New file.
20590 * iconvdata/testdata/CP770..UTF8: New file.
20591 * iconvdata/testdata/CP771: New file.
20592 * iconvdata/testdata/CP771..UTF8: New file.
20593 * iconvdata/testdata/CP772: New file.
20594 * iconvdata/testdata/CP772..UTF8: New file.
20595 * iconvdata/testdata/CP773: New file.
20596 * iconvdata/testdata/CP773..UTF8: New file.
20597 * iconvdata/testdata/CP774: New file.
20598 * iconvdata/testdata/CP774..UTF8: New file.
20600 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20602 * iconvdata/gen-8bit-gap.sh: Likewise.
20603 * iconvdata/gen-8bit.sh: Likewise.
20605 * locale/iso-639.def: Add ary entry.
20608 * locale/C-translit.h.in: Add U20A1 transliteration.
20611 * locale/iso-639.def: Add wae entry.
20612 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20615 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20619 * locale/C-translit.h.in: Add entry for U20B9.
20620 Patch by pravin.d.s@gmail.com.
20622 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20625 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20626 ENAMETOOLONG use generic getcwd.
20627 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20628 in rtld. Use *stat64.
20629 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20630 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20631 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20632 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20633 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20634 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20635 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20636 __fstatat64 macros.
20637 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20638 * dirent/rewinddir.c: Add libc_hidden_def.
20639 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20640 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20642 * include/dirent.h (__alloc_dir): Add flags parameter.
20643 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20644 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20646 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20647 from fdopendir if O_CLOEXEC is already set.
20649 2011-03-15 Alan Modra <amodra@gmail.com>
20651 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20652 l_tls_firstbyte_offset non-zero. Save padding offset in
20653 l_tls_firstbyte_offset for later use.
20654 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20655 freeing static tls block.
20657 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20659 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20660 where #ifdef was intended. The intent is to prevent ARG_MAX from
20661 being defined by the kernel headers.
20663 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20666 * resolv/resolv.h: Define RES_NOTLDQUERY.
20667 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20668 no-tld-query and set RES_NOTLDQUERY.
20669 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20670 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20671 modern BIND to search name as TLD unless forbidden.
20673 2011-05-07 Petr Baudis <pasky@suse.cz>
20674 Ulrich Drepper <drepper@gmail.com>
20677 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20678 (is_trusted_path): ...to here.
20679 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20680 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20681 using is_trusted_path_normalize() in setuid scripts.
20683 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20685 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20686 __BEGIN/__END_DECLS.
20688 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20691 NSS_STATUS_NOTFOUND if no record was found.
20693 2011-05-05 Andreas Schwab <schwab@redhat.com>
20695 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20696 (headers-not-in-tirpc): Remove rpc/netdb.h
20697 * resolv/netdb.h: Revert last change.
20699 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20701 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20702 circular dependency between libgcc.a and libc.a.
20704 2011-05-05 Andreas Schwab <schwab@redhat.com>
20706 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20707 * nis/Makefile: Don't install rpcsvc/*.
20708 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20709 instead of <rpc/types.h>.
20710 (MAXHOSTNAMELEN): Define.
20712 2011-05-03 Andreas Schwab <schwab@redhat.com>
20714 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20716 2011-04-28 Maciej Babinski <mbabinski@google.com>
20719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20720 gethostbyname4_r when IPv6 results are possible.
20722 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20725 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20726 _PC_PIPE_BUF handling.
20728 2011-04-30 Bruno Haible <bruno@clisp.org>
20731 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20732 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20734 * inet/getnameinfo.c (getnameinfo): Likewise.
20736 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20738 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20739 to groups setting in database lookup.
20740 * nss/nsswitch.conf: Add initgroups entry.
20742 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20745 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20747 Patch by Eric Blake <eblake@redhat.com>.
20749 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20751 * sunrpc/Makefile (need-export-routines): Add svc_run.
20752 (routines): Remove svc_run.
20753 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20754 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20755 * sunrpc/svc_run.c (svc_run): Likewise.
20756 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20758 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20761 problem in reallocation in last patch.
20763 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20765 * sunrpc/Makefile: Move inclusion of Rules.
20767 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20769 * nss/nss_files/files-initgroups.c: New file.
20770 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20771 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20772 _nss_files_initgroups_dyn.
20774 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20776 * elf/elf.h (R_ARM_IRELATIVE): Define.
20778 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20780 * po/ru.po: Update from translation team.
20782 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20784 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20787 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20790 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20791 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20796 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20798 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20800 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20802 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20804 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20807 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20809 * stdlib/bug-getcontext.c: New file.
20810 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20812 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20814 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20815 instructions into .machine "z9-109".
20816 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20817 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20819 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20821 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20822 between environment variables and auxiliary vector.
20824 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20826 * Makefile: Add rules to build linkobj/libc.so.
20827 * include/libc-symbols.h: Define libc_hidden_nolink.
20828 * include/rpc/auth.h: Mark functions which are to be hidden.
20829 * include/rpc/auth_des.h: Likewise.
20830 * include/rpc/auth_unix.h: Likewise.
20831 * include/rpc/clnt.h: Likewise.
20832 * include/rpc/des_crypt.h: Likewise.
20833 * include/rpc/key_prot.h: Likewise.
20834 * include/rpc/pmap_clnt.h: Likewise.
20835 * include/rpc/pmap_prot.h: Likewise.
20836 * include/rpc/pmap_rmt.h: Likewise.
20837 * include/rpc/rpc_msg.h: Likewise.
20838 * include/rpc/svc.h: Likewise.
20839 * include/rpc/svc_auth.h: Likewise.
20840 * include/rpc/xdr.h: Likewise.
20841 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20842 * nss/Makefile: Likewise.
20843 * sunrpc/Makefile: Don't install headers. Build library with normal
20844 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20845 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20846 for the compat linking library. Remove use of INTDEF/INTUSE.
20847 * sunrpc/auth_none.c: Likewise.
20848 * sunrpc/auth_unix.c: Likewise.
20849 * sunrpc/authdes_prot.c: Likewise.
20850 * sunrpc/authuxprot.c: Likewise.
20851 * sunrpc/clnt_gen.c: Likewise.
20852 * sunrpc/clnt_perr.c: Likewise.
20853 * sunrpc/clnt_raw.c: Likewise.
20854 * sunrpc/clnt_simp.c: Likewise.
20855 * sunrpc/clnt_tcp.c: Likewise.
20856 * sunrpc/clnt_udp.c: Likewise.
20857 * sunrpc/clnt_unix.c: Likewise.
20858 * sunrpc/des_crypt.c: Likewise.
20859 * sunrpc/des_soft.c: Likewise.
20860 * sunrpc/get_myaddr.c: Likewise.
20861 * sunrpc/key_call.c: Likewise.
20862 * sunrpc/key_prot.c: Likewise.
20863 * sunrpc/netname.c: Likewise.
20864 * sunrpc/pm_getmaps.c: Likewise.
20865 * sunrpc/pm_getport.c: Likewise.
20866 * sunrpc/pmap_clnt.c: Likewise.
20867 * sunrpc/pmap_prot.c: Likewise.
20868 * sunrpc/pmap_prot2.c: Likewise.
20869 * sunrpc/pmap_rmt.c: Likewise.
20870 * sunrpc/publickey.c: Likewise.
20871 * sunrpc/rpc_cmsg.c: Likewise.
20872 * sunrpc/rpc_common.c: Likewise.
20873 * sunrpc/rpc_dtable.c: Likewise.
20874 * sunrpc/rpc_prot.c: Likewise.
20875 * sunrpc/rpc_thread.c: Likewise.
20876 * sunrpc/rtime.c: Likewise.
20877 * sunrpc/svc.c: Likewise.
20878 * sunrpc/svc_auth.c: Likewise.
20879 * sunrpc/svc_authux.c: Likewise.
20880 * sunrpc/svc_raw.c: Likewise.
20881 * sunrpc/svc_run.c: Likewise.
20882 * sunrpc/svc_simple.c: Likewise.
20883 * sunrpc/svc_tcp.c: Likewise.
20884 * sunrpc/svc_udp.c: Likewise.
20885 * sunrpc/svc_unix.c: Likewise.
20886 * sunrpc/svcauth_des.c: Likewise.
20887 * sunrpc/xcrypt.c: Likewise.
20888 * sunrpc/xdr.c: Likewise.
20889 * sunrpc/xdr_array.c: Likewise.
20890 * sunrpc/xdr_float.c: Likewise.
20891 * sunrpc/xdr_intXX_t.c: Likewise.
20892 * sunrpc/xdr_mem.c: Likewise.
20893 * sunrpc/xdr_rec.c: Likewise.
20894 * sunrpc/xdr_ref.c: Likewise.
20895 * sunrpc/xdr_sizeof.c: Likewise.
20896 * sunrpc/xdr_stdio.c: Likewise.
20898 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20901 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20902 * sysdeps/ia64/dl-tls.h: Likewise.
20903 * sysdeps/powerpc/dl-tls.h: Likewise.
20904 * sysdeps/s390/dl-tls.h: Likewise.
20905 * sysdeps/sh/dl-tls.h: Likewise.
20906 * sysdeps/sparc/dl-tls.h: Likewise.
20907 * sysdeps/x86_64/dl-tls.h: Likewise.
20908 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20910 2011-03-14 Andreas Schwab <schwab@redhat.com>
20912 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20913 rpath element also skip the following colon.
20914 (expand_dynamic_string_token): Add is_path parameter and pass
20915 down to DL_DST_REQUIRED and _dl_dst_substitute.
20916 (decompose_rpath): Call expand_dynamic_string_token with
20917 non-zero is_path. Ignore empty rpaths.
20918 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20921 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20926 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20929 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20930 Patch by Filipe David Manana <fdmanana@apache.org>.
20932 2011-04-07 Andreas Schwab <schwab@redhat.com>
20934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20935 Maintain aligned stack.
20936 (CHECK_RSP): Remove unused macro.
20938 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20940 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20941 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20943 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20945 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20947 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20949 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20952 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20953 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20954 * sysdeps/x86_64/memmove.c: New file.
20955 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20956 (memcpy): Renamed to ...
20957 (__new_memcpy): This.
20958 (memcpy): Provide GLIBC_2_14 memcpy.
20959 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20960 (memcpy): Provide GLIBC_2_2_5 memcpy.
20962 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20965 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20967 2011-03-30 Andreas Schwab <schwab@redhat.com>
20969 * misc/syncfs.c: New file.
20970 * misc/Makefile (routines): Add syncfs.
20971 * posix/unistd.h: Declare syncfs.
20972 * sysdeps/unix/syscalls.list: Add syncfs.
20974 2011-04-01 Andreas Schwab <schwab@redhat.com>
20976 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20983 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20986 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20989 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20990 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20994 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20996 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20997 sync_file_range.c with -fexceptions.
20998 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20999 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21000 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21001 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21002 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21003 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21005 sync_file_range as cancellation point
21006 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21007 now a wrapper around __call_sync_file_range with cancellation handling.
21008 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21009 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21010 function name to __call_sync_file_range.
21011 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21012 Add call_sync_file_range.
21014 2011-04-01 Andreas Schwab <schwab@redhat.com>
21016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21019 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21021 * iconv/iconv.h: Fix typo in comment.
21022 * io/fcntl.h: Likewise.
21023 * libio/stdio.h: Likewise.
21024 * posix/spawn.h: Likewise.
21025 * posix/unistd.h: Likewise.
21026 * stdlib/stdlib.h: Likewise.
21027 * time/time.h: Likewise.
21028 * wcsmbs/wchar.h: Likewise.
21030 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21031 open_by_handle): Add.
21032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21033 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21034 Augment a few comments.
21035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21040 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21043 * io/fcntl.h (AT_EMPTY_PATH): Define.
21045 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21047 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21048 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21049 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21051 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21052 * Versions.def: Add GLIBC_2.14.
21053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21056 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21062 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21065 * string/test-strncmp.c (do_page_test): New function.
21066 (check2): Likewise.
21067 (test_main): Call check2.
21068 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21070 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21074 Handle cache information in CPU leaf 4.
21075 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21077 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21080 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21081 character representation.
21082 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21084 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21086 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21087 END(__isnan) to END(__isnanf) to match function entry point/label
21088 EALIGN(__isnanf,...).
21090 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21092 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21094 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21097 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21098 copy from the symbol referenced in the relocation to initialize the
21100 Patch by Piotr Bury <pbury@goahead.com>.
21101 * elf/Makefile: Add rules to build and tst-unique3.
21102 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21103 * elf/tst-unique3.cc: New file.
21104 * elf/tst-unique3.h: New file.
21105 * elf/tst-unique3lib.cc: New file.
21106 * elf/tst-unique3lib2.cc: New file.
21108 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21110 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21112 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21113 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21116 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21118 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21119 to-be-loaded object along a path to loader is ld.so.
21121 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21122 Ulrich Drepper <drepper@gmail.com>
21124 * sysdeps/x86_64/memset.S: After aligning destination, code
21125 branches to different locations depending on the value of
21126 misalignment, when multiarch is enabled. Fix this.
21128 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21130 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21131 Set _x86_64_preferred_memory_instruction for AMD processsors.
21132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21133 Set bit_Prefer_SSE_for_memop for AMD processors.
21135 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21137 * libio/fmemopen.c (fmemopen): Optimize a bit.
21139 2011-03-03 Andreas Schwab <schwab@redhat.com>
21141 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21143 2011-03-03 Roland McGrath <roland@redhat.com>
21145 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21147 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21149 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21150 __bzero_ultra1 instead of __memset_ultra1.
21152 2011-02-23 Andreas Schwab <schwab@redhat.com>
21153 Ulrich Drepper <drepper@gmail.com>
21156 * include/link.h (struct link_map): Add l_orig_initfini.
21157 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21158 returning unsuccessfully.
21159 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21160 close of a file loaded at startup, restore the original l_initfini
21162 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21163 list, store the pointer.
21164 * elf/Makefile ($(objpfx)noload-mem): New rule.
21165 (noload-ENV): Define.
21166 (tests): Add $(objpfx)noload-mem.
21167 * elf/noload.c: Include <memcheck.h>.
21168 (main): Call mtrace. Close all opened handles.
21170 2011-02-17 Andreas Schwab <schwab@redhat.com>
21173 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21174 dependencies are missing.
21176 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21178 Fix __if_freereq crash: Unlike the generic version which uses free,
21180 * sysdeps/mach/hurd/ifreq.h: New file.
21182 2011-01-27 Petr Baudis <pasky@suse.cz>
21183 Ulrich Drepper <drepper@gmail.com>
21186 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21187 to extend_alloca().
21188 * stdio-common/bug23.c: New file.
21189 * stdio-common/Makefile (tests): Add bug23.
21191 2010-09-28 Andreas Schwab <schwab@redhat.com>
21192 Ulrich Drepper <drepper@gmail.com>
21195 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21196 before performing relro protection. At old place add assertion
21197 to make sure nothing changed.
21199 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21200 Glauber de Oliveira Costa <glommer@gmail.com>
21202 * elf/elf.h: Add new ARM TLS relocs.
21204 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21207 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21209 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21211 * sysdeps/wordsize-64/tst-writev.c: New file.
21213 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21215 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21216 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21217 insns in _dl_start to prevent a TOC reference before relocs are
21220 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21223 * Makeconfig: Remove RANLIB definition.
21224 * Makerules: Don't use RANLIB.
21225 * aclocal.m4: Remove ranlib test.
21226 * configure.in: No need to check for ranlib.
21227 * elf/rtld-Rules: Don't use RANLIB.
21229 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21231 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21233 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21234 inclusion protection macro.
21236 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21237 SIGRTMIN and SIGRTMAX and print information in that case only when
21238 SIGRTMIN is defined.
21240 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21242 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21243 arginfo fn returning -1.
21245 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21246 and thousands string is zero terminated.
21248 2011-02-03 Andreas Schwab <schwab@redhat.com>
21250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21251 sysdeps/unix/sysv/linux/bits/socket.h.
21253 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21255 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21256 (__CPU_COUNT): Remove old macros.
21257 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21258 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21259 (__CPU_ALLOC, __CPU_FREE): Add macros.
21260 (__sched_cpualloc, __sched_cpufree): Add declarations.
21262 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21264 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21265 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21266 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21267 (readdhstai): Return value of addhstaiX call.
21268 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21269 (addgrbyX): Return value returned by cache_addgr.
21270 (readdgrbyname): Return value returned by addgrbyX.
21271 (readdgrbygid): Likewise.
21272 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21273 (addpwbyX): Return value returned by cache_addpw.
21274 (readdpwbyname): Return value returned by addhstbyX.
21275 (readdpwbyuid): Likewise.
21276 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21277 (addservbyX): Return value returned by cache_addserv.
21278 (readdservbyname): Return value returned by addservbyX:
21279 (readdservbyport): Likewise.
21280 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21281 (addhstbyX): Return value returned by cache_addhst.
21282 (readdhstbyname): Return value returned by addhstbyX.
21283 (readdhstbyaddr): Likewise.
21284 (readdhstbynamev6): Likewise.
21285 (readdhstbyaddrv6): Likewise.
21286 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21287 (readdinitgroups): Return value returned by addinitgroupsX.
21288 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21289 (prune_cache): Keep track of timeout value of re-added entries.
21290 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21291 * nscd/nscd.h: Adjust prototypes of readd* functions.
21293 2011-02-04 Roland McGrath <roland@redhat.com>
21295 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21296 (nis_stats): Likewise.
21297 * nis/nis_modify.c (nis_modify): Likewise.
21298 * nis/nis_remove.c (nis_remove): Likewise.
21299 * nis/nis_add.c (nis_add): Likewise.
21301 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21303 * posix/fnmatch_loop.c: Add some consts.
21305 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21307 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21310 * config.make.in (config-cflags-novzeroupper): Define.
21311 * configure.in: Substitute libc_cv_cc_novzeroupper.
21312 * elf/Makefile (AVX-CFLAGS): Define.
21313 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21314 (CFLAGS-tst-auditmod4a.c): Likewise.
21315 (CFLAGS-tst-auditmod4b.c): Likewise.
21316 (CFLAGS-tst-auditmod6b.c): Likewise.
21317 (CFLAGS-tst-auditmod6c.c): Likewise.
21318 (CFLAGS-tst-auditmod7b.c): Likewise.
21319 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21321 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21323 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21324 function to the callback.
21325 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21327 2011-02-02 Andreas Schwab <schwab@redhat.com>
21329 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21332 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21335 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21337 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21339 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21342 * elf/Makefile: Add rules to build and run new test.
21343 * elf/tst-initorder.c: New file.
21344 * elf/tst-initorder.exp: New file.
21345 * elf/tst-initordera1.c: New file.
21346 * elf/tst-initordera2.c: New file.
21347 * elf/tst-initordera3.c: New file.
21348 * elf/tst-initordera4.c: New file.
21349 * elf/tst-initorderb1.c: New file.
21350 * elf/tst-initorderb2.c: New file.
21351 * elf/tst-order-a1.c: New file.
21352 * elf/tst-order-a2.c: New file.
21353 * elf/tst-order-a3.c: New file.
21354 * elf/tst-order-a4.c: New file.
21355 * elf/tst-order-b1.c: New file.
21356 * elf/tst-order-b2.c: New file.
21357 * elf/tst-order-main.c: New file.
21358 New test case by George Gensure <werkt0@gmail.com>.
21360 2010-10-01 Andreas Schwab <schwab@redhat.com>
21362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21363 decoding ACE if AI_CANONIDN.
21365 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21367 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21369 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21371 * version.h (RELEASE): Bump for 2.13 release.
21372 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21374 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21378 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21380 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21381 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21383 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21385 * posix/getconf.c: Update copyright year.
21386 * catgets/gencat.c: Likewise.
21387 * csu/version.c: Likewise.
21388 * debug/catchsegv.sh: Likewise.
21389 * debug/xtrace.sh: Likewise.
21390 * elf/ldconfig.c: Likewise.
21391 * elf/ldd.bash.in: Likewise.
21392 * elf/sprof.c (print_version): Likewise.
21393 * iconv/iconv_prog.c: Likewise.
21394 * iconv/iconvconfig.c: Likewise.
21395 * locale/programs/locale.c: Likewise.
21396 * locale/programs/localedef.c: Likewise.
21397 * malloc/memusage.sh: Likewise.
21398 * malloc/mtrace.pl: Likewise.
21399 * nscd/nscd.c (print_version): Likewise.
21400 * nss/getent.c: Likewise.
21402 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21403 PF_CAIF, and PF_ALG.
21404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21406 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21408 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21409 (modules-names): Use them.
21410 (ifunc-test-modules, ifunc-pie-tests): Define.
21411 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21412 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21413 (test-extras): Likewise.
21414 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21415 $(compile-command.c).
21416 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21417 (all-built-dso): Define.
21418 (check-textrel.out, check-execstack.out): Depend on it.
21420 * configure.in: Don't override --enable-multi-arch.
21422 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21425 * nscd/hstcache.c (tryagain): Define.
21426 (cache_addhst): Return tryagain not notfound for temporary errors.
21427 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21430 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21433 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21434 to make the syscall.
21435 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21438 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21439 and fall back to matching as normal character if the string ends before
21440 the matching ']' is found. This is what POSIX requires.
21441 * posix/testfnm.c: Adjust test result.
21442 * posix/globtest.sh: Adjust test result. Add new test.
21443 * posix/tst-fnmatch.input: Likewise.
21444 * posix/tst-fnmatch2.c: Add new test.
21446 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21448 * elf/Makefile (check-execstack): Revert last change. Depend on
21450 (check-execstack.h): New target.
21451 (generated): Add check-execstack.h.
21452 * elf/check-execstack.c: Include "check-execstack.h".
21453 (main): Revert last change.
21454 (handle_file): Return zero if GNU_STACK is absent and
21455 DEFAULT_STACK_PERMS doesn't include PF_X.
21457 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21459 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21460 in child fails because the descriptor is already closed.
21461 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21462 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21463 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21466 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21470 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21471 temporary buffer used to handle multi lookups locally.
21472 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21474 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21476 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21479 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21481 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21482 alignment for SSE2.
21484 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21487 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21488 characters. When rounding increased number of integer digits recompute
21490 * stdio-common/tst-grouping.c: New file.
21491 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21493 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21495 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21496 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21498 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21500 * bits/select.h: Likewise.
21502 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21504 * po/ja.po: Update from translation team.
21506 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21509 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21510 implementation just like for lxstat, fxstatat, et al.
21512 2010-12-27 Jim Meyering <meyering@redhat.com>
21515 * posix/regexec.c (build_trtable): Return failure indication upon
21516 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21518 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21521 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21522 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21523 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21524 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21527 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21530 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21531 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21533 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21535 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21536 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21537 script has SORT_BY_INIT_PRIORITY.
21538 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21539 NO_CTORS_DTORS_SECTIONS is defined.
21540 * elf/soinit.c: Likewise.
21541 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21542 NO_CTORS_DTORS_SECTIONS is defined.
21543 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21544 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21545 * sysdeps/sh/init-first.c: Likewise.
21546 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21548 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21550 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21551 always use the slow path.
21553 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21555 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21556 similar rule which adds the sysdep directories to the header search in
21557 order to pick up the correct platform stackinfo.h.
21558 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21559 perform test if it is, otherwise return successfully without testing.
21560 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21561 DEFAULT_STACK_PERMS define in stackinfo.h.
21562 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21563 defined in stackinfo.h.
21564 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21565 DEFAULT_STACK_PERMS defined in stackinfo.h.
21566 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21567 * sysdeps/ia64/stackinfo.h: Likewise.
21568 * sysdeps/s390/stackinfo.h: Likewise.
21569 * sysdeps/sh/stackinfo.h: Likewise.
21570 * sysdeps/sparc/stackinfo.h: Likewise.
21571 * sysdeps/x86_64/stackinfo.h: Likewise.
21572 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21573 PF_X for powerpc64. Retain PF_X for powerpc32.
21575 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21577 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21579 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21580 GETDENTS_64BIT_ALIGNED.
21582 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21584 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21586 2010-12-10 Andreas Schwab <schwab@redhat.com>
21588 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21591 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21592 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21594 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21595 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21597 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21600 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21603 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21605 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21607 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21609 * po/it.po: Update from translation team.
21611 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21616 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21618 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21620 2010-11-24 Andreas Schwab <schwab@redhat.com>
21622 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21624 (gaih_getanswer_slice): Likewise.
21626 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21630 2010-05-31 Petr Baudis <pasky@suse.cz>
21633 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21634 silently even in the chroot mode.
21636 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21638 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21639 last patch a bit. Pretty printing
21641 2010-05-31 Petr Baudis <pasky@suse.cz>
21644 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21645 initialization of skip_initgroups_dyn.
21647 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21652 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21654 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21656 2010-11-11 Andreas Schwab <schwab@redhat.com>
21658 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21659 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21660 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21661 ($(objpfx)tst-fnmatch-mem): New rule.
21662 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21663 * posix/tst-fnmatch.c (main): Call mtrace.
21665 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21668 Support Intel processor model 6 and model 0x2c.
21670 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21672 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21675 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21678 * string/test-strncasecmp.c (check_result): New function.
21679 (do_one_test): Use it.
21680 (check1): New function.
21681 (test_main): Use it.
21682 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21683 Support strcasecmp and strncasecmp.
21685 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21688 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21691 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21693 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21697 * sysdeps/x86_64/multiarch/bzero.S: New file.
21698 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21699 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21700 * sysdeps/x86_64/multiarch/memset.S: New file.
21701 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21703 Set bit_Prefer_SSE_for_memop for Intel processors.
21704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21706 (index_Prefer_SSE_for_memop): Define.
21707 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21709 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21711 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21712 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21714 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21717 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21718 (__x86_64_raw_data_cache_size_half): Likewise.
21719 (__x86_64_raw_shared_cache_size): Likewise.
21720 (__x86_64_raw_shared_cache_size_half): Likewise.
21722 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21723 (__x86_64_raw_data_cache_size_half): Likewise.
21724 (__x86_64_raw_shared_cache_size): Likewise.
21725 (__x86_64_raw_shared_cache_size_half): Likewise.
21726 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21727 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21728 and __x86_64_raw_shared_cache_size_half. Round
21729 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21730 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21731 to multiple of 256 bytes.
21733 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21737 of inacessible symlinks. Verify result of symlink before returning it.
21738 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21739 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21741 2010-10-28 Erich Ritz <erichritz@gmail.com>
21743 * math/math.h (isinf): Fix typo in comment.
21745 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21747 * po/da.po: Update from translation team.
21749 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21751 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21752 is added to the list.
21754 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21755 Ulrich Drepper <drepper@gmail.com>
21757 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21758 the global list here. Move code to...
21759 (_dl_add_to_namespace_list): ...here. New function.
21760 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21761 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21762 * elf/dl-load.c (lose): Don't remove the element from the list.
21763 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21764 (_dl_map_object): Likewise.
21766 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21769 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21770 into all bytes of SSE register.
21771 Patch by Richard Li <richardpku@gmail.com>.
21773 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21776 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21779 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21781 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21782 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21783 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21789 2010-10-22 Andreas Schwab <schwab@redhat.com>
21791 * include/dlfcn.h (__RTLD_SECURE): Define.
21792 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21793 mode & __RTLD_SECURE instead.
21794 (open_path): Rename preloaded parameter to secure.
21795 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21796 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21797 * elf/dl-deps.c (openaux): Likewise.
21798 * elf/rtld.c (struct map_args): Remove is_preloaded.
21799 (map_doit): Don't use it.
21800 (dl_main): Likewise.
21801 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21802 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21804 2010-09-09 Andreas Schwab <schwab@redhat.com>
21806 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21807 (sysd-rules-targets): Remove duplicates.
21808 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21809 rtld-%.$o dependency.
21811 2010-10-18 Andreas Schwab <schwab@redhat.com>
21813 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21814 _dl_map_object do it.
21816 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21818 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21819 fast fma builtins, define the macros in the C99 standard.
21820 (FP_FAST_FMAF): Likewise.
21821 (FP_FAST_FMAL): Likewise.
21822 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21824 * bits/mathdef.h: Update copyright year.
21825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21827 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21829 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21830 builtins, define the macros in the C99 standard.
21831 (FP_FAST_FMAF): Likewise.
21832 (FP_FAST_FMAL): Likewise.
21833 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21835 (FP_FAST_FMAF): Likewise.
21837 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21840 * math/libm-test.inc (fma_test): Some new testcases.
21841 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21842 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21843 y and infinite z. Do multiplication by C already in long double.
21844 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21846 y and infinite z. Do bitwise or of inexact bit into u.d.
21847 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21848 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21849 * sysdeps/i386/fpu/s_fma.S: Removed.
21850 * sysdeps/i386/fpu/s_fmal.S: Removed.
21852 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21855 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21857 computation is not scheduled after fetestexcept. Fix value
21858 of minimum denormal long double.
21860 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21863 * math/libm-test.inc (fma_test): Add some more tests.
21864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21867 2010-10-15 Andreas Schwab <schwab@redhat.com>
21869 * scripts/data/localplt-s390-linux-gnu.data: New file.
21870 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21872 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21875 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21876 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21878 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21880 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21882 if one of x and y is very large and the other is subnormal.
21883 * sysdeps/s390/fpu/s_fmaf.c: New file.
21884 * sysdeps/s390/fpu/s_fma.c: New file.
21885 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21886 * sysdeps/powerpc/fpu/s_fma.S: New file.
21887 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21888 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21889 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21891 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21894 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21897 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21898 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21899 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21900 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21901 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21904 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21907 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21908 * posix/bug-regex31.input: Add test case.
21910 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21912 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21913 * posix/bug-regex31.input: New file.
21916 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21917 (parse_sub_exp): Fix last change, use postorder.
21919 * posix/bug-regex31.c: New file.
21920 * posix/Makefile: Add rules to build and run bug-regex31.
21922 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21925 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21928 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21929 to have entries in sys_siglist.
21932 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21935 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21938 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21939 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21940 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21941 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21942 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21943 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21944 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21945 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21946 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21947 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21948 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21949 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21950 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21951 * math/ftestexcept.c (fetestexcept): Likewise.
21952 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21953 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21954 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21955 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21956 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21957 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21960 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21963 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21966 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21968 * string/bug-strstr1.c: New file.
21969 * string/Makefile: Add rules to build and run bug-strstr1.
21971 2010-10-05 Eric Blake <eblake@redhat.com>
21974 * string/str-two-way.h (two_way_long_needle): Always clear memory
21975 when skipping input due to the shift table.
21977 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21980 * malloc/mcheck.c: Handle large requests.
21983 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21984 for strncmp and strncasecmp.
21985 * string/stratcliff.c: Add tests for strcmp and strncmp.
21986 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21988 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21990 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21993 2010-09-30 Andreas Jaeger <aj@suse.de>
21995 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21996 (CGROUP_SUPER_MAGIC): Define.
21997 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21998 Handle btrfs and cgroup file systems.
21999 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22002 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22004 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22005 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22007 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22010 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22011 trying to locate the ELF header.
22013 2010-09-27 Andreas Schwab <schwab@redhat.com>
22016 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22017 Mask out sign-bit copies when constructing f_fsid.
22019 2010-09-24 Petr Baudis <pasky@suse.cz>
22021 * debug/stack_chk_fail_local.c: Add missing licence exception.
22022 * debug/warning-nop.c: Likewise.
22024 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22026 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22027 implementing getdents64 using getdents syscall, set d_type if
22028 __ASSUME_GETDENTS32_D_TYPE.
22030 2010-09-16 Andreas Schwab <schwab@redhat.com>
22032 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22033 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22035 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22038 * posix/unistd.h: Undo change of feature selection for ftruncate from
22041 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22043 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22046 2010-09-20 Andreas Schwab <schwab@redhat.com>
22048 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22050 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22052 2010-09-14 Andreas Schwab <schwab@redhat.com>
22054 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22055 variables after CHECK_SP call.
22056 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22058 2010-09-13 Andreas Schwab <schwab@redhat.com>
22059 Ulrich Drepper <drepper@redhat.com>
22061 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22062 re-relocationg ld.so.
22063 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22064 _dl_init_paths call.
22065 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22068 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22070 * resolv/res_init.c (__res_vinit): Count the default server we added.
22072 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22073 Ulrich Drepper <drepper@redhat.com>
22076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22077 (____longjmp_chk): Use %ebx for saving value across system call.
22080 2010-09-06 Andreas Schwab <schwab@redhat.com>
22082 * manual/Makefile: Don't mix pattern rules with normal rules.
22084 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22086 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22088 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22089 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22090 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22091 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22095 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22098 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22099 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22101 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22103 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22104 * sysdeps/x86_64/addmul_1.S: Likewise.
22105 * sysdeps/x86_64/lshift.S: Likewise.
22106 * sysdeps/x86_64/mul_1.S: Likewise.
22107 * sysdeps/x86_64/rshift.S: Likewise.
22108 * sysdeps/x86_64/sub_n.S: Likewise.
22109 * sysdeps/x86_64/submul_1.S: Likewise.
22111 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22113 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22114 Define __sched_param instead of SCHED_* and sched_param when
22115 <bits/sched.h> is included with __need_schedparam defined.
22116 * bits/sched.h [__need_schedparam]
22117 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22118 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22119 (__defined_schedparam): Define to 1.
22120 (__sched_param): New structure, identical to sched_param.
22121 (__need_schedparam): Undefine.
22123 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22126 (epoll_create1): Declare.
22128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22130 2010-08-31 Andreas Schwab <schwab@redhat.com>
22133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22134 shifting retval into place.
22136 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22138 * nis/rpcsvc/nis.h: Update copyright notice.
22139 * nis/rpcsvc/nis.x: Likewise.
22140 * nis/rpcsvc/nis_callback.h: Likewise.
22141 * nis/rpcsvc/nis_callback.x: Likewise.
22142 * nis/rpcsvc/nis_object.x: Likewise.
22143 * nis/rpcsvc/nis_tags.h: Likewise.
22144 * nis/rpcsvc/yp.h: Likewise.
22145 * nis/rpcsvc/yp.x: Likewise.
22146 * nis/rpcsvc/ypupd.h: Likewise.
22147 * nis/yp_xdr.c: Likewise.
22148 * nis/ypupdate_xdr.c: Likewise.
22150 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22151 mainly the body of pmap_getport. Add parameters to specify timeouts.
22152 (pmap_getport): Use __libc_rpc_getport.
22153 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22154 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22155 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22157 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22162 2010-08-27 Roland McGrath <roland@redhat.com>
22164 * sysdeps/i386/i686/multiarch/Makefile
22165 (CFLAGS-varshift.c): New variable.
22167 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22169 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22170 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22174 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22176 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22178 * sysdeps/x86_64/strlen.S: Unroll the loop.
22179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22180 strlen-sse2 strlen-sse2-bsf.
22181 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22182 __strlen_no_bsf if bit_Slow_BSF is set.
22183 (__strlen_sse42): Removed.
22184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22185 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22187 2010-08-25 Roland McGrath <roland@redhat.com>
22189 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22190 * sysdeps/x86_64/multiarch/varshift.c: New file.
22191 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22192 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22193 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22194 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22196 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22199 strlen-sse2 strlen-sse2-bsf.
22200 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22201 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22202 (__strlen_sse2): Removed.
22203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22206 bit_Slow_BSF for Atom.
22207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22208 (index_Slow_BSF): Define.
22209 (HAS_SLOW_BSF): Define.
22211 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22214 * resolv/res_init.c (__res_vinit): When no server address at all
22215 is given default to loopback.
22217 2010-08-24 Roland McGrath <roland@redhat.com>
22219 * configure.in: Remove config-name.h generation.
22220 * configure: Regenerated.
22221 * config-name.in: File removed.
22222 * scripts/config-uname.sh: New file.
22223 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22224 ($(objdir)config-name.h): New target.
22226 * sunrpc/rpc_parse.h: Avoid nested comment.
22228 2010-08-24 Richard Henderson <rth@redhat.com>
22229 Ulrich Drepper <drepper@redhat.com>
22230 H.J. Lu <hongjiu.lu@intel.com>
22232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22234 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22235 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22236 _mm_alignr_epi8 with _mm_loadu_si128.
22237 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22238 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22239 (__m128i_shift_right): Removed.
22240 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22241 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22242 * sysdeps/x86_64/multiarch/varshift.h: New file.
22243 * sysdeps/x86_64/multiarch/varshift.S: New file.
22245 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22247 * configure.in: Move assembler checks to before sysdep dir checking.
22249 2010-08-20 Petr Baudis <pasky@suse.cz>
22251 * LICENSES: Sync the sunrpc license.
22253 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22255 * sunrpc/auth_des.c: Update copyright notice once again.
22256 * sunrpc/auth_none.c: Likewise.
22257 * sunrpc/auth_unix.c: Likewise.
22258 * sunrpc/authdes_prot.c: Likewise.
22259 * sunrpc/authuxprot.c: Likewise.
22260 * sunrpc/bindrsvprt.c: Likewise.
22261 * sunrpc/clnt_gen.c: Likewise.
22262 * sunrpc/clnt_perr.c: Likewise.
22263 * sunrpc/clnt_raw.c: Likewise.
22264 * sunrpc/clnt_simp.c: Likewise.
22265 * sunrpc/clnt_tcp.c: Likewise.
22266 * sunrpc/clnt_udp.c: Likewise.
22267 * sunrpc/clnt_unix.c: Likewise.
22268 * sunrpc/des_crypt.c: Likewise.
22269 * sunrpc/des_soft.c: Likewise.
22270 * sunrpc/get_myaddr.c: Likewise.
22271 * sunrpc/getrpcport.c: Likewise.
22272 * sunrpc/key_call.c: Likewise.
22273 * sunrpc/key_prot.c: Likewise.
22274 * sunrpc/openchild.c: Likewise.
22275 * sunrpc/pm_getmaps.c: Likewise.
22276 * sunrpc/pm_getport.c: Likewise.
22277 * sunrpc/pmap_clnt.c: Likewise.
22278 * sunrpc/pmap_prot.c: Likewise.
22279 * sunrpc/pmap_prot2.c: Likewise.
22280 * sunrpc/pmap_rmt.c: Likewise.
22281 * sunrpc/rpc/auth.h: Likewise.
22282 * sunrpc/rpc/auth_unix.h: Likewise.
22283 * sunrpc/rpc/clnt.h: Likewise.
22284 * sunrpc/rpc/des_crypt.h: Likewise.
22285 * sunrpc/rpc/key_prot.h: Likewise.
22286 * sunrpc/rpc/netdb.h: Likewise.
22287 * sunrpc/rpc/pmap_clnt.h: Likewise.
22288 * sunrpc/rpc/pmap_prot.h: Likewise.
22289 * sunrpc/rpc/pmap_rmt.h: Likewise.
22290 * sunrpc/rpc/rpc.h: Likewise.
22291 * sunrpc/rpc/rpc_des.h: Likewise.
22292 * sunrpc/rpc/rpc_msg.h: Likewise.
22293 * sunrpc/rpc/svc.h: Likewise.
22294 * sunrpc/rpc/svc_auth.h: Likewise.
22295 * sunrpc/rpc/types.h: Likewise.
22296 * sunrpc/rpc/xdr.h: Likewise.
22297 * sunrpc/rpc_clntout.c: Likewise.
22298 * sunrpc/rpc_cmsg.c: Likewise.
22299 * sunrpc/rpc_common.c: Likewise.
22300 * sunrpc/rpc_cout.c: Likewise.
22301 * sunrpc/rpc_dtable.c: Likewise.
22302 * sunrpc/rpc_hout.c: Likewise.
22303 * sunrpc/rpc_main.c: Likewise.
22304 * sunrpc/rpc_parse.c: Likewise.
22305 * sunrpc/rpc_parse.h: Likewise.
22306 * sunrpc/rpc_prot.c: Likewise.
22307 * sunrpc/rpc_sample.c: Likewise.
22308 * sunrpc/rpc_scan.c: Likewise.
22309 * sunrpc/rpc_scan.h: Likewise.
22310 * sunrpc/rpc_svcout.c: Likewise.
22311 * sunrpc/rpc_tblout.c: Likewise.
22312 * sunrpc/rpc_util.c: Likewise.
22313 * sunrpc/rpc_util.h: Likewise.
22314 * sunrpc/rpcinfo.c: Likewise.
22315 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22316 * sunrpc/rpcsvc/key_prot.x: Likewise.
22317 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22318 * sunrpc/rpcsvc/mount.x: Likewise.
22319 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22320 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22321 * sunrpc/rpcsvc/rex.x: Likewise.
22322 * sunrpc/rpcsvc/rstat.x: Likewise.
22323 * sunrpc/rpcsvc/rusers.x: Likewise.
22324 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22325 * sunrpc/rpcsvc/spray.x: Likewise.
22326 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22327 * sunrpc/rtime.c: Likewise.
22328 * sunrpc/svc.c: Likewise.
22329 * sunrpc/svc_auth.c: Likewise.
22330 * sunrpc/svc_authux.c: Likewise.
22331 * sunrpc/svc_raw.c: Likewise.
22332 * sunrpc/svc_run.c: Likewise.
22333 * sunrpc/svc_simple.c: Likewise.
22334 * sunrpc/svc_tcp.c: Likewise.
22335 * sunrpc/svc_udp.c: Likewise.
22336 * sunrpc/svc_unix.c: Likewise.
22337 * sunrpc/svcauth_des.c: Likewise.
22338 * sunrpc/xcrypt.c: Likewise.
22339 * sunrpc/xdr.c: Likewise.
22340 * sunrpc/xdr_array.c: Likewise.
22341 * sunrpc/xdr_float.c: Likewise.
22342 * sunrpc/xdr_mem.c: Likewise.
22343 * sunrpc/xdr_rec.c: Likewise.
22344 * sunrpc/xdr_ref.c: Likewise.
22345 * sunrpc/xdr_sizeof.c: Likewise.
22346 * sunrpc/xdr_stdio.c: Likewise.
22348 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22351 2010-08-19 Andreas Schwab <schwab@redhat.com>
22353 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22355 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22357 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22358 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22359 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22360 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22362 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22363 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22364 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22365 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22366 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22367 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22368 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22369 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22370 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22372 2010-07-26 Anton Blanchard <anton@samba.org>
22374 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22375 * malloc/arena.c (heap_trim): Likewise.
22377 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22379 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22382 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22384 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22386 * sysdeps/i386/elf/Makefile: New file.
22388 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22390 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22391 from fanotify_init.
22392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22395 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22397 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22399 * sysdeps/multiarch/strcmp.S: Likewise.
22401 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22403 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22404 strncase_l-nonascii.
22405 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22406 Add strncase_l-ssse3.
22407 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22408 * sysdeps/x86_64/strcmp.S: Likewise.
22409 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22410 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22411 * sysdeps/x86_64/strncase.S: New file.
22412 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22413 * sysdeps/x86_64/strncase_l.S: New file.
22414 * string/Makefile (strop-tests): Add strncasecmp.
22415 * string/test-strncasecmp.c: New file.
22417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22420 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22421 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22423 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22425 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22427 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22429 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22430 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22431 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22433 2010-05-01 Alan Modra <amodra@gmail.com>
22435 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22436 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22437 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22438 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22439 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22440 tidying. Don't tail-call __sigjmp_save for static lib.
22441 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22443 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22444 (CALL_MCOUNT): Add eh info, and nop after bl.
22445 (TAIL_CALL_SYSCALL_ERROR): New macro.
22446 (PSEUDO_RET): Use it.
22447 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22448 Correct save location of integer regs and cr.
22449 (_dl_profile_resolve): Correct cr save location. Delete nops
22450 after bl when SHARED. Reduce cfi size a little by better
22451 placement of cfi directives.
22452 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22453 make a stack frame. Instead use parm save area as a temp.
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22455 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22457 Don't make a stack frame for parent, use parm save area.
22458 Increase child stack frame to 112 bytes. Don't save unused reg,
22459 and adjust reg usage. Set up cfi on error recovery and
22460 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22462 (__makecontext): Add dummy nop after jump to exit.
22463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22464 Use correct parm save area and cr save, reduce stack frame.
22465 Correct cfi for possible PSEUDO_RET frame setup.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22467 Branch to local label emitted by PSEUDO_RET rather than
22470 2010-08-12 Andreas Schwab <schwab@redhat.com>
22473 * locale/programs/locale.c (print_assignment): New function.
22474 (show_locale_vars): Use it.
22476 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22478 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22480 (struct statfs64): Likewise.
22481 (_STATFS_F_FLAGS): Define.
22482 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22484 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22485 (ST_VALID): Define locally.
22486 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22487 __statvfs_getflags, use the provided value.
22488 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22489 __ASSUME_STATFS_F_FLAGS.
22491 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22493 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22494 Add sys/fanotify.h.
22495 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22496 fanotify_mask for GLIBC_2.13.
22497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22498 fanotify_init and fanotify_mark.
22499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22500 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22502 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22504 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22505 prlimit64 for GLIBC_2.13.
22506 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22508 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22512 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22513 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22516 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22519 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22520 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22522 * nss/Makefile: Add rules to build and run tst-nss-test1.
22523 * shlib-versions: Add entry for libnss_test1.
22524 * nss/nss_test1.c: New file.
22525 * nss/tst-nss-test1.c: New file.
22527 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22528 (__nss_configure_lookup): Set appropriate entry in
22529 __nss_configure_lookup to true.
22530 * nss/nsswitch.h: Define enum with indeces of databases in
22531 databases and __nss_database_custom arrays. Declare
22532 __nss_database_custom.
22533 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22534 to avoid using nscd when custom rules are installed.
22535 * nss/getXXbyYY_r.c: Likewise.
22536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22538 * nss/nss_files/files-parse.c: Whitespace fixes.
22540 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22543 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22544 * posix/fnmatch_loop.c: Likewise.
22546 2010-07-17 Andi Kleen <ak@linux.intel.com>
22548 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22549 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22550 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22551 * Versions.def [GLIBC_2.13]: Add.
22553 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22556 Also fail if tpwd after pwuid call is NULL.
22558 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22560 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22561 when converting to ms.
22563 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22565 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22566 EOPNOTSUPP errors with ENOTTY.
22567 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22568 EOPNOTSUPP errors with ENOTTY.
22570 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22572 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22573 Add strcasecmp_l-ssse3.
22574 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22576 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22577 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22578 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22580 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22582 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22584 * string/Makefile (strop-tests): Add strcasecmp.
22585 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22586 strcasecmp_l-nonascii.
22587 (gen-as-const-headers): Add locale-defines.sym.
22588 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22589 * sysdeps/x86_64/strcasecmp.S: New file.
22590 * sysdeps/x86_64/strcasecmp_l.S: New file.
22591 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22592 * sysdeps/x86_64/locale-defines.sym: New file.
22593 * string/test-strcasecmp.c: New file.
22595 * string/test-strcasestr.c: Test both ends of the range of characters.
22596 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22598 2010-07-29 Roland McGrath <roland@redhat.com>
22601 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22603 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22605 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22608 2010-07-27 Andreas Schwab <schwab@redhat.com>
22610 * manual/memory.texi (Malloc Tunable Parameters): Document
22613 2010-07-26 Roland McGrath <roland@redhat.com>
22616 * configure.in (-fgnu89-inline check): Set and substitute
22617 gnu89_inline, not libc_cv_gnu89_inline.
22618 * configure: Regenerated.
22619 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22621 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22623 * string/test-strnlen.c: New file.
22624 * string/Makefile (strop-tests): Add strnlen.
22625 * string/tester.c (test_strnlen): Add a few more test cases.
22626 * string/tst-strlen.c: Better error reporting.
22628 * sysdeps/x86_64/strnlen.S: New file.
22630 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22632 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22633 lower-latency instructions.
22635 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22637 * string/test-strcasestr.c: New file.
22638 * string/test-strstr.c: New file.
22639 * string/Makefile (strop-tests): Add strstr and strcasestr.
22640 * string/str-two-way.h: Don't undefine MAX.
22641 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22643 2010-07-21 Andreas Schwab <schwab@redhat.com>
22645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22646 strcasestr-nonascii.
22647 (CFLAGS-strcasestr-nonascii.c): Define.
22648 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22650 Remove unused attribute.
22652 2010-07-20 Roland McGrath <roland@redhat.com>
22654 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22655 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22656 ld.so.cache was broken. With it, there is no way to disable dsocaps
22657 like LD_HWCAP_MASK can disable hwcaps.
22659 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22661 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22663 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22665 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22666 call in strcasestr.
22667 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22668 __strcasestr_sse42_nonascii.
22669 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22670 strcasestr-nonascii.c.
22671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22673 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22675 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22677 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22680 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22685 2010-07-06 Andreas Schwab <schwab@redhat.com>
22688 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22691 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22693 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22694 _PC_PIPE_BUF using F_GETPIPE_SZ.
22696 2010-07-05 Roland McGrath <roland@redhat.com>
22698 * manual/arith.texi (Rounding Functions): Fix rint description
22699 implicit in round description.
22701 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22703 * elf/Makefile: Fix linking for a few tests to make recent linker
22706 2010-06-30 Andreas Schwab <schwab@redhat.com>
22708 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22709 $(common-objpfx)libc_nonshared.a.
22711 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22713 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22714 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22715 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22716 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22717 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22718 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22719 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22720 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22735 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22736 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22737 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22738 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22739 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22740 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22741 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22742 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22743 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22744 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22745 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22746 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22762 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22764 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22765 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22766 * string/memmove.c (memmove): Renamed to ...
22767 (MEMMOVE): ...this. Default to memmove.
22768 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22769 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22772 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22773 mempcpy-ssse3-back memmove-ssse3-back.
22774 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22776 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22777 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22778 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22779 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22780 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22781 * sysdeps/x86_64/multiarch/memmove.c: New file.
22782 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22783 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22784 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22785 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22786 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22789 (index_Fast_Copy_Backward): Define.
22790 (HAS_ARCH_FEATURE): Define.
22791 (HAS_FAST_REP_STRING): Define.
22792 (HAS_FAST_COPY_BACKWARD): Define.
22794 2010-06-21 Andreas Schwab <schwab@redhat.com>
22796 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22797 Restore proper fallback handling.
22799 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22802 * posix/group_member.c (__group_member): Correct checking loop.
22804 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22805 OOM in getpwuid_r correctly. Return error number when the caller
22806 should return, otherwise -1.
22807 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22808 call returning > 0 value.
22809 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22811 2010-06-07 Andreas Schwab <schwab@redhat.com>
22813 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22814 libc_nonshared.a from targets in modules-names.
22816 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22818 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22821 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22824 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22828 2010-06-02 Andreas Schwab <schwab@redhat.com>
22830 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22832 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22834 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22843 2010-06-14 Roland McGrath <roland@redhat.com>
22845 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22847 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22849 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22850 __REDIRECT followed by __THROW.
22851 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22852 * posix/getopt.h (getopt): Likewise.
22854 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22856 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22857 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22858 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22860 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22861 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22863 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22867 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22871 Properly check family and model.
22873 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22875 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22877 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22879 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22881 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22883 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22886 2010-05-19 Andreas Schwab <schwab@redhat.com>
22888 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22891 2010-05-21 Andreas Schwab <schwab@redhat.com>
22893 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22894 and internal_recvmmsg.
22895 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22896 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22897 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22898 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22900 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22901 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22902 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22904 2010-05-20 Andreas Schwab <schwab@redhat.com>
22906 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22908 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22910 POWER7 optimizations.
22911 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22912 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22914 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22916 * version.h: Update for 2.13 development version.
22918 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22920 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22921 exceptions. Return 0.
22923 2010-05-07 Roland McGrath <roland@redhat.com>
22925 * elf/ldconfig.c (main): Add a const.
22927 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22929 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22930 (args_options): Add no-idn option.
22931 (ahosts_keys_int): Add idn_flags to ai_flags.
22932 (parse_option): Handle 'i' option to clear idn_flags.
22934 * malloc/malloc.c (_int_free): Possible race in the most recently
22935 added check. Only act on the data if no current modification
22938 See ChangeLog.17 for earlier changes.