1 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5 x * y if x and y are nonzero and z is zero.
8 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9 nonzero exponents with absolute value below 0x1p-117 to +/-
13 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14 up arguments below 2**-450, not just those below 2**-500.
15 * math/libm-test.inc (hypot_test): Add another test.
18 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19 Return a+b for ratio over 2**120, not 2**60.
20 * math/libm-test.inc (hypot_test): Add another test.
22 * math/libm-test.inc (clog_test): Use
23 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24 (clog10_test): Likewise.
27 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29 2012-11-22 Andreas Schwab <schwab@suse.de>
31 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36 printf output with newline.
38 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
41 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
43 -z nodlopen, -z initfirst and -z execstack support.
44 * configure: Regenerated.
46 * elf/elf.h (DF_1_NODIRECT): New macro.
47 (DF_1_IGNMULDEF): Likewise.
48 (DF_1_NOKSYMS): Likewise.
49 (DF_1_NOHDR): Likewise.
50 (DF_1_EDITED): Likewise.
51 (DF_1_NORELOC): Likewise.
52 (DF_1_SYMINTPOSE): Likewise.
53 (DF_1_GLOBAUDIT): Likewise.
54 (DF_1_SINGLETON): Likewise.
55 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56 DT_1_SUPPORTED_MASK bits.
57 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
61 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
65 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
69 (sendmmsg): Move declarations...
70 * socket/sys/socket.h: ... here.
71 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
74 * socket/recvmmsg.c: ... this new file.
75 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
76 (sendmmsg): Rename to __sendmmsg, create weak alias and make
77 definition of __sendmmsg hidden.
78 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
79 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
80 Move ENOSYS stub into and include it from...
81 * socket/sendmmsg.c: ... this new file.
82 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
83 (sysdep_routines): Move recvmmsg and sendmmsg...
84 * socket/Makefile (routines): ... here.
85 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
86 (GLIBC_PRIVATE): Add __sendmmsg.
87 * include/sys/socket.h (__sendmmsg): Add declarations.
88 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
91 2012-11-20 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
94 variable I1 with __attribute__ ((unused)).
95 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
97 2012-11-19 Joseph Myers <joseph@codesourcery.com>
99 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
100 DUMMY variables with __attribute__ ((unused)).
102 * bits/byteswap.h: Include <bits/types.h>.
103 (__bswap_64): Use __uint64_t instead of unsigned long long int.
105 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
107 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
108 string_t. Do not manually set errno.
109 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
110 length with __strnlen. Make sure to both set errno and return it on
113 2012-11-19 David S. Miller <davem@davemloft.net>
115 With help from Joseph Myers.
116 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
117 very large arguments properly.
118 * math/libm-test.inc (atan_test): New tests.
119 (atan2_test): New tests.
120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
123 2012-11-19 Joseph Myers <joseph@codesourcery.com>
126 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
129 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
130 [POSIX] (EADDRNOTAVAIL): Likewise.
131 [POSIX] (EAFNOSUPPORT): Likewise.
132 [POSIX] (EALREADY): Likewise.
133 [POSIX] (ECONNABORTED): Likewise.
134 [POSIX] (ECONNREFUSED): Likewise.
135 [POSIX] (ECONNRESET): Likewise.
136 [POSIX] (EDESTADDRREQ): Likewise.
137 [POSIX] (EDQUOT): Likewise.
138 [POSIX] (EHOSTUNREACH): Likewise.
139 [POSIX] (EIDRM): Likewise.
140 [POSIX] (EISCONN): Likewise.
141 [POSIX] (ELOOP): Likewise.
142 [POSIX] (EMULTIHOP): Likewise.
143 [POSIX] (ENETDOWN): Likewise.
144 [POSIX] (ENETUNREACH): Likewise.
145 [POSIX] (ENOBUFS): Likewise.
146 [POSIX] (ENODATA): Likewise.
147 [POSIX] (ENOLINK): Likewise.
148 [POSIX] (ENOMSG): Likewise.
149 [POSIX] (ENOPROTOOPT): Likewise.
150 [POSIX] (ENOSR): Likewise.
151 [POSIX] (ENOSTR): Likewise.
152 [POSIX] (ENOTCONN): Likewise.
153 [POSIX] (ENOTSOCK): Likewise.
154 [POSIX] (EOPNOTSUPP): Likewise.
155 [POSIX] (EOVERFLOW): Likewise.
156 [POSIX] (EPROTO): Likewise.
157 [POSIX] (EPROTONOSUPPORT): Likewise.
158 [POSIX] (EPROTOTYPE): Likewise.
159 [POSIX] (ESTALE): Likewise.
160 [POSIX] (ETIME): Likewise.
161 [POSIX] (ETXTBSY): Likewise.
162 [POSIX] (EWOULDBLOCK): Likewise.
163 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
164 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
165 [POSIX] (SEEK_CUR): Likewise.
166 [POSIX] (SEEK_END): Likewise.
167 [POSIX || UNIX98] (mode_t): Do not require.
168 [POSIX] (off_t): Likewise.
169 [POSIX] (pid_t): Likewise.
170 [POSIX] (sys/stat.h): Do not allow header.
171 [POSIX] (unistd.h): Likewise.
172 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
173 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
174 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
175 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
177 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
178 sigevent): Specify elements.
179 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
181 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
182 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
184 * conform/data/cpio.h-data [POSIX]: Disable whole file.
185 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
186 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
187 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
188 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
189 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
190 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
191 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
192 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
193 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
194 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
195 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
196 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
197 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
199 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
201 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
206 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
209 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
210 Specify lower bound on value.
211 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
212 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
213 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
214 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
215 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
217 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
218 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
220 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
222 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
223 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
224 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
225 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
226 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
227 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
228 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
230 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
232 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
233 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
234 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
235 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
236 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
237 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
239 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
241 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
243 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
244 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
245 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
246 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
248 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
250 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
251 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
252 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
253 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
254 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
256 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
259 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
260 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
261 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
263 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
264 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
265 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
266 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
267 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
268 [XPG3] (NL_LANGMAX): Likewise.
269 [POSIX || XPG3] (NL_MSGMAX): Likewise.
270 [POSIX || XPG3] (NL_NMAX): Likewise.
271 [POSIX || XPG3] (NL_SETMAX): Likewise.
272 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
273 [XPG3] (NZERO): Likewise.
274 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
275 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
276 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
277 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
278 (REG_ERANGE): Expect.
279 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
281 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
282 Use (void) in prototype.
283 [POSIX] (*_t): Allow.
284 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
285 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
286 (WRDE_BADVAL): Expect.
288 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
290 [XPG3 || XPG4] (O_RSYNC): Likewise.
291 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
293 [XPG3 || XPG4] (pthread_sigmask): Likewise.
294 [XPG3 || XPG4] (sigqueue): Likewise.
295 [XPG3 || XPG4] (sigtimedwait): Likewise.
296 [XPG3 || XPG4] (sigwaitinfo): Likewise.
297 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
298 [XPG3 || XPG4] (vsnprintf): Likewise.
299 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
301 [XPG3 || XPG4] (blksize_t): Likewise.
302 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
304 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
305 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
306 [XPG3 || XPG4] (struct itimerspec): Likewise.
307 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
308 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
309 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
310 [XPG3 || XPG4] (clockid_t): Likewise.
311 [XPG3 || XPG4] (timer_t): Likewise.
312 [XPG3 || XPG4] (clock_getres): Likewise.
313 [XPG3 || XPG4] (clock_gettime): Likewise.
314 [XPG3 || XPG4] (clock_settime): Likewise.
315 [XPG3 || XPG4] (nanosleep): Likewise.
316 [XPG3 || XPG4] (timer_create): Likewise.
317 [XPG3 || XPG4] (timer_delete): Likewise.
318 [XPG3 || XPG4] (timer_gettime): Likewise.
319 [XPG3 || XPG4] (timer_getoverrun): Likewise.
320 [XPG3 || XPG4] (timer_settime): Likewise.
321 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
322 [XPG3 || XPG4] (getlogin_r): Likewise.
323 [XPG3 || XPG4] (pread): Likewise.
324 [XPG3 || XPG4] (pthread_atfork): Likewise.
325 [XPG3 || XPG4] (pwrite): Likewise.
328 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
331 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
333 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
334 finalizing MALLSTREAM.
336 * sysdeps/mach/hurd/syncfs.c: New file.
338 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
341 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
342 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
344 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
345 (_nss_dns_gethostbyname4_r): Likewise.
346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
347 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
349 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
352 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
354 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
356 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
357 * elf/cache.c (print_entry): Print ",AArch64" for
360 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
361 * elf/cache.c (print_entry): Print ",hard-float" for
364 2012-11-18 David S. Miller <davem@davemloft.net>
366 With help from Joseph Myers.
367 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
369 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
371 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
372 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
374 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
375 * math/libm-test.inc (y0_test): New tests.
376 (y1_test): New tests.
377 * sysdeps/i386/fpu/libm-test-ulps: Update.
378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
381 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
383 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
385 * configure: Regenerated.
387 2012-11-17 David S. Miller <davem@davemloft.net>
390 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
391 nonzero exponents with absolute value below 0x1p-128 to +/-
394 2012-11-17 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
398 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
400 * posix/getconf-speclist.c: New file.
401 * posix/posix-envs.def: Likewise.
402 * posix/confstr.c (START_ENV_GROUP): New macro.
403 (END_ENV_GROUP): Likewise.
404 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
405 (KNOWN_PRESENT_ENV_STRING): Likewise.
406 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
407 (UNKNOWN_ENVIRONMENT): Likewise.
408 (confstr): Include posix-envs.def instead of handling
409 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
410 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
411 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
412 (END_ENV_GROUP): Likewise.
413 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
414 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
415 (UNKNOWN_ENVIRONMENT): Likewise.
416 (__sysconf): Include posix-envs.def instead of handling associated
418 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
419 preprocessing getconf-speclist.c rather than running getconf or
420 generating empty file.
422 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
424 * scripts/check-local-headers.sh: Ignore 'mach' headers.
426 2012-11-16 Andrej Lajovic <natrij@gmail.com>
429 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
431 2012-11-16 David S. Miller <davem@davemloft.net>
433 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
434 smaller than LDBL_EPSILON/2.0L, just return xm1.
436 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
438 * elf/tst-array1.c (init): Set constructor priority to 1000.
439 (fini): Set destructor priority to 1000.
440 * elf/tst-array2dep.c: Likewise.
442 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
445 * libio/fileops.c (_IO_new_file_write): Correctly return error.
446 (_IO_new_file_xsputn): Also return EOF if none of the input
447 data was written when overflow failed.
448 * libio/iopadn.c (_IO_padn): Likewise.
449 * libio/iowpadn.c (_IO_wpadn): Likewise.
450 * stdio-common/tst-put-error.c: Add copyright notice.
451 (do_test): Add case for printing padded string.
452 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
453 _IO_padn returned error.
454 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
455 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
458 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
460 * libio/libioP.h: Add comment note that the references to C++
461 bits are now obsolete.
463 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
465 * math/libm-test.inc (check_complex): Use asprintf.
467 2012-11-14 Joseph Myers <joseph@codesourcery.com>
469 * debug/pcprofiledump.c (print_version): Update copyright year.
470 * malloc/memusagestat.c (print_version): Likewise.
472 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
475 * elf/Makefile (tests): Add tst-audit8.
476 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
477 ($(objpfx)tst-audit8.out): New target.
478 (tst-audit8-ENV): New variable.
479 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
480 audit if l_reloc_result is NULL.
481 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
482 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
483 * elf/tst-audit8.c: New file.
485 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
487 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
488 * misc/Makefile (CFLAGS-select.c): Define.
489 * posix/Makefile (CFLAGS-pause.c): Define.
491 2012-11-13 David S. Miller <davem@davemloft.net>
493 * crypt/Makefile: Move test targets after toplevel Rules
494 inclusion. Grab any necessary sysdep routines when linking.
495 * crypt/md5.c (md5_process_block): Remove define, we will always
496 name it __md5_process_block.
497 (md5_finish_ctx): Update md5_process_block call.
498 (md5_stream): Likewise.
499 (md5_process_bytes): Likewise.
500 (md5_process_block): Rename to __md5_process_block and move to ...
501 * crypt/md5-block.c: ... here.
502 * crypt/sha256.c (sha256_process_block): Move to ...
503 * crypt/sha256-block.c: ... here.
504 * crypt/sha512.c (sha512_process_block): Move to ...
505 * crypt/sha512-block.c: ... here.
506 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
508 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
509 * sysdeps/sparc/sparc64/multiarch/Makefile
510 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
512 (localedef-aux): Add md5 crypto assembler when in locale subdir.
513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
515 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
516 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
517 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
518 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
519 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
520 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
521 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
523 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
525 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
528 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
530 2012-11-13 Joseph Myers <joseph@codesourcery.com>
532 * timezone/tzselect.ksh: Update from tzcode git revision
533 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
534 * timezone/zdump.c: Likewise.
535 * timezone/zic.c: Likewise.
536 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
537 in TZVERSION setting, not $(PKGVERSION).
538 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
539 REPORT_BUGS_TO settings.
542 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
545 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
547 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
548 detection to immediately after _FP_ROUND().
549 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
552 2012-11-11 David S. Miller <davem@davemloft.net>
554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
556 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
557 __close rather than their public counterparts.
559 2012-11-10 Joseph Myers <joseph@codesourcery.com>
561 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
563 [UNIX98] (sem_timedwait): Do not expect.
564 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
565 [XPG4 || UNIX98] (sockatmark): Do not expect.
566 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
567 (clock_getcpuclockid): Do not expect.
568 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
569 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
571 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
572 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
573 [UNIX98] (vwscanf): Likewise.
574 [UNIX98] (vswscanf): Likewise.
576 2012-11-09 Joseph Myers <joseph@codesourcery.com>
578 * timezone/version.h: Remove file.
579 * timezone/README: Do not refer to version.h.
580 * timezone/Makefile ($(objpfx)zic.o): New dependency on
582 ($(objpfx)zdump.o): Likewise.
583 ($(objpfx)version.h): New target.
585 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
587 * timezone/README: Don't mention modification to tzselect.ksh.
588 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
589 work on unmodified tzselect.ksh. Substitute version numbers in
592 * Makefile (format-me): Remove.
593 (INSTALL): Adjust indentation. Use commands directly instead of
596 * aclocal.m4 (ACX_PKGVERSION): New macro.
597 (ACX_BUGURL): Likewise.
598 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
599 (PKGVERSION): New AC_DEFINE_UNQUOTED.
600 (REPORT_BUGS_TO): Likewise.
601 * configure: Regenerated.
602 * config.h.in (PKGVERSION): New macro.
603 (REPORT_BUGS_TO): Likewise.
604 * config.make.in (PKGVERSION): New variable.
605 (PKGVERSION_TEXI): Likewise.
606 (REPORT_BUGS_TO): Likewise.
607 (REPORT_BUGS_TEXI): Likewise.
608 * Makefile (format-me): Use -I$(common-objpfx)manual.
609 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
610 ($(common-objpfx)manual/%): New target.
611 (manual/%): Remove target.
612 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
613 (print_version): Use PKGVERSION.
614 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
615 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
617 ($(objpfx)xtrace): Likewise.
618 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
619 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
620 (print_version): Use PKGVERSION.
621 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
622 (do_version): Use PKGVERSION.
623 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
625 (common-ldd-rewrite): Likewise.
626 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
627 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
628 (print_version): Use PKGVERSION.
629 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
630 * elf/pldd.c (argp_program_bug_address): Remove variable.
631 (more_help): New function.
632 (argp): Use more_help.
633 (print_version): Use PKGVERSION.
634 * elf/sln.c (main): Use PKGVERSION.
635 (usage): Use REPORT_BUGS_TO.
636 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
637 (top level): Use PKGVERSION.
638 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
639 (print_version): Use PKGVERSION.
640 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
641 (print_version): Use PKGVERSION.
642 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
643 (print_version): Use PKGVERSION.
644 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
645 (print_version): Use PKGVERSION.
646 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
647 (print_version): Use PKGVERSION.
648 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
649 (print_version): Use PKGVERSION.
650 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
652 ($(objpfx)memusage): Likewise.
653 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
654 (do_version): Use PKGVERSION.
655 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
656 (print_version): Use PKGVERSION.
657 * malloc/mtrace.pl ($PACKAGE): Remove variable.
658 ($PKGVERSION): New variable.
659 ($REPORT_BUGS_TO): Likewise.
660 (usage): Use $REPORT_BUGS_TO.
661 (top level): Use $PKGVERSION.
662 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
663 ($(objpfx)pkgvers.texi): New rule.
664 ($(objpfx)stamp-pkgvers): Likewise.
665 * manual/install.texi: Include pkgvers.texi.
666 (--with-pkgversion): Document new configure option.
667 (--with-bugurl): Likewise.
668 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
669 than necessarily for this particular distribution. Use
670 REPORT_BUGS_TO for where to report bugs.
671 * INSTALL: Regenerated.
672 * manual/libc.texinfo: Include pkgvers.texi.
673 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
674 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
675 (print_version): Use PKGVERSION.
676 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
677 (print_version): Use PKGVERSION.
678 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
679 (print_version): Use PKGVERSION.
680 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
681 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
683 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
684 (print_version): Use PKGVERSION.
685 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
686 (print_version): Use PKGVERSION.
687 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
690 * timezone/checktab.awk: Update from tzcode 2012i.
691 * timezone/ialloc.c: Likewise.
692 * timezone/private.h: Likewise.
693 * timezone/scheck.c: Likewise.
694 * timezone/tzfile.h: Likewise.
695 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
696 (TZVERSION): Hardcode tzcode version number.
697 * timezone/zdump.c: Update from tzcode 2012i.
698 * timezone/zic.c: Likewise.
699 * timezone/version.h: New file.
700 * timezone/README: Describe version.h. Update upstream location.
703 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
704 (mktemp): Enable declaration.
705 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
722 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
723 offset in buffer as u_int32_t not u_long. Consistently use memcpy
724 for copies of such integer values.
725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
728 2012-11-09 Andreas Jaeger <aj@suse.de>
730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
731 definitions and declarations that are provided by
732 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
734 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
736 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
737 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
738 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
741 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
743 * elf/elf.h: Update comment before AArch64 relocations.
745 2012-11-07 David S. Miller <davem@davemloft.net>
747 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
749 (__start_context): Declare.
750 (__makecontext_ret): Delete.
751 (__makecontext): Hook up __start_context instead of
753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
754 (sysdep_routines): Add __start_context when in stdlib.
756 2012-11-07 Joseph Myers <joseph@codesourcery.com>
758 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
759 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
760 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
762 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
763 (READELF): New variable. Use it instead of hardcoded "readelf".
765 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
767 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
768 * sysdeps/x86/Makefile: Here.
769 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
770 * sysdeps/x86/tst-xmmymm.sh: This.
772 2012-11-07 Joseph Myers <joseph@codesourcery.com>
774 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
776 [UNIX98] (pthread_barrier_t): Do not expect.
777 [UNIX98] (pthread_barrierattr_t): Likewise.
778 [UNIX98] (pthread_spinlock_t): Likewise.
779 [UNIX98] (pthread_barrier_destroy): Likewise.
780 [UNIX98] (pthread_barrier_init): Likewise.
781 [UNIX98] (pthread_barrier_wait): Likewise.
782 [UNIX98] (pthread_barrierattr_destroy): Likewise.
783 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
784 [UNIX98] (pthread_barrierattr_init): Likewise.
785 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
786 [UNIX98] (pthread_getcpuclockid): Likewise.
787 [UNIX98] (pthread_mutex_timedlock): Likewise.
788 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
789 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
790 [UNIX98] (pthread_sigmask): Likewise.
791 [UNIX98] (pthread_spin_destroy): Likewise.
792 [UNIX98] (pthread_spin_init): Likewise.
793 [UNIX98] (pthread_spin_lock): Likewise.
794 [UNIX98] (pthread_spin_trylock): Likewise.
795 [UNIX98] (pthread_spin_unlock): Likewise.
796 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
798 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
799 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
800 [XPG3 || XPG4] (pthread_cond_t): Likewise.
801 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
802 [XPG3 || XPG4] (pthread_key_t): Likewise.
803 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
804 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
805 [XPG3 || XPG4] (pthread_once_t): Likewise.
806 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
807 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
808 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
809 [XPG3 || XPG4] (pthread_t): Likewise.
811 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
813 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
815 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
816 Change function return type to int.
818 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
819 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
820 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
821 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
822 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
823 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
824 [!POSIX] (posix_madvise): Likewise.
825 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
827 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
828 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
830 (posix_mem_offset): Likewise.
831 (posix_typed_mem_get_info): Likewise.
832 (posix_typed_mem_open): Likewise.
834 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
835 Change condition to [XOPEN2K8].
837 * conform/conformtest.pl: Preprocess allow-header data with -x c
838 instead of from stdin.
839 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
840 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
841 [C99-based standards] (cerfc): Likewise.
842 [C99-based standards] (cexp2): Likewise.
843 [C99-based standards] (cexpm1): Likewise.
844 [C99-based standards] (clog10): Likewise.
845 [C99-based standards] (clog1p): Likewise.
846 [C99-based standards] (clog2): Likewise.
847 [C99-based standards] (clgamma): Likewise.
848 [C99-based standards] (ctgamma): Likewise.
849 [C99-based standards] (cerff): Likewise.
850 [C99-based standards] (cerfcf): Likewise.
851 [C99-based standards] (cexp2f): Likewise.
852 [C99-based standards] (cexpm1f): Likewise.
853 [C99-based standards] (clog10f): Likewise.
854 [C99-based standards] (clog1pf): Likewise.
855 [C99-based standards] (clog2f): Likewise.
856 [C99-based standards] (clgammaf): Likewise.
857 [C99-based standards] (ctgammaf): Likewise.
858 [C99-based standards] (cerfl): Likewise.
859 [C99-based standards] (cerfcl): Likewise.
860 [C99-based standards] (cexp2l): Likewise.
861 [C99-based standards] (cexpm1l): Likewise.
862 [C99-based standards] (clog10l): Likewise.
863 [C99-based standards] (clog1pl): Likewise.
864 [C99-based standards] (clog2l): Likewise.
865 [C99-based standards] (clgammal): Likewise.
866 [C99-based standards] (ctgammal): Likewise.
867 * conform/data/inttypes.h-data [C99-based standards]: Include
868 stdint.h-data. Remove all expectations for stdint.h contents.
869 [C99-based standards] (PRI*): Do not allow.
870 [C99-based standards] (SCN*): Likewise.
871 [C99-based standards] (*_t): Likewise.
872 [C99-based-standards] (PRId8): Expect macro.
873 [C99-based-standards] (PRIi8): Likewise.
874 [C99-based-standards] (PRIo8): Likewise.
875 [C99-based-standards] (PRIu8): Likewise.
876 [C99-based-standards] (PRIx8): Likewise.
877 [C99-based-standards] (PRIX8): Likewise.
878 [C99-based-standards] (SCNd8): Likewise.
879 [C99-based-standards] (SCNi8): Likewise.
880 [C99-based-standards] (SCNo8): Likewise.
881 [C99-based-standards] (SCNu8): Likewise.
882 [C99-based-standards] (SCNx8): Likewise.
883 [C99-based-standards] (PRIdLEAST8): Likewise.
884 [C99-based-standards] (PRIiLEAST8): Likewise.
885 [C99-based-standards] (PRIoLEAST8): Likewise.
886 [C99-based-standards] (PRIuLEAST8): Likewise.
887 [C99-based-standards] (PRIxLEAST8): Likewise.
888 [C99-based-standards] (PRIXLEAST8): Likewise.
889 [C99-based-standards] (SCNdLEAST8): Likewise.
890 [C99-based-standards] (SCNiLEAST8): Likewise.
891 [C99-based-standards] (SCNoLEAST8): Likewise.
892 [C99-based-standards] (SCNuLEAST8): Likewise.
893 [C99-based-standards] (SCNxLEAST8): Likewise.
894 [C99-based-standards] (PRIdFAST8): Likewise.
895 [C99-based-standards] (PRIiFAST8): Likewise.
896 [C99-based-standards] (PRIoFAST8): Likewise.
897 [C99-based-standards] (PRIuFAST8): Likewise.
898 [C99-based-standards] (PRIxFAST8): Likewise.
899 [C99-based-standards] (PRIXFAST8): Likewise.
900 [C99-based-standards] (SCNdFAST8): Likewise.
901 [C99-based-standards] (SCNiFAST8): Likewise.
902 [C99-based-standards] (SCNoFAST8): Likewise.
903 [C99-based-standards] (SCNuFAST8): Likewise.
904 [C99-based-standards] (SCNxFAST8): Likewise.
905 [C99-based-standards] (PRId16): Likewise.
906 [C99-based-standards] (PRIi16): Likewise.
907 [C99-based-standards] (PRIo16): Likewise.
908 [C99-based-standards] (PRIu16): Likewise.
909 [C99-based-standards] (PRIx16): Likewise.
910 [C99-based-standards] (PRIX16): Likewise.
911 [C99-based-standards] (SCNd16): Likewise.
912 [C99-based-standards] (SCNi16): Likewise.
913 [C99-based-standards] (SCNo16): Likewise.
914 [C99-based-standards] (SCNu16): Likewise.
915 [C99-based-standards] (SCNx16): Likewise.
916 [C99-based-standards] (PRIdLEAST16): Likewise.
917 [C99-based-standards] (PRIiLEAST16): Likewise.
918 [C99-based-standards] (PRIoLEAST16): Likewise.
919 [C99-based-standards] (PRIuLEAST16): Likewise.
920 [C99-based-standards] (PRIxLEAST16): Likewise.
921 [C99-based-standards] (PRIXLEAST16): Likewise.
922 [C99-based-standards] (SCNdLEAST16): Likewise.
923 [C99-based-standards] (SCNiLEAST16): Likewise.
924 [C99-based-standards] (SCNoLEAST16): Likewise.
925 [C99-based-standards] (SCNuLEAST16): Likewise.
926 [C99-based-standards] (SCNxLEAST16): Likewise.
927 [C99-based-standards] (PRIdFAST16): Likewise.
928 [C99-based-standards] (PRIiFAST16): Likewise.
929 [C99-based-standards] (PRIoFAST16): Likewise.
930 [C99-based-standards] (PRIuFAST16): Likewise.
931 [C99-based-standards] (PRIxFAST16): Likewise.
932 [C99-based-standards] (PRIXFAST16): Likewise.
933 [C99-based-standards] (SCNdFAST16): Likewise.
934 [C99-based-standards] (SCNiFAST16): Likewise.
935 [C99-based-standards] (SCNoFAST16): Likewise.
936 [C99-based-standards] (SCNuFAST16): Likewise.
937 [C99-based-standards] (SCNxFAST16): Likewise.
938 [C99-based-standards] (PRId32): Likewise.
939 [C99-based-standards] (PRIi32): Likewise.
940 [C99-based-standards] (PRIo32): Likewise.
941 [C99-based-standards] (PRIu32): Likewise.
942 [C99-based-standards] (PRIx32): Likewise.
943 [C99-based-standards] (PRIX32): Likewise.
944 [C99-based-standards] (SCNd32): Likewise.
945 [C99-based-standards] (SCNi32): Likewise.
946 [C99-based-standards] (SCNo32): Likewise.
947 [C99-based-standards] (SCNu32): Likewise.
948 [C99-based-standards] (SCNx32): Likewise.
949 [C99-based-standards] (PRIdLEAST32): Likewise.
950 [C99-based-standards] (PRIiLEAST32): Likewise.
951 [C99-based-standards] (PRIoLEAST32): Likewise.
952 [C99-based-standards] (PRIuLEAST32): Likewise.
953 [C99-based-standards] (PRIxLEAST32): Likewise.
954 [C99-based-standards] (PRIXLEAST32): Likewise.
955 [C99-based-standards] (SCNdLEAST32): Likewise.
956 [C99-based-standards] (SCNiLEAST32): Likewise.
957 [C99-based-standards] (SCNoLEAST32): Likewise.
958 [C99-based-standards] (SCNuLEAST32): Likewise.
959 [C99-based-standards] (SCNxLEAST32): Likewise.
960 [C99-based-standards] (PRIdFAST32): Likewise.
961 [C99-based-standards] (PRIiFAST32): Likewise.
962 [C99-based-standards] (PRIoFAST32): Likewise.
963 [C99-based-standards] (PRIuFAST32): Likewise.
964 [C99-based-standards] (PRIxFAST32): Likewise.
965 [C99-based-standards] (PRIXFAST32): Likewise.
966 [C99-based-standards] (SCNdFAST32): Likewise.
967 [C99-based-standards] (SCNiFAST32): Likewise.
968 [C99-based-standards] (SCNoFAST32): Likewise.
969 [C99-based-standards] (SCNuFAST32): Likewise.
970 [C99-based-standards] (SCNxFAST32): Likewise.
971 [C99-based-standards] (PRId64): Likewise.
972 [C99-based-standards] (PRIi64): Likewise.
973 [C99-based-standards] (PRIo64): Likewise.
974 [C99-based-standards] (PRIu64): Likewise.
975 [C99-based-standards] (PRIx64): Likewise.
976 [C99-based-standards] (PRIX64): Likewise.
977 [C99-based-standards] (SCNd64): Likewise.
978 [C99-based-standards] (SCNi64): Likewise.
979 [C99-based-standards] (SCNo64): Likewise.
980 [C99-based-standards] (SCNu64): Likewise.
981 [C99-based-standards] (SCNx64): Likewise.
982 [C99-based-standards] (PRIdLEAST64): Likewise.
983 [C99-based-standards] (PRIiLEAST64): Likewise.
984 [C99-based-standards] (PRIoLEAST64): Likewise.
985 [C99-based-standards] (PRIuLEAST64): Likewise.
986 [C99-based-standards] (PRIxLEAST64): Likewise.
987 [C99-based-standards] (PRIXLEAST64): Likewise.
988 [C99-based-standards] (SCNdLEAST64): Likewise.
989 [C99-based-standards] (SCNiLEAST64): Likewise.
990 [C99-based-standards] (SCNoLEAST64): Likewise.
991 [C99-based-standards] (SCNuLEAST64): Likewise.
992 [C99-based-standards] (SCNxLEAST64): Likewise.
993 [C99-based-standards] (PRIdFAST64): Likewise.
994 [C99-based-standards] (PRIiFAST64): Likewise.
995 [C99-based-standards] (PRIoFAST64): Likewise.
996 [C99-based-standards] (PRIuFAST64): Likewise.
997 [C99-based-standards] (PRIxFAST64): Likewise.
998 [C99-based-standards] (PRIXFAST64): Likewise.
999 [C99-based-standards] (SCNdFAST64): Likewise.
1000 [C99-based-standards] (SCNiFAST64): Likewise.
1001 [C99-based-standards] (SCNoFAST64): Likewise.
1002 [C99-based-standards] (SCNuFAST64): Likewise.
1003 [C99-based-standards] (SCNxFAST64): Likewise.
1004 [C99-based-standards] (PRIdMAX): Likewise.
1005 [C99-based-standards] (PRIiMAX): Likewise.
1006 [C99-based-standards] (PRIoMAX): Likewise.
1007 [C99-based-standards] (PRIuMAX): Likewise.
1008 [C99-based-standards] (PRIxMAX): Likewise.
1009 [C99-based-standards] (PRIXMAX): Likewise.
1010 [C99-based-standards] (SCNdMAX): Likewise.
1011 [C99-based-standards] (SCNiMAX): Likewise.
1012 [C99-based-standards] (SCNoMAX): Likewise.
1013 [C99-based-standards] (SCNuMAX): Likewise.
1014 [C99-based-standards] (SCNxMAX): Likewise.
1015 [C99-based-standards] (PRIdPTR): Likewise.
1016 [C99-based-standards] (PRIiPTR): Likewise.
1017 [C99-based-standards] (PRIoPTR): Likewise.
1018 [C99-based-standards] (PRIuPTR): Likewise.
1019 [C99-based-standards] (PRIxPTR): Likewise.
1020 [C99-based-standards] (PRIXPTR): Likewise.
1021 [C99-based-standards] (SCNdPTR): Likewise.
1022 [C99-based-standards] (SCNiPTR): Likewise.
1023 [C99-based-standards] (SCNoPTR): Likewise.
1024 [C99-based-standards] (SCNuPTR): Likewise.
1025 [C99-based-standards] (SCNxPTR): Likewise.
1026 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1028 * conform/data/stdint.h-data: Update comments to clarify
1030 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1032 [C99-based standards] (INT8_MAX): Likewise.
1033 [C99-based standards] (INT16_MIN): Likewise.
1034 [C99-based standards] (INT16_MAX): Likewise.
1035 [C99-based standards] (INT32_MIN): Likewise.
1036 [C99-based standards] (INT32_MAX): Likewise.
1037 [C99-based standards] (INT64_MIN): Likewise.
1038 [C99-based standards] (INT64_MAX): Likewise.
1039 [C99-based standards] (UINT8_MAX): Likewise.
1040 [C99-based standards] (UINT16_MAX): Likewise.
1041 [C99-based standards] (UINT32_MAX): Likewise.
1042 [C99-based standards] (UINT64_MAX): Likewise.
1043 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1044 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1045 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1046 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1047 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1048 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1049 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1050 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1051 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1052 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1053 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1054 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1055 [C99-based standards] (INT_FAST8_MIN): Likewise.
1056 [C99-based standards] (INT_FAST8_MAX): Likewise.
1057 [C99-based standards] (INT_FAST16_MIN): Likewise.
1058 [C99-based standards] (INT_FAST16_MAX): Likewise.
1059 [C99-based standards] (INT_FAST32_MIN): Likewise.
1060 [C99-based standards] (INT_FAST32_MAX): Likewise.
1061 [C99-based standards] (INT_FAST64_MIN): Likewise.
1062 [C99-based standards] (INT_FAST64_MAX): Likewise.
1063 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1064 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1065 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1066 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1067 [C99-based standards] (INTPTR_MIN): Likewise.
1068 [C99-based standards] (INTPTR_MAX): Likewise.
1069 [C99-based standards] (UINTPTR_MAX): Likewise.
1070 [C99-based standards] (INTMAX_MIN): Likewise.
1071 [C99-based standards] (INTMAX_MAX): Likewise.
1072 [C99-based standards] (UINTMAX_MAX): Likewise.
1073 [C99-based standards] (PTRDIFF_MIN): Likewise.
1074 [C99-based standards] (PTRDIFF_MAX): Likewise.
1075 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1076 [C99-based standards] (SIZE_MAX): Likewise.
1077 [C99-based standards] (WCHAR_MAX): Likewise.
1078 [C99-based standards] (WINT_MAX): Likewise.
1079 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1080 constraint on value.
1081 [C99-based standards] (WCHAR_MIN): Likewise.
1082 [C99-based standards] (WINT_MIN): Likewise.
1083 [C99-based standards] (*_t): Allow.
1084 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1085 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1086 Include math.h-data and complex.h-data. Remove all expectations
1087 of math.h and complex.h contents.
1088 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1090 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1091 (struct tm): Expect tag.
1092 [C99-based-standards] (wcstof): Expect function.
1093 [C99-based-standards] (wcstold): Likewise.
1094 [C99-based-standards] (wcstoll): Likewise.
1095 [C99-based-standards] (wcstoull): Likewise.
1096 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1097 macro-int-constant. Specify type.
1098 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1099 constraint on value.
1100 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1102 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1104 [ISO C standards]: Do not allow headers.
1105 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1106 wcs[abcdefghijklmnopqrstuvwxyz]*.
1107 [ISO C standards] (*_t): Do not allow.
1108 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1110 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1111 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1113 [ISO C standards]: Do not allow headers.
1114 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1115 is[abcdefghijklmnopqrstuvwxyz]*.
1116 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1117 to[abcdefghijklmnopqrstuvwxyz]*.
1118 [ISO C standards] (*_t): Do not allow.
1119 * conform/data/stdalign.h-data: New file.
1120 * conform/data/stdbool.h-data: Likewise.
1121 * conform/data/stdnoreturn.h-data: Likewise.
1123 2012-11-07 Andreas Jaeger <aj@suse.de>
1126 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1127 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1128 guards are changed. Only define if not yet defined, #undef back
1129 after including linux/sysctl.h if defined here.
1131 2012-11-07 Roland McGrath <roland@hack.frob.com>
1134 * manual/filesys.texi (Directory Entries): Typo fix.
1135 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1137 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1139 * elf/elf.h (EM_AARCH64): New macro.
1140 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1141 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1142 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1143 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1144 (R_AARCH64_TLSDESC): Likewise.
1145 (NT_ARM_TLS): Likewise.
1146 (NT_ARM_HW_BREAK): Likewise.
1147 (NT_ARM_HW_WATCH): Likewise.
1149 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1153 (__ieee754_powl): Saturate nonzero exponents with absolute value
1154 below 0x1p-79 to +/- 0x1p-79.
1155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1156 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1158 nonzero exponents with absolute value below 0x1p-32 to +/-
1160 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1161 (__ieee754_powl): Saturate nonzero exponents with absolute value
1162 below 0x1p-79 to +/- 0x1p-79.
1163 * math/libm-test.inc (pow_test): Add more tests.
1165 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1167 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1168 _dl_s390_cap_flags with kernel. Increase string length.
1169 (_dl_s390_platforms): Add z196 and zEC12.
1171 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1173 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1174 Change XOPEN21K to XOPEN2K.
1176 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1178 * string/memmove.c: Use memcpy when possible.
1180 2012-11-06 Andreas Jaeger <aj@suse.de>
1182 * po/eo.po: Update from translation team.
1184 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1188 exponent and small x and y exponents, scale x or y up. Increase
1189 by 2 the exponent used in scaling up.
1190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1192 * math/libm-test.inc (fma_test): Add more tests.
1193 (fma_test_towardzero): Likewise.
1194 (fma_test_downward): Likewise.
1195 (fma_test_upward): Likewise.
1197 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1200 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1204 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1205 namespace for names of struct fields.
1206 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1208 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1209 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1211 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1214 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1216 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1218 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1222 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1225 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1229 definitely overflow as x * y not x * y + z.
1230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1232 * math/libm-test.inc (fma_test): Add more tests.
1233 (fma_test_towardzero): Likewise.
1234 (fma_test_downward): Likewise.
1235 (fma_test_upward): Likewise.
1237 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1241 * include/stub-tag.h: Remove file.
1242 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1244 * manual/maint.texi (Porting): Don't reference it.
1245 * Makerules ($(objpfx)stubs): Likewise.
1246 * dirent/closedir.c: Don't include <stub-tag.h>.
1247 * dirent/dirfd.c: Likewise.
1248 * dirent/fdopendir.c: Likewise.
1249 * dirent/getdents.c: Likewise.
1250 * dirent/getdents64.c: Likewise.
1251 * dirent/opendir.c: Likewise.
1252 * dirent/readdir.c: Likewise.
1253 * dirent/readdir64.c: Likewise.
1254 * dirent/readdir64_r.c: Likewise.
1255 * dirent/readdir_r.c: Likewise.
1256 * dirent/rewinddir.c: Likewise.
1257 * dirent/seekdir.c: Likewise.
1258 * dirent/telldir.c: Likewise.
1259 * gmon/profil.c: Likewise.
1260 * grp/setgroups.c: Likewise.
1261 * inet/if_index.c: Likewise.
1262 * io/access.c: Likewise.
1263 * io/chdir.c: Likewise.
1264 * io/chmod.c: Likewise.
1265 * io/chown.c: Likewise.
1266 * io/close.c: Likewise.
1267 * io/dup.c: Likewise.
1268 * io/dup2.c: Likewise.
1269 * io/dup3.c: Likewise.
1270 * io/euidaccess.c: Likewise.
1271 * io/faccessat.c: Likewise.
1272 * io/fchdir.c: Likewise.
1273 * io/fchmod.c: Likewise.
1274 * io/fchmodat.c: Likewise.
1275 * io/fchown.c: Likewise.
1276 * io/fchownat.c: Likewise.
1277 * io/fcntl.c: Likewise.
1278 * io/flock.c: Likewise.
1279 * io/fstatfs.c: Likewise.
1280 * io/fstatfs64.c: Likewise.
1281 * io/fstatvfs.c: Likewise.
1282 * io/fstatvfs64.c: Likewise.
1283 * io/futimens.c: Likewise.
1284 * io/fxstat.c: Likewise.
1285 * io/fxstat64.c: Likewise.
1286 * io/fxstatat.c: Likewise.
1287 * io/fxstatat64.c: Likewise.
1288 * io/getcwd.c: Likewise.
1289 * io/isatty.c: Likewise.
1290 * io/lchmod.c: Likewise.
1291 * io/lchown.c: Likewise.
1292 * io/link.c: Likewise.
1293 * io/linkat.c: Likewise.
1294 * io/lseek.c: Likewise.
1295 * io/lseek64.c: Likewise.
1296 * io/lxstat64.c: Likewise.
1297 * io/mkdir.c: Likewise.
1298 * io/mkdirat.c: Likewise.
1299 * io/mkfifo.c: Likewise.
1300 * io/mkfifoat.c: Likewise.
1301 * io/open.c: Likewise.
1302 * io/open64.c: Likewise.
1303 * io/openat.c: Likewise.
1304 * io/openat64.c: Likewise.
1305 * io/pipe.c: Likewise.
1306 * io/pipe2.c: Likewise.
1307 * io/poll.c: Likewise.
1308 * io/posix_fadvise.c: Likewise.
1309 * io/posix_fadvise64.c: Likewise.
1310 * io/posix_fallocate.c: Likewise.
1311 * io/posix_fallocate64.c: Likewise.
1312 * io/read.c: Likewise.
1313 * io/readlink.c: Likewise.
1314 * io/readlinkat.c: Likewise.
1315 * io/rmdir.c: Likewise.
1316 * io/sendfile.c: Likewise.
1317 * io/sendfile64.c: Likewise.
1318 * io/statfs.c: Likewise.
1319 * io/statfs64.c: Likewise.
1320 * io/statvfs.c: Likewise.
1321 * io/statvfs64.c: Likewise.
1322 * io/symlink.c: Likewise.
1323 * io/symlinkat.c: Likewise.
1324 * io/ttyname.c: Likewise.
1325 * io/ttyname_r.c: Likewise.
1326 * io/umask.c: Likewise.
1327 * io/unlink.c: Likewise.
1328 * io/unlinkat.c: Likewise.
1329 * io/utime.c: Likewise.
1330 * io/utimensat.c: Likewise.
1331 * io/write.c: Likewise.
1332 * io/xmknod.c: Likewise.
1333 * io/xmknodat.c: Likewise.
1334 * io/xstat.c: Likewise.
1335 * io/xstat64.c: Likewise.
1336 * login/getpt.c: Likewise.
1337 * login/grantpt.c: Likewise.
1338 * login/unlockpt.c: Likewise.
1339 * math/e_acoshl.c: Likewise.
1340 * math/e_acosl.c: Likewise.
1341 * math/e_asinl.c: Likewise.
1342 * math/e_atan2l.c: Likewise.
1343 * math/e_atanhl.c: Likewise.
1344 * math/e_coshl.c: Likewise.
1345 * math/e_expl.c: Likewise.
1346 * math/e_fmodl.c: Likewise.
1347 * math/e_gammal_r.c: Likewise.
1348 * math/e_hypotl.c: Likewise.
1349 * math/e_j0l.c: Likewise.
1350 * math/e_j1l.c: Likewise.
1351 * math/e_jnl.c: Likewise.
1352 * math/e_lgammal_r.c: Likewise.
1353 * math/e_log10l.c: Likewise.
1354 * math/e_log2l.c: Likewise.
1355 * math/e_logl.c: Likewise.
1356 * math/e_powl.c: Likewise.
1357 * math/e_rem_pio2l.c: Likewise.
1358 * math/e_sinhl.c: Likewise.
1359 * math/e_sqrtl.c: Likewise.
1360 * math/fclrexcpt.c: Likewise.
1361 * math/fedisblxcpt.c: Likewise.
1362 * math/feenablxcpt.c: Likewise.
1363 * math/fegetenv.c: Likewise.
1364 * math/fegetexcept.c: Likewise.
1365 * math/fegetround.c: Likewise.
1366 * math/feholdexcpt.c: Likewise.
1367 * math/fesetenv.c: Likewise.
1368 * math/fesetround.c: Likewise.
1369 * math/feupdateenv.c: Likewise.
1370 * math/fgetexcptflg.c: Likewise.
1371 * math/fraiseexcpt.c: Likewise.
1372 * math/fsetexcptflg.c: Likewise.
1373 * math/ftestexcept.c: Likewise.
1374 * math/k_cosl.c: Likewise.
1375 * math/k_rem_pio2l.c: Likewise.
1376 * math/k_sinl.c: Likewise.
1377 * math/k_tanl.c: Likewise.
1378 * math/s_asinhl.c: Likewise.
1379 * math/s_atanl.c: Likewise.
1380 * math/s_cbrtl.c: Likewise.
1381 * math/s_erfl.c: Likewise.
1382 * math/s_expm1l.c: Likewise.
1383 * math/s_log1pl.c: Likewise.
1384 * math/s_tanhl.c: Likewise.
1385 * misc/acct.c: Likewise.
1386 * misc/brk.c: Likewise.
1387 * misc/chflags.c: Likewise.
1388 * misc/chroot.c: Likewise.
1389 * misc/fchflags.c: Likewise.
1390 * misc/fgetxattr.c: Likewise.
1391 * misc/flistxattr.c: Likewise.
1392 * misc/fremovexattr.c: Likewise.
1393 * misc/fsetxattr.c: Likewise.
1394 * misc/fsync.c: Likewise.
1395 * misc/ftruncate.c: Likewise.
1396 * misc/futimes.c: Likewise.
1397 * misc/futimesat.c: Likewise.
1398 * misc/getdomain.c: Likewise.
1399 * misc/getdtsz.c: Likewise.
1400 * misc/gethostid.c: Likewise.
1401 * misc/gethostname.c: Likewise.
1402 * misc/getloadavg.c: Likewise.
1403 * misc/getpagesize.c: Likewise.
1404 * misc/getsysstats.c: Likewise.
1405 * misc/getxattr.c: Likewise.
1406 * misc/gtty.c: Likewise.
1407 * misc/ioctl.c: Likewise.
1408 * misc/lgetxattr.c: Likewise.
1409 * misc/listxattr.c: Likewise.
1410 * misc/llistxattr.c: Likewise.
1411 * misc/lremovexattr.c: Likewise.
1412 * misc/lsetxattr.c: Likewise.
1413 * misc/lutimes.c: Likewise.
1414 * misc/madvise.c: Likewise.
1415 * misc/mincore.c: Likewise.
1416 * misc/mlock.c: Likewise.
1417 * misc/mlockall.c: Likewise.
1418 * misc/mmap.c: Likewise.
1419 * misc/mprotect.c: Likewise.
1420 * misc/msync.c: Likewise.
1421 * misc/munlock.c: Likewise.
1422 * misc/munlockall.c: Likewise.
1423 * misc/munmap.c: Likewise.
1424 * misc/preadv.c: Likewise.
1425 * misc/preadv64.c: Likewise.
1426 * misc/ptrace.c: Likewise.
1427 * misc/pwritev.c: Likewise.
1428 * misc/pwritev64.c: Likewise.
1429 * misc/readv.c: Likewise.
1430 * misc/reboot.c: Likewise.
1431 * misc/remap_file_pages.c: Likewise.
1432 * misc/removexattr.c: Likewise.
1433 * misc/revoke.c: Likewise.
1434 * misc/select.c: Likewise.
1435 * misc/setdomain.c: Likewise.
1436 * misc/setegid.c: Likewise.
1437 * misc/seteuid.c: Likewise.
1438 * misc/sethostid.c: Likewise.
1439 * misc/sethostname.c: Likewise.
1440 * misc/setregid.c: Likewise.
1441 * misc/setreuid.c: Likewise.
1442 * misc/setxattr.c: Likewise.
1443 * misc/sstk.c: Likewise.
1444 * misc/stty.c: Likewise.
1445 * misc/swapoff.c: Likewise.
1446 * misc/swapon.c: Likewise.
1447 * misc/sync.c: Likewise.
1448 * misc/syncfs.c: Likewise.
1449 * misc/syscall.c: Likewise.
1450 * misc/truncate.c: Likewise.
1451 * misc/ualarm.c: Likewise.
1452 * misc/usleep.c: Likewise.
1453 * misc/ustat.c: Likewise.
1454 * misc/utimes.c: Likewise.
1455 * misc/vhangup.c: Likewise.
1456 * misc/writev.c: Likewise.
1457 * posix/_exit.c: Likewise.
1458 * posix/alarm.c: Likewise.
1459 * posix/execve.c: Likewise.
1460 * posix/fexecve.c: Likewise.
1461 * posix/fork.c: Likewise.
1462 * posix/fpathconf.c: Likewise.
1463 * posix/getaddrinfo.c: Likewise.
1464 * posix/getegid.c: Likewise.
1465 * posix/geteuid.c: Likewise.
1466 * posix/getgid.c: Likewise.
1467 * posix/getgroups.c: Likewise.
1468 * posix/getlogin.c: Likewise.
1469 * posix/getlogin_r.c: Likewise.
1470 * posix/getpgid.c: Likewise.
1471 * posix/getpid.c: Likewise.
1472 * posix/getppid.c: Likewise.
1473 * posix/getresgid.c: Likewise.
1474 * posix/getresuid.c: Likewise.
1475 * posix/getsid.c: Likewise.
1476 * posix/getuid.c: Likewise.
1477 * posix/glob64.c: Likewise.
1478 * posix/nanosleep.c: Likewise.
1479 * posix/pathconf.c: Likewise.
1480 * posix/pause.c: Likewise.
1481 * posix/posix_madvise.c: Likewise.
1482 * posix/pread.c: Likewise.
1483 * posix/pread64.c: Likewise.
1484 * posix/pwrite.c: Likewise.
1485 * posix/pwrite64.c: Likewise.
1486 * posix/sched_getaffinity.c: Likewise.
1487 * posix/sched_getp.c: Likewise.
1488 * posix/sched_gets.c: Likewise.
1489 * posix/sched_primax.c: Likewise.
1490 * posix/sched_primin.c: Likewise.
1491 * posix/sched_rr_gi.c: Likewise.
1492 * posix/sched_setaffinity.c: Likewise.
1493 * posix/sched_setp.c: Likewise.
1494 * posix/sched_sets.c: Likewise.
1495 * posix/sched_yield.c: Likewise.
1496 * posix/setgid.c: Likewise.
1497 * posix/setlogin.c: Likewise.
1498 * posix/setpgid.c: Likewise.
1499 * posix/setresgid.c: Likewise.
1500 * posix/setresuid.c: Likewise.
1501 * posix/setsid.c: Likewise.
1502 * posix/setuid.c: Likewise.
1503 * posix/sleep.c: Likewise.
1504 * posix/spawni.c: Likewise.
1505 * posix/sysconf.c: Likewise.
1506 * posix/times.c: Likewise.
1507 * posix/wait.c: Likewise.
1508 * posix/wait3.c: Likewise.
1509 * posix/wait4.c: Likewise.
1510 * posix/waitpid.c: Likewise.
1511 * resolv/gai_sigqueue.c: Likewise.
1512 * resource/getpriority.c: Likewise.
1513 * resource/getrlimit.c: Likewise.
1514 * resource/getrusage.c: Likewise.
1515 * resource/nice.c: Likewise.
1516 * resource/setpriority.c: Likewise.
1517 * resource/setrlimit.c: Likewise.
1518 * resource/ulimit.c: Likewise.
1519 * rt/aio_cancel.c: Likewise.
1520 * rt/aio_fsync.c: Likewise.
1521 * rt/aio_read.c: Likewise.
1522 * rt/aio_sigqueue.c: Likewise.
1523 * rt/aio_suspend.c: Likewise.
1524 * rt/aio_write.c: Likewise.
1525 * rt/clock_getres.c: Likewise.
1526 * rt/clock_gettime.c: Likewise.
1527 * rt/clock_nanosleep.c: Likewise.
1528 * rt/clock_settime.c: Likewise.
1529 * rt/lio_listio.c: Likewise.
1530 * rt/mq_close.c: Likewise.
1531 * rt/mq_getattr.c: Likewise.
1532 * rt/mq_notify.c: Likewise.
1533 * rt/mq_open.c: Likewise.
1534 * rt/mq_receive.c: Likewise.
1535 * rt/mq_send.c: Likewise.
1536 * rt/mq_setattr.c: Likewise.
1537 * rt/mq_timedreceive.c: Likewise.
1538 * rt/mq_timedsend.c: Likewise.
1539 * rt/mq_unlink.c: Likewise.
1540 * rt/shm_open.c: Likewise.
1541 * rt/shm_unlink.c: Likewise.
1542 * rt/timer_create.c: Likewise.
1543 * rt/timer_delete.c: Likewise.
1544 * rt/timer_getoverr.c: Likewise.
1545 * rt/timer_gettime.c: Likewise.
1546 * rt/timer_settime.c: Likewise.
1547 * setjmp/__longjmp.c: Likewise.
1548 * setjmp/setjmp.c: Likewise.
1549 * signal/kill.c: Likewise.
1550 * signal/killpg.c: Likewise.
1551 * signal/raise.c: Likewise.
1552 * signal/sigaction.c: Likewise.
1553 * signal/sigaltstack.c: Likewise.
1554 * signal/sigblock.c: Likewise.
1555 * signal/sigignore.c: Likewise.
1556 * signal/sigintr.c: Likewise.
1557 * signal/signal.c: Likewise.
1558 * signal/sigpause.c: Likewise.
1559 * signal/sigpending.c: Likewise.
1560 * signal/sigqueue.c: Likewise.
1561 * signal/sigreturn.c: Likewise.
1562 * signal/sigset.c: Likewise.
1563 * signal/sigsetmask.c: Likewise.
1564 * signal/sigstack.c: Likewise.
1565 * signal/sigsuspend.c: Likewise.
1566 * signal/sigtimedwait.c: Likewise.
1567 * signal/sigvec.c: Likewise.
1568 * signal/sigwait.c: Likewise.
1569 * signal/sigwaitinfo.c: Likewise.
1570 * signal/sysv_signal.c: Likewise.
1571 * socket/accept.c: Likewise.
1572 * socket/accept4.c: Likewise.
1573 * socket/bind.c: Likewise.
1574 * socket/connect.c: Likewise.
1575 * socket/getpeername.c: Likewise.
1576 * socket/getsockname.c: Likewise.
1577 * socket/getsockopt.c: Likewise.
1578 * socket/isfdtype.c: Likewise.
1579 * socket/listen.c: Likewise.
1580 * socket/recv.c: Likewise.
1581 * socket/recvfrom.c: Likewise.
1582 * socket/recvmsg.c: Likewise.
1583 * socket/send.c: Likewise.
1584 * socket/sendmsg.c: Likewise.
1585 * socket/sendto.c: Likewise.
1586 * socket/setsockopt.c: Likewise.
1587 * socket/shutdown.c: Likewise.
1588 * socket/sockatmark.c: Likewise.
1589 * socket/socket.c: Likewise.
1590 * socket/socketpair.c: Likewise.
1591 * stdio-common/ctermid.c: Likewise.
1592 * stdio-common/cuserid.c: Likewise.
1593 * stdio-common/remove.c: Likewise.
1594 * stdio-common/rename.c: Likewise.
1595 * stdio-common/renameat.c: Likewise.
1596 * stdio-common/tempname.c: Likewise.
1597 * stdlib/getcontext.c: Likewise.
1598 * stdlib/makecontext.c: Likewise.
1599 * stdlib/setcontext.c: Likewise.
1600 * stdlib/swapcontext.c: Likewise.
1601 * stdlib/system.c: Likewise.
1602 * streams/fattach.c: Likewise.
1603 * streams/fdetach.c: Likewise.
1604 * streams/getmsg.c: Likewise.
1605 * streams/getpmsg.c: Likewise.
1606 * streams/putmsg.c: Likewise.
1607 * streams/putpmsg.c: Likewise.
1608 * sysdeps/unix/bsd/getpt.c: Likewise.
1609 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1610 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1611 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1614 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1615 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1616 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1617 * sysvipc/msgctl.c: Likewise.
1618 * sysvipc/msgget.c: Likewise.
1619 * sysvipc/msgrcv.c: Likewise.
1620 * sysvipc/msgsnd.c: Likewise.
1621 * sysvipc/semctl.c: Likewise.
1622 * sysvipc/semget.c: Likewise.
1623 * sysvipc/semop.c: Likewise.
1624 * sysvipc/semtimedop.c: Likewise.
1625 * sysvipc/shmat.c: Likewise.
1626 * sysvipc/shmctl.c: Likewise.
1627 * sysvipc/shmdt.c: Likewise.
1628 * sysvipc/shmget.c: Likewise.
1629 * termios/tcdrain.c: Likewise.
1630 * termios/tcflow.c: Likewise.
1631 * termios/tcflush.c: Likewise.
1632 * termios/tcgetattr.c: Likewise.
1633 * termios/tcgetpgrp.c: Likewise.
1634 * termios/tcsendbrk.c: Likewise.
1635 * termios/tcsetattr.c: Likewise.
1636 * termios/tcsetpgrp.c: Likewise.
1637 * time/adjtime.c: Likewise.
1638 * time/clock.c: Likewise.
1639 * time/getitimer.c: Likewise.
1640 * time/gettimeofday.c: Likewise.
1641 * time/setitimer.c: Likewise.
1642 * time/settimeofday.c: Likewise.
1643 * time/stime.c: Likewise.
1644 * time/time.c: Likewise.
1646 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
1648 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1651 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1653 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1655 2012-11-03 Joseph Myers <joseph@codesourcery.com>
1658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1659 FE_TONEAREST before applying Dekker multiplication and Knuth
1660 addition. Clear inexact exceptions and check for exact zero
1662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1665 * math/libm-test.inc (fma_test): Add more tests.
1666 (fma_test_towardzero): Likewise.
1667 (fma_test_downward): Likewise.
1668 (fma_test_upward): Likewise.
1669 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1671 (libc_fesetround): New macro.
1672 (libc_fesetroundf): Likewise.
1673 (libc_fesetroundl): Likewise.
1674 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1676 (libc_fesetround_387): Likewise.
1677 (libc_fesetroundf): New macro.
1678 (libc_fesetround): Likewise.
1679 (libc_fesetroundl): Likewise.
1680 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1682 (libc_fesetroundf): New macro.
1683 (libc_fesetround): Likewise.
1684 (libc_fesetroundl): Likewise.
1685 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1686 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1687 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1689 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1690 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1692 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1693 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1695 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1699 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1700 integer constant usable in #if and use that to give value to enum
1702 (FE_DIVBYZERO): Likewise.
1703 (FE_UNDERFLOW): Likewise.
1704 (FE_OVERFLOW): Likewise.
1705 (FE_INVALID): Likewise.
1706 (FE_INVALID_SNAN): Likewise.
1707 (FE_INVALID_ISI): Likewise.
1708 (FE_INVALID_IDI): Likewise.
1709 (FE_INVALID_ZDZ): Likewise.
1710 (FE_INVALID_IMZ): Likewise.
1711 (FE_INVALID_COMPARE): Likewise.
1712 (FE_INVALID_SOFTWARE): Likewise.
1713 (FE_INVALID_SQRT): Likewise.
1714 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1715 (FE_TONEAREST): Likewise.
1716 (FE_TOWARDZERO): Likewise.
1717 (FE_UPWARD): Likewise.
1718 (FE_DOWNWARD): Likewise.
1719 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1720 (FE_DIVBYZERO): Likewise.
1721 (FE_OVERFLOW): Likewise.
1722 (FE_UNDERFLOW): Likewise.
1723 (FE_INEXACT): Likewise.
1724 (FE_TONEAREST): Likewise.
1725 (FE_DOWNWARD): Likewise.
1726 (FE_UPWARD): Likewise.
1727 (FE_TOWARDZERO): Likewise.
1728 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1729 (FE_UNDERFLOW): Likewise.
1730 (FE_OVERFLOW): Likewise.
1731 (FE_DIVBYZERO): Likewise.
1732 (FE_INVALID): Likewise.
1733 (FE_TONEAREST): Likewise.
1734 (FE_TOWARDZERO): Likewise.
1735 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1736 (FE_OVERFLOW): Likewise.
1737 (FE_UNDERFLOW): Likewise.
1738 (FE_DIVBYZERO): Likewise.
1739 (FE_INEXACT): Likewise.
1740 (FE_TONEAREST): Likewise.
1741 (FE_TOWARDZERO): Likewise.
1742 (FE_UPWARD): Likewise.
1743 (FE_DOWNWARD): Likewise.
1744 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1745 (FE_DIVBYZERO): Likewise.
1746 (FE_OVERFLOW): Likewise.
1747 (FE_UNDERFLOW): Likewise.
1748 (FE_INEXACT): Likewise.
1749 (FE_TONEAREST): Likewise.
1750 (FE_DOWNWARD): Likewise.
1751 (FE_UPWARD): Likewise.
1752 (FE_TOWARDZERO): Likewise.
1754 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1756 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1758 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1760 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1761 commands. Quote $PWD.
1762 (blacklist_exports): Don't use remove_newlines. Replace "declare
1764 (remove_newlines): Remove.
1766 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1768 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1769 * stdlib/stdlib.h (atof): Moved to ...
1770 * include/bits/stdlib-float.h: Here. New file.
1771 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1772 * stdlib/bits/stdlib-float.h: New file.
1773 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1775 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1778 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1780 * conform/conformtest.pl (@headers): Add fenv.h.
1781 * conform/data/fenv.h-data: New file.
1782 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1783 include of <math/fenv.h>.
1785 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1786 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1787 && !UNIX98]. Enables tests for XOPEN2K8.
1788 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1789 POSIX2008]: Likewise.
1791 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1792 (struct rusage): Do not expect type or its members.
1795 * math/math.h (FP_NAN): Define macro to integer constant usable in
1796 #if and use that to give value to enum constant.
1797 (FP_INFINITE): Likewise.
1798 (FP_ZERO): Likewise.
1799 (FP_SUBNORMAL): Likewise.
1800 (FP_NORMAL): Likewise.
1802 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1804 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1805 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1808 2012-11-02 Roland McGrath <roland@hack.frob.com>
1810 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1811 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1812 autoconf-time if not.
1813 * configure.in: Remove AC_PREREQ.
1815 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1817 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1818 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1819 of the internal implementation.
1821 2012-11-02 Joseph Myers <joseph@codesourcery.com>
1823 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1824 except include of <misc/sys/syslog.h>.
1826 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1829 function returns with a NULL context exit with zero.
1831 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1833 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1835 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1837 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1838 (run_program_cmd): This.
1839 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1840 (tst_langinfo): New variable. Use it.
1842 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1844 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1845 floating point opcodes.
1847 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1849 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1852 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1854 * sysdeps/mach/hurd/powerpc: Remove directory.
1855 * sysdeps/mach/powerpc: Likewise.
1857 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1859 * scripts/check-local-headers.sh: Ignore c++ headers.
1861 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1863 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1864 __libc_cleanup_region_start argument.
1866 2012-11-01 Joseph Myers <joseph@codesourcery.com>
1870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1871 x * y using scaling, not as x * y + z.
1872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1874 * math/libm-test.inc (fma_test): Add more tests.
1875 (fma_test_towardzero): Likewise.
1876 (fma_test_downward): Likewise.
1877 (fma_test_upward): Likewise.
1879 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1881 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1883 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1885 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1888 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1890 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1892 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1899 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1902 Fix the order of the list for glibc 2.17.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1906 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1910 2012-10-31 Joseph Myers <joseph@codesourcery.com>
1913 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1914 for low part of x being zero before using __atanl (y).
1915 * math/libm-test.inc (atan2_test): Add another test.
1917 * manual/install.texi (Configuring and compiling): Document
1918 general use of test-wrapper and test-wrapper-env.
1919 * INSTALL: Regenerated.
1921 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1922 (__fma): Do not extract and scale down low bits on after-rounding
1923 systems when result rounded to normal precision would have normal
1925 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1926 (__fmal): Do not extract and scale down low bits on after-rounding
1927 systems when result rounded to normal precision would have normal
1929 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1930 (__fmal): Do not extract and scale down low bits on after-rounding
1931 systems when result rounded to normal precision would have normal
1933 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1935 (fma_test): Add more tests.
1936 (fma_test_towardzero): Likewise.
1937 (fma_test_downward): Likewise.
1938 (fma_test_upward): Likewise.
1940 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1942 * sysdeps/i386/tininess.h: Renamed to ...
1943 * sysdeps/x86/tininess.h: This.
1944 * sysdeps/x86_64/tininess.h: Removed.
1946 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1948 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1949 input. Use $(build-program-cmd).
1950 ($(objpfx)tst-array1-static.out): Likewise.
1951 ($(objpfx)tst-array2.out): Likewise.
1952 ($(objpfx)tst-array3.out): Likewise.
1953 ($(objpfx)tst-array4.out): Likewise.
1954 ($(objpfx)tst-array5.out): Likewise.
1955 ($(objpfx)tst-array5-static.out): Likewise.
1957 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1959 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1962 * nss/nsswitch.h (nss_interface_function): Provide new
1963 macro for use with NSS functions.
1964 * grp/initgroups.c: Use new macro.
1965 * nss/getXXbyYY.c: Likewise.
1966 * nss/getXXbyYY_r.c: Likewise.
1967 * nss/getXXent.c: Likewise.
1968 * nss/getXXent_r.c: Likewise.
1969 * sysdeps/posix/getaddrinfo.c: Likewise.
1971 2012-10-30 Andreas Jaeger <aj@suse.de>
1973 * po/ru.po: Update Russion translation from translation project.
1975 2012-10-30 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1980 result and shift together with sticky bit instead of replicating
1981 round-to-nearest rounding.
1982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1984 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1985 missing underflow exceptions.
1986 (fma_test_towardzero): Add more tests.
1987 (fma_test_downward): Likewise.
1988 (fma_test_upward): Likewise.
1991 * sysdeps/generic/tininess.h: New file.
1992 * sysdeps/i386/tininess.h: Likewise.
1993 * sysdeps/sh/tininess.h: Likewise.
1994 * sysdeps/x86_64/tininess.h: Likewise.
1995 * stdlib/tst-strtod-underflow.c: Likewise.
1996 * stdlib/tst-tininess.c: Likewise.
1997 * stdlib/strtod_l.c: Include <tininess.h>.
1998 (round_and_return): Do not set errno for exact underflow cases.
1999 Force an underflow exception when setting errno for underflow.
2000 Determine underflow based on rounding to normal precision if
2001 TININESS_AFTER_ROUNDING.
2002 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2003 ERANGE for exact underflow cases.
2004 * stdlib/Makefile (tests): Add tst-tininess and
2005 tst-strtod-underflow.
2006 ($(objpfx)tst-tininess): Use $(link-libm).
2007 ($(objpfx)tst-strtod-underflow): Likewise.
2009 2012-10-30 Andreas Jaeger <aj@suse.de>
2012 * elf/Makefile (tests): Remove conditional for have-initfini-array
2013 since this is now always required and the variable does not exist
2015 (tests-static): Likewise.
2016 (modules-names): Likewise.
2018 * po/eo.po: Add Esperanto translation from translation project.
2020 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2021 merged with constructor/destructor.
2022 (init_array): Likewise.
2023 * elf/tst-array2dep.c (fini_array): Likewise.
2024 (init_array): Likewise.
2026 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2028 * manual/message.texi: Delete @cartouche tags.
2030 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2032 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2034 * sysdeps/mach/hurd/fsync.c: Likewise.
2036 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2037 [_POSIX_REALTIME_SIGNALS]: Change condition to
2038 [_POSIX_REALTIME_SIGNALS > 0].
2040 2012-10-27 Andreas Jaeger <aj@suse.de>
2042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2043 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2045 [__WORDSIZE != 64]: Likewise.
2047 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2049 * iconvdata/tst-table.sh: Remove ${SHELL}.
2050 * iconvdata/tst-tables.sh: Likewise.
2052 2012-10-25 David S. Miller <davem@davemloft.net>
2054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2055 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2061 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2062 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2065 2012-10-25 Roland McGrath <roland@hack.frob.com>
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2068 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2071 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2072 Jim Blandy <jimb@codesourcery.com>
2074 * scripts/cross-test-ssh.sh: New file.
2075 * manual/install.texi (Configuring and compiling): Document use of
2077 * INSTALL: Regenerated.
2079 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2081 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2084 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2086 * Makeconfig (run-program-prefix): Fix comment.
2088 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2089 Jim Blandy <jimb@codesourcery.com>
2091 * Makeconfig (test-wrapper): New variable,
2092 (test-wrapper-env): Likewise.
2093 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2094 (run-built-tests): Define to yes.
2095 (run-program-prefix): Use $(test-wrapper).
2096 (built-program-cmd): Likewise.
2097 * Rules (make-test-out): Use $(test-wrapper-env) and
2098 $(host-built-program-cmd).
2099 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2100 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2102 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2103 $(test-wrapper-env) to tst-rtld-load-self.sh.
2104 ($(objpfx)order2.out): Use $(test-wrapper).
2105 ($(objpfx)tst-initorder.out): Likewise.
2106 ($(objpfx)tst-initorder2.out): Likewise.
2107 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2108 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2109 (test_wrapper_env): New variable. Use it to run ld.so.
2110 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2111 Use it to run ld.so.
2112 (test_wrapper_env): Likewise.
2113 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2114 $(test-wrapper) to run-iconv-test.sh.
2115 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2116 (ICONV): Use $test_wrapper.
2117 * posix/Makefile ($(objpfx)globtest.out): Pass
2118 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2119 globtest.sh, not $(run-program-prefix).
2120 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2121 (test_wrapper): Likewise.
2122 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2123 set together with run_via_rtld_prefix.
2124 (run_program_prefix): Define in terms of test_wrapper and
2125 run_via_rtld_prefix.
2127 2012-10-24 Roland McGrath <roland@hack.frob.com>
2129 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2130 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2134 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2135 Declare __clock_getres, __clock_gettime, __clock_settime,
2136 __clock_nanosleep, and __clock_getcpuclockid.
2137 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2138 Remove librt_hidden_def (clock_gettime).
2139 * sysdeps/unix/clock_gettime.c: Likewise.
2140 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2142 * rt/clock_getres.c: Define __clock_getres as an alias.
2143 * sysdeps/posix/clock_getres.c: Likewise.
2144 * rt/clock_settime.c: Define __clock_settime as an alias.
2145 * sysdeps/unix/clock_settime.c: Likewise.
2146 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2147 * sysdeps/unix/clock_nanosleep.c: Likewise.
2148 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2149 * rt/clock-compat.c: New file.
2150 * rt/Makefile (librt-routines): Add clock-compat and move
2151 $(clock-routines) to ...
2152 (routines): ... here, new variable.
2153 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2154 Don't add get_clockfreq here.
2155 * rt/Versions (libc: GLIBC_2.17): New version set.
2156 Add clock_* symbols here.
2157 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2159 (GLIBC_2.17): Add clock_* symbols.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2171 * NEWS: Mention the move.
2173 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2174 Use __open, __read, __close rather than their public counterparts.
2175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2176 (__get_clockfreq_via_cpuinfo): Likewise.
2177 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2178 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2180 * config.h.in (HAVE_IFUNC): New #undef.
2181 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2183 * configure: Regenerated.
2185 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2187 * configure.in: Move READELF check to start of file.
2188 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2189 libc_cv_asm_gnu_indirect_function in the process.
2190 * configure: Regenerated.
2192 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2194 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2195 send the output to /dev/null.
2196 (libc_cv_cc_with_libunwind): Likewise.
2197 (libc_cv_as_noexecstack): Likewise.
2198 * configure: Regenerate.
2200 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2202 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2204 * posix/globtest.sh (TMPDIR): Do not set.
2205 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2206 (testout): Likewise.
2208 2012-10-24 Andreas Jaeger <aj@suse.de>
2210 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2211 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2212 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2213 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2214 posix_fadvise64, posix_fallocate64.
2216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2217 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2218 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2220 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2222 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2225 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2226 <bits/fcntl-linux.h>.
2227 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2230 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2231 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2232 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2233 [__WORDSIZE != 64]: Likewise.
2235 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2237 * Makeconfig (run-built-tests): New variable.
2238 * Rules [$(cross-compiling) = yes]: Change condition to
2239 [$(run-built-tests) = no].
2240 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2241 to [$(run-built-tests) = yes].
2242 * elf/Makefile [$(cross-compiling) = no]: Likewise
2243 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2244 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2245 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2246 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2247 * io/Makefile [$(cross-compiling) = no]: Likewise.
2248 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2249 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2250 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2251 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2252 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2253 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2254 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2255 * string/Makefile [$(cross-compiling) = no]: Likewise.
2257 * posix/Makefile ($(objpfx)globtest.out): Pass
2258 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2259 $(rtld-installed-name).
2260 * posix/globtest.sh (elf_objpfx): Remove variable.
2261 (rtld_installed_name): Likewise.
2262 (library_path): Likewise.
2263 (run_program_prefix): New variable. Use for running globtest
2266 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2267 Joseph Myers <joseph@codesourcery.com>
2269 * Makeconfig (host-built-program-cmd): New variable.
2270 * elf/Makefile (tst-stackguard1-ARGS): Use
2271 $(host-built-program-cmd).
2272 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2273 (tst-spawn-ARGS): Likewise.
2274 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2276 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2277 Jim Blandy <jimb@codesourcery.com>
2279 * Makeconfig (run-via-rtld-prefix): New variable.
2280 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2281 (built-program-cmd): Likewise.
2283 2012-10-22 Andreas Jaeger <aj@suse.de>
2285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2286 __O_RSYNC if it exists, otherwise to O_SYNC.
2288 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2289 Joseph Myers <joseph@codesourcery.com>
2291 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2293 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2295 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2298 2012-10-22 Andreas Jaeger <aj@suse.de>
2300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2308 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2315 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2316 Joseph Myers <joseph@codesourcery.com>
2318 * config.make.in (NM): New variable.
2320 2012-10-21 Andreas Jaeger <aj@suse.de>
2322 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2323 definitions and declarations that are provided by
2324 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2326 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2329 * elf/Makefile (tests-static): Add tst-leaks1-static.
2330 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2331 ($(objpfx)tst-leaks1-static): New rule.
2332 ($(objpfx)tst-leaks1-static-mem): Likewise.
2333 (tst-leaks1-static-ENV): New macro.
2334 * elf/dl-open.c (dl_open_worker): Check the main application
2335 only if SHARED is defined.
2336 * elf/tst-leaks1-static.c: New file.
2338 2012-10-20 Andreas Jaeger <aj@suse.de>
2340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2341 generic values for Linux.
2342 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2343 and declarations that are provided by <bits/fcntl-linux.h> and
2344 include <bits/fcntl-linux.h>.
2345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2348 2012-10-20 Roland McGrath <roland@hack.frob.com>
2350 * io/fcntl.h: Move include of <bits/types.h> to the top and
2351 include it unconditionally.
2353 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2355 * wcsmbs/Makefile (tests-ifunc): New variable.
2356 (tests): Add $(tests-ifunc).
2357 * wcsmbs/test-wcschr-ifunc.c: New file.
2358 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2359 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2360 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2361 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2362 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2364 * string/Makefile (tests-ifunc): New variable.
2365 (tests): Add $(tests-ifunc).
2366 * string/test-memccpy.c (TEST_NAME): New macro.
2367 * string/test-memchr.c (TEST_NAME): Likewise.
2368 * string/test-memcmp.c (TEST_NAME): Likewise.
2369 * string/test-memcpy.c (TEST_NAME): Likewise.
2370 * string/test-memmem.c (TEST_NAME): Likewise.
2371 * string/test-memmove.c (TEST_NAME): Likewise.
2372 * string/test-memset.c (TEST_NAME): Likewise.
2373 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2374 * string/test-stpcpy.c (TEST_NAME): Likewise.
2375 * string/test-stpncpy.c (TEST_NAME): Likewise.
2376 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2377 * string/test-strcasestr.c (TEST_NAME): Likewise.
2378 * string/test-strcat.c (TEST_NAME): Likewise.
2379 * string/test-strchr.c (TEST_NAME): Likewise.
2380 * string/test-strcmp.c(TEST_NAME): Likewise.
2381 * string/test-strcpy.c (TEST_NAME): Likewise.
2382 * string/test-strcspn.c (TEST_NAME): Likewise.
2383 * string/test-strlen.c (TEST_NAME): Likewise.
2384 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2385 * string/test-strncmp.c (TEST_NAME): Likewise.
2386 * string/test-strncpy.c (TEST_NAME): Likewise.
2387 * string/test-strnlen.c (TEST_NAME): Likewise.
2388 * string/test-strpbrk.c (TEST_NAME): Likewise.
2389 * string/test-strrchr.c (TEST_NAME): Likewise.
2390 * string/test-strspn.c (TEST_NAME): Likewise.
2391 * string/test-strstr.c (TEST_NAME): Likewise.
2392 * string/test-bcopy-ifunc.c: New file.
2393 * string/test-bzero-ifunc.c: Likewise.
2394 * string/test-memccpy-ifunc.c: Likewise.
2395 * string/test-memchr-ifunc.c: Likewise.
2396 * string/test-memcmp-ifunc.c: Likewise.
2397 * string/test-memcpy-ifunc.c: Likewise.
2398 * string/test-memmem-ifunc.c: Likewise.
2399 * string/test-memmove-ifunc.c: Likewise.
2400 * string/test-mempcpy-ifunc.c: Likewise.
2401 * string/test-memset-ifunc.c: Likewise.
2402 * string/test-rawmemchr-ifunc.c: Likewise.
2403 * string/test-stpcpy-ifunc.c: Likewise.
2404 * string/test-stpncpy-ifunc.c: Likewise.
2405 * string/test-strcasecmp-ifunc.c: Likewise.
2406 * string/test-strcasestr-ifunc.c: Likewise.
2407 * string/test-strcat-ifunc.c: Likewise.
2408 * string/test-strchr-ifunc.c: Likewise.
2409 * string/test-strchrnul-ifunc.c: Likewise.
2410 * string/test-strcmp-ifunc.c: Likewise.
2411 * string/test-strcpy-ifunc.c: Likewise.
2412 * string/test-strcspn-ifunc.c: Likewise.
2413 * string/test-strlen-ifunc.c: Likewise.
2414 * string/test-strncasecmp-ifunc.c: Likewise.
2415 * string/test-strncat-ifunc.c: Likewise.
2416 * string/test-strncmp-ifunc.c: Likewise.
2417 * string/test-strncpy-ifunc.c: Likewise.
2418 * string/test-strnlen-ifunc.c: Likewise.
2419 * string/test-strpbrk-ifunc.c: Likewise.
2420 * string/test-strrchr-ifunc.c: Likewise.
2421 * string/test-strspn-ifunc.c: Likewise.
2422 * string/test-strstr-ifunc.c: Likewise.
2424 * debug/Makefile (tests-ifunc): New variable.
2425 (tests): Add $(tests-ifunc).
2426 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2427 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2428 * debug/test-stpcpy_chk-ifunc.c: New file.
2429 * debug/test-strcpy_chk-ifunc.c: Likewise.
2431 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2434 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2435 header is not read in.
2437 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2439 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2440 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2441 directly. Pass built executable to script as
2442 $(built-program-cmd).
2443 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2444 $testprogram without using LD_LIBRARY_PATH and $ldso.
2446 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2447 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2448 $(rtld-installed-name).
2449 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2450 (rtld_installed_name): Likewise.
2451 (library_path): Likewise.
2452 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2453 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2454 $(run-program-prefix) to tst-tables.sh.
2455 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2456 it to run tst-table-from and tst-table-to.
2457 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2458 Pass it to tst-table.sh.
2459 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2460 $(run-program-prefix) to tst-gettext.sh.
2461 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2463 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2465 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2467 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2468 to run tst-gettext2.
2469 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2470 to run tst-translit.
2471 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2472 $(run-program-prefix) to tst-mtrace.sh.
2473 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2475 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2476 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2477 $(rtld-installed-name).
2478 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2479 (rtld_installed_name): Likewise.
2480 (run_program_prefix): New variable. Use it to run wordexp-test.
2482 * Makeconfig (ARCH): Remove all definitions.
2483 (machine): Likewise.
2484 [ARCH]: Remove conditional code.
2485 [!objdir]: Give error.
2486 [!objdir] (objpfx): Remove.
2487 [!objdir] (common-objpfx): Likewise.
2488 [!objdir] (common-objdir): Likewise.
2489 * configure.in (config_makefile): Remove. Hardcode Makefile in
2490 AC_CONFIG_FILES call.
2491 * configure: Regenerated.
2494 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2496 (testout): Likewise.
2498 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2499 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2500 $(rtld-installed-name).
2501 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2502 (rtld_installed_name): Likwise.
2503 (runit): Remove function.
2504 (run_getconf): New variable, Use it for running getconf binary.
2506 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2509 * string/test-memmem.c (check_result): New function.
2510 (do_one_test): Use it.
2511 (check1): New function.
2512 (test_main): Use it.
2514 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2516 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2518 2012-10-18 Joseph Myers <joseph@codesourcery.com>
2520 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2521 (_G_LSEEK64): Likewise.
2522 (_G_MMAP64): Likewise.
2523 (_G_FSTAT64): Likewise.
2524 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2525 (_G_LSEEK64): Likewise.
2526 (_G_MMAP64): Likewise.
2527 (_G_FSTAT64): Likewise.
2528 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2529 unconditional. Call __mmap64 directly.
2530 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2531 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2533 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2534 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2536 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2537 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2539 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2540 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2542 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2543 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2545 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2546 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2547 __fxstat64 directly.
2548 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2549 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2551 (freopen64) [!_G_OPEN64]: Remove conditional code.
2552 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2554 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2555 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2557 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2558 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2560 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2561 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2563 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2564 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2566 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2567 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2569 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2570 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2572 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2574 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2577 * manual/memory.texi (Malloc Tunable Parameters): Add note
2578 about free list pointers overwriting some perturb bytes.
2579 Wording suggested by Roland McGrath.
2581 2012-10-17 Joseph Myers <joseph@codesourcery.com>
2583 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2584 (lgamma_test): Likewise.
2585 (tgamma_test): Likewise.
2587 2012-10-16 Florian Weimer <fweimer@redhat.com>
2590 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2591 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2593 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2595 * NEWS: Mention BZ #14716.
2596 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2597 when removing AVAILABLE1_USES_J macro.
2599 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2601 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2602 (__bswap_64): __uint64_t for unsigned 64-bit int.
2604 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2606 * include/string.h (memmem): Declare libc hidden alias.
2607 * string/memmem.c (memmem): Define libc hidden alias.
2608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2609 __read, __close instead of open, read, close.
2611 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2614 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2616 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2617 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2618 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2620 (__rawmemchr_sse2): Likewise.
2621 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2622 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2623 (__strchr_sse2): Likewise.
2624 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2625 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2626 (__strcasecmp_sse2): Likewise.
2627 (__strncasecmp_sse2): Likewise.
2628 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2629 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2630 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2631 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2632 (__strrchr_sse2): Likewise.
2633 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2635 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2636 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2637 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2639 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2640 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2641 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2642 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2643 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2644 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2645 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2646 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2647 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2648 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2649 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2650 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2651 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2652 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2653 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2654 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2655 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2656 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2657 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2658 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2659 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2661 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2662 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2663 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2664 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2668 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2669 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2670 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2671 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2673 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2675 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2676 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2677 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2678 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2680 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2684 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2685 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2686 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2687 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2688 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2689 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2693 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2694 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2695 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2697 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2698 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2699 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2700 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2705 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2706 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2707 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2708 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2709 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2710 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2711 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2712 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2713 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2714 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2715 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2716 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2717 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2718 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2719 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2720 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2722 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2723 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2724 * include/ifunc-impl-list.h: New file.
2725 * misc/ifunc-impl-list.c: Likewise.
2726 * misc/Makefile (routines): Add ifunc-impl-list.
2727 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2728 * string/test-string.h: Include <ifunc-impl-list.h>.
2729 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2730 impl_array): New variables.
2731 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2733 (test_init): Call __libc_ifunc_impl_list to initialize
2734 func_list if TEST_IFUNC and TEST_NAME are defined.
2736 * string/Makefile (strop-tests): Add bcopy and bzero.
2737 * string/test-bcopy.c: New file.
2738 * string/test-bzero.c: Likewise.
2739 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2741 * string/test-memset.c: Support bzero test if TEST_BZERO is
2743 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2745 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2747 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2750 2012-10-10 Joseph Myers <joseph@codesourcery.com>
2752 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2753 * configure: Regenerated.
2755 * Makeconfig (+link-static-before-libc): Don't include
2756 $(link-static-libc).
2758 * libio/libio.h (_IO_pos_t): Remove.
2760 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2762 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2765 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2767 * crypt/crypt-entry.c: Include fips-private.h.
2768 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2769 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2770 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2771 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2773 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
2775 * crypt/crypt-private.h: Include stdbool.h.
2776 (_ufc_setup_salt_r): Return bool.
2777 * crypt/crypt-entry.c: Include errno.h.
2778 (__crypt_r): Return NULL with EINVAL for bad salt.
2779 * crypt/crypt_util.c (bad_for_salt): New.
2780 (_ufc_setup_salt_r): Check that salt is long enough and within
2781 the specified alphabet.
2782 * crypt/badsalttest.c: New file.
2783 * crypt/Makefile (tests): Add it.
2784 ($(objpfx)badsalttest): New.
2786 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2788 * NEWS: Add entry for BZ #14602.
2790 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2792 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2794 * math/libm-test.inc: Update comment listing what functions and
2796 (isgreater_test): New function.
2797 (isgreaterequal_test): Likewise.
2798 (isless_test): Likewise.
2799 (islessequal_test): Likewise.
2800 (islessgreater_test): Likewise.
2801 (isunordered_test): Likewise.
2802 (main): Call the new functions.
2804 2012-10-09 Roland McGrath <roland@hack.frob.com>
2806 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2807 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2808 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2809 * sysdeps/i386/configure: Regenerated.
2810 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2811 * sysdeps/mach/configure: Regenerated.
2812 * sysdeps/mach/hurd/configure: Regenerated.
2813 * sysdeps/powerpc/configure: Regenerated.
2814 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2815 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2816 * sysdeps/s390/s390-32/configure: Regenerated.
2817 * sysdeps/s390/s390-64/configure: Regenerated.
2818 * sysdeps/sh/configure: Regenerated.
2819 * sysdeps/sparc/configure: Regenerated.
2820 * sysdeps/unix/sysv/linux/configure: Regenerated.
2821 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2822 * sysdeps/x86_64/configure: Regenerated.
2824 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2825 defined. Don't check if MAP is NULL.
2827 2012-10-09 Joseph Myers <joseph@codesourcery.com>
2829 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2830 (_G_stat64): Likewise.
2831 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2832 (_G_stat64): Likewise.
2833 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2834 instead of struct _G_stat64.
2835 * libio/fileops.c (mmap_remap_check): Likewise.
2836 (decide_maybe_mmap): Likewise.
2837 (_IO_new_file_seekoff): Likewise.
2838 (_IO_file_stat): Likewise.
2839 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2841 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2842 instead of struct _G_stat64.
2843 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2845 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2848 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2850 (CHECK_EOL): New macro.
2851 (two_way_short_needle): Check beginning of haystack for EOL. Use
2853 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2854 Replace with CHECK_EOL.
2855 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2856 Replace with CHECK_EOL.
2858 2012-10-08 Joseph Myers <joseph@codesourcery.com>
2860 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2862 * math/libm-test.inc: Update comment listing what functions and
2864 (finite_test): New function.
2865 (isinf_test): Likewise.
2866 (isnan_test): Likewise.
2867 (fpclassify_test): Test subnormal input.
2868 (isfinite_test): Likewise.
2869 (isnormal_test): Likewise.
2870 (main): Call the new functions.
2872 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2875 * Makerules (%.dynsym): Force C locale when running
2876 $(OBJDUMP) --dynamic-syms.
2878 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2880 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2883 2012-10-06 David S. Miller <davem@davemloft.net>
2885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2886 upper 32-bits of the length value in %o2 since we use branch-on-register
2887 tests which consider the entire 64-bit register.
2889 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2891 * string/test-strstr.c (check2): Add a test for page boundary.
2893 2012-10-05 David S. Miller <davem@davemloft.net>
2895 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2896 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2898 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2901 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2902 and bzero when HWCAP_SPARC_CRYPTO is present.
2904 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2907 * string/test-strstr.c (check2): New function.
2908 (test_main): Call check2.
2910 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2912 * string/bug-strcasestr1.c (do_test): Moved to ...
2913 * string/test-strcasestr.c (check1): Here. New function.
2914 (do_one_test): Break out result checking code into ...
2915 (check_result): This. New function.
2916 (do_one_test): Call check_result.
2917 (test_main): Call check1.
2918 * string/bug-strchr1.c (do_test): Moved to ...
2919 * string/test-strchr.c (check1): Here. New function.
2920 (do_one_test): Break out result checking code into ...
2921 (check_result): This. New function.
2922 (do_one_test): Call check_result.
2923 (test_main): Call check1.
2924 * string/bug-strstr1.c (main): Moved to ...
2925 * string/test-strchr.c (check1): Here. New function.
2926 (do_one_test): Break out result checking code into ...
2927 (check_result): This. New function.
2928 (do_one_test): Call check_result.
2929 (test_main): Call check1.
2930 * string/bug-strcasestr1.c: Removed.
2931 * string/bug-strchr1.c: Likewise.
2932 * string/bug-strstr1.c: Likewise.
2934 * elf/Makefile (dl-routines): Add hwcaps.
2935 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2936 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2937 (_dl_important_hwcaps): Moved to ...
2938 * elf/dl-hwcaps.c: Here. New file.
2939 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2942 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2943 if IS_IN_rtld isn't defined.
2945 * elf/dl-support.c (_dl_sysinfo_map): New.
2946 Include "get-dynamic-info.h" and "setup-vdso.h".
2947 (_dl_non_dynamic_init): Call setup_vdso.
2948 * elf/dynamic-link.h: Don't include <assert.h>.
2949 (elf_get_dynamic_info): Moved to ...
2950 * elf/get-dynamic-info.h: Here. New file.
2951 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2952 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2953 * elf/setup-vdso.h: Here. New file.
2954 * elf/rtld.c: Include "setup-vdso.h".
2955 (dl_main): Call setup_vdso.
2957 2012-10-05 Joseph Myers <joseph@codesourcery.com>
2959 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2960 creal in comment listing functions tested. List finite, isinf,
2961 isnan, isless, islessequal, isgreater, isgreaterequal,
2962 islessgreater, isunordered, lgamma_r and pow10 as functions and
2963 macros not tested. Mention which functions not tested are aliases
2964 for other functions. Fix typo. Note that signs of NaNs are not
2967 * scripts/config.guess: Update from config.git.
2968 * scripts/config.sub: Likewise.
2970 2012-10-04 Roland McGrath <roland@hack.frob.com>
2972 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2973 * misc/madvise.c (madvise): Renamed to __madvise.
2974 Make madvise a weak alias.
2975 * include/sys/mman.h: Declare __madvise.
2976 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2977 * sysdeps/unix/syscalls.list
2978 (madvise): Make __madvise the strong name, and madvise a weak alias.
2979 * sysdeps/unix/sysv/linux/syscalls.list
2980 (madvise, mmap): Remove redundant entries.
2981 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2982 * malloc/malloc.c (mtrim): Likewise.
2983 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2985 2012-10-03 Roland McGrath <roland@hack.frob.com>
2987 * sysdeps/mach/hurd/dl-cache.c: File removed.
2988 * config.h.in (USE_LDCONFIG): New #undef.
2989 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2990 * configure: Regenerated.
2991 * elf/Makefile (dl-routines): Add dl-cache only under
2992 [$(use-ldconfig) = yes].
2993 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2994 cache on [USE_LDCONFIG].
2995 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2997 * elf/rtld.c (dl_main): Likewise.
2999 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3001 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3002 _SC_LEVEL4_CACHE_LINESIZE.
3004 2012-10-03 Roland McGrath <roland@hack.frob.com>
3006 * sysdeps/unix/bsd/confstr.h: File removed.
3008 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3010 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3013 2012-10-02 Roland McGrath <roland@hack.frob.com>
3015 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3016 Make 'mapoff' field ElfW(Off) rather than off_t.
3018 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3020 * nscd/Makefile: Remove nscd-cflags and all its users.
3021 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3022 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3025 * malloc.c (malloc_printerr): Clarify error message.
3027 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3031 Set bit_FMA_Usable if FMA is supported.
3032 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3034 (bit_FMA4_Usable): Updated.
3035 (index_FMA_Usable): New macro.
3036 (CPUID_FMA): Likewise
3037 (HAS_FMA): Defined with bit_FMA_Usable.
3039 2012-10-01 Roland McGrath <roland@hack.frob.com>
3041 * bits/types.h (__swblk_t): Type removed.
3042 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3043 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3045 (__SWBLK_T_TYPE): Likewise.
3046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3047 (__SWBLK_T_TYPE): Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3049 (__SWBLK_T_TYPE): Likewise.
3050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3051 (__SWBLK_T_TYPE): Likewise.
3053 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3054 Honza Horak <hhorak@redhat.com>
3056 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3057 (xdr_mapname): Use YPMAXMAP as maxsize.
3058 (xdr_peername): Use YPMAXPEER as maxsize.
3059 (xdr_keydat): Use YPAXRECORD as maxsize.
3060 (xdr_valdat): Use YPMAXRECORD as maxsize.
3062 2012-10-01 Roland McGrath <roland@hack.frob.com>
3064 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3066 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3067 * csu/init-first.c: ... here.
3068 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3069 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3070 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3072 * sysdeps/i386/init-first.c: File removed.
3073 * sysdeps/sh/init-first.c: File removed.
3075 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3079 if x * y might underflow to zero and z is zero.
3080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3082 * math/libm-test.inc (min_subnorm_value): New variable.
3083 (fma_test): Add more tests.
3084 (fma_test_towardzero): Likewise.
3085 (fma_test_downward): Likewise
3086 (fma_test_upward): Likewise.
3087 (initialize): Set min_subnorm_value.
3089 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3094 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3095 mode for addition resulting in exact zero.
3096 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3100 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3101 * math/libm-test.inc (fma_test): Add more tests.
3102 (fma_test_towardzero): New function.
3103 (fma_test_downward): Likewise.
3104 (fma_test_upward): Likewise.
3105 (main): Call the new functions.
3107 2012-09-28 David S. Miller <davem@davemloft.net>
3109 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3111 2012-09-28 Roland McGrath <roland@hack.frob.com>
3113 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3116 * sysdeps/gnu/_G_config.h: Moved to ...
3117 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3118 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3119 * sysdeps/generic/_G_config.h: ... here.
3121 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3123 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3125 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3126 Conditionalize target on [libnss_test1.so-version].
3128 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3130 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3131 (elfobjdir): Move out of conditionals.
3133 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3134 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3135 (__nss_lookup_function): Conditionalize label remove_from_tree on
3136 [!DO_STATIC_NSS || SHARED], matching its only use.
3138 2012-09-28 David S. Miller <davem@davemloft.net>
3140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3143 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3146 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3147 when HWCAP_SPARC_CRYPTO is present.
3149 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3151 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3153 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3156 * stdio-common/vfprintf.c (process_string_arg): Revert
3159 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3161 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3163 * stdio-common/tst-sprintf.c: Include <locale.h>
3164 (main): Test sprintf's handling of incomplete multibyte
3167 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3169 * elf/dl-runtime.c (VERSYMIDX): Removed.
3170 * elf/dl-version.c (VERSYMIDX): Likewise.
3171 * elf/do-rel.h (VERSYMIDX): Likewise.
3173 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3174 * elf/rtld.c (VALIDX): Likewise.
3175 (ADDRIDX): Likewise.
3176 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3177 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3178 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3179 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3181 (ADDRIDX): Likewise.
3183 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3185 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3187 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3190 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3192 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3193 addresses are in the same scope as 192.0.2/24.
3194 * posix/gai.conf: Document new scope table defaults.
3196 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3199 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3200 for ftell. Compute offsets from write pointers instead.
3201 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3203 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3206 * libio/Makefile (tests): New test case tst-fseek.
3207 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3208 combination works in wide mode.
3209 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3210 state when the external buffer state changes.
3212 2012-09-27 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3216 pass reloc->r_addend in as the 'high' argument to
3217 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3221 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3223 * rt/tst-aio2.c: Include <pthread.h>.
3224 * rt/tst-aio3.c: Likewise.
3226 2012-09-27 Steve Ellcey <sellcey@mips.com>
3228 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3230 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3232 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3233 contents on [SHARED].
3235 2012-09-26 Marek Polacek <polacek@redhat.com>
3239 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3240 for C++ and GCC <4.3 as well as for non GCC compilers.
3242 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3246 2012-09-25 Roland McGrath <roland@hack.frob.com>
3248 * Makefile.in (all, install): Declare with .PHONY.
3249 Reported by Michael Hope <michael.hope@linaro.org>.
3251 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3253 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3254 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3256 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3258 (sydep_routines): Add the new and the internal functions.
3259 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3260 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3262 (GLIBC_2.17): Add the new function.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3264 (GLIBC_2.17): Likewise.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3266 (GLIBC_2.17): Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3268 (GLIBC_2.17): Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3271 2012-09-25 Alan Modra <amodra@gmail.com>
3273 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3274 Add release barrier before setting once_control to say
3275 initialisation is done. Add hints on lwarx. Use macro in
3277 (clear_once_control): Add release barrier.
3279 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3282 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3284 * math/s_clog10.c (__clog10): Likewise.
3285 * math/s_clog10f.c (__clog10f): Likewise.
3286 * math/s_clog10l.c (__clog10l): Likewise.
3287 * math/s_clogf.c (__clogf): Likewise.
3288 * math/s_clogl.c (__clogl): Likewise.
3289 * math/Makefile (libm-calls): Add x2y2m1.
3290 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3291 (__x2y2m1): Likewise.
3292 (__x2y2m1l): Likewise.
3293 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3294 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3295 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3297 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3298 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3299 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3300 * sysdeps/i386/fpu/libm-test-ulps: Update.
3301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3304 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3305 int as type of variable DEPTH.
3306 (glob): Use size_t instead of int as type of variables NEWCOUNT
3309 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3311 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3314 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3315 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3316 macros for using routine as __sincosf_ia32.
3317 Use macro for function declaration and weak_alias.
3318 * sysdeps/i386/fpu/libm-test-ulps: Update.
3320 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3323 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3325 * math/s_cexpf.c (__cexpf): Likewise.
3326 * math/s_csinf.c (__csinf): Likewise.
3327 * math/s_csinhf.c (__csinhf): Likewise.
3328 * math/s_ctanf.c (__ctanf): Likewise.
3329 * math/s_ctanhf.c (__ctanhf): Likewise.
3330 * math/s_ccosh.c (__ccoshf): Likewise.
3331 * math/s_cexp.c (__cexpl): Likewise.
3332 * math/s_csin.c (__csin): Likewise.
3333 * math/s_csinh.c (__csinh): Likewise.
3334 * math/s_ctan.c (__ctan): Likewise.
3335 * math/s_ctanh.c (ctanh): Likewise.
3336 * math/s_ccoshl.c (__ccoshl): Likewise.
3337 * math/s_cexpl.c (__cexpl): Likewise.
3338 * math/s_csinl.c (__csinl): Likewise.
3339 * math/s_csinhl.c (__csinhl): Likewise.
3340 * math/s_ctanl.c (__ctanl): Likewise.
3341 * math/s_ctanhl.c (__ctanhl): Likewise.
3343 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3345 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3346 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3347 (_IO_off_t): Define to __off_t, not _G_off_t.
3348 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3349 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3350 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3351 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3352 type of __dummy and __dummy2 fields.
3353 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3354 (_G_ssize_t): Likewise.
3355 (_G_off_t): Likewise.
3356 (_G_pid_t): Likewise.
3357 (_G_uid_t): Likewise.
3358 (_G_wchar_t): Likewise.
3359 (_G_wint_t): Likewise.
3360 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3361 (_G_ssize_t): Likewise.
3362 (_G_off_t): Likewise.
3363 (_G_pid_t): Likewise.
3364 (_G_uid_t): Likewise.
3365 (_G_wchar_t): Likewise.
3366 (_G_wint_t): Likewise.
3367 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3368 (_G_ssize_t): Likewise.
3369 (_G_off_t): Likewise.
3370 (_G_pid_t): Likewise.
3371 (_G_uid_t): Likewise.
3372 (_G_wchar_t): Likewise.
3373 (_G_wint_t): Likewise.
3375 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3377 * malloc/arena.c: Include malloc-sysdep.h.
3378 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3379 is sufficient to shrink the heap or an unmap is needed.
3380 * sysdeps/generic/malloc-sysdep.h: New file. Define
3381 new function check_may_shrink_heap.
3382 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3383 new function check_may_shrink_heap.
3385 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3387 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3390 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3392 * catgets/test-gencat.sh: Add "set -e".
3393 * elf/tst-pathopt.sh: Likewise.
3394 * grp/tst_fgetgrent.sh: Likewise.
3395 * iconvdata/run-iconv-test.sh: Likewise.
3396 * intl/tst-gettext.sh: Likewise.
3397 * intl/tst-gettext2.sh: Likewise.
3398 * intl/tst-gettext4.sh: Likewise.
3399 * intl/tst-gettext6.sh: Likewise.
3400 * intl/tst-translit.sh: Likewise.
3401 * io/ftwtest-sh: Likewise.
3402 * libio/test-freopen.sh: Likewise.
3403 * malloc/tst-mtrace.sh: Likewise.
3404 * posix/globtest.sh: Likewise.
3405 * posix/tst-getconf.sh: Likewise.
3406 * posix/wordexp-tst.sh: Likewise.
3407 * stdio-common/tst-printf.sh: Likewise.
3408 * stdio-common/tst-unbputc.sh: Likewise.
3409 * stdlib/tst-fmtmsg.sh: Likewise.
3410 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3411 * catgets/Makefile: Do not specify -e option when running
3412 testsuite shell scripts.
3413 * elf/Makefile: Likewise.
3414 * grp/Makefile: Likewise.
3415 * iconvdata/Makefile: Likewise.
3416 * intl/Makefile: Likewise.
3417 * io/Makefile: Likewise.
3418 * libio/Makefile: Likewise.
3419 * malloc/Makefile: Likewise.
3420 * posix/Makefile: Likewise.
3421 * stdio-common/Makefile: Likewise.
3422 * stdlib/Makefile: Likewise.
3423 * sysdeps/x86_64/Makefile: Likewise.
3425 * io/ftwtest-sh: Add copyright header.
3426 * posix/globtest.sh: Likewise.
3427 * posix/tst-getconf.sh: Likewise.
3428 * posix/wordexp-tst.sh: Likewise.
3429 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3431 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3434 * Makeconfig (+link): Defined as $(+link-static) if
3435 $(build-shared) isn't yes.
3436 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3438 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3440 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3443 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3444 new chunk size with MALLOC_ALIGN_MASK.
3446 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3449 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3451 (__printf_fphex): Determine rounding using get_rounding_mode and
3453 * stdio-common/tst-printf-round.c (struct hex_test): New
3455 (hex_tests): New variable.
3456 (test_hex_in_one_mode): New function.
3457 (do_test): Also run tests for hex float output.
3459 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3461 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3462 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3463 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3464 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3465 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3466 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3467 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3468 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3470 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3472 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3473 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3474 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3475 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3477 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3480 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3482 * elf/tst-rtld-load-self.sh: New test.
3483 * elf/Makefile: Run it.
3485 2012-09-18 Joseph Myers <joseph@codesourcery.com>
3487 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3488 (tst-writev-ENV): Remove.
3489 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3491 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3493 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3495 2012-09-17 Joseph Myers <joseph@codesourcery.com>
3497 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3499 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3501 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3502 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3506 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3509 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3510 * config.make.in (have-cpp-asm-debuginfo): Removed.
3511 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3512 * configure: Regenerated.
3514 2012-09-14 Joseph Myers <joseph@codesourcery.com>
3517 * stdio-common/printf_fp.c: Include <stdbool.h> and
3519 (___printf_fp): Determine rounding using get_rounding_mode and
3521 * stdio-common/tst-printf-round.c: New file.
3522 * stdio-common/Makefile (tests): Add tst-printf-round.
3523 (link-libm): New variable.
3524 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3526 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3529 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3530 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3532 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3535 2012-09-13 Joseph Myers <joseph@codesourcery.com>
3537 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3538 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3539 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3540 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3542 2012-09-12 Joseph Myers <joseph@codesourcery.com>
3545 * include/rounding-mode.h: New file.
3546 * sysdeps/generic/get-rounding-mode.h: Likewise.
3547 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3548 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3549 (MAX_VALUE): New macro.
3550 (MIN_VALUE): Likewise.
3551 (overflow_value): New function.
3552 (underflow_value): Likewise.
3553 (round_and_return): Use overflow_value and underflow_value to
3554 determine return values in overflow and underflow cases. Use
3555 round_away to determine rounding depending on rounding mode.
3556 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3557 determine return values in overflow and underflow cases.
3558 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3559 (struct test_results): New structure.
3560 (struct test): Use struct test_results to store expected results
3561 for all rounding modes.
3562 (TEST): Include expected results for all rounding modes.
3563 (test_in_one_mode): New function.
3564 (do_test): Use test_in_one_mode to compute and check results.
3565 Check results for all rounding modes.
3566 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3569 2012-12-09 Allan McRae <allan@archlinux.org>
3571 * sysdeps/i386/fpu/libm-test-ulps: Update
3573 2012-09-11 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3576 (_G_int32_t): Likewise.
3577 (_G_uint16_t): Likewise.
3578 (_G_uint32_t): Likewise.
3579 (_G_HAVE_BOOL): Likewise.
3580 (_G_HAVE_ATEXIT): Likewise.
3581 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3582 (_G_HAVE_IO_FILE_OPEN): Likewise.
3583 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3584 (_G_int32_t): Likewise.
3585 (_G_uint16_t): Likewise.
3586 (_G_uint32_t): Likewise.
3587 (_G_HAVE_BOOL): Likewise.
3588 (_G_HAVE_ATEXIT): Likewise.
3589 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3590 (_G_HAVE_IO_FILE_OPEN): Likewise.
3591 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3592 (_G_int32_t): Likewise.
3593 (_G_uint16_t): Likewise.
3594 (_G_uint32_t): Likewise.
3595 (_G_HAVE_BOOL): Likewise.
3596 (_G_HAVE_ATEXIT): Likewise.
3597 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3598 (_G_HAVE_IO_FILE_OPEN): Likewise.
3600 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3602 * csu/libc-tls.c: Update copyright years.
3604 2012-09-10 Joseph Myers <joseph@codesourcery.com>
3606 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3607 [!_G_USING_THUNKS]: Remove conditional code.
3608 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3609 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3611 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3612 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3613 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3614 (_G_VTABLE_LABEL_PREFIX): Likewise.
3615 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3616 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3618 (_G_VTABLE_LABEL_PREFIX): Likewise.
3619 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3620 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3622 (_G_VTABLE_LABEL_PREFIX): Likewise.
3623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3625 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3627 * libio/Makefile: Include ../Makeconfig before tests.
3628 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3629 only if $(build-shared) is yes.
3631 * iconv/gconv_db.c: Update copyright years.
3633 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3635 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3636 unwind info if defined PIC. Fix special cases description.
3637 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3639 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3641 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3643 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3645 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3647 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3650 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3651 (LDLIBS-tst-chk4): This.
3652 (LDFLAGS-tst-chk5): Renamed to ...
3653 (LDLIBS-tst-chk5): This.
3654 (LDFLAGS-tst-chk6): Renamed to ...
3655 (LDLIBS-tst-chk6): This.
3656 (LDFLAGS-tst-lfschk4): Renamed to ...
3657 (LDLIBS-tst-lfschk4): This.
3658 (LDFLAGS-tst-lfschk5): Renamed to ...
3659 (LDLIBS-tst-lfschk5): This.
3660 (LDFLAGS-tst-lfschk6): Renamed to ...
3661 (LDLIBS-tst-lfschk6): This.
3663 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3664 on $(common-objpfx)soversions.mk.
3666 2012-09-07 Joseph Myers <joseph@codesourcery.com>
3669 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3672 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3674 * malloc/arena.c (arena_get_retry): New function that gets
3675 another arena for the caller to try its request on.
3676 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3677 current arena cannot fulfill the request.
3678 (__libc_memalign): Likewise.
3679 (__libc_memalign): Likewise.
3680 (__libc_pvalloc): Likewise.
3681 (__libc_calloc): Likewise.
3683 2012-09-05 John Tobey <john.tobey@gmail.com>
3686 * manual/arith.texi (Operations on Complex): Fix description
3689 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3692 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3696 * manual/memory.texi (Memory): Make order of menu items match
3699 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3701 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3702 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3703 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3705 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3707 * csu/libc-tls.c (static_dtv): Renamed to ...
3708 (_dl_static_dtv): This. Make it global.
3709 (_dl_initial_dtv): Removed.
3710 (__libc_setup_tls): Updated.
3711 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3712 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3715 2012-09-06 Petr Machata <pmachata@redhat.com>
3717 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3718 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3719 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3720 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3722 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3725 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3726 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3729 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3732 * Makeconfig (link-static-before-libc): Replace $(+prector)
3734 (link-static-after-libc): Replace $(+postctor) with
3736 (link-bounded): Replace $(+prector)/$(+postctor) with
3737 $(+prectorT)/$(+postctorT).
3738 (+prectorT): New macro.
3739 (+postctorT): Likewise.
3741 2012-09-06 Joseph Myers <joseph@codesourcery.com>
3743 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3744 (round_str): Handle values above the maximum for IBM long double
3746 * stdlib/tst-strtod-round.c (tests): Regenerated.
3748 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3750 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3752 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3753 zarch_nohighgprs around the zarch optimized routines.
3754 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3755 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3759 2012-09-05 David S. Miller <davem@davemloft.net>
3761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3763 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3764 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3765 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3766 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3769 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3771 * malloc/arena.c: Fold copyright years.
3772 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3774 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3776 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3778 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3780 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3782 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3784 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3785 change internal state upon failure.
3787 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
3789 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3790 * malloc/memusage.c (mmap): Likewise.
3791 (mmap64, mremap): Likewise. Adjust name in comment.
3793 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3795 * libio/fileops.c: Fix typos in comments.
3796 * libio/oldfileops.c: Likewise.
3797 * libio/wfileops.c: Likewise.
3799 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3803 (tst-malloc-usable-ENV): Set environment for test case.
3804 * malloc/hooks.c (malloc_check_get_size): New function to get
3806 * malloc/malloc.c (musable): Use malloc_check_get_size.
3807 * malloc/tst-malloc-usable.c: New test case.
3809 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3811 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3813 2012-09-05 Allan McRae <allan@archlinux.org>
3816 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3817 determine header location.
3818 * configure: Regenerated.
3820 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3822 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3824 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
3825 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3829 2012-09-04 David S. Miller <davem@davemloft.net>
3831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3833 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3835 2012-09-04 Florian Weimer <fweimer@redhat.com>
3837 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3840 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3842 2012-09-04 Joseph Myers <joseph@codesourcery.com>
3845 * libio/iogetdelim.c: Include <limits.h>.
3846 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3847 + len + 1 would overflow.
3849 2012-09-03 Andreas Jaeger <aj@suse.de>
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3852 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3857 Add s_sinf-sse2, s_conf-sse2.
3859 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3860 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3861 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3862 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3864 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3865 for using routine as __sinf_ia32.
3866 Use macro for function declaration and weak_alias.
3867 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3868 for using routine as __cosf_ia32.
3869 Use macro for function declaration and weak_alias.
3871 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3872 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3874 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3875 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3878 * math/libm-test.inc (cos_test): Add more test cases.
3879 (sin_test): Likewise.
3880 (sincos_test): Likewise.
3882 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3884 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3885 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3889 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3892 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3893 first element of the GOT.
3894 (elf_machine_load_address): Return the difference between
3895 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3897 2012-09-01 Allan McRae <allan@archlinux.org>
3900 * configure.in (AWK): Require gawk version 3.0 or later.
3901 * configure: Regenerated.
3903 2012-09-01 Joseph Myers <joseph@codesourcery.com>
3905 * sysdeps/unix/sysv/linux/kernel-features.h
3906 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3908 [__NR_clock_getres]: Make code unconditional.
3909 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3910 (clock_getcpuclockid): Remove code left unreachable by removal of
3912 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3914 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3915 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3916 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3917 Make code unconditional.
3918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3920 * sysdeps/unix/sysv/linux/clock_settime.c
3921 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3923 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3924 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3926 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3929 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3930 scripts/test-installation.pl.
3932 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3933 and $ld_so_version if it is set.
3935 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3938 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3939 failure if reading from procfs failed.
3940 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3942 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3944 * sysdeps/unix/sysv/linux/kernel-features.h
3945 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3946 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3947 Remove conditional code.
3948 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3949 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3950 Remove conditional code.
3951 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3952 * sysdeps/unix/sysv/linux/i386/fxstat.c
3953 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3954 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3955 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3956 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3957 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3958 * sysdeps/unix/sysv/linux/i386/lxstat.c
3959 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3960 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3961 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3962 Remove conditional code.
3963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3964 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3965 Remove conditional code.
3966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3968 <kernel-features.h>.
3969 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3971 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3972 Remove conditional code.
3973 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3974 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3977 2012-08-27 Mike Frysinger <vapier@gentoo.org>
3980 * NEWS: Add fixed bug number.
3982 2012-08-27 Joseph Myers <joseph@codesourcery.com>
3985 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3986 underflowing exponent in case of negative sign.
3987 * stdlib/tst-strtod-round-data: Add more tests.
3988 * stdlib/tst-strtod-round.c (tests): Regenerated.
3991 * stdlib/strtod_l.c (NDIG): Remove.
3992 (HEXNDIG): Likewise.
3993 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3994 smallest representable value.
3995 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3996 lie within an exact representation of 1/2 ulp of the result.
3997 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3999 (TENS_P9_IDX): Define unconditionally.
4000 (TENS_P9_SIZE): Likewise.
4001 (TENS_P10_IDX): Likewise.
4002 (TENS_P10_SIZE): Likewise.
4003 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4004 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4005 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4006 entries for 10^2^13 and 10^2^14.
4007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4008 (TENS_P13_IDX): Define.
4009 (TENS_P13_SIZE): Likewise.
4010 (TENS_P14_IDX): Likewise.
4011 (TENS_P14_SIZE): Likewise.
4012 (_fpioconst_pow10): Change array size to
4013 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4015 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4016 1024]: Add entries for 10^2^13 and 10^2^14.
4017 [LAST_POW10 > _LAST_POW10]: Remove #error.
4018 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4019 (_fpioconst_pow10): Change array size to
4020 FPIOCONST_POW10_ARRAY_SIZE.
4021 * stdlib/gen-fpioconst.c: New file.
4022 * stdlib/gen-tst-strtod-round.c: Likewise.
4023 * stdlib/tst-strtod-round-data: Likewise.
4024 * stdlib/tst-strtod-round.c: Likewise.
4025 * stdlib/Makefile (tests): Add tst-strtod-round.
4028 * stdlib/strtod_l.c: Include <stdint.h>.
4029 (NDEBUG): Do not define.
4030 (round_and_return): Change EXPONENT parameter to type intmax_t.
4031 Rearrange calculations to avoid internal overflow possibilities.
4032 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4033 Rearrange calculations to avoid internal overflow possibilities.
4034 Assert that number fits inside MPNSIZE limbs.
4035 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4036 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4037 calculations and add assertions to avoid internal overflow
4038 possibilities. Add casts to avoid signed/unsigned operations.
4039 * stdlib/tst-strtod-overflow.c: New file.
4040 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4042 2012-08-25 Marek Polacek <polacek@redhat.com>
4044 * time/time.h: Fix some typos in comments.
4046 2012-08-23 Roland McGrath <roland@hack.frob.com>
4048 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4049 * posix/tst-rfc3484-2.c: Likewise.
4050 * posix/tst-rfc3484-3.c: Likewise.
4052 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4054 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4055 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4057 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4059 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4060 #include of fxstatat64.c.
4062 2012-08-22 Roland McGrath <roland@hack.frob.com>
4064 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4065 * shadow/getspent_r.c: Likewise.
4066 * shadow/getspnam.c: Likewise.
4067 * shadow/getspnam_r.c: Likewise.
4068 * gshadow/getsgent.c: Likewise.
4069 * gshadow/getsgent_r.c: Likewise.
4070 * gshadow/getsgnam.c: Likewise.
4071 * gshadow/getsgnam_r.c: Likewise.
4072 * inet/getnetbyad.c: Likewise.
4073 * inet/getnetbyad_r.c: Likewise.
4074 * inet/getnetbynm.c: Likewise.
4075 * inet/getnetbynm_r.c: Likewise.
4076 * inet/getnetent.c: Likewise.
4077 * inet/getnetent_r.c: Likewise.
4078 * inet/getproto.c: Likewise.
4079 * inet/getproto_r.c: Likewise.
4080 * inet/getprtent.c: Likewise.
4081 * inet/getprtent_r.c: Likewise.
4082 * inet/getprtname.c: Likewise.
4083 * inet/getprtname_r.c: Likewise.
4084 * inet/getrpcbyname.c: Likewise.
4085 * inet/getrpcbyname_r.c: Likewise.
4086 * inet/getrpcbynumber.c: Likewise.
4087 * inet/getrpcbynumber_r.c: Likewise.
4088 * inet/getrpcent.c: Likewise.
4089 * inet/getrpcent_r.c: Likewise.
4090 * inet/getaliasent.c: Likewise.
4091 * inet/getaliasent_r.c: Likewise.
4092 * inet/getaliasname.c: Likewise.
4093 * inet/getaliasname_r.c: Likewise.
4094 * nscd/getgrgid_r.c: Likewise.
4095 * nscd/getgrnam_r.c: Likewise.
4096 * nscd/gethstbyad_r.c: Likewise.
4097 * nscd/gethstbynm3_r.c: Likewise.
4098 * nscd/getpwnam_r.c: Likewise.
4099 * nscd/getpwuid_r.c: Likewise.
4100 * nscd/getsrvbynm_r.c: Likewise.
4101 * nscd/getsrvbypt_r.c: Likewise.
4102 * nscd/gai.c: Likewise.
4104 * configure.in (build_nscd): New substituted variable, set
4105 by --disable-build-nscd and defaults to $use_nscd.
4106 * configure: Regenerated.
4107 * config.make.in (build-nscd): New substituted variable.
4108 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4109 Change conditional to require [$(build-nscd) = yes] as well.
4110 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4113 * configure.in (use_nscd): New substituted variable, set by
4114 --disable-nscd. If enabled, define USE_NSCD.
4115 * configure: Regenerated.
4116 * config.h.in: Add USE_NSCD.
4117 * config.make.in (use-nscd): New substituted variable.
4118 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4119 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4120 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4121 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4122 (CFLAGS-getgrnam_r.c): Likewise.
4123 (CFLAGS-initgroups.c): Likewise.
4124 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4125 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4127 * inet/getnetgrent_r.c
4128 (nscd_setnetgrent): New function, broken out of ...
4129 (setnetgrent): ... here. Call it.
4130 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4131 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4132 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4133 * nscd/Makefile (routines, aux): Move definitions after include of
4134 Makeconfig. Conditionalize on [$(use-nscd) != no].
4135 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4136 Conditionalize on [USE_NSCD].
4137 (is_nscd, nscd_init_cb): Likewise.
4138 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4139 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4140 * nss/nss_db/db-init.c: Likewise.
4141 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4143 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4144 (make_request): Use it.
4145 (cache_valid_p): New function.
4146 (__check_pf): Use it.
4147 * NEWS: Add item for --disable-nscd.
4149 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4151 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4152 to support sed >= 4.2.1-20-ga9bf076.
4153 * configure: Regenerated.
4155 2012-08-22 Roland McGrath <roland@hack.frob.com>
4157 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4158 Conditionalize whole body on [IREL].
4160 2012-08-22 Jeff Law <law@redhat.com>
4163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4164 if the family is PF_UNSPEC.
4166 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4168 * Makerules (lib-version): Rename from V.
4169 (install-lib-nosubdir): Change V to lib-version.
4171 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4174 * powerpc32/power6/wcschr.c: New file.
4175 * powerpc32/power6/wcscpy.c: New file.
4176 * powerpc32/power6/wcsrchr.c: New file.
4177 * powerpc64/power6/wcschr.c: New file.
4178 * powerpc64/power6/wcscpy.c: New file.
4179 * powerpc64/power6/wcsrchr.c: New file.
4181 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4183 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4184 (two_way_short_needle): Use it.
4185 * string/strstr.c (AVAILABLE1_USES_J): Define.
4186 * string/strcasestr.c: Likewise.
4188 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4190 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4193 * NEWS: Add an entry.
4194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4195 define their defaults.
4196 (two_way_short_needle): Detect end-of-string on-the-fly.
4197 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4198 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4199 * string/bug-strcasestr1.c: New test.
4200 * string/Makefile: Run it.
4202 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4205 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4206 the first character.
4208 2012-08-21 Roland McGrath <roland@hack.frob.com>
4210 * csu/elf-init.c (__libc_csu_irel): Function removed.
4211 * csu/libc-start.c (apply_irel): New function.
4212 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4214 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/unix/sysv/linux/kernel-features.h
4217 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4218 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4219 <kernel-features.h>.
4220 [__NR_fadvise64_64]: Make code unconditional.
4221 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4222 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4223 !__NR_fadvise64_64)]: Likewise.
4224 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4225 !__NR_fadvise64_64))]: Likewise.
4226 [__NR_fadvise64]: Make code unconditional.
4227 [!__NR_fadvise64]: Remove conditional code.
4228 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4229 <kernel-features.h>.
4230 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4232 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4235 not include <kernel-features.h>.
4236 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4238 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4240 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4241 include <kernel-features.h>.
4242 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4244 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4247 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4249 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4250 slight instruction rearrangements per scrollpipe analysis.
4251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4253 2012-08-20 Roland McGrath <roland@hack.frob.com>
4255 * manual/syslog.texi (syslog; vsyslog, closelog):
4256 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4257 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4259 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4260 DSOCAPS to match condition on defining it.
4262 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/unix/sysv/linux/kernel-features.h
4265 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4267 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4268 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4270 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4271 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4273 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4274 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4276 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4277 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4279 * sysdeps/unix/sysv/linux/kernel-features.h
4280 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4281 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4283 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4284 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4287 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4288 Make code unconditional.
4289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4290 (__mmap64) [!__NR_mmap2]: Likewise.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4292 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4293 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4294 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4295 [__NR_mmap2]: Make code unconditional.
4296 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4297 (__mmap64) [!__NR_mmap2]: Likewise.
4299 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4301 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4303 2012-08-18 Andreas Jaeger <aj@suse.de>
4305 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4307 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4309 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4310 * include/unistd.h (__have_sock_cloexec): Likewise.
4311 (__have_pipe2): Likewise.
4312 (__have_dup3): Likewise.
4314 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4317 * include/unistd.h (__have_pipe2): Change define into an extern int.
4318 (__have_dup3): Likewise.
4319 * socket/have_sock_cloexec.c: Include fcntl.h.
4320 (__have_pipe2): New variable.
4321 (__have_dup3): Likewise.
4323 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4325 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4327 2012-08-17 Marek Polacek <polacek@redhat.com>
4329 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4330 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4332 2012-08-17 Roland McGrath <roland@hack.frob.com>
4334 * configure.in: Add AC_SUBST for sysheaders.
4335 * configure: Regenerated.
4336 * config.make.in (sysheaders): New substituted variable.
4338 * sysdeps/unix/mkfifo.c: Moved ...
4339 * sysdeps/posix/mkfifo.c: ... here.
4340 * sysdeps/unix/mkfifoat.c: Moved ...
4341 * sysdeps/posix/mkfifoat.c: ... here.
4343 * sysdeps/unix/utime.c: Moved ...
4344 * sysdeps/posix/utime.c: ... here.
4346 * sysdeps/unix/time.c: Moved ...
4347 * sysdeps/posix/time.c: ... here.
4348 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4349 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4351 * sysdeps/unix/nice.c: Moved ...
4352 * sysdeps/posix/nice.c: ... here.
4354 * sysdeps/unix/alarm.c: Moved ...
4355 * sysdeps/posix/alarm.c: ... here.
4357 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4359 2012-08-17 Jeff Law <law@redhat.com>
4361 * intl/Makefile (codeset_mo): New variable.
4362 ($(codeset_mo)): New target.
4363 (tst-codeset.out): Depend on that. Remove explicit rule.
4364 (tst-gettext3.out, tst-gettext5.out): Likewise.
4365 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4366 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4367 * intl/tst-codeset.sh: Remove.
4368 * intl/tst-gettext3.sh: Likewise.
4369 * intl/tst-gettext5.sh: Likewise.
4371 2012-08-17 Roland McGrath <roland@hack.frob.com>
4373 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4374 * sysdeps/unix/syscalls.list: ... here.
4376 * sysdeps/posix/getaddrinfo.c
4377 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4378 (gaiconf_init, gaiconf_reload): Use them.
4380 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4381 Define using time_t rather than struct timespec.
4383 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4384 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4386 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4388 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4389 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4392 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4393 __libc_cleanup_push argument.
4395 * bits/param.h: New file.
4396 * misc/sys/param.h: New file.
4397 * include/sys/param.h: New file.
4398 * misc/Makefile (headers): Add bits/param.h.
4399 * sysdeps/generic/sys/param.h: File removed.
4400 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4401 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4402 * sysdeps/mach/hurd/bits/param.h: New file.
4403 * sysdeps/mach/hurd/sys/param.h: File removed.
4405 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4408 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4410 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4411 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4414 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4415 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4416 rather than -D_IO_MTSAFE_IO conditionally.
4417 * stdio-common/Makefile (CPPFLAGS): Likewise.
4418 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4419 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4420 Use $(libio-mtsafe).
4421 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4423 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4424 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4425 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4426 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4427 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4428 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4429 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4430 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4431 (CFLAGS-fread_u_chk.c): Likewise.
4432 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4433 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4434 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4435 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4436 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4437 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4438 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4439 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4440 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4442 * libio/Makefile: Test [$(libc-reentrant) = yes]
4443 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4446 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4447 * sysdeps/pthread/configure: File removed.
4448 * sysdeps/pthread/Makeconfig: New file.
4449 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4450 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4452 2012-08-16 Gary Benson <gbenson@redhat.com>
4454 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4455 unmapping the first object in a namespace.
4457 2012-08-16 Roland McGrath <roland@hack.frob.com>
4459 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4460 (__internal_setnetgrent): ... this. Add internal_function to
4461 definition. Add libc_hidden_def.
4462 (setnetgrent): Update caller.
4463 (internal_endnetgrent): Renamed to ...
4464 (__internal_endnetgrent): ... this. Add internal_function to
4465 definition. Add libc_hidden_def.
4466 (endnetgrent): Update caller.
4467 (internal_getnetgrent_r): Renamed to ...
4468 (__internal_getnetgrent_r): ... this. Add internal_function to
4469 definition. Add libc_hidden_def.
4470 (__getnetgrent_r): Update caller.
4471 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4473 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4475 * stdlib/longlong.h: Update from GCC.
4477 2012-08-16 Roland McGrath <roland@hack.frob.com>
4479 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4480 on _QL, which is set by umul_ppmm but never used.
4481 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4482 variables, which are set by GMP macros but never used.
4483 * stdio-common/_itowa.c (_itowa): Likewise.
4484 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4485 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4487 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4489 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4490 struct La_sh_regs is not constant.
4491 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4492 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4493 and struct La_sparc64_regs are not constant.
4495 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_POSIX_TIMERS): Remove.
4499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4500 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4501 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4502 Make code unconditional.
4503 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4504 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4505 Make code unconditional.
4506 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4507 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4508 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4509 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4510 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4511 Make code unconditional.
4512 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4513 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4514 (__libc_missing_posix_timers): Remove.
4516 2012-08-15 Roland McGrath <roland@hack.frob.com>
4518 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4519 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4521 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4523 * elf/dl-sym.c: Include <stdlib.h>.
4525 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4526 constants, which avoids warnings in 32-bit builds.
4528 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4529 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4531 * misc/lseek.c: File moved to ...
4532 * io/lseek.c: ... here.
4534 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4536 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4537 shifting LEN more than 31 bits at once.
4539 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4542 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4543 segmentation fault for a case of two empty input strings.
4544 * string/test-strncasecmp.c (check1): Renamed to...
4546 (bz14195): Add new testcase for two empty input strings and N > 0.
4547 (test_main): Call new testcase, adapt for renamed function.
4549 2012-08-15 Andreas Jaeger <aj@suse.de>
4552 * crypt/md5test2.c: New test, based on test supplied by Serge
4553 Belyshev <belyshev@depni.sinp.msu.ru>.
4554 * crypt/Makefile (xtests): Add md5test-giant..
4555 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4557 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4560 * crypt/md5.c (md5_process_block): Don't assume the buffer
4561 length is less than 2**32.
4562 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4563 length is less than 2**64.
4565 2012-08-15 Roland McGrath <roland@hack.frob.com>
4567 * string/str-two-way.h: Include <sys/param.h>.
4568 (MAX): Macro removed.
4570 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4571 Move #define and #undef of memmove to just before and after
4572 including <string.h>.
4574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4575 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4576 and after including <string.h>. Move declarations of
4577 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4578 to before #include "string/memmove.c".
4580 * include/dirent.h: Declare __getdirentries.
4582 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4583 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4585 2012-08-14 Mike Frysinger <vapier@gentoo.org>
4587 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4588 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4589 * sysdeps/i386/configure: Regenerated.
4590 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4591 STABS_CURRENT_FILE, and STABS_FUN.
4592 (END): Remove call to STABS_FUN_END.
4593 (STABS_CURRENT_FILE1): Delete.
4594 (STABS_CURRENT_FILE): Likewise.
4595 (STABS_FUN): Likewise.
4596 (STABS_FUN_END): Likewise.
4597 (STABS_FUN2): Likewise.
4598 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4599 * sysdeps/x86_64/configure: Regenerated.
4601 2012-08-14 Roland McGrath <roland@hack.frob.com>
4603 * elf/dl-open.c: Include <atomic.h>.
4604 * elf/dl-lookup.c: Likewise.
4606 2012-08-14 Joseph Myers <joseph@codesourcery.com>
4608 * sysdeps/unix/sysv/linux/kernel-features.h
4609 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4610 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4612 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4614 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4615 condition on __ASSUME_CLONE_THREAD_FLAGS.
4617 2012-08-14 Andreas Jaeger <aj@suse.de>
4619 * sysdeps/i386/fpu/libm-test-ulps: Update.
4621 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4623 * include/atomic.h (atomic_exchange_and_add): Split into ...
4624 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4627 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4631 2012-08-13 Jeff Law <law@redhat.com>
4633 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4634 null byte in the output string.
4636 2012-08-10 Joseph Myers <joseph@codesourcery.com>
4638 * sysdeps/unix/sysv/linux/kernel-features.h
4639 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4640 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4641 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4643 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4644 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4645 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4647 2012-08-09 Jeff Law <law@redhat.com>
4650 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4651 When avoid_arena is set, don't retry in the that arena. Pick the
4652 next one, whatever it might be.
4653 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4654 (arena_lock): Pass in new parameter to arena_get2.
4655 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4657 (__libc_malloc): Unify retrying after main arena failure with
4658 __libc_memalign version.
4659 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4661 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4664 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4665 to __redirect_strstr.
4666 (__strstr_sse42): Use typeof __redirect_strstr.
4667 (__strstr_ia32): Likewise.
4668 (__libc_strstr): New prototype.
4669 (strstr): Renamed to ...
4670 (__libc_strstr): This.
4671 (strstr): New strong alias of __libc_strstr.
4672 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4676 (__libc_time): New prototype.
4677 (time_ifunc): Replace time with __libc_time.
4678 (time): New strong alias and hidden definition of __libc_time.
4679 (__GI_time): Remove strong alias.
4680 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4682 (memmove): Redefined to __redirect_memmove.
4683 (__memmove_sse2): Use typeof __redirect_memmove.
4684 (__memmove_ssse3): Likewise.
4685 (__memmove_ssse3_back): Likewise.
4686 (__libc_memmove): New prototype.
4687 (memmove): Renamed to ...
4688 (__libc_memmove): This.
4689 (memmove): New strong alias of __libc_memmove.
4691 2012-08-08 Mark Salter <msalter@redhat.com>
4694 (R_MN10300_TLS_GD): Define.
4695 (R_MN10300_TLS_LD): Likewise.
4696 (R_MN10300_TLS_LDO): Likewise.
4697 (R_MN10300_TLS_GOTIE): Likewise.
4698 (R_MN10300_TLS_IE): Likewise.
4699 (R_MN10300_TLS_LE): Likewise.
4700 (R_MN10300_TLS_DTPMOD): Likewise.
4701 (R_MN10300_TLS_DTPOFF): Likewise.
4702 (R_MN10300_TLS_TPOFF): Likewise.
4703 (R_MN10300_SYM_DIFF): Likewise.
4704 (R_MN10300_ALIGN): Likewise.
4705 (R_MN10300_NUM): Update.
4707 2012-08-08 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4712 2012-08-08 Roland McGrath <roland@hack.frob.com>
4714 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4716 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4717 sysdeps/unix -> sysdeps/posix move.
4718 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4720 2012-08-07 Allan McRae <allan@archlinux.org>
4723 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4724 (SUNOS_CPP): Likewise.
4725 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4727 (open_input): Call CPP using execvp.
4729 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/unix/sysv/linux/kernel-features.h
4732 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4733 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4734 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4735 (__ASSUME_WAITID_SYSCALL): Likewise.
4736 * sysdeps/unix/sysv/linux/dl-execstack.c
4737 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4739 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4741 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4742 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4743 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4745 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4747 [__ASSUME_WAITID_SYSCALL]: Likewise.
4748 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4750 2012-08-07 Roland McGrath <roland@hack.frob.com>
4752 * sysdeps/unix/closedir.c: Renamed to ...
4753 * sysdeps/posix/closedir.c: ... here.
4754 * sysdeps/unix/dirfd.c: Renamed to ...
4755 * sysdeps/posix/dirfd.c: ... here.
4756 * sysdeps/unix/dirstream.h: Renamed to ...
4757 * sysdeps/posix/dirstream.h: ... here.
4758 * sysdeps/unix/fdopendir.c: Renamed to ...
4759 * sysdeps/posix/fdopendir.c: ... here.
4760 * sysdeps/unix/opendir.c: Renamed to ...
4761 * sysdeps/posix/opendir.c: ... here.
4762 * sysdeps/unix/readdir.c: Renamed to ...
4763 * sysdeps/posix/readdir.c: ... here.
4764 * sysdeps/unix/readdir_r.c: Renamed to ...
4765 * sysdeps/posix/readdir_r.c: ... here.
4766 * sysdeps/unix/rewinddir.c: Renamed to ...
4767 * sysdeps/posix/rewinddir.c: ... here.
4768 * sysdeps/unix/seekdir.c: Renamed to ...
4769 * sysdeps/posix/seekdir.c: ... here.
4770 * sysdeps/unix/telldir.c: Renamed to ...
4771 * sysdeps/posix/telldir.c: ... here.
4772 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4773 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4774 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4775 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4777 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4778 * bits/fcntl.h: ... here.
4780 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4782 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4783 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4784 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4785 (struct flock): Move l_start, l_len to the beginning.
4786 Use __pid_t for l_pid.
4787 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4788 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4789 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4790 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4791 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4792 [__USE_LARGEFILE64] (struct flock64): New type.
4793 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4795 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4796 * bits/dirent.h: ... here.
4798 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4799 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4801 2012-08-07 Joseph Myers <joseph@codesourcery.com>
4803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4804 Change from 2.6.0 to 2.6.16.
4805 * sysdeps/unix/sysv/linux/configure: Regenerated.
4806 * sysdeps/unix/sysv/linux/kernel-features.h
4807 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4808 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4810 (__ASSUME_UTIMES): Likewise.
4811 (__ASSUME_CLONE_STOPPED): Remove.
4812 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4813 architectures, not kernel version.
4814 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4815 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4816 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4817 (__ASSUME_WAITID_SYSCALL): Likewise.
4818 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4819 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4820 * README: State 2.6.16 as minimum Linux kernel version. Do not
4821 refer to older versions.
4823 2012-08-06 Roland McGrath <roland@hack.frob.com>
4825 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4826 Define alphasort64 as an alias.
4827 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4828 Define versionsort64 as an alias.
4829 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4830 Define scandir64 as an alias.
4831 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4832 Define scandirat64 as an alias.
4833 * dirent/alphasort64.c (alphasort64):
4834 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4835 * dirent/versionsort64.c: Likewise.
4836 * dirent/scandir64.c: Likewise.
4837 * dirent/scandirat64.c: Likewise.
4838 * sysdeps/wordsize-64/alphasort.c: File removed.
4839 * sysdeps/wordsize-64/alphasort64.c: File removed.
4840 * sysdeps/wordsize-64/scandir.c: File removed.
4841 * sysdeps/wordsize-64/scandir64.c: File removed.
4842 * sysdeps/wordsize-64/scandirat.c: File removed.
4843 * sysdeps/wordsize-64/scandirat64.c: File removed.
4844 * sysdeps/wordsize-64/versionsort.c: File removed.
4845 * sysdeps/wordsize-64/versionsort64.c: File removed.
4846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4855 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4857 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4859 [defined __arch64__ || defined __sparcv9]
4860 (__INO_T_MATCHES_INO64_T): New macro.
4861 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4862 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4863 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4864 * sysdeps/unix/sysv/linux/bits/dirent.h
4865 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4866 (_DIRENT_MATCHES_DIRENT64): New macro.
4868 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4869 Define lockf64 as an alias.
4870 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4871 Define fseeko64 as an alias.
4872 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4873 Define ftello64 as an alias.
4874 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4875 Define _IO_fgetpos64 and fgetpos64 as aliases.
4876 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4877 Define _IO_fsetpos64 and fsetpos64 as aliases.
4878 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4879 Conditionalize body on this.
4880 * libio/fseeko64.c: Likewise.
4881 * libio/ftello64.c: Likewise.
4882 * libio/iofgetpos64.c: Likewise.
4883 * libio/iofsetpos64.c: Likewise.
4884 * sysdeps/wordsize-64/lockf.c: File removed.
4885 * sysdeps/wordsize-64/lockf64.c: File removed.
4886 * sysdeps/wordsize-64/fseeko.c: File removed.
4887 * sysdeps/wordsize-64/fseeko64.c: File removed.
4888 * sysdeps/wordsize-64/ftello.c: File removed.
4889 * sysdeps/wordsize-64/ftello64.c: File removed.
4890 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4891 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4892 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4893 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4901 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4905 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4907 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4909 [defined __arch64__ || defined __sparcv9]
4910 (__OFF_T_MATCHES_OFF64_T): New macro.
4911 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4912 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4914 (__OFF_T_MATCHES_OFF64_T): New macro.
4916 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4918 * stdlib/secure-getenv.c (__secure_getenv): Replace
4919 GLIBC_2_16 with GLIBC_2_17.
4921 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4924 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4926 2012-08-03 David S. Miller <davem@davemloft.net>
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4930 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4934 (__ASSUME_CORRECT_SI_PID): Likewise.
4935 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4936 (__ASSUME_TMPFS_NAME): Likewise.
4937 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4938 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4939 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4940 (HAVE_AUX_SECURE): Make definition unconditional.
4941 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4942 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4944 2012-08-03 Roland McGrath <roland@hack.frob.com>
4946 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4947 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4948 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4949 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4950 __eloop_threshold instead of SYMLOOP_MAX.
4952 * sysdeps/generic/eloop-threshold.h: New file.
4953 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4955 * elf/chroot_canon.c (chroot_canon): Likewise.
4957 2012-08-03 Joseph Myers <joseph@codesourcery.com>
4960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4961 Change to 2.6.0 everywhere.
4962 * sysdeps/unix/sysv/linux/configure: Regenerated.
4963 * sysdeps/unix/sysv/linux/kernel-features.h
4964 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4965 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4967 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4968 (__ASSUME_FUTEX_REQUEUE): Remove.
4969 (__ASSUME_STATFS64): Define unconditionally.
4970 (__ASSUME_AT_SECURE): Likewise.
4971 (__ASSUME_CORRECT_SI_PID): Likewise.
4972 (__ASSUME_TGKILL): Define without depending on kernel version for
4974 (__ASSUME_UTIMES): Likewise.
4975 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4977 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4978 (__ASSUME_TMPFS_NAME): Likewise.
4979 * README: Update reference to Linux kernel versions.
4981 2012-08-02 Marek Polacek <polacek@redhat.com>
4984 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4985 libc_cv_asm_type_prefix with %.
4986 * configure: Regenerated.
4987 * include/libc-symbols.h: Remove comment about
4988 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4989 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4990 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4991 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4992 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4993 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4994 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4995 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4996 * elf/tst-unique2mod1.c: Likewise.
4997 * elf/tst-unique1mod2.c: Likewise.
4998 * elf/tst-unique1mod1.c: Likewise.
4999 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5000 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5001 Replace ASM_TYPE_DIRECTIVE with .type.
5002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5003 * sysdeps/i386/sysdep.h: Likewise.
5004 * sysdeps/x86_64/sysdep.h: Likewise.
5005 * sysdeps/sh/sysdep.h: Likewise.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5007 Do not define ASM_TYPE_DIRECTIVE.
5008 * sysdeps/powerpc/sysdep.h: Likewise.
5009 * sysdeps/powerpc/powerpc32/sysdep.h:
5010 Replace ASM_TYPE_DIRECTIVE with .type.
5011 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5012 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5013 * sysdeps/i386/fpu/e_powf.S: Likewise.
5014 * sysdeps/i386/fpu/e_expl.S: Likewise.
5015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5017 * sysdeps/i386/fpu/e_pow.S: Likewise.
5018 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5019 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5020 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5021 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5022 * sysdeps/i386/fpu/e_log2.S: Likewise.
5023 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5024 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5025 * sysdeps/i386/fpu/e_powl.S: Likewise.
5026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5027 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5028 * sysdeps/i386/fpu/e_logl.S: Likewise.
5029 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5030 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5031 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5032 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5033 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5034 * sysdeps/i386/fpu/e_log.S: Likewise.
5035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5036 * sysdeps/i386/fpu/e_logf.S: Likewise.
5037 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5038 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5039 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5040 * sysdeps/i386/fpu/e_log10.S: Likewise.
5041 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5042 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5043 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5044 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5046 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5047 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5048 * sysdeps/i386/i686/strtok.S: Likewise.
5049 * sysdeps/i386/i386-mcount.S: Likewise.
5050 * sysdeps/i386/strtok.S: Likewise.
5051 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5052 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5054 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5055 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5056 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5057 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5058 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5060 * sysdeps/x86_64/_mcount.S: Likewise.
5061 * sysdeps/x86_64/strtok.S: Likewise.
5062 * sysdeps/sh/_mcount.S: Likewise.
5064 2012-08-01 Roland McGrath <roland@hack.frob.com>
5066 * libio/iofopen.c: Include <fcntl.h>.
5067 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5068 (_IO_fopen64, fopen64): Define as aliases.
5069 * libio/iofopen64.c: Include <fcntl.h>.
5070 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5071 Conditionalize body on this.
5072 * sysdeps/wordsize-64/iofopen.c: File removed.
5073 * sysdeps/wordsize-64/iofopen64.c: File removed.
5075 2012-08-01 Marek Polacek <polacek@redhat.com>
5077 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5078 Use dlfcn directly instead of a variable.
5079 (binfmt-subdir): Do not define.
5082 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5085 Remove all definitions.
5086 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5087 <kernel-features.h>.
5088 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5089 (miss_F_GETOWN_EX): Remove all definitions.
5090 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5092 [!__ASSUME_FCNTL64]: Remove conditional code.
5093 [__ASSUME_FCNTL64]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5095 <kernel-features.h>.
5096 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5097 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5098 (lockf64) [__NR_fcntl64]: Make code unconditional.
5099 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5101 * sysdeps/unix/sysv/linux/kernel-features.h
5102 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5103 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5104 Make code unconditional.
5105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5108 [__NR_vfork]: Make code unconditional.
5109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5112 [__NR_vfork]: Make code unconditional.
5113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5116 2012-08-01 Roland McGrath <roland@hack.frob.com>
5118 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5119 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5121 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5122 Define mkstemp64 as an alias.
5123 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5124 Define mkstemps64 as an alias.
5125 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5126 Define mkostemp64 as an alias.
5127 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5128 Define mkostemps64 as an alias.
5129 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5130 Conditionalize body on this.
5131 * misc/mkostemp64.c: Likewise.
5132 * misc/mkostemps64.c: Likewise.
5133 * misc/mkstemps64.c: Likewise.
5134 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5135 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5136 * sysdeps/wordsize-64/mkostemp.c: File removed.
5137 * sysdeps/wordsize-64/mkstemp.c: File removed.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5141 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5144 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5145 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5146 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5147 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5149 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5150 compat_symbol macros from <shlib-compat.h> rather than the underlying
5151 default_symbol_version and symbol_version macros, so that DEFAULT
5152 lines in shlib-versions are respected.
5153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5155 2012-08-01 Florian Weimer <fweimer@redhat.com>
5157 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5158 Declare with warn_unused_result.
5159 (setgid, setregid, setegid, setresgid): Likewise.
5160 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5162 * WUR-REPORT: Remove set*id functions.
5164 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5166 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5168 2012-07-31 Roland McGrath <roland@hack.frob.com>
5170 * include/sys/socket.h (__libc_accept, __libc_accept4):
5171 Add attribute_hidden.
5172 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5174 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5176 * inet/getnetgrent_r.c (setup): Likewise.
5178 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5180 2012-07-31 David S. Miller <davem@davemloft.net>
5182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5184 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5187 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5188 value between 1.0 and 2.0 and smaller part has absolute value less
5190 * math/s_clog10.c (__clog10): Likewise.
5191 * math/s_clog10f.c (__clog10f): Likewise.
5192 * math/s_clog10l.c (__clog10l): Likewise.
5193 * math/s_clogf.c (__clogf): Likewise.
5194 * math/s_clogl.c (__clogl): Likewise.
5195 * math/libm-test.inc (clog_test): Add more tests.
5196 (clog10_test): Likewise.
5197 * sysdeps/i386/fpu/libm-test-ulps: Update.
5198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5200 2012-07-31 Florian Weimer <fweimer@redhat.com>
5202 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5203 Exit with zero in case no suitable GID is found, and write a
5204 message to standard error.
5206 2012-07-30 Roland McGrath <roland@hack.frob.com>
5208 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5210 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5211 (MAXPATHLEN): Removed.
5212 (NOGROUP, NODEV): New macros.
5213 (setbit, clrbit, isset, isclr): New macros.
5214 (howmany, roundup, powerof2): New macros.
5215 (DEV_BSIZE): New macro.
5217 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5218 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5220 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5221 definition on [!__NO_LONG_DOUBLE_MATH].
5223 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5224 PTR_MANGLE and PTR_DEMANGLE.
5226 * socket/accept4.c (accept4): Rename to __libc_accept4.
5227 Define accept4 as a weak alias.
5229 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5230 on [_DIRENT_HAVE_D_TYPE].
5231 * io/ftw.c (ftw_dir): Likewise.
5233 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5235 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5237 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5238 Use the BSD numbers rather than the arbitrary ones we had.
5239 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5240 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5241 (SIGXCPU, SIGXFSZ): New macros.
5244 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5245 initializer on [_LIBC_REENTRANT].
5247 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5248 definitions inside [_POSIX_MAPPED_FILES].
5250 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5252 * dirent/opendir.c: Include <fcntl.h>.
5254 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5255 (__libc_getspecific): Likewise.
5256 (__libc_key_create): Likewise.
5258 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5259 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5260 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5261 (tmpfile64): Define as alias.
5262 * sysdeps/wordsize-64/tmpfile.c: File removed.
5263 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5267 * stdio-common/vfscanf.c: Include <stdbool.h>.
5268 * nss/makedb.c: Likewise.
5269 * stdio-common/_i18n_number.h: Likewise.
5270 * argp/argp-help.c: Likewise.
5271 * posix/wordexp.c: Likewise.
5272 * sysdeps/posix/spawni.c: Likewise.
5273 * nss/nss_files/files-initgroups.c: Likewise.
5274 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5275 * nss/nss_files/files-initgroups.c: Likewise.
5276 * nss/nss_db/db-netgrp.c: Likewise.
5277 * nss/nss_db/db-initgroups.c: Likewise.
5278 * io/fchmodat.c: Include <sys/stat.h>.
5280 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5281 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5283 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5286 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5287 Add multiple inclusion protection.
5289 2012-07-27 David S. Miller <davem@davemloft.net>
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5293 2012-07-27 Gary Benson <gbenson@redhat.com>
5296 * elf/rtld.c: Include <stap-probe.h>.
5297 (dl_main): Added static probes "init_start" and "init_complete".
5298 * elf/dl-load.c: Include <stap-probe.h>.
5299 (lose): Take new parameter "nsid".
5300 Added static probe "map_failed".
5301 (_dl_map_object_from_fd): Pass namespace id to lose.
5302 Added static probe "map_start".
5303 (open_verify): Pass namespace id to lose.
5304 * elf/dl-open.c: Include <stap-probe.h>.
5305 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5306 and "reloc_complete".
5307 * elf/dl-close.c: Include <stap-probe.h>.
5308 (_dl_close_worker): Added static probes "unmap_start" and
5310 * elf/rtld-debugger-interface.txt: New file documenting the above.
5312 2012-07-26 Roland McGrath <roland@hack.frob.com>
5314 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5315 rather than a string variable.
5316 * sunrpc/rpc_main.c (h_output): Likewise.
5317 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5319 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5321 * inet/check_native.c: New file.
5323 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5326 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5327 if larger part has absolute value 1.0.
5328 * math/s_clog10.c (__clog10): Likewise.
5329 * math/s_clog10f.c (__clog10f): Likewise.
5330 * math/s_clog10l.c (__clog10l): Likewise.
5331 * math/s_clogf.c (__clogf): Likewise.
5332 * math/s_clogl.c (__clogl): Likewise.
5333 * math/libm-test.inc (clog_test): Add more tests.
5334 (clog10_test): Likewise.
5335 * sysdeps/i386/fpu/libm-test-ulps: Update.
5336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5338 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5339 (pltexit): Likewise.
5340 (La_regs): Likewise.
5341 (La_retval): Likewise.
5342 (int_retval): Likewise.
5343 Update #error for removed macros to refer only to definitions in
5345 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5347 (pltexit): Likewise.
5348 (La_regs): Likewise.
5349 (La_retval): Likewise.
5350 (int_retval): Likewise.
5351 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5353 (pltexit): Likewise.
5354 (La_regs): Likewise.
5355 (La_retval): Likewise.
5356 (int_retval): Likewise.
5357 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5359 (pltexit): Likewise.
5360 (La_regs): Likewise.
5361 (La_retval): Likewise.
5362 (int_retval): Likewise.
5363 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5365 (pltexit): Likewise.
5366 (La_regs): Likewise.
5367 (La_retval): Likewise.
5368 (int_retval): Likewise.
5369 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5371 (pltexit): Likewise.
5372 (La_regs): Likewise.
5373 (La_retval): Likewise.
5374 (int_retval): Likewise.
5375 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5377 (pltexit): Likewise.
5378 (La_regs): Likewise.
5379 (La_retval): Likewise.
5380 (int_retval): Likewise.
5381 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5382 macro definitions in tst-audit.h.
5383 * sysdeps/i386/tst-audit.h: New file.
5384 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5385 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5386 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5387 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5388 * sysdeps/sh/tst-audit.h: Likewise.
5389 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5390 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5391 * sysdeps/x86_64/tst-audit.h: Likewise.
5393 2012-07-26 Andreas Jaeger <aj@suse.de>
5395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5398 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5399 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5400 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5402 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5403 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5404 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5409 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5411 (si_call_addr, si_syscall, si_arch): Define new macro.
5412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5414 (si_call_addr, si_syscall, si_arch): Define new marcro.
5415 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5417 (si_call_addr, si_syscall, si_arch): Define new macro.
5418 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5420 (si_call_addr, si_syscall, si_arch): Define new macro.
5422 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5425 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5426 Change to 2.4.21 where previously 2.4.1.
5427 * sysdeps/unix/sysv/linux/configure: Regenerated.
5428 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5429 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5430 Linux kernel version.
5431 (__ASSUME_STD_AUXV): Remove.
5432 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5434 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5435 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5436 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5437 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5438 (__ASSUME_NETLINK_SUPPORT): Likewise.
5439 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5440 (__no_netlink_support): Remove conditional definition.
5441 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5443 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5444 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5445 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5446 (if_nameindex_ioctl): Remove.
5447 (if_nameindex_netlink): Do not handle __no_netlink_support.
5448 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5450 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5451 Remove conditional code.
5452 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5454 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5456 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5457 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5458 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5460 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5461 [!__ASSUME_STD_AUXV]: Remove conditional code.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5463 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5464 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5466 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5467 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5469 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5471 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5474 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5476 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5479 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5482 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5484 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5486 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5488 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5491 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5493 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5496 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5498 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5500 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5502 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5505 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5507 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5509 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5511 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5514 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5516 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5517 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5518 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5519 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5521 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5522 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5523 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5524 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5525 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5526 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5527 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5528 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5529 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5530 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5531 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5532 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5536 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5537 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5538 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5540 2012-07-25 Florian Weimer <fweimer@redhat.com>
5542 * Versions.def: Add GLIBC_2.17.
5543 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5544 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5545 Introduce __libc_secure_getenv.
5546 * stdlib/Versions (2.17): Add secure_getenv
5547 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5548 * stdlib/secure-getenv.c: Rename __secure_getenv to
5549 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5550 symbol __secure_getenv for GLIBC_2.0.
5551 * stdlib/tst-secure-getenv.c: New.
5552 * stdlib/Makefile (tests): Add testcase.
5553 * manual/startup.texi (Environment Access): Document
5555 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5556 __libc_secure_getenv.
5557 * inet/ruserpass.c (ruserpass): Likewise.
5558 * malloc/mtrace.c (mtrace): Likewise.
5559 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5560 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5561 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5562 * sysdeps/posix/tempname.c: Likewise. Evaluate
5564 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5565 __secure_getenv to __libc_secure_getenv.
5566 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5579 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5581 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5582 (struct La_i86_retval): Likewise.
5583 (struct La_x86_64_regs): Likewise.
5584 (struct La_x86_64_retval): Likewise.
5585 (struct La_x32_regs): Likewise.
5586 (struct La_x32_retval): Likewise.
5587 (struct La_ppc32_regs): Likewise.
5588 (struct La_ppc32_retval): Likewise.
5589 (struct La_ppc64_regs): Likewise.
5590 (struct La_ppc64_retval): Likewise.
5591 (struct La_sh_regs): Likewise.
5592 (struct La_sh_retval): Likewise.
5593 (struct La_s390_32_regs): Likewise.
5594 (struct La_s390_32_retval): Likewise.
5595 (struct La_s390_64_regs): Likewise.
5596 (struct La_s390_64_retval): Likewise.
5597 (struct La_sparc32_regs): Likewise.
5598 (struct La_sparc32_retval): Likewise.
5599 (struct La_sparc64_regs): Likewise.
5600 (struct La_sparc64_retval): Likewise.
5601 (struct audit_ifaces): Remove architecture-specific pltenter and
5603 * sysdeps/i386/ldsodefs.h: New file.
5604 * sysdeps/powerpc/ldsodefs.h: Likewise.
5605 * sysdeps/s390/ldsodefs.h: Likewise.
5606 * sysdeps/sh/ldsodefs.h: Likewise.
5607 * sysdeps/sparc/ldsodefs.h: Likewise.
5608 * sysdeps/x86_64/ldsodefs.h: Likewise.
5610 2012-07-25 Marek Polacek <polacek@redhat.com>
5613 * math/libm-test.inc (yn_test): Add another test.
5614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5615 to ERANGE when the result is +-Inf.
5616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5617 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5618 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5619 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5621 2012-07-24 Joseph Myers <joseph@codesourcery.com>
5623 * conform/data/time.h-data (NULL): Use macro-constant. Require
5625 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5627 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5629 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5631 * configure.in <sysdeps resolving>: Correct printing
5633 * configure: Regenerate.
5635 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5637 * math/w_ilogb.c: Include <limits.h>.
5638 * math/w_ilogbl.c: Likewise.
5640 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5642 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5643 va_copy. Document allowing for unavailable va_copy only as
5644 pre-C99 compatibility.
5645 * manual/string.texi (Copying and Concatenation): Use va_copy
5646 instead of __va_copy in concat example.
5648 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5650 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5651 (__sendto): Use create_address_port. Initialize APORT and deallocate
5654 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5655 with O_NOLINK passed to __file_name_lookup.
5657 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5658 with O_NOLINK passed to __file_name_lookup.
5660 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5661 negative N or less than NGIDS.
5663 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5664 type to string_t. Set ERANGE as errno and return it if NAME is not big
5665 enough. Use memcpy instead of strncpy.
5667 2012-07-20 Joseph Myers <joseph@codesourcery.com>
5669 * elf/Makefile (check-data): Remove.
5670 (localplt.data): New vpath directive.
5671 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5672 instead of $(check-data).
5673 * scripts/data/localplt-generic.data: Move to ...
5674 * sysdeps/generic/localplt.data: ... here.
5675 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5676 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5677 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5680 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5683 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5686 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5689 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5692 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5696 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5698 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5699 PPC32 and PPC64 files.
5700 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5701 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5703 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5705 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5706 __makecontext_ret to ...
5707 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5708 ... here and call exit if uc_link is NULL. New file.
5709 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5710 __makecontext_ret.S.
5711 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5712 __makecontext_ret to ...
5713 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5714 ... here and call exit if uc_link is NULL. New file.
5715 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5716 __makecontext_ret.S.
5718 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5720 * elf/elf.h (R_390_IRELATIVE): New definition.
5721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5722 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5723 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5725 (elf_machine_lazy_rel): Likewise.
5726 * sysdeps/s390/dl-irel.h: New file.
5727 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5728 * sysdeps/s390/s390-64/memset.S: New asm code.
5729 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5730 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5731 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5732 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5733 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5734 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5735 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5736 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5737 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5738 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5739 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5740 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5741 * sysdeps/s390/s390-32/memset.S: New asm code.
5742 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5744 2012-07-17 Marek Polacek <polacek@redhat.com>
5747 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5748 * sysdeps/s390/s390-64/configure.in: Likewise.
5749 * sysdeps/sparc/configure.in: Likewise.
5750 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5751 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5752 * sysdeps/i386/configure.in: Likewise.
5753 * sysdeps/x86_64/configure.in: Likewise.
5754 * sysdeps/sh/configure.in: Likewise.
5755 * sysdeps/s390/s390-32/configure: Regenerated.
5756 * sysdeps/s390/s390-64/configure: Likewise.
5757 * sysdeps/x86_64/configure: Likewise.
5758 * sysdeps/sh/configure: Likewise.
5759 * sysdeps/powerpc/powerpc64/configure: Likewise.
5760 * sysdeps/powerpc/powerpc32/configure: Likewise.
5761 * sysdeps/sparc/configure: Likwise.
5762 * sysdeps/i386/configure: Likewise.
5764 * elf/dl-open.c: Comment fixes.
5766 2012-07-17 Joseph Myers <joseph@codesourcery.com>
5768 * Makefile [CXX] (check-data): Remove.
5769 [CXX] (c++-types.data): New vpath directive.
5770 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5771 vpath. Do not allow for C++ type data being missing.
5772 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5773 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5774 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5775 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5776 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5777 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5778 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5781 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5784 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5787 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5790 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5793 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5796 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5799 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5802 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5803 definitions to architecture-specific files.
5807 * sysdeps/i386/tls-macros.h: New file.
5808 * sysdeps/powerpc/tls-macros.h: Likewise.
5809 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5810 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5811 * sysdeps/sh/tls-macros.h: Likewise.
5812 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5813 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5814 * sysdeps/x86_64/tls-macros.h: Likewise.
5816 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5818 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5819 zero value for regular exit case.
5821 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5822 (__start_context): Preserve zero value for regular exit case.
5824 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5825 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5827 * manual/setjmp.texi (setcontext): Clarify normal process
5828 termination when uc_link is the null pointer.
5829 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5832 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5834 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5835 preprocessor. Test for each exception mask separately.
5837 2012-07-16 Andreas Jaeger <aj@suse.de>
5839 * po/ru.po: Update from translation team.
5841 2012-07-15 Joseph Myers <joseph@codesourcery.com>
5843 * conform/data/string.h-data (NULL): Use macro-constant. Require
5845 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5846 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5847 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5848 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5851 2012-07-13 Andreas Jaeger <aj@suse.de>
5853 * po/fr.po: Update from translation team.
5855 2012-07-12 Marek Polacek <polacek@redhat.com>
5858 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5859 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5862 2012-07-12 Joseph Myers <joseph@codesourcery.com>
5865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5866 Change to 2.4.1 where previously 2.4.0.
5867 * sysdeps/unix/sysv/linux/configure: Regenerated.
5868 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5869 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5871 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5872 (__ASSUME_AT_CLKTCK): Remove.
5873 (__ASSUME_AT_PAGESIZE): Likewise.
5874 (__ASSUME_AT_XID): Likewise.
5875 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5876 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5877 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5879 (HAVE_AUX_PAGESIZE): Likewise.
5880 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5881 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5882 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5884 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5888 the temporary buffer used to invoke __gethostbyname2_r,
5889 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5890 host_data / struct gaih_addrtuple.
5891 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5892 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5893 header file nss/nsswitch.h.
5894 * nss/nsswitch.h (global scope): Add definition of implementation
5895 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5896 resolv/nss_dns/dns-host.c).
5898 2012-07-11 Andreas Jaeger <aj@suse.de>
5900 * po/fr.po: Update from translation team.
5902 * po/sv.po: Update from translation team
5903 * po/fr.po: Another update from translation team.
5905 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5907 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5908 for subnormals or multiply small sinh result by itself.
5909 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5912 2012-07-11 David S. Miller <davem@davemloft.net>
5914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5916 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5919 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5920 (INTERNAL_MARK): Shift it here.
5922 2012-07-10 Marek Polacek <polacek@redhat.com>
5925 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5926 libc_cv_asm_global_directive with .globl.
5927 * configure: Regenerated.
5928 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5930 * sysdeps/i386/configure: Regenerated.
5931 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5933 * sysdeps/x86_64/configure: Regenerated.
5934 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5935 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5936 * elf/tst-unique2mod2.c: Likewise.
5937 * elf/tst-unique2mod1.c: Likewise.
5938 * elf/tst-unique1mod2.c: Likewise.
5939 * elf/tst-unique1mod1.c: Likewise.
5940 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5941 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5943 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5944 * sysdeps/mach/sysdep.h: Likewise.
5945 * sysdeps/i386/sysdep.h: Likewise.
5946 * sysdeps/i386/i386-mcount.S: Likewise.
5947 * sysdeps/x86_64/_mcount.S: Likewise.
5948 * sysdeps/x86_64/sysdep.h: Likewise.
5949 * sysdeps/sh/_mcount.S: Likewise.
5950 * sysdeps/sh/sysdep.h: Likewise.
5951 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5952 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5953 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5954 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5955 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5956 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5957 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5958 * locale/localeinfo.h: Likewise.
5959 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5960 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5962 2012-07-09 Roland McGrath <roland@hack.frob.com>
5965 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5967 * manual/message.texi (The Uniforum approach): Likewise.
5968 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5969 (glibc iconv Implementation): Likewise.
5971 2012-07-09 Joseph Myers <joseph@codesourcery.com>
5974 * math/s_clog.c (__clog): Avoid scaling a value down where that
5975 could result in underflow.
5976 * math/s_clog10.c (__clog10): Likewise.
5977 * math/s_clog10f.c (__clog10f): Likewise.
5978 * math/s_clog10l.c (__clog10l): Likewise.
5979 * math/s_clogf.c (__clogf): Likewise.
5980 * math/s_clogl.c (__clogl): Likewise.
5981 * math/libm-test.inc (clog_test): Add more tests.
5982 (clog10_test): Likewise.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5989 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5990 by 7 not 8 to examine high bit of fractional part.
5993 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5994 for call to __mcount_internal.
5995 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5996 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5997 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5999 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6002 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6003 approximation for values within 0x1p-13f of an odd multiple of
6005 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6006 exception. Add more tests.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6011 inputs and return -1 for them. Do not check for +Inf in case not
6013 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6014 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6016 and return -1 for them. Do not check for +Inf in case not
6018 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6020 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6021 and return -1 for them. Do not check for +Inf in case not
6023 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6025 * sysdeps/i386/fpu/libm-test-ulps: Update.
6026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6028 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6030 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6032 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6036 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6037 could result in spurious underflow. Scale down values above
6038 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6039 * math/s_csqrtf.c (__csqrtf): Likewise.
6040 * math/s_csqrtl.c (__csqrtl): Likewise.
6041 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6043 * sysdeps/i386/fpu/libm-test-ulps: Update.
6044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6046 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6048 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6050 * catgets/xopen-msg.awk: New file.
6051 * catgets/xopen-msg.sed: Removed.
6053 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6055 * intl/po2test.awk: New file.
6056 * intl/po2test.sed: Removed.
6058 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6061 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6062 or multiply small sinh result by itself.
6063 * math/s_ctanf.c (__ctanf): Likewise.
6064 * math/s_ctanh.c (__ctanh): Likewise.
6065 * math/s_ctanhf.c (__ctanhf): Likewise.
6066 * math/s_ctanhl.c (__ctanhl): Likewise.
6067 * math/s_ctanl.c (__ctanl): Likewise.
6068 * math/libm-test.inc (ctan_test_tonearest): New function.
6069 (ctan_test_towardzero): Likewise.
6070 (ctan_test_downward): Likewise.
6071 (ctan_test_upward): Likewise.
6072 (ctanh_test_tonearest): Likewise.
6073 (ctanh_test_towardzero): Likewise.
6074 (ctanh_test_downward): Likewise.
6075 (ctanh_test_upward): Likewise.
6076 (main): Call these new functions.
6077 * sysdeps/i386/fpu/libm-test-ulps: Update.
6078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6080 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6082 * .gitignore: Delete /ports entry.
6084 2012-07-03 Andreas Jaeger <aj@suse.de>
6086 * po/bg.po: Update from translation team.
6087 * po/cs.po: Likewise.
6088 * po/de.po: Likewise.
6089 * po/hr.po: Likewise.
6090 * po/nl.pl: Likewise.
6091 * po/pl.po: Likewise.
6092 * po/vi.po: Likewise.
6094 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6096 * Makeconfig [!+link] (+link-before-libc): New variable.
6097 [!+link] (+link-after-libc): Likewise.
6098 [!+link] (+link-tests): Likewise.
6099 [!+link] (+link): Define in terms of $(+link-before-libc) and
6100 $(+link-after-libc).
6101 [!+link-static] (+link-static-before-libc): New variable.
6102 [!+link-static] (+link-static-after-libc): Likewise.
6103 [!+link-static] (+link-static-tests): Likewise.
6104 [!+link-static] (+link-static): Define in terms of
6105 $(+link-static-before-libc) and $(+link-static-after-libc).
6106 [build-shared] (link-libc-before-gnulib): New variable.
6107 [build-shared] (link-libc-tests): Likewise.
6108 [build-shared] (link-libc): Define in terms of
6109 $(link-libc-before-gnulib).
6110 [!build-shared] (link-libc-tests): New variable.
6111 (link-libc-static-tests): New variable.
6112 [!gnulib] (gnulib-arch): New variable.
6113 [!gnulib] (gnulib-tests): Likewise.
6114 [!gnulib] (static-gnulib-arch): Likewise.
6115 [!gnulib] (static-gnulib-tests): Likewise.
6116 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6117 Define with "=" instead of ":=".
6118 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6119 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6120 * Rules (binaries-all-notests): New variable.
6121 (binaries-all-tests): Likewise.
6122 (binaries-static-notests): Likewise.
6123 (binaries-static-tests): Likewise.
6124 (binaries-all): Define using $(binaries-all-notests) and
6125 $(binaries-all-tests).
6126 (binaries-static): Define using $(binaries-static-notests) and
6127 $(binaries-static-tests).
6128 (binaries-shared-tests): New variable.
6129 (binaries-shared-notests): Likewise.
6130 (binaries-shared): Remove variable.
6131 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6132 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6133 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6134 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6135 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6136 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6137 * elf/Makefile (sln-modules): New variable.
6138 (extra-objs): Add $(sln-modules:=.o).
6139 (ldconfig-modules): Add static-stubs.
6140 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6141 * elf/static-stubs.c: New file.
6144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6145 by 7 not 8 to examine high bit of fractional part. Use volatile
6146 variables when splitting into final array of floats if
6147 __FLT_EVAL_METHOD__ != 0.
6148 * math/libm-test.inc (cos_test): Add another test.
6149 (sin_test): Likewise.
6150 * sysdeps/i386/fpu/libm-test-ulps: Update.
6153 * math/libm-test.inc (cosh_test): Add more tests.
6155 * version.h (RELEASE): Set to "development".
6156 (VERSION): Set to "2.16.90".
6158 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6160 * NEWS: Update copyright. Remove last-updated date.
6161 Mention math library bug fixes and timezone data changes.
6162 * README: Mention GNU/Hurd, x32, and HPPA support status.
6164 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6166 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6168 2012-06-27 Andreas Jaeger <aj@suse.de>
6170 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6172 2012-06-25 Andreas Jaeger <aj@suse.de>
6174 * sysdeps/s390/fpu/libm-test-ulps: Update.
6176 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6177 Thomas Schwinge <thomas@codesourcery.com>
6179 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6180 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6181 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6184 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6186 * sysdeps/mach/start.c: Remove file.
6187 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6188 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6189 * sysdeps/sh/init-first.c: Likewise.
6191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6192 registers for frame unwinding purposes, add CFI directives.
6193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6195 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6198 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6199 __fortify_fail returning.
6200 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6202 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6203 sysdeps/sh/____longjmp_chk.S.
6204 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6205 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6206 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6207 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6209 * sysdeps/sh/abort-instr.h: New file.
6210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6211 process in case exit returns.
6213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6214 initialize the GOT register before use.
6216 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6217 calculation of ARGC > 4.
6219 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6220 meaningful names to some local labels.
6222 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6223 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6225 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6226 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6227 (__arch_compare_and_exchange_val_16_acq): Likewise.
6228 (__arch_compare_and_exchange_val_32_acq): Likewise.
6229 (atomic_exchange_and_add): Fix gUSA sequence.
6230 (atomic_add): Likewise.
6231 (atomic_add_negative): Likewise.
6232 (atomic_add_zero): Likewise.
6233 (atomic_bit_test_set): Likewise.
6235 2012-06-22 Andreas Schwab <schwab@redhat.com>
6238 * include/link.h (struct link_map): Add l_free_initfini.
6239 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6241 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6242 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6243 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6246 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6248 * configure.in: Use AC_LANG_SOURCE.
6249 * configure: Regenerate.
6251 2012-06-22 Roland McGrath <roland@hack.frob.com>
6253 * configure.in (libc_cv_localstatedir): New substituted variable.
6254 * configure: Regenerated.
6255 * config.make.in (localstatedir): New variable, substituted from
6256 libc_cv_localstatedir.
6257 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6258 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6259 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6260 * sysdeps/gnu/configure: Regenerated.
6262 2012-06-21 Jeff Law <law@redhat.com>
6265 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6266 free. Simplify list management for _LIBC case.
6268 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6272 Clear sign bit of 64-bit integer value before comparing against
6275 * sysdeps/mach/configure: Regenerated.
6277 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6280 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6282 2012-06-21 Jeff Law <law@redhat.com>
6285 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6286 uint16_t for elements in the "seen" array to avoid char overflows.
6287 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6288 * elf/dl-open.c (dl_open_worker): Likewise.
6290 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6292 * scripts/list-sources.sh: Scan PORTS for translations.
6293 * po/libc.pot: Regenerated.
6295 2012-06-21 Andreas Jaeger <aj@suse.de>
6298 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6300 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6301 * bits/byteswap-16.h (__bswap_16): Likewise.
6302 * bits/byteswap.h (__bswap_constant_16): Likewise.
6304 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6307 * sysdeps/i386/fpu_control.h: Removed.
6308 * sysdeps/x86_64/fpu_control.h: Moved to ...
6309 * sysdeps/x86/fpu_control.h: Here.
6311 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6312 (_FPU_SETCW): Likewise.
6314 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6317 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6318 * sysdeps/x86/fpu/bits/mathinline.h: This.
6319 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6323 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6324 functions if __x86_64__ is defined.
6326 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6328 * string/endian.h: Add !__ASSEMBLER__ condition for including
6329 conversion interfaces.
6331 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6335 of ABS(x) in calculating zero to negative powers other than odd
6337 * math/libm-test.inc (pow_test): Add more tests.
6339 2012-06-15 Andreas Jaeger <aj@suse.de>
6341 * manual/contrib.texi (Contributors): Update entry of Liubov
6342 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6345 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6347 * string/string.h: Add __wur to GNU version of strerror_r.
6349 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6352 * string/Makefile (tests): Add tst-strtok_r.
6353 * string/tst-strtok_r.c: New file.
6354 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6355 RAX_LP/RDX_LP on SAVE_PTR.
6357 2012-06-14 Roland McGrath <roland@hack.frob.com>
6359 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6361 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6363 * libm_test.inc (csqrt_test): Allow more spurious underflow
6365 (j0_test): Likewise.
6366 (j1_test): Likewise.
6367 (y0_test): Likewise.
6368 (y1_test): Likewise.
6370 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6372 * po/Makefile (libc.pot): Use UTF-8 charset.
6374 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6377 Suppress sign-conversion warning from FD_SET.
6378 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6379 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6380 not unsigned long int.
6381 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6383 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6387 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6388 __extern_always_inline instead of __extern_inline.
6389 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6390 (__signbit): Likewise.
6391 (__signbitl): Support C++ namespace.
6392 (lrintf): New inline function.
6394 (llrintf): Likewise.
6406 (nearbyint): Likewise.
6407 (nearbyintf): Likewise.
6409 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6412 non-default versions.
6414 2012-06-11 Roland McGrath <roland@hack.frob.com>
6417 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6419 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6421 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6422 (FE_UPWARD, FE_DOWNWARD): Don't define.
6423 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6428 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6431 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6435 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6436 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6438 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6441 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6442 * sysdeps/i386/fpu/Implies: New file.
6443 * sysdeps/x86_64/fpu/Implies: Likewise.
6444 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6445 * sysdeps/x86/fpu/bits/fenv.h: This.
6447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6450 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6453 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6454 character 0xffff that matches the last element of the
6457 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6462 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6465 values higher than 25.6283.
6467 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6469 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6470 subnormal exponent extraction and add some __builtin_expect.
6471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6472 Fix for subnormal mantissa calculation.
6474 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6476 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6477 cpu2 is -1 and errno is not ENOSYS.
6479 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6482 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6483 * sysdeps/x86/bits/string.h: This.
6484 * sysdeps/x86_64/bits/string.h: Removed.
6486 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6487 if not compiling for x86-64, but compiling for >= i486.
6489 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6490 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6492 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6493 New macro from Linux kernel 3.4.0.
6494 (FP_XSTATE_MAGIC2): Likewise.
6495 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6496 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6497 (struct _fpx_sw_bytes): New struct.
6498 (struct _xsave_hdr): Likewise.
6499 (struct _ymmh_state): Likewise.
6500 (struct _xstate): Likewise.
6502 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6503 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6505 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6507 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6509 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6510 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6511 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6512 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6513 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6514 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6516 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6519 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6520 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6521 (sysdep_headers): Include sys/platform/ppc.h.
6522 * sysdeps/powerpc/test-gettimebase.c: Test for
6523 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6524 * manual/Makefile (appendices): Include platform.texi.
6525 * manual/contrib.texi (Contributors): Update @node pointers.
6526 * manual/maint.texi (Maintenance): Likewise.
6527 (Platform): New node.
6528 * manual/platform.texi: New file. Document the new features.
6530 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6531 Jakub Jelinek <jakub@redhat.com>
6534 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6535 where __builtin_expect is unavailable.
6537 2012-06-03 David S. Miller <davem@davemloft.net>
6539 * stdlib/longlong.h: Updated from GCC.
6541 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6544 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6545 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6548 (GLIBC_2.16): Likewise.
6550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6552 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6554 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6557 (default-abi): New variable.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6559 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6561 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6568 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6569 definition. Document in comment.
6571 2012-06-01 David S. Miller <davem@davemloft.net>
6573 * stdlib/longlong.h: Updated from GCC.
6575 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6578 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6579 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6580 sys/debugreg.h sys/io.h here.
6581 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6582 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6584 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6585 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6586 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6587 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6588 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6589 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6592 Define only if __x86_64__ is defined.
6594 2012-06-01 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6598 Use int64_t for variable i.
6599 * math/libm-test.inc (fmod_test): Add more tests.
6601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6602 z computation is not scheduled after fetestexcept.
6603 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6604 Use math_force_eval instead of asm to ensure calculation scheduled
6605 before exception test.
6606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6607 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6609 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6612 computation is not scheduled after fetestexcept.
6614 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6617 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6618 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6620 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6623 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6625 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6628 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6630 (__WCHAR_MIN): Support __WORDSIZE == 64.
6631 (__WCHAR_MAX): Likewise.
6633 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6634 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6638 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6641 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6642 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6645 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6648 Defined to 1 if __x86_64__ isn't defined.
6649 (_STAT_VER_LINUX_OLD): New.
6650 (st_atime): Remove duplicate.
6651 (st_mtime): Likewise.
6652 (st_ctime): Likewise.
6654 2012-05-31 David S. Miller <davem@davemloft.net>
6656 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6659 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6661 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6665 * elf/dl-reloc.c: Include <_itoa.h>.
6666 (_dl_reloc_bad_type): Remove use of INTUSE.
6667 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6668 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6669 * stdio-common/psiginfo.c (psiginfo): Likewise.
6670 * stdio-common/psignal.c (psignal): Likewise.
6671 * string/strsignal.c (strsignal): Likewise.
6672 * include/signal.h (_sys_siglist): Declare hidden proto.
6673 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6674 INTVARDEF with libc_hidden_data_def.
6675 * stdio-common/itoa-udigits.c: Likewise.
6676 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6677 (_itoa_lower_digits_internal): Remove declaration.
6678 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6679 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6680 (_sys_sigabbrev_internal): Remove aliases.
6681 (_sys_siglist): Define hidden alias.
6683 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6688 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6691 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6692 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6694 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6695 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6696 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6697 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6699 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6701 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6702 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6703 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6713 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6714 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6718 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6720 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6721 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6722 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6724 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6725 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6727 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6728 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6732 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6734 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6735 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6737 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6739 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6740 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6741 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6743 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6745 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6747 2012-05-31 Joseph Myers <joseph@codesourcery.com>
6749 * math/math.h (M_El): Use two more decimal places.
6750 (M_LOG2El): Likewise.
6751 (M_LOG10El): Likewise.
6753 (M_LN10l): Likewise.
6755 (M_PI_2l): Likewise.
6756 (M_PI_4l): Likewise.
6757 (M_1_PIl): Likewise.
6758 (M_2_PIl): Likewise.
6759 (M_2_SQRTPIl): Likewise.
6760 (M_SQRT2l): Likewise.
6761 (M_SQRT1_2l): Likewise.
6763 2012-05-31 David S. Miller <davem@davemloft.net>
6765 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6766 values between float registers.
6767 * sysdeps/sparc/sparc64/memset.S: Likewise.
6768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6770 2012-05-31 Mike Frysinger <vapier@gentoo.org>
6772 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6773 -D_FORTIFY_SOURCE=1.
6774 (CPPFLAGS-tst-longjmp_chk.c): Define.
6775 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6776 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6777 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6778 CFLAGS-tst-wchar-h.c.
6780 2012-05-31 Marek Polacek <polacek@redhat.com>
6783 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6784 __endmntent_internal): Remove declaration.
6785 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6786 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6787 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6789 2012-05-30 David S. Miller <davem@davemloft.net>
6791 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6792 (___Q_simulate_exceptions): Use real FP ops rather than writing
6794 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6797 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6800 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6801 * sysdeps/x86/bits/xtitypes.h: This.
6803 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6804 * sysdeps/x86/bits/wordsize.h: This.
6806 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6807 * sysdeps/x86/bits/huge_vall.h: This.
6809 * sysdeps/i386/bits/select.h: Removed.
6810 * sysdeps/x86_64/bits/select.h: Renamed to ...
6811 * sysdeps/x86/bits/select.h: This.
6813 * sysdeps/i386/bits/setjmp.h: Removed.
6814 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6815 * sysdeps/x86/bits/setjmp.h: This.
6817 * sysdeps/i386/bits/mathdef.h: Removed.
6818 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6819 * sysdeps/x86/bits/mathdef.h: This.
6821 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6824 * include/sys/socket.h (__connect_internal)
6825 (__libc_sa_len_internal): Remove declaration.
6826 (__connect, __libc_sa_len): Declare hidden_proto.
6827 (SA_LEN): Remove use of INTUSE.
6828 * socket/connect.c: Add libc_hidden_def.
6829 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6830 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6831 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6833 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6834 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6835 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6836 of adding _internal alias.
6838 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6841 * sysdeps/i386/bits/link.h: Removed.
6842 * sysdeps/i386/bits/linkmap.h: Likewise.
6843 * sysdeps/x86_64/bits/link.h: Renamed to ...
6844 * sysdeps/x86/bits/link.h: This.
6845 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6846 * sysdeps/x86/bits/linkmap.h: This.
6848 * sysdeps/i386/bits/endian.h: Removed.
6849 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6850 * sysdeps/x86/bits/endian.h: This.
6852 * sysdeps/i386/bits/byteswap.h: Removed.
6853 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6854 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6855 * sysdeps/x86/bits/byteswap.h: This.
6856 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6857 * sysdeps/x86/bits/byteswap-16.h: This.
6858 * sysdeps/i386/Implies: Add x86.
6859 * sysdeps/x86_64/Implies: Likewise.
6861 2012-05-30 David S. Miller <davem@davemloft.net>
6863 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6864 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6865 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6866 (FP_TRAPPING_EXCEPTIONS): Define.
6867 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6868 (FP_TRAPPING_EXCEPTIONS): Define.
6869 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6870 subnormals only when inexact has been signalled or underflow
6871 exceptions are enabled.
6872 (_FP_PACK_CANONICAL): Likewise.
6874 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6878 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6880 2012-05-30 Richard Henderson <rth@twiddle.net>
6882 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6883 with #ifndef NOT_IN_libc.
6885 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6886 marked to avoid plt entry.
6888 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6891 * Makeconfig (default-abi): New macro.
6892 (abi-includes): Likewise.
6893 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6894 $(abi-$(default-abi)-lib-soname) for soname if defined.
6895 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6897 * Makefile (installed-stubs): Likewise.
6898 * include/stubs-biarch.h: Removed.
6899 * scripts/lib-names.awk: Only handle one library at a time.
6900 * scripts/soversions.awk: Remove WORDSIZE support.
6901 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6903 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6905 (syscall-list-default-condition): Likewise.
6906 (syscall-list-default-condition): Likewise.
6907 (syscall-list-includes): Likewise.
6908 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6909 syscall-list-* with abi-*. Handle undefined abi-variants.
6910 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6911 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6912 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6913 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6914 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6915 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6917 (syscall-list-32-options): Likewise.
6918 (syscall-list-32-condition): Likewise.
6919 (syscall-list-64-options): Likewise.
6920 (syscall-list-64-condition): Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6923 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6926 (abi-64-ld-soname): New macro.
6927 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6928 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6931 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6932 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6934 2012-05-30 Joseph Myers <joseph@codesourcery.com>
6936 * sysdeps/unix/sysv/linux/kernel-features.h
6937 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6938 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6939 include <kernel-features.h>.
6940 [!__NR_ftruncate64]: Remove conditional code.
6941 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6942 [__NR_ftruncate64]: Make code unconditional.
6943 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6944 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6945 include <kernel-features.h>.
6946 [!__NR_ftruncate64]: Remove conditional code.
6947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6948 [__NR_ftruncate64]: Make code unconditional.
6949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6951 include <kernel-features.h>.
6952 [!__NR_ftruncate64]: Remove conditional code.
6953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6954 [__NR_ftruncate64]: Make code unconditional.
6955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6957 include <kernel-features.h>.
6958 [!__NR_ftruncate64]: Remove conditional code.
6959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6960 [__NR_ftruncate64]: Make code unconditional.
6961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6963 * configure.in (libc_cv_fpie): Weaken to a compile test using
6965 * configure: Regenerated.
6967 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6982 2012-05-27 David S. Miller <davem@davemloft.net>
6984 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6986 (__Q_simulate_exceptions): Return void. Change to simulate
6987 exceptions by writing into the %fsr.
6988 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6989 (__Qp_handle_exceptions): Likewise.
6991 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6992 __Qp_handle_exceptions.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6994 __Qp_handle_exceptions.
6995 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6996 as unused and give dummy FP_RND_NEAREST initializer.
6997 (FP_INHIBIT_RESULTS): Define.
6998 (___Q_simulate_exceptions): Update declaration.
6999 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7001 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7002 as unused and give dummy FP_RND_NEAREST initializer.
7003 (__Qp_handle_exceptions): Update declaration.
7004 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7007 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7009 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7010 the temporary FPU control word.
7011 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7012 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7014 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7015 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7016 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7017 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7018 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7019 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7020 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7021 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7023 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7028 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7030 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7031 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7032 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7033 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7035 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7036 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7039 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7041 * po/h.po: Update from translation team.
7043 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7045 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7047 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7048 handling of denormals.
7049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7050 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7051 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7052 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7058 2012-05-26 Marek Polacek <polacek@redhat.com>
7061 * math/libm-test.inc (fma_test): Don't always expect underflow
7064 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7067 * elf/tst-execstack.c: Include stackinfo.h.
7068 (do_test): Adjust test case to ensure that pthread_getattr_np
7069 behaviour remains the same after marking stack executable.
7071 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7073 * sysdeps/unix/sysv/linux/kernel-features.h
7074 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7075 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7077 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7078 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7079 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7081 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7082 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7084 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7086 * configure.in: Define the default includes to being none.
7087 * configure: Regenerated.
7089 2012-05-25 Roland McGrath <roland@hack.frob.com>
7091 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7092 * sysdeps/x86_64/setjmp.S: Likewise.
7093 * sysdeps/i386/bsd-setjmp.S: Likewise.
7094 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7095 * sysdeps/i386/setjmp.S: Likewise.
7096 * sysdeps/i386/__longjmp.S: Likewise.
7097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7098 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7100 * include/stap-probe.h: New file.
7101 * configure.in: Handle --enable-systemtap.
7102 * configure: Regenerated.
7103 * config.h.in (USE_STAP_PROBE): New #undef.
7104 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7105 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7106 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7108 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7112 to 2.4.0 where earlier.
7113 * sysdeps/unix/sysv/linux/configure: Regenerated.
7114 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7115 <kernel-features.h>.
7116 [__ASSUME_32BITUIDS]: Make code unconditional.
7117 [!__ASSUME_32BITUIDS]: Remove conditional code.
7118 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7119 <kernel-features.h>.
7120 [__ASSUME_32BITUIDS]: Make code unconditional.
7121 [!__ASSUME_32BITUIDS]: Remove conditional code.
7122 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7123 [__ASSUME_32BITUIDS]: Make code unconditional.
7124 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7125 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7126 <kernel-features.h>.
7127 [__ASSUME_32BITUIDS]: Make code unconditional.
7128 [!__ASSUME_32BITUIDS]: Remove conditional code.
7129 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7130 <kernel-features.h>.
7131 [__ASSUME_32BITUIDS]: Make code unconditional.
7132 [!__ASSUME_32BITUIDS]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7134 <kernel-features.h>.
7135 [__ASSUME_32BITUIDS]: Make code unconditional.
7136 [!__ASSUME_32BITUIDS]: Remove conditional code.
7137 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7138 <kernel-features.h>.
7139 [__ASSUME_32BITUIDS]: Make code unconditional.
7140 [!__ASSUME_32BITUIDS]: Remove conditional code.
7141 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7142 <kernel-features.h>.
7143 [__ASSUME_32BITUIDS]: Make code unconditional.
7144 [!__ASSUME_32BITUIDS]: Remove conditional code.
7145 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7146 <kernel-features.h>.
7147 [__ASSUME_32BITUIDS]: Make code unconditional.
7148 [!__ASSUME_32BITUIDS]: Remove conditional code.
7149 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7150 <kernel-features.h>.
7151 [__ASSUME_32BITUIDS]: Make code unconditional.
7152 [!__ASSUME_32BITUIDS]: Remove conditional code.
7153 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7154 <kernel-features.h>.
7155 [__ASSUME_32BITUIDS]: Make code unconditional.
7156 [!__ASSUME_32BITUIDS]: Remove conditional code.
7157 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7158 <kernel-features.h>.
7159 [__ASSUME_32BITUIDS]: Make code unconditional.
7160 [!__ASSUME_32BITUIDS]: Remove conditional code.
7161 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7162 <kernel-features.h>.
7163 [__ASSUME_32BITUIDS]: Make code unconditional.
7164 [!__ASSUME_32BITUIDS]: Remove conditional code.
7165 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7166 <kernel-features.h>.
7167 [__NR_setresgid] (__setresgid): Do not declare.
7168 [__ASSUME_32BITUIDS]: Make code unconditional.
7169 [!__ASSUME_32BITUIDS]: Remove conditional code.
7170 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7171 <kernel-features.h>.
7172 [__NR_setresuid] (__setresuid): Do not declare.
7173 [__ASSUME_32BITUIDS]: Make code unconditional.
7174 [!__ASSUME_32BITUIDS]: Remove conditional code.
7175 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7176 <kernel-features.h>.
7177 [__ASSUME_32BITUIDS]: Make code unconditional.
7178 [!__ASSUME_32BITUIDS]: Remove conditional code.
7179 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7180 <kernel-features.h>.
7181 [__ASSUME_32BITUIDS]: Make code unconditional.
7182 [!__ASSUME_32BITUIDS]: Remove conditional code.
7183 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7184 <kernel-features.h>.
7185 [__ASSUME_32BITUIDS]: Make code unconditional.
7186 [!__ASSUME_32BITUIDS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.c: Do not include
7196 <kernel-features.h>.
7197 [__ASSUME_32BITUIDS]: Make code unconditional.
7198 [!__ASSUME_32BITUIDS]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7200 <kernel-features.h>.
7201 [__ASSUME_32BITUIDS]: Make code unconditional.
7202 [!__ASSUME_32BITUIDS]: Remove conditional code.
7203 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7204 <kernel-features.h>.
7205 [__ASSUME_32BITUIDS]: Make code unconditional.
7206 [!__ASSUME_32BITUIDS]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7208 <kernel-features.h>.
7209 [__ASSUME_32BITUIDS]: Make code unconditional.
7210 [!__ASSUME_32BITUIDS]: Remove conditional code.
7211 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7212 <kernel-features.h>.
7213 [__ASSUME_32BITUIDS]: Make code unconditional.
7214 [!__ASSUME_32BITUIDS]: Remove conditional code.
7215 * sysdeps/unix/sysv/linux/kernel-features.h
7216 (__ASSUME_SETRESUID_SYSCALL): Remove.
7217 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7218 (__ASSUME_32BITUIDS): Likewise.
7219 (__ASSUME_LDT_WORKS): Likewise.
7220 (__ASSUME_O_DIRECTORY): Likewise.
7221 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7222 architecture but not kernel version.
7223 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7224 (__ASSUME_MMAP2_SYSCALL): Likewise.
7225 (__ASSUME_STAT64_SYSCALL): Likewise.
7226 (__ASSUME_IPC64): Likewise.
7227 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7228 <kernel-features.h>.
7229 [__ASSUME_32BITUIDS]: Make code unconditional.
7230 [!__ASSUME_32BITUIDS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7232 <kernel-features.h>.
7233 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7234 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7235 132096]: Remove conditional code.
7236 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7238 <kernel-features.h>.
7239 [__ASSUME_32BITUIDS]: Make code unconditional.
7240 [!__ASSUME_32BITUIDS]: Remove conditional code.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7242 <kernel-features.h>.
7243 [__ASSUME_32BITUIDS]: Make code unconditional.
7244 [!__ASSUME_32BITUIDS]: Remove conditional code.
7245 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7246 <kernel-features.h>.
7247 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7249 (__setresgid): Do not declare.
7250 [__ASSUME_32BITUIDS]: Make code unconditional.
7251 [!__ASSUME_32BITUIDS]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7253 <kernel-features.h>.
7254 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7256 (__setresuid): Do not declare.
7257 [__ASSUME_32BITUIDS]: Make code unconditional.
7258 [!__ASSUME_32BITUIDS]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7260 <kernel-features.h>.
7261 [__ASSUME_32BITUIDS]: Make code unconditional.
7262 [!__ASSUME_32BITUIDS]: Remove conditional code.
7263 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7264 <kernel-features.h>.
7265 [__ASSUME_32BITUIDS]: Make code unconditional.
7266 [!__ASSUME_32BITUIDS]: Remove conditional code.
7268 2012-05-25 Richard Henderson <rth@twiddle.net>
7270 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7271 dl_hwcap to ifunc resolver.
7272 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7274 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7275 dl_hwcap to ifunc resolver.
7276 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7278 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7281 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7282 for |x| <= 2**-26, not 2**-57.
7283 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7286 2012-05-24 Jeff Law <law@redhat.com>
7288 * stdio-common/Makefile (tests): Add bug25.
7289 * stdio-common/bug25.c: New test.
7291 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7294 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7295 multiple of MALLOC_ALIGNMENT in size.
7296 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7298 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7300 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7302 (FILENAME_MAX): Use macro-int-constant.
7303 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7304 (_IOFBF): Use macro-int-constant.
7307 (SEEK_CUR): Likewise.
7308 (SEEK_END): Likewise.
7309 (SEEK_SET): Likewise.
7310 (TMP_MAX): Likewise.
7311 (EOF): Use macro-int-constant. Require < 0.
7312 (NULL): Use macro-constant. Require == 0.
7313 (stdin): Require type to be FILE *.
7316 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7318 (EXIT_SUCCESS): Likewise.
7319 (NULL): Use macro-constant. Require == 0.
7320 (RAND_MAX): Use macro-int-constant.
7321 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7322 [C99-based standards] (strtof): Require function.
7323 [C99-based standards] (strtold): Likewise.
7324 [C99-based standards] (strtoll): Likewise.
7325 [C99-based standards] (strtoull): Likewise.
7326 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7327 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7328 [ISO || ISO99 || ISO11] (math.h): Likewise.
7329 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7330 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7333 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7336 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7337 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7338 * intl/dgettext.c (DCGETTEXT): Likewise.
7339 * intl/gettext.c (DCGETTEXT): Likewise.
7340 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7341 * posix/regex_internal.h (gettext): Likewise.
7342 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7344 * include/argz.h (__argz_count_internal)
7345 (__argz_stringify_internal): Remove declaration.
7346 (__argz_count, __argz_stringify): Declare hidden proto.
7347 * intl/dcgettext.c: Remove use of INTDEF.
7348 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7349 * string/argz-stringify.c: Likewise.
7350 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7351 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7352 Declare hidden proto.
7353 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7354 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7355 Declare hidden proto.
7356 * include/stdio.h (__asprintf_internal): Don't declare.
7357 (__asprintf): Don't define as macro. Declare hidden proto.
7358 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7359 (__fsetlocking): Declare hidden proto.
7360 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7361 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7363 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7364 (_IO_setlinebuf): Remove use of INTUSE.
7365 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7366 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7367 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7369 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7370 (_IO_do_flush): Remove use of INTUSE.
7371 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7372 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7373 (_IO_adjust_column, _IO_least_wmarker)
7374 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7375 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7376 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7377 (_IO_default_doallocate, _IO_wdefault_doallocate)
7378 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7379 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7380 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7381 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7382 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7383 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7384 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7385 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7386 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7387 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7388 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7389 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7390 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7392 (_IO_flush_all_internal, _IO_adjust_column_internal)
7393 (_IO_default_uflow_internal, _IO_default_finish_internal)
7394 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7395 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7396 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7397 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7398 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7399 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7400 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7401 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7402 (_IO_file_close_internal, _IO_file_close_it_internal)
7403 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7404 (_IO_file_init_internal, _IO_file_attach_internal)
7405 (_IO_file_fopen_internal, _IO_file_read_internal)
7406 (_IO_file_sync_internal, _IO_file_seek_internal)
7407 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7408 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7409 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7410 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7411 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7412 (_IO_list_all_internal, _IO_link_in_internal)
7413 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7414 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7415 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7416 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7417 (_IO_do_write_internal, _IO_padn_internal)
7418 (_IO_getline_info_internal, _IO_getline_internal)
7419 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7420 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7421 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7422 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7423 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7424 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7425 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7426 with libc_hidden_ver, remove use of INTUSE.
7427 * libio/genops.c: Likewise.
7428 * libio/freopen.c: Likewise.
7429 * libio/freopen64.c: Likewise.
7430 * libio/iofclose.c: Likewise.
7431 * libio/iofdopen.c: Likewise.
7432 * libio/iofflush.c: Likewise.
7433 * libio/iofflush_u.c: Likewise.
7434 * libio/iofgets.c: Likewise.
7435 * libio/iofgets_u.c: Likewise.
7436 * libio/iofopen.c: Likewise.
7437 * libio/iofopncook.c: Likewise.
7438 * libio/iofread.c: Likewise.
7439 * libio/iofread_u.c: Likewise.
7440 * libio/ioftell.c: Likewise.
7441 * libio/iofwrite.c: Likewise.
7442 * libio/iogetline.c: Likewise.
7443 * libio/iogets.c: Likewise.
7444 * libio/iogetwline.c: Likewise.
7445 * libio/iopadn.c: Likewise.
7446 * libio/iopopen.c: Likewise.
7447 * libio/ioseekoff.c: Likewise.
7448 * libio/ioseekpos.c: Likewise.
7449 * libio/iosetbuffer.c: Likewise.
7450 * libio/iosetvbuf.c: Likewise.
7451 * libio/ioungetc.c: Likewise.
7452 * libio/ioungetwc.c: Likewise.
7453 * libio/iovdprintf.c: Likewise.
7454 * libio/iovsprintf.c: Likewise.
7455 * libio/iovsscanf.c: Likewise.
7456 * libio/memstream.c: Likewise.
7457 * libio/obprintf.c: Likewise.
7458 * libio/oldfileops.c: Likewise.
7459 * libio/oldiofclose.c: Likewise.
7460 * libio/oldiofdopen.c: Likewise.
7461 * libio/oldiofopen.c: Likewise.
7462 * libio/oldiopopen.c: Likewise.
7463 * libio/oldstdfiles.c: Likewise.
7464 * libio/putc.c: Likewise.
7465 * libio/setbuf.c: Likewise.
7466 * libio/setlinebuf.c: Likewise.
7467 * libio/stdfiles.c: Likewise.
7468 * libio/strops.c: Likewise.
7469 * libio/vasprintf.c: Likewise.
7470 * libio/vscanf.c: Likewise.
7471 * libio/vsnprintf.c: Likewise.
7472 * libio/vswprintf.c: Likewise.
7473 * libio/wfiledoalloc.c: Likewise.
7474 * libio/wfileops.c: Likewise.
7475 * libio/wgenops.c: Likewise.
7476 * libio/wmemstream.c: Likewise.
7477 * libio/wstrops.c: Likewise.
7478 * libio/__fpurge.c: Likewise.
7479 * libio/__fsetlocking.c: Likewise.
7480 * assert/assert.c: Likewise.
7481 * debug/fgets_chk.c: Likewise.
7482 * debug/fgets_u_chk.c: Likewise.
7483 * debug/fread_chk.c: Likewise.
7484 * debug/fread_u_chk.c: Likewise.
7485 * debug/gets_chk.c: Likewise.
7486 * debug/obprintf_chk.c: Likewise.
7487 * debug/vasprintf_chk.c: Likewise.
7488 * debug/vdprintf_chk.c: Likewise.
7489 * debug/vsnprintf_chk.c: Likewise.
7490 * debug/vsprintf_chk.c: Likewise.
7491 * malloc/mtrace.c: Likewise.
7492 * misc/error.c: Likewise.
7493 * misc/syslog.c: Likewise.
7494 * stdio-common/asprintf.c: Likewise.
7495 * stdio-common/fxprintf.c: Likewise.
7496 * stdio-common/getw.c: Likewise.
7497 * stdio-common/isoc99_fscanf.c: Likewise.
7498 * stdio-common/isoc99_scanf.c: Likewise.
7499 * stdio-common/isoc99_vfscanf.c: Likewise.
7500 * stdio-common/isoc99_vscanf.c: Likewise.
7501 * stdio-common/isoc99_vsscanf.c: Likewise.
7502 * stdio-common/printf-prs.c: Likewise.
7503 * stdio-common/printf_fp.c: Likewise.
7504 * stdio-common/printf_fphex.c: Likewise.
7505 * stdio-common/printf_size.c: Likewise.
7506 * stdio-common/putw.c: Likewise.
7507 * stdio-common/scanf.c: Likewise.
7508 * stdio-common/sprintf.c: Likewise.
7509 * stdio-common/tmpfile.c: Likewise.
7510 * stdio-common/vfprintf.c: Likewise.
7511 * stdio-common/vfscanf.c: Likewise.
7512 * stdlib/strfmon_l.c: Likewise.
7513 * sunrpc/openchild.c: Likewise.
7514 * sunrpc/xdr_stdio.c: Likewise.
7515 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7516 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7518 2012-05-24 Roland McGrath <roland@hack.frob.com>
7520 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7522 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7523 in the third column, to generate for the shared library an IFUNC
7524 that uses _dl_vdso_vsym.
7525 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7526 * Makeconfig (object-suffixes-noshared): New variable.
7528 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7529 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7530 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7531 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7534 * include/sys/time.h (__gettimeofday): Remove macro.
7535 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7536 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7538 (__gettimeofday): Add libc_hidden_def.
7539 (gettimeofday): Add libc_hidden_weak.
7540 * sysdeps/mach/gettimeofday.c: Likewise.
7541 * sysdeps/posix/gettimeofday.c: Likewise.
7542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7543 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7545 (__gettimeofday_internal): Remove strong_alias.
7546 (__gettimeofday): Add libc_hidden_def.
7547 (gettimeofday): Add libc_hidden_weak.
7548 * sysdeps/unix/syscalls.list (gettimeofday):
7549 Remove __gettimeofday_internal alias.
7551 2012-05-24 Daniel Jacobowitz <drow@false.org>
7552 H.J. Lu <hongjiu.lu@intel.com>
7555 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7556 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7557 (largebin_index_32_big): New.
7558 (largebin_index): Use it for 16-byte alignment.
7559 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7560 correction with front_misalign.
7562 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7590 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7591 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7593 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7597 * math/libm-test.inc (exp_test): Add test from bug 14036.
7598 (pow_test): Add test from bug 10846.
7600 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7602 (special_function): Do not include flags in test name.
7603 (parse_args): Likewise.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7612 * math/libm-test.inc ("Philosophy"): Update comment about
7614 (UNDERFLOW_EXCEPTION): New macro.
7615 (UNDERFLOW_EXCEPTION_OK): Likewise.
7616 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7617 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7618 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7619 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7620 (INVALID_EXCEPTION_OK): Update value.
7621 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7622 (OVERFLOW_EXCEPTION_OK): Likewise.
7623 (IGNORE_ZERO_INF_SIGN): Likewise.
7624 (test_exceptions): Handle underflow exceptions.
7625 (acos_test): Update for underflow exception expectations.
7626 (cexp_test): Likewise.
7627 (clog_test): Likewise.
7628 (clog10_test): Likewise.
7629 (csqrt_test): Likewise.
7630 (ctan_test): Likewise.
7631 (ctanh_test): Likewise.
7632 (exp_test): Likewise.
7633 (exp10_test): Likewise.
7634 (exp2_test): Likewise.
7635 (expm1_test): Likewise.
7636 (fma_test): Likewise.
7637 (j0_test): Likewise.
7638 (jn_test): Likewise.
7639 (nexttoward_test): Likewise.
7640 (pow_test): Likewise.
7641 (scalbn_test): Likewise.
7642 (scalbln_test): Likewise.
7643 (tan_test): Likewise.
7644 (y1_test): Likewise.
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648 2012-05-23 David S. Miller <davem@davemloft.net>
7650 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7651 (__libc_sigaction): Remove unused local variables.
7653 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7655 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7657 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7659 mktime: avoid signed integer overflow
7660 * time/mktime.c (__mktime_internal): Do not mishandle the case
7661 where diff == INT_MIN.
7663 mktime: simplify computation of average
7664 * time/mktime.c (ranged_convert): Use new time_t_avg function
7665 instead of rolling our own (probably-slower) code.
7667 mktime: do not assume signed right shift propagates sign bit
7668 * time/mktime.c (isdst_differ): New static function.
7669 (__mktime_internal): No need to normalize tm_isdst now.
7670 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7673 mktime: merge another wrapv change from gnulib
7674 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7675 from some compilers.
7677 mktime: remove incorrect attempt at unusual arithmetics
7678 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7679 The code didn't really work on such machines anyway.
7680 (TYPE_MINIMUM): Assume two's complement.
7681 (twos_complement_arithmetic): Verify that long_int and time_t
7682 are two's complement (or unsigned, in the latter case).
7684 mktime: check signed shifts on long_int and time_t, too
7685 * time/mktime.c (SHR): Check that shifts work as desired
7686 on the types long_int and time_t too, as SHR is used on
7689 mktime: do not assume 'long' is wide enough
7690 * time/mktime.c (verify): Move decl up.
7691 (long_int): New type.
7692 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7693 to remove assumption in the code that 'long' is wide enough to
7694 store year values. This assumption is not true on x32 and on
7695 some non-glibc platforms.
7697 mktime: merge wrapv change from gnulib
7698 * time/mktime.c (WRAPV): New macro.
7699 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7700 (guess_time_tm, __mktime_internal): Do not assume that signed
7701 integer overflow wraps around; modern compilers generate code
7702 where this assumption is no longer valid.
7704 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7706 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7707 Replace "jmp L(pseudo_end)" with "ret".
7708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7711 2012-05-23 Andreas Jaeger <aj@suse.de>
7713 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7714 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7716 2012-05-23 Andreas Jaeger <aj@suse.de>
7717 Maximilian Attems <max@stro.at>
7719 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7722 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7725 code so that pseudo_end is just ret and the stack pointer is
7726 correct also for static library in error case.
7728 2012-05-23 Joseph Myers <joseph@codesourcery.com>
7730 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7731 move to syscalls.list.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7737 * manual/install.texi (Running make install): Do not mention Linux
7738 kernel version for which pt_chown is not needed.
7739 (Linux): Do not mention problems with nscd with 2.0 kernels.
7740 * INSTALL: Regenerated.
7742 2012-05-23 Andreas Jaeger <aj@suse.de>
7744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7745 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7747 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7748 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7749 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7750 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7751 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7752 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7754 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7756 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7757 * sysdeps/unix/sysv/linux/bits/in.h
7758 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7760 2012-05-22 Roland McGrath <roland@hack.frob.com>
7762 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7763 (PREPARE_VERSION): Just use assert instead, it will be elided
7764 under [NDEBUG] anyway.
7766 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7768 * sysdeps/unix/sysv/linux/Makefile: Include
7769 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
7770 (sysdep_routines): Remove sysctl.
7771 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7772 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7773 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7775 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7777 2012-05-22 Andreas Jaeger <aj@suse.de>
7779 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7780 that pseudo_end is just ret and the stack pointer is correct also
7781 for static library in error case.
7783 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7786 * nss/nsswitch.c (defconfig_entries): New variable.
7787 (__nss_database_lookup): Don't leak defconfig entries.
7788 (nss_parse_service_list): Don't leak on error paths.
7789 (free_database_entries): New function.
7790 (free_defconfig): New function.
7791 (free_mem): Move common code to free_database_entries.
7793 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7795 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7797 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7799 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7800 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7803 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7804 (INTERNAL_SYSCALL_TYPES): Likewise.
7805 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7806 (LOAD_REGS_TYPES_[1-6]): Likewise.
7807 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7808 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7810 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7813 copysignl for GLIBC_2_0.
7814 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7815 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7817 logbl for GLIBC_2_0.
7818 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7819 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7821 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7824 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7826 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7829 * time/mktime.c: Update copyright years.
7831 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7833 mktime: merge comment-quoting-style change from gnulib
7834 * time/mktime.c: Quote 'like this' in comments.
7835 The GNU coding standards suggest that we no longer quote `like this',
7836 as "`" and "'" are typically rendered asymmetrically nowadays.
7837 The typical gnulib style is to quote 'like this' when quoting
7838 code, and "like this" when quoting English.
7840 * time/mktime.c (compile-command): Add "-I.".
7842 mktime: merge mktime-internal.h change from gnulib
7843 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7845 mktime: merge time_r change from gnulib
7846 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7848 mktime: merge DEBUG change from gnulib
7849 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7850 case system <time.h> has a #define.
7852 mktime: merge <sys/types.h> change from gnulib
7853 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7854 since <time.t> is now guaranteed to define time_t.
7856 mktime: merge HAVE_CONFIG_H change from gnulib
7857 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7859 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7864 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7866 (struct rusage): Use anonymous union to pad each field to
7869 2012-05-21 David S. Miller <davem@davemloft.net>
7871 * Makefules (o-iterator): Remove .s cases.
7872 (compile-command.s): Delete.
7873 (COMPILE.s): Delete.
7874 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7876 2012-05-21 Joseph Myers <joseph@codesourcery.com>
7878 * configure.in (libc_cv_predef_stack_protector): Only consider
7879 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7880 * configure: Regenerated.
7882 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7885 New macro. Use R*LP on int and pointer.
7886 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7891 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7892 [__WORDSIZE_TIME64_COMPAT32] instead of
7893 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7894 (struct utmp): Likewise.
7895 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7896 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7898 (__WORDSIZE_TIME64_COMPAT32): This.
7899 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7900 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7901 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7903 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7904 (__WORDSIZE_TIME64_COMPAT32): New macro.
7906 2012-05-21 Andreas Jaeger <aj@suse.de>
7908 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7909 only if [SHARED]. Add prototype for __wcschr_ia32.
7911 2012-05-21 Roland McGrath <roland@hack.frob.com>
7913 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7914 of %rbp unmolested in the jmp_buf while mangling the low bits.
7915 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7916 unmolested high bits of %rbp while demangling the low bits.
7917 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7919 2012-05-21 Andreas Jaeger <aj@suse.de>
7921 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7922 * sunrpc/svc_simple.c: Use it for registerrpc.
7923 * sunrpc/xcrypt.c: Use it for passwd2des.
7925 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7927 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7929 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7930 Don't define if [__SYSCALL_WORDSIZE != 32].
7931 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7934 2012-05-21 Bruno Haible <bruno@clisp.org>
7935 Andreas Jaeger <aj@suse.de>
7937 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7938 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7939 inptr and inend for must_buffer_ch.
7940 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7941 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7942 * stdio-common/Makefile (tests): Remove bug15.
7943 (bug15-ENV): Remove macro.
7944 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7947 2012-05-19 Andreas Jaeger <aj@suse.de>
7948 Roland McGrath <roland@hack.frob.com>
7950 * manual/contrib.texi: Completely rewritten. It contains now an
7951 alphabetical list of contributors and their contributions.
7953 2012-05-21 Richard Henderson <rth@twiddle.net>
7955 * misc/getauxval.c (__getauxval): Use unsigned long int.
7956 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7957 (getauxval): Use unsigned long int.
7959 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7961 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7963 2012-05-21 Roland McGrath <roland@hack.frob.com>
7965 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7966 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7967 __alignof__ (long double).
7969 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7973 2012-05-20 Richard Henderson <rth@twiddle.net>
7975 * misc/getauxval.c: New file.
7976 * misc/sys/auxv.h: New file.
7977 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7978 (routines): Add getauxval.
7979 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7980 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7981 * elf/dl-sysdep.c (_dl_auxv): Remove.
7982 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7983 * elf/dl-support.c (_dl_auxv): New variable.
7984 (_dl_aux_init): Initialize it.
7985 * manual/startup.texi (Auxiliary Vector): New node.
7986 * sysdeps/generic/bits/hwcap.h: New file.
7987 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7988 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7989 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7990 * sysdeps/sparc/sysdep.h: ... here. Include it.
7991 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8004 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8008 2012-05-19 David S. Miller <davem@davemloft.net>
8010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8012 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8015 * math/s_ccosh.c: Include <float.h>
8016 (__ccosh): Avoid internal overflow calculating sinh and cosh
8017 values before multiplying by sin and cos values.
8018 * math/s_ccoshf.c: Likewise.
8019 * math/s_ccoshl.c: Likewise.
8020 * math/s_csin.c: Likewise.
8021 * math/s_csinf.c: Likewise.
8022 * math/s_csinl.c: Likewise.
8023 * math/s_csinh.c: Likewise.
8024 * math/s_csinhf.c: Likewise.
8025 * math/s_csinhl.c: Likewise.
8026 * math/libm-test.inc (ccos_test): Add more tests.
8027 (ccosh_test): Likewise.
8028 (csin_test): Likewise.
8029 (csinh_test): Likewise.
8030 * sysdeps/i386/fpu/libm-test-ulps: Update.
8031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8033 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8035 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8036 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8038 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8040 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8042 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8043 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8044 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8045 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8046 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8047 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8048 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8049 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8050 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8051 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8052 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8053 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8054 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8055 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8056 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8057 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8058 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8059 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8060 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8061 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8062 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8063 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8064 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8065 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8066 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8067 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8068 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8069 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8070 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8071 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8072 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8074 2012-05-18 Andreas Jaeger <aj@suse.de>
8076 * csu/.gitignore: Delete.
8078 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8080 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8081 (timex): Use __syscall_slong_t.
8083 2012-05-18 Andreas Jaeger <aj@suse.de>
8084 Carlos O'Donell <carlos_odonell@mentor.com>
8086 * manual/install.texi (Configuring and compiling): Update
8087 description about files modified in the source directory.
8088 * INSTALL: Regenerated.
8090 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8092 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8093 value. Use "or" to set return value to -1.
8094 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8095 negate return value.
8097 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8099 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8100 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8101 failure if the compiler has Graphite support disabled.
8102 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8104 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8105 CFLAGS-memmove.c): Likewise.
8106 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8109 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8111 * sysdeps/x86_64/x32/_itoa.h: New file.
8113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8114 getdents system call only if kernel and user dirents have the
8115 same d_ino and d_off.
8117 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8118 LLONG_MAX != LONG_MAX.
8119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8120 (_fitoa_word): Likewise.
8122 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8124 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8125 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8126 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8128 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8129 include <bits/wordsize.h>. Check __x86_64__ instead of
8131 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8132 if __x86_64__ is defined. Use anonymous union on fpstate.
8134 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8137 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8139 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8140 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8142 Refer to _rtld_local_ro instead of _rtld_global_ro.
8143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8145 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8147 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8149 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8150 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8151 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8153 * sysdeps/powerpc/powerpc32/dl-machine.c
8154 (__elf_machine_runtime_setup) [PROF]: Don't reference
8157 2012-05-18 Andreas Jaeger <aj@suse.de>
8159 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8160 function only available for GCCs before 3.4 since GCC 3.4
8161 introduced a builtin.
8163 (llrintf): Likewise.
8171 (nearbyint): Likewise.
8172 (nearbyintf): Likewise.
8178 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8180 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8181 on both fields and cast pointer to __syscall_ulong_t.
8183 * bits/types.h (__fsword_t): New type.
8184 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8185 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8187 (__FSWORD_T_TYPE): Likewise.
8188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8189 (__FSWORD_T_TYPE): Likewise.
8190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8191 (__FSWORD_T_TYPE): Likewise.
8192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8193 (__FSWORD_T_TYPE): Likewise.
8194 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8195 __SWORD_TYPE with __fsword_t.
8196 (statfs64): Likewise.
8198 2012-05-17 David S. Miller <davem@davemloft.net>
8200 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8202 2012-05-17 Andreas Jaeger <aj@suse.de>
8204 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8207 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8209 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8211 2012-05-17 Andreas Jaeger <aj@suse.de>
8213 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8216 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8218 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8220 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8222 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8223 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8225 2012-05-17 Andreas Jaeger <aj@suse.de>
8226 Carlos O'Donell <carlos_odonell@mentor.com>
8229 * sysdeps/x86_64/multiarch/init-arch.h
8230 (bit_YMM_Usable): Rename to...
8231 (bit_AVX_Usable): ... this.
8232 (bit_FMA4_Usable): New macro.
8233 (bit_XMM_state): New macro.
8234 (bit_YMM_state): New macro.
8235 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8236 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8237 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8238 (CPUID_OSXSAVE): New macro.
8239 (CPUID_AVX): New macro.
8240 (CPUID_FMA4): New macro.
8241 (index_YMM_Usable): Rename to...
8242 (index_AVX_Usable): ... this.
8243 (HAS_AVX): Use HAS_ARCH_FEATURE.
8244 (HAS_FMA4): Likewise.
8245 (HAS_YMM_USABLE): Remove.
8246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8247 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8249 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8250 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8251 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8252 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8253 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8255 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8257 * math/libm-test.c: Support platforms without multiple rounding modes.
8258 * math/bug-nextafter.c: Support platforms without FP exceptions.
8259 * math/bug-nexttoward.c: Likewise.
8260 * math/test-fenv.c: Likewise.
8261 * math/test-misc.c: Likewise.
8262 * stdlib/bug-getcontext.c: Likewise.
8264 2012-05-17 Andreas Jaeger <aj@suse.de>
8266 * manual/examples/search.c (critter_cmp): Change signature to
8268 * manual/string.texi (Collation Functions): Likewise.
8270 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8272 * bits/types.h: Fold copyright years.
8273 * bits/typesizes.h: Likewise.
8274 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8278 * time/time.h: Likewise.
8280 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8283 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8284 in instead of returning them. Return void.
8285 (__libc_mallinfo): Accumulate over all arenas.
8286 (__malloc_stats): Adjust for change in int_mallinfo interface.
8288 2012-05-16 Roland McGrath <roland@hack.frob.com>
8291 * configure.in (NM): Add AC_CHECK_TOOL for it.
8292 (libc_extra_cflags): New substituted variable.
8293 Check for -fstack-protector being used implicitly.
8294 * configure: Regenerated.
8295 * config.make.in (config-extra-cflags): New variable,
8296 gets @libc_extra_cflags@.
8297 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8300 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8301 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8302 * configure: Regenerated.
8303 * config.make.in (CPPUNDEFS): New substituted variable.
8304 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8305 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8306 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8308 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8310 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8311 (mq_attr): Use __syscall_slong_t.
8313 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8316 Check __x86_64__ instead of __WORDSIZE.
8317 (_STAT_VER_LINUX): Likewise.
8318 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8319 __syscall_ulong_t and __syscall_slong_t.
8322 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8326 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8328 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8330 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8332 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8335 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8336 include <bits/wordsize.h>. Check __x86_64__ instead of
8338 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8340 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8343 include <bits/wordsize.h>. Check __x86_64__ instead of
8345 (user_regs_struct): Use "__extension__ unsigned long long"
8346 instead of "unsigned long" if __x86_64__ is defined.
8347 (user): Likewise. Pad after pointer field if __ILP32__ is
8350 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8352 * configure.in (makeinfo): Require version 4.5 or later. Allow
8354 * configure: Regenerated.
8355 * manual/install.texi (texinfo): Increase version requirement to
8357 * INSTALL: Regenerated.
8359 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8361 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8363 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8365 * sysdeps/x86_64/x32/ffs.c: New file.
8367 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8369 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8370 defined. Use __syscall_ulong_t.
8371 (shminfo): Use __syscall_ulong_t.
8372 (shm_info): Likewise.
8374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8377 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8379 (msgqnum_t): Use __syscall_ulong_t.
8380 (msglen_t): Likewise.
8381 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8384 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8385 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8389 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8390 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8392 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8395 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8396 include <bits/wordsize.h>. Check __x86_64__ instead of
8399 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8400 "unsigned long long int" if __x86_64__ is defined.
8401 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8404 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8405 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8407 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8409 (GET_PC): Cast to uintptr_t first.
8410 (GET_FRAME): Likewise.
8411 (GET_STACK): Likewise.
8413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8414 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8423 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8425 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8429 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8431 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8433 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8435 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8437 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8443 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8445 * Makerules (+depfiles): Also collect depfiles from .oS in
8447 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8448 .oS, $(libnldbl-routines)).
8450 * Makerules (native-compile-mkdep-flags): Define.
8451 * sunrpc/Makefile (extra-objs): Add $(addprefix
8452 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8453 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8454 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8455 calling $(make-target-directory).
8457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8459 * bits/types.h (__snseconds_t): Removed.
8460 * time/time.h (struct timespec): Replace __snseconds_t with
8462 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8463 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8466 (__SNSECONDS_T_TYPE): Likewise.
8467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8468 (__SNSECONDS_T_TYPE): Likewise.
8469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8470 (__SNSECONDS_T_TYPE): Likewise.
8472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8474 * sysdeps/mach/hurd/bits/typesizes.h
8475 (__SYSCALL_SLONG_TYPE): New macro.
8476 (__SYSCALL_ULONG_TYPE): Likewise.
8478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8480 * bits/types.h (__syscall_slong_t): New type.
8481 (__syscall_ulong_t): Likewise.
8483 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8484 (__SYSCALL_ULONG_TYPE): Likewise.
8485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8486 (__SYSCALL_SLONG_TYPE): Likewise.
8487 (__SYSCALL_ULONG_TYPE): Likewise.
8488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8489 (__SYSCALL_SLONG_TYPE): Likewise.
8490 (__SYSCALL_ULONG_TYPE): Likewise.
8491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8492 (__SYSCALL_SLONG_TYPE): Likewise.
8493 (__SYSCALL_ULONG_TYPE): Likewise.
8495 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8497 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8498 Add sigaltstack-offsets.sym.
8499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8500 <sigaltstack-offsets.h>.
8501 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8502 longjmp_msg pointer.
8503 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8504 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8506 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8508 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8510 * elf/stackguard-macros.h: Remove file.
8511 * sysdeps/generic/stackguard-macros.h: New file.
8512 * sysdeps/i386/stackguard-macros.h: Likewise.
8513 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8514 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8515 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8516 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8517 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8518 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8519 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8520 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8521 <elf/stackguard-macros.h>.
8524 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8525 __aligned__ in attribute.
8526 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8527 (gregset_t): Likewise.
8529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8531 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8532 * sysdeps/x86_64/64/Implies-after: Here. New file.
8533 * sysdeps/x86_64/x32/Implies-after: New file.
8535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8537 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8538 and access return value for _dl_profile_fixup. Use R10_LP to
8541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8543 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8547 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8548 * sysdeps/x86_64/x32/sysdep.h: New file.
8550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8552 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8553 * sysdeps/x86_64/setjmp.S: Likewise.
8555 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8558 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8559 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8561 remove unused global constant.
8563 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8565 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8566 include of <not-cancel.h>.
8568 2012-05-15 Roland McGrath <roland@hack.frob.com>
8570 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8572 2012-05-15 Jeff Law <law@redhat.com>
8573 Andreas Jaeger <aj@suse.de>
8576 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8578 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8579 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8580 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8581 code changing __hst_map_handle.map.
8583 2012-05-15 Roland McGrath <roland@hack.frob.com>
8585 * configure.in (sysnames): Look for Implies-before and Implies-after
8587 * configure: Regenerated.
8589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8591 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8592 8-byte data alignment with LP_SIZE alignment.
8594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8601 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8609 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8613 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8614 (stackinfo_sub_sp): Likewise.
8616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8628 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8637 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8638 into R11_LP and load __x86_64_shared_cache_size_half into
8641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8646 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8654 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8655 powerpc32/power7/fpu/s_logb.c via #include.
8656 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8657 powerpc32/power7/fpu/s_logbf.c via #include.
8658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8659 powerpc32/power7/fpu/s_logbl.c via #include.
8661 2012-05-15 Joseph Myers <joseph@codesourcery.com>
8663 * README.libm: Remove file.
8665 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8667 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8668 count for x32. Use R*_LP and omit operand-size suffix.
8670 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8672 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8673 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8674 * sysdeps/x86_64/x32/shlib-versions: New file.
8676 2012-05-14 Roland McGrath <roland@hack.frob.com>
8678 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8679 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8680 Use _dl_fatal_printf instead.
8682 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8684 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8685 set if not set by the user. Do not allow for being unset.
8686 * sysdeps/unix/sysv/linux/configure: Regenerated.
8688 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8690 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8691 the `q' suffix from lea and replace .quad with ASM_ADDR.
8693 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8696 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8698 (PTR_DEMANGLE): Likewise.
8700 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8702 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8704 (ASM_ADDR): Likewise.
8722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8724 * sysdeps/x86_64/x32/dl-machine.h: New file.
8726 2012-05-14 Andreas Jaeger <aj@suse.de>
8728 * manual/Makefile (subdir): Remove export of subdir.
8729 (all): Remove target.
8730 (.PHONY): Remove all from list.
8731 (mkinstalldirs): Remove.
8732 (.PHONY): Remove installdirs from list.
8733 ($(inst_infodir)/libc.info): Use make-target-directory.
8734 (installdirs): Remove.
8736 (glibc-targets): Remove.
8739 ($(objpfx)stubs ../po/manual.pot): Remove.
8740 ($(objpfx)stamp%): Remove.
8741 (make-target-directory): Remove.
8742 (subdir_install): Remove.
8750 * manual/.gitignore: Remove, it's not needed anymore.
8751 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8753 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8755 (texis): Renamed to $(objpfx)texis.
8756 (texis-path): New, contains path to generated files.
8757 (chapters.%): Use texis-path for complete path, add extra argument
8759 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8760 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8761 (summary,texi, stamp-summary): Use complete path of
8762 files. Generate files in build dir.
8763 (dir-add.texi): Build in build dir.
8764 (libm-err.texi,stamp-libm-err): Likewise.
8765 (version.texi, stamp-version): Likewise.
8766 (.%c.texi): Likewise.
8767 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8768 (mostlyclean): Remove target.
8769 (realclean): Remove target.
8770 (generated): Add new variable with contents from mostlyclean and
8771 realclean, remove entries duplicated in common-mostlyclean, add
8772 stamp-libm-err and stamp-version.
8773 (generated-dirs): Add libc directory.
8774 ($(inst_infodir)/libc.info): Install files from build dir.
8776 * manual/install.texi (Configuring and compiling): Adjust since
8777 the info files are not part of the tar ball anymore.
8779 2012-05-14 Andreas Jaeger <aj@suse.de>
8781 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8784 2012-05-14 Joseph Myers <joseph@codesourcery.com>
8787 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8788 to 2.2.0 where earlier.
8789 * sysdeps/unix/sysv/linux/configure: Regenerated.
8790 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8791 Remove conditional code.
8792 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8793 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8794 Remove conditional code.
8795 [!__NR_lchown]: Likewise.
8796 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8797 [__NR_lchown]: Likewise.
8798 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8799 comment referencing __ASSUME_LCHOWN_SYSCALL.
8800 * sysdeps/unix/sysv/linux/i386/sigaction.c
8801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8803 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8804 Remove conditional code.
8805 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8806 (__protocol_available): Remove #if 0 code.
8807 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8809 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8810 * sysdeps/unix/sysv/linux/kernel-features.h
8811 (__ASSUME_GETCWD_SYSCALL): Don't define.
8812 (__ASSUME_REALTIME_SIGNALS): Likewise.
8813 (__ASSUME_PREAD_SYSCALL): Likewise.
8814 (__ASSUME_PWRITE_SYSCALL): Likewise.
8815 (__ASSUME_POLL_SYSCALL): Likewise.
8816 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8817 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8819 (__ASSUME_SIOCGIFNAME): Don't define.
8820 (__ASSUME_MSG_NOSIGNAL): Likewise.
8821 (__ASSUME_SENDFILE): Define unconditionally.
8822 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8823 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8825 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8827 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8828 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8830 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8831 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8856 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8857 Remove conditional code.
8858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8859 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8860 Remove conditional code.
8861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8862 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8863 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8864 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8865 Remove conditional code.
8866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8867 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8868 Remove conditional code.
8869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8870 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8871 Remove conditional code.
8872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8874 Remove conditional code.
8875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8877 Remove conditional code.
8878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8879 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8882 * sysdeps/unix/sysv/linux/sigaction.c
8883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8885 * sysdeps/unix/sysv/linux/sigpending.c
8886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8888 * sysdeps/unix/sysv/linux/sigprocmask.c
8889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8891 * sysdeps/unix/sysv/linux/sigsuspend.c
8892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8895 (__libc_missing_rt_sigs): Remove.
8896 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8897 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8898 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8899 Remove conditional code.
8900 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8901 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8904 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8905 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8906 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8908 2012-05-14 Andreas Jaeger <aj@suse.de>
8910 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8911 it's not used in glibc.
8912 (__coshm1): Likewise.
8913 (__acosh1p): Likewise.
8916 * manual/string.texi (Copying and Concatenation): Add missing
8917 variable in concat example.
8918 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8924 __builtin_clzl with __builtin_clzll.
8926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8929 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8932 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8934 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8935 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8936 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8937 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8939 2012-05-14 Mike Frysinger <vapier@gentoo.org>
8941 * NEWS: Update ia64 info.
8943 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8945 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8948 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8950 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8951 * sysdeps/unix/syscalls.list (dup3): Likewise.
8952 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8953 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8955 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8957 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8958 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8960 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8962 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8964 (TLS_IE): Use mov/add instead of movq/addq to load thread
8966 (TLS_GD_PREFIX): New.
8969 2012-05-11 David S. Miller <davem@davemloft.net>
8971 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8972 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8973 (_FPU_SETCW): Likewise.
8975 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8977 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8980 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8983 * iconvdata/gb18030.c: Update tables.
8984 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8985 characters specially.
8986 (BODY for TO_LOOP): Add encoding of missing ranges.
8988 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8991 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8992 * sysdeps/mach/hurd/dup3.c: Likewise.
8993 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8994 * sysdeps/powerpc/memmove.c:: Likewise.
8996 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8999 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9001 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9003 * elf/elf.h (R_X86_64_RELATIVE64): New.
9004 (R_X86_64_NUM): Updated.
9005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9006 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9007 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9008 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9009 tst-quad1pie tst-quad2pie
9010 (modules-names): Add tst-quadmod1 tst-quadmod2.
9011 ($(objpfx)tst-quad1): New dependency.
9012 ($(objpfx)tst-quad2): Likewise.
9013 ($(objpfx)tst-quad1pie): Likewise.
9014 ($(objpfx)tst-quad2pie): Likewise.
9015 * sysdeps/x86_64/tst-quad1.c: New file.
9016 * sysdeps/x86_64/tst-quad1pie.c: New file.
9017 * sysdeps/x86_64/tst-quad2.c: Likewise.
9018 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9019 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9020 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9021 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9022 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9026 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9027 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9028 * streams/stropts.h (t_scalar_t): Define type.
9030 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9031 (_PATH_PRESERVE): Set to "/var/lib".
9032 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9034 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9037 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9038 if __dir_mkfile succeeded.
9040 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9041 checking for _hurd_dtablesize. Unlock it right after having
9042 finished _hurd_dtable allocation.
9044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9046 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9047 * sysdeps/mach/hurd/configure: Regenerated.
9048 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9049 special-casing to...
9050 * sysdeps/gnu/configure.in: ... this new file.
9051 * sysdeps/unix/sysv/linux/configure: Regenerated.
9052 * sysdeps/gnu/configure: New generated file.
9054 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9055 for Linux: use nsec instead of usec, as well as:
9056 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9057 members of type struct timespec.
9058 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9060 (struct stat64): Likewise.
9061 (_STATBUF_ST_NSEC): New macro.
9062 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9064 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9065 __strtoul_internal rather than strtoul.
9067 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9069 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9072 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9074 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9075 which preserves existing values.
9076 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9078 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9080 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9081 TIMEOUT values. Return EINVAL for NFDS values either negative or
9082 greater than FD_SETSIZE.
9084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9086 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9087 allocated, call __vm_protect to finish enabling the existing space, and
9088 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9089 allocate the remainder.
9091 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9093 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9094 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9098 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9099 sysdeps/mach/hurd/readlink.c.
9101 * posix/tst-sysconf.c (posix_options): Only use
9102 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9103 _POSIX_SYNCHRONIZED_IO when they are defined
9104 * sysdeps/mach/hurd/bits/posix_opt.h:
9105 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9106 (_XOPEN_REALTIME): Undefine macro.
9107 (_XOPEN_REALTIME_THREADS): Undefine macro.
9108 (_XOPEN_SHM): Undefine macro.
9109 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9111 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9113 (_POSIX_ASYNC_IO): Undefine macro.
9114 (_POSIX_PRIORITIZED_IO): Undefine macro.
9115 (_POSIX_SPIN_LOCKS): Define macro to -1.
9117 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9118 SA_NODEFER, SA_RESETHAND.
9119 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9120 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9125 * elf/Makefile (pldd-modules): Define unconditionally.
9127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9129 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9131 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9133 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9134 Return ENOENT when name is empty.
9135 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9139 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9141 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9145 Fix mlock in all cases except non-readable pages.
9146 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9147 instead of VM_PROT_ALL as parameter to __vm_wire function.
9149 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9150 (__mkdir): When path is `/', just fail with EEXIST.
9151 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9155 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9156 <sys/uio.h> (for writev).
9157 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9158 and <sys/param.h> (for MIN).
9160 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9162 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9163 REQUESTED_TIME. Properly set the remaining time and return EINTR
9166 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9168 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9169 Depend on against $(link-rpcuserlibs).
9171 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9173 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9174 (__libc_stack_end): Do not use attribute_relro.
9175 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9176 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9177 to libthread-provided value.
9178 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9184 * bits/libc-lock.h (__libc_once_get): New macro.
9185 * sysdeps/mach/bits/libc-lock.h: Likewise.
9186 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9188 instead of using implementation details.
9190 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9191 * libio/freopen.c: Likewise.
9192 * libio/freopen64.c: Likewise.
9193 * misc/syslog.c: Likewise.
9194 * nscd/connections.c: Likewise.
9195 * nscd/netgroupcache.c: Likewise.
9196 * sysdeps/posix/getcwd.c: Likewise.
9198 2012-05-10 Roland McGrath <roland@hack.frob.com>
9200 * math/w_ilogbf.c: Add #include <limits.h>.
9202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9204 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9205 path instead of returning without unlocking.
9207 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9208 immediate-write ioctls.
9209 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9211 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9213 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9214 __builtin_frame_address instead of making assumptions about the
9215 location of the return address relative to DATA. Force early load of
9217 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9218 __builtin_frame_address.
9221 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9222 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9223 implement dup3 and do some further code clean-ups.
9224 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9225 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9227 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9229 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9231 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9232 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9233 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9234 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9235 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9238 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9239 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9240 when handler == SIG_ERR, not when handler != SIG_ERR.
9242 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9244 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9245 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9248 accept4 for GNU Hurd.
9249 * include/sys/socket.h (__libc_accept4): New prototype.
9250 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9251 to implement __libc_accept4.
9252 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9254 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9256 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9257 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9258 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9263 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9267 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9268 assertion on O_CLOEXEC flag.
9269 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9270 * hurd/intern-fd.c: Likewise.
9271 * hurd/port2fd.c: Likewise.
9273 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9276 * bits/in.h (IPV6_PKTINFO): Define new macro.
9277 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9279 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9284 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9285 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9286 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9289 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9290 * math/libm-test.inc (logb_test) : Additional logb tests.
9292 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9293 Andreas Jaeger <aj@suse.de>
9295 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9296 * configure: Regenerated.
9297 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9298 * config.make.in (link-obsolete-rpc): New substituted variable.
9299 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9300 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9301 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9302 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9303 so that libc.a contains the symbols.
9304 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9305 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9306 * sunrpc/auth_none.c: Likewise.
9307 * sunrpc/auth_unix.c: Likewise.
9308 * sunrpc/authdes_prot.c: Likewise.
9309 * sunrpc/authuxprot.c: Likewise.
9310 * sunrpc/clnt_gen.c: Likewise.
9311 * sunrpc/clnt_perr.c: Likewise.
9312 * sunrpc/clnt_raw.c: Likewise.
9313 * sunrpc/clnt_simp.c: Likewise.
9314 * sunrpc/clnt_tcp.c: Likewise.
9315 * sunrpc/clnt_udp.c: Likewise.
9316 * sunrpc/clnt_unix.c: Likewise.
9317 * sunrpc/des_crypt.c: Likewise.
9318 * sunrpc/des_soft.c: Likewise.
9319 * sunrpc/get_myaddr.c: Likewise.
9320 * sunrpc/key_call.c: Likewise.
9321 * sunrpc/key_prot.c: Likewise.
9322 * sunrpc/netname.c: Likewise.
9323 * sunrpc/pm_getmaps.c: Likewise.
9324 * sunrpc/pm_getport.c: Likewise.
9325 * sunrpc/pmap_clnt.c: Likewise.
9326 * sunrpc/pmap_prot.c: Likewise.
9327 * sunrpc/pmap_prot2.c: Likewise.
9328 * sunrpc/pmap_rmt.c: Likewise.
9329 * sunrpc/publickey.c: Likewise.
9330 * sunrpc/rpc_cmsg.c: Likewise.
9331 * sunrpc/rpc_common.c: Likewise.
9332 * sunrpc/rpc_dtable.c: Likewise.
9333 * sunrpc/rpc_prot.c: Likewise.
9334 * sunrpc/rpc_thread.c: Likewise.
9335 * sunrpc/rtime.c: Likewise.
9336 * sunrpc/svc.c: Likewise.
9337 * sunrpc/svc_auth.c: Likewise.
9338 * sunrpc/svc_raw.c: Likewise.
9339 * sunrpc/svc_run.c: Likewise.
9340 * sunrpc/svc_tcp.c: Likewise.
9341 * sunrpc/svc_udp.c: Likewise.
9342 * sunrpc/svc_unix.c: Likewise.
9343 * sunrpc/svcauth_des.c: Likewise.
9344 * sunrpc/xcrypt.c: Likewise.
9345 * sunrpc/xdr.c: Likewise.
9346 * sunrpc/xdr_array.c: Likewise.
9347 * sunrpc/xdr_float.c: Likewise.
9348 * sunrpc/xdr_intXX_t.c: Likewise.
9349 * sunrpc/xdr_mem.c: Likewise.
9350 * sunrpc/xdr_rec.c: Likewise.
9351 * sunrpc/xdr_ref.c: Likewise.
9352 * sunrpc/xdr_sizeof.c: Likewise.
9353 * sunrpc/xdr_stdio.c: Likewise.
9355 2012-05-10 Roland McGrath <roland@hack.frob.com>
9357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9358 change. Update copyright years.
9360 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9362 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9364 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9365 Joseph Myers <joseph@codesourcery.com>
9366 Paul Pluzhnikov <ppluzhnikov@google.com>
9369 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9371 [cross-compiling] (extra-libs): Likewise.
9372 [cross-compiling] (extra-libs-others): Likewise.
9373 [cross-compiling] (librpcsvc-routines): Likewise.
9374 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9375 [cross-compiling] (omit-deps): Likewise.
9376 (sunrpc-CPPFLAGS): New variable.
9377 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9378 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9379 (cross-rpcgen-objs): New variable.
9380 (extra-objs): Append $(cross-rpcgen-objs).
9381 ($(cross-rpcgen-objs)): New rule.
9382 ($(objpfx)cross-rpcgen): Likewise.
9383 (rpcgen-cmd): Define to use $(built-program-file). Expand
9385 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9386 ($(objpfx)x%.stmp): Likewise.
9387 * sunrpc/proto.h [IS_IN_build] (_): Define.
9388 [IS_IN_build] (_libc_intl_domainname): Likewise.
9390 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9393 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9394 and R_X86_64_TPOFF64.
9396 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9398 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9399 sysdeps/unix/sysv/syscalls.list.
9402 * sysdeps/unix/sysv/syscalls.list: Remove file.
9404 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9407 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9408 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9409 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9410 (__LC_IDENTIFICATION): Make these macros useful in #if
9411 expressions, as required by C99.
9413 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9415 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9416 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9419 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9421 * stdlib/longlong.h: Updated from GCC.
9423 2012-05-09 Andreas Jaeger <aj@suse.de>
9425 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9426 default is first entry.
9427 (run_mode): Set type.
9428 (main): Remove informal message about syslog.
9429 (options): Fix typo.
9432 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9435 (llrintf): Likewise.
9439 (nearbyint): Likewise.
9440 (nearbyintf): Likewise.
9442 2012-05-09 Andreas Jaeger <aj@suse.de>
9443 Pedro Alves <palves@redhat.com>
9445 * nscd/nscd.c (run_mode): Use enum.
9446 (main): Cleanup coding style issue.
9448 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9449 Andreas Jaeger <aj@suse.de>
9451 * nscd/nscd.c (go_background): Replaced with...
9452 (run_mode): ... this.
9453 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9454 (options): Add -F --foreground.
9455 (main): Implement it.
9456 (parse_opt): Parse it.
9458 2012-05-09 Andreas Jaeger <aj@suse.de>
9461 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9462 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9463 -Wconversion warning.
9464 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9467 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9469 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9471 (LC_ALL): Use macro-int-constant.
9472 (LC_COLLATE): Likewise.
9473 (LC_CTYPE): Likewise.
9474 (LC_MESSAGES): Likewise.
9475 (LC_MONETARY): Likewise.
9476 (LC_NUMERIC): Likewise.
9477 (LC_TIME): Likewise.
9478 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9479 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9481 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9483 [C99-based standards] (float_t): Expect type.
9484 [C99-based standards] (double_t): Expect type.
9485 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9487 [C99-based standards] (HUGE_VALL): Likewise.
9488 [C99-based standards] (INFINITY): Likewise.
9489 [C99-based standards] (NAN): Likewise.
9490 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9491 [C99-based standards] (FP_NAN): Likewise.
9492 [C99-based standards] (FP_NORMAL): Likewise.
9493 [C99-based standards] (FP_SUBNORMAL): Likewise.
9494 [C99-based standards] (FP_ZERO): Likewise.
9495 [C99-based standards] (FP_FAST_FMA): Use
9496 optional-macro-int-constant. Specify type. Require == 1.
9497 [C99-based standards] (FP_FAST_FMAF): Likewise.
9498 [C99-based standards] (FP_FAST_FMAL): Likewise.
9499 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9500 [C99-based standards] (FP_ILOGBNAN): Likewise.
9501 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9503 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9504 [C99-based standards] (math_errhandling): Specify type.
9505 [ISO99 || ISO11] (signgam): Do not allow.
9506 [non-C99-based standards] (copysignf): Do not allow.
9507 [non-C99-based standards] (exp2f): Likewise.
9508 [non-C99-based standards] (log2f): Likewise.
9509 [non-C99-based standards] (modff): Allow.
9510 [non-C99-based standards] (erff): Do not allow.
9511 [non-C99-based standards] (erfcf): Likewise.
9512 [non-C99-based standards] (gammaf): Likewise.
9513 [non-C99-based standards] (hypotf): Likewise.
9514 [non-C99-based standards] (j0f): Likewise.
9515 [non-C99-based standards] (j1f): Likewise.
9516 [non-C99-based standards] (jnf): Likewise.
9517 [non-C99-based standards] (lgammaf): Likewise.
9518 [non-C99-based standards] (tgammaf): Likewise.
9519 [non-C99-based standards] (y0f): Likewise.
9520 [non-C99-based standards] (y1f): Likewise.
9521 [non-C99-based standards] (ynf): Likewise.
9522 [non-C99-based standards] (isnanf): Likewise.
9523 [non-C99-based standards] (acoshf): Likewise.
9524 [non-C99-based standards] (asinhf): Likewise.
9525 [non-C99-based standards] (atanhf): Likewise.
9526 [non-C99-based standards] (cbrtf): Likewise.
9527 [non-C99-based standards] (expm1f): Likewise.
9528 [non-C99-based standards] (ilogbf): Likewise.
9529 [non-C99-based standards] (log1pf): Likewise.
9530 [non-C99-based standards] (logbf): Likewise.
9531 [non-C99-based standards] (nextafterf): Likewise.
9532 [non-C99-based standards] (remainderf): Likewise.
9533 [non-C99-based standards] (rintf): Likewise.
9534 [non-C99-based standards] (scalbf): Likewise.
9535 [non-C99-based standards] (copysignl): Likewise.
9536 [non-C99-based standards] (exp2l): Likewise.
9537 [non-C99-based standards] (log2l): Likewise.
9538 [non-C99-based standards] (modfl): Allow.
9539 [non-C99-based standards] (erfl): Do not allow.
9540 [non-C99-based standards] (erfcl): Likewise.
9541 [non-C99-based standards] (gammal): Likewise.
9542 [non-C99-based standards] (hypotl): Likewise.
9543 [non-C99-based standards] (j0l): Likewise.
9544 [non-C99-based standards] (j1l): Likewise.
9545 [non-C99-based standards] (jnl): Likewise.
9546 [non-C99-based standards] (lgammal): Likewise.
9547 [non-C99-based standards] (tgammal): Likewise.
9548 [non-C99-based standards] (y0l): Likewise.
9549 [non-C99-based standards] (y1l): Likewise.
9550 [non-C99-based standards] (ynl): Likewise.
9551 [non-C99-based standards] (isnanl): Likewise.
9552 [non-C99-based standards] (acoshl): Likewise.
9553 [non-C99-based standards] (asinhl): Likewise.
9554 [non-C99-based standards] (atanhl): Likewise.
9555 [non-C99-based standards] (cbrtl): Likewise.
9556 [non-C99-based standards] (expm1l): Likewise.
9557 [non-C99-based standards] (ilogbl): Likewise.
9558 [non-C99-based standards] (log1pl): Likewise.
9559 [non-C99-based standards] (logbl): Likewise.
9560 [non-C99-based standards] (nextafterl): Likewise.
9561 [non-C99-based standards] (remainderl): Likewise.
9562 [non-C99-based standards] (rintl): Likewise.
9563 [non-C99-based standards] (scalbl): Likewise.
9564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9565 [non-C99-based standards] (FP_*): Do not allow.
9566 [C99-based standards] (FP_*): Change to
9567 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9568 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9570 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9571 (SIG_ERR): Likewise.
9572 [X/Open-based standards] (SIG_HOLD): Likewise.
9573 (SIG_IGN): Likewise.
9574 (SIGABRT): Use macro-int-constant. Specify type. Require
9579 (SIGSEGV): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9585 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9589 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9590 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9591 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9592 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9593 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9594 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9596 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9597 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9598 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9599 [X/Open-based standards] (SIGTRAP): Likewise.
9600 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9604 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9607 2012-05-08 Ian Wienand <ianw@vmware.com>
9610 * time/tzset.c (__tzset_parse_tz): Update default rules for
9611 daylight time changes in the Energy Policy Act of 2005.
9613 2012-05-09 Andreas Jaeger <aj@suse.de>
9616 * elf/ldconfig.c (parse_conf): Change string to make clear that
9617 ldconfig only issued a warning if ld.so.conf does not exist.
9619 2012-05-08 David S. Miller <davem@davemloft.net>
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9622 movxtod instead of popping the value on the stack.
9624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9626 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9628 * config.h.in: Add HAVE_ARM_PCS_VFP.
9630 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
9633 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9634 checking but the checks are disabled for any reason.
9636 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9638 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9639 and ELF64_R_TYPE with ELFW(R_TYPE).
9641 2012-05-08 Joseph Myers <joseph@codesourcery.com>
9643 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9646 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9647 (settimeofday): Likewise.
9649 2012-05-08 Mike Frysinger <vapier@gentoo.org>
9651 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9652 a struct th_u2 inside the union, and move tu_block/tu_code into
9653 a new th_u3 union of tu_block/tu_code inside of that. Move
9654 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9655 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9656 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9657 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9658 (th_stuff): Change to th_u1.tu_stuff.
9660 (th_msg): Change to th_u1.th_u2.tu_data.
9662 2012-05-07 David S. Miller <davem@davemloft.net>
9664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9668 (SETUP_PIC_REG): Use it.
9669 (SETUP_PIC_REG_LEAF): Use it.
9671 2012-05-07 Joseph Myers <joseph@codesourcery.com>
9675 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9677 (EXPL_FINITE): Likewise.
9679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9680 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9682 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9684 (EXPL_FINITE): Likewise.
9686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9687 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9689 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9690 test of -max_value argument for long double.
9691 * sysdeps/i386/fpu/libm-test-ulps: Update.
9692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9694 2012-05-06 David S. Miller <davem@davemloft.net>
9696 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9697 quad soft-float symbols whose references which are compiler
9699 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9701 2012-05-06 Joseph Myers <joseph@codesourcery.com>
9705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9707 (EXPL_FINITE): Likewise.
9711 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9712 Adjust comments for base varying.
9713 (__expl_finite): Change alias to EXPL_FINITE.
9714 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9716 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9717 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9719 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9720 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9722 (EXPL_FINITE): Likewise.
9726 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9727 Adjust comments for base varying.
9728 (__expl_finite): Change alias to EXPL_FINITE.
9729 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9734 * math/libm-test.inc (check_float_internal): Correct ulp
9735 calculation for subnormal expected results.
9737 2012-05-06 Andreas Jaeger <aj@suse.de>
9739 * Makeconfig (+math-flags): New, set to -frounding-math.
9740 (+cflags): Add +math-flags so that all of glibc gets compiled with
9743 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9745 2012-05-05 Joseph Myers <joseph@codesourcery.com>
9747 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9753 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9754 (__ieee754_expl): Allow for and saturate large arguments.
9755 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9756 (u_threshold): Likewise.
9757 (__exp): Call __ieee754_exp before checking for overflow and
9759 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9760 (u_threshold): Likewise.
9761 (__expf): Call __ieee754_expf before checking for overflow and
9763 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9764 (u_threshold): Likewise.
9765 (__expl): Call __ieee754_expl before checking for overflow and
9767 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9768 (__ieee754_expl): Allow for and saturate large arguments.
9769 * math/libm-test.inc (exp_test): Add another test. Do not allow
9770 missing overflow exception on overflow.
9771 (expm1_test): Do not allow missing overflow exception on overflow.
9773 * sysdeps/i386/fpu/e_expl.c: Move to ...
9774 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9775 rather than using inline asm.
9776 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9777 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9778 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9780 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9787 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9789 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9790 sysdeps/unix/common/syscalls.list.
9793 (ftruncate): Likewise.
9794 (getrusage): Likewise.
9795 (gettimeofday): Likewise.
9796 (setpgid): Likewise.
9797 (setregid): Likewise.
9798 (setreuid): Likewise.
9799 (sigaction): Likewise.
9800 (truncate): Likewise.
9801 (vhangup): Likewise.
9802 * sysdeps/unix/common/syscalls.list: Remove file.
9803 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9804 * sysdeps/unix/sysv/linux/Implies: Likewise.
9806 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9808 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9810 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9820 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9823 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9826 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9829 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9832 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9843 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9847 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9851 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9853 * sysdeps/unix/common/bits/dirent.h: Remove file.
9854 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9856 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9857 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9858 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9859 * sysdeps/unix/bsd/isatty.c: Likewise.
9860 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9861 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9862 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9864 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9868 long double comparison inaccuracies.
9869 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9872 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9874 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9877 2012-05-04 Joseph Myers <joseph@codesourcery.com>
9880 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9881 nonzero digits before rounding a hex value.
9882 * stdlib/tst-strtod.c (tests): Add another test.
9884 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9886 * sysdeps/s390/fpu/libm-test-ulps: Update.
9888 2012-05-03 Andreas Jaeger <aj@suse.de>
9890 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9891 does not get optimized out.
9892 (malloc_opt_barrier): New.
9894 2012-05-03 Andreas Jaeger <aj@suse.de>
9895 Roland McGrath <roland@hack.frob.com>
9897 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
9898 intermediate file deletion.
9899 (generated): Add .symlist files.
9901 2012-05-03 Joseph Myers <joseph@codesourcery.com>
9904 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9905 Redirect under this condition.
9906 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9907 [__USE_GNU] (__dprintf_chk): Not under this condition.
9908 [__USE_GNU] (__vdprintf_chk): Likewise.
9909 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9910 under this condition.
9911 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9912 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9913 [__USE_XOPEN2K8] (vdprintf): Likewise.
9914 [__USE_GNU] (__dprintf_chk): Not under this condition.
9915 [__USE_GNU] (__vdprintf_chk): Likewise.
9916 [__USE_GNU] (dprintf): Likewise.
9917 [__USE_GNU] (vdprintf): Likewise.
9919 2012-05-03 Roland McGrath <roland@hack.frob.com>
9921 * elf/Makefile (common-generated): Set this instead of generated for
9922 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9923 $(all-built-dso)-derived lists.
9925 2012-05-03 Andreas Jaeger <aj@suse.de>
9927 * sysdeps/i386/fpu/libm-test-ulps: Update.
9931 * scripts/gen-FAQ.pl: Likewise.
9932 * manual/install.texi (Installation): Point to online location of
9934 * Makefile (files-for-dist): Remove FAQ.
9937 2012-05-02 Allan McRae <allan@archlinux.org>
9939 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9940 (LDFLAGS-reldepmod5.so): Likewise.
9941 (LDFLAGS-reldep6mod1.so): Likewise.
9942 (LDFLAGS-reldep6mod4.so): Likewise.
9943 (LDFLAGS-reldep8mod3.so): Likewise.
9944 (LDFLAGS-unload4mod1.so): Likewise.
9945 (LDFLAGS-unload4mod2.so): Likewise.
9946 (LDFLAGS-tst-initorder): Likewise.
9947 (LDFLAGS-tst-initordera2.so): Likewise.
9948 (LDFLAGS-tst-initordera3.so): Likewise.
9949 (LDFLAGS-tst-initordera4.so): Likewise.
9950 (LDFLAGS-tst-initorderb2.so): Likewise.
9951 (LDFLAGS-noload): Likewise.
9952 (LDFLAGS-next): Likewise.
9953 (LDFLAGS-order2mod1.so): Likewise.
9954 (LDFLAGS-order2mod2.so): Likewise.
9955 (LDFLAGS-tst-initorder2): Likewise.
9956 (LDFLAGS-tst-initorder2a.so): Likewise.
9957 (LDFLAGS-tst-initorder2b.so): Likewise.
9958 (LDFLAGS-tst-initorder2c.so): Likewise.
9959 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9961 2012-05-02 David S. Miller <davem@davemloft.net>
9963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9965 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9968 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9970 2012-05-02 Andreas Jaeger <aj@suse.de>
9972 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9973 since we manipulate rounding mode.
9974 (CPPFLAGS-test-idouble.c): Likewise.
9975 (CPPFLAGS-test-ifloat.c): Likewise.
9976 (CFLAGS-test-ldouble.c): Likewise.
9977 (CFLAGS-test-double.c): Likewise.
9978 (CFLAGS-test-float.c): Likewise.
9979 (CFLAGS-test-misc.c): Likewise.
9980 (CFLAGS-test-test-fenv.c): Likewise.
9982 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9987 comparisons to determine direction to adjust input.
9989 2012-05-01 Roland McGrath <roland@hack.frob.com>
9991 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9992 output to the target.
9994 * scripts/localplt.awk: New file.
9995 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9996 (check-localplt-CFLAGS): Variable removed.
9997 ($(all-built-dso:=.jmprel)): New static pattern rule.
9998 (generated): Add those targets.
9999 (localplt-built-dso): New variable.
10000 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10002 * elf/check-localplt.c: File removed.
10004 * scripts/check-execstack.awk: New file.
10005 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10006 (check-execstack-CFLAGS): Variable removed.
10007 ($(objpfx)check-execstack.h): Target removed.
10008 ($(objpfx)execstack-default): New target.
10009 (generated): Add that instead of check-execstack.h.
10010 ($(all-built-dso:=.phdr)): New static pattern rule.
10011 (generated): Add those targets.
10012 * elf/check-execstack.c: File removed.
10014 * scripts/check-textrel.awk: New file.
10015 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10016 (check-textrel-CFLAGS): Variable removed.
10017 (all-built-dso): Use := to define.o
10018 ($(all-built-dso:=.dyn)): New static pattern rule.
10019 (generated): Add those targets.
10020 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10021 * config.make.in (READELF): New substituted variable.
10022 * elf/check-textrel.c: File removed.
10024 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10026 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10028 * conform/data/ctype.h-data [C99-based standards] (isblank):
10030 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10031 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10033 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10034 Specify type. Require positive value.
10035 (EILSEQ): Likewise.
10036 (ERANGE): Likewise.
10037 [ISO || POSIX] (EILSEQ): Do not expect.
10038 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10039 Specify type. Require positive value.
10040 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10043 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10044 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10045 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10046 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10052 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10053 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10058 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10059 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10060 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10071 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10090 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10093 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10095 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10096 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10097 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10098 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10100 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10101 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10102 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10103 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10104 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10106 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10107 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10108 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10109 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10111 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10112 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10113 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10114 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10115 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10116 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10118 (FLT_ROUNDS): Expect as macro, not constant.
10119 (FLT_MANT_DIG): Use macro-int-constant.
10120 (DBL_MANT_DIG): Likewise.
10121 (LDBL_MANT_DIG): Likewise.
10122 (FLT_DIG): Likewise.
10123 (DBL_DIG): Likewise.
10124 (LDBL_DIG): Likewise.
10125 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10126 (DBL_MIN_EXP): Likewise.
10127 (LDBL_MIN_EXP): Likewise.
10128 (FLT_MAX_EXP): Use macro-int-constant.
10129 (DBL_MAX_EXP): Likewise.
10130 (LDBL_MAX_EXP): Likewise.
10131 (FLT_MAX_10_EXP): Likewise.
10132 (DBL_MAX_10_EXP): Likewise.
10133 (LDBL_MAX_10_EXP): Likewise.
10134 (FLT_MAX): Use macro-constant.
10135 (DBL_MAX): Likewise.
10136 (LDBL_MAX): Likewise.
10137 (FLT_EPSILON): Use macro-constant. Give upper bound.
10138 (DBL_EPSILON): Likewise.
10139 (LDBL_EPSILON): Likewise.
10140 (FLT_MIN): Likewise.
10141 (DBL_MIN): Likewise.
10142 (LDBL_MIN): Likewise.
10143 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10144 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10145 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10146 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10147 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10148 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10149 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10150 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10151 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10152 [ISO11] (FLT_TRUE_MIN): Likewise.
10153 [ISO11] (LDBL_TRUE_MIN): Likewise.
10154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10155 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10156 (SCHAR_MIN): Use macro-int-constant. Specify type.
10157 (SCHAR_MAX): Likewise.
10158 (UCHAR_MAX): Likewise.
10159 (CHAR_MIN): Likewise.
10160 (CHAR_MAX): Likewise.
10161 (MB_LEN_MAX): Use macro-int-constant.
10162 (SHRT_MIN): Use macro-int-constant. Specify type.
10163 (SHRT_MAX): Likewise.
10164 (USHRT_MAX): Likewise.
10165 (INT_MAX): Likewise.
10166 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10168 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10170 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10172 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10173 bound negative. Suffix upper bound with "L".
10174 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10176 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10178 [C99-based standards] (LLONG_MAX): Likewise.
10179 [C99-based standards] (ULLONG_MAX): Likewise.
10180 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10182 [ISO11] (max_align_t): Require type.
10183 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10185 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10186 from $CFLAGS, without defining away __attribute__ calls.
10187 (checknamespace): Use $CFLAGS_namespace.
10189 * conform/conformtest.pl (@keywords): Only include C99 keywords
10190 for standards based on C99 or C11.
10192 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10194 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10197 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10198 usability of symbols in #if.
10200 * conform/conformtest.pl: If macro or constant types start
10201 "promoted:", expect the symbol to be of the following type
10202 promoted by the integer promotions.
10204 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10205 in one place. Also handle "macro-constant".
10207 * conform/conformtest.pl: Only accept expected macro values with
10208 "==". Parse all "macro" lines in one place.
10209 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10211 * conform/conformtest.pl: Handle braced types on "constant" lines
10212 instead of handling "typed-constant".
10213 * conform/data/signal.h-data: Use "constant" instead of
10216 * conform/conformtest.pl: Handle "optional-" at start of lines in
10217 one place rather than duplicating several cases. Handle each
10218 format of "macro" line with initial "optional-".
10220 * conform/conformtest.pl: Only accept expected constant or
10221 optional-constant values with "==". Parse all "constant" lines in
10222 one place. Parse all "optional-constant" lines in one place.
10223 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10224 * conform/data/fmtmsg.h-data: Likewise.
10225 * conform/data/netinet/in.h-data: Likewise.
10226 * conform/data/tar.h-data: Likewise.
10227 * conform/data/limits.h-data: Use "==" form on "constant" and
10228 "optional-constant" lines.
10230 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10231 Use -std=c99 for XOPEN2K.
10232 (@knownproblems): Remove.
10233 (newtoken): Don't check %isknown.
10235 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10236 Do not expect macro.
10237 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10249 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10250 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10267 [XPG3] (acosh): Likewise.
10268 [XPG3] (asinh): Likewise.
10269 [XPG3] (atanh): Likewise.
10270 [XPG3] (cbrt): Likewise.
10271 [XPG3] (expm1): Likewise.
10272 [XPG3] (ilogb): Likewise.
10273 [XPG3] (log1p): Likewise.
10274 [XPG3] (logb): Likewise.
10275 [XPG3] (nextafter): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10278 [XPG3] (remainder): Likewise.
10279 [XPG3] (rint): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10287 [UNIX98 || XOPEN2K] (scalb): Expect.
10288 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10289 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10307 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10308 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10426 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10427 _XOPEN_SOURCE_EXTENDED for XPG4.
10429 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10431 * Makeconfig (localtime): Remove variable.
10432 (inst_localtime-file): Likewise.
10434 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10455 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10459 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10460 comparisons to determine direction to adjust input.
10461 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10462 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10469 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10472 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10474 * math/libm-test.inc (nexttoward_test): Add more tests.
10476 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10480 in version GLIBC_2.1, not GLIBC_2.0.
10481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10484 2012-04-30 Joseph Myers <joseph@codesourcery.com>
10487 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10489 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10490 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10491 * math/libm-test.inc (acos_test): Add more tests.
10492 (asin_test): Likewise.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10497 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10499 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10500 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10501 * math/libm-test.inc (acos_test_tonearest): New function.
10502 (acos_test_towardzero): Likewise.
10503 (acos_test_downward): Likewise.
10504 (acos_test_upward): Likewise.
10505 (asin_test_tonearest): Likewise.
10506 (asin_test_towardzero): Likewise.
10507 (asin_test_downward): Likewise.
10508 (asin_test_upward): Likewise.
10509 (main): Call the new functions.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10515 * math/e_exp10.c: Include <float.h>.
10516 (__ieee754_exp10): Handle underflow here rather than multiplying
10517 large negative argument by M_LN10.
10518 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10520 * math/e_exp10l.c: Include <float.h>.
10521 (__ieee754_exp10l): Handle underflow here rather than multiplying
10522 large negative argument by M_LN10l.
10523 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10524 spurious overflow exception on underflow.
10526 2012-04-29 Marek Polacek <polacek@redhat.com>
10528 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10529 (__fortify_function): New macro.
10530 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10531 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10532 __extern_always_inline.
10533 * libio/bits/stdio2.h: Likewise.
10534 * libio/bits/stdio.h: Likewise.
10535 * string/string.h: Likewise.
10536 * string/bits/string3.h: Likewise.
10537 * include/stdio.h: Likewise.
10538 * stdlib/bits/stdlib.h: Likewise.
10539 * stdlib/stdlib.h: Likewise.
10540 * rt/bits/mqueue2.h: Likewise.
10541 * rt/mqueue.h: Likewise.
10542 * posix/bits/unistd.h: Likewise.
10543 * posix/unistd.h: Likewise.
10544 * io/bits/poll2.h: Likewise.
10545 * io/bits/fcntl2.h: Likewise.
10546 * io/fcntl.h: Likewise.
10547 * io/sys/poll.h: Likewise.
10548 * misc/bits/syslog.h: Likewise.
10549 * misc/bits/syslog-ldbl.h: Likewise.
10550 * misc/sys/syslog.h: Likewise.
10551 * socket/bits/socket2.h: Likewise.
10552 * socket/sys/socket.h: Likewise.
10553 * debug/tst-chk1.c: Likewise.
10554 * wcsmbs/bits/wchar2.h: Likewise.
10555 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10556 * wcsmbs/wchar.h: Likewise.
10558 2012-04-29 Andreas Jaeger <aj@suse.de>
10560 * Makerules (tests): Remove enable-check-abi protection.
10561 (check-abi-warn): Remove.
10562 (check-abi-%): Remove check-abi-warn usage.
10564 * configure.in: Remove check-abi configure option.
10565 * configure: Regenerated.
10566 * config.make.in (enable-check-abi): Remove.
10568 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10571 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10572 double functions to double *_finite functions.
10575 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10576 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10578 * stdio-common/Makefile (tests): Add tst-sprintf3.
10579 * stdio-common/tst-sprintf3.c: New file.
10581 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10582 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10584 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10586 * conform/conformtest.pl: Remove duplicate typed-constant
10589 2012-04-28 David S. Miller <davem@davemloft.net>
10591 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10592 (check-abi-%): Remove AWK script prerequisite and explicit
10594 (check-abi): Rewrite to just diff the symlist with the abilist.
10595 (config-tls, config-abi-config): Delete, no longer used.
10596 (update-abi-%): Remove AWK script and explicit abilist directory.
10597 (update-abi): Rewrite to simply compare and conditionally copy the
10598 symlist and the sysdep abilist file. Remove update-abi-config
10600 * abilist/ld.abilist: Remove.
10601 * abilist/libBrokenLocale.abilist: Remove.
10602 * abilist/libanl.abilist: Remove.
10603 * abilist/libcrypt.abilist: Remove.
10604 * abilist/libdl.abilist: Remove.
10605 * abilist/librt.abilist: Remove.
10606 * abilist/libthread_db.abilist: Remove.
10607 * abilist/libutil.abilist: Remove.
10608 * scripts/extract-abilist.awk: Remove.
10609 * scripts/merge-abilist.awk: Remove.
10610 * sysdeps/generic/libcidn.abilist: New file.
10611 * sysdeps/generic/libnss_compat.abilist: New file.
10612 * sysdeps/generic/libnss_db.abilist: New file.
10613 * sysdeps/generic/libnss_dns.abilist: New file.
10614 * sysdeps/generic/libnss_files.abilist: New file.
10615 * sysdeps/generic/libnss_hesiod.abilist: New file.
10616 * sysdeps/generic/libnss_nis.abilist: New file.
10617 * sysdeps/generic/libnss_nisplus.abilist: New file.
10618 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10619 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10620 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10622 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10623 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10624 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10625 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10626 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10627 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10628 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10629 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10630 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10632 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10633 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10634 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10635 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10637 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10639 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10640 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10641 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10644 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10645 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10648 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10752 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10753 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10756 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10757 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10758 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10759 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10760 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10761 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10763 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10764 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10816 2012-04-28 Joseph Myers <joseph@codesourcery.com>
10818 * conform/conformtest.pl: Fix typo in handling typed-constant from
10821 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10823 * README: Cut down references to pre-2.6 Linux kernels and
10824 Linuxthreads. Update lists of configurations in libc and ports
10825 and sort alphabetically. Say "or newer" with Linux kernel version
10828 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10830 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10833 * math/libm-test.inc (logb_test_downward): New test to expose
10834 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10837 2012-04-27 Joseph Myers <joseph@codesourcery.com>
10840 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10842 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10843 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10845 2012-04-26 Joseph Myers <joseph@codesourcery.com>
10847 * sysdeps/unix/i386/brk.S: Remove file.
10848 * sysdeps/unix/i386/dl-brk.S: Likewise.
10849 * sysdeps/unix/i386/pipe.S: Likewise.
10850 * sysdeps/unix/i386/sigreturn.S: Likewise.
10851 * sysdeps/unix/i386/syscall.S: Likewise.
10852 * sysdeps/unix/i386/vfork.S: Likewise.
10853 * sysdeps/unix/i386/wait.S: Likewise.
10855 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10856 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10858 * configure.in (arm*-none*): Do not allow without
10859 --enable-hacker-mode.
10860 (netbsd*): Remove case setting base_os.
10861 (386bsd*): Likewise.
10862 (freebsd*): Likewise.
10865 (sunos*): Likewise.
10866 (ultrix*): Likewise.
10867 (newsos*): Likewise.
10868 (dynix*): Likewise.
10874 (minix*): Likewise.
10875 (irix4*): Likewise.
10876 (irix6*): Likewise.
10877 (solaris[2-9]*): Likewise.
10879 * configure: Regenerated.
10881 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10884 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10885 overflow or cancellation in calculating denominator.
10886 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10888 down expression to avoid unexpected rounding in newer GCCs.
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10891 2012-04-26 David S. Miller <davem@davemloft.net>
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10894 long-double compat symbols.
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10909 2012-04-25 David S. Miller <davem@davemloft.net>
10911 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10912 HWCAP_* values only after the memory barriers have been defined.
10913 (atomic_full_barrier): Define.
10914 (atomic_read_barrier): Define.
10915 (atomic_write_barrier): Define.
10917 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10919 * shlib-versions: Add libgcc_s version information.
10920 * sysdeps/generic/libgcc_s.h: Remove.
10921 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10923 * sysdeps/gnu/unwind-resume.c: Likewise.
10924 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10926 2012-04-25 David S. Miller <davem@davemloft.net>
10928 * sysdeps/unix/sparc/brk.S: Delete.
10929 * sysdeps/unix/sparc/dl-brk.S: Delete.
10930 * sysdeps/unix/sparc/pipe.S: Delete.
10931 * sysdeps/unix/sparc/sysdep.S: Delete.
10932 * sysdeps/unix/sparc/sysdep.h: Delete.
10933 * sysdeps/unix/sparc/vfork.S: Delete.
10934 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10935 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10937 ret_ERRVAL, r0, r1, MOVE): Define.
10938 (JUMPTARGET): Remove.
10939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10940 sysdeps/unix/sparc/sysdep.h
10941 (ENTRY, END): Remove.
10942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10944 2012-04-25 Joseph Myers <joseph@codesourcery.com>
10946 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10947 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10950 * timezone/README: Update upstream location and email address for
10952 * timezone/zdump.c: Update from tzcode 2012b.
10953 * timezone/zic.c: Likewise.
10955 * configure.in (libc_cv_as_needed): Remove test.
10956 * configure: Regenerated.
10957 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10958 conditional definition.
10959 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10960 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10961 * config.make.in (have-as-needed): Remove variable.
10963 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10964 Paul Pluzhnikov <ppluzhnikov@google.com>
10966 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10969 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10971 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10972 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10973 * sysdeps/sh/strlen.S: Likewise.
10975 2012-04-24 Joseph Myers <joseph@codesourcery.com>
10977 * sysdeps/unix/fork.S: Remove file.
10978 * sysdeps/unix/i386/fork.S: Likewise.
10979 * sysdeps/unix/sparc/fork.S: Likewise.
10981 * sysdeps/unix/system.c: Remove file.
10982 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10984 * sysdeps/unix/getegid.S: Remove file.
10985 * sysdeps/unix/geteuid.S: Likewise.
10987 2012-04-24 Roland McGrath <roland@hack.frob.com>
10989 * scripts/check-localplt.awk: New file.
10990 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10992 * scripts/data/localplt-generic.data: Add a comment.
10994 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10995 NODE when __dir_mkfile failed.
10996 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10997 Reported by Ludovic Courtès <ludo@gnu.org>.
10999 2012-04-24 Andreas Jaeger <aj@suse.de>
11001 * Makerules (common-clean): Also remove gen-as-const-headers
11004 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11006 * Makerules (native-compile): Do not change working directory for
11007 build. Use $(OUTPUT_OPTION) in command.
11008 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11010 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11013 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11014 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11015 * math/libm-test.inc (floor_test): Add more tests.
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11018 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11020 * sysdeps/unix/getdents.c: Remove file.
11021 * sysdeps/unix/sysv/getdents.c: Likewise.
11022 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11024 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11025 sysdeps/unix/mman/syscalls.list.
11027 (mprotect): Likewise.
11029 (munmap): Likewise.
11030 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11031 * sysdeps/unix/mman/syscalls.list: Remove.
11032 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11034 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11035 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11036 * configure: Regenerated.
11037 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11038 $(libgcc_s_suffix).
11039 * config.make.in (libgcc_s_suffix): Remove variable.
11041 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11043 * sysdeps/unix/sysv/gethostname.c: Move to ...
11044 * sysdeps/posix/gethostname.c: ... here.
11046 * sysdeps/unix/execve.S: Remove file.
11048 * sysdeps/unix/_exit.S: Remove file.
11050 2012-04-23 Andreas Jaeger <aj@suse.de>
11053 * manual/Makefile: Remove make dist support, there's no
11054 need for a stand-alone documentation tar ball.
11055 (TEXI2DVI): Define always, it's not in Makeconfig.
11058 (edition): Removed.
11059 (glibc-doc-$(edition).tar): Removed
11063 (ETAGS): Remove, it's in Makeconfig.
11064 (move-if-change): Remove, it's in Makeconfig.
11066 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11069 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11070 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11071 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11072 (strtod_l, strtof_l, strtold_l): Remove __wur.
11073 It is not necessarily an error to ignore strtol's return value.
11074 One can reliably look at the stored endptr to decide whether
11075 the number had valid syntax.
11077 2012-04-21 Andreas Jaeger <aj@suse.de>
11080 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11082 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11084 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11085 * sysdeps/unix/sysv/Versions: Remove file.
11087 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11092 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11096 version from __vm86.
11098 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11100 * sysdeps/unix/common/lxstat.c: Remove file.
11101 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11103 * sysdeps/unix/sysv/Makefile: Remove file.
11105 * sysdeps/unix/sysv/direct.h: Remove file.
11107 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11108 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11109 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11110 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11111 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11112 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11113 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11115 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11117 * sysdeps/unix/xmknod.c: Remove file.
11118 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11120 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11122 * sysdeps/unix/sysv/i386/time.S: Remove file.
11124 * sysdeps/unix/fxstat.c: Remove file.
11125 * sysdeps/unix/xstat.c: Likewise.
11126 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11128 * sysdeps/unix/sysv/sigaction.c: Remove file.
11130 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11131 (sysdep_headers): Remove variable.
11132 [termio.h not in sysdep_headers] (generated): Likewise.
11133 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11134 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11135 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11136 * sysdeps/unix/sysv/tcflow.c: Likewise.
11137 * sysdeps/unix/sysv/tcflush.c: Likewise.
11138 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11139 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11140 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11141 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11142 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11144 * sysdeps/unix/siglist.c: Remove file.
11146 * sysdeps/unix/getppid.S: Remove file.
11148 * sysdeps/unix/mkdir.c: Remove file.
11149 * sysdeps/unix/rmdir.c: Likewise.
11151 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11153 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11155 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11156 errlist-compat value.
11158 2012-04-18 David S. Miller <davem@davemloft.net>
11160 * sysdeps/generic/memcopy.h (reg_char): Delete.
11161 * debug/strcat_chk.c: Use char, not reg_char.
11162 * debug/strcpy_chk.c: Likewise.
11163 * debug/strncat_chk.c: Likewise.
11164 * debug/strncpy_chk.c: Likewise.
11165 * string/memchr.c: Likewise.
11166 * string/memrchr.c: Likewise.
11167 * string/rawmemchr.c: Likewise.
11168 * string/strcat.c: Likewise.
11169 * string/strchr.c: Likewise.
11170 * string/strchrnul.c: Likewise.
11171 * string/strcmp.c: Likewise.
11172 * string/strcpy.c: Likewise.
11173 * string/strncat.c: Likewise.
11174 * string/strncmp.c: Likewise.
11175 * string/strncpy.c: Likewise.
11177 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11179 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11180 __builtin_memcopy is called when src and dest ranges are known to not
11183 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11185 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11186 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11187 fwd_align_merge macro call.
11188 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11189 bwd_align_merge macro call.
11190 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11192 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11195 bwd_align_merge macros.
11196 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11197 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11198 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11200 2012-04-18 David S. Miller <davem@davemloft.net>
11202 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11204 2012-04-18 Andreas Jaeger <aj@suse.de>
11207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11208 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11209 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11211 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11212 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11213 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11215 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11216 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11217 Adjust for changed ldbl-128 files.
11219 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11220 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11221 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11223 2012-04-17 David S. Miller <davem@davemloft.net>
11225 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11227 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11229 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11230 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11231 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11232 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11233 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11234 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11236 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11239 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11240 * math/libm-test.inc: Add ilogb errno and exception tests.
11241 * math/w_ilogb.c: New file: ilogb wrapper.
11242 * math/w_ilogbf.c: New file: ilogbf wrapper.
11243 * math/w_ilogbl.c: New file: ilogbl wrapper.
11244 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11245 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11246 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11247 exception being thrown with 0.0 as argument.
11248 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11249 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11250 exception being thrown with 0.0 as argument.
11251 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11252 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11253 exception being thrown with 0.0 as argument.
11254 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11255 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11256 exception being thrown with 0.0 as argument.
11257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11258 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11260 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11262 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11263 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11264 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11265 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11267 2012-04-17 Petr Baudis <pasky@ucw.cz>
11269 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11272 2012-04-16 Marek Polacek <polacek@redhat.com>
11274 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11276 2012-04-16 Marek Polacek <polacek@redhat.com>
11278 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11279 operands of fdivp instruction.
11281 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11283 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11284 * elf/tst-auditmod3b.c: Likewise.
11285 * elf/tst-auditmod4b.c: Likewise.
11286 * elf/tst-auditmod5b.c: Likewise.
11287 * elf/tst-auditmod6b.c: Likewise.
11288 * elf/tst-auditmod6c.c: Likewise.
11289 * elf/tst-auditmod7b.c: Likewise.
11290 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11291 * sysdeps/x86_64/preconfigure.in: Likewise.
11292 * sysdeps/x86_64/preconfigure: Regenerated.
11294 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11296 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11299 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11302 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11304 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11307 * locale/iso-639.def: Fix gl language name. Spotted by
11310 2012-04-12 Roland McGrath <roland@hack.frob.com>
11313 * libio/libio.h (__io_write_fn): Update comment.
11315 2012-04-12 Petr Baudis <pasky@ucw.cz>
11318 * stdio.texi (Hook Functions): The user provided writer function
11319 is not allowed to return -1.
11321 2012-04-11 David S. Miller <davem@davemloft.net>
11323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11325 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11327 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11328 Add a leading slash to rtkaio.
11330 2012-04-11 Jim Meyering <meyering@redhat.com>
11333 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11334 It is not necessarily an error to ignore fwrite's return
11335 value. One can reliably use ferror to test for errors after
11338 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11340 * bits/types.h (__snseconds_t): New type.
11341 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11343 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11345 (__SNSECONDS_T_TYPE): Likewise.
11346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11347 (__SNSECONDS_T_TYPE): Likewise.
11348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11349 (__SNSECONDS_T_TYPE): Likewise.
11351 2012-04-10 Andreas Jaeger <aj@suse.de>
11354 * manual/time.texi (Processor Time): Return type of times is
11355 elapsed real time since an arbitrary point in the past.
11356 (CPU Time): Move CLK_TCK from here...
11357 (Processor Time): ...to here. Correct description.
11358 * manual/conf.texi (Constants for Sysconf): Correct description of
11361 2012-04-10 David S. Miller <davem@davemloft.net>
11364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11365 where the is a gap between DT_REL(A) and DT_JMPREL.
11367 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11369 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11370 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11371 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11373 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11375 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11376 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11377 (dl_main): Handle --inhibit-cache.
11378 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11380 * elf/dl-load.c (_dl_map_object): Use it.
11381 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11383 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11386 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11387 (__ieee754_powl): Saturate large exponents rather than testing for
11388 overflow of y*log2(x).
11389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11390 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11394 * math/s_ctan.c: Include <float.h>.
11395 (__ctan): Avoid internal overflow or cancellation in calculating
11397 * math/s_ctanf.c: Likewise.
11398 * math/s_ctanl.c: Likewise.
11399 * math/s_ctanh.c: Likewise.
11400 * math/s_ctanhf.c: Likewise.
11401 * math/s_ctanhl.c: Likewise.
11402 * math/libm-test.inc (ctan_test): Add more tests.
11403 (ctanh_test): Likewise.
11404 * sysdeps/i386/fpu/libm-test-ulps: Update.
11405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11407 2012-04-09 Andreas Jaeger <aj@suse.de>
11410 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11411 is an optional BSD extension.
11414 * manual/stdio.texi (Opening Streams): Document additional fopen
11417 2012-04-09 Roland McGrath <roland@hack.frob.com>
11419 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11420 %eax without telling the compiler.
11422 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11425 * manual/install.texi: Use sourceware.org.
11427 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11430 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11431 (__ieee754_pow): Generate overflow and underflow using huge*huge
11432 and tiny*tiny rather than just returning constant infinity or zero
11433 for large exponents.
11434 * math/libm-test.inc (pow_test): Require overflow exceptions for
11435 applicable cases of large exponents.
11438 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11439 (__ieee754_pow): Use iterative multiplication algorithm only for
11440 integer exponents with absolute value below 1024. Check for odd
11441 integer exponents when using algorithm for real exponents.
11442 * math/libm-test.inc (pow_test): Add more tests.
11443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11445 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11448 * math/libm-test.inc (exp_test): Do not allow overflow exception
11451 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11454 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11455 instead of __kernel_standard_f.
11457 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11459 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11460 * sysdeps/x86_64/memset_chk.S: Likewise.
11462 2012-04-08 Andreas Jaeger <aj@suse.de>
11465 * manual/startup.texi (Environment Access): Describe return value
11466 for putenv and setenv.
11469 * manual/filesys.texi (Directory Entries): Add description for
11473 * manual/filesys.texi (Directory Entries): Clarify that it's file
11474 system not operating system in the description of DT_UNKNOWN.
11477 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11479 2012-04-08 Stephen Compall <s11@member.fsf.org>
11482 * manual/llio.texi (Opening and Closing Files): Add cross
11483 reference to explain mode argument.
11485 2012-04-07 Mike Frysinger <vapier@gentoo.org>
11487 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11488 * sysdeps/x86_64/memset_chk.S: Likewise.
11490 2012-04-07 David S. Miller <davem@davemloft.net>
11492 * elf/elf.h (R_SPARC_WDISP10): Define.
11493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11496 R_SPARC_SIZE64 and R_SPARC_H34.
11498 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11500 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11501 conditions and remove no longer applicable assertion.
11503 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11505 * bits/byteswap.h: Include <features.h>.
11506 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11507 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11509 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11511 * bits/byteswap.h (__bswap_16): Removed.
11512 Include <bits/byteswap-16.h> to get __bswap_16.
11513 * sysdeps/i386/bits/byteswap.h: Likewise.
11514 * sysdeps/s390/bits/byteswap.h: Likewise.
11515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11516 * bits/byteswap-16.h: New file.
11517 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11518 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11519 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11520 * string/Makefile (headers): Add bits/byteswap-16.h.
11522 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11525 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11527 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11528 * nss/tst-nss-static.c: New.
11530 2012-04-06 Robert Millan <rmh@gnu.org>
11533 * manual/llio.texi (File Position Primitive): lseek
11534 refers to WHENCE when it really means OFFSET.
11536 2012-04-06 Andreas Jaeger <aj@suse.de>
11538 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11539 strncmp declarations.
11541 * abilist/libc.abilist: Add __poll and __ppoll.
11543 2012-04-05 David S. Miller <davem@davemloft.net>
11545 * scripts/check-local-headers.sh: Accept a host triplet in the
11546 path matched by the exclude regexp.
11548 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11550 * sysdeps/powerpc/powerpc32/dl-machine.h
11551 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11552 * sysdeps/s390/s390-32/dl-machine.h
11553 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11554 * sysdeps/sparc/sparc32/dl-machine.h
11555 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11556 * sysdeps/sparc/sparc64/dl-machine.h
11557 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11559 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11561 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11562 undefined symbol errors.
11564 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11567 2012-04-05 Michael Matz <matz@suse.de>
11570 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11572 2012-04-05 Andreas Jaeger <aj@suse.de>
11575 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11578 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11581 which ROUND is no valid rounding mode.
11583 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11587 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11589 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11591 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11592 an exception using FPU order intentionally.
11594 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11596 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11597 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11598 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11599 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11601 2012-04-05 Simon Josefsson <simon@josefsson.org>
11604 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11605 EINVAL when BUFLEN is too smal.
11607 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11610 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11611 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11613 2012-04-03 Andreas Jaeger <aj@suse.de>
11616 * manual/setjmp.texi (System V contexts): Fix sentence.
11619 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11620 New macro for this case.
11621 [!__GNUC__] (__bswap_64): New inline function for this case.
11622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11623 * bits/byteswap.h: Likewise.
11624 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11625 ull, guard with __GLIBC_HAVE_LONG_LONG.
11627 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11628 __GLIBC_HAVE_LONG_LONG.
11630 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11631 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11633 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11636 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11637 inptr and inend, rather than using last_ch.
11639 2012-04-02 David S. Miller <davem@davemloft.net>
11641 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11642 * stdio-common/printf-parse.h (read_int): Change return type to
11643 'int', return -1 on INT_MAX overflow.
11644 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11645 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11646 overflows INT_MAX. Check for overflow of in-format-string precision
11647 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11648 SIZE_MAX not INT_MAX for integer overflow test.
11649 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11650 skip the construct in the format string but do not record anything.
11651 * stdio-common/bug22.c: Adjust to test both width/prevision
11652 INT_MAX overflow as well as total length INT_MAX overflow. Check
11653 explicitly for proper errno values.
11655 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11657 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11659 * string/test-strcmp.c [! WIDE]: Likewise.
11660 * time/tst-mktime2.c: Likewise for INT_MAX.
11661 * string/test-string.h: #include <sys/param.h> for MIN.
11663 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11664 * sysdeps/i386/init-first.c (init): Likewise.
11665 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11666 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11667 * sysdeps/sh/init-first.c (init): Likewise.
11669 2012-04-01 Ulrich Drepper <drepper@gmail.com>
11671 * po/ru.po: Update from translation team.
11672 * po/vi.po: Likewise.
11674 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11676 * resolv/nss_dns/dns-host.c: Merge copyright years.
11678 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11681 Optimize memcpy with prefetch if
11682 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11683 src, dst pointers have unequal 16 byte alignments.
11685 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11688 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11689 from a CNAME entry and return the minimum ttl for the query.
11690 (gaih_getanswer_slice): Likewise.
11692 2012-03-30 Jeff Law <law@redhat.com>
11694 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11696 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11697 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11699 * resolv/nss_dns/dns-host.c: Update copyright year.
11701 2012-03-30 Ulrich Drepper <drepper@gmail.com>
11703 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
11704 requests to save a system call. Fix check that all bytes are sent.
11706 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11707 comments for sendmmsg.
11709 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11712 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11713 with only 1 character between 0x0041 and 0x01b0.
11714 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11715 * wcsmbs/tst-mbsnrtowcs.c: New file.
11717 2012-03-29 David S. Miller <davem@davemloft.net>
11719 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11720 small copies by hand.
11722 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11725 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11726 _nss_compat_initgroups_dyn): Fall back to malloc/free
11727 for large group memberships.
11729 2012-03-28 David S. Miller <davem@davemloft.net>
11731 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11732 that branches into memcpy.
11733 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11736 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11739 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11740 implementation too.
11741 * sysdeps/sparc/mempcpy.S: New file.
11743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11744 the IFUNC routine in the libc case.
11745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11748 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11749 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11750 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11751 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11752 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11753 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11754 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11756 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11757 loop to 256 bytes instead of 64 bytes and fix test signedness.
11759 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11760 * sysdeps/sparc/sparc32/Makefile: rather than here...
11761 * sysdeps/sparc/sparc64/Makefile: and here.
11763 2012-03-28 Ulrich Drepper <drepper@gmail.com>
11765 * malloc/mallocbug.c: Avoid warnings about unused variables.
11767 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11770 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11771 in the right place. Discard and retry query if response is
11772 larger than input buffer size.
11774 2012-03-28 Joseph Myers <joseph@codesourcery.com>
11779 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11780 x for large integer exponent.
11781 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11782 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11783 sign of result as needed afterwards.
11784 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11785 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11786 result for underflowing pow the same as for overflow.
11787 (__kernel_standard_l): Handle powl overflow and underflow here
11788 rather than calling __kernel_standard.
11789 * math/libm-test.inc (pow_test): Add more tests.
11804 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11805 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11806 (__kernel_standard_l): New function.
11807 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11809 * math/w_acosl.c (__acosl): Likewise.
11810 * math/w_asinl.c (__asinl): Likewise.
11811 * math/w_atan2l.c (__atan2l): Likewise.
11812 * math/w_atanhl.c (__atanhl): Likewise.
11813 * math/w_coshl.c (__coshl): Likewise.
11814 * math/w_exp10l.c (__exp10l): Likewise.
11815 * math/w_exp2l.c (__exp2l): Likewise.
11816 * math/w_fmodl.c (__fmodl): Likewise.
11817 * math/w_hypotl.c (__hypotl): Likewise.
11818 * math/w_j0l.c (__j0l, __y0l): Likewise.
11819 * math/w_j1l.c (__j1l, __y1l): Likewise.
11820 * math/w_jnl.c (__jnl, __ynl): Likewise.
11821 * math/w_lgammal.c (__lgammal): Likewise.
11822 * math/w_log10l.c (__log10l): Likewise.
11823 * math/w_log2l.c (__log2l): Likewise.
11824 * math/w_logl.c (__logl): Likewise.
11825 * math/w_powl.c (__powl): Likewise.
11826 * math/w_remainderl.c (__remainderl): Likewise.
11827 * math/w_scalbl.c (sysv_scalbl): Likewise.
11828 * math/w_sinhl.c (__sinhl): Likewise.
11829 * math/w_sqrtl.c (__sqrtl): Likewise.
11830 * math/w_tgammal.c (__tgammal): Likewise.
11831 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11832 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11833 * math/libm-test.inc (acos_test): Add more tests.
11834 (acosh_test): Likewise.
11835 (asin_test): Likewise.
11836 (atanh_test): Likewise.
11837 (exp_test): Likewise.
11838 (exp10_test): Likewise.
11839 (exp2_test): Likewise.
11840 (expm1_test): Likewise.
11841 (lgamma_test): Likewise.
11842 (log_test): Likewise.
11843 (log10_test): Likewise.
11844 (log1p_test): Likewise.
11845 (log2_test): Likewise.
11846 (pow_test): Do not allow some spurious overflow exceptions.
11847 (sqrt_test): Add more tests.
11848 (tgamma_test): Likewise.
11849 (y0_test): Likewise.
11850 (y1_test): Likewise.
11851 (yn_test): Likewise.
11853 2012-03-27 Anton Blanchard <anton@samba.org>
11855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11861 2012-03-27 David S. Miller <davem@davemloft.net>
11863 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11865 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11866 have-as-vis3 check.
11868 2012-03-27 Andreas Jaeger <aj@suse.de>
11870 * sysdeps/x86_64/elf/configure.in: Moved to ...
11871 * sysdeps/x86_64/configure.in: ... here.
11872 * sysdeps/x86_64/elf/start.S: Moved to ...
11873 * sysdeps/x86_64/start.S: ... here.
11874 * sysdeps/x86_64/elf/configure: Delete.
11876 * sysdeps/x86_64/configure.in: Merge contents from
11877 sysdeps/i386/configure.in (without i686 check).
11879 * sysdeps/i386/elf/Versions: Merge into ...
11880 * sysdeps/i386/Versions: ... this.
11881 * sysdeps/i386/elf/Versions: Delete file.
11882 * sysdeps/i386/elf/start.S: Moved to ...
11883 * sysdeps/i386/start.S: ...here.
11884 * sysdeps/i386/elf/configure.in: Merge into...
11885 * sysdeps/i386/configure.in: ...here.
11886 * sysdeps/i386/elf/configure.in: Delete file.
11887 * sysdeps/i386/elf/configure: Delete file.
11889 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11890 * debug/backtracesyms.c: ... here.
11891 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11892 * debug/backtracesymsfd.c: ... here.
11893 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11894 * sysdeps/generic/ifunc-sel.h: ... here.
11896 * sysdeps/unix/i386/start.c: Delete file.
11897 * sysdeps/unix/sparc/start.c: Delete file.
11898 * sysdeps/unix/start.c: Delete file.
11900 * sysdeps/sh/elf/configure.in: Moved to ...
11901 * sysdeps/sh/configure.in: ... here.
11902 * sysdeps/sh/elf/start.S: Moved to ...
11903 * sysdeps/sh/start.S: ... here.
11904 * sysdeps/sh/elf/configure: Delete file.
11906 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11907 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11908 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11909 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11910 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11911 * sysdeps/powerpc/powerpc64/start.S: here.
11912 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11913 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11914 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11915 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11916 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11918 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11919 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11920 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11921 * sysdeps/powerpc/powerpc32/start.S: ... here.
11922 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11923 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11924 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11926 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11927 * sysdeps/powerpc/ifunc-sel.h: ... here.
11928 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11929 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11931 * sysdeps/sparc/elf/configure.in: Moved to ...
11932 * sysdeps/sparc/configure.in: ... here.
11933 * sysdeps/sparc/elf/configure: Delete file.
11934 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11935 * sysdeps/sparc/sparc32/start.S: ... here.
11936 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11937 * sysdeps/sparc/sparc64/start.S: ... here.
11938 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11939 * sysdeps/sparc/sparc32/Makefile: ... this.
11940 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11941 * sysdeps/sparc/sparc64/Makefile: ... this.
11943 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11944 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11945 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11946 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11947 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11948 * sysdeps/s390/s390-32/setjmp.S: ... here.
11949 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11950 * sysdeps/s390/s390-32/configure.in: ... here.
11951 * sysdeps/s390/s390-32/elf/configure: Delete file.
11952 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11953 * sysdeps/s390/s390-32/start.S: ... here.
11955 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11956 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11957 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11958 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11959 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11960 * sysdeps/s390/s390-64/setjmp.S: ... here.
11961 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11962 * sysdeps/s390/s390-64/configure.in: ... here
11963 * sysdeps/s390/s390-64/elf/configure: Delete file.
11964 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11965 * sysdeps/s390/s390-64/start.S: ... here.
11966 * sysdeps/s390/s390-64/elf/configure: Delete.
11968 * configure.in: Remove support for elf directories in sysdeps.
11970 * configure: Regenerated.
11971 * sysdeps/i386/configure: Regenerated.
11972 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11973 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11974 * sysdeps/s390/s390-32/configure: Regenerated.
11975 * sysdeps/s390/s390-64/configure: Regenerated.
11976 * sysdeps/sh/configure: Regenerated.
11977 * sysdeps/sparc/configure: Regenerated.
11978 * sysdeps/x86_64/configure: Regenerated.
11980 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11985 denormal result into account.
11987 2012-03-25 Roland McGrath <roland@hack.frob.com>
11989 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11990 Reported by Allan McRae <allan@archlinux.org>.
11992 2012-03-23 Jeff Law <law@redhat.com>
11994 * nss/getnssent.c (__nss_getent): Fix typo.
11996 2012-03-23 David S. Miller <davem@davemloft.net>
11998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12000 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12002 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12003 to pad to uint64_t for each field.
12004 (dl_tls_index): Replace unsigned long with uint64_t.
12006 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12007 Paul Pluzhnikov <ppluzhnikov@google.com>
12010 * grp/Makefile (otherlibs): Don't set it.
12011 * inet/Makefile (otherlibs): Likewise.
12012 * login/Makefile (otherlibs): Likewise.
12013 * nscd/Makefile (otherlibs): Likewise.
12014 * posix/Makefile (otherlibs): Likewise.
12015 * pwd/Makefile (otherlibs): Likewise.
12016 * rt/Makefile (otherlibs): Likewise.
12017 * sunrpc/Makefile (otherlibs): Likewise.
12018 * nss/Makefile (otherlibs): Likewise.
12019 Add libnss_files to routines and static-only-routines.
12020 ($(objpfx)getent): Remove rule.
12021 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12022 static-only-routines.
12024 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12027 * math/s_cexp.c: Include <float.h>.
12028 (__cexp): Handle exp result overflowing not necessarily
12029 overflowing both real and imaginary parts of result.
12030 * math/s_cexpf.c: Likewise.
12031 * math/s_cexpl.c: Likewise.
12032 * math/libm-test.inc (cexp_test): Add more tests.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12036 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12038 * include/link.h (ELFW): New macro.
12039 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12040 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12042 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12044 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12047 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12049 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12051 (struct La_x32_retval): Likewise.
12053 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12055 * sysdeps/x86_64/preconfigure.in: New file.
12056 * sysdeps/x86_64/preconfigure: New generated file.
12058 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12061 * math/e_exp2l.c: Include <float.h>.
12062 (__ieee754_exp2l): Handle overflow and underflow cases
12063 separately. Only pass fractional part of argument to
12065 * math/libm-test.inc (exp2_test): Add more tests.
12067 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12068 negating x to take absolute value.
12069 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12074 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12075 computing low part if x was negated.
12076 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12078 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12080 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12081 la_x32_gnu_pltexit.
12082 (pltexit): Cast int_retval to ptrdiff_t.
12083 * elf/tst-auditmod3b.c: Likewise.
12084 * elf/tst-auditmod4b.c: Likewise.
12085 * elf/tst-auditmod5b.c: Likewise.
12086 * elf/tst-auditmod6b.c: Likewise.
12087 * elf/tst-auditmod6c.c: Likewise.
12088 * elf/tst-auditmod7b.c: Likewise.
12090 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12091 and x32_gnu_pltexit.
12093 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12094 __ELF_NATIVE_CLASS.
12095 (La_x32_regs): New macro.
12096 (La_x32_retval): Likewise.
12097 (la_x32_gnu_pltenter): New function prototype.
12098 (la_x32_gnu_pltexit): Likewise.
12100 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12107 * configure.in (libc_cv_cc_nofma): Check for option to disable
12108 generation of FMA instructions.
12109 * configure: Regenerate.
12110 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12111 * sysdeps/ieee754/dbl-64/Makefile: New file.
12112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12113 Remove brandred-fma4.
12114 (CFLAGS-brandred-fma4.c): Remove.
12115 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12116 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12121 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12123 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12124 LLONG_MAX != LONG_MAX.
12125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12126 (_fitoa_word): Likewise.
12127 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12128 LLONG_MAX != LONG_MAX.
12129 * stdio-common/_itowa.h: Include <_itoa.h>.
12130 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12131 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12132 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12133 only if not defined.
12134 (_ITOA_WORD_TYPE): Likewise.
12135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12136 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12138 2012-03-21 David S. Miller <davem@davemloft.net>
12140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12142 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12144 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12145 of x86_64 when setting libc_cv_slibdir, libdir and
12147 * sysdeps/unix/sysv/linux/configure: Regenerated.
12149 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12151 * manual/lang.texi (Old Varargs): Remove section.
12152 (How Variadic): Update menu.
12153 (va_start): Do not mention varargs.h.
12155 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12156 Joseph Myers <joseph@codesourcery.com>
12158 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12160 * configure: Regenerated.
12162 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12164 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12165 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12168 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12171 * Makefile (files-for-dist): Remove NOTES.
12172 (NOTES): Remove rule.
12173 * README: Don't refer to NOTES.
12174 * manual/creature.texi: Don't include macros.texi.
12175 * manual/intro.texi (creature.texi): Remove comment referring to
12178 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12179 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12180 * configure: Regenerated.
12181 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12182 LIBC_TRY_CC_OPTION.
12183 (libc_cv_as_i686): Likewise.
12184 (libc_cv_cc_avx): Likewise.
12185 (libc_cv_cc_sse2avx): Likewise.
12186 (libc_cv_cc_fma4): Likewise.
12187 (libc_cv_cc_novzeroupper): Likewise.
12188 * sysdeps/i386/configure: Regenerated.
12191 * sysdeps/i386/fpu/s_cexp.S: Remove.
12192 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12193 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12194 * math/libm-test.inc (cexp_test): Add more tests.
12195 * sysdeps/i386/fpu/libm-test-ulps: Update.
12196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12198 2012-03-21 Allan McRae <allan@archlinux.org>
12200 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12205 * math/w_exp2.c: Do not include <float.h>.
12206 (o_threshold, u_threshold): Remove.
12207 (__exp2): Calculate result before checking finiteness and calling
12209 * math/w_exp2f.c: Likewise.
12210 * math/w_exp2l.c: Likewise.
12211 * math/libm-test.inc (exp2_test): Require overflow exception for
12215 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12216 range of signed 64-bit integers before using fistpll. Remove
12217 checks for whether integers fit in mantissa bits.
12218 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12219 the range of signed 32-bit integers before using fistpl. Remove
12220 checks for whether integers fit in mantissa bits.
12221 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12222 (__ieee754_powl): Test for y outside the range of signed 64-bit
12223 integers before using fistpll. Reduce 64-bit values to 63-bit
12225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12226 divide-by-zero is raised for zero to large negative powers.
12227 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12228 (__ieee754_powl): Test for y outside the range of signed 64-bit
12229 integers before using fistpll. Reduce 64-bit values to 63-bit
12231 * math/libm-test.inc (pow_test): Add more tests.
12233 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12235 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12236 <stdio-common/_itoa.h>.
12237 * debug/segfault.c: Likewise.
12238 * elf/dl-cache.c: Likewise.
12239 * elf/dl-minimal.c: Likewise.
12240 * elf/dl-misc.c: Likewise.
12241 * elf/dl-sysdep.c: Likewise.
12242 * elf/dl-version.c: Likewise.
12243 * elf/rtld.c: Likewise.
12244 * hurd/hurdsock.c: Likewise.
12245 * hurd/lookup-retry.c: Likewise.
12246 * malloc/malloc.c: Likewise.
12247 * malloc/mtrace.c: Likewise.
12248 * nscd/nscd_getgr_r.c: Likewise.
12249 * nscd/nscd_getpw_r.c: Likewise.
12250 * nscd/nscd_getserv_r.c: Likewise.
12251 * posix/getopt_init.c: Likewise.
12252 * posix/wordexp.c: Likewise.
12253 * stdio-common/_itoa.c: Likewise.
12254 * stdio-common/printf_fphex.c: Likewise.
12255 * stdio-common/vfprintf.c: Likewise.
12256 * string/_strerror.c: Likewise.
12257 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12258 * sysdeps/i386/i686/hp-timing.h: Likewise.
12259 * sysdeps/mach/_strerror.c: Likewise.
12260 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12261 * sysdeps/mach/hurd/sethostid.c: Likewise.
12262 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12263 * sysdeps/mach/xpg-strerror.c: Likewise.
12264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12265 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12266 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12267 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12268 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12269 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12270 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12271 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12272 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12273 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12274 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12275 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12276 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12277 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12278 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12279 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12280 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12282 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12283 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12286 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12288 * stdio-common/_itoa.h: Moved to ...
12289 * sysdeps/generic/_itoa.h: Here.
12291 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12293 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12294 instead of "_itoa.h" and "_itowa.h".
12295 * stdio-common/vfprintf.: Likewise.
12297 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12299 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12301 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12302 (__signbit): Likwise.
12303 (llrintf): Likwise.
12306 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12308 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12311 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12313 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12314 OVERFLOW_EXCEPTION_OK.
12315 * math/libm-test.inc ("Philosophy"): Update comment about
12317 (OVERFLOW_EXCEPTION): Define.
12318 (OVERFLOW_EXCEPTION_OK): Likewise.
12319 (INVALID_EXCEPTION_OK): Renumber.
12320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12321 (IGNORE_ZERO_INF_SIGN): Likewise.
12322 (test_exceptions): Handle FE_OVERFLOW.
12323 (exp10_test): Expect overflow exceptions.
12324 (exp2_test): Likewise.
12325 (expm1_test): Likewise.
12326 (nextafter_test): Likewise.
12327 (pow_test): Likewise.
12328 (scalbn_test): Likewise.
12329 (scalbln_test): Likewise.
12331 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12333 * sysdeps/x86_64/bits/atomic.h
12334 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12336 (atomic_exchange_acq): Likewise.
12337 (__arch_exchange_and_add_body): Likewise.
12338 (__arch_add_body): Likewise.
12339 (atomic_add_negative): Likewise.
12340 (atomic_add_zero): Likewise.
12342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12344 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12345 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12347 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12349 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12350 Check __x86_64__ instead of __WORDSIZE.
12352 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12354 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12356 2012-03-19 David S. Miller <davem@davemloft.net>
12358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12360 * sysdeps/sparc/fpu/fenv_private.h: New file.
12361 * sysdeps/sparc/fpu/math_private.h: Use it.
12362 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12364 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12365 (libc_feholdexcept_setroundl): Remove.
12366 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12368 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12369 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12373 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12374 int64_t instead of long int.
12375 (INSERT_WORDS64): Likwise.
12377 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12379 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12380 _Unwind_GetCFA return to _Unwind_Ptr first.
12382 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12385 * math/s_clog.c: Include <float.h>.
12386 (__clog): Scale large or subnormal inputs.
12387 * math/s_clogf.c: Likewise.
12388 * math/s_clogl.c: Likewise.
12389 * math/s_clog10.c: Include <float.h>.
12390 (M_LOG10_2): Define.
12391 (__clog10): Scale large or subnormal inputs.
12392 * math/s_clog10f.c: Likewise.
12393 * math/s_clog10l.c: Likewise.
12394 * math/libm-test.inc (clog_test): Add more tests.
12395 (clog10_test): Likewise.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12402 * math/libm-test.inc (atan2_test): Add another test.
12404 * Makerules (common-objdir-compile): Remove.
12405 * sysdeps/unix/Makefile (config-generated): Do not add
12406 $(unix-generated) to variable.
12407 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12408 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12410 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12412 [generic bits/local_lim.h] (before-compile): Do not append to
12414 [generic bits/local_lim.h] (common-generated): Likewise.
12415 [generic sys/param.h] (before-compile): Do not append to variable.
12416 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12417 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12419 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12421 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12422 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12423 [generic sys/param.h] ($(addprefix
12424 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12425 [generic sys/param.h] (common-generated): Do not append to
12427 [generic sys/param.h] (sysdep_headers): Likewise.
12428 [generic bits/errno.h] (before-compile): Do not append to
12430 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12432 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12433 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12434 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12435 [generic bits/errno.h] (common-generated): Do not append to
12437 [generic bits/ioctls.h] (before-compile): Do not append to
12439 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12441 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12442 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12443 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12445 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12446 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12447 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12448 [generic bits/ioctls.h] (common-generated): Do not append to
12450 [generic sys/syscall.h] (syscall.h): Remove variable.
12451 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12453 [generic sys/syscall.h] (before-compile): Do not append to
12455 [generic sys/syscall.h] (common-generated): Likewise.
12456 * sysdeps/unix/errnos-tmpl.c: Remove file.
12457 * sysdeps/unix/errnos.awk: Likewise.
12458 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12459 * sysdeps/unix/ioctls.awk: Likewise.
12460 * sysdeps/unix/mk-local_lim.c: Likewise.
12461 * sysdeps/unix/snarf-ioctls: Likewise.
12463 2012-03-19 Richard Henderson <rth@twiddle.net>
12465 * sysdeps/i386/fpu/fenv_private.h: New file.
12466 * sysdeps/i386/fpu/math_private.h: Use it.
12467 (math_opt_barrier, math_force_eval): Remove.
12468 (libc_feholdexcept_setround_53bit): Remove.
12469 (libc_feupdateenv_53bit): Remove.
12470 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12471 (math_opt_barrier, math_force_eval): Remove.
12472 (libc_feholdexcept): Remove.
12473 (libc_feholdexcept_setround): Remove.
12474 (libc_fetestexcept, libc_fesetenv): Remove.
12475 (libc_feupdateenv_test): Remove.
12476 (libc_feupdateenv, libc_feholdsetround): Remove.
12477 (libc_feresetround): Remove.
12479 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12480 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12482 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12483 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12484 (libc_feupdateenv_testl): New.
12485 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12486 (libc_feupdateenv_testf): New.
12487 (libc_feupdateenv): Use libc_feupdateenv_test.
12488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12491 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12492 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12493 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12494 (libc_feresetround_noex): New.
12495 (libc_feresetround_noexf): New.
12496 (libc_feresetround_noexl): New.
12497 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12498 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12499 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12500 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12505 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12506 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12507 SET_RESTORE_ROUND_NOEX.
12508 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12509 SET_RESTORE_ROUND_NOEXF.
12510 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12511 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12512 (libc_feholdsetroundf): New.
12513 (libc_feresetround, libc_feresetroundf): New.
12515 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12516 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12517 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12519 * sysdeps/generic/math_private.h: Include <fenv.h>.
12520 (default_libc_feholdexcept): New.
12521 (default_libc_feholdexcept_setround): New.
12522 (default_libc_fesetenv, default_libc_feupdateenv): New.
12523 (libc_feholdexcept): Only define if undefined.
12524 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12525 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12526 (libc_feholdexcept_setroundl): Likewise.
12527 (libc_feholdexcept_setround_53bit): Likewise.
12528 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12529 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12530 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12531 (libc_feupdateenv_53bit): Likewise.
12532 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12533 (libc_feholdexcept): Convert from macro to inline function.
12534 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12535 (libc_fesetenv, libc_feupdateenv): Likewise.
12537 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12538 not previously defined.
12539 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12540 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12541 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12543 * sysdeps/ieee754/flt-32/math_private.h: New file.
12544 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12545 math_private.h below SET_FLOAT_WORD.
12546 (__isnan, __isinf_ns, __finite): Remove.
12547 (__isnanf, __isinf_nsf, __finitef): Remove.
12549 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12553 2012-03-17 David S. Miller <davem@davemloft.net>
12556 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12559 2012-03-16 David S. Miller <davem@davemloft.net>
12561 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12565 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12567 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12568 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12569 sysdep_routines when subdir is sysvipc.
12570 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12571 __getshmlba helper.
12573 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12577 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12580 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12583 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12584 (__lround): Renamed to ...
12585 (__llround): This. Replace long int with long long int.
12586 Define lround functions as aliases of llround functions.
12587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12589 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12591 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12592 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12593 adresses to uintptr_t. Replace "long int" and "unsigned long
12594 int" with "greg_t" on va_arg.
12596 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12598 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12599 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12601 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12602 Move e_machine check before EI_CLASS check. Handle x32
12603 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12604 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12605 SKIP_EM_IA_64 and include
12606 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12608 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12609 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12610 (add_system_dir): New macro.
12612 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12613 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12615 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12626 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12628 * math/w_j0f.c (j0f): Likewise.
12630 * math/w_j0l.c (__j0l): Likewise.
12632 * math/w_j1.c (j1): Likewise.
12634 * math/w_j1f.c (j1f): Likewise.
12636 * math/w_j1l.c (__j1l): Likewise.
12638 * math/w_jn.c (jn): Likewise.
12640 * math/w_jnf.c (jnf): Likewise.
12642 * math/w_jnl.c (__jnl): Likewise.
12644 * math/libm-test.inc (j0_test): Add more tests.
12645 (j1_test): Likewise.
12646 (jn_test): Likewise. Add trailing semicolon to existing test.
12647 (y0_test): Likewise.
12648 (y1_test): Likewise.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12655 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12656 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12658 (__tanl): Set errno for infinite argument.
12659 * sysdeps/i386/fpu/mptan.c: Remove.
12660 * sysdeps/i386/fpu/s_tan.S: Likewise.
12661 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12662 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12663 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12664 * math/libm-test.inc (tan_test): Add more tests and enable more
12665 tests for double and long double.
12666 * sysdeps/i386/fpu/libm-test-ulps: Update.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12669 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12671 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12672 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12674 2012-03-16 Roland McGrath <roland@hack.frob.com>
12676 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12677 * configure.in: Use it for both main tree and add-ons.
12678 * configure: Regenerated.
12680 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12682 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12684 2012-03-16 Joseph Myers <joseph@codesourcery.com>
12686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12690 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12691 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12696 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12698 != 0 for prec == 2.
12699 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12700 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12701 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12702 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12703 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12704 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12705 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12706 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12707 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12708 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12709 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12710 * math/libm-test.inc (cos_test): Add more tests and enable more
12711 tests for long double.
12712 (sin_test): Likewise.
12713 (sincos_test): Likewise.
12714 * sysdeps/i386/fpu/libm-test-ulps: Update.
12715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12717 2012-03-16 David S. Miller <davem@davemloft.net>
12719 * sysdeps/sparc/fpu/math_private.h: New file.
12721 2012-03-15 David S. Miller <davem@davemloft.net>
12723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12737 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12738 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12740 * sysdeps/sparc/sparc-ifunc.h: New file.
12741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
12757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12784 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12786 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12788 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12792 2012-03-15 Andreas Jaeger <aj@suse.de>
12795 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12796 ieee754/flt-32 implementation for sin, cos and sincos.
12797 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12798 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12799 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12800 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12801 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12802 ieee754/flt-32 implementation for tan.
12804 * math/libm-test.inc (cos_test): Enable some large input tests for
12806 (sin_test): Likewise.
12807 (sincos_test): Likewise.
12808 (tan_test): Add tests for large input.
12810 * sysdeps/i386/fpu/libm-test-ulps: Update.
12812 2012-03-15 Andreas Jaeger <aj@suse.de>
12815 * math/libm-test.inc (cos_test): Add more test cases.
12816 (sin_test): Likewise.
12817 (sincos_test): Likewise.
12819 2012-03-15 Andreas Jaeger <aj@suse.de>
12822 * math/libm-test.inc (cos_test): Add a test case for large input
12824 (sin_test): Likewise.
12825 (sincos_test): Likewise.
12827 2012-03-15 Andreas Jaeger <aj@suse.de>,
12828 Joseph Myers <joseph@codesourcery.com>
12831 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
12832 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12833 * sysdeps/i386/fpu/branred.c: Likewise.
12834 * sysdeps/i386/fpu/dosincos.c: Likewise.
12835 * sysdeps/i386/fpu/mpa.c: Likewise.
12836 * sysdeps/i386/fpu/s_cos.S: Likewise.
12837 * sysdeps/i386/fpu/s_sin.S: Likewise.
12838 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12839 * sysdeps/i386/fpu/sincos32.c: Likewise.
12841 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12843 (libc_feupdateenv_53bit): Define.
12844 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12846 (libc_feupdateenv_53bit): Define.
12848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12849 53 bit (without extend i386 double precision).
12851 * math/libm-test.inc (sincos_test): Add tests for large input.
12855 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12857 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12861 2012-03-15 David S. Miller <davem@davemloft.net>
12863 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12864 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12865 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
12878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12891 fmin/fmax sysdep routines.
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12894 2012-03-14 David S. Miller <davem@davemloft.net>
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
12924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
12929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
12932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
12935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
12938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
12959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
12962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12973 * sysdeps/sparc/configure.in: New file.
12974 * sysdeps/sparc/configure: Generate.
12975 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12976 * configure: Regenerate.
12977 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12978 * config.make.in (have-as-vis3): New.
12979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12980 available use -Av9d instead of -Av9a.
12981 * sysdeps/sparc/sparc64/Makefile: Likewise.
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
12983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12997 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12998 fzeros/fnegs to load 0x80000000 into a float register instead of
13000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13002 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13006 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13007 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13008 ($(inst_includedir)/bits/syscall.h): Remove rule.
13009 ($(objpfx)bits/syscall.d): Include instead of
13010 $(objpfx)syscall-list.d.
13011 (generated): Change syscall-list.h and syscall-list.d to
13012 bits/syscall.h and bits/syscall.d.
13014 2012-03-14 Roland McGrath <roland@hack.frob.com>
13017 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13019 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13022 * math/s_csqrt.c: Include <float.h>.
13023 (__csqrt): Scale large or subnormal inputs.
13024 * math/s_csqrtf.c: Likewise.
13025 * math/s_csqrtl.c: Likewise.
13026 * math/libm-test.inc (csqrt_test): Add more tests.
13027 * sysdeps/i386/fpu/libm-test-ulps: Update.
13028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13031 * math/libm-test.inc (hypot_test): Add more tests.
13033 2012-03-13 David S. Miller <davem@davemloft.net>
13036 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13037 double-precision for the calculation instead of scaling.
13039 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13041 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13042 manipulate bits before adding and subtracting TWO52[sx].
13043 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13046 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13048 2012-03-13 David S. Miller <davem@davemloft.net>
13050 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13051 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13053 rtld-global-offsets.h
13054 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13056 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13059 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13061 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13062 'err' in the ifdef scope in which it is actually used.
13064 * nss/nss_db/db-init.c: Include string.h
13066 2012-03-12 David S. Miller <davem@davemloft.net>
13068 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13069 masking out of the most significant byte of random value used.
13070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13071 Fix coding style in previous change.
13073 * sysdeps/unix/sysv/linux/kernel-features.h
13074 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13075 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13077 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13080 2012-03-11 David S. Miller <davem@davemloft.net>
13082 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13083 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13084 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13085 for 'resultvar' otherwise things get truncated on 64-bit.
13087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13088 Fix masking out of the most significant byte of random value used.
13090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13092 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13096 2012-03-09 David S. Miller <davem@davemloft.net>
13098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13099 variables with appropriate CPP guards.
13100 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13101 frame pointer, not the stack pointer. Correct layout comments. Fix test
13102 on resulting framesize and the management of the outregs buffer for pltexit.
13103 Preserve floating point return values across _dl_call_pltexit call.
13104 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13105 framesize and the management of the outregs buffer for pltexit.
13106 Preserve floating point return values across _dl_call_pltexit
13108 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13109 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13110 (print_exit): Fix format string for return register value.
13112 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13114 * sunrpc/Makefile (others): Add rpcgen.
13115 ($(objpfx)rpcgen): Remove special build rule and dependency on
13117 * sunrpc/rpcgen.c: New file.
13119 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13122 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13123 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13124 * sysdeps/i386/crti.S: Likewise.
13125 * sysdeps/i386/crtn.S: Likewise.
13126 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13127 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13128 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13129 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13130 * sysdeps/sh/crti.S: Likewise.
13131 * sysdeps/sh/crtn.S: Likewise.
13132 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13135 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13137 * locale/programs/locfile-kw.gperf: Likewise.
13138 * locale/programs/charmap-kw.h: Regenerated.
13139 * locale/programs/locfile-kw.h: Likewise.
13142 * intl/plural.y: Replace FSF snail mail address with URL.
13143 * intl/plural.c: Regenerated.
13145 2012-03-09 Richard Henderson <rth@twiddle.net>
13147 * include/math_private.h: Remove file.
13148 * math/math_private.h: Move file ...
13149 * sysdeps/generic/math_private.h: ... here.
13151 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13152 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13153 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13155 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13156 and <math_private.h>.
13157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13171 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13181 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13245 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13247 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13251 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13253 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13257 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13258 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13259 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13260 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13261 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13262 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13263 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13271 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13274 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13276 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13277 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13280 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13282 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13285 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13287 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13289 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13290 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13293 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13294 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13295 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13296 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13297 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13301 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13305 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13306 * sysdeps/ieee754/k_standard.c: Likewise.
13307 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13308 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13319 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13321 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13324 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13422 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13426 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13427 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13429 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13439 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13467 * sysdeps/ieee754/s_lib_version.c: Likewise.
13468 * sysdeps/ieee754/s_matherr.c: Likewise.
13469 * sysdeps/ieee754/s_signgam.c: Likewise.
13470 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13471 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13472 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13473 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13474 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13475 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13476 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13477 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13478 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13479 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13480 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13481 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13484 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13485 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13486 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13492 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13494 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13495 * sunrpc/rpc_main.c: Likewise.
13496 * sunrpc/rpc_svcout.c: Likewise.
13498 2012-03-09 David S. Miller <davem@davemloft.net>
13500 * include/math_private.h: New file.
13502 2012-03-09 Joseph Myers <joseph@codesourcery.com>
13504 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13505 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13506 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13507 from <bits/socket_type.h>.
13508 (enum __socket_type): Don't define here.
13509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13511 bits/socket_type.h.
13514 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13515 checking __USE_GNU.
13517 * Makerules ($(inst_includedir)/%.h): New rule.
13518 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13519 (install-others): Remove variable setting.
13520 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13522 2012-03-08 Richard Henderson <rth@twiddle.net>
13524 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13525 from macro to inline function; merge with the
13526 !__LIBC_INTERNAL_MATH_INLINES version.
13527 (__ieee754_sqrtf): Likewise.
13529 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13530 to inline function.
13531 (__rintf, __floor, __floorf): Likewise.
13533 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13534 macro to inline function.
13535 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13538 not <math/math_private.h>.
13540 2012-03-08 David S. Miller <davem@davemloft.net>
13542 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13544 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13546 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13548 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13550 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13551 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13553 2012-03-08 Ulrich Drepper <drepper@gmail.com>
13555 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13556 be defined individually, they must be defined as a block. Define
13557 S for printing a string instead of hidint the different by using a
13558 macro for adding the 'l'.
13559 * stdio-common/tst-fphex-wide.c: Adjust.
13561 2012-03-07 Marek Polacek <polacek@redhat.com>
13563 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13565 2012-03-08 Marek Polacek <polacek@redhat.com>
13568 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13569 * stdio-common/tst-fphex.c: Define a few macros to make the
13570 test reusable. Use them.
13571 * stdio-common/tst-fphex-wide.c: New file.
13573 2012-03-08 Joseph Myers <joseph@codesourcery.com>
13576 * manual/macros.texi (gnusystems): New macro.
13577 (nongnusystems): Likewise.
13578 (gnulinuxhurdsystems): Likewise.
13579 (gnuhurdsystems): Likewise..
13580 (gnulinuxsystems): Likewise.
13581 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13582 variants of the GNU system, not "GNU system".
13583 * manual/conf.texi: Likewise.
13584 * manual/errno.texi: Likewise. Update example of errno macro
13586 * manual/filesys.texi: Likewise.
13587 (getumask): Document as specific to GNU/Hurd.
13588 * manual/install.texi: Likewise. Reword some references to
13590 * manual/intro.texi: Likewise.
13591 * manual/io.texi: Likewise.
13592 (File Name Portability): Detail which constraints are inapplicable
13593 to all GNU systems and which are only inapplicable to GNU/Hurd.
13594 * manual/job.texi: Likewise.
13595 * manual/llio.texi: Likewise.
13596 (O_NOCTTY): Document as present on GNU/Linux.
13597 * manual/maint.texi: Likewise.
13598 * manual/memory.texi: Likewise.
13599 * manual/pattern.texi: Likewise.
13600 * manual/pipe.texi: Likewise.
13601 * manual/process.texi: Likewise.
13602 * manual/resource.texi: Likewise.
13603 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13605 * manual/setjmp.texi: Likewise.
13606 * manual/signal.texi: Likewise.
13607 * manual/startup.texi: Likewise.
13608 * manual/stdio.texi: Likewise.
13609 * manual/terminal.texi: Likewise.
13610 (ONLCR): Document as POSIX.
13611 (OXTABS): Document availability on GNU/Linux as XTABS.
13612 (ONOEOT): Document availability separately from other bits.
13613 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13614 * manual/time.texi: Likewise.
13615 * manual/users.texi: Likewise.
13616 * INSTALL: Regenerated.
13617 * sysdeps/gnu/errlist.c: Regenerated.
13619 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13620 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13621 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13623 * configure: Regenerated.
13625 2012-03-07 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13628 default includes instead of AC_HEADER_CHECK.
13629 * sysdeps/i386/configure: Regenerated.
13632 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13633 * math/s_cacoshf.c (__cacoshf): Likewise.
13634 * math/s_cacoshl.c (__cacoshl): Likewise.
13635 * math/s_casinh.c (__casinh): Set signs of result from argument.
13636 * math/s_casinhf.c (__casinhf): Likewise.
13637 * math/s_casinhl.c (__casinhl): Likewise.
13638 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13639 (casinh_test): Add more tests.
13640 * sysdeps/i386/fpu/libm-test-ulps: Update.
13641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13643 2012-03-07 Ulrich Drepper <drepper@gmail.com>
13645 * po/zh_TW.po: Update from translation team.
13647 * login/Makefile (distribute): Remove variable.
13648 * catgets/Makefile: Likewise.
13649 * mach/Makefile: Likewise.
13650 * malloc/Makefile: Likewise.
13651 * misc/Makefile: Likewise.
13652 * iconv/Makefile: Likewise.
13653 * nscd/Makefile: Likewise.
13654 * hurd/Makefile: Likewise.
13655 * manual/Makefile: Likewise.
13656 * locale/Makefile: Likewise.
13657 * intl/Makefile: Likewise.
13658 * conform/Makefile: Likewise.
13659 * nss/Makefile: Likewise.
13660 * time/Makefile: Likewise.
13661 * soft-fp/Makefile: Likewise.
13662 * dirent/Makefile: Likewise.
13663 * gmon/Makefile: Likewise.
13664 * po/Makefile: Likewise.
13665 * rt/Makefile: Likewise.
13666 * socket/Makefile: Likewise.
13667 * math/Makefile: Likewise.
13668 * signal/Makefile: Likewise.
13669 * debug/Makefile: Likewise.
13670 * elf/Makefile: Likewise.
13671 * timezone/Makefile: Likewise.
13672 * stdlib/Makefile: Likewise.
13673 * iconvdata/Makefile: Likewise.
13674 * sunrpc/Makefile: Likewise.
13675 * io/Makefile: Likewise.
13676 * argp/Makefile: Likewise.
13677 * inet/Makefile: Likewise.
13678 * hesiod/Makefile: Likewise.
13679 * grp/Makefile: Likewise.
13680 * csu/Makefile: Likewise.
13681 * wctype/Makefile: Likewise.
13682 * crypt/Makefile: Likewise.
13683 * libio/Makefile: Likewise.
13684 * string/Makefile: Likewise.
13685 * nis/Makefile: Likewise.
13686 * resolv/Makefile: Likewise.
13687 * stdio-common/Makefile: Likewise.
13688 * wcsmbs/Makefile: Likewise.
13689 * dlfcn/Makefile: Likewise.
13690 * posix/Makefile: Likewise.
13693 * timezone/Makefile: Don't install timezone files, just the programs
13696 2012-03-06 Ulrich Drepper <drepper@gmail.com>
13698 * nss/databases.def: Add missing gshadow entry.
13700 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13702 2012-03-06 Marek Polacek <polacek@redhat.com>
13705 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13706 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13707 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13708 * stdio-common/tst-long-dbl-fphex.c: New file.
13710 2012-03-06 David S. Miller <davem@davemloft.net>
13712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13713 (set_obp_int): New function.
13714 (get_obp_int): New function.
13715 (__get_clockfreq_via_dev_openprom): Likewise.
13716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13717 Avoid unused variable warnings on 'val' and use builtin_expect.
13718 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13720 (INLINE_CLONE_SYSCALL): Likewise.
13722 2012-03-05 David S. Miller <davem@davemloft.net>
13724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13726 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13731 only for |x| >= 40.
13732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13734 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
13736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13737 Replace gettimeofday with __vdso_gettimeofday.
13739 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13740 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13741 __vdso_clock_gettime and __vdso_getcpu.
13743 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13744 time with __vdso_time.
13746 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13748 * manual/lang.texi (size_t): Note types to which size_t may be
13749 equivalent with the GNU C Library, but do not describe when
13750 differences between them are significant.
13752 2012-03-05 Andreas Jaeger <aj@suse.de>
13754 * sysdeps/i386/fpu/libm-test-ulps: Update.
13756 2012-03-05 Joseph Myers <joseph@codesourcery.com>
13759 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13760 (__ieee754_pow): Save and restore rounding mode and use
13761 round-to-nearest for main computations.
13762 * math/libm-test.inc (pow_test_tonearest): New function.
13763 (pow_test_towardzero): Likewise.
13764 (pow_test_downward): Likewise.
13765 (pow_test_upward): Likewise.
13766 (main): Call the new functions.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13771 * math/libm-test.inc (cosh_test_tonearest): New function.
13772 (cosh_test_towardzero): Likewise.
13773 (cosh_test_downward): Likewise.
13774 (cosh_test_upward): Likewise.
13775 (sinh_test_tonearest): Likewise.
13776 (sinh_test_towardzero): Likewise.
13777 (sinh_test_downward): Likewise.
13778 (sinh_test_upward): Likewise.
13779 (main): Call the new functions.
13780 * sysdeps/i386/fpu/libm-test-ulps: Update.
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13783 2012-03-05 Tom de Vries <tom@codesourcery.com>
13785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13786 default stack guard is set in last bytes.
13787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13789 2012-03-05 Kees Cook <keescook@chromium.org>
13791 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
13794 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13795 possibly allocate from heap instead of stack.
13796 * stdio-common/bug-vfprintf-nargs.c: New file.
13797 * stdio-common/Makefile (tests): Add nargs overflow test.
13799 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13803 2012-03-03 Marek Polacek <polacek@redhat.com>
13805 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13806 * math/math_private.h: Likewise.
13807 * stdlib/tst-strtod.c: Likewise.
13808 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13809 * sysdeps/x86_64/bits/atomic.h: Likewise.
13811 2012-03-02 David S. Miller <davem@davemloft.net>
13813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13817 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13820 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13822 2012-03-02 Roland McGrath <roland@hack.frob.com>
13825 * manual/examples/README: New file, says the example source files
13826 can be used under GPL>=2.
13827 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13828 line containing just "*/".
13829 * manual/examples/add.c: Add copyright header (GPL>=2).
13830 * manual/examples/argp-ex1.c: Likewise.
13831 * manual/examples/argp-ex2.c: Likewise.
13832 * manual/examples/argp-ex3.c: Likewise.
13833 * manual/examples/argp-ex4.c: Likewise.
13834 * manual/examples/atexit.c: Likewise.
13835 * manual/examples/db.c: Likewise.
13836 * manual/examples/dir.c: Likewise.
13837 * manual/examples/dir2.c: Likewise.
13838 * manual/examples/execinfo.c: Likewise.
13839 * manual/examples/filecli.c: Likewise.
13840 * manual/examples/filesrv.c: Likewise.
13841 * manual/examples/fmtmsgexpl.c: Likewise.
13842 * manual/examples/genpass.c: Likewise.
13843 * manual/examples/inetcli.c: Likewise.
13844 * manual/examples/inetsrv.c: Likewise.
13845 * manual/examples/isockad.c: Likewise.
13846 * manual/examples/longopt.c: Likewise.
13847 * manual/examples/memopen.c: Likewise.
13848 * manual/examples/memstrm.c: Likewise.
13849 * manual/examples/mkfsock.c: Likewise.
13850 * manual/examples/mkisock.c: Likewise.
13851 * manual/examples/mygetpass.c: Likewise.
13852 * manual/examples/pipe.c: Likewise.
13853 * manual/examples/popen.c: Likewise.
13854 * manual/examples/rprintf.c: Likewise.
13855 * manual/examples/search.c: Likewise.
13856 * manual/examples/select.c: Likewise.
13857 * manual/examples/setjmp.c: Likewise.
13858 * manual/examples/sigh1.c: Likewise.
13859 * manual/examples/sigusr.c: Likewise.
13860 * manual/examples/stpcpy.c: Likewise.
13861 * manual/examples/strdupa.c: Likewise.
13862 * manual/examples/strftim.c: Likewise.
13863 * manual/examples/strncat.c: Likewise.
13864 * manual/examples/subopt.c: Likewise.
13865 * manual/examples/swapcontext.c: Likewise.
13866 * manual/examples/termios.c: Likewise.
13867 * manual/examples/testopt.c: Likewise.
13868 * manual/examples/testpass.c: Likewise.
13869 * manual/examples/timeval_subtract.c: Likewise.
13872 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13874 * manual/timeval_subtract.c.texi: ... here, new file.
13876 2012-03-02 David S. Miller <davem@davemloft.net>
13878 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13880 2012-03-02 Joseph Myers <joseph@codesourcery.com>
13883 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13884 (__sin): Save and restore rounding mode and use round-to-nearest
13885 for all computations.
13886 (__cos): Save and restore rounding mode and use round-to-nearest
13887 for all computations.
13888 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13890 (tan): Save and restore rounding mode and use round-to-nearest for
13892 * math/libm-test.inc (cos_test_tonearest): New function.
13893 (cos_test_towardzero): Likewise.
13894 (cos_test_downward): Likewise.
13895 (cos_test_upward): Likewise.
13896 (sin_test_tonearest): Likewise.
13897 (sin_test_towardzero): Likewise.
13898 (sin_test_downward): Likewise.
13899 (sin_test_upward): Likewise.
13900 (tan_test_tonearest): Likewise.
13901 (tan_test_towardzero): Likewise.
13902 (tan_test_downward): Likewise.
13903 (tan_test_upward): Likewise.
13904 (main): Call the new functions.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13909 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13910 small n, then large n, before computing and testing k+n.
13911 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13916 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13917 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13923 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13924 * math/libm-test.inc (scalbn_test): Add more tests.
13925 (scalbln_test): Likewise.
13927 * manual/filesys.texi (mode_t): Describe constraints on size and
13928 signedness, not exact equivalence to a particular type.
13930 (ino64_t): Likewise.
13932 (nlink_t): Likewise.
13933 (blkcnt_t): Likewise.
13934 (blkcnt64_t): Likewise.
13935 * manual/llio.texi (off_t): Likewise.
13938 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13939 (__ieee754_exp): Save and restore rounding mode and use
13940 round-to-nearest for all computations.
13941 * math/libm-test.inc (exp_test_tonearest): New function.
13942 (exp_test_towardzero): Likewise.
13943 (exp_test_downward): Likewise.
13944 (exp_test_upward): Likewise.
13945 (main): Call the new functions.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13949 2012-03-01 Chris Demetriou <cgd@google.com>
13951 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13952 have predictable order.
13954 2012-03-01 David S. Miller <davem@davemloft.net>
13956 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13958 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13959 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13960 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13961 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13963 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13964 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13965 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13967 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13968 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13969 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13970 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13976 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13977 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13979 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13980 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13981 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13982 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13983 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13986 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13987 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13988 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13989 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13992 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13993 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13995 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13996 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13997 * sysdeps/sparc/elf/configure: Regenerated.
13999 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14001 * configure.in (AS, LD): Require binutils 2.20 or later.
14002 * configure: Regenerated.
14003 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14004 as required minimum version.
14005 * INSTALL: Regenerated.
14009 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14010 before squaring exponent.
14011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14012 bottom long double and 27 bits of top long double before squaring
14014 * math/libm-test.inc (erfc_test): Add more tests.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019 2012-03-01 Kai Tietz <ktietz@redhat.com>
14021 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14022 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14023 containing bit-fields.
14024 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14025 * soft-fp/single.h (_FP_UNION_S): Likewise.
14026 * soft-fp/double.h (_FP_UNION_D): Likewise.
14028 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14031 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14032 not include ../strcmp.S.
14033 [USE_AS_STRNCASECMP_L]: Likewise.
14034 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14035 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14036 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14037 (__strncasecmp_l_ia32): Define as alias to
14038 __strncasecmp_l_nonascii.
14041 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14042 * sysdeps/i386/fpu/libm-test-ulps: Update.
14043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14045 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14048 2012-02-29 Jeff Law <law@redhat.com>
14050 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14051 out of bounds read.
14053 2012-02-29 Marek Polacek <polacek@redhat.com>
14056 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14057 * elf/Makefile: Add rules to run tst-unused-dep.out.
14059 2012-02-28 David S. Miller <davem@davemloft.net>
14061 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14062 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14065 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14066 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14068 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14070 * math/libm-test.inc (llround_test): Move one test from
14071 lround_test. Use TEST_f_L in moved test.
14072 (lround_test): Move misplaced test to llround_test. Add testcase
14075 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14077 * sysdeps/x86_64/fpu/e_expf.S: New file.
14078 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14080 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14083 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14084 of remain_len that may cause incomplete multi-byte character and
14086 * posix/bug-regex33.c: New file.
14087 * posix/Makefile (tests): Add bug-regex33.
14089 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14091 * manual/macros.texi: New file.
14092 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14093 * manual/libc.texinfo: Include macros.texi.
14094 * manual/creatute.texi: Likewise.
14095 * manual/install.texi: Likewise.
14096 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14097 @glibcadj{} in references to the GNU C Library.
14098 * manual/charset.texi: Likewise.
14099 * manual/conf.texi: Likewise.
14100 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14101 when not using those macros.
14102 * manual/creature.texi: Likewise.
14103 * manual/crypt.texi: Likewise.
14104 * manual/errno.texi: Likewise.
14105 * manual/filesys.texi: Likewise.
14106 * manual/header.texi: Likewise.
14107 * manual/install.texi: Likewise.
14108 * manual/intro.texi: Likewise.
14109 * manual/io.texi: Likewise.
14110 * manual/job.texi: Likewise.
14111 * manual/lang.texi: Likewise.
14112 * manual/libc.texiinfo: Likewise.
14113 * manual/llio.texi: Likewise.
14114 * manual/locale.texi: Likewise.
14115 * manual/maint.texi: Likewise.
14116 * manual/math.texi: Likewise.
14117 * manual/memory.texi: Likewise.
14118 * manual/message.texi: Likewise.
14119 * manual/nss.texi: Likewise.
14120 * manual/pattern.texi: Likewise.
14121 * manual/process.texi: Likewise.
14122 * manual/resource.texi: Likewise.
14123 * manual/search.texi: Likewise.
14124 * manual/setjmp.texi: Likewise.
14125 * manual/signal.texi: Likewise.
14126 * manual/socket.texi: Likewise.
14127 * manual/startup.texi: Likewise.
14128 * manual/stdio.texi: Likewise.
14129 * manual/string.texi: Likewise.
14130 * manual/sysinfo.texi: Likewise.
14131 * manual/syslog.texi: Likewise.
14132 * manual/terminal.texi: Likewise.
14133 * manual/time.texi: Likewise.
14134 * manual/users.texi: Likewise.
14135 * INSTALL: Regenerated.
14136 * NOTES: Regenerated.
14137 * sysdeps/gnu/errlist.c: Regenerated.
14139 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14141 * include/dirent.h: Include <dirstream.h> before
14144 2012-02-28 David S. Miller <davem@davemloft.net>
14146 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14147 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14149 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14151 2012-02-27 David S. Miller <davem@davemloft.net>
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14159 frame pointer instead of stack pointer relative arg slot.
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14161 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14162 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14164 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14167 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14169 2012-02-27 David S. Miller <davem@davemloft.net>
14171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14175 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14176 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14177 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14178 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14180 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14182 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14183 later. Allow versions 5-9.
14184 * configure: Regenerated.
14185 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14186 required minimum version and 4.6 as recommended version. Do not
14187 mention bugs in GCC 2.7 and 2.8.
14188 * INSTALL: Regenerated.
14190 2012-02-27 David S. Miller <davem@davemloft.net>
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14196 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14197 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14198 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14199 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14202 manipulate bits before adding and subtracting TWO112[sx].
14203 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14205 2012-02-27 Roland McGrath <roland@hack.frob.com>
14208 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14209 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14210 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14211 being in POSIX, because they are in 1003.1-2008.
14213 * rt/tst-aio.c: Include <fcntl.h>.
14214 * rt/tst-aio7.c: Likewise.
14215 * rt/tst-aio64.c: Likewise.
14217 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14219 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14221 * manual/install.texi (--with-headers): Describe headers as
14222 interface headers, not private headers.
14223 (Specific advice for GNU/Linux systems): Describe use of headers
14224 from "make headers_install", not private headers from older
14226 * INSTALL: Regenerated.
14227 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14229 * sysdeps/unix/sysv/linux/configure: Regenerated.
14231 * manual/llio.texi (fclean): Remove documentation.
14233 * manual/Makefile (libc-texi-generated): New variable. Include
14235 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14236 $(libc-texi-generated), not duplicated list of files.
14237 (version.texi, stamp-version): New rules.
14238 (realclean): Remove $(libc-texi-generated), not individual files
14239 from that list. Do not remove dir-add.texinfo.
14240 * manual/libc.texinfo: Comment out uses of edition numbers and
14241 references to printed manual. Remove last-updated dates.
14242 (EDITION): Comment out.
14244 (VERSION, UPDATED): Remove.
14245 (version.texi): Include.
14247 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14249 * sysdeps/posix/spawni.c: Include <signal.h>.
14250 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14251 * sysdeps/pthread/aio_fsync.c: Likewise.
14253 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14255 * conform/Makefile (tests): Run only when not cross-compiling and
14256 when fast-check is not defined.
14258 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14259 * conform/data/limits.h-data: Fixes for POSIX2008.
14260 * conform/run-conformtest.sh: Run all tests.
14261 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14263 * include/bits/dlfcn.h: Likewise.
14264 * include/langinfo.h: Likewise.
14265 * include/monetary.h: Likewise.
14266 * include/sys/poll.h: Likewise.
14268 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14270 * posix/spawn.h: Define __need_sigset_t.
14271 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14272 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14273 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14274 to get sigevent_t only.
14275 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14276 only for __USE_GNU.
14277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14278 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14279 process_vm_writev only for __USE_GNU.
14280 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14282 * conform/Makefile: For now ignore errors from run-conformtest.
14283 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14284 POSIX to avoid namespace pollution. Don't prepend headers.
14285 * conform/data/aio.h-data: Fixes for POSIX testing.
14286 * conform/data/fcntl.h-data: Likewise.
14287 * conform/data/glob.h-data: Likewise.
14288 * conform/data/grp.h-data: Likewise.
14289 * conform/data/pthread.h-data: Likewise.
14290 * conform/data/pwd.h-data: Likewise.
14291 * conform/data/signal.h-data: Likewise.
14292 * conform/data/spawn.h-data: Likewise.
14293 * conform/data/stdio.h-data: Likewise.
14294 * conform/data/stdlib.h-data: Likewise.
14295 * conform/data/stropts.h-data: Likewise.
14296 * conform/data/sys/mman.h-data: Likewise.
14297 * conform/data/sys/stat.h-data: Likewise.
14298 * conform/data/sys/types.h-data: Likewise.
14299 * conform/data/sys/wait.h-data: Likewise.
14300 * conform/data/time.h-data: Likewise.
14301 * conform/data/unistd.h-data: Likewise.
14302 * conform/data/utime.h-data: Likewise.
14304 * io/sys/stat.h: fchmod was always in POSIX.
14305 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14306 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14307 * rt/aio.h: Define __need_timespec before including <time.h>.
14308 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14309 struct. Add forward declaration of pthread_attr_t and use it in
14311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14313 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14314 always remove CLK_TCK definition.
14316 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14318 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14320 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14322 * conform/run-conformtest.sh: New file.
14323 * conform/Makefile: Run run-conformtest for tests.
14324 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14327 * conform/data/uchar.h-data: New file.
14328 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14329 * conform/data/arpa/inet.h-data: Likewise.
14330 * conform/data/assert.h-data: Likewise.
14331 * conform/data/complex.h-data: Likewise.
14332 * conform/data/cpio.h-data: Likewise.
14333 * conform/data/ctype.h-data: Likewise.
14334 * conform/data/dirent.h-data: Likewise.
14335 * conform/data/dlfcn.h-data: Likewise.
14336 * conform/data/errno.h-data: Likewise.
14337 * conform/data/fcntl.h-data: Likewise.
14338 * conform/data/float.h-data: Likewise.
14339 * conform/data/fmtmsg.h-data: Likewise.
14340 * conform/data/fnmatch.h-data: Likewise.
14341 * conform/data/ftw.h-data: Likewise.
14342 * conform/data/glob.h-data: Likewise.
14343 * conform/data/grp.h-data: Likewise.
14344 * conform/data/iconv.h-data: Likewise.
14345 * conform/data/inttypes.h-data: Likewise.
14346 * conform/data/langinfo.h-data: Likewise.
14347 * conform/data/libgen.h-data: Likewise.
14348 * conform/data/limits.h-data: Likewise.
14349 * conform/data/locale.h-data: Likewise.
14350 * conform/data/math.h-data: Likewise.
14351 * conform/data/monetary.h-data: Likewise.
14352 * conform/data/mqueue.h-data: Likewise.
14353 * conform/data/ndbm.h-data: Likewise.
14354 * conform/data/net/if.h-data: Likewise.
14355 * conform/data/netdb.h-data: Likewise.
14356 * conform/data/netinet/in.h-data: Likewise.
14357 * conform/data/nl_types.h-data: Likewise.
14358 * conform/data/poll.h-data: Likewise.
14359 * conform/data/pthread.h-data: Likewise.
14360 * conform/data/pwd.h-data: Likewise.
14361 * conform/data/regex.h-data: Likewise.
14362 * conform/data/sched.h-data: Likewise.
14363 * conform/data/search.h-data: Likewise.
14364 * conform/data/semaphore.h-data: Likewise.
14365 * conform/data/setjmp.h-data: Likewise.
14366 * conform/data/signal.h-data: Likewise.
14367 * conform/data/spawn.h-data: Likewise.
14368 * conform/data/stdarg.h-data: Likewise.
14369 * conform/data/stdio.h-data: Likewise.
14370 * conform/data/stdlib.h-data: Likewise.
14371 * conform/data/string.h-data: Likewise.
14372 * conform/data/strings.h-data: Likewise.
14373 * conform/data/stropts.h-data: Likewise.
14374 * conform/data/sys/ipc.h-data: Likewise.
14375 * conform/data/sys/mman.h-data: Likewise.
14376 * conform/data/sys/msg.h-data: Likewise.
14377 * conform/data/sys/resource.h-data: Likewise.
14378 * conform/data/sys/select.h-data: Likewise.
14379 * conform/data/sys/sem.h-data: Likewise.
14380 * conform/data/sys/shm.h-data: Likewise.
14381 * conform/data/sys/socket.h-data: Likewise.
14382 * conform/data/sys/stat.h-data: Likewise.
14383 * conform/data/sys/statvfs.h-data: Likewise.
14384 * conform/data/sys/time.h-data: Likewise.
14385 * conform/data/sys/timeb.h-data: Likewise.
14386 * conform/data/sys/times.h-data: Likewise.
14387 * conform/data/sys/types.h-data: Likewise.
14388 * conform/data/sys/uio.h-data: Likewise.
14389 * conform/data/sys/un.h-data: Likewise.
14390 * conform/data/sys/utsname.h-data: Likewise.
14391 * conform/data/sys/wait.h-data: Likewise.
14392 * conform/data/syslog.h-data: Likewise.
14393 * conform/data/tar.h-data: Likewise.
14394 * conform/data/termios.h-data: Likewise.
14395 * conform/data/utime.h-data: Likewise.
14396 * conform/data/utmpx.h-data: Likewise.
14397 * conform/data/varargs.h-data: Likewise.
14398 * conform/data/wchar.h-data: Likewise.
14399 * conform/data/wctype.h-data: Likewise.
14400 * conform/data/wordexp.h-data: Likewise.
14402 * include/stropts.h: New file.
14403 * include/uchar.h: New file.
14404 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14405 * include/assert.h: Likewise.
14406 * include/ctype.h: Likewise.
14407 * include/dirent.h: Likewise.
14408 * include/dlfcn.h: Likewise.
14409 * include/fcntl.h: Likewise.
14410 * include/fnmatch.h: Likewise.
14411 * include/glob.h: Likewise.
14412 * include/grp.h: Likewise.
14413 * include/libio.h: Likewise.
14414 * include/locale.h: Likewise.
14415 * include/math.h: Likewise.
14416 * include/net/if.h: Likewise.
14417 * include/netdb.h: Likewise.
14418 * include/netinet/in.h: Likewise.
14419 * include/pthread.h: Likewise.
14420 * include/pwd.h: Likewise.
14421 * include/regex.h: Likewise.
14422 * include/sched.h: Likewise.
14423 * include/search.h: Likewise.
14424 * include/setjmp.h: Likewise.
14425 * include/signal.h: Likewise.
14426 * include/stdio.h: Likewise.
14427 * include/stdlib.h: Likewise.
14428 * include/string.h: Likewise.
14429 * include/sys/cdefs.h: Likewise.
14430 * include/sys/mman.h: Likewise.
14431 * include/sys/msg.h: Likewise.
14432 * include/sys/resource.h: Likewise.
14433 * include/sys/select.h: Likewise.
14434 * include/sys/socket.h: Likewise.
14435 * include/sys/stat.h: Likewise.
14436 * include/sys/statvfs.h: Likewise.
14437 * include/sys/time.h: Likewise.
14438 * include/sys/times.h: Likewise.
14439 * include/sys/uio.h: Likewise.
14440 * include/sys/utsname.h: Likewise.
14441 * include/sys/wait.h: Likewise.
14442 * include/termios.h: Likewise.
14443 * include/time.h: Likewise.
14444 * include/ulimit.h: Likewise.
14445 * include/unistd.h: Likewise.
14446 * include/utime.h: Likewise.
14447 * include/wchar.h: Likewise.
14448 * include/wctype.h: Likewise.
14449 * include/wordexp.h: Likewise.
14451 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14453 * time/time.h: TIME_UTC must be a macro.
14454 Make timespec_get available for ISO C11 only as well.
14456 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14458 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14459 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14461 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14463 * configure.in: Use -o not -a in test for unsupported multi-arch.
14465 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14467 * manual/texinfo.tex: Update to version 2012-01-19.16.
14469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14471 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14473 2012-02-24 Roland McGrath <roland@hack.frob.com>
14476 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14477 * manual/fdl-1.3.texi: New file.
14478 * manual/fdl-1.1.texi: File removed.
14481 * manual/libc.texinfo (FDL_VERSION): New @set.
14482 Use it for mention of FDL in cover text.
14483 (Documentation License): Use it in @include file name.
14485 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14486 Roland McGrath <roland@hack.frob.com>
14489 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14490 not LONG_LONG_MAX and LONG_LONG_MIN.
14491 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14492 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14494 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14496 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14500 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14501 manipulate bits before adding and subtracting TWO23[sx].
14502 * math/libm-test.inc (nearbyint_test): Add more tests.
14504 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14507 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14508 bits before adding and subtracting TWO23[sx].
14509 * math/libm-test.inc (rint_test): Add more tests.
14510 (rint_test_tonearest): Likewise.
14511 (rint_test_towardzero): Likewise.
14512 (rint_test_downward): Likewise.
14513 (rint_test_upward: Likewise.
14515 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14518 * include/stdc-predef.h: New file. Extracted from features.h.
14519 * include/features.h: Include stdc-predef.h.
14520 * Makefile (headers): Add stdc-predef.h.
14521 * CONFORMANCE (Compiler limitations): Update.
14523 2012-02-22 Joseph Myers <joseph@codesourcery.com>
14525 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14527 2012-02-21 David S. Miller <davem@davemloft.net>
14529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14532 2012-02-20 David S. Miller <davem@davemloft.net>
14534 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14535 using a normal save/restore sequence, rather than allocating a
14536 dummy stack frame just to store a frame pointer and restore.
14537 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14539 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14541 * manual/install.texi: Fix stray word in line-wrapped comment.
14543 2012-02-20 David S. Miller <davem@davemloft.net>
14545 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14546 both binutils and gcc support GOTDATA.
14548 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14549 "rd %pc" in the PIC register setup sequences.
14551 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14552 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14553 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14554 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14555 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14557 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14560 (SYSCALL_ERROR_HANDLER): Likewise.
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14564 (SYSCALL_ERROR_HANDLER): Likewise.
14566 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14567 (HAVE_GCC_GOTDATA): New.
14568 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14569 relocation support in both binutils and gcc.
14570 * sysdeps/sparc/elf/configure: Regenerate.
14572 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14573 * sysdeps/sparc/sparc32/elf/configure: Delete.
14574 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14575 * sysdeps/sparc/sparc64/elf/configure: Delete.
14576 * sysdeps/sparc/elf/configure.in: New file.
14577 * sysdeps/sparc/elf/configure: Generate.
14579 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14580 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14581 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14582 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14583 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14585 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14587 * manual/install.texi: Do not mention specific glibc version
14589 * manual/libc.texinfo (VERSION, UPDATED): Update.
14590 (@copying): Use @copyright{} and range of years.
14592 2012-02-21 Joseph Myers <joseph@codesourcery.com>
14595 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14596 [crti.S not in sysdirs] (generated): Do not append.
14597 [crti.S not in sysdirs] (omit-deps): Likewise.
14598 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14599 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14600 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14601 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14602 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14604 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14605 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14606 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14607 * csu/defs.awk: Remove file.
14608 * sysdeps/generic/initfini.c: Likewise.
14609 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14611 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14614 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14616 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14617 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14621 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14623 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14624 (__EPOLL_PACKED): Define to empty if not defined by
14626 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14630 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14632 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14633 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14634 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14635 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14637 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14641 2012-02-20 Joseph Myers <joseph@codesourcery.com>
14643 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14646 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14647 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14650 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14653 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14655 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14657 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14658 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14660 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14662 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14665 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14667 * math/w_acos.c: Use non-signaling floating-point comparisons.
14668 * math/w_acosf.c: Likewise.
14669 * math/w_acosh.c: Likewise.
14670 * math/w_acoshf.c: Likewise.
14671 * math/w_acoshl.c: Likewise.
14672 * math/w_acosl.c: Likewise.
14673 * math/w_asin.c: Likewise.
14674 * math/w_asinf.c: Likewise.
14675 * math/w_asinl.c: Likewise.
14676 * math/w_atanh.c: Likewise.
14677 * math/w_atanhf.c: Likewise.
14678 * math/w_atanhl.c: Likewise.
14679 * math/w_exp2.c: Likewise.
14680 * math/w_exp2f.c: Likewise.
14681 * math/w_exp2l.c: Likewise.
14682 * math/w_j0.c: Likewise.
14683 * math/w_j0f.c: Likewise.
14684 * math/w_j0l.c: Likewise.
14685 * math/w_j1.c: Likewise.
14686 * math/w_j1f.c: Likewise.
14687 * math/w_j1l.c: Likewise.
14688 * math/w_jn.c: Likewise.
14689 * math/w_jnf.c: Likewise.
14690 * math/w_log.c: Likewise.
14691 * math/w_log10.c: Likewise.
14692 * math/w_log10f.c: Likewise.
14693 * math/w_log10l.c: Likewise.
14694 * math/w_log2.c: Likewise.
14695 * math/w_log2f.c: Likewise.
14696 * math/w_log2l.c: Likewise.
14697 * math/w_logf.c: Likewise.
14698 * math/w_logl.c: Likewise.
14699 * math/w_sqrt.c: Likewise.
14700 * math/w_sqrtf.c: Likewise.
14701 * math/w_sqrtl.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14705 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14708 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14711 * manual/string.texi (strnlen): Use correct parameter name in
14712 equivalent expression.
14714 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14717 * manual/users.texi (seteuid): Consistently use neweuid for
14720 2012-02-19 Joseph Myers <joseph@codesourcery.com>
14723 * manual/nss.texi (Services in the NSS configuration): Correct
14724 list of services in example configuration file.
14726 2012-02-19 Nick Bowler <nbowler@draconx.ca>
14729 * manual/arith.texi: Remove statements about negative zero
14730 behaving identically to zero.
14732 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14735 * manual/install.texi: Do not document upgrading from libc5.
14737 2012-02-18 Joseph Myers <joseph@codesourcery.com>
14740 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14742 2012-02-18 David S. Miller <davem@davemloft.net>
14744 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14745 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14746 %o7 across the call.
14747 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14750 SETUP_PIC_REG_LEAF.
14751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14752 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14753 * sysdeps/sparc/crtn.S: Likewise.
14755 2012-02-17 Ulrich Drepper <drepper@gmail.com>
14757 * aout/Makefile: Remove.
14759 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14762 * manual/examples/argp-ex1.c (main): Format definition in GNU
14764 * manual/examples/argp-ex2.c (main): Likewise.
14765 * manual/examples/argp-ex3.c (main): Likewise.
14766 * manual/examples/argp-ex4.c (main): Likewise.
14767 * manual/examples/longopt.c (main): Use new-style prototype
14769 * manual/examples/strncat.c (main): Specify return type and use
14770 (void) for arguments.
14771 * manual/examples/subopt.c (main): Use char **argv argument.
14773 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14776 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14779 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14782 * manual/string.texi (strchr): Change when strchrnul is
14785 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14788 * manual/locale.texi (setlocale): Document LOCPATH.
14790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14793 * manual/process.texi (execle): Move @dots{} before last argument.
14795 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
14798 * manual/charset.texi (Generic Charset Conversion): Fix typo
14799 (LC_TYPE -> LC_CTYPE).
14801 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14804 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14805 (scalbnf): Likewise.
14806 (scalbnl): Likewise.
14807 (scalbln): Likewise.
14808 (scalblnf): Likewise.
14809 (scalblnl): Likewise.
14810 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14811 (vwarnx): Likewise.
14814 * manual/filesys.texi (telldir): Use braces around return type.
14815 * manual/llio.texi (mmap): Add space after comma.
14816 (mmap64): Likewise.
14817 * manual/math.texi (jn): Use @var{} on parameter names.
14823 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14825 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14827 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14828 (sched_get_priority_max): Likewise.
14829 * manual/signal.texi (sigvec): Add space after comma.
14830 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14832 (if_indextoname): Likewise.
14833 (if_freenameindex): Likewise.
14834 (sendto): Use ',' instead of '.' in prototype.
14835 * manual/startup.texi (syscall): Use @dots{} instead of literal
14837 * manual/stdio.texi (__fpending): Separate initial words of
14838 paragraph from @deftypefun line.
14839 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14841 (vsyslog): Use @var{} on parameter names.
14842 * manual/terminal.texi (stty): Use @var{} on parameter names.
14843 * manual/users.texi (getutmp): Use @var{} on parameter names.
14844 (getutmpx): Likewise.
14846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14849 * manual/stdio.texi (fopen): Fix typos in description of
14852 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14855 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14856 get clock_id definition.
14858 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
14861 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14862 (madvise): Cast every argument to void on its own.
14864 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14867 * manual/startup.texi (Exit Status): Fix typo.
14869 2012-02-17 Joseph Myers <joseph@codesourcery.com>
14872 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14873 * manual/examples/argp-ex2.c: Likewise.
14874 * manual/examples/argp-ex3.c: Likewise.
14876 2012-02-16 Richard Henderson <rth@redhat.com>
14878 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14879 * sysdeps/s390/s390-32/initfini.c: Remove.
14880 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14881 * sysdeps/s390/s390-64/initfini.c: Remove.
14883 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14885 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14886 compiler output for sysdeps/generic/initfini.c.
14887 * sysdeps/sh/elf/initfini.c: Remove file.
14889 2012-02-16 David S. Miller <davem@davemloft.net>
14892 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14894 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14895 * sysdeps/sparc/crti.S: New file.
14896 * sysdeps/sparc/crtn.S: New file.
14897 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14898 * sysdeps/sparc/sparc64/Makefile: Likewise.
14900 2012-02-15 Mike Frysinger <vapier@gentoo.org>
14903 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14905 2012-02-15 Roland McGrath <roland@hack.frob.com>
14908 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14910 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14911 (write, read, close): Likewise.
14912 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14914 2012-02-15 Joseph Myers <joseph@codesourcery.com>
14916 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14917 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14919 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14921 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14925 2012-02-14 Marek Polacek <polacek@redhat.com>
14927 * sysdeps/x86_64/crti.S: New file.
14928 * sysdeps/x86_64/crtn.S: New file.
14929 * sysdeps/x86_64/elf/initfini.c: Remove file.
14931 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14933 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14934 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14935 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14936 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14938 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14942 2012-02-13 Joseph Myers <joseph@codesourcery.com>
14944 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14945 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14946 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14947 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14949 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14953 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14955 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14956 __feraiseexcept instead of feraiseexcept.
14958 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14959 nanosleep invocations.
14960 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14961 strings, and add error checking for a nanosleep invocations.
14963 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14965 Replace FSF snail mail address with URLs, as per GNU coding standards.
14966 Most of the snail mail addresses were wrong anyway, and omitting
14967 them makes the source code easier to maintain. Almost all of the
14968 changes are to license notices and to locale LC_IDENTIFICATION
14969 addresses, except for this one:
14970 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14971 not its snail mail address.
14973 2012-02-09 Richard Henderson <rth@twiddle.net>
14975 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14976 of kernel-features.h.
14978 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14980 2012-02-08 Marek Polacek <polacek@redhat.com>
14982 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14983 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14984 * sysdeps/gnu/_G_config.h: Likewise.
14985 * sysdeps/generic/_G_config.h: Likewise.
14987 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14989 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14993 * sysdeps/powerpc/powerpc32/crti.S: New file.
14994 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14995 * sysdeps/powerpc/powerpc64/crti.S: New file.
14996 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14998 * Makeconfig (have-initfini): Don't set.
14999 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15000 * configure.in (nopic_initfini): Don't substitute.
15001 * config.h.in (HAVE_INITFINI): Don't #undef.
15002 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15003 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15005 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15007 Support crti.S and crtn.S provided directly by architectures.
15008 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15009 [crti.S in sysdirs] (omit-deps): Likewise.
15010 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15011 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15012 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15013 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15014 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15015 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15016 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15017 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15018 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15019 compiler output for sysdeps/generic/initfini.c.
15020 * sysdeps/i386/elf/Makefile: Remove file.
15021 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15023 2012-02-07 Marek Polacek <polacek@redhat.com>
15025 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15026 * sysdeps/gnu/_G_config.h: Likewise.
15027 * sysdeps/mach/hurd/_G_config.h: Likewise.
15029 2012-02-07 Marek Polacek <polacek@redhat.com>
15031 * math/Makefile (tests): Add tst-CMPLX2.
15032 * math/tst-CMPLX2.c: New file.
15034 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15038 * math/libm-test.inc (jn_test): Add missing L suffix.
15040 2012-02-06 Marek Polacek <polacek@redhat.com>
15042 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15043 * sysdeps/i386/fpu/e_powf.S: Likewise.
15044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15045 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15046 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15047 * sysdeps/i386/fpu/e_pow.S: Likewise.
15048 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15049 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15050 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15051 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15052 * sysdeps/i386/fpu/e_log2.S: Likewise.
15053 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15055 * sysdeps/i386/fpu/e_powl.S: Likewise.
15056 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15057 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15058 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15059 * sysdeps/i386/fpu/e_logl.S: Likewise.
15060 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15061 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15062 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15063 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15065 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15066 * sysdeps/i386/fpu/e_log.S: Likewise.
15067 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15068 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15069 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15070 * sysdeps/i386/fpu/e_logf.S: Likewise.
15071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15072 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15073 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15074 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15075 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15076 * sysdeps/i386/fpu/e_log10.S: Likewise.
15077 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15078 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15079 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15080 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15081 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15082 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15083 * sysdeps/i386/asm-syntax.h: Likewise.
15084 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15085 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15086 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15087 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15088 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15089 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15090 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15091 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15092 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15093 * sysdeps/powerpc/sysdep.h: Likewise.
15094 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15097 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15102 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15104 * sysdeps/i386/sysdep.h: Include <features.h>.
15105 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15108 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15110 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15112 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15117 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15118 (SETUP_PIC_REG): Use GET_PC_THUNK.
15119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15122 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15124 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15125 for non-PIC compilation.
15126 (SETUP_PIC_REG): Add .p2align directive.
15127 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15128 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15129 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15130 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15135 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15136 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15137 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15138 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15139 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15140 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15141 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15142 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15143 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15156 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15157 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15159 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15161 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15162 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15164 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15166 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15169 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15171 * math/tst-CMPLX.c: Include <stdio.h>.
15173 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15175 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15177 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15178 * sysdeps/sparc/bits/mathdef.h: Likewise.
15180 2012-01-31 Marek Polacek <polacek@redhat.com>
15182 * libio/libio.h: Don't define _PARAMS.
15183 * locale/programs/config.h: Don't define PARAMS.
15184 * stdlib/strtol_l.c: Likewise.
15185 (__strtol_l): Remove PARAMS from the prototype.
15187 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15189 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15190 names. Just use the correct names. Remove unnecessary wrapper
15192 * malloc/arena.c: Likewise.
15193 * malloc/hooks.c: Likewise.
15195 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15196 ARENA_TEST says not to. Simplify test for creation of a new arena.
15197 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15199 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15201 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15203 (update_get_addr): New function.
15204 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15205 GET_ADDR_MODULE parameter.
15207 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15209 * crypt/cert.c: Remove __STDC__ conditionals.
15210 * crypt/crypt-entry.c: Likewise.
15211 * crypt/crypt_util.c: Likewise.
15212 * libio/filedoalloc.c: Likewise.
15213 * libio/fileops.c: Likewise.
15214 * libio/genops.c: Likewise.
15215 * libio/iofclose.c: Likewise.
15216 * libio/iofdopen.c: Likewise.
15217 * libio/iofopen.c: Likewise.
15218 * libio/iofopen64.c: Likewise.
15219 * libio/iogetdelim.c: Likewise.
15220 * libio/iopopen.c: Likewise.
15221 * libio/obprintf.c: Likewise.
15222 * libio/oldfileops.c: Likewise.
15223 * libio/oldiofclose.c: Likewise.
15224 * libio/oldiofdopen.c: Likewise.
15225 * libio/oldiofopen.c: Likewise.
15226 * libio/oldiopopen.c: Likewise.
15227 * libio/wfiledoalloc.c: Likewise.
15228 * libio/wgenops.c: Likewise.
15229 * locale/programs/xmalloc.c: Likewise.
15230 * misc/syslog.c: Likewise.
15231 * stdio-common/xbug.c: Likewise.
15232 * string/memchr.c: Likewise.
15233 * string/memcmp.c: Likewise.
15234 * string/memrchr.c: Likewise.
15235 * string/rawmemchr.c: Likewise.
15236 * sysdeps/posix/getcwd.c: Likewise.
15237 * time/strftime_l.c: Likewise.
15239 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15241 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15242 * config.make.in (config-cflags-sse2avx): Define.
15243 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15246 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15248 * scripts/config.guess: Update from upstream config git repository.
15249 * scripts/config.sub: Likewise.
15251 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15253 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15255 (R_TILEPRO_*, R_TILEGX_*): New macros.
15257 * scripts/firstversions.awk: Fix bug in version range handling.
15259 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15261 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15263 * include/sys/epoll.h: New file.
15264 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15267 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15269 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15270 Avoid unnecessary __WORDSIZE == 64 test.
15271 (fmaxf): Use VEX format if possible.
15276 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15277 * math/math_private.h: Remove libc_fegetround* and
15279 * sysdeps/i386/configure.in: Check for -msse2avx.
15280 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15281 also if SSE2AVX is defined.
15282 Remove libc_fegetround* and libc_fesetround*.
15283 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15284 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15288 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15293 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15295 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15297 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15299 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15301 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15304 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15306 * Makeconfig (libm): Define.
15307 * elf/Makefile: Add rules to build and run tst-relsort1.
15308 * elf/tst-relsort1.c: New file.
15309 * elf/tst-relsort1mod1.c: New file.
15310 * elf/tst-relsort1mod2.c: New file.
15312 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15314 * math/s_ldexp.c: Remove __STDC__ conditionals.
15315 * math/s_ldexpf.c: Likewise.
15316 * math/s_ldexpl.c: Likewise.
15317 * math/s_nextafter.c: Likewise.
15318 * math/s_nexttowardf.c: Likewise.
15319 * math/s_significand.c: Likewise.
15320 * math/s_significandf.c: Likewise.
15321 * math/s_significandl.c: Likewise.
15322 * math/w_jnl.c: Likewise.
15323 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15324 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15325 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15326 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15327 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15329 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15335 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15336 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15338 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15339 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15340 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15341 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15343 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15344 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15349 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15350 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15351 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15352 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15354 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15357 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15358 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15359 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15363 * sysdeps/ieee754/k_standard.c: Likewise.
15364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15366 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15367 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15372 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15425 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15430 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15438 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15443 * sysdeps/ieee754/s_matherr.c: Likewise.
15444 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15449 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15451 * crypt/md5.h: Remove __STDC__ conditionals.
15452 * libio/libioP.h: Likewise.
15453 * locale/programs/config.h: Likewise.
15454 * sysdeps/generic/sysdep.h: Likewise.
15455 * sysdeps/i386/asm-syntax.h: Likewise.
15456 * sysdeps/s390/asm-syntax.h: Likewise.
15457 * sysdeps/unix/sysdep.h: Likewise.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15461 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15463 * libio/libio.h: Remove __STDC__ conditionals.
15464 * malloc/obstack.h: Likewise.
15465 * math/complex.h: Likewise.
15466 * math/math.h: Likewise.
15467 * sysdeps/generic/_G_config.h: Likewise.
15468 * sysdeps/gnu/_G_config.h: Likewise.
15469 * sysdeps/mach/hurd/_G_config.h: Likewise.
15470 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15472 * sysdeps/sparc/bits/mathdef.h: Likewise.
15474 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15477 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15478 Clean up HAS_* macros.
15479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15480 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15485 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15486 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15490 2012-01-25 Joseph Myers <joseph@codesourcery.com>
15492 * elf/tst-unique3.cc (gets): Remove declaration.
15493 * elf/tst-unique3lib.cc (gets): Likewise.
15494 * elf/tst-unique3lib2.cc (gets): Likewise.
15495 * elf/tst-unique4.cc (gets): Likewise.
15497 2012-01-24 Ulrich Drepper <drepper@gmail.com>
15499 * include/stdio.h: Add C++ protection. Add gets declarations and
15501 * debug/tst-chk1.c: Don't declare gets here.
15502 * stdio-common/tst-gets.c: Likewise.
15504 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15506 * posix/glob: Remove directory.
15508 2012-01-24 Joseph Myers <joseph@codesourcery.com>
15510 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15512 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15514 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15515 of the non-standard EPFNOSUPPORT.
15517 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15519 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15520 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15521 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15523 2012-01-21 Ulrich Drepper <drepper@gmail.com>
15525 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15527 2012-01-20 Ulrich Drepper <drepper@gmail.com>
15529 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15531 * nscd/grpcache.c (cache_addgr): Likewise.
15532 * nscd/hstcache.c (cache_addhst): Likewise.
15533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15534 * nscd/pwdcache.c (cache_addpw): Likewise.
15535 * nscd/servicescache.c (cache_addserv): Likewise.
15537 2012-01-16 Ulrich Drepper <drepper@gmail.com>
15539 * malloc/malloc.c: Various cleanups.
15540 * malloc/hooks.c: Likewise.
15542 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15543 * stdlib/bug-fmtmsg1.c: New file.
15545 * stdlib/fmtmsg.c (init): Add missing unlock.
15546 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15548 2012-01-12 Marek Polacek <polacek@redhat.com>
15550 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15553 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15555 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15556 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15557 macro to ensure uniqueness of label name.
15558 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15559 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15561 2012-01-11 Ulrich Drepper <drepper@gmail.com>
15563 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15565 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15566 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15568 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15570 2012-01-10 Ulrich Drepper <drepper@gmail.com>
15572 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15574 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15575 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15578 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15581 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15585 * math/bits/math-finite.h: Add ldexp support.
15587 2012-01-10 Marek Polacek <polacek@redhat.com>
15589 * locale/programs/localedef.h (show_archive_content): Add noreturn
15592 2012-01-09 Ulrich Drepper <drepper@gmail.com>
15594 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15596 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15598 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15600 * io/Makefile (headers): Add bits/poll2.h.
15602 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15605 typo #include statement.
15607 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15609 * include/sys/cdefs.h: Define __attribute_alloc_size.
15610 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15611 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15612 * elf/pldd.c: Likewise.
15613 * iconv/iconv_charmap.c: Likewise.
15614 * iconv/iconvconfig.c: Likewise.
15615 * iconv/strtab.c: Likewise.
15616 * locale/programs/locale.c: Likewise.
15617 * locale/programs/localedef.h: Likewise.
15618 * locale/programs/simple-hash.c: Likewise.
15619 * nscd/nscd.h: Likewise.
15620 * nss/makedb.c: Likewise.
15621 * sysdeps/generic/ldconfig.h: Likewise.
15622 * locale/programs/localedef.c: Remove xmalloc prototype.
15623 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15625 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15627 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15630 2012-01-08 Ulrich Drepper <drepper@gmail.com>
15632 * math/Makefile (tests): Add tst-CMPLX.
15633 * math/tst-CMPLX.c: New file.
15635 * math/complex.h (CMPLXL): Fix typo.
15637 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15638 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15640 * debug/tst-chk1.c: Add poll and ppoll tests.
15641 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15642 * include/sys/poll.h: Add hidden proto for ppoll.
15643 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15644 * sysdeps/mach/hurd/ppoll.c: Likewise.
15645 * io/ppoll.c: Likewise.
15646 * debug/poll_chk.c: New file.
15647 * debug/ppoll_chk.c: New file.
15648 * include/bits/poll2.h: New file.
15649 * io/bits/poll2.h: New file.
15652 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15654 * configure.in: static is always set to yes. Remove.
15655 * config.make.in: Don't set build-static.
15656 * Makeconfig: Remove use of build-static.
15657 * dlfcn/Makefile: Likewise.
15658 * elf/Makefile: Likewise.
15659 * math/Makefile: Likewise.
15660 * misc/Makefile: Likewise.
15661 * nptl/Makefile: Likewise.
15662 * sysdeps/mach/hurd/Makefile: Likewise.
15664 * configure.in: PWD_P is not used anymore.
15665 * config.make.in: Remove PWD_P entry.
15667 * configure.in: Remove last remnants of RANLIB.
15668 No need to check for signed size_t anymore.
15669 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15671 Remove __builtin_expect test because we require at least gcc 3.4.
15672 * aclocal.m4: Likewise.
15674 * wcsmbs/mbrtoc16.c: Implement using towc function.
15675 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15676 * wcsmbs/wcsmbsload.c: Likewise.
15677 * iconv/gconv_simple.c: Likewise.
15678 * iconv/gconv_int.h: Likewise.
15679 * iconv/gconv_builtin.h: Likewise.
15680 * iconv/iconv_prog.c: Remove CHAR16 handling.
15682 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15684 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15686 * configure.in: Remove --with-elf and --enable-bounded options.
15687 Dont set base_machine for ia64. More non-ELF conditions removed.
15688 Remove testing and setting of leading underscore information.
15689 * config.make.in (build-bounded): Set to no.
15690 * config.h.in: Remove NO_UNDERSCORES entry.
15691 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15693 * csu/start.c: Remove !NO_UNDERSCORE code.
15694 * locale/localeinfo.h: Likewise.
15695 * sysdeps/generic/machine-gmon.h: Likewise.
15696 * sysdeps/generic/sysdep.h: Likewise.
15697 * sysdeps/i386/sysdep.h: Likewise.
15698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15699 * sysdeps/mach/sysdep.h: Likewise.
15700 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15702 * sysdeps/sh/sysdep.h: Likewise.
15703 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15704 * sysdeps/unix/i386/sysdep.S: Likewise.
15705 * sysdeps/unix/sparc/start.c: Likewise.
15706 * sysdeps/unix/sparc/sysdep.S: Likewise.
15707 * sysdeps/unix/sparc/sysdep.h: Likewise.
15708 * sysdeps/unix/start.c: Likewise.
15709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15710 * sysdeps/x86_64/sysdep.h: Likewise.
15712 2012-01-07 Ulrich Drepper <drepper@gmail.com>
15715 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15717 * argp/argp-fmtstream.h: Use const instead __const.
15718 * argp/argp.h: Likewise.
15719 * assert/assert.h: Likewise.
15720 * bits/fenv.h: Likewise.
15721 * bits/sched.h: Likewise.
15722 * bits/sigset.h: Likewise.
15723 * bits/sigthread.h: Likewise.
15724 * catgets/nl_types.h: Likewise.
15725 * conform/data/pthread.h-data: Likewise.
15726 * crypt/crypt-private.h: Likewise.
15727 * crypt/crypt.h: Likewise.
15728 * crypt/crypt_util.c: Likewise.
15729 * ctype/ctype.h: Likewise.
15730 * debug/execinfo.h: Likewise.
15731 * debug/mbsnrtowcs_chk.c: Likewise.
15732 * debug/mbsrtowcs_chk.c: Likewise.
15733 * debug/wcsnrtombs_chk.c: Likewise.
15734 * debug/wcsrtombs_chk.c: Likewise.
15735 * debug/wcstombs_chk.c: Likewise.
15736 * dirent/dirent.h: Likewise.
15737 * dlfcn/dlfcn.h: Likewise.
15738 * elf/neededtest4.c: Likewise.
15739 * grp/grp.h: Likewise.
15740 * gshadow/gshadow.h: Likewise.
15741 * iconv/gconv.h: Likewise.
15742 * iconv/gconv_int.h: Likewise.
15743 * iconv/gconv_simple.c: Likewise.
15744 * iconv/iconv.h: Likewise.
15745 * iconv/loop.c: Likewise.
15746 * iconv/skeleton.c: Likewise.
15747 * include/aio.h: Likewise.
15748 * include/aliases.h: Likewise.
15749 * include/argz.h: Likewise.
15750 * include/arpa/inet.h: Likewise.
15751 * include/assert.h: Likewise.
15752 * include/dirent.h: Likewise.
15753 * include/dlfcn.h: Likewise.
15754 * include/execinfo.h: Likewise.
15755 * include/fcntl.h: Likewise.
15756 * include/fenv.h: Likewise.
15757 * include/glob.h: Likewise.
15758 * include/grp.h: Likewise.
15759 * include/libintl.h: Likewise.
15760 * include/mntent.h: Likewise.
15761 * include/netdb.h: Likewise.
15762 * include/pwd.h: Likewise.
15763 * include/rpc/netdb.h: Likewise.
15764 * include/sched.h: Likewise.
15765 * include/search.h: Likewise.
15766 * include/shadow.h: Likewise.
15767 * include/signal.h: Likewise.
15768 * include/stdio.h: Likewise.
15769 * include/stdlib.h: Likewise.
15770 * include/string.h: Likewise.
15771 * include/sys/socket.h: Likewise.
15772 * include/sys/stat.h: Likewise.
15773 * include/sys/statfs.h: Likewise.
15774 * include/sys/statvfs.h: Likewise.
15775 * include/sys/syslog.h: Likewise.
15776 * include/sys/time.h: Likewise.
15777 * include/sys/uio.h: Likewise.
15778 * include/time.h: Likewise.
15779 * include/unistd.h: Likewise.
15780 * include/utmp.h: Likewise.
15781 * include/wchar.h: Likewise.
15782 * include/wctype.h: Likewise.
15783 * inet/aliases.h: Likewise.
15784 * inet/arpa/inet.h: Likewise.
15785 * inet/netinet/ether.h: Likewise.
15786 * inet/netinet/in.h: Likewise.
15787 * intl/libintl.h: Likewise.
15788 * io/bits/fcntl2.h: Likewise.
15789 * io/fcntl.h: Likewise.
15790 * io/ftw.h: Likewise.
15791 * io/sys/poll.h: Likewise.
15792 * io/sys/stat.h: Likewise.
15793 * io/sys/statfs.h: Likewise.
15794 * io/sys/statvfs.h: Likewise.
15795 * io/utime.h: Likewise.
15796 * libio/bits/stdio.h: Likewise.
15797 * libio/bits/stdio2.h: Likewise.
15798 * libio/libio.h: Likewise.
15799 * libio/libioP.h: Likewise.
15800 * libio/stdio.h: Likewise.
15801 * locale/lc-ctype.c: Likewise.
15802 * locale/locale.h: Likewise.
15803 * login/utmp.h: Likewise.
15804 * malloc/arena.c: Likewise.
15805 * malloc/malloc.c: Likewise.
15806 * malloc/malloc.h: Likewise.
15807 * malloc/mcheck.c: Likewise.
15808 * malloc/mtrace.c: Likewise.
15809 * math/bits/mathcalls.h: Likewise.
15810 * math/fenv.h: Likewise.
15811 * math/math_private.h: Likewise.
15812 * misc/bits/error.h: Likewise.
15813 * misc/bits/syslog.h: Likewise.
15814 * misc/err.h: Likewise.
15815 * misc/error.h: Likewise.
15816 * misc/fstab.h: Likewise.
15817 * misc/mntent.h: Likewise.
15818 * misc/regexp.h: Likewise.
15819 * misc/search.h: Likewise.
15820 * misc/sgtty.h: Likewise.
15821 * misc/sys/mman.h: Likewise.
15822 * misc/sys/syslog.h: Likewise.
15823 * misc/sys/uio.h: Likewise.
15824 * misc/sys/xattr.h: Likewise.
15825 * misc/ttyent.h: Likewise.
15826 * nis/rpcsvc/ypclnt.h: Likewise.
15827 * nss/nss.h: Likewise.
15828 * posix/bits/unistd.h: Likewise.
15829 * posix/fnmatch.h: Likewise.
15830 * posix/glob.h: Likewise.
15831 * posix/sched.h: Likewise.
15832 * posix/spawn.h: Likewise.
15833 * posix/sys/wait.h: Likewise.
15834 * posix/unistd.h: Likewise.
15835 * posix/wordexp.h: Likewise.
15836 * pwd/pwd.h: Likewise.
15837 * resolv/netdb.h: Likewise.
15838 * resource/sys/resource.h: Likewise.
15839 * rt/aio.h: Likewise.
15840 * rt/bits/mqueue2.h: Likewise.
15841 * rt/mqueue.h: Likewise.
15842 * shadow/shadow.h: Likewise.
15843 * signal/signal.h: Likewise.
15844 * socket/send.c: Likewise.
15845 * socket/sendto.c: Likewise.
15846 * socket/sys/socket.h: Likewise.
15847 * stdio-common/printf.h: Likewise.
15848 * stdlib/bits/stdlib.h: Likewise.
15849 * stdlib/fmtmsg.h: Likewise.
15850 * stdlib/monetary.h: Likewise.
15851 * stdlib/stdlib.h: Likewise.
15852 * stdlib/ucontext.h: Likewise.
15853 * streams/stropts.h: Likewise.
15854 * string/argz.h: Likewise.
15855 * string/bits/string2.h: Likewise.
15856 * string/string.h: Likewise.
15857 * string/strings.h: Likewise.
15858 * sunrpc/rpc/auth.h: Likewise.
15859 * sunrpc/rpc/auth_des.h: Likewise.
15860 * sunrpc/rpc/clnt.h: Likewise.
15861 * sunrpc/rpc/netdb.h: Likewise.
15862 * sunrpc/rpc/pmap_clnt.h: Likewise.
15863 * sunrpc/rpc/xdr.h: Likewise.
15864 * sysdeps/generic/inttypes.h: Likewise.
15865 * sysdeps/generic/net/if.h: Likewise.
15866 * sysdeps/generic/sys/swap.h: Likewise.
15867 * sysdeps/gnu/net/if.h: Likewise.
15868 * sysdeps/gnu/utmpx.h: Likewise.
15869 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15870 * sysdeps/i386/i486/bits/string.h: Likewise.
15871 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15872 * sysdeps/s390/bits/string.h: Likewise.
15873 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15874 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15875 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15876 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15877 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15878 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15879 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15880 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15881 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15882 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15883 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15884 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15885 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15886 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15887 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15888 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15889 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15895 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15896 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15897 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15898 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15899 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15901 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15903 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15904 * sysvipc/sys/ipc.h: Likewise.
15905 * sysvipc/sys/msg.h: Likewise.
15906 * sysvipc/sys/sem.h: Likewise.
15907 * sysvipc/sys/shm.h: Likewise.
15908 * termios/termios.h: Likewise.
15909 * time/sys/time.h: Likewise.
15910 * time/time.h: Likewise.
15911 * wcsmbs/bits/wchar2.h: Likewise.
15912 * wcsmbs/uchar.h: Likewise.
15913 * wcsmbs/wchar.h: Likewise.
15914 * wctype/wctype.h: Likewise.
15917 * Makeconfig: Remove all but ELF support including AIX support.
15918 * Makerules: Likewise.
15919 * config.h.in: Likewise.
15920 * config.make.in: Likewise.
15921 * configure: Likewise.
15922 * configure.in: Likewise.
15923 * csu/Makefile: Likewise.
15924 * csu/version.c: Likewise.
15925 * debug/Makefile: Likewise.
15926 * dlfcn/Makefile: Likewise.
15927 * elf/Makefile: Likewise.
15928 * extra-lib.mk: Likewise.
15929 * iconv/Makefile: Likewise.
15930 * include/libc-symbols.h: Likewise.
15931 * include/shlib-compat.h: Likewise.
15932 * resolv/Makefile: Likewise.
15933 * resolv/res_libc.c: Likewise.
15934 * rt/Makefile: Likewise.
15935 * sysdeps/i386/asm-syntax.h: Likewise.
15936 * sysdeps/i386/sysdep.h: Likewise.
15937 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15938 * sysdeps/mach/sysdep.h: Likewise.
15939 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15940 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15941 * sysdeps/s390/asm-syntax.h: Likewise.
15942 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15944 * sysdeps/sh/sysdep.h: Likewise.
15945 * sysdeps/unix/sparc/sysdep.h: Likewise.
15946 * sysdeps/wordsize-32/divdi3.c: Likewise.
15947 * sysdeps/x86_64/sysdep.h: Likewise.
15949 * argp/Versions: Remove _argp_unlock_xxx.
15952 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15953 * abilist/libBrokenLocale.abilist: Likewise.
15954 * abilist/libanl.abilist: Likewise.
15955 * abilist/libc.abilist: Likewise.
15956 * abilist/libcrypt.abilist: Likewise.
15957 * abilist/libdl.abilist: Likewise.
15958 * abilist/libm.abilist: Likewise.
15959 * abilist/libnsl.abilist: Likewise.
15960 * abilist/libpthread.abilist: Likewise.
15961 * abilist/libresolv.abilist: Likewise.
15962 * abilist/librt.abilist: Likewise.
15963 * abilist/libthread_db.abilist: Likewise.
15964 * abilist/libutil.abilist: Likewise.
15965 * abilist/libnss_db.abilist: New file.
15967 * scripts/abilist.awk: Add support for indirect functions.
15969 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15971 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15973 * shlib-versions: Remove entries for ports architectures.
15975 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15977 * elf/stackguard-macros.h: Remove support for IA-64.
15978 * elf/tst-auditmod1.c: Likewise.
15979 * sysdeps/generic/ldsodefs.h: Likewise.
15981 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15982 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15986 * configure.in: Remove --enable-omitfp support.
15988 * config.make.in: Likewise.
15989 * Makeconfig: Likewise.
15990 * manual/install.texi: Likewise.
15992 In case anyone cares, the IA-64 architecture could move to ports.
15993 * sysdeps/ia64/*: Removed.
15994 * sysdeps/unix/sysv/linux/ia64/*: Removed.
15995 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
15998 * configure.in: Remove entries for unsupported architectures.
16001 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16002 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16004 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16005 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16006 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16007 fall back to using wcrtomb.
16008 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16009 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16011 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16012 * wcsmbs/tst-c16c32-1.c: New file.
16014 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16017 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16019 * elf/tst-unique3.cc: Add explicit declaration of gets.
16020 * elf/tst-unique3lib.cc: Likewise.
16021 * elf/tst-unique3lib2.cc: Likewise.
16022 * elf/tst-unique4.cc: Likewise.
16024 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16026 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16029 * assert/assert.h (static_assert): Don't define for C++.
16030 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16031 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16033 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16035 * iconv/loop.c (single loop): Fix assertion in storing of
16038 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16040 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16042 * posix/getconf.c: Update copyright year.
16043 * nss/getent.c: Likewise.
16044 * nss/makedb.c: Likewise.
16045 * iconv/iconvconfig.c: Likewise.
16046 * iconv/iconv_prog.c: Likewise.
16047 * elf/ldconfig.c: Likewise.
16048 * elf/pldd.c: Likewise.
16049 * elf/sotruss.ksh: Likewise.
16050 * catgets/gencat.c: Likewise.
16051 * csu/version.c: Likewise.
16052 * elf/ldd.bash.in: Likewise.
16053 * elf/sprof.c (print_version): Likewise.
16054 * locale/programs/locale.c: Likewise.
16055 * locale/programs/localedef.c: Likewise.
16056 * login/programs/pt_chown.c: Likewise.
16057 * nscd/nscd.c (print_version): Likewise.
16058 * debug/xtrace.sh: Likewise.
16059 * malloc/memusage.sh: Likewise.
16060 * malloc/mtrace.pl: Likewise.
16061 * debug/catchsegv.sh: Likewise.
16063 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16065 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16068 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16071 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16072 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16074 * iconv/gconv_int.h: Likewise.
16075 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16076 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16077 from libc for GLIBC_2.16.
16078 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16079 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16080 * wcsmbs/uchar.h: Really define mbstate_t.
16081 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16082 * wcsmbs/c16rtomb.c: New file.
16083 * wcsmbs/mbrtoc16.c: New file.
16084 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16085 for C/POSIX locale.
16086 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16087 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16089 * wcsmbs/wchar.h: Add missing __restrict.
16091 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16094 * time/Makefile (routines): Add timespec_get.
16095 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16096 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16097 timespec for ISO C11.
16098 * time/timespec_get.c: New file.
16099 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16100 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16103 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16104 * stdlib/stdlib.h: Declare aligned_alloc.
16105 * Versions.def: Add GLIBC_2.16 for libc.
16106 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16109 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16112 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16116 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16119 * assert/assert.h (static_assert): Define.
16121 * version.h: Update for 2.16 development version.
16124 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16127 * version.h (RELEASE): Bump for 2.15 release.
16128 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16130 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16131 Patch by Marek Polacek <mpolacek@redhat.com>.
16133 * bits/byteswap.h: Protect long long constants with __extension__.
16134 * sysdeps/i386/bits/byteswap.h: Likewise.
16135 * sysdeps/ia64/bits/byteswap.h: Likewise.
16136 * sysdeps/s390/bits/byteswap.h: Likewise.
16137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16139 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16143 destination buffer.
16144 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16146 2011-12-23 Marek Polacek <polacek@redhat.com>
16148 * elf/dl-addr.c (determine_info): Add inline keyword.
16149 * elf/tst-auditmod4b.c (check_avx): Likewise.
16150 * elf/tst-auditmod6b.c (check_avx): Likewise.
16151 * elf/tst-auditmod6c.c (check_avx): Likewise.
16152 * elf/tst-auditmod7b.c (check_avx): Likewise.
16154 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16159 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16162 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16163 processing for last bytes.
16165 2011-08-06 Bruno Haible <bruno@clisp.org>
16168 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16169 U+0385, not to U+1FEE.
16172 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16173 entry for U+00A5 U+0301.
16175 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16178 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16179 buffer for the output is too small.
16181 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16185 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16186 SSE flags if possible.
16188 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16192 processing for last bytes.
16194 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16196 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16197 (syscall-list-default-options, syscall-list-default-condition)
16198 (syscall-list-includes): Define.
16199 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16200 list of ABIs and options and #if conditions for each ABI. Do not
16201 handle common syscalls between ABIs specially.
16202 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16204 (syscall-list-variants, syscall-list-32bit-options)
16205 (syscall-list-32bit-condition, syscall-list-64bit-options)
16206 (syscall-list-64bit-condition): Define.
16207 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16208 (syscall-list-variants, syscall-list-32bit-options)
16209 (syscall-list-32bit-condition, syscall-list-64bit-options)
16210 (syscall-list-64bit-condition): Define.
16211 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16213 (syscall-list-variants, syscall-list-32bit-options)
16214 (syscall-list-32bit-condition, syscall-list-64bit-options)
16215 (syscall-list-64bit-condition): Define.
16216 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16218 (syscall-list-variants, syscall-list-32bit-options)
16219 (syscall-list-32bit-condition, syscall-list-64bit-options)
16220 (syscall-list-64bit-condition): Define.
16222 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16224 * locale/iso-639.def: Add brx entry.
16227 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16228 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16230 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16231 __feraiseexcept_renamed.
16233 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16236 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16237 EPOLLET with unsigned values.
16238 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16241 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16242 to large cancellation.
16243 * math/s_cacoshf.c: Likewise.
16244 * math/s_cacoshl.c: Likewise.
16246 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16250 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16251 * math/s_cacoshf.c: Likewise.
16252 * math/s_cacoshl.c: Likewise.
16254 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16257 * iconv/gconv.h: Define __GCONV_SWAP.
16258 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16259 * iconvdata/utf-16.c: Likewise.
16260 * iconvdata/utf-32.c: Likewise.
16262 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16266 numerator after shifting it by one limb.
16268 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16271 under [__USE_EXTERN_INLINES].
16273 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16276 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16278 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16280 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16281 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16283 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16284 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16285 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16286 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16287 for strncasecmp/strncasecmp_l compilation.
16288 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16289 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16291 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16294 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16297 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16300 * time/tzfile.c (__tzfile_read): Check values from file header.
16302 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16304 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16305 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16306 * powerpc/powerpc32/dl-start.S: Likewise.
16307 * powerpc/powerpc32/elf/start.S: Likewise.
16308 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16309 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16310 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16311 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16312 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16313 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16314 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16315 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16316 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16317 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16318 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16319 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16320 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16321 * powerpc/powerpc32/memset.S: Likewise.
16322 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16323 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16324 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16325 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16326 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16327 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16328 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16329 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16330 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16331 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16332 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16333 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16334 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16336 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338 * math/libm-test.inc: Added more nearbyint tests.
16339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16340 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16342 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16344 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16346 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16349 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16351 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16352 Add wcscpy-ssse3 wcscpy-c.
16353 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16354 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16355 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16356 * sysdeps/x86_64/wcschr.S: New file.
16357 * sysdeps/x86_64/wcsrchr.S: New file.
16358 * string/test-strcmp.c: Remove checking of wcscmp function for
16360 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16361 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16362 wcsrchr-sse2 wcsrchr-c.
16363 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16364 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16365 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16366 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16367 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16368 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16369 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16370 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16371 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16372 * wcsmbc/wcschr.c (WCSCHR): New macro.
16374 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16376 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16377 * wcsmbs/test-wcsrchr.c: New file.
16378 * string/test-strrchr.c: Add wcsrchr support.
16380 * wcsmbs/test-wcscpy.c: New file.
16381 * string/test-strcpy.c: Add wcscpy support.
16384 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16389 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16392 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16394 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16396 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16397 Minor optimizations.
16399 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16400 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16401 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16403 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16405 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16406 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16407 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16408 for gcc to avoid warnings.
16409 * inet/Makefile (tests): Add tst-checks.
16410 * inet/tst-checks.c: New file.
16412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16415 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16418 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16419 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16421 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16423 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16425 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16428 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16430 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16433 conditional on GCC version.
16434 (__arch_compare_and_exchange_val_8_acq)
16435 (__arch_compare_and_exchange_val_16_acq)
16436 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16437 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16438 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16440 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16442 * sysdeps/sh/backtrace.c: New file.
16444 2011-12-02 Andreas Schwab <schwab@redhat.com>
16446 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16449 2011-12-01 Andreas Schwab <schwab@redhat.com>
16451 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16452 falling back to utime.
16454 2011-11-30 Andreas Schwab <schwab@redhat.com>
16456 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16457 expectations for float.
16459 2011-11-29 Andreas Schwab <schwab@redhat.com>
16461 * locale/weight.h (findidx): Add parameter len.
16462 * locale/weightwc.h (findidx): Likewise.
16463 * posix/fnmatch_loop.c (FCT): Adjust caller.
16464 * posix/regcomp.c (build_equiv_class): Likewise.
16465 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16466 * posix/regexec.c (check_node_accept_bytes): Likewise.
16467 * string/strcoll_l.c (STRCOLL): Likewise.
16468 * string/strxfrm_l.c (STRXFRM): Likewise.
16470 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16472 * Makefile.in: Remove CVSOPT handling.
16473 * configure.in: Remove use of AC_REVISION.
16474 * iconvdata/Makefile (distribute): No need to filter out CVS.
16475 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16478 2011-11-16 Andreas Schwab <schwab@redhat.com>
16480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16481 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16482 [USE_AS_STRNCASECMP_L]: Likewise.
16483 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16484 NO_TLS_DIRECT_SEG_REFS.
16485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16486 Fix argument offsets for non-PIC.
16487 [USE_AS_STRNCASECMP_L]: Likewise.
16488 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16489 NO_TLS_DIRECT_SEG_REFS.
16491 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16493 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16495 * locale/loadlocale.c (_nl_load_locale): Likewise.
16497 2011-11-15 Andreas Schwab <schwab@redhat.com>
16499 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16500 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16502 (SYSCALL_GETTIME): Set errno on error.
16504 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16505 count references to noai6ai_cached.
16507 2011-11-15 Ulrich Drepper <drepper@gmail.com>
16509 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16511 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16512 FD_CLOEXEC for /proc/self/maps.
16514 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16515 FD_CLOEXEC for /proc/meminfo.
16517 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16520 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16521 FD_CLOEXEC for given file.
16523 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16525 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16526 FD_CLOEXEC for /etc/hosts.
16527 (_gethtent): Likewise.
16529 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16531 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16532 cancellation and set FD_CLOEXEC for /etc/netgroup.
16534 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16535 reading /etc/publickey.
16537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16538 allow cancellation when reading /etc/group.
16540 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16542 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16544 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16545 when using data file.
16547 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16549 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16550 (write_nis_obj): Use "c" and "e" in fopen.
16552 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16554 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16556 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16558 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16560 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16563 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16565 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16567 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16569 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16570 file parsing and set FD_CLOEXEC.
16572 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16574 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16576 2011-11-14 Andreas Schwab <schwab@redhat.com>
16578 * malloc/arena.c (arena_get2): Don't call reused_arena when
16579 _int_new_arena failed.
16581 2011-11-14 Ulrich Drepper <drepper@gmail.com>
16583 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16584 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16586 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16589 to compile strcasecmp and strncasecmp.
16590 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16591 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16595 2011-11-13 Ulrich Drepper <drepper@gmail.com>
16597 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16598 locale-defines.sym to gen-as-const-headers.
16599 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16600 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16602 to compile strcasecmp and strncasecmp.
16603 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16604 strcasecmp_l and strncasecmp_l.
16605 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16606 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16607 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16608 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16609 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16610 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16611 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16612 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16613 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16614 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16615 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16617 2011-11-12 Ulrich Drepper <drepper@gmail.com>
16619 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16620 result of SYSDEP_GETTIME_CPU to retval.
16621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16622 parameter list to macro. Remove trailing semicolon. Adjust users.
16624 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16627 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16629 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16632 from unused variable.
16634 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16636 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16639 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16642 * sunrpc/rpc_prot.c (rejected): Fix case value.
16644 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16645 unsigned long long int to avoid warnings in shift.
16647 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16649 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16652 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16653 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16654 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16656 * nis/nis_table.c (nis_list): Use variable of correct type for
16657 result of __follow_path call.
16659 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16661 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16662 of math functions ceil, trunc, floor, round, and sqrt, when
16663 avaliable on the platform.
16664 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16666 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16667 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16668 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16670 2011-10-30 Marek Polacek <mpolacek@redhat.com>
16672 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16675 2011-11-11 Roland McGrath <roland@hack.frob.com>
16677 * include/unistd.h: Fix __readlink return type.
16678 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16680 2011-11-11 Ulrich Drepper <drepper@gmail.com>
16682 * stdlib/ucontext.h: Undo last change for makecontext.
16684 2011-11-11 Andreas Schwab <schwab@redhat.com>
16686 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16688 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16689 * setjmp/setjmp.h: Mark functions as non-leaf.
16690 * setjmp/bits/setjmp2.h: Likewise.
16691 * stdlib/ucontext.h: Likewise.
16693 2011-11-10 Andreas Schwab <schwab@redhat.com>
16695 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16696 (reused_arena): Don't check arena limit.
16697 (arena_get2): Atomically check arena limit.
16699 2011-11-08 Ulrich Drepper <drepper@gmail.com>
16701 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16702 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16707 2011-11-07 Andreas Schwab <schwab@redhat.com>
16709 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16710 handler when locking.
16712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16713 Fix size of allocated buffer.
16715 2011-11-04 Andreas Schwab <schwab@redhat.com>
16718 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16719 declarations for long double functions.
16720 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16722 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16724 2011-11-03 Andreas Schwab <schwab@redhat.com>
16726 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16729 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16732 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16734 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16736 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16738 * include/alloca.h (stackinfo_alloca_round): Define.
16739 (extend_alloca): Use it.
16740 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16741 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16744 * scripts/check-local-headers.sh: Ignore libaudit.h.
16746 * nscd/Makefile (extra-objs): Make recursively expanded.
16748 2011-11-01 Ulrich Drepper <drepper@gmail.com>
16750 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16751 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16753 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16754 * posix/tst-rfc3484-2.c: Likewise.
16755 * posix/tst-rfc3484-3.c: Likewise.
16757 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16759 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16761 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16762 process_vm_writev from libc using GLIBC_2.15 version.
16764 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16766 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16768 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16771 2011-10-31 Ulrich Drepper <drepper@gmail.com>
16774 * nss/getent.c (initgroups_keys): Show error message in case no group
16777 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16778 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16779 __bump_nl_timestamp.
16780 * nscd/connections (nscd_init): When host database is served open
16781 netlink socket and request notification about configuration changes.
16782 (main_loop_poll): Track netlink file descriptor and bump timestamp
16783 in case data becomes available.
16784 (main_loop_epoll): Likewise.
16785 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16786 (database_pers_head): Add extra_data fileds.
16787 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16788 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16789 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16792 in6ai data, call __free_in6ai.
16793 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16794 Add -DHAVE_NETLINK.
16795 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16796 interface information. Reuse previous data if netlink timestamp
16798 (__bump_nl_timestamp): New function.
16799 (__free_in6ai): New function.
16801 2011-10-30 Ulrich Drepper <drepper@gmail.com>
16803 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16804 close_not_cancel_no_status here.
16805 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16807 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16810 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16813 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
16814 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16815 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16817 2011-07-03 Andreas Jaeger <aj@suse.de>
16820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16821 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16822 * math/libm-test.inc (sin_test): Add test case.
16824 2011-10-29 Ulrich Drepper <drepper@gmail.com>
16827 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16828 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16830 * elf/chroot_canon.c (chroot_canon): Cleanups.
16832 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16835 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16838 * string/test-strchr.c: Make usable for strchrnul testing.
16839 * string/test-strchrnul.c: New file.
16840 * string/Makefile (strop-tests): Add strchrnul.
16842 * po/it.po: Update from translation team.
16843 * po/es.po: Likewise.
16845 2011-10-28 Ulrich Drepper <drepper@gmail.com>
16847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16848 the three constants needed as parameters. Drop the others.
16849 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16850 __m128i_strloadu_tolower.
16851 Create and initialize variable zero and use it in all the places
16852 where _mm_setzero_si128 was used.
16854 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16855 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16856 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16859 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16860 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16861 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16862 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16864 __mpranred, __mptan.
16865 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16866 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16867 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16868 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16873 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16875 2011-10-28 Andreas Schwab <schwab@redhat.com>
16877 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16878 redefine if SHARED.
16879 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16882 wide char related routines to wcsmbs subdir.
16884 2011-10-27 Andreas Schwab <schwab@redhat.com>
16887 * misc/sys/cdefs.h (__THROWNL): Define.
16888 * posix/unistd.h: Use __THREADNL instead of __THREAD
16889 for memory synchronization functions.
16891 2011-10-26 Roland McGrath <roland@hack.frob.com>
16894 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16896 * manual/stdio.texi (Obstack Streams): Node removed.
16898 2011-10-26 Andreas Schwab <schwab@redhat.com>
16900 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16904 * math/math_private.h (math_force_eval): Allow non-addressable
16906 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16908 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16910 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16911 file is not needed.
16913 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16920 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16922 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16923 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16924 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16925 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16926 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16927 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16928 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16930 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16931 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16932 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16933 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16936 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16937 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16938 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16939 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16940 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16942 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16943 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16946 place. Use VEX encoding when compiling for AVX.
16948 2011-10-25 Andreas Schwab <schwab@redhat.com>
16950 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16951 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16953 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16955 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16957 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
16958 useless if() expression.
16959 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16968 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16969 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16971 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16973 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16977 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16979 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16981 2011-10-25 Andreas Schwab <schwab@redhat.com>
16983 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16985 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16987 2011-10-25 Ulrich Drepper <drepper@gmail.com>
16989 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16990 .text section. Avoid duplicate constants.
16991 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17001 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17003 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17006 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17018 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17021 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17031 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17033 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17034 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17035 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17037 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17039 * sysdeps/x86_64/dla.h: Move to ...
17040 * sysdeps/x86_64/fpu/dla.h: ...here.
17041 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17042 situations. Use __builtin_fma only for gcc 4.6 and up.
17044 * config.make.in: Add have-mfma4 entry.
17045 * configure.in: Substitute libc_cv_cc_fma4.
17046 * math/Makefile (dbl-only-routines): Add sincostab.
17047 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17048 Use __sincostab not sincos.
17049 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17056 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17057 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17058 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17059 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17062 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17064 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17065 define aliases when function name is a macro.
17066 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17067 sysdeps/ieee754/dbl-64/sincos.tbl.
17068 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17069 fma4-enabled routines.
17070 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17072 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17075 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17078 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17080 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17081 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17082 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17083 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17085 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17086 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17087 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17088 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17090 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17091 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17092 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17097 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17098 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17099 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17101 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17112 2011-10-24 Andreas Schwab <schwab@redhat.com>
17114 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17116 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17120 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17122 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17124 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17125 Remove unused variable magic_bits.
17126 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17128 * string/strnlen.c: Define and use STRNLEN macro.
17129 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17130 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17132 * wcsmbs/wcslen.c: Define and use WCSLEN.
17133 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17134 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17135 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17136 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17137 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17138 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17139 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17141 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17144 strnlen-sse2-no-bsf.
17145 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17147 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17148 Add strnlen support.
17149 (USE_AS_STRNLEN): New macro.
17150 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17151 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17152 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17153 * sysdeps/x86_64/wcslen.S: New file.
17155 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17158 XMM-moves are used for copying on small sizes.
17160 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17162 * wcsmbs/Makefile (strop-tests): Add wcschr.
17163 * wcsmbs/test-wcschr.c: New file.
17164 * string/test-strchr.c: Update.
17165 Add wcschr support.
17168 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17170 * wcsmbs/Makefile (strop-tests): Add wcslen.
17171 * wcsmbs/test-wcslen.c: New file.
17172 * string/test-strlen.c: Update.
17173 Add wcslen support.
17176 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17178 * po/it.po: Update from translation team.
17180 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17182 * sysdeps/x86_64/wcscmp.S: Update.
17183 Fix wrong comparison semantics.
17184 wcscmp shall use signed comparison not unsigned.
17185 Don't use substraction to avoid overflow bug.
17186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17187 * wcsmbc/wcscmp.c: Likewise.
17188 * string/test-strcmp.c: Likewise.
17189 Add new tests to check cases with negative values.
17191 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17193 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17194 * sysdeps/x86_64/dla.h: ...here. New file.
17195 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17196 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17205 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17208 __ynl_finite aliases.
17210 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17214 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17216 [DLA_FMA] (EMULV): Use DLA_FMA.
17217 [DLA_FMA] (MUL12): Use EMULV.
17218 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17219 that are not needed.
17220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17226 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17228 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17230 * math/s_nan.c: Undef __nan.
17231 * math/s_nanf.c: Undef __nanf.
17232 * math/s_nanl.c: Undef __nanl.
17233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17236 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17238 * math/s_catan.c: Add branch predictions.
17239 * math/s_catanf.c: Likewise.
17240 * math/s_catanh.c: Likewise.
17241 * math/s_catanhf.c: Likewise.
17242 * math/s_catanhl.c: Likewise.
17243 * math/s_catanl.c: Likewise.
17244 * math/s_cexp.c: Likewise.
17245 * math/s_cexpf.c: Likewise.
17246 * math/s_cexpl.c: Likewise.
17247 * math/s_clog.c: Likewise.
17248 * math/s_clog10.c: Likewise.
17249 * math/s_clog10f.c: Likewise.
17250 * math/s_clog10l.c: Likewise.
17251 * math/s_clogf.c: Likewise.
17252 * math/s_clogl.c: Likewise.
17253 * math/s_csqrt.c: Likewise.
17254 * math/s_csqrtf.c: Likewise.
17255 * math/s_csqrtl.c: Likewise.
17256 * math/s_ctanf.c: Likewise.
17257 * math/s_ctanh.c: Likewise.
17258 * math/s_ctanhf.c: Likewise.
17259 * math/s_ctanhl.c: Likewise.
17260 * math/s_ctanl.c: Likewise.
17262 * math/math_private.h: Define __nan, __nanf, __nanl.
17263 * math/s_cacosh.c: Include <math_private.h>.
17264 * math/s_cacoshl.c: Likewise.
17265 * math/s_casinh.c: Likewise.
17266 * math/s_casinhf.c: Likewise.
17267 * math/s_casinhl.c: Likewise.
17268 * math/s_ccos.c: Rely entire on ccosh.
17269 * math/s_ccosf.c: Rely entire on ccoshf.
17270 * math/s_ccosl.c: Rely entirely on ccoshl.
17271 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17272 Remove tests for FE_INVALID.
17273 * math/s_ccoshf.c: Likewise.
17274 * math/s_ccoshl.c: Likewise.
17275 * math/s_csin.c: Likewise.
17276 * math/s_csinf.c: Likewise.
17277 * math/s_csinh.c Likewise.
17278 * math/s_csinhf.c: Likewise.
17279 * math/s_csinhl.c: Likewise.
17280 * math/s_csinl.c: Likewise.
17281 * math/s_ctan.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17283 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17284 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17286 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17289 compilation problems.
17291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17294 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17296 * sysdeps/i386/configure.in: Test for -mfma4 option.
17297 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17298 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17299 COMMON_CPUID_INDEX_80000001.
17300 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17301 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17302 use it if FMA3 is not supported.
17303 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17305 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17306 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17308 2011-10-20 Andreas Schwab <schwab@redhat.com>
17311 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17312 it would create a cycle with a link time dependency.
17314 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17316 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17318 * string/Makefile (strop-tests): Add rawmemchr.
17319 * string/test-rawmemchr.c: New file.
17321 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17322 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17323 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17324 when compiling str{,n}casecmp and when AVX is available. Hook up
17325 new optimized code in initializers.
17327 2011-10-19 Andreas Schwab <schwab@redhat.com>
17329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17330 __feraiseexcept instead of feraiseexcept.
17332 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17334 * math/math_private.h: Define defaults for libc_fetestexcept and
17336 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17337 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17339 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17341 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17342 libc_fetestexcept and libc_feupdateenv.
17344 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17345 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17346 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17347 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17348 libc_feholdexcept_setround.
17350 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17351 Add s_nearbyint-c and s_nearbyintf-c.
17352 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17353 nearbyintf inlines.
17354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17355 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17357 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17359 * math/math_private.h: Define defaults for libc_fegetround,
17360 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17361 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17362 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17364 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17365 standard functions.
17366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17367 Remove comments and hacks for old compiler versions.
17368 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17369 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17370 libc_feholdexceptl.
17372 2011-10-18 Andreas Schwab <schwab@redhat.com>
17374 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17375 (__feraiseexcept_renamed): Add __NTH.
17376 (feraiseexcept): Add __NTH. Rename local variables to fix
17377 namespace violations.
17379 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17383 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17385 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17386 recently added interfaces.
17387 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17389 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17390 about macro parameter expansion.
17392 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17393 __NO_MATH_INLINES is defined. Cleanups.
17395 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17396 and __floorf is target has SSE4.1.
17397 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17399 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17400 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17402 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17404 (floorf): Likewise.
17406 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17408 2011-10-17 Andreas Schwab <schwab@redhat.com>
17410 * misc/sys/cdefs.h: Fix last change.
17412 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17415 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17417 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17419 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17425 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17428 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17429 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17430 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17431 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17432 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17433 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17434 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17435 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17436 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17438 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17439 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17440 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17442 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17443 ceil, ceilf, floor, floorf.
17445 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17446 Perform IRELATIVE relocations last.
17448 * elf/do-rel.h: Add another parameter nrelative, replacing the
17449 local variable with the same name. Change name of the function
17450 to end in Rel or Rela (uppercase).
17451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17452 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17453 elf_dynamic_do_##reloc function.
17455 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17457 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17458 is sufficient, at least on modern CPUs.
17460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17462 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17465 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17467 * math/bits/math-finite.h: Add entries for exp.
17468 * math/e_expl.c: Add __*_finite alias.
17469 * sysdeps/i386/fpu/e_exp.S: Likewise.
17470 * sysdeps/i386/fpu/e_expf.S: Likewise.
17471 * sysdeps/i386/fpu/e_expl.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17473 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17477 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17478 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17480 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17481 is sufficient, at least on modern CPUs.
17483 * ctype/ctype-info.c (__ctype_init): Define.
17484 * include/ctype.h (__ctype_init): Declare.
17485 (__ctype_b_loc): The variable is always initialized.
17486 (__ctype_toupper_loc): Likewise.
17487 (__ctype_tolower_loc): Likewise.
17488 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17489 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17491 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17493 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17495 * configure.in: Also look in $cxxmachine/include for C++ system
17498 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17500 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17501 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17502 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17503 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17505 (USE_AS_WMEMCMP): New macro.
17507 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17508 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17509 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17510 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17512 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17513 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17514 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17515 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17516 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17518 (USE_AS_WMEMCMP): New macro.
17519 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17520 * sysdeps/string/test-memcmp.c: Update.
17521 Fix simple_wmemcmp.
17523 * wcsmbs/wmemcmp.c: Update.
17524 (WMEMCMP): New macro.
17527 2011-10-12 Andreas Jaeger <aj@suse.de>
17530 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17532 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17534 * libio/iofwide.c (do_length): Avoid warning.
17536 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17538 2011-10-14 Ulrich Drepper <drepper@gmail.com>
17540 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17542 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17543 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17544 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17545 * sysdeps/i386/i686/fpu/e_log.S: New file.
17546 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17547 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17549 * ctype/ctype.h: Add support for inlined isXXX functions when
17550 compiling C++ code.
17552 2011-10-14 Andreas Schwab <schwab@redhat.com>
17554 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17556 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17558 2011-10-13 Roland McGrath <roland@hack.frob.com>
17561 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17563 2011-10-13 Andreas Schwab <schwab@redhat.com>
17565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17566 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17569 * sysdeps/x86_64/memrchr.S: Check for zero size.
17571 * string/stratcliff.c: Add memrchr tests.
17573 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17576 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17577 rawmemchr-sse2 rawmemchr-sse2-bsf.
17578 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17579 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17581 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17582 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17583 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17584 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17585 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17587 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17588 * string/memrchr.c (MEMRCHR): New macro.
17590 2011-10-12 Ulrich Drepper <drepper@gmail.com>
17592 Add integration with gcc's -ffinite-math-only and optimize wrapper
17594 * Versions.def: Define GLIBC_2.15 version for libm.
17595 * math/Makefile (headers): Add bits/math-finite.h.
17596 * math/bits/math-finite.h: New file.
17597 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17598 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17599 * math/e_acoshl.c: Add __*_finite alias.
17600 * math/e_acosl.c: Likewise.
17601 * math/e_asinl.c: Likewise.
17602 * math/e_atan2l.c: Likewise.
17603 * math/e_atanhl.c: Likewise.
17604 * math/e_coshl.c: Likewise.
17605 * math/e_exp10.c: Likewise.
17606 * math/e_exp10f.c: Likewise.
17607 * math/e_exp10l.c: Likewise.
17608 * math/e_exp2l.c: Likewise.
17609 * math/e_fmodl.c: Likewise.
17610 * math/e_gammal_r.c: Likewise.
17611 * math/e_hypotl.c: Likewise.
17612 * math/e_j0l.c: Likewise.
17613 * math/e_j1l.c: Likewise.
17614 * math/e_jnl.c: Likewise.
17615 * math/e_lgammal_r.c: Likewise.
17616 * math/e_log10l.c: Likewise.
17617 * math/e_log2l.c: Likewise.
17618 * math/e_logl.c: Likewise.
17619 * math/e_powl.c: Likewise.
17620 * math/e_sinhl.c: Likewise.
17621 * math/e_sqrtl.c: Likewise.
17622 * math/e_scalb.c: Completely rewritten and optimized.
17623 * math/e_scalbf.c: Likewise.
17624 * math/e_scalbl.c: Likewise.
17625 * math/w_acos.c: Likewise.
17626 * math/w_acosf.c: Likewise.
17627 * math/w_acosl.c: Likewise.
17628 * math/w_acosh.c: Likewise.
17629 * math/w_acoshf.c: Likewise.
17630 * math/w_acoshl.c: Likewise.
17631 * math/w_asin.c: Likewise.
17632 * math/w_asinf.c: Likewise.
17633 * math/w_asinl.c: Likewise.
17634 * math/w_atan2.c: Likewise.
17635 * math/w_atan2f.c: Likewise.
17636 * math/w_atan2l.c: Likewise.
17637 * math/w_atanh.c: Likewise.
17638 * math/w_atanhf.c: Likewise.
17639 * math/w_atanhl.c: Likewise.
17640 * math/w_exp10.c: Likewise.
17641 * math/w_exp10f.c: Likewise.
17642 * math/w_exp10l.c: Likewise.
17643 * math/w_fmod.c: Likewise.
17644 * math/w_fmodf.c: Likewise.
17645 * math/w_fmodl.c: Likewise.
17646 * math/w_j0.c: Likewise.
17647 * math/w_j0f.c: Likewise.
17648 * math/w_j0l.c: Likewise.
17649 * math/w_j1.c: Likewise.
17650 * math/w_j1f.c: Likewise.
17651 * math/w_j1l.c: Likewise.
17652 * math/w_jn.c: Likewise.
17653 * math/w_jnf.c: Likewise.
17654 * math/w_log.c: Likewise.
17655 * math/w_logf.c: Likewise.
17656 * math/w_logl.c: Likewise.
17657 * math/w_log10.c: Likewise.
17658 * math/w_log10f.c: Likewise.
17659 * math/w_log10l.c: Likewise.
17660 * math/w_log2.c: Likewise.
17661 * math/w_log2f.c: Likewise.
17662 * math/w_log2l.c: Likewise.
17663 * math/w_pow.c: Likewise.
17664 * math/w_powf.c: Likewise.
17665 * math/w_powl.c: Likewise.
17666 * math/w_remainder.c: Likewise.
17667 * math/w_remainderf.c: Likewise.
17668 * math/w_remainderl.c: Likewise.
17669 * math/w_scalb.c: Likewise.
17670 * math/w_scalbf.c: Likewise.
17671 * math/w_scalbl.c: Likewise.
17672 * math/w_sqrt.c: Likewise.
17673 * math/w_sqrtf.c: Likewise.
17674 * math/w_sqrtl.c: Likewise.
17675 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17676 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17678 * math/math_private.h: Declare __kernel_standard_f.
17679 * math/w_cosh.c: Remove cruft and optimize a bit.
17680 * math/w_coshf.c: Likewise.
17681 * math/w_coshl.c: Likewise.
17682 * math/w_exp2.c: Likewise.
17683 * math/w_exp2f.c: Likewise.
17684 * math/w_exp2l.c: Likewise.
17685 * math/w_hypot.c: Likewise.
17686 * math/w_hypotf.c: Likewise.
17687 * math/w_hypotl.c: Likewise.
17688 * math/w_lgamma.c: Likewise.
17689 * math/w_lgamma_r.c: Likewise.
17690 * math/w_lgammaf.c: Likewise.
17691 * math/w_lgammaf_r.c: Likewise.
17692 * math/w_lgammal.c: Likewise.
17693 * math/w_lgammal_r.c: Likewise.
17694 * math/w_sinh.c: Likewise.
17695 * math/w_sinhf.c: Likewise.
17696 * math/w_sinhl.c: Likewise.
17697 * math/w_tgamma.c: Likewise.
17698 * math/w_tgammaf.c: Likewise.
17699 * math/w_tgammal.c: Likewise.
17700 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17702 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17703 Minor optimizations. Pretty printing. Remove cruft.
17704 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17705 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17706 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17708 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17709 * sysdeps/i386/fpu/e_asin.S: Likewise.
17710 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17711 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17712 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17713 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17714 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17716 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17717 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17718 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17719 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17720 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17721 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17722 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17723 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17724 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17725 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17726 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17727 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17728 * sysdeps/i386/fpu/e_log.S: Likewise.
17729 * sysdeps/i386/fpu/e_log10.S: Likewise.
17730 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17731 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17732 * sysdeps/i386/fpu/e_log2.S: Likewise.
17733 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17734 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17735 * sysdeps/i386/fpu/e_logf.S: Likewise.
17736 * sysdeps/i386/fpu/e_logl.S: Likewise.
17737 * sysdeps/i386/fpu/e_pow.S: Likewise.
17738 * sysdeps/i386/fpu/e_powf.S: Likewise.
17739 * sysdeps/i386/fpu/e_powl.S: Likewise.
17740 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17741 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17742 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17743 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17744 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17746 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17747 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17748 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17770 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17771 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17772 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17773 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17775 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17776 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17777 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17778 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17780 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17781 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17782 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17783 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17784 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17785 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17786 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17787 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17788 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17789 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17791 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17792 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17794 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17799 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17805 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17806 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17840 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17842 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17843 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17844 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17845 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17846 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17847 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17848 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17849 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17850 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17851 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17852 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17857 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17859 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17860 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17861 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17862 (__isnanf): Likewise.
17863 (__isinf_ns): Likewise.
17864 (__isinf_nsf): Likewise.
17865 (__finite): Likewise.
17866 (__finitef): Likewise.
17867 (__ieee754_sqrt): Define as macro.
17868 (__ieee754_sqrtf): Define as macro.
17869 (__ieee754_sqrtl): Define as macro.
17870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17872 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17873 __FINITE_MATH_ONLY__ consistent.
17874 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17876 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17878 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17881 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17883 2011-10-09 Ulrich Drepper <drepper@gmail.com>
17885 * po/ja.po: Update from translation team.
17887 2011-10-08 Roland McGrath <roland@hack.frob.com>
17889 * locale/programs/locarchive.c (prepare_address_space): New function.
17890 (create_archive, enlarge_archive, open_archive): Use it.
17892 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17893 inside [SHARED], where it is used.
17895 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17897 * nss/getent.c (netgroup_keys): Remove unused variable.
17898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17900 2011-10-08 Ulrich Drepper <drepper@gmail.com>
17902 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17905 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17906 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17907 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17908 * math/Makefile (libm-calls): Add s_isinf_ns.
17909 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17910 * math/multc3.c: Likewise.
17911 * math/s_casin.c: Likewise.
17912 * math/s_casinf.c: Likewise.
17913 * math/s_casinl.c: Likewise.
17914 * math/s_ccos.c: Likewise.
17915 * math/s_ccosf.c: Likewise.
17916 * math/s_ccosl.c: Likewise.
17917 * math/s_ctan.c: Likewise.
17918 * math/s_ctanf.c: Likewise.
17919 * math/s_ctanh.c: Likewise.
17920 * math/s_ctanhf.c: Likewise.
17921 * math/s_ctanhl.c: Likewise.
17922 * math/s_ctanl.c: Likewise.
17923 * math/w_fmod.c: Likewise.
17924 * math/w_fmodf.c: Likewise.
17925 * math/w_fmodl.c: Likewise.
17926 * math/w_remainder.c: Likewise.
17927 * math/w_remainderf.c: Likewise.
17928 * math/w_remainderl.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17930 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17933 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17934 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17935 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17936 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17938 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17940 * stdio-common/printf_fphex.c: Likewise.
17941 * stdio-common/printf_size.c: Likewise.
17943 * math/e_exp10.c: Include math_private.h using <...> not "...".
17944 * math/e_exp10f.c: Likewise.
17945 * math/e_exp10l.c: Likewise.
17946 * math/e_exp2l.c: Likewise.
17947 * math/e_j0l.c: Likewise.
17948 * math/e_j1l.c: Likewise.
17949 * math/e_jnl.c: Likewise.
17950 * math/e_lgammal_r.c: Likewise.
17951 * math/e_rem_pio2l.c: Likewise.
17952 * math/e_scalb.c: Likewise.
17953 * math/e_scalbf.c: Likewise.
17954 * math/e_scalbl.c: Likewise.
17955 * math/k_cosl.c: Likewise.
17956 * math/k_sinl.c: Likewise.
17957 * math/k_tanl.c: Likewise.
17958 * math/s_cacoshf.c: Likewise.
17959 * math/s_catan.c: Likewise.
17960 * math/s_catanf.c: Likewise.
17961 * math/s_catanh.c: Likewise.
17962 * math/s_catanhf.c: Likewise.
17963 * math/s_catanhl.c: Likewise.
17964 * math/s_catanl.c: Likewise.
17965 * math/s_ccosh.c: Likewise.
17966 * math/s_ccoshf.c: Likewise.
17967 * math/s_ccoshl.c: Likewise.
17968 * math/s_cexp.c: Likewise.
17969 * math/s_cexpf.c: Likewise.
17970 * math/s_cexpl.c: Likewise.
17971 * math/s_clog.c: Likewise.
17972 * math/s_clog10.c: Likewise.
17973 * math/s_clog10f.c: Likewise.
17974 * math/s_clog10l.c: Likewise.
17975 * math/s_clogf.c: Likewise.
17976 * math/s_clogl.c: Likewise.
17977 * math/s_csin.c: Likewise.
17978 * math/s_csinf.c: Likewise.
17979 * math/s_csinh.c: Likewise.
17980 * math/s_csinhf.c: Likewise.
17981 * math/s_csinhl.c: Likewise.
17982 * math/s_csinl.c: Likewise.
17983 * math/s_csqrt.c: Likewise.
17984 * math/s_csqrtf.c: Likewise.
17985 * math/s_csqrtl.c: Likewise.
17986 * math/s_ctan.c: Likewise.
17987 * math/s_ctanf.c: Likewise.
17988 * math/s_ctanh.c: Likewise.
17989 * math/s_ctanhf.c: Likewise.
17990 * math/s_ctanhl.c: Likewise.
17991 * math/s_ctanl.c: Likewise.
17992 * math/s_ldexp.c: Likewise.
17993 * math/s_ldexpf.c: Likewise.
17994 * math/s_ldexpl.c: Likewise.
17995 * math/s_significand.c: Likewise.
17996 * math/s_significandf.c: Likewise.
17997 * math/s_significandl.c: Likewise.
17998 * math/w_acos.c: Likewise.
17999 * math/w_acosf.c: Likewise.
18000 * math/w_acosh.c: Likewise.
18001 * math/w_acoshf.c: Likewise.
18002 * math/w_acoshl.c: Likewise.
18003 * math/w_acosl.c: Likewise.
18004 * math/w_asin.c: Likewise.
18005 * math/w_asinf.c: Likewise.
18006 * math/w_asinl.c: Likewise.
18007 * math/w_atan2.c: Likewise.
18008 * math/w_atan2f.c: Likewise.
18009 * math/w_atan2l.c: Likewise.
18010 * math/w_atanh.c: Likewise.
18011 * math/w_atanhf.c: Likewise.
18012 * math/w_atanhl.c: Likewise.
18013 * math/w_cosh.c: Likewise.
18014 * math/w_coshf.c: Likewise.
18015 * math/w_coshl.c: Likewise.
18016 * math/w_dremf.c: Likewise.
18017 * math/w_exp10.c: Likewise.
18018 * math/w_exp10f.c: Likewise.
18019 * math/w_exp10l.c: Likewise.
18020 * math/w_exp2.c: Likewise.
18021 * math/w_exp2f.c: Likewise.
18022 * math/w_fmod.c: Likewise.
18023 * math/w_fmodf.c: Likewise.
18024 * math/w_fmodl.c: Likewise.
18025 * math/w_hypot.c: Likewise.
18026 * math/w_hypotf.c: Likewise.
18027 * math/w_hypotl.c: Likewise.
18028 * math/w_j0.c: Likewise.
18029 * math/w_j0f.c: Likewise.
18030 * math/w_j0l.c: Likewise.
18031 * math/w_j1.c: Likewise.
18032 * math/w_j1f.c: Likewise.
18033 * math/w_j1l.c: Likewise.
18034 * math/w_jn.c: Likewise.
18035 * math/w_jnf.c: Likewise.
18036 * math/w_jnl.c: Likewise.
18037 * math/w_lgamma.c: Likewise.
18038 * math/w_lgamma_r.c: Likewise.
18039 * math/w_lgammaf.c: Likewise.
18040 * math/w_lgammaf_r.c: Likewise.
18041 * math/w_lgammal.c: Likewise.
18042 * math/w_lgammal_r.c: Likewise.
18043 * math/w_log.c: Likewise.
18044 * math/w_log10.c: Likewise.
18045 * math/w_log10f.c: Likewise.
18046 * math/w_log10l.c: Likewise.
18047 * math/w_log2.c: Likewise.
18048 * math/w_log2f.c: Likewise.
18049 * math/w_log2l.c: Likewise.
18050 * math/w_logf.c: Likewise.
18051 * math/w_logl.c: Likewise.
18052 * math/w_pow.c: Likewise.
18053 * math/w_powf.c: Likewise.
18054 * math/w_powl.c: Likewise.
18055 * math/w_remainder.c: Likewise.
18056 * math/w_remainderf.c: Likewise.
18057 * math/w_remainderl.c: Likewise.
18058 * math/w_scalb.c: Likewise.
18059 * math/w_scalbf.c: Likewise.
18060 * math/w_scalbl.c: Likewise.
18061 * math/w_sinh.c: Likewise.
18062 * math/w_sinhf.c: Likewise.
18063 * math/w_sinhl.c: Likewise.
18064 * math/w_sqrt.c: Likewise.
18065 * math/w_sqrtf.c: Likewise.
18066 * math/w_sqrtl.c: Likewise.
18067 * math/w_tgamma.c: Likewise.
18068 * math/w_tgammaf.c: Likewise.
18069 * math/w_tgammal.c: Likewise.
18071 * po/ja.po: Update from translation team.
18073 2011-09-29 Andreas Jaeger <aj@suse.de>
18076 * sunrpc/netname.c (netname2host): Fix logic.
18080 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18082 * math/w_remainder.c (__remainder): Likewise.
18083 * math/w_remainderf.c (__remainderf): Likewise.
18084 * math/libm-test.inc (remainder_test): Add test cases.
18086 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18088 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18091 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18093 * string/test-memcmp.c: Avoid unncessary #defines.
18094 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18096 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18098 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18099 Use new sse2 version for core i3 - i7 as it's faster
18100 than sse42 version.
18101 (bit_Prefer_PMINUB_for_stringop): New.
18102 * sysdeps/x86_64/rawmemchr.S: Update.
18103 Replace with faster SSE2 version.
18104 * sysdeps/x86_64/memrchr.S: New file.
18105 * sysdeps/x86_64/memchr.S: Update.
18106 Replace with faster SSE2 version.
18108 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18110 * elf/dl-load.c (lose): Add cast to avoid warning.
18112 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18114 * po/ca.po: Update from translation team.
18116 * inet/getnetgrent_r.c: Hook up nscd.
18117 * nscd/Makefile (routines): Add nscd_netgroup.
18118 (nscd-modules): Add netgroupcache.
18119 (CFLAGS-netgroupcache.c): Define.
18120 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18121 (cache_search): Add const to second parameter.
18122 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18124 (dbs): Add netgrdb entry.
18125 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18126 (verify_persistent_db): Handle netgrdb.
18127 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18128 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18130 (netgroup_response_header): Define.
18131 (innetgroup_response_header): Define.
18132 (datahead): Add netgroup_response_header and innetgroup_response_header
18134 * nscd/nscd.conf: Add entries for netgroup cache.
18135 * nscd/nscd.h (dbtype): Add netgrdb.
18136 (_PATH_NSCD_NETGROUP_DB): Define.
18137 (netgroup_iov_disabled): Declare.
18138 (xmalloc, xcalloc, xrealloc): Move declarations here.
18139 (cache_search): Adjust prototype.
18140 Add netgroup-related prototypes.
18141 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18142 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18143 (__nscd_innetgr): Declare.
18144 * nscd/selinux.c (perms): Use access_vector_t as element type and
18145 add netgroup-related initializers.
18146 * nscd/netgroupcache.c: New file.
18147 * nscd/nscd_netgroup.c: New file.
18148 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18149 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18150 For four parameters use innetgr.
18151 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18152 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18153 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18154 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18156 * nscd/connections.c (register_traced_file): Don't register file
18157 for disabled databases.
18159 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18161 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18163 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18164 from tree and freeing node.
18166 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18168 * nss/nsswitch.c (__nss_database_lookup): Handle
18169 nss_parse_service_list out of memory case.
18171 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18173 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18174 out of memory case.
18176 2011-10-04 Andreas Schwab <schwab@redhat.com>
18178 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18179 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18181 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18182 elf_machine_rela, elf_machine_lazy_rel.
18183 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18184 (ELF_DYNAMIC_DO_REL): Likewise.
18185 (ELF_DYNAMIC_DO_RELA): Likewise.
18186 (ELF_DYNAMIC_RELOCATE): Likewise.
18187 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18188 to ELF_DYNAMIC_DO_REL.
18189 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18190 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18191 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18194 skip_ifunc, don't call ifunc function if non-zero.
18195 (elf_machine_rela): Likewise.
18196 (elf_machine_lazy_rel): Likewise.
18197 (elf_machine_lazy_rela): Likewise.
18198 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18199 (elf_machine_lazy_rel): Likewise.
18200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18202 (elf_machine_lazy_rel): Likewise.
18203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18205 (elf_machine_lazy_rel): Likewise.
18206 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18207 (elf_machine_lazy_rel): Likewise.
18208 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18209 (elf_machine_lazy_rel): Likewise.
18210 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18211 (elf_machine_lazy_rel): Likewise.
18212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18213 (elf_machine_lazy_rel): Likewise.
18214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18215 (elf_machine_lazy_rel): Likewise.
18216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18217 (elf_machine_lazy_rel): Likewise.
18219 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18221 * nss/nss_files/files-init.c (_nss_files_init): Use static
18222 initialization for all the *_traced_file variables.
18224 2011-09-28 Andreas Schwab <schwab@redhat.com>
18226 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18228 2011-09-27 Roland McGrath <roland@hack.frob.com>
18231 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18233 2011-09-27 Andreas Schwab <schwab@redhat.com>
18235 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18236 Reread the line before reparsing it.
18238 2011-09-26 Andreas Schwab <schwab@redhat.com>
18240 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18242 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18243 Maxim Kuvyrkov <maxim@codesourcery.com>
18244 Joseph Myers <joseph@codesourcery.com>
18246 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18247 if needed for __stack_chk_guard.
18249 2011-09-19 Roland McGrath <roland@hack.frob.com>
18251 * sysdeps/posix/spawni.c (script_execute): Always define it.
18252 It will be optimized away if unused.
18253 (maybe_script_execute): New function.
18254 (__spawni): Call it.
18256 * Makerules: Don't include tls.make.
18257 (config-tls): Always set to thread.
18258 * tls.make.c: File removed.
18260 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18262 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18263 * config.make.in (CPPFLAGS-config): New substituted variable.
18265 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18267 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18270 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18271 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18273 2011-09-15 Roland McGrath <roland@hack.frob.com>
18275 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18276 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18278 (CALL_FAIL): Likewise.
18279 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18280 (CALL_FAIL): Macro removed.
18281 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18283 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18285 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18286 for __FINITE_MATH_ONLY__ == 1.
18288 2011-09-15 Andreas Schwab <schwab@redhat.com>
18290 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18291 __ieee754_sqrt instead of sqrt.
18292 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18293 __ieee754_sqrtf instead of sqrtf.
18294 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18295 __floorf instead of floorf.
18296 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18297 __floorf, __truncf instead of floorf, truncf.
18299 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18301 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18303 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18304 __extern_always_inline.
18305 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18308 2011-09-14 Andreas Schwab <schwab@redhat.com>
18310 * elf/rtld.c (dl_main): Also relocate in dependency order when
18311 doing symbol dependency testing.
18313 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18316 Always define `refsym'.
18318 2011-09-13 Andreas Schwab <schwab@redhat.com>
18320 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18321 (__FD_ELT): Renamed from __FDELT.
18322 * misc/bits/select2.h (__FD_ELT): Likewise.
18323 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18324 __FD_MASK instead of __FDELT, __FDMASK.
18325 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18327 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18330 * elf/Makefile (gen-ldd): Fix pattern.
18332 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18333 (init_tls): Likewise.
18335 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18339 2011-09-12 Andreas Schwab <schwab@redhat.com>
18341 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18342 `struct cmsghdr *' instead of `void *'.
18343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18346 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18348 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18350 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18351 ldd_rewrite_script.
18353 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18355 * configure.in: Remove --with-tls option.
18356 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18357 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18358 out in case it is missing.
18359 * sysdeps/ia64/elf/configure.in: Likewise.
18360 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18361 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18362 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18363 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18364 * sysdeps/sh/elf/configure.in: Likewise.
18365 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18366 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18367 * sysdeps/x86_64/elf/configure.in: Likewise.
18368 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18369 * sysdeps/mach/hurd/tls.h: Likewise.
18372 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18375 * configure.in: Fix use of AC_INIT.
18377 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18379 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18381 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18383 * malloc/hooks.c: Likewise.
18386 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18387 variables statically.
18388 (narenas): Initialize.
18389 (list_lock): Initialize.
18390 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18391 initializtion of main_arena and list_lock. Small cleanups.
18392 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18393 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18394 Add initializers to main_arena and mp_.
18395 (malloc_state): Remove pagesize member. Change all users to use
18398 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18399 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18400 is always initialized.
18402 * malloc/malloc.c: Removed unused configurations and dead code.
18403 * malloc/arena.c: Likewise.
18404 * malloc/hooks.c: Likewise.
18405 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18407 * include/tls.h: Removed. USE___THREAD must always be defined.
18408 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18409 * elf/dl-libc.c: Likewise.
18410 * elf/dl-tsd.c: Likewise.
18411 * include/errno.h: Likewise.
18412 * include/netdb.h: Likewise.
18413 * include/resolv.h: Likewise.
18414 * inet/herrno-loc.c: Likewise.
18415 * inet/herrno.c: Likewise.
18416 * malloc/arena.c: Likewise.
18417 * malloc/hooks.c: Likewise.
18418 * malloc/malloc.c: Likewise.
18419 * resolv/res-state.c: Likewise.
18420 * resolv/res_libc.c: Likewise.
18421 * sysdeps/i386/dl-machine.h: Likewise.
18422 * sysdeps/ia64/dl-machine.h: Likewise.
18423 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18425 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18426 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18427 * sysdeps/sh/dl-machine.h: Likewise.
18428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18430 * sysdeps/unix/i386/sysdep.S: Likewise.
18431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18432 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18437 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18441 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18442 * sysdeps/x86_64/dl-machine.h: Likewise.
18443 * tls.make.c: Likewise.
18445 * configure.in: Remove --with-__thread option. Make tests for
18446 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18447 tls_model attribute fail if no support is available. Remove
18449 * Makeconfig: Adjust for dropped configure option. All features are
18451 * Makerules: Likewise.
18452 * Versions.def: Likewise.
18453 * argp/argp-fmtstream.c: Likewise.
18454 * argp/argp-fmtstream.h: Likewise.
18455 * argp/argp-help.c: Likewise.
18456 * assert/assert.c: Likewise.
18457 * config.h.in: Likewise.
18458 * config.make.in: Likewise.
18459 * configure: Likewise.
18460 * configure.in: Likewise.
18461 * csu/Versions: Likewise.
18462 * csu/init.c: Likewise.
18463 * elf/tst-audit2.c: Likewise.
18464 * elf/tst-tls10.c: Likewise.
18465 * elf/tst-tls10.h: Likewise.
18466 * elf/tst-tls11.c: Likewise.
18467 * elf/tst-tls12.c: Likewise.
18468 * elf/tst-tls14.c: Likewise.
18469 * elf/tst-tlsmod11.c: Likewise.
18470 * elf/tst-tlsmod12.c: Likewise.
18471 * elf/tst-tlsmod13.c: Likewise.
18472 * elf/tst-tlsmod13a.c: Likewise.
18473 * elf/tst-tlsmod14a.c: Likewise.
18474 * elf/tst-tlsmod15b.c: Likewise.
18475 * elf/tst-tlsmod16a.c: Likewise.
18476 * elf/tst-tlsmod16b.c: Likewise.
18477 * elf/tst-tlsmod7.c: Likewise.
18478 * elf/tst-tlsmod8.c: Likewise.
18479 * elf/tst-tlsmod9.c: Likewise.
18480 * gmon/gmon.c: Likewise.
18481 * grp/fgetgrent_r.c: Likewise.
18482 * grp/putgrent.c: Likewise.
18483 * hurd/fopenport.c: Likewise.
18484 * include/libc-symbols.h: Likewise.
18485 * include/tls.h: Likewise.
18486 * intl/gettextP.h: Likewise.
18487 * intl/loadinfo.h: Likewise.
18488 * locale/global-locale.c: Likewise.
18489 * locale/localeinfo.h: Likewise.
18490 * mach/devstream.c: Likewise.
18491 * malloc/arena.c: Likewise.
18492 * malloc/set-freeres.c: Likewise.
18493 * misc/err.c: Likewise.
18494 * misc/getttyent.c: Likewise.
18495 * misc/mntent_r.c: Likewise.
18496 * posix/getopt.c: Likewise.
18497 * posix/wordexp.c: Likewise.
18498 * pwd/fgetpwent_r.c: Likewise.
18499 * resolv/Versions: Likewise.
18500 * resolv/res_hconf.c: Likewise.
18501 * shadow/fgetspent_r.c: Likewise.
18502 * shadow/putspent.c: Likewise.
18503 * stdio-common/printf_fphex.c: Likewise.
18504 * stdio-common/tmpfile.c: Likewise.
18505 * stdlib/abort.c: Likewise.
18506 * stdlib/fmtmsg.c: Likewise.
18507 * sunrpc/auth_unix.c: Likewise.
18508 * sunrpc/clnt_perr.c: Likewise.
18509 * sunrpc/clnt_tcp.c: Likewise.
18510 * sunrpc/clnt_udp.c: Likewise.
18511 * sunrpc/clnt_unix.c: Likewise.
18512 * sunrpc/openchild.c: Likewise.
18513 * sunrpc/svc_simple.c: Likewise.
18514 * sunrpc/svc_tcp.c: Likewise.
18515 * sunrpc/svc_udp.c: Likewise.
18516 * sunrpc/svc_unix.c: Likewise.
18517 * sunrpc/xdr.c: Likewise.
18518 * sunrpc/xdr_array.c: Likewise.
18519 * sunrpc/xdr_rec.c: Likewise.
18520 * sunrpc/xdr_ref.c: Likewise.
18521 * sunrpc/xdr_stdio.c: Likewise.
18523 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18525 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18527 2011-07-03 Andreas Jaeger <aj@suse.de>
18529 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18531 regenerate with gen-libm-tests.pl.
18533 2010-05-12 Petr Baudis <pasky@suse.cz>
18536 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18537 around j0() zero points by switching to j1().
18538 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18541 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18543 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18545 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18547 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18550 Patch in part by Pavel Roskin <proski@gnu.org>.
18553 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18555 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18556 Free memory block if necessary.
18559 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18560 be NULL. Don't lock in this case.
18562 2011-09-09 Roland McGrath <roland@hack.frob.com>
18564 * elf/elf.h (ELFOSABI_GNU): New macro.
18565 (ELFOSABI_LINUX): Define to that.
18567 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18569 * string/strncat.c (strncat): Undef the symbol in case it has been
18570 defined in bits/string.h.
18572 2011-09-09 Ulrich Drepper <drepper@gmail.com>
18574 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18579 2011-08-17 Andreas Jaeger <aj@suse.de>
18581 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18583 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18584 Ian Lance Taylor <iant@google.com>
18586 * math/libm-test.inc (lround_test): New testcase.
18587 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18589 2011-09-08 Ulrich Drepper <drepper@gmail.com>
18591 * Makefile: Remove support for automatic cvs check-ins.
18592 * Makerules: Likewise.
18593 * config.make.in: Likewise.
18594 * configure.in: Likewise.
18595 * intl/Makefile: Likewise.
18596 * locale/Makefile: Likewise.
18597 * po/Makefile: Likewise.
18598 * posix/Makefile: Likewise.
18599 * sysdeps/gnu/Makefile: Likewise.
18600 * sysdeps/mach/hurd/Makefile: Likewise.
18601 * sysdeps/sparc/sparc32/Makefile: Likewise.
18604 * posix/Makefile (bug-regex32-ENV): Define.
18605 Patch by John Stanley <jpsinthemix@verizon.net>.
18607 * misc/Makefile (headers): Add bits/select2.h.
18608 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18609 * misc/bits/select2.h: New file.
18610 * include/bits/select2.h: New file.
18611 * debug/Makefile (routines): Add fdelt_chk.
18612 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18613 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18615 * debug/fdelt_chk.c: New file.
18617 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18618 * wcsmbs/test-wmemcmp.c: Likewise.
18619 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18620 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18622 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18624 * string/Makefile (strop-tests): Add memcmp.
18625 * string/test-wmemcmp.c: New file.
18626 * string/test-memcmp.c: Add wmemcmp support.
18628 2011-09-08 Roland McGrath <roland@hack.frob.com>
18631 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18634 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18635 garbage value in a __mach_port_mod_refs call in the cases of the
18636 task-self and thread-self ports.
18638 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18640 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18642 2011-09-08 Andreas Schwab <schwab@redhat.com>
18644 * elf/dl-load.c (lose): Check for non-null L.
18646 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18648 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18650 * elf/dl-libc.c (dlerror_run): Pass back error code from
18654 * elf/dl-load.c (lose): Free l_origin if it is valid.
18656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18659 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18660 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18662 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18663 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18665 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18667 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18668 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18670 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18671 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18672 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18673 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18674 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18675 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18676 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18678 2011-08-15 Alan Modra <amodra@gmail.com>
18681 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18682 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18683 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18684 ppc_mcount to static-only-routines.
18685 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18687 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18688 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18690 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18692 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18693 for finite and infinity parameters.
18695 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18698 and add nop instructions for throughput optimization.
18699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18701 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18704 aligned copy for power7 with vector-scalar instructions.
18705 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18707 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18712 2011-09-07 Andreas Schwab <schwab@redhat.com>
18715 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18718 2011-09-07 Ulrich Drepper <drepper@gmail.com>
18720 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18721 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18722 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18723 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18726 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18728 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18729 Forgot to demangle the pointer.
18731 * sysdeps/i386/sysdep.h: Define atom_text_section.
18732 * sysdeps/x86_64/sysdep.h: Likewise.
18733 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18734 section with atom_text_section.
18735 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18736 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18742 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18743 already be defined. Change to take two parameters and don't assign
18744 result to variable. Adjust all users.
18745 Define INTERNAL_GETTIME if not already defined.
18746 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18749 HAVE_CLOCK_GETTIME_VSYSCALL.
18750 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18753 gettimeofday vsyscall, just use time.
18755 2011-09-06 Andreas Schwab <schwab@redhat.com>
18757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18760 2011-09-06 Ulrich Drepper <drepper@gmail.com>
18762 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18766 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18768 syscall if possible.
18770 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18772 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18773 e_ident. Don't pass to find_mapsXX.
18774 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18776 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18779 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18780 * sysdeps/x86_64/multiarch/strchr.S: Update.
18781 Check bit_slow_BSF bit.
18782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18783 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18784 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18786 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18789 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18791 (tryshell): Define.
18792 (__spawni): Change last parameter to be flag. Test
18793 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18794 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18795 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18796 * posix/spawni.c: Likewise.
18797 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18798 * posix/spawnp.c: Likewise. Change normal version to use
18799 SPAWN_XFLAGS_USE_PATH.
18800 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18801 SPAWN_XFLAGS_TRY_SHELL.
18804 * posix/glob.h: Remove gcc 1.x support.
18807 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18809 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18812 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18814 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18815 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18817 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18818 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18821 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18823 * sysdeps/x86_64/wcscmp.S: New file.
18825 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18826 wcscmp-c wcscmp-sse2
18827 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18828 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18829 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18830 * wcsmbs/wcscmp.c: Allow renaming.
18832 2011-09-05 David S. Miller <davem@davemloft.net>
18834 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18835 stack slot, rather than the struct return pointer slot.
18836 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18837 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18839 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18841 2011-09-05 Ulrich Drepper <drepper@gmail.com>
18843 * po/ja.po: Update from translation team.
18846 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18847 kernel in 64-bit binaries.
18849 2011-09-01 David S. Miller <davem@davemloft.net>
18851 * elf/elf.h (HWCAP_SPARC_*): Move to..
18852 * sysdeps/sparc/sysdep.h: this new file and add new values.
18853 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18854 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18855 _DL_HWCAP_COUNT to 24.
18856 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18858 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18859 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18860 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18862 instead of magic constants.
18863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18865 2011-08-31 David S. Miller <davem@davemloft.net>
18867 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18869 Reimplement to do errno handling inline.
18870 (SYSCALL_ERROR_HANDLER): New macro.
18871 (__SYSCALL_STRING): Do not do errno handling in asm.
18872 (__CLONE_SYSCALL_STRING): Delete.
18873 (__INTERNAL_SYSCALL_STRING): Delete.
18874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18875 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18876 (PSEUDO): Reimplement to do errno handling inline.
18877 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18878 (SYSCALL_ERROR_HANDLER): New macro.
18879 (__SYSCALL_STRING): Do not do errno handling in asm.
18880 (__CLONE_SYSCALL_STRING): Delete.
18881 (__INTERNAL_SYSCALL_STRING): Delete.
18882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18883 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18885 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18886 (inline_syscall*): Add 'err' argument.
18887 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18888 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18889 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18890 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18892 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18893 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18895 2011-08-30 Andreas Schwab <schwab@redhat.com>
18897 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18899 2011-08-29 Jiri Olsa <jolsa@redhat.com>
18901 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18904 2011-08-24 David S. Miller <davem@davemloft.net>
18906 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18908 2011-08-24 Andreas Schwab <schwab@redhat.com>
18910 * elf/Makefile: Add rules to build and run unload8 test.
18911 * elf/unload8.c: New file.
18912 * elf/unload8mod1.c: New file.
18913 * elf/unload8mod1x.c: New file.
18914 * elf/unload8mod2.c: New file.
18915 * elf/unload8mod3.c: New file.
18917 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18920 2011-08-23 David S. Miller <davem@davemloft.net>
18922 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18923 subtract stack bias.
18924 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18925 %sp not %fp in calculations.
18926 (_JMPBUF_UNWINDS_ADJ): Likewise.
18928 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18929 (aio_suspend): Call it to force an exception region around the
18930 AIO_MISC_WAIT() invocation.
18932 2011-08-23 Andreas Schwab <schwab@redhat.com>
18934 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18937 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18939 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18941 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18942 and <dl-machine.h>.
18943 (Elf64_FuncDesc): Remove.
18945 2011-08-22 David S. Miller <davem@davemloft.net>
18947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18948 sigaltstack check, add missing cfi directives.
18949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18950 missing cfi directives, and sigaltstack handling.
18952 2011-08-16 Andreas Schwab <schwab@redhat.com>
18955 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18956 object is seen twice.
18957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18959 * elf/Makefile (distribute): Add tst-initorder2.c.
18960 (tests): Add tst-initorder2.
18961 (modules-names): Add tst-initorder2a tst-initorder2b
18962 tst-initorder2c tst-initorder2d. Add rules to build them.
18963 ($(objpfx)tst-initorder2.out): New rule.
18964 * elf/tst-initorder2.c: New file.
18965 * elf/tst-initorder2.exp: New file.
18967 2011-08-22 Andreas Schwab <schwab@redhat.com>
18969 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18971 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18972 dependencies back to end of function.
18974 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18975 $(elfobjdir)/ld.so.
18977 2011-08-21 Ulrich Drepper <drepper@gmail.com>
18979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18980 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18982 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18983 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18984 of __vdso_gettimeofday.
18985 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18986 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18988 (_libc_vdso_platform_setup): Remove initialization of
18989 __vdso_gettimeofday and __vdso_time.
18991 2011-08-20 Ulrich Drepper <drepper@gmail.com>
18993 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18994 and fgetc_unlocked.
18995 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18998 * elf/dl-open.c (add_to_global): Report additions to the global scope
18999 for LD_DEBUG=scopes.
19000 (dl_open_worker): Also print scope of newly loaded dependencies.
19001 (_dl_show_scope): Indicate if there is no scope.
19004 * stdio-common/Makefile (tests): Add bug24.
19005 * stdio-common/bug24.c: New file.
19007 2011-08-19 Andreas Jaeger <aj@suse.de>
19010 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19011 non-existant file when using close-on-exec mode.
19013 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19016 the very first instruction.
19018 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19019 the CFI state in the end.
19020 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19021 inclusion of dl-trampoline.h.
19022 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19024 2011-08-19 Andreas Schwab <schwab@redhat.com>
19026 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19027 expectations for long double.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19030 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19032 2011-08-14 David S. Miller <davem@davemloft.net>
19034 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19035 artificual limit depends upon the system page size.
19037 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19039 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19040 * resolv/Makefile: Define CFLAGS-libresolv.
19042 2011-08-17 Andreas Schwab <schwab@redhat.com>
19044 * nss/makedb.c (compute_tables): Make variables used in nested
19047 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19049 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19050 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19051 if buffer was too small.
19053 * elf/pldd.c (main): Attach to all threads in the process.
19054 Rewrite /proc handling to use *at functions.
19056 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19058 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19059 specifies first scope to show.
19060 (dl_open_worker): Update callers. Move printing scope of new
19061 object to before the relocation.
19062 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19063 * sysdeps/generic/ldsodefs.h: Update declaration.
19065 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19066 string for the scope number.
19068 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19070 * nscd/servicescache.c (cache_addserv): Make sure written is always
19073 2011-08-14 Roland McGrath <roland@hack.frob.com>
19075 * sysdeps/i386/i486/bits/atomic.h
19076 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19077 statement expression, so as to suppress "set but not used" warning.
19078 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19080 * string/strncat.c (STRNCAT): Use prototype definition.
19082 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19083 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19085 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19086 (localedef-modules): Add localedef.
19087 (locale-modules): Add locale.
19089 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19090 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19091 to avoid a warning.
19093 2011-08-14 David S. Miller <davem@davemloft.net>
19095 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19096 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19098 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19100 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19101 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19102 * elf/rtld.c (dl_main): Set l_name of vDSO.
19103 Call _dl_show_scope when DL_DEBUG_SCOPES.
19104 (process_dl_debug): Recognize scopes flag and also set it for all.
19105 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19106 Declare _dl_show_scope.
19108 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19109 (do_dlopen): Pass caller_dlopen to dl_open.
19110 (__libc_dlopen_mode): Initialize caller_dlopen.
19112 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19113 of libc. Make tolower call locale-independent. Optimize a bit by
19114 using isdigit instead of isalnum.
19115 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19117 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19119 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19120 was a dependency or dynamically loaded.
19122 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19124 * intl/l10nflist.c: Allow architecture-specific pop function.
19125 * sysdeps/x86_64/l10nflist.c: New file.
19127 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19130 2011-08-10 Andreas Schwab <schwab@redhat.com>
19132 * include/dirent.h: Add libc_hidden_proto for scandirat and
19133 scandirat64. Don't declare __scandirat64.
19134 * dirent/scandirat.c: Add libc_hidden_def.
19135 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19136 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19138 2011-08-10 David S. Miller <davem@davemloft.net>
19140 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19142 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19146 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19148 * Versions.def [libc]: Add GLIBC_2.15.
19149 * dirent/Makefile (routines): Add scandirat and scandirat64.
19150 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19152 * dirent/dirent.h: Declare scandirat and scandirat64.
19153 * dirent/scandirat.c: New file.
19154 * dirent/scandirat64.c: New file.
19155 * sysdeps/wordsize-64/scandirat.c: New file.
19156 * sysdeps/wordsize-64/scandirat64.c: New file.
19157 * dirent/opendir.c: Define opendirat.
19158 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19160 * dirent/scandir64.c: Adjust for scandir.c change.
19161 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19162 __scandirat64, and __scandir_cancel_handler.
19163 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19164 additional parameter and use openat instead of open (outside of ld.so).
19165 Add new __opendir as wrapper around __opendirat.
19166 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19167 here without requiring old scandirat implementation.
19169 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19171 * dirent/scandir.c (cancel_handler): Renamed to
19172 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19173 defined. Adjust users.
19174 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19175 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19177 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19179 * string/test-string.h (IMPL): Use __STRING to expand name and then
19182 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19185 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19187 * string/Makefile: Update.
19188 (strop-tests): Append strncat.
19189 * string/test-wcscmp.c: New file.
19190 New comprehensive test for wcscmp.
19191 * string/test-strcmp.c: Update.
19192 (WIDE): New define.
19194 2011-07-22 Andreas Schwab <schwab@redhat.com>
19196 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19199 2011-07-26 Andreas Schwab <schwab@redhat.com>
19201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19202 encoding to ACE if AI_IDN.
19204 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19207 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19209 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19212 Fix overflow bug in strncat.
19213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19215 * string/test-strncat.c: Update.
19216 Add new tests for checking overflow bugs.
19218 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19221 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19222 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19223 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19225 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19226 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19227 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19228 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19231 (USE_AS_STRCAT): Define.
19232 Add strcat and strncat support.
19233 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19235 2011-07-25 Andreas Schwab <schwab@redhat.com>
19237 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19238 __n bigger than INT_MAX+1.
19239 (__strncmp_g): Likewise.
19241 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19243 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19244 * libio/stido.h: Likewise.
19246 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19251 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19254 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19258 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19263 (_dl_x86_64_save_sse): Likewise.
19265 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19269 (_dl_x86_64_save_sse): Likewise.
19271 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19273 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19275 2011-07-21 Andreas Schwab <schwab@redhat.com>
19277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19279 (_dl_x86_64_save_sse): Use correct AVX check.
19281 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19284 bug in strncpy/strncat.
19285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19287 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19289 * string/tester.c (test_strcat): Add tests for different alignments
19290 of source and destination.
19291 (test_strncat): Likewise.
19293 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19296 * posix/glob.c (glob): Check passed in values before using them in
19297 expressions to avoid some overflows.
19298 (glob_in_dir): Likewise.
19301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19302 check for AVX enablement so that we don't crash with old kernels and
19304 * elf/tst-audit4.c: Add same checks here.
19305 * elf/tst-audit6.c: Likewise.
19307 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19309 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19311 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19313 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19315 * po/cs.po: Update from translation team.
19316 * po/bg.po: Likewise.
19318 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19320 * misc/sys/cdefs.h: Add support for const attribute.
19321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19322 to gnu_dev_{major,minor,makedev} functions.
19324 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19326 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19328 2011-07-20 Andreas Schwab <schwab@redhat.com>
19330 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19333 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19336 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19337 register in order to avoid conflicts with the soft frame pointer
19338 being held in r11 when necessary.
19339 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19340 (INTERNAL_VSYSCALL_NCS): Likewise.
19342 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19344 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19345 * elf/dl-fini.c (_dl_fini): Adjust caller.
19346 * elf/dl-close.c (_dl_close_worker): Likewise.
19347 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19349 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19351 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19352 "aux_cache->nlibs < 0".
19354 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19355 in the reload-count case.
19357 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19360 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19361 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19362 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19363 * sysdeps/x86_64/multiarch/strcat.S: New file.
19364 * sysdeps/x86_64/multiarch/strncat.S: New file.
19365 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19367 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19368 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19370 (USE_AS_STRCAT): Define.
19371 Add strcat and strncat support.
19372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19374 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19375 * string/strncat.c: Update.
19376 (USE_AS_STRNCAT): Define.
19377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19378 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19380 * sysdeps/x86_64/multiarch/init-arch.h
19381 (bit_Prefer_PMINUB_for_stringop): New.
19382 (index_Prefer_PMINUB_for_stringop): Likewise.
19383 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19384 bit_Prefer_PMINUB_for_stringop.
19386 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19388 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19390 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19391 of casting of buffer.
19392 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19393 buffer32 and buffer64.
19394 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19395 writes instead of casting of buffer.
19396 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19398 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19401 2011-07-19 Andreas Schwab <schwab@redhat.com>
19403 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19405 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19407 * nscd/nscd.c (termination_handler): Don't do anything for a database
19408 if it has not yet been initialized.
19410 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19412 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19414 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19416 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19418 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19420 * po/nl.po: Update from translation team.
19421 * po/sv.po: Likewise.
19423 2011-07-16 Roland McGrath <roland@hack.frob.com>
19425 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19426 now disallowed by GCC.
19428 * configure.in (use-default-link): Default to yes if a test -shared
19429 link meets our qualifications.
19430 * configure: Regenerated.
19432 * config.make.in (output-format): New variable.
19433 * configure.in: Check for ld --print-output-format support.
19434 * configure: Regenerated.
19435 * Makerules ($(common-objpfx)format.lds)
19436 [$(output-format) != unknown]: Just use $(output-format),
19437 instead of the linker-script munging.
19439 2011-07-14 Roland McGrath <roland@hack.frob.com>
19441 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19442 of $(common-objpfx)shlib.lds.
19443 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19445 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19446 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19448 * configure.in (-z relro check): Adjust test code to add a large
19449 writable data section after it.
19450 * configure: Regenerated.
19452 2011-07-11 Roland McGrath <roland@hack.frob.com>
19454 * configure.in (-z relro check): Fix test code to make the variable
19456 * configure: Regenerated.
19458 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19460 * nscd/nscd.h (struct traced_file): Define.
19461 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19462 elements. Add traced_files.
19463 (inotify_fd): Declare.
19464 (register_traced_file): Declare.
19465 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19466 (inotify_fd): Export.
19467 (resolv_conf_descr): Remove.
19468 (nscd_init): Move inotify descriptor creation to main.
19469 Don't register files for notification here.
19470 (register_traced_file): New function.
19471 (invalidate_cache): Don't use reset_res to determine whether to call
19472 res_init, go through the list of registered files.
19473 (main_loop_poll): The inotify descriptors are now stored in the
19474 structures for the traced files.
19475 (main_loop_epoll): Likewise
19476 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19477 to __nss_disable_nscd.
19478 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19479 for a database anymore. Check the records for all the registered
19481 * nss/Makefile (libnss_files-routines): Add files-init.
19482 (libnss_db-routines): Add db-init.
19483 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19484 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19485 * nss/nss_db/db-init.c: New file.
19486 * nss/nss_files/files-init.c: New file.
19487 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19488 __nss_lookup_function.
19489 (__nss_lookup_function): Call nss_load_library.
19490 (nss_load_all_libraries): New function.
19491 (__nss_disable_nscd): Take parameter with callback function for files
19492 to register. Set is_nscd. Load all the DSOs for the NSS modules
19493 used for the cached services.
19494 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19496 options for features to all the files in nscd.
19498 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19500 2011-07-10 Roland McGrath <roland@hack.frob.com>
19502 * csu/elf-init.c (__libc_csu_init): Comment typo.
19504 2011-07-09 Ulrich Drepper <drepper@gmail.com>
19506 * po/pl.po: Update from translation team.
19507 * po/ja.po: Likewise.
19508 * po/ru.po: Likewise.
19509 * po/ko.po: Likewise.
19510 * po/fr.po: Likewise.
19512 2011-07-09 Roland McGrath <roland@hack.frob.com>
19514 * configure.in (.ctors/.dtors header and trailer check):
19515 Use an empirical test on a built program.
19516 * configure: Regenerated.
19518 * configure.in (-z relro check): Use an empirical test on a built DSO.
19519 Detect, but do not require, on ia64.
19520 * configure: Regenerated.
19522 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19523 Update tests that use readelf to use $READELF instead.
19524 * configure: Regenerated.
19526 2011-07-08 Ulrich Drepper <drepper@gmail.com>
19528 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19529 if the result is not used.
19531 2011-07-05 Andreas Jaeger <aj@suse.de>
19534 * stdlib/tst-strtod.c: Add testcase.
19536 2011-07-07 Ulrich Drepper <drepper@gmail.com>
19538 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19539 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19540 The latter has a higher limit. Take additional parameter to pass to
19542 (__pathconf): Pass file to __statfs_link_max.
19543 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19545 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19549 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19552 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19553 (__statfs_filesize_max): Likewise.
19554 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19556 2011-07-05 Andreas Jaeger <aj@suse.de>
19558 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19560 2011-07-06 Marek Polacek <mpolacek@redhat.com>
19562 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19564 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19567 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19569 * Makefile (strop-tests): Add strncat.
19570 * string/test-strncat.c: New file.
19572 2011-06-30 Marek Polacek <mpolacek@redhat.com>
19574 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19576 2011-06-21 Andreas Jaeger <aj@suse.de>
19578 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19579 Copy rule from iconvdata/Makefile.
19581 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19584 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19585 but no long options are defined, just return 'W'.
19587 2011-06-22 Marek Polacek <mpolacek@redhat.com>
19590 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19592 2011-07-06 Ulrich Drepper <drepper@gmail.com>
19594 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19596 (innetgr): Likewise.
19598 2011-07-05 Roland McGrath <roland@hack.frob.com>
19600 * config.make.in (install_root): Default to $(DESTDIR).
19602 2011-07-05 Ulrich Drepper <drepper@gmail.com>
19604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19606 2011-07-02 Roland McGrath <roland@hack.frob.com>
19608 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19610 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19611 containing directory rather than embedding absolute directory names.
19613 * scripts/check-local-headers.sh: Rewritten using awk.
19614 Match by word, not by line. Print error messages for matches.
19615 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19617 * Makerules [shlib-lds-flags empty]:
19618 ($(common-objpfx)libc_pic.opts): New target.
19619 ($(common-objpfx)libc_pic.os.clean): New target.
19620 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19622 * config.make.in (OBJCOPY): New variable.
19623 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19624 * configure: Regenerated.
19626 * config.make.in (use-default-link): New variable.
19627 * configure.in (use_default_link): Grok --with-default-link to set it.
19628 * configure: Regenerated.
19629 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19630 (shlib-lds, shlib-lds-flags): Define to empty.
19632 * Makerules (shlib-lds): New variable.
19633 (shlib-lds-flags): New variable.
19634 (build-shlib, build-moduile, build-module-asneeded): Use it.
19635 ($(common-objpfx)libc.so): Use $(shlib-lds).
19636 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19639 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19640 DT_FLAGS/DT_FLAGS_1 with zero flags.
19642 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19643 linker script munging.
19645 2011-07-02 Ulrich Drepper <drepper@gmail.com>
19647 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19649 * crypt/sha512.c (sha512_process_block): Perform total addition using
19650 128-bit if possible.
19651 (__sha512_finish_ctx): Likewise.
19652 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19654 * crypt/sha256.c (SWAP64): Define.
19655 (sha256_process_block): Perform total addition using 64-bit if
19657 (__sha256_finish_ctx): Likewise.
19659 2011-07-01 Ulrich Drepper <drepper@gmail.com>
19661 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19663 * nscd/hstcache.c (cache_addhst): Likewise.
19664 * nscd/grpcache.c (cache_addgr): Likewise.
19665 * nscd/aicache.c (addhstaiX): Likewise
19666 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19668 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
19670 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19672 * nscd/hstcache.c (cache_addhst): Likewise.
19673 * nscd/grpcache.c (cache_addgr): Likewise.
19674 * nscd/aicache.c (addhstaiX): Likewise
19676 2011-07-01 Andreas Schwab <schwab@redhat.com>
19678 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19679 domain only when needed.
19681 2011-06-30 Andreas Schwab <schwab@redhat.com>
19683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19684 is always restored.
19686 2011-06-29 Ulrich Drepper <drepper@gmail.com>
19688 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19689 are re-adding the entry.
19690 * nscd/servicescache.c (cache_addserv): Likewise.
19692 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19694 * sysdeps/generic/dl-irel.h: fix protection against multiple
19696 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19698 2011-06-28 Ulrich Drepper <drepper@gmail.com>
19701 * malloc/memusage.sh: Fix quoting in message.
19702 * debug/xtrace.sh: Likewise.
19704 * configure.in: Remove support for --experimental-malloc option, make
19706 * config.make.in: Likewise.
19707 * malloc/Makefile: Likewise.
19709 2011-06-27 Andreas Schwab <schwab@redhat.com>
19711 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19712 two-byte characters.
19714 2011-06-27 Roland McGrath <roland@hack.frob.com>
19716 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19717 AC_CACHE_CHECK invocation.
19718 * configure: Regenerated.
19720 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19722 2011-06-27 Ulrich Drepper <drepper@gmail.com>
19725 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19726 bit from old_res_options.
19728 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19730 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19731 value type for setfct.
19733 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19736 __gettimeofday instead of gettimeofday.
19738 2011-06-26 Ulrich Drepper <drepper@gmail.com>
19740 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19742 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19744 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19746 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19749 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19752 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19753 strcpy-sse2-unaligned strncpy-sse2-unaligned
19754 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19755 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19756 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19757 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19758 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19760 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19761 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19762 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19763 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19764 (STRCPY): Support SSE2 and SSSE3 versions.
19766 2011-06-24 Ulrich Drepper <drepper@gmail.com>
19769 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19770 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19771 kernels which artificially limit size of requests.
19773 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19776 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19777 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19778 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19779 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19780 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19782 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19785 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19786 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19787 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19788 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19789 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19791 Enable unaligned load optimization for Intel Core i3, i5 and i7
19793 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19795 (index_Fast_Unaligned_Load): Define.
19796 (HAS_FAST_UNALIGNED_LOAD): Define.
19798 2011-06-23 Marek Polacek <mpolacek@redhat.com>
19800 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19802 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19806 until it is clear that the information is realy needed.
19807 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19809 2011-06-22 Andreas Schwab <schwab@redhat.com>
19811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19813 2011-06-22 Ulrich Drepper <drepper@gmail.com>
19815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19816 /sys/devices/system/cpu/online if it is usable.
19818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19819 reading the information from the /proc filesystem to once a second.
19821 2011-06-21 Andreas Jaeger <aj@suse.de>
19823 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19824 NULL after inclusion of kernel headers.
19826 2011-06-21 Ulrich Drepper <drepper@gmail.com>
19828 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19829 calls to internal_setent.
19832 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19833 addresses using gethostbyname4_r ignore IPv4 addresses.
19835 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19836 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19838 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19840 2011-06-20 David S. Miller <davem@davemloft.net>
19842 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19844 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19846 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19847 (elf_irel): Use it.
19848 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19849 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19850 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19851 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19852 * sysdeps/x86_64/dl-irel.h: Likewise.
19854 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19855 * elf/dl-sym.c: Likewise.
19857 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19859 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19860 need to dereference resplen2.
19862 2011-06-14 Andreas Schwab <schwab@redhat.com>
19864 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19866 2011-06-15 Ulrich Drepper <drepper@gmail.com>
19868 * Makeconfig: Define vardbdir and inst_vardbdir.
19869 * nss/Makefile: Add rules to install db-Makefile.
19871 * nss/nss_db/db-XXX.c: Cleanup.
19873 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19874 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19876 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19877 * nss/makedb.c: Implement -g option to specify that value strings
19878 are generated and should not be added to table iterated over for
19880 * nss/nss_db/db-initgroups.c: New file.
19882 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19885 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19886 (internal_getgrouplist): Adjust to name change.
19887 Update use_initgroups_entry if this is not the first call.
19888 * nss/databases.def: Add initgroups entry.
19890 * nss/makedb.c (compute_tables): Check result of multiple hash table
19891 sizes to minimize maximum chain length.
19893 2011-06-14 Ulrich Drepper <drepper@gmail.com>
19895 * Versions.def: Add entry for libnss_db.
19896 * shlib-versions: Likewise.
19897 * nss/Makefile: Add rules to build libnss_db.
19898 * nss/Versions: Add libnss_db information. Organize libnss_files
19900 * nss/db-Makefile: Add gshadow support. Change rules for the new
19901 makedb progra. Some minor improvements to generate smaller files.
19902 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19904 * nss/makedb.c: ...here.
19905 Improve database format to be smaller and require less memory at
19907 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19909 * nss/nss_db/db-netgrp.c: Likewise.
19910 * nss/nss_db/db-open.c: Likewise.
19911 * nss/nss_files/flies-XXX.x: Adjust comments.
19912 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19913 * nss/nss_files/files-grp.c: Likewise.
19914 * nss/nss_files/files-hosts.c: Likewise.
19915 * nss/nss_files/files-network.c: Likewise.
19916 * nss/nss_files/files-proto.c: Likewise.
19917 * nss/nss_files/files-pwd.c: Likewise.
19918 * nss/nss_files/files-rpc.c: Likewise.
19919 * nss/nss_files/files-service.c: Likewise.
19920 * nss/nss_files/files-sgrp.c: Likewise.
19921 * nss/nss_files/files-spwd.c: Likewise.
19922 * nss/nss_db/db-alias.c: Removed.
19923 * nss/nss_db/dummy-db.h: Removed.
19925 2011-06-02 Ulrich Drepper <drepper@gmail.com>
19927 * nss/makedb.c: Rewritten to not use database library.
19928 * nss/Makefile: Update to build new makedb program.
19930 2011-06-14 Andreas Jaeger <aj@suse.de>
19932 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19933 memset declaration.
19935 2011-06-10 Andreas Schwab <schwab@redhat.com>
19937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19940 2011-06-10 Roland McGrath <roland@hack.frob.com>
19942 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19943 * elf/Makefile ($(objpfx)ld.so): Likewise.
19945 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19946 Don't list ld.so twice in dependencies.
19948 * posix/bug-regex31.c: Include <stdlib.h>.
19950 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19952 * nis/nss_compat/compat-spwd.c
19953 (getspent_next_nss_netgr): Remove unused variable.
19954 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19956 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19957 nonmembers" output to use the right array.
19959 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19961 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19963 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19964 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19965 * catgets/gencat.c (read_input_file): Likewise.
19966 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19968 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19969 variable definition inside #if's controlling its use.
19971 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19973 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19975 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19977 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19980 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19982 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19983 * configure: Regenerated.
19985 * Makerules: Revert last change.
19986 * elf/Makefile: Likewise.
19988 2011-06-09 Roland McGrath <roland@hack.frob.com>
19990 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19991 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19992 (reloc-link): Likewise.
19994 2011-06-09 Ulrich Drepper <drepper@gmail.com>
19996 * elf/Makefile: Add rules to build pldd.
19997 * elf/pldd.c: New file.
19998 * elf/pldd-xx.c: New file.
20000 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20002 * version.h: Update for 2.15 development version.
20004 2011-06-07 David S. Miller <davem@davemloft.net>
20006 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20009 elf_machine_lazy_rel): Likewise.
20010 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20012 elf_machine_lazy_rel): Likewise.
20013 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20014 dl_hwcap via passed in argument.
20015 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20018 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20020 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20022 2011-06-06 Roland McGrath <roland@hack.frob.com>
20025 * manual/fdl-1.1.texi: New file, verbatim from:
20026 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20027 * manual/lgpl-2.1.texi: New file, verbatim from:
20028 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20029 * manual/Makefile (licenses): New variable, list those new file names.
20031 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20033 * manual/fdl.texi: File removed.
20034 * manual/lesser.texi: File removed.
20035 * manual/libc.texinfo (Copying, Documentation License):
20036 Use new @include file names, put @appendix directive before @include.
20038 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20041 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20042 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20043 (mq_open): Add __NTH.
20045 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20048 Assume Intel Core i3/i5/i7 processor if AVX is available.
20050 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20055 2011-05-31 Andreas Schwab <schwab@redhat.com>
20057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20058 memory. Use alloca_account. Fix memory leak when retrying.
20060 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20062 * version.h (RELEASE): Bump for 2.14 release.
20063 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20065 * config.make.in (RANLIB): Remove entry.
20067 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20069 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20070 (libc.pot): Work around missing support for .ksh extension in xgettext.
20073 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20074 if both request failed.
20075 (send_dg): In case of server errors clear resplen or *resplen2.
20078 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20079 when there are multiple maps.
20080 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20081 (_dl_fini): Remove test here.
20083 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20085 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20088 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20089 bit from old_res_options.
20090 (gaih_inet): Likewise.
20093 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20096 * resolv/res_init.c (res_setoptions): Make the code more compact.
20099 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20103 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20105 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20108 * malloc/malloc.h: Declare malloc hook variables as volatile.
20110 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20114 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20115 raise in the comment.
20116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20118 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20120 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20123 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20124 grow the buffers more if it already has to be sufficient.
20125 (build_wcs_upper_buffer): Likewise.
20126 * posix/regexec.c (check_matching): Likewise.
20127 (clean_state_log_if_needed): Likewise.
20128 (extend_buffers): Don't enlarge buffers beyond size of the input
20130 Patches mostly by Emil Wojak <emil@wojak.eu>.
20131 * posix/bug-regex32.c: New file.
20132 * posix/Makefile (tests): Add bug-regex32.
20134 * locale/findlocale.c (_nl_find_locale): Return right away if
20135 _nl_explode_name failed.
20136 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20138 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20140 * debug/xtrace.sh: Unify messages.
20141 * malloc/memusage.sh: Likewise.
20144 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20145 time symbol from vDSO. Substitute with vsyscall if not available.
20146 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20149 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20150 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20151 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20152 Add sendmmsg and internal_sendmmsg.
20153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20155 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20157 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20158 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20161 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20165 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20167 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20171 * iconvdata/Makefile (tests): Add bug-iconv9.
20172 * iconvdata/bug-iconv9.c: New file.
20174 2011-05-27 Andreas Schwab <schwab@redhat.com>
20177 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20179 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20181 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20182 (struct user_regs_struct): Change intcs field back to cs.
20184 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20186 * po/ja.po: Update from translation team.
20188 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20191 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20192 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20194 2011-05-20 Andreas Schwab <schwab@redhat.com>
20196 * stdlib/longlong.h: Update from GCC.
20198 2011-05-23 Andreas Schwab <schwab@redhat.com>
20200 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20202 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20203 Add parameter name.
20204 (__sysconf): Pass it down.
20206 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20209 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20211 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20212 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20213 add in in __libc_use_alloca calls. Adjust callers.
20214 (glob): Use malloc in some situations.
20216 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20217 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20220 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20222 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20223 and CLOCK_BOOTTIME_ALARM.
20226 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20229 * string/_strerror.c (__strerror_r): Print negative errors as signed
20233 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20234 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20235 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20237 * configure.in: Fix typo in redirection and correct removal of test
20238 files in two cases.
20241 * locale/setlocale.c (new_composite_name): Fix test to check for
20242 identical name of all categories.
20245 * libio/filedoalloc.c (local_isatty): New function.
20246 (_IO_file_doallocate): Use local_isatty.
20247 * stdio-common/perror.c (perror): In case a new stream is used
20248 forward the stream error.
20249 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20252 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20257 * include/alloca.h (extend_alloca_account): Define.
20260 * posix/regex.h: Fix comments with documentation of user-accessible
20261 fields after compilation and describe correct free'ing of pattern
20262 after re_compile_pattern.
20263 Patch by Reuben Thomas <rrt@sc3d.org>.
20265 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20267 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20268 and -mno-altivec to prevent the compiler from using Altivec and/or
20269 VSX instructions when the corresponding registers are not available.
20271 2011-05-19 Andreas Schwab <schwab@redhat.com>
20273 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20275 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20277 * libio/freopen.c (freopen): Use __dup2, not dup2.
20278 * libio/freopen64.c (freopen64): Likewise.
20280 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20283 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20284 * math/Makefile (tests): Add test-powl.
20285 (CFLAGS-test-powl.c): Define.
20286 * math/test-powl.c: New file.
20288 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20290 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20292 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20295 * iconvdata/gb18030.c: Update to GB18020-2005.
20297 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20299 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20300 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20301 Patch by Aharon Robbins <arnold@skeeve.com>.
20304 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20308 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20309 through underflows.
20312 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20313 point to strings before performing equality test for error_one_per_line
20317 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20321 (struct user_fpregs_struct): Avoid __uint*_t types.
20324 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20325 symbol info. Use it instead of calling _dl_addr locally.
20326 (lock_and_info): New function.
20327 (tr_freehook): Call lock_and_info and pass symbol info as additional
20328 parameter to tr_where.
20329 (tr_mallochook): Likewise.
20330 (tr_reallochook): Likewise.
20331 (tr_memalignhook): Likewise.
20333 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20334 used and couldn't be at all thread-safe.
20336 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20338 * libio/freopen.c (freopen): Don't close old file descriptor
20339 before the new one is opened. Instead dup the new file descriptor
20340 to the old one after the new stream is created.
20341 * libio/freopen64.c (freopen64): Likewise.
20342 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20343 * libio/fileops.c (_IO_new_file_close_it): Handle new
20344 _IO_FLAGS2_NOCLOSE flag.
20345 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20346 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20347 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20348 _IO_FLAGS2_NOCLOSE flag.
20349 * include/unistd.h: Add hidden_proto for dup3.
20350 Define __have_dup3.
20351 * io/dup3.c: Define hidden symbol.
20352 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20355 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20356 when an incomplete long option is used.
20357 * posix/tst-getopt_long1.c: New file.
20358 * posix/Makefile (tests): Add tst-getopt_long1.
20361 * scripts/config.guess: Update from autoconf-2.68.
20362 * scripts/config.sub: Likewise.
20365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20367 (has_cpuclock): ...this. New function.
20368 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20369 macro here based on has_cpuclock code.
20372 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20373 First byte (not low byte) is now always NUL.
20374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20377 Use non-cancelable interfaces.
20380 * locale/iso-639.def: Add entry for Sorani.
20383 * include/stdlib.h: Move include protection to the right place.
20384 Define abort_msg_s. Declare __abort_msg with it.
20385 * stdlib/abort.c (__abort_msg): Adjust type.
20386 * assert/assert.c (__assert_fail_base): New function. Majority
20387 of code from __assert_fail. Allocate memory for __abort_msg with
20389 (__assert_fail): Now call __assert_fail_base.
20390 * assert/assert-perr.c: Remove bulk of implementation. Use
20391 __assert_fail_base.
20392 * include/assert.hL Declare __assert_fail_base.
20393 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20395 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20397 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20401 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20402 until all modules are registered in the DTV.
20403 * elf/Makefile: Add rules to build and run tst-tls19.
20404 * elf/tst-tls19.c: New file.
20405 * elf/tst-tls19mod1.c: New file.
20406 * elf/tst-tls19mod2.c: New file.
20407 * elf/tst-tls19mod3.c: New file.
20408 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20411 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20415 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20416 two-byte sequence errors.
20417 * iconvdata/Makefile (tests): Add bug-iconv8.
20418 * iconvdata/bug-iconv8.c: New file.
20421 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20424 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20427 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20428 (dummy_getcfa): New function.
20429 (init): Get _Unwind_GetCFA address, use dummy if not found.
20430 (backtrace_helper): In recursion check, also check whether CFA changes.
20431 (__backtrace): Completely initialize arg.
20433 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20434 storing incomplete byte sequence in state object. Avoid testing for
20435 guaranteed too small input if we know there is enough data available.
20437 2011-05-11 Andreas Schwab <schwab@redhat.com>
20439 * Makeconfig (+link-pie): Indent.
20440 * Rules (binaries-pie): Define if $(have-fpie) and
20442 (binaries-shared): Also filter out $(binaries-pie).
20443 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20444 * nscd/Makefile (others-pie): Add nscd.
20445 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20446 ($(objpfx)nscd): Remove command override.
20447 * login/Makefile (others-pie): Add pt_chown.
20448 ($(objpfx)pt_chown): Remove command override.
20449 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20450 remove command overrides.
20452 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20454 * libio/tst_putwc.c: Fix error messages.
20457 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20458 currently writing and seek to current position when not.
20459 * libio/Makefile (tests): Add bug-fclose1.
20460 * libio/bug-fclose1.c: New file.
20462 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20465 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20466 don't set DF_1_NODELETE here.
20467 (do_lookup_x): When entering new entry test for copy relocation
20468 and if necessary set DF_1_NODELETE flag.
20469 * elf/tst-unique4.cc: New file.
20470 * elf/tst-unique4.h: New file.
20471 * elf/tst-unique4lib.cc: New file.
20472 * elf/Makefile: Add rules to build and run tst-unique4.
20473 Patch by Piotr Bury <pbury@goahead.com>.
20475 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20478 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20481 * misc/mntent_r.c (addmntent): Flush the stream after the output
20484 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20485 (is_trusted_path_normalize): Skip initial colon. Append slash
20486 to empty buffer. Duplicate is_trusted_path code but allow
20487 constructed patch to be prefix.
20488 (is_dst): Allow $ORIGIN followed by /.
20489 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20490 Correct testing of result of is_trusted_path_normalize
20491 (decompose_rpath): Fix warning.
20493 2011-05-10 Ulrich Drepper <drepper@gmail.com>
20496 * grp/initgroups.c (internal_getgrouplist): When we found the service
20497 list through the initgroups entry in nsswitch.conf do not always
20498 continue on a successful lookup. Don't always use the
20499 __nss_group_database value if it is set.
20500 * nss/nsswitch.conf (initgroups): Change action for successful db
20501 lookup to continue for compatibility.
20503 2011-05-09 Ulrich Drepper <drepper@gmail.com>
20506 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20508 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20510 * iconvdata/tst-tables.sh: Likewise.
20511 * iconvdata/cp770.c: New file.
20512 * iconvdata/cp771.c: New file.
20513 * iconvdata/cp772.c: New file.
20514 * iconvdata/cp773.c: New file.
20515 * iconvdata/cp774.c: New file.
20516 * iconvdata/testdata/CP770: New file.
20517 * iconvdata/testdata/CP770..UTF8: New file.
20518 * iconvdata/testdata/CP771: New file.
20519 * iconvdata/testdata/CP771..UTF8: New file.
20520 * iconvdata/testdata/CP772: New file.
20521 * iconvdata/testdata/CP772..UTF8: New file.
20522 * iconvdata/testdata/CP773: New file.
20523 * iconvdata/testdata/CP773..UTF8: New file.
20524 * iconvdata/testdata/CP774: New file.
20525 * iconvdata/testdata/CP774..UTF8: New file.
20527 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20529 * iconvdata/gen-8bit-gap.sh: Likewise.
20530 * iconvdata/gen-8bit.sh: Likewise.
20532 * locale/iso-639.def: Add ary entry.
20535 * locale/C-translit.h.in: Add U20A1 transliteration.
20538 * locale/iso-639.def: Add wae entry.
20539 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20542 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20546 * locale/C-translit.h.in: Add entry for U20B9.
20547 Patch by pravin.d.s@gmail.com.
20549 2011-05-08 Ulrich Drepper <drepper@gmail.com>
20552 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20553 ENAMETOOLONG use generic getcwd.
20554 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20555 in rtld. Use *stat64.
20556 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20557 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20558 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20559 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20560 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20561 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20562 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20563 __fstatat64 macros.
20564 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20565 * dirent/rewinddir.c: Add libc_hidden_def.
20566 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20567 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20569 * include/dirent.h (__alloc_dir): Add flags parameter.
20570 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20571 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20573 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20574 from fdopendir if O_CLOEXEC is already set.
20576 2011-03-15 Alan Modra <amodra@gmail.com>
20578 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20579 l_tls_firstbyte_offset non-zero. Save padding offset in
20580 l_tls_firstbyte_offset for later use.
20581 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20582 freeing static tls block.
20584 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20586 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20587 where #ifdef was intended. The intent is to prevent ARG_MAX from
20588 being defined by the kernel headers.
20590 2011-05-07 Ulrich Drepper <drepper@gmail.com>
20593 * resolv/resolv.h: Define RES_NOTLDQUERY.
20594 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20595 no-tld-query and set RES_NOTLDQUERY.
20596 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20597 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20598 modern BIND to search name as TLD unless forbidden.
20600 2011-05-07 Petr Baudis <pasky@suse.cz>
20601 Ulrich Drepper <drepper@gmail.com>
20604 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20605 (is_trusted_path): ...to here.
20606 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20607 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20608 using is_trusted_path_normalize() in setuid scripts.
20610 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20612 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20613 __BEGIN/__END_DECLS.
20615 2011-05-06 Ulrich Drepper <drepper@gmail.com>
20617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20618 NSS_STATUS_NOTFOUND if no record was found.
20620 2011-05-05 Andreas Schwab <schwab@redhat.com>
20622 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20623 (headers-not-in-tirpc): Remove rpc/netdb.h
20624 * resolv/netdb.h: Revert last change.
20626 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20628 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20629 circular dependency between libgcc.a and libc.a.
20631 2011-05-05 Andreas Schwab <schwab@redhat.com>
20633 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20634 * nis/Makefile: Don't install rpcsvc/*.
20635 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20636 instead of <rpc/types.h>.
20637 (MAXHOSTNAMELEN): Define.
20639 2011-05-03 Andreas Schwab <schwab@redhat.com>
20641 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20643 2011-04-28 Maciej Babinski <mbabinski@google.com>
20646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20647 gethostbyname4_r when IPv6 results are possible.
20649 2011-05-02 Ulrich Drepper <drepper@gmail.com>
20652 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20653 _PC_PIPE_BUF handling.
20655 2011-04-30 Bruno Haible <bruno@clisp.org>
20658 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20659 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20661 * inet/getnameinfo.c (getnameinfo): Likewise.
20663 2011-04-29 Ulrich Drepper <drepper@gmail.com>
20665 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20666 to groups setting in database lookup.
20667 * nss/nsswitch.conf: Add initgroups entry.
20669 2011-04-22 Ulrich Drepper <drepper@gmail.com>
20672 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20674 Patch by Eric Blake <eblake@redhat.com>.
20676 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20678 * sunrpc/Makefile (need-export-routines): Add svc_run.
20679 (routines): Remove svc_run.
20680 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20681 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20682 * sunrpc/svc_run.c (svc_run): Likewise.
20683 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20685 2011-04-21 Ulrich Drepper <drepper@gmail.com>
20687 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20688 problem in reallocation in last patch.
20690 2011-04-20 Ulrich Drepper <drepper@gmail.com>
20692 * sunrpc/Makefile: Move inclusion of Rules.
20694 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20696 * nss/nss_files/files-initgroups.c: New file.
20697 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20698 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20699 _nss_files_initgroups_dyn.
20701 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20703 * elf/elf.h (R_ARM_IRELATIVE): Define.
20705 2011-04-19 Ulrich Drepper <drepper@gmail.com>
20707 * po/ru.po: Update from translation team.
20709 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20711 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20714 2011-02-06 Mike Frysinger <vapier@gentoo.org>
20717 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20718 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20719 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20723 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20727 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20731 2011-04-17 Ulrich Drepper <drepper@gmail.com>
20734 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20736 * stdlib/bug-getcontext.c: New file.
20737 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20739 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20741 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20742 instructions into .machine "z9-109".
20743 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20744 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20746 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20748 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20749 between environment variables and auxiliary vector.
20751 2011-04-16 Ulrich Drepper <drepper@gmail.com>
20753 * Makefile: Add rules to build linkobj/libc.so.
20754 * include/libc-symbols.h: Define libc_hidden_nolink.
20755 * include/rpc/auth.h: Mark functions which are to be hidden.
20756 * include/rpc/auth_des.h: Likewise.
20757 * include/rpc/auth_unix.h: Likewise.
20758 * include/rpc/clnt.h: Likewise.
20759 * include/rpc/des_crypt.h: Likewise.
20760 * include/rpc/key_prot.h: Likewise.
20761 * include/rpc/pmap_clnt.h: Likewise.
20762 * include/rpc/pmap_prot.h: Likewise.
20763 * include/rpc/pmap_rmt.h: Likewise.
20764 * include/rpc/rpc_msg.h: Likewise.
20765 * include/rpc/svc.h: Likewise.
20766 * include/rpc/svc_auth.h: Likewise.
20767 * include/rpc/xdr.h: Likewise.
20768 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20769 * nss/Makefile: Likewise.
20770 * sunrpc/Makefile: Don't install headers. Build library with normal
20771 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20772 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20773 for the compat linking library. Remove use of INTDEF/INTUSE.
20774 * sunrpc/auth_none.c: Likewise.
20775 * sunrpc/auth_unix.c: Likewise.
20776 * sunrpc/authdes_prot.c: Likewise.
20777 * sunrpc/authuxprot.c: Likewise.
20778 * sunrpc/clnt_gen.c: Likewise.
20779 * sunrpc/clnt_perr.c: Likewise.
20780 * sunrpc/clnt_raw.c: Likewise.
20781 * sunrpc/clnt_simp.c: Likewise.
20782 * sunrpc/clnt_tcp.c: Likewise.
20783 * sunrpc/clnt_udp.c: Likewise.
20784 * sunrpc/clnt_unix.c: Likewise.
20785 * sunrpc/des_crypt.c: Likewise.
20786 * sunrpc/des_soft.c: Likewise.
20787 * sunrpc/get_myaddr.c: Likewise.
20788 * sunrpc/key_call.c: Likewise.
20789 * sunrpc/key_prot.c: Likewise.
20790 * sunrpc/netname.c: Likewise.
20791 * sunrpc/pm_getmaps.c: Likewise.
20792 * sunrpc/pm_getport.c: Likewise.
20793 * sunrpc/pmap_clnt.c: Likewise.
20794 * sunrpc/pmap_prot.c: Likewise.
20795 * sunrpc/pmap_prot2.c: Likewise.
20796 * sunrpc/pmap_rmt.c: Likewise.
20797 * sunrpc/publickey.c: Likewise.
20798 * sunrpc/rpc_cmsg.c: Likewise.
20799 * sunrpc/rpc_common.c: Likewise.
20800 * sunrpc/rpc_dtable.c: Likewise.
20801 * sunrpc/rpc_prot.c: Likewise.
20802 * sunrpc/rpc_thread.c: Likewise.
20803 * sunrpc/rtime.c: Likewise.
20804 * sunrpc/svc.c: Likewise.
20805 * sunrpc/svc_auth.c: Likewise.
20806 * sunrpc/svc_authux.c: Likewise.
20807 * sunrpc/svc_raw.c: Likewise.
20808 * sunrpc/svc_run.c: Likewise.
20809 * sunrpc/svc_simple.c: Likewise.
20810 * sunrpc/svc_tcp.c: Likewise.
20811 * sunrpc/svc_udp.c: Likewise.
20812 * sunrpc/svc_unix.c: Likewise.
20813 * sunrpc/svcauth_des.c: Likewise.
20814 * sunrpc/xcrypt.c: Likewise.
20815 * sunrpc/xdr.c: Likewise.
20816 * sunrpc/xdr_array.c: Likewise.
20817 * sunrpc/xdr_float.c: Likewise.
20818 * sunrpc/xdr_intXX_t.c: Likewise.
20819 * sunrpc/xdr_mem.c: Likewise.
20820 * sunrpc/xdr_rec.c: Likewise.
20821 * sunrpc/xdr_ref.c: Likewise.
20822 * sunrpc/xdr_sizeof.c: Likewise.
20823 * sunrpc/xdr_stdio.c: Likewise.
20825 2011-04-10 Ulrich Drepper <drepper@gmail.com>
20828 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20829 * sysdeps/ia64/dl-tls.h: Likewise.
20830 * sysdeps/powerpc/dl-tls.h: Likewise.
20831 * sysdeps/s390/dl-tls.h: Likewise.
20832 * sysdeps/sh/dl-tls.h: Likewise.
20833 * sysdeps/sparc/dl-tls.h: Likewise.
20834 * sysdeps/x86_64/dl-tls.h: Likewise.
20835 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20837 2011-03-14 Andreas Schwab <schwab@redhat.com>
20839 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20840 rpath element also skip the following colon.
20841 (expand_dynamic_string_token): Add is_path parameter and pass
20842 down to DL_DST_REQUIRED and _dl_dst_substitute.
20843 (decompose_rpath): Call expand_dynamic_string_token with
20844 non-zero is_path. Ignore empty rpaths.
20845 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20848 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20853 2011-04-09 Ulrich Drepper <drepper@gmail.com>
20856 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20857 Patch by Filipe David Manana <fdmanana@apache.org>.
20859 2011-04-07 Andreas Schwab <schwab@redhat.com>
20861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20862 Maintain aligned stack.
20863 (CHECK_RSP): Remove unused macro.
20865 2011-04-03 Ulrich Drepper <drepper@gmail.com>
20867 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20870 2011-04-02 Ulrich Drepper <drepper@gmail.com>
20872 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20874 * include/features.h: Mention __USE_XOPEN2K8 in comment.
20876 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20879 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20880 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20881 * sysdeps/x86_64/memmove.c: New file.
20882 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20883 (memcpy): Renamed to ...
20884 (__new_memcpy): This.
20885 (memcpy): Provide GLIBC_2_14 memcpy.
20886 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20887 (memcpy): Provide GLIBC_2_2_5 memcpy.
20889 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20892 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20894 2011-03-30 Andreas Schwab <schwab@redhat.com>
20896 * misc/syncfs.c: New file.
20897 * misc/Makefile (routines): Add syncfs.
20898 * posix/unistd.h: Declare syncfs.
20899 * sysdeps/unix/syscalls.list: Add syncfs.
20901 2011-04-01 Andreas Schwab <schwab@redhat.com>
20903 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20910 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20913 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20923 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20924 sync_file_range.c with -fexceptions.
20925 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20926 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20927 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20928 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20929 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20930 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
20932 sync_file_range as cancellation point
20933 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20934 now a wrapper around __call_sync_file_range with cancellation handling.
20935 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20936 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20937 function name to __call_sync_file_range.
20938 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20939 Add call_sync_file_range.
20941 2011-04-01 Andreas Schwab <schwab@redhat.com>
20943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20946 2011-04-01 Ulrich Drepper <drepper@gmail.com>
20948 * iconv/iconv.h: Fix typo in comment.
20949 * io/fcntl.h: Likewise.
20950 * libio/stdio.h: Likewise.
20951 * posix/spawn.h: Likewise.
20952 * posix/unistd.h: Likewise.
20953 * stdlib/stdlib.h: Likewise.
20954 * time/time.h: Likewise.
20955 * wcsmbs/wchar.h: Likewise.
20957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20958 open_by_handle): Add.
20959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20960 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20961 Augment a few comments.
20962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20967 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20970 * io/fcntl.h (AT_EMPTY_PATH): Define.
20972 2011-03-30 Ulrich Drepper <drepper@gmail.com>
20974 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20975 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20976 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20978 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
20979 * Versions.def: Add GLIBC_2.14.
20980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20983 2011-03-22 Ulrich Drepper <drepper@gmail.com>
20985 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20987 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20989 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20992 * string/test-strncmp.c (do_page_test): New function.
20993 (check2): Likewise.
20994 (test_main): Call check2.
20995 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20997 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21000 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21001 Handle cache information in CPU leaf 4.
21002 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21004 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21007 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21008 character representation.
21009 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21011 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21013 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21014 END(__isnan) to END(__isnanf) to match function entry point/label
21015 EALIGN(__isnanf,...).
21017 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21019 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21021 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21024 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21025 copy from the symbol referenced in the relocation to initialize the
21027 Patch by Piotr Bury <pbury@goahead.com>.
21028 * elf/Makefile: Add rules to build and tst-unique3.
21029 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21030 * elf/tst-unique3.cc: New file.
21031 * elf/tst-unique3.h: New file.
21032 * elf/tst-unique3lib.cc: New file.
21033 * elf/tst-unique3lib2.cc: New file.
21035 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21037 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21039 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21040 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21043 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21045 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21046 to-be-loaded object along a path to loader is ld.so.
21048 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21049 Ulrich Drepper <drepper@gmail.com>
21051 * sysdeps/x86_64/memset.S: After aligning destination, code
21052 branches to different locations depending on the value of
21053 misalignment, when multiarch is enabled. Fix this.
21055 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21057 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21058 Set _x86_64_preferred_memory_instruction for AMD processsors.
21059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21060 Set bit_Prefer_SSE_for_memop for AMD processors.
21062 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21064 * libio/fmemopen.c (fmemopen): Optimize a bit.
21066 2011-03-03 Andreas Schwab <schwab@redhat.com>
21068 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21070 2011-03-03 Roland McGrath <roland@redhat.com>
21072 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21074 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21076 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21077 __bzero_ultra1 instead of __memset_ultra1.
21079 2011-02-23 Andreas Schwab <schwab@redhat.com>
21080 Ulrich Drepper <drepper@gmail.com>
21083 * include/link.h (struct link_map): Add l_orig_initfini.
21084 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21085 returning unsuccessfully.
21086 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21087 close of a file loaded at startup, restore the original l_initfini
21089 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21090 list, store the pointer.
21091 * elf/Makefile ($(objpfx)noload-mem): New rule.
21092 (noload-ENV): Define.
21093 (tests): Add $(objpfx)noload-mem.
21094 * elf/noload.c: Include <memcheck.h>.
21095 (main): Call mtrace. Close all opened handles.
21097 2011-02-17 Andreas Schwab <schwab@redhat.com>
21100 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21101 dependencies are missing.
21103 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21105 Fix __if_freereq crash: Unlike the generic version which uses free,
21107 * sysdeps/mach/hurd/ifreq.h: New file.
21109 2011-01-27 Petr Baudis <pasky@suse.cz>
21110 Ulrich Drepper <drepper@gmail.com>
21113 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21114 to extend_alloca().
21115 * stdio-common/bug23.c: New file.
21116 * stdio-common/Makefile (tests): Add bug23.
21118 2010-09-28 Andreas Schwab <schwab@redhat.com>
21119 Ulrich Drepper <drepper@gmail.com>
21122 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21123 before performing relro protection. At old place add assertion
21124 to make sure nothing changed.
21126 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21127 Glauber de Oliveira Costa <glommer@gmail.com>
21129 * elf/elf.h: Add new ARM TLS relocs.
21131 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21134 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21136 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21138 * sysdeps/wordsize-64/tst-writev.c: New file.
21140 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21142 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21143 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21144 insns in _dl_start to prevent a TOC reference before relocs are
21147 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21150 * Makeconfig: Remove RANLIB definition.
21151 * Makerules: Don't use RANLIB.
21152 * aclocal.m4: Remove ranlib test.
21153 * configure.in: No need to check for ranlib.
21154 * elf/rtld-Rules: Don't use RANLIB.
21156 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21158 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21160 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21161 inclusion protection macro.
21163 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21164 SIGRTMIN and SIGRTMAX and print information in that case only when
21165 SIGRTMIN is defined.
21167 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21169 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21170 arginfo fn returning -1.
21172 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21173 and thousands string is zero terminated.
21175 2011-02-03 Andreas Schwab <schwab@redhat.com>
21177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21178 sysdeps/unix/sysv/linux/bits/socket.h.
21180 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21182 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21183 (__CPU_COUNT): Remove old macros.
21184 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21185 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21186 (__CPU_ALLOC, __CPU_FREE): Add macros.
21187 (__sched_cpualloc, __sched_cpufree): Add declarations.
21189 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21191 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21192 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21193 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21194 (readdhstai): Return value of addhstaiX call.
21195 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21196 (addgrbyX): Return value returned by cache_addgr.
21197 (readdgrbyname): Return value returned by addgrbyX.
21198 (readdgrbygid): Likewise.
21199 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21200 (addpwbyX): Return value returned by cache_addpw.
21201 (readdpwbyname): Return value returned by addhstbyX.
21202 (readdpwbyuid): Likewise.
21203 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21204 (addservbyX): Return value returned by cache_addserv.
21205 (readdservbyname): Return value returned by addservbyX:
21206 (readdservbyport): Likewise.
21207 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21208 (addhstbyX): Return value returned by cache_addhst.
21209 (readdhstbyname): Return value returned by addhstbyX.
21210 (readdhstbyaddr): Likewise.
21211 (readdhstbynamev6): Likewise.
21212 (readdhstbyaddrv6): Likewise.
21213 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21214 (readdinitgroups): Return value returned by addinitgroupsX.
21215 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21216 (prune_cache): Keep track of timeout value of re-added entries.
21217 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21218 * nscd/nscd.h: Adjust prototypes of readd* functions.
21220 2011-02-04 Roland McGrath <roland@redhat.com>
21222 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21223 (nis_stats): Likewise.
21224 * nis/nis_modify.c (nis_modify): Likewise.
21225 * nis/nis_remove.c (nis_remove): Likewise.
21226 * nis/nis_add.c (nis_add): Likewise.
21228 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21230 * posix/fnmatch_loop.c: Add some consts.
21232 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21234 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21237 * config.make.in (config-cflags-novzeroupper): Define.
21238 * configure.in: Substitute libc_cv_cc_novzeroupper.
21239 * elf/Makefile (AVX-CFLAGS): Define.
21240 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21241 (CFLAGS-tst-auditmod4a.c): Likewise.
21242 (CFLAGS-tst-auditmod4b.c): Likewise.
21243 (CFLAGS-tst-auditmod6b.c): Likewise.
21244 (CFLAGS-tst-auditmod6c.c): Likewise.
21245 (CFLAGS-tst-auditmod7b.c): Likewise.
21246 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21248 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21250 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21251 function to the callback.
21252 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21254 2011-02-02 Andreas Schwab <schwab@redhat.com>
21256 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21259 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21262 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21264 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21266 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21269 * elf/Makefile: Add rules to build and run new test.
21270 * elf/tst-initorder.c: New file.
21271 * elf/tst-initorder.exp: New file.
21272 * elf/tst-initordera1.c: New file.
21273 * elf/tst-initordera2.c: New file.
21274 * elf/tst-initordera3.c: New file.
21275 * elf/tst-initordera4.c: New file.
21276 * elf/tst-initorderb1.c: New file.
21277 * elf/tst-initorderb2.c: New file.
21278 * elf/tst-order-a1.c: New file.
21279 * elf/tst-order-a2.c: New file.
21280 * elf/tst-order-a3.c: New file.
21281 * elf/tst-order-a4.c: New file.
21282 * elf/tst-order-b1.c: New file.
21283 * elf/tst-order-b2.c: New file.
21284 * elf/tst-order-main.c: New file.
21285 New test case by George Gensure <werkt0@gmail.com>.
21287 2010-10-01 Andreas Schwab <schwab@redhat.com>
21289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21290 decoding ACE if AI_CANONIDN.
21292 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21294 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21296 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21298 * version.h (RELEASE): Bump for 2.13 release.
21299 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21301 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21303 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21305 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21307 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21309 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21312 * posix/getconf.c: Update copyright year.
21313 * catgets/gencat.c: Likewise.
21314 * csu/version.c: Likewise.
21315 * debug/catchsegv.sh: Likewise.
21316 * debug/xtrace.sh: Likewise.
21317 * elf/ldconfig.c: Likewise.
21318 * elf/ldd.bash.in: Likewise.
21319 * elf/sprof.c (print_version): Likewise.
21320 * iconv/iconv_prog.c: Likewise.
21321 * iconv/iconvconfig.c: Likewise.
21322 * locale/programs/locale.c: Likewise.
21323 * locale/programs/localedef.c: Likewise.
21324 * malloc/memusage.sh: Likewise.
21325 * malloc/mtrace.pl: Likewise.
21326 * nscd/nscd.c (print_version): Likewise.
21327 * nss/getent.c: Likewise.
21329 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21330 PF_CAIF, and PF_ALG.
21331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21333 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21335 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21336 (modules-names): Use them.
21337 (ifunc-test-modules, ifunc-pie-tests): Define.
21338 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21339 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21340 (test-extras): Likewise.
21341 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21342 $(compile-command.c).
21343 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21344 (all-built-dso): Define.
21345 (check-textrel.out, check-execstack.out): Depend on it.
21347 * configure.in: Don't override --enable-multi-arch.
21349 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21352 * nscd/hstcache.c (tryagain): Define.
21353 (cache_addhst): Return tryagain not notfound for temporary errors.
21354 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21357 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21360 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21361 to make the syscall.
21362 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21365 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21366 and fall back to matching as normal character if the string ends before
21367 the matching ']' is found. This is what POSIX requires.
21368 * posix/testfnm.c: Adjust test result.
21369 * posix/globtest.sh: Adjust test result. Add new test.
21370 * posix/tst-fnmatch.input: Likewise.
21371 * posix/tst-fnmatch2.c: Add new test.
21373 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21375 * elf/Makefile (check-execstack): Revert last change. Depend on
21377 (check-execstack.h): New target.
21378 (generated): Add check-execstack.h.
21379 * elf/check-execstack.c: Include "check-execstack.h".
21380 (main): Revert last change.
21381 (handle_file): Return zero if GNU_STACK is absent and
21382 DEFAULT_STACK_PERMS doesn't include PF_X.
21384 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21386 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21387 in child fails because the descriptor is already closed.
21388 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21389 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21390 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21393 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21397 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21398 temporary buffer used to handle multi lookups locally.
21399 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21401 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21403 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21406 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21408 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21409 alignment for SSE2.
21411 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21414 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21415 characters. When rounding increased number of integer digits recompute
21417 * stdio-common/tst-grouping.c: New file.
21418 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21420 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21422 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21423 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21425 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21427 * bits/select.h: Likewise.
21429 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21431 * po/ja.po: Update from translation team.
21433 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21436 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21437 implementation just like for lxstat, fxstatat, et al.
21439 2010-12-27 Jim Meyering <meyering@redhat.com>
21442 * posix/regexec.c (build_trtable): Return failure indication upon
21443 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21445 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21448 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21449 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21450 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21451 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21454 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21457 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21458 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21460 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21462 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21463 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21464 script has SORT_BY_INIT_PRIORITY.
21465 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21466 NO_CTORS_DTORS_SECTIONS is defined.
21467 * elf/soinit.c: Likewise.
21468 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21469 NO_CTORS_DTORS_SECTIONS is defined.
21470 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21471 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21472 * sysdeps/sh/init-first.c: Likewise.
21473 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21475 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21477 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21478 always use the slow path.
21480 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21482 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21483 similar rule which adds the sysdep directories to the header search in
21484 order to pick up the correct platform stackinfo.h.
21485 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21486 perform test if it is, otherwise return successfully without testing.
21487 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21488 DEFAULT_STACK_PERMS define in stackinfo.h.
21489 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21490 defined in stackinfo.h.
21491 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21492 DEFAULT_STACK_PERMS defined in stackinfo.h.
21493 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21494 * sysdeps/ia64/stackinfo.h: Likewise.
21495 * sysdeps/s390/stackinfo.h: Likewise.
21496 * sysdeps/sh/stackinfo.h: Likewise.
21497 * sysdeps/sparc/stackinfo.h: Likewise.
21498 * sysdeps/x86_64/stackinfo.h: Likewise.
21499 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21500 PF_X for powerpc64. Retain PF_X for powerpc32.
21502 2010-12-19 Ulrich Drepper <drepper@gmail.com>
21504 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21506 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21507 GETDENTS_64BIT_ALIGNED.
21509 2010-12-14 Ulrich Drepper <dreper@gmail.com>
21511 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21513 2010-12-10 Andreas Schwab <schwab@redhat.com>
21515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21519 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21521 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21522 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21524 2010-12-09 Ulrich Drepper <drepper@gmail.com>
21527 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21530 2010-12-09 Jakub Jelinek <jakub@redhat.com>
21532 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21534 2010-12-03 Ulrich Drepper <drepper@gmail.com>
21536 * po/it.po: Update from translation team.
21538 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21543 2010-11-30 Ulrich Drepper <drepper@gmail.com>
21545 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21547 2010-11-24 Andreas Schwab <schwab@redhat.com>
21549 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21551 (gaih_getanswer_slice): Likewise.
21553 2010-10-20 Jakub Jelinek <jakub@redhat.com>
21555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21557 2010-05-31 Petr Baudis <pasky@suse.cz>
21560 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21561 silently even in the chroot mode.
21563 2010-11-22 Ulrich Drepper <drepper@gmail.com>
21565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21566 last patch a bit. Pretty printing
21568 2010-05-31 Petr Baudis <pasky@suse.cz>
21571 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21572 initialization of skip_initgroups_dyn.
21574 2010-11-19 Ulrich Drepper <drepper@gmail.com>
21576 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21577 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21579 2010-11-16 Ulrich Drepper <drepper@gmail.com>
21581 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21583 2010-11-11 Andreas Schwab <schwab@redhat.com>
21585 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21586 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21587 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21588 ($(objpfx)tst-fnmatch-mem): New rule.
21589 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21590 * posix/tst-fnmatch.c (main): Call mtrace.
21592 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21595 Support Intel processor model 6 and model 0x2c.
21597 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
21599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21602 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21605 * string/test-strncasecmp.c (check_result): New function.
21606 (do_one_test): Use it.
21607 (check1): New function.
21608 (test_main): Use it.
21609 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21610 Support strcasecmp and strncasecmp.
21612 2010-11-08 Ulrich Drepper <drepper@gmail.com>
21615 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21618 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21620 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21624 * sysdeps/x86_64/multiarch/bzero.S: New file.
21625 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21626 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21627 * sysdeps/x86_64/multiarch/memset.S: New file.
21628 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21630 Set bit_Prefer_SSE_for_memop for Intel processors.
21631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21633 (index_Prefer_SSE_for_memop): Define.
21634 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21636 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
21638 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21639 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21641 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21644 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21645 (__x86_64_raw_data_cache_size_half): Likewise.
21646 (__x86_64_raw_shared_cache_size): Likewise.
21647 (__x86_64_raw_shared_cache_size_half): Likewise.
21649 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21650 (__x86_64_raw_data_cache_size_half): Likewise.
21651 (__x86_64_raw_shared_cache_size): Likewise.
21652 (__x86_64_raw_shared_cache_size_half): Likewise.
21653 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21654 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21655 and __x86_64_raw_shared_cache_size_half. Round
21656 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21657 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21658 to multiple of 256 bytes.
21660 2010-11-03 Ulrich Drepper <drepper@gmail.com>
21663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21664 of inacessible symlinks. Verify result of symlink before returning it.
21665 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21666 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21668 2010-10-28 Erich Ritz <erichritz@gmail.com>
21670 * math/math.h (isinf): Fix typo in comment.
21672 2010-11-01 Ulrich Drepper <drepper@gmail.com>
21674 * po/da.po: Update from translation team.
21676 2010-10-26 Ulrich Drepper <drepper@gmail.com>
21678 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21679 is added to the list.
21681 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21682 Ulrich Drepper <drepper@gmail.com>
21684 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21685 the global list here. Move code to...
21686 (_dl_add_to_namespace_list): ...here. New function.
21687 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21688 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21689 * elf/dl-load.c (lose): Don't remove the element from the list.
21690 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21691 (_dl_map_object): Likewise.
21693 2010-10-25 Ulrich Drepper <drepper@gmail.com>
21696 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21697 into all bytes of SSE register.
21698 Patch by Richard Li <richardpku@gmail.com>.
21700 2010-10-24 Ulrich Drepper <drepper@gmail.com>
21703 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21706 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21708 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21709 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21710 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21711 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21716 2010-10-22 Andreas Schwab <schwab@redhat.com>
21718 * include/dlfcn.h (__RTLD_SECURE): Define.
21719 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21720 mode & __RTLD_SECURE instead.
21721 (open_path): Rename preloaded parameter to secure.
21722 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21723 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21724 * elf/dl-deps.c (openaux): Likewise.
21725 * elf/rtld.c (struct map_args): Remove is_preloaded.
21726 (map_doit): Don't use it.
21727 (dl_main): Likewise.
21728 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21729 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21731 2010-09-09 Andreas Schwab <schwab@redhat.com>
21733 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21734 (sysd-rules-targets): Remove duplicates.
21735 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21736 rtld-%.$o dependency.
21738 2010-10-18 Andreas Schwab <schwab@redhat.com>
21740 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21741 _dl_map_object do it.
21743 2010-10-19 Ulrich Drepper <drepper@gmail.com>
21745 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21746 fast fma builtins, define the macros in the C99 standard.
21747 (FP_FAST_FMAF): Likewise.
21748 (FP_FAST_FMAL): Likewise.
21749 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21751 * bits/mathdef.h: Update copyright year.
21752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21754 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21756 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21757 builtins, define the macros in the C99 standard.
21758 (FP_FAST_FMAF): Likewise.
21759 (FP_FAST_FMAL): Likewise.
21760 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21762 (FP_FAST_FMAF): Likewise.
21764 2010-10-15 Jakub Jelinek <jakub@redhat.com>
21767 * math/libm-test.inc (fma_test): Some new testcases.
21768 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21770 y and infinite z. Do multiplication by C already in long double.
21771 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21773 y and infinite z. Do bitwise or of inexact bit into u.d.
21774 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21775 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21776 * sysdeps/i386/fpu/s_fma.S: Removed.
21777 * sysdeps/i386/fpu/s_fmal.S: Removed.
21779 2010-10-16 Jakub Jelinek <jakub@redhat.com>
21782 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21784 computation is not scheduled after fetestexcept. Fix value
21785 of minimum denormal long double.
21787 2010-10-14 Jakub Jelinek <jakub@redhat.com>
21790 * math/libm-test.inc (fma_test): Add some more tests.
21791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21794 2010-10-15 Andreas Schwab <schwab@redhat.com>
21796 * scripts/data/localplt-s390-linux-gnu.data: New file.
21797 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21799 2010-10-13 Jakub Jelinek <jakub@redhat.com>
21802 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21803 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21805 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21807 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21809 if one of x and y is very large and the other is subnormal.
21810 * sysdeps/s390/fpu/s_fmaf.c: New file.
21811 * sysdeps/s390/fpu/s_fma.c: New file.
21812 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21813 * sysdeps/powerpc/fpu/s_fma.S: New file.
21814 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21815 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21816 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21818 2010-10-12 Jakub Jelinek <jakub@redhat.com>
21821 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21823 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21824 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21825 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21826 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21827 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21828 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21829 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21831 2010-10-12 Ulrich Drepper <drepper@redhat.com>
21834 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21835 * posix/bug-regex31.input: Add test case.
21837 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21839 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21840 * posix/bug-regex31.input: New file.
21843 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21844 (parse_sub_exp): Fix last change, use postorder.
21846 * posix/bug-regex31.c: New file.
21847 * posix/Makefile: Add rules to build and run bug-regex31.
21849 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21852 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21855 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21856 to have entries in sys_siglist.
21859 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21862 2010-10-07 Jakub Jelinek <jakub@redhat.com>
21865 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21866 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21867 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21868 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21869 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21870 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21871 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21872 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21873 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21874 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21875 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21876 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21877 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21878 * math/ftestexcept.c (fetestexcept): Likewise.
21879 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21880 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21881 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21882 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21883 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21884 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21885 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21887 2010-10-11 Ulrich Drepper <drepper@gmail.com>
21890 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21893 2010-10-06 Ulrich Drepper <drepper@gmail.com>
21895 * string/bug-strstr1.c: New file.
21896 * string/Makefile: Add rules to build and run bug-strstr1.
21898 2010-10-05 Eric Blake <eblake@redhat.com>
21901 * string/str-two-way.h (two_way_long_needle): Always clear memory
21902 when skipping input due to the shift table.
21904 2010-10-03 Ulrich Drepper <drepper@gmail.com>
21907 * malloc/mcheck.c: Handle large requests.
21910 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21911 for strncmp and strncasecmp.
21912 * string/stratcliff.c: Add tests for strcmp and strncmp.
21913 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21915 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21917 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21920 2010-09-30 Andreas Jaeger <aj@suse.de>
21922 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21923 (CGROUP_SUPER_MAGIC): Define.
21924 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21925 Handle btrfs and cgroup file systems.
21926 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21929 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
21931 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21932 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21934 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21937 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21938 trying to locate the ELF header.
21940 2010-09-27 Andreas Schwab <schwab@redhat.com>
21943 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21944 Mask out sign-bit copies when constructing f_fsid.
21946 2010-09-24 Petr Baudis <pasky@suse.cz>
21948 * debug/stack_chk_fail_local.c: Add missing licence exception.
21949 * debug/warning-nop.c: Likewise.
21951 2010-09-15 Joseph Myers <joseph@codesourcery.com>
21953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21954 implementing getdents64 using getdents syscall, set d_type if
21955 __ASSUME_GETDENTS32_D_TYPE.
21957 2010-09-16 Andreas Schwab <schwab@redhat.com>
21959 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21960 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21962 2010-09-21 Ulrich Drepper <drepper@redhat.com>
21965 * posix/unistd.h: Undo change of feature selection for ftruncate from
21968 2010-09-20 Ulrich Drepper <drepper@redhat.com>
21970 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
21973 2010-09-20 Andreas Schwab <schwab@redhat.com>
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21977 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21979 2010-09-14 Andreas Schwab <schwab@redhat.com>
21981 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21982 variables after CHECK_SP call.
21983 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21985 2010-09-13 Andreas Schwab <schwab@redhat.com>
21986 Ulrich Drepper <drepper@redhat.com>
21988 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21989 re-relocationg ld.so.
21990 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21991 _dl_init_paths call.
21992 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21995 2010-09-14 Ulrich Drepper <drepper@redhat.com>
21997 * resolv/res_init.c (__res_vinit): Count the default server we added.
21999 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22000 Ulrich Drepper <drepper@redhat.com>
22003 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22004 (____longjmp_chk): Use %ebx for saving value across system call.
22007 2010-09-06 Andreas Schwab <schwab@redhat.com>
22009 * manual/Makefile: Don't mix pattern rules with normal rules.
22011 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22013 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22015 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22016 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22017 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22018 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22022 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22025 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22026 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22028 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22030 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22031 * sysdeps/x86_64/addmul_1.S: Likewise.
22032 * sysdeps/x86_64/lshift.S: Likewise.
22033 * sysdeps/x86_64/mul_1.S: Likewise.
22034 * sysdeps/x86_64/rshift.S: Likewise.
22035 * sysdeps/x86_64/sub_n.S: Likewise.
22036 * sysdeps/x86_64/submul_1.S: Likewise.
22038 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22040 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22041 Define __sched_param instead of SCHED_* and sched_param when
22042 <bits/sched.h> is included with __need_schedparam defined.
22043 * bits/sched.h [__need_schedparam]
22044 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22045 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22046 (__defined_schedparam): Define to 1.
22047 (__sched_param): New structure, identical to sched_param.
22048 (__need_schedparam): Undefine.
22050 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22053 (epoll_create1): Declare.
22055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22057 2010-08-31 Andreas Schwab <schwab@redhat.com>
22060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22061 shifting retval into place.
22063 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22065 * nis/rpcsvc/nis.h: Update copyright notice.
22066 * nis/rpcsvc/nis.x: Likewise.
22067 * nis/rpcsvc/nis_callback.h: Likewise.
22068 * nis/rpcsvc/nis_callback.x: Likewise.
22069 * nis/rpcsvc/nis_object.x: Likewise.
22070 * nis/rpcsvc/nis_tags.h: Likewise.
22071 * nis/rpcsvc/yp.h: Likewise.
22072 * nis/rpcsvc/yp.x: Likewise.
22073 * nis/rpcsvc/ypupd.h: Likewise.
22074 * nis/yp_xdr.c: Likewise.
22075 * nis/ypupdate_xdr.c: Likewise.
22077 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22078 mainly the body of pmap_getport. Add parameters to specify timeouts.
22079 (pmap_getport): Use __libc_rpc_getport.
22080 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22081 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22082 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22084 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22089 2010-08-27 Roland McGrath <roland@redhat.com>
22091 * sysdeps/i386/i686/multiarch/Makefile
22092 (CFLAGS-varshift.c): New variable.
22094 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22096 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22097 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22101 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22103 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22105 * sysdeps/x86_64/strlen.S: Unroll the loop.
22106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22107 strlen-sse2 strlen-sse2-bsf.
22108 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22109 __strlen_no_bsf if bit_Slow_BSF is set.
22110 (__strlen_sse42): Removed.
22111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22112 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22114 2010-08-25 Roland McGrath <roland@redhat.com>
22116 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22117 * sysdeps/x86_64/multiarch/varshift.c: New file.
22118 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22119 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22120 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22121 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22123 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22126 strlen-sse2 strlen-sse2-bsf.
22127 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22128 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22129 (__strlen_sse2): Removed.
22130 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22131 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22133 bit_Slow_BSF for Atom.
22134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22135 (index_Slow_BSF): Define.
22136 (HAS_SLOW_BSF): Define.
22138 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22141 * resolv/res_init.c (__res_vinit): When no server address at all
22142 is given default to loopback.
22144 2010-08-24 Roland McGrath <roland@redhat.com>
22146 * configure.in: Remove config-name.h generation.
22147 * configure: Regenerated.
22148 * config-name.in: File removed.
22149 * scripts/config-uname.sh: New file.
22150 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22151 ($(objdir)config-name.h): New target.
22153 * sunrpc/rpc_parse.h: Avoid nested comment.
22155 2010-08-24 Richard Henderson <rth@redhat.com>
22156 Ulrich Drepper <drepper@redhat.com>
22157 H.J. Lu <hongjiu.lu@intel.com>
22159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22161 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22162 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22163 _mm_alignr_epi8 with _mm_loadu_si128.
22164 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22165 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22166 (__m128i_shift_right): Removed.
22167 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22168 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22169 * sysdeps/x86_64/multiarch/varshift.h: New file.
22170 * sysdeps/x86_64/multiarch/varshift.S: New file.
22172 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22174 * configure.in: Move assembler checks to before sysdep dir checking.
22176 2010-08-20 Petr Baudis <pasky@suse.cz>
22178 * LICENSES: Sync the sunrpc license.
22180 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22182 * sunrpc/auth_des.c: Update copyright notice once again.
22183 * sunrpc/auth_none.c: Likewise.
22184 * sunrpc/auth_unix.c: Likewise.
22185 * sunrpc/authdes_prot.c: Likewise.
22186 * sunrpc/authuxprot.c: Likewise.
22187 * sunrpc/bindrsvprt.c: Likewise.
22188 * sunrpc/clnt_gen.c: Likewise.
22189 * sunrpc/clnt_perr.c: Likewise.
22190 * sunrpc/clnt_raw.c: Likewise.
22191 * sunrpc/clnt_simp.c: Likewise.
22192 * sunrpc/clnt_tcp.c: Likewise.
22193 * sunrpc/clnt_udp.c: Likewise.
22194 * sunrpc/clnt_unix.c: Likewise.
22195 * sunrpc/des_crypt.c: Likewise.
22196 * sunrpc/des_soft.c: Likewise.
22197 * sunrpc/get_myaddr.c: Likewise.
22198 * sunrpc/getrpcport.c: Likewise.
22199 * sunrpc/key_call.c: Likewise.
22200 * sunrpc/key_prot.c: Likewise.
22201 * sunrpc/openchild.c: Likewise.
22202 * sunrpc/pm_getmaps.c: Likewise.
22203 * sunrpc/pm_getport.c: Likewise.
22204 * sunrpc/pmap_clnt.c: Likewise.
22205 * sunrpc/pmap_prot.c: Likewise.
22206 * sunrpc/pmap_prot2.c: Likewise.
22207 * sunrpc/pmap_rmt.c: Likewise.
22208 * sunrpc/rpc/auth.h: Likewise.
22209 * sunrpc/rpc/auth_unix.h: Likewise.
22210 * sunrpc/rpc/clnt.h: Likewise.
22211 * sunrpc/rpc/des_crypt.h: Likewise.
22212 * sunrpc/rpc/key_prot.h: Likewise.
22213 * sunrpc/rpc/netdb.h: Likewise.
22214 * sunrpc/rpc/pmap_clnt.h: Likewise.
22215 * sunrpc/rpc/pmap_prot.h: Likewise.
22216 * sunrpc/rpc/pmap_rmt.h: Likewise.
22217 * sunrpc/rpc/rpc.h: Likewise.
22218 * sunrpc/rpc/rpc_des.h: Likewise.
22219 * sunrpc/rpc/rpc_msg.h: Likewise.
22220 * sunrpc/rpc/svc.h: Likewise.
22221 * sunrpc/rpc/svc_auth.h: Likewise.
22222 * sunrpc/rpc/types.h: Likewise.
22223 * sunrpc/rpc/xdr.h: Likewise.
22224 * sunrpc/rpc_clntout.c: Likewise.
22225 * sunrpc/rpc_cmsg.c: Likewise.
22226 * sunrpc/rpc_common.c: Likewise.
22227 * sunrpc/rpc_cout.c: Likewise.
22228 * sunrpc/rpc_dtable.c: Likewise.
22229 * sunrpc/rpc_hout.c: Likewise.
22230 * sunrpc/rpc_main.c: Likewise.
22231 * sunrpc/rpc_parse.c: Likewise.
22232 * sunrpc/rpc_parse.h: Likewise.
22233 * sunrpc/rpc_prot.c: Likewise.
22234 * sunrpc/rpc_sample.c: Likewise.
22235 * sunrpc/rpc_scan.c: Likewise.
22236 * sunrpc/rpc_scan.h: Likewise.
22237 * sunrpc/rpc_svcout.c: Likewise.
22238 * sunrpc/rpc_tblout.c: Likewise.
22239 * sunrpc/rpc_util.c: Likewise.
22240 * sunrpc/rpc_util.h: Likewise.
22241 * sunrpc/rpcinfo.c: Likewise.
22242 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22243 * sunrpc/rpcsvc/key_prot.x: Likewise.
22244 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22245 * sunrpc/rpcsvc/mount.x: Likewise.
22246 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22247 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22248 * sunrpc/rpcsvc/rex.x: Likewise.
22249 * sunrpc/rpcsvc/rstat.x: Likewise.
22250 * sunrpc/rpcsvc/rusers.x: Likewise.
22251 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22252 * sunrpc/rpcsvc/spray.x: Likewise.
22253 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22254 * sunrpc/rtime.c: Likewise.
22255 * sunrpc/svc.c: Likewise.
22256 * sunrpc/svc_auth.c: Likewise.
22257 * sunrpc/svc_authux.c: Likewise.
22258 * sunrpc/svc_raw.c: Likewise.
22259 * sunrpc/svc_run.c: Likewise.
22260 * sunrpc/svc_simple.c: Likewise.
22261 * sunrpc/svc_tcp.c: Likewise.
22262 * sunrpc/svc_udp.c: Likewise.
22263 * sunrpc/svc_unix.c: Likewise.
22264 * sunrpc/svcauth_des.c: Likewise.
22265 * sunrpc/xcrypt.c: Likewise.
22266 * sunrpc/xdr.c: Likewise.
22267 * sunrpc/xdr_array.c: Likewise.
22268 * sunrpc/xdr_float.c: Likewise.
22269 * sunrpc/xdr_mem.c: Likewise.
22270 * sunrpc/xdr_rec.c: Likewise.
22271 * sunrpc/xdr_ref.c: Likewise.
22272 * sunrpc/xdr_sizeof.c: Likewise.
22273 * sunrpc/xdr_stdio.c: Likewise.
22275 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22278 2010-08-19 Andreas Schwab <schwab@redhat.com>
22280 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22282 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22284 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22286 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22287 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22288 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22289 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22290 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22291 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22292 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22293 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22294 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22295 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22296 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22297 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22299 2010-07-26 Anton Blanchard <anton@samba.org>
22301 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22302 * malloc/arena.c (heap_trim): Likewise.
22304 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22306 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22309 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22311 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22313 * sysdeps/i386/elf/Makefile: New file.
22315 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22317 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22318 from fanotify_init.
22319 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22322 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22324 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22326 * sysdeps/multiarch/strcmp.S: Likewise.
22328 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22331 strncase_l-nonascii.
22332 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22333 Add strncase_l-ssse3.
22334 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22335 * sysdeps/x86_64/strcmp.S: Likewise.
22336 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22337 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22338 * sysdeps/x86_64/strncase.S: New file.
22339 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22340 * sysdeps/x86_64/strncase_l.S: New file.
22341 * string/Makefile (strop-tests): Add strncasecmp.
22342 * string/test-strncasecmp.c: New file.
22344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22347 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22348 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22350 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22352 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22354 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22356 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22357 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22360 2010-05-01 Alan Modra <amodra@gmail.com>
22362 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22363 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22364 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22365 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22366 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22367 tidying. Don't tail-call __sigjmp_save for static lib.
22368 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22370 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22371 (CALL_MCOUNT): Add eh info, and nop after bl.
22372 (TAIL_CALL_SYSCALL_ERROR): New macro.
22373 (PSEUDO_RET): Use it.
22374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22375 Correct save location of integer regs and cr.
22376 (_dl_profile_resolve): Correct cr save location. Delete nops
22377 after bl when SHARED. Reduce cfi size a little by better
22378 placement of cfi directives.
22379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22380 make a stack frame. Instead use parm save area as a temp.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22382 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22384 Don't make a stack frame for parent, use parm save area.
22385 Increase child stack frame to 112 bytes. Don't save unused reg,
22386 and adjust reg usage. Set up cfi on error recovery and
22387 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22389 (__makecontext): Add dummy nop after jump to exit.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22391 Use correct parm save area and cr save, reduce stack frame.
22392 Correct cfi for possible PSEUDO_RET frame setup.
22393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22394 Branch to local label emitted by PSEUDO_RET rather than
22397 2010-08-12 Andreas Schwab <schwab@redhat.com>
22400 * locale/programs/locale.c (print_assignment): New function.
22401 (show_locale_vars): Use it.
22403 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22405 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22407 (struct statfs64): Likewise.
22408 (_STATFS_F_FLAGS): Define.
22409 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22410 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22411 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22412 (ST_VALID): Define locally.
22413 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22414 __statvfs_getflags, use the provided value.
22415 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22416 __ASSUME_STATFS_F_FLAGS.
22418 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22420 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22421 Add sys/fanotify.h.
22422 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22423 fanotify_mask for GLIBC_2.13.
22424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22425 fanotify_init and fanotify_mark.
22426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22427 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22429 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22431 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22432 prlimit64 for GLIBC_2.13.
22433 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22439 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22443 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22446 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22447 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22449 * nss/Makefile: Add rules to build and run tst-nss-test1.
22450 * shlib-versions: Add entry for libnss_test1.
22451 * nss/nss_test1.c: New file.
22452 * nss/tst-nss-test1.c: New file.
22454 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22455 (__nss_configure_lookup): Set appropriate entry in
22456 __nss_configure_lookup to true.
22457 * nss/nsswitch.h: Define enum with indeces of databases in
22458 databases and __nss_database_custom arrays. Declare
22459 __nss_database_custom.
22460 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22461 to avoid using nscd when custom rules are installed.
22462 * nss/getXXbyYY_r.c: Likewise.
22463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22465 * nss/nss_files/files-parse.c: Whitespace fixes.
22467 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22470 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22471 * posix/fnmatch_loop.c: Likewise.
22473 2010-07-17 Andi Kleen <ak@linux.intel.com>
22475 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22476 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22477 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22478 * Versions.def [GLIBC_2.13]: Add.
22480 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22483 Also fail if tpwd after pwuid call is NULL.
22485 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22487 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22488 when converting to ms.
22490 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22492 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22493 EOPNOTSUPP errors with ENOTTY.
22494 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22495 EOPNOTSUPP errors with ENOTTY.
22497 2010-07-31 Ulrich Drepper <drepper@redhat.com>
22499 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22500 Add strcasecmp_l-ssse3.
22501 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22503 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22504 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22505 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22507 2010-07-30 Ulrich Drepper <drepper@redhat.com>
22509 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22511 * string/Makefile (strop-tests): Add strcasecmp.
22512 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22513 strcasecmp_l-nonascii.
22514 (gen-as-const-headers): Add locale-defines.sym.
22515 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22516 * sysdeps/x86_64/strcasecmp.S: New file.
22517 * sysdeps/x86_64/strcasecmp_l.S: New file.
22518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22519 * sysdeps/x86_64/locale-defines.sym: New file.
22520 * string/test-strcasecmp.c: New file.
22522 * string/test-strcasestr.c: Test both ends of the range of characters.
22523 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22525 2010-07-29 Roland McGrath <roland@redhat.com>
22528 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22530 2010-07-27 Ulrich Drepper <drepper@redhat.com>
22532 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22535 2010-07-27 Andreas Schwab <schwab@redhat.com>
22537 * manual/memory.texi (Malloc Tunable Parameters): Document
22540 2010-07-26 Roland McGrath <roland@redhat.com>
22543 * configure.in (-fgnu89-inline check): Set and substitute
22544 gnu89_inline, not libc_cv_gnu89_inline.
22545 * configure: Regenerated.
22546 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22548 2010-07-26 Ulrich Drepper <drepper@redhat.com>
22550 * string/test-strnlen.c: New file.
22551 * string/Makefile (strop-tests): Add strnlen.
22552 * string/tester.c (test_strnlen): Add a few more test cases.
22553 * string/tst-strlen.c: Better error reporting.
22555 * sysdeps/x86_64/strnlen.S: New file.
22557 2010-07-24 Ulrich Drepper <drepper@redhat.com>
22559 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22560 lower-latency instructions.
22562 2010-07-23 Ulrich Drepper <drepper@redhat.com>
22564 * string/test-strcasestr.c: New file.
22565 * string/test-strstr.c: New file.
22566 * string/Makefile (strop-tests): Add strstr and strcasestr.
22567 * string/str-two-way.h: Don't undefine MAX.
22568 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22570 2010-07-21 Andreas Schwab <schwab@redhat.com>
22572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22573 strcasestr-nonascii.
22574 (CFLAGS-strcasestr-nonascii.c): Define.
22575 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22577 Remove unused attribute.
22579 2010-07-20 Roland McGrath <roland@redhat.com>
22581 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22582 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22583 ld.so.cache was broken. With it, there is no way to disable dsocaps
22584 like LD_HWCAP_MASK can disable hwcaps.
22586 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22588 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22590 2010-07-16 Ulrich Drepper <drepper@redhat.com>
22592 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22593 call in strcasestr.
22594 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22595 __strcasestr_sse42_nonascii.
22596 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22597 strcasestr-nonascii.c.
22598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22600 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
22602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22603 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22605 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22607 2010-07-09 Ulrich Drepper <drepper@redhat.com>
22609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22612 2010-07-06 Andreas Schwab <schwab@redhat.com>
22615 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22618 2010-07-06 Ulrich Drepper <drepper@redhat.com>
22620 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22621 _PC_PIPE_BUF using F_GETPIPE_SZ.
22623 2010-07-05 Roland McGrath <roland@redhat.com>
22625 * manual/arith.texi (Rounding Functions): Fix rint description
22626 implicit in round description.
22628 2010-07-02 Ulrich Drepper <drepper@redhat.com>
22630 * elf/Makefile: Fix linking for a few tests to make recent linker
22633 2010-06-30 Andreas Schwab <schwab@redhat.com>
22635 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22636 $(common-objpfx)libc_nonshared.a.
22638 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
22640 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22641 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22642 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22643 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22644 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22645 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22646 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22647 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22662 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22663 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22664 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22665 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22666 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22667 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22668 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22669 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22670 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22671 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22672 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22673 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22689 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22691 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22692 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22693 * string/memmove.c (memmove): Renamed to ...
22694 (MEMMOVE): ...this. Default to memmove.
22695 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22696 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22699 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22700 mempcpy-ssse3-back memmove-ssse3-back.
22701 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22704 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22705 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22706 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22707 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22708 * sysdeps/x86_64/multiarch/memmove.c: New file.
22709 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22710 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22711 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22712 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22713 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22714 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22716 (index_Fast_Copy_Backward): Define.
22717 (HAS_ARCH_FEATURE): Define.
22718 (HAS_FAST_REP_STRING): Define.
22719 (HAS_FAST_COPY_BACKWARD): Define.
22721 2010-06-21 Andreas Schwab <schwab@redhat.com>
22723 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22724 Restore proper fallback handling.
22726 2010-06-19 Ulrich Drepper <drepper@redhat.com>
22729 * posix/group_member.c (__group_member): Correct checking loop.
22731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22732 OOM in getpwuid_r correctly. Return error number when the caller
22733 should return, otherwise -1.
22734 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22735 call returning > 0 value.
22736 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22738 2010-06-07 Andreas Schwab <schwab@redhat.com>
22740 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22741 libc_nonshared.a from targets in modules-names.
22743 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22745 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22748 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
22750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22751 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22755 2010-06-02 Andreas Schwab <schwab@redhat.com>
22757 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22759 2010-06-14 Ulrich Drepper <drepper@redhat.com>
22761 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22770 2010-06-14 Roland McGrath <roland@redhat.com>
22772 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22774 2010-06-07 Jakub Jelinek <jakub@redhat.com>
22776 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22777 __REDIRECT followed by __THROW.
22778 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22779 * posix/getopt.h (getopt): Likewise.
22781 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22783 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22784 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22785 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22787 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22788 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22790 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
22792 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22794 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22798 Properly check family and model.
22800 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22802 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22804 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
22806 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22808 2010-05-21 Ulrich Drepper <drepper@redhat.com>
22810 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22813 2010-05-19 Andreas Schwab <schwab@redhat.com>
22815 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22818 2010-05-21 Andreas Schwab <schwab@redhat.com>
22820 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22821 and internal_recvmmsg.
22822 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22823 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22824 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22825 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22827 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22828 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22829 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22831 2010-05-20 Andreas Schwab <schwab@redhat.com>
22833 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22835 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
22837 POWER7 optimizations.
22838 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22839 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22841 2010-05-19 Ulrich Drepper <drepper@redhat.com>
22843 * version.h: Update for 2.13 development version.
22845 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
22847 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22848 exceptions. Return 0.
22850 2010-05-07 Roland McGrath <roland@redhat.com>
22852 * elf/ldconfig.c (main): Add a const.
22854 2010-05-06 Ulrich Drepper <drepper@redhat.com>
22856 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22857 (args_options): Add no-idn option.
22858 (ahosts_keys_int): Add idn_flags to ai_flags.
22859 (parse_option): Handle 'i' option to clear idn_flags.
22861 * malloc/malloc.c (_int_free): Possible race in the most recently
22862 added check. Only act on the data if no current modification
22865 See ChangeLog.17 for earlier changes.